 | ubuntu and belkin f5D6020v3 card Hello all: Still looking for help with my Belkin pcmcia card on an hp omnibook: Here's what I get -
brian@thefergies:/media/cdrom$ sudo ndiswrapper -i Bel6020.inf Installing bel6020 brian@thefergies:/media/cdrom$ ndiswrapper -l Installed ndis drivers: bel6020 driver present, hardware present brian@thefergies:/media/cdrom$ sudo ifup wlan0 There is already a pid file /var/run/dhclient.wlan0.pid with pid 0 Internet Systems Consortium DHCP Client V3.0.2 Copyright 2004 Internet Systems Consortium. All rights reserved. For info, please visit »www.isc.org/products/DHCP
sit0: unknown hardware address type 776 sit0: unknown hardware address type 776 Listening on LPF/wlan0/00:30:bd:4e:33:d6 Sending on LPF/wlan0/00:30:bd:4e:33:d6 Sending on Socket/fallback DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12 No DHCPOFFERS received. No working leases in persistent database - sleeping.
brian@thefergies:/media/cdrom$ sudo ifconfig eth0 Link encap:Ethernet HWaddr 00:C0:9F:0A:A1:0B inet addr:192.168.1.33 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::2c0:9fff:fe0a:a10b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:9702 errors:0 dropped:0 overruns:0 frame:0 TX packets:6665 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:10478890 (9.9 MiB) TX bytes:540645 (527.9 KiB) Interrupt:11 Base address:0x1c00
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:28331 errors:0 dropped:0 overruns:0 frame:0 TX packets:28331 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2897652 (2.7 MiB) TX bytes:2897652 (2.7 MiB)
wlan0 Link encap:Ethernet HWaddr 00:30:BD:4E:33:D6 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Memory:f800000-f800024
It's not that I WANT to start the wlan0 with sudo ifup wlan0 - I do that because it doesn't start automatically, even when I boot with the belkin card installed. I've also noticed that after 'ifup wlan0' my keyboard does strange things - some keys repeat endlessly although I'm not touching the keyboard anymore and other times I press a key and there's a few seconds wait till something happens. If I 'ifdown wlan0' and then remove the belkin card the keyboard returns to normal. Could there be some kind of irq conflict? I haven't a clue where to even start sorting that in linux - could someone give me some ideas on that, please? Thanks again brian |
|
 salahx join:2001-12-03 Saint Louis, MO | This particular card seems to use to Realtek 8180 chipset - rtl8180). There isn't a driver for this one in the Linux kernel, but there a Souceforge project with a driver: »rtl8180-sa2400.sourceforge.net.
From what you've posted, it seems the card can't get an IP address via DHCP, the other warning messages are unrelated, although the "There is already a pid file /var/run/dhclient.wlan0.pid with pid 0" seems odd, since there is no PID 0, and suggest a stale lockfile, but it might be harmless.
As for the keyboard locking up, there are some tips at »ndiswrapper.sourceforge.net/medi···php/Tips ,also if you are using the Windows XP drivers, try the 2000 ones instead (or vice-versa). |
|
|
|
 jdongEat A Beaver, Save A Tree.Premium join:2002-07-09 Rochester, MI kudos:1 | reply to blound Don't use ndiswrapper except as a last resort. See the above post for native Linux drivers. -- UbuntuForums Administrator: try Ubuntu Linux |
|
 | Thanks to both for the advice - I've d/loaded the rtl drivers but I get loads of errors when I 'make' - I've installed kernel headers and source thinking I was missing that. Now the error says something about gcc-4 which is what ubuntu uses as default. I'm not on that machine right now so can't paste the exact error. I've tried 'make -i' which ignores errors but it won't make, so I can't install the drivers. Any other ideas, please? thanks again for the interest b |
|
 jdongEat A Beaver, Save A Tree.Premium join:2002-07-09 Rochester, MI kudos:1 | reply to blound sudo apt-get install gcc-3.4
CC=gcc-3.4 make |
|
 | Thanks again jdong - here's what happened:
brian@thefergies:~/Downloads/rtl8180-0.21$ CC=gcc-3.4 make make -C /lib/modules/2.6.12-9-386/build SUBDIRS=/home/brian/Downloads/rtl8180-0.21 MODVERDIR=/home/brian/Downloads/rtl8180-0.21 modules make[1]: Entering directory `/usr/src/linux-headers-2.6.12-9-386' CC [M] /home/brian/Downloads/rtl8180-0.21/ieee80211_rx.o CC [M] /home/brian/Downloads/rtl8180-0.21/ieee80211_tx.o CC [M] /home/brian/Downloads/rtl8180-0.21/ieee80211_wx.o CC [M] /home/brian/Downloads/rtl8180-0.21/ieee80211_module.o CC [M] /home/brian/Downloads/rtl8180-0.21/ieee80211_crypt.o CC [M] /home/brian/Downloads/rtl8180-0.21/ieee80211_crypt_wep.o /home/brian/Downloads/rtl8180-0.21/ieee80211_crypt_wep.c:27:2: warning: #warning CONFIG_CRYPTO_ARC4 is required to build this module. CC [M] /home/brian/Downloads/rtl8180-0.21/r8180_core.o /home/brian/Downloads/rtl8180-0.21/r8180_core.c: In function `rtl8180_pci_probe': /home/brian/Downloads/rtl8180-0.21/r8180_core.c:3632: error: structure has no member named `slot_name' make[2]: *** [/home/brian/Downloads/rtl8180-0.21/r8180_core.o] Error 1 make[1]: *** [_module_/home/brian/Downloads/rtl8180-0.21] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.12-9-386' make: *** [2.6] Error 2
I'm lost again, I don't know what CONFIG_CRYPTO_ARC4 is. Any more pointers, please? Thanks again brian |
|
 | reply to blound Its an option in the kernel. Looks like you may need to recompile your kernel with that option enabled. |
|
 jdongEat A Beaver, Save A Tree.Premium join:2002-07-09 Rochester, MI kudos:1 | reply to blound no, arc4 is compiled under Ubuntu as a module, and it indeed works....
Edit the source files, and any line that references slot_name (a few printfs it seems like), remove them. Sounds painful, but they're useless debug messages that use a super old kernel API. It seems like they're all in r8180_core.c. -- UbuntuForums Administrator: try Ubuntu Linux |
|
 | Thanks guys, that was QUICK. I started looking through r8180_core.c with vi (I know just enough about that to do some damage) and when I got to line 1500 without seeing any slot_name references I scrolled down to the end - it has 4190 lines!! Is there a quick way to look for slot_name references, please? My eyes are smarting already. thanks b |
|
 jdongEat A Beaver, Save A Tree.Premium join:2002-07-09 Rochester, MI kudos:1 | reply to blound /slot_name in vi command mode. |
|
 | Ok, thanks again (this is FUN) Now I have the drivers and this is what I have:
brian@thefergies:~$ 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:22855 errors:0 dropped:0 overruns:0 frame:0 TX packets:22855 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:6537863 (6.2 MiB) TX bytes:6537863 (6.2 MiB)
wlan0 Link encap:Ethernet HWaddr 00:30:BD:4E:33:D6 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:57 errors:0 dropped:0 overruns:0 frame:0 TX packets:2716 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:3271 (3.1 KiB) TX bytes:91760 (89.6 KiB) Interrupt:11 Memory:cfd5c000-cfd5c100
brian@thefergies:~$ iwlist scan lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
sit0 Interface doesn't support scanning.
wlan0 Scan completed : Cell 01 - Address: 00:01:36:09:A2:70 ESSID:" " Mode:Master Frequency:2.462 GHz (Channel 11) Bit Rate:1 Mb/s Bit Rate:2 Mb/s Bit Rate:5.5 Mb/s Bit Rate:11 Mb/s Quality=34/100 Signal level=-105 dBm Noise level=-256 dBm Encryption key:off
brian@thefergies:~$ sudo iwconfig wlan0 essid xxxxxxxxxxx brian@thefergies:~$ sudo iwconfig wlan0 ap 00:01:36:09:A2:70
I took eth0 down (with ifdown eth0) to see if I have network access with wlan0, and I don't. The Belkin card's light flashes a little but I can't ping the router or the internet. What have I forgotten? Thanks loads b |
|
 jdongEat A Beaver, Save A Tree.Premium join:2002-07-09 Rochester, MI kudos:1 | reply to blound give it a DHCP IP:
dhclient wlan0
To make changes permanent across bootups, configure it with System->Administration->Networking. -- UbuntuForums Administrator: try Ubuntu Linux |
|
 | Thanks again - this is what I have now:
brian@thefergies:~$ sudo iwconfig wlan0 essid easynote brian@thefergies:~$ sudo iwconfig wlan0 ap 00:01:36:09:A2:70 brian@thefergies:~$ sudo dhclient wlan0 There is already a pid file /var/run/dhclient.pid with pid 8884 killed old client process, removed PID file Internet Systems Consortium DHCP Client V3.0.2 Copyright 2004 Internet Systems Consortium. All rights reserved. For info, please visit »www.isc.org/products/DHCP
sit0: unknown hardware address type 776 sit0: unknown hardware address type 776 Listening on LPF/wlan0/00:30:bd:4e:33:d6 Sending on LPF/wlan0/00:30:bd:4e:33:d6 Sending on Socket/fallback DHCPREQUEST on wlan0 to 255.255.255.255 port 67 DHCPREQUEST on wlan0 to 255.255.255.255 port 67 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8 No DHCPOFFERS received. Trying recorded lease 192.168.1.35 PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
--- 192.168.1.1 ping statistics --- 1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
No working leases in persistent database - sleeping.
Sorry to be such a dumb-ass. Most folks seem to be able to wlan0 working with a lot less hassle. I'd appreciate some more pointers, please. Thanks b |
|
 jdongEat A Beaver, Save A Tree.Premium join:2002-07-09 Rochester, MI kudos:1 | reply to blound do you need to turn on encryption/WEP or anything of that nature? Your wireless AP isn't talking to you. -- UbuntuForums Administrator: try Ubuntu Linux |
|
 | No encryption of any sort working here. b |
|
 jdongEat A Beaver, Save A Tree.Premium join:2002-07-09 Rochester, MI kudos:1 | reply to blound iwconfig output after associating to an ap/essid. |
|
 | brian@thefergies:~/Downloads/rtl8180-0.21$ sudo ./module_load brian@thefergies:~/Downloads/rtl8180-0.21$ cd brian@thefergies:~$ sudo iwconfig wlan0 essid easynote brian@thefergies:~$ sudo iwconfig wlan0 ap 00:01:36:09:A2:70 brian@thefergies:~$ iwconfig lo no wireless extensions.
eth0 no wireless extensions.
sit0 no wireless extensions.
wlan0 IEEE 802.11b ESSID:"easynote" Mode:Managed Frequency:2.472 GHz Access Point: 00:00:00:00:00:00 Bit Rate=11 Mb/s Retry:on Fragment thr:off Link Quality=31/100 Signal level=-114 dBm Noise level=-187 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 |
|
 jdongEat A Beaver, Save A Tree.Premium join:2002-07-09 Rochester, MI kudos:1 | reply to blound try:
sudo ifconfig wlan0 up sudo iwconfig wlan0 essid easynote sudo iwconfig paste output.... wait 30 seconds, issue sudo iwconfig again. Any difference?
Currently the card is not associating to an AP
-- UbuntuForums Administrator: try Ubuntu Linux |
|
 salahx join:2001-12-03 Saint Louis, MO | reply to blound One thing to keep to mind if the rtl8180 drivers on the main download page are unmaintained - in particular, if you are using Linux 2.6.12 or above, you will need to download and compile the sources from CVS. If you do, you also to grab the 80211 source from the same CVS too (or, from the main project. |
|
 jdongEat A Beaver, Save A Tree.Premium join:2002-07-09 Rochester, MI kudos:1 | reply to blound Yes, amen to the CVS checkout... Their snapshots are fairly old...
They're also in a transition state to a new set of drivers based on the kernel's recently added 802.11 stack, so it may seem like no progress is being done, but rest assured they're working hard in the background. -- UbuntuForums Administrator: try Ubuntu Linux |
|