D-Link DWL-G120
linux is new to me. I really exhausted myself to try to make this adapter work with fedora. I do not have too much hair now :)
Try to use ndiswrapper. Following is what I did First use unshield to extract the cab file come with the CD. there is only one inf file and a bunch of sys files. I copy the PRISMA02.sys file of directory Drv9X and PRISMA02.inf to /etc/ndiswrapper/prisma02/ folder. Then I got lost. if I use ndiswrapper -i PRISMA02.inf then ndiswrapper -l I got bad driver. I try to use modprobe or iwconfig. The system shows no such command. I really do not know what to do from here. I will really appreciate if anyone can help me. |
Quote:
the commands modprobe and iwconfig, like much else under fedora usually have to be prefixed with /sbin # /sbin/modprobe # /sbin/iwconfig |
Thanks for the help!
I used ndiswrapper -i PRISMA02.inf ndiswrapper -l Got installing prisma02 installed ndis drivers: prisma02 driver present Then: /sbin/modprobe ndiswrapper Got FATAL: Error inserting ndiswrapper (/lib/modules/2.6.11-1.1369_FC4/misc/ndiswraper.ko):Operation not permitted When I use /sbin/iwconfig Got lo no wireless extensions. sit() no wireless extension How do I deal with that error? Your help is appreciated. |
Check the output of "dmesg" for output relating to ndiswrapper. Also, check your system log (it's in /var/log/)
Then you may want to take a look through this page http://ndiswrapper.sourceforge.net/p...dex.php/Fedora and also google your error. Make sure you're using the newest stable version of ndiswrapper (v. 1.2 as of now) Cheers [Edit] Also, if you got an warning message during "make" relating to the kernel being compiled with 4K stack size, you should check out this thread http://www.linuxquestions.org/questi...hreadid=280170 |
Almost got it
Thanks for the help and encouragement. After reading those articles and tried several times, finally, I got to the point:
iwlist wlan0 scan I can see all the accessible wireless points. Feel close to success :) Then use /sbin/iwconfig wlan0 essid Earth (Earth is my ESSID) then use /sbin/iwconfig to show the configureation. Everything is cool. Since I am using WEP. I try to use /sbin/iwconfig wlan0 key restricted ********** (********** is the 10 digit key) got error info: Error for wirless request "Set Encode" (8B2A): SET failed on device wlan0; Operation not permitted. I think after this point, I should be able to link to the networks. Thanks for your surpport!! |
Unknow host
after delete the loaded driver and reload the driver that problem is gone.
So, now I use /sbin/modprobe ndiwrapper to load the module. It goes well /sbin/iwconfig show the status /sbin/iwlist scan lists all the available access points. /sbin/iwconfig wlan0 essid ESSID assign the essid to wlan0 /sbin/iwconfig wlan0 key restricted 8888866666 goes well this time. /sbin/ifconfig wlan0 up activate the network interface everthing goes without errors. After this point, it seems it should work. I use ping ping www.cnn.com Then the error info unknow host www.cnn.com ping 64.236.16.84 Then the error info Network is unreachable. What do I need to do to get over with this last obstacle? Thanks! |
Try hooking the interface up with dhcp
# /sbin/dhclient wlan0 Then check the output of ifconfig - you should now have an IP address |
after /sbin/dhclient wlan0 without error information
then use /sbin/ifconfig lo inet addr:127.0.0.1 Mask: 255.0.0.0 ... wlan0 inet6 addr: fe80::211:95ff:fe4a:dc80/64 scope:link ... that does not look like ip address Ping still does not work. what should I do next? |
Check the output of /sbin/iwconfig
You should see your essid that you assigned in iwconfig. If it says off/any, or if the AP shows just a row of zero's then iwconfig did not pick up the information correctly. Make sure the mode is set correctly (usually this is "managed"). Try setting the wep key to "open" rather than "restricted". Post the output of iwlist scan and iwconfig if you're still having problems. Cheers |
still not working
Thanks for your patience! Please stay with me. I am almost done :)
ping still not working following are the output from /sbin/ifconfig /sbin/iwconfig /sbin/iwlist [root@beyondreality utils]# /sbin/iwconfig lo no wireless extensions. sit0 no wireless extensions. Warning: Driver for device wlan0 recommend version 18 of Wireless Extension, but has been compiled with version 17, therefore some driver features may not be available... wlan0 IEEE 802.11g ESSID:"Earth" Mode:Managed Frequency:2.437 GHz Access Point: 00:11:95:4E:1E:F5 Bit Rate:54 Mb/s RTS thr:2347 B Fragment thr:2432 B Encryption key:8888-8666-66 Security mode:open Power Management:off Link Quality:100/100 Signal level:-39 dBm Noise level:-256 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:7 Invalid misc:5953 Missed beacon:0 [root@beyondreality utils]# /sbin/iwlist wlan0 scan Cell 03 - Address: 00:11:95:4E:1E:F5 ESSID:"Earth" Protocol:IEEE 802.11b Mode:Managed Frequency:2.437 GHz (Channel 6) Quality:0/100 Signal level:-38 dBm Noise level:-256 dBm Encryption key:on Bit Rate:1 Mb/s Bit Rate:2 Mb/s Bit Rate:5.5 Mb/s Bit Rate:11 Mb/s Bit Rate:6 Mb/s Bit Rate:9 Mb/s Bit Rate:12 Mb/s Bit Rate:18 Mb/s Bit Rate:24 Mb/s Bit Rate:36 Mb/s Bit Rate:48 Mb/s Bit Rate:54 Mb/s Extra:bcn_int=100 Extra:atim=1 [root@beyondreality utils]# /sbin/ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:1894 errors:0 dropped:0 overruns:0 frame:0 TX packets:1894 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2410674 (2.2 MiB) TX bytes:2410674 (2.2 MiB) wlan0 Link encap:Ethernet HWaddr 00:11:95:4A:DC:80 inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::211:95ff:fe4a:dc80/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:275 errors:0 dropped:0 overruns:0 frame:0 TX packets:14 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:86024 (84.0 KiB) TX bytes:3168 (3.0 KiB) |
One last step DNS
Now. Actually, if I ping some ip address, it is working.
I can even use mozilla if I input ip address. But once I use something like www.cnn.com, I got unknow host error. I guess it must be related to DNS setting. But I do not know how. One more step I am ready to go :) Thanks butler |
All times are GMT -5. The time now is 09:37 PM. |