ubuntu wireless card config...
hey all, i got a fun one this time. i am running ubuntu 6.06 dapper drake on a compaq presario 2100. I have a Linksys Wireless-G card. The model number is: WPC54G Ver. 3.
I have been looking at tutorials online for almost 3 weeks now, and I just can't figure out how to make this thing work. If I plug my ethernet cable into my laptop, the internet does work. Right now, I can configure my eth0 and eth1 settings via /etc/iftab and /etc/network/interfaces. so, here is the two files i know that control it: ------------------------ /etc/iftab: # This file assigns persistent names to network interfaces. # See iftab(5) for syntax. eth0 mac 00:13:10:F7:66:6E arp 1 eth1 mac 00:0b:cd:55:f0:50 arp 1 /etc/network/interfaces: auto lo iface lo inet loopback #auto eth0 iface eth0 inet dhcp auto eth1 iface eth1 inet dhcp auto wlan0 iface wlan0 inet dhcp and here is my ifconfig output: eric@eric-laptop:~$ ifconfig eth1 Link encap:Ethernet HWaddr 00:0B:CD:55:F0:50 inet addr:192.168.0.6 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::20b:cdff:fe55:f050/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2287 errors:0 dropped:0 overruns:0 frame:0 TX packets:2256 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1758074 (1.6 MiB) TX bytes:560466 (547.3 KiB) Interrupt:10 Base address:0xe000 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:9 errors:0 dropped:0 overruns:0 frame:0 TX packets:9 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:472 (472.0 b) TX bytes:472 (472.0 b) wire and here's my iwconfig output: eric@eric-laptop:~$ iwconfig lo no wireless extensions. eth1 no wireless extensions. sit0 no wireless extensions. i know iwconfig should have something in it. my wireless card does work under windows, so i know the card is good. thanks for any help! Eric |
Okay, seems you should check to see if ndiswrapper is installed,
"lsmod | grep ndiswrapper" should return some thing like this: ndiswrapper 177364 0 usbcore 130692 3 ndiswrapper,uhci_hcd Then do "ndiswrapper -l" should return something like this: Installed ndis drivers: <your w32 driver> driver present, hardware present -where <your w32 driver> is the <driver>.inf taken from the CD that came with the card. (According to the hardware compatability page here: https://help.ubuntu.com/community/Wi...CardsSupported ) (If you're not able to find ndiswrapper at this point...well, there are a lot of good how to's out there. Install ndiswrapper and driver, then see what happens.) After that I can either do: "ifdown -a" "ifup -a" or find/configure from 'Applications' menu (using Ubuntu /GNOME-flavored linux distro) using whatever network tools are available. Further problems have since been handled by diabling the interface, unplugging/replugging the card, and re-enabling the connection from task bar. Hope this helps. J |
Thanks for the reply. I ran the commands you told me to run, and this is what it came up with. I noticed ifup -a returned something about eth0 not being able to come up.
eric@eric-laptop:~$ lsmod | grep ndiswrapper ndiswrapper 177364 0 usbcore 130820 3 ndiswrapper,ohci_hcd eric@eric-laptop:~$ ndiswrapper -l Installed ndis drivers: lsbcmds invalid driver! lsbcmnds driver present eric@eric-laptop:~$ ifdown -a ifdown: failed to open statefile /var/run/network/ifstate: Permission denied eric@eric-laptop:~$ sudo ifdown -a Password: Internet Systems Consortium DHCP Client V3.0.3 Copyright 2004-2005 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/products/DHCP Listening on LPF/eth1/00:0b:cd:55:f0:50 Sending on LPF/eth1/00:0b:cd:55:f0:50 Sending on Socket/fallback DHCPRELEASE on eth1 to 192.168.0.1 port 67 eric@eric-laptop:~$ sudo ifup -a Internet Systems Consortium DHCP Client V3.0.3 Copyright 2004-2005 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/products/DHCP SIOCSIFADDR: No such device eth0: ERROR while getting interface flags: No such device eth0: ERROR while getting interface flags: No such device Bind socket to interface: No such device Failed to bring up eth0. Internet Systems Consortium DHCP Client V3.0.3 Copyright 2004-2005 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/products/DHCP Listening on LPF/eth1/00:0b:cd:55:f0:50 Sending on LPF/eth1/00:0b:cd:55:f0:50 Sending on Socket/fallback DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6 DHCPOFFER from 192.168.0.1 DHCPREQUEST on eth1 to 255.255.255.255 port 67 DHCPACK from 192.168.0.1 bound to 192.168.0.6 -- renewal in 42484 seconds. Internet Systems Consortium DHCP Client V3.0.3 Copyright 2004-2005 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/products/DHCP SIOCSIFADDR: No such device wlan0: ERROR while getting interface flags: No such device wlan0: ERROR while getting interface flags: No such device Bind socket to interface: No such device Failed to bring up wlan0. eric@eric-laptop:~$ |
First problem I see with that; "ndiswrapper -l" should return 3 pieces of information: driver name, and the presence of BOTH the driver and the DEVICE!! Seems you don't have your card plugged in properly or something; it's missing the ever-important "hardware present". Linux should see the card like this:
> >Installed ndis drivers: >rt73 driver present, hardware present > This is where you lose me a bit. My card is a USB-type. There is a command to list the USB-connected devices, "lsusb". Not sure, but if you know/can find an analagous one for CardBus... At a guess, try "lspci" at the command line. Other places you can find if a device is seen at a basic level are in 'System'->'Administration'->'Device Manager'. You need to get the card physically recognized before going further. Now second problem, you have two drivers installed. Simple, in terminal, type: sudo ndiswrapper -e <driver> where <driver> is the Win32 *.inf, MINUS the .inf part. For now take them both out. Luck to ya. Get that card recognized, then you can get it online. J |
http://www.broadcom.com/support/ethernet_nic/4401.php this is where you can download a native linux driver and compile it to work for your system. May have better luck doing so. never had much luck with ndiswrapper.
|
All times are GMT -5. The time now is 09:37 AM. |