Jump to content

DWL-G510 rev.b1


Guest jimmy
 Share

Recommended Posts

Guest jimmy

I'm new to linux and I really like everything about it except getting wireless internet working. This is what I'm doing:

 

ndiswrapper version: 1.10

Kernel version: 2.6.12-12mdk

distro: Mandriva 2006

internet card: dwl-g510 ver.B1 by dlink and an atheros chipset apparently

 

1. insall new version of ndiswrapper (no ndiswrapper installed previously.)

 

2. use ndiswrapper with windows driver found at ftp://202.65.194.18/cn/wlan/rtl8180l/ndis5x-8180(173).zip

 

//instructions found at the mandriva compatibility page,

 

"Unzip the file with unzip.

 

Then, open the NET8180.INF with emacs :

 

#> emacs NET8180.INF

 

And replace VEN_10EC by VEN_1186 and DEV_8180 by DEV_3300

Use drakconnect to configure your connexion by choosing the NET8180.INF in Use a Windows driver (ndiswrapper). "

 

I followed the instructions and with emacs I changed every instance of 'VEN_10EC' with 'VEN_1186' as well as with the dev.

 

3. I get stuck after this because ath_pci is the driver that it is defaulting to and it wont use net8180 (the

ndiswrapper driver); how do you force a driver?

 

4. try to set up the internet using ath_pci.

 

#>iwconfig ath0

 

#>iwconfig ath0 essid 'castle'

 

#>iwconfig key open '************************'

 

//but then the link quality is still 0/94??

 

#>ifconfig ath0 192.168.0.114

 

/sbin/route add default gw 192.168.0.1

 

#>ifconfig ath0 up

 

//but then when I ping 192.168.0.1 it says 'destination host unreachable' :S

 

5. try setting up the internet connection using mandriva control panel, none of the settings are already set from when I used the command line...

 

After rebooting I try pinging the router again but then it says 'connect: Network is unreachable' In windows the operating mode is infrastructure so I have linux using managed.

 

I want to get into linux but there is alot to learn first. I need some help getting my internet running, I'm trying to connect through a wireless lan where I'm the only one running linux. Any help would be appreciated and if you need more information just ask me.

Edited by jimmy
Link to comment
Share on other sites

$>iwconfig ath0

 

$>iwconfig ath0 essid 'castle'

 

$>iwconfig key open '************************'

 

did you do those command above as root, since usually "$" is a user prompt...

.

also check if a firewall has been blobking outgoing connection, am not sure yet with the mvd 2006 firewall on how to check it, but try to do the command as root:

#/sbin/iptables -F

it will flush iptables entries which allow all connections possible.. just do that for checking your connectivity, afterall, you inside a local network, not directly connected to internet

Edited by aioshin
Link to comment
Share on other sites

Guest jimmy

I did the commands as root, I put that in after to show what I was typing in and accidently put $ instead. I tried the command you suggested but it came up as unrecognised. I checked /sbin and there is nothing there called 'iptables'. I'm trying the different settings but now when I boot up all other computers on the LAN crash. If I am being prompted to choose a profile when I boot up is my computer trying to make itself the host? On linux start up it prompts me to choose either default or castle, big grey buttons before linux loads.

 

http://www.linuxforums.org/forum/mandriva-...510-d-link.html they couldnt get this card working here or here http://www.linuxforums.org/forum/mandriva-...er-problem.html .

 

 

https://mandrivausers.org/index.php?showtopic=19847 this page sent me here: http://www.linuxcompatible.org/DWL-G520_rev._B_c12519.html and it says this card works out of the box on Ubuntu and fedora core.

 

If this card doesnt work at all then can you give me the name of one that will work out of the box? http://www.mandrakelinux.com/en/hardware.php3 says it is compatible with mandriva.

Edited by jimmy
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...