LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Linksys wmp11v4 in Ubunu 7.10 Gutsy (https://www.linuxquestions.org/questions/linux-wireless-networking-41/linksys-wmp11v4-in-ubunu-7-10-gutsy-594247/)

red hat flyfisherman 10-24-2007 11:42 AM

Linksys wmp11v4 in Ubunu 7.10 Gutsy
 
So I am having trouble (still) with this linksys card...

I am following the Ubuntu Community ndiswrapper doc
https://help.ubuntu.com/community/Wi...er/Ndiswrapper
I am running Ubuntu 7.10 Gutsy 2.6.22-14-generic
ndiswrapper-1.45
ndiswrapper-utils 1.9 (both of which were installed through synaptic off the installation cd)
ndisgtk 0.7.2

All of these are installed and working properly (as far as I can tell)

I have a linksys 802.11b WMP11 ver4 and I got the driver package off the ndiswrapper website. There are three drivers present, but the only one that seems to work is the lsipnds.inf. When loaded, it says "driver loaded, hardware present". wmp11nds.inf returns "driver loaded, no hardware present" and lsicmnds.inf retuns "invalid driver".

So therefore I thought that the only driver I needed was the lsipnds.inf.

I went to the terminal and ran
sudo depmod -a
sudo modprobe ndiswrapper

and

tail /var/log/messages

to check for error messages, of which there were none...
Success!!! No....

When I go to configure the network, there is no network...
I have a (dial-up)modem connection, but no wireless connection

Anybody know what I am doing wrong?

2Gnu 10-24-2007 02:36 PM

modprobe ndiswrapper - Any errors?

ifconfig - Does wlan0 show up?

If not, lsmod |grep bcm - is bcm43xx listed?

If so, blacklist it, reboot and try again.

red hat flyfisherman 10-24-2007 03:11 PM

Well, I uninstalled ndiswrapper 1.45 as per the uninstallation instructions and installed ver 1.48, reinstalled the lsipnds.inf driver, and the wireless network was detected!!

Don't know what the deal was, but it seems to be up now...
thanks for replying

ps. there weren't any errors with modprobe ndiswrapper, but wlan0 did not show up on ifconfig... It was strange that ndiswrapper saw my device but ubuntu didn't... I'd better not ask too many questions, just glad it works now...

red hat flyfisherman 10-25-2007 02:24 PM

Short-lived victory, I'm afraid. I can indeed detect my wireless network, but I am unable to ping my router, much less connect to my network.

Initially I thought it was security-related, having to do with encryption (WPA-PSK), so I dropped it down to WEP but couldn't get anything to work... Been playing around with the router settings and network config for a couple hours, but then I realized that if I can't even ping the router then encryption doesn't matter (stupid) so am I right in thinking this has to be a hardware issue?

red hat flyfisherman 10-25-2007 02:47 PM

to answer your questions, 2Gnu,

Code:

jb@jb-desktop:~$ modprobe ndiswrapper
jb@jb-desktop:~$ 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:469 errors:0 dropped:0 overruns:0 frame:0
          TX packets:469 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:43631 (42.6 KB)  TX bytes:43631 (42.6 KB)

wlan0    Link encap:Ethernet  HWaddr 00:0F:66:3B:09:5F 
          inet6 addr: fe80::20f:66ff:fe3b:95f/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:701 errors:0 dropped:0 overruns:0 frame:0
          TX packets:910 errors:0 dropped:32 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:82840 (80.8 KB)  TX bytes:114236 (111.5 KB)
          Interrupt:5 Memory:e8004000-e8004800

wlan0:ava Link encap:Ethernet  HWaddr 00:0F:66:3B:09:5F 
          inet addr:169.254.3.140  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          Interrupt:5 Memory:e8004000-e8004800

jb@jb-desktop:~$ iwconfig
lo        no wireless extensions.

wlan0    IEEE 802.11b  ESSID:"Cook" 
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:1A:70:44:D0:D9 
          Bit Rate=1 Mb/s  Tx-Power:17 dBm 
          RTS thr:2347 B  Fragment thr:2346 B 
          Power Management:off
          Link Quality:53/100  Signal level:-62 dBm  Noise level:-96 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0  Missed beacon:0


no errors from modprobe ndiswrapper
"lo" is a looback extension, and I have no idea why its there
wlan0 is my wireless connection
wlan0:ava doesn't really exist, or so I am told when I try to use/remove it. Makes no sense to me...

2Gnu 10-25-2007 04:56 PM

OK, now that you seem to have a working ndiswrapper installation, run iwconfig wlan0 to see if the card is associated with the access point.

If not, try bringing up the interface manually - ifconfig wlan0 up
Then, set the wireless parameters with iwconfig mode managed essid <your_ssid> key 012345678
Finally, try to obtain an IP address - dhclient wlan0

Assuming that results in a working connection, put the parameters in the config file for wlan0 to automate connection on boot.

red hat flyfisherman 10-29-2007 10:46 AM

Hey it works!!
 
Sorry for the slow turnaround but I am just getting back to this.

when I first ran iwconfig wlan0 it said that there was no access point and essid any/none.

I opened the networking tool(gui), selected my network and entered the password and when I started my browser it worked.

are these the lines that I need to add to the config file?

iwconfig wlan0 essid Cook mode managed key *********
dhclient wlan0


Thanks a bunch for your help, 2Gnu!

2Gnu 10-29-2007 11:26 AM

If whatever GUI tool you're using does not save the wireless parameters, then yes, you can edit the stuff in /etc/network/interfaces to allow them to persist through a reboot.

red hat flyfisherman 11-05-2007 10:12 PM

I have everything up and running well now. thanks for your help and patience, 2Gnu!:D

2Gnu 11-06-2007 12:55 AM

Hey, that's my job.

Enjoy.


All times are GMT -5. The time now is 11:42 AM.