HELP! Wireless Ubuntu Issues

mrreizor

Member
May 23, 2005
133
0
0
I have almost given up. I've reinstalled Ubuntu 3 times to no avail. Here's my issue:

I have a Netgear wg311v2 wireless card and i'm trying to get it configured. Everyone has recommended using ndiswrapper

Running ndiswrapper -l, it says "Driver Present, Hardware present". (so far so good)

Iwconfig says that my Access Point is "Not-Associated". I couldn't find any threads about that.

Also, when i run the dmesg command, wlan0 line says "Driver using old /proc/net/wireless support, please fix driver!". I have no idea what this means.

I have WEP turned off and I have assigned a valid IP address in the scope of my Wireless Router. I have a Linksys BEFW11S4 Wireless B router with all security disabled and broadcasting my ESSID. This card works flawlessly with Windows 2000.

Help! I'm at my wits end.
 

mrreizor

Member
May 23, 2005
133
0
0
Originally posted by: n0cmonkey
It looks like you should be using the acx driver for that card.

I installed the TNETW1450 driver previously. I got it to install, but I got the same results. I'll work back through this wiki again and post back if I have any questions.

Thanks!
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Iwconfig says that my Access Point is "Not-Associated". I couldn't find any threads about that.

Did you try using iwconfig to tell it to connect to an AP?

Also, when i run the dmesg command, wlan0 line says "Driver using old /proc/net/wireless support, please fix driver!". I have no idea what this means.

Ignore that, it just means the driver (probably ndiswrapper) is using a deprecated method for interfacing with userland.

 

SleepWalkerX

Platinum Member
Jun 29, 2004
2,649
0
0
If you actually have the wireless card up (wlan0) then type "iwconfig wlan0 essid myessid" replacing myessid with your ap. Then run "ifup wlan0". See if that does it.
 

mrreizor

Member
May 23, 2005
133
0
0
Nope... still a no go. I think my card is actually getting a signal. When I run iwconfig, i'm getting values for Link Quality and Signal Level, but the card doesn't "see" the router. I can't ping my router or any other address. I've setup an IP in the router's scope, and that doesn't work either.

I logged traffic into my router and I get nothing.

I'm beginning to think the Linux gods are against me. :(
 

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
Originally posted by: mrreizor
Nope... still a no go. I think my card is actually getting a signal. When I run iwconfig, i'm getting values for Link Quality and Signal Level, but the card doesn't "see" the router. I can't ping my router or any other address. I've setup an IP in the router's scope, and that doesn't work either.

I logged traffic into my router and I get nothing.

I'm beginning to think the Linux gods are against me. :(

It's a common song and dance. Linux and wireless still doesn't play well with each other except for maybe a select few wireless cards. I have the formidable broadcom chipset in my built-in wireless and am having no luck with it either.
 

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
Originally posted by: Nothinman
actually, yes they are..but they are whining about opening so much source...

Even if they really are, it's too little too late by a long shot.

Well if it takes care of not having to hack a windows driver to get the firmware, and the general unreliability that I (and others) have had with the one in the kernel, then I'll be happy to see it happen.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Well if it takes care of not having to hack a windows driver to get the firmware, and the general unreliability that I (and others) have had with the one in the kernel, then I'll be happy to see it happen.

If they would just distribute the firmware seperately like all the other vendors it would be fine. And this is the first real release of the GPL'd driver in the kernel so I'm sure it'll get better faster. I definitely wouldn't trust Broadcom to produce a well working driver...
 

SleepWalkerX

Platinum Member
Jun 29, 2004
2,649
0
0
Originally posted by: n0cmonkey
Originally posted by: nweaver
Originally posted by: Nothinman

No, but the reverse-engineered driver should be in the 2.6.17 kernel.

actually, yes they are..but they are whining about opening so much source...

Screw'em.

X 10.

We've already got Atmel, RaLink, Zydas, and I believe Realtek allowing redistribution of their firmware, documentating their chipset, and some even donating hardware to those open-source projects (I know realtek has done this in the past).

I'd rather support them and I just bought a Hawking Tech mini-USB 802.11g adapter that uses a Zydas chipset so I'm pretty sure most distros will allow me to connect to my ap and surf out the box with it. B)
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
If broadcom doesn't release open source drivers they aren't worth looking at.

The reverse engineered drivers called bcm43xx are working fine for me. I have a Apple Ibook wtih airport extreme card. If those bastards at Apple didn't use a propriatory formfactor (it's a mini-pci card, but with a different incompatable physical shape) then I would of ditched that crappy card long long ago in favor for a Ralink based cards.

Actually I have two sets of drivers for my card.. The bcm43xx from the vanilla kernel and the bcm43xx-dscape driver, which is a more experimental version that is from the wireless development branch of the Linux kernel.

The bcm43xx driver is easier to use since all the userspace stuff for managing cards work for it. The bcm43xx-dscape is technically superior, but requires a manual configuration.

They can be installed side by side now, but you have to manually rmmod one and modprobe the other one.

The bcm43xx using the softmac/intel stack is aviable by default if your using a 2.6.17 kernel. The devicescape version requires you to compile stuff. You can find directions at:
http://openfacts.berlios.de/index-en.ph...Unstable_with_Devicescape_802.11_stack

It's designed for Debian, but the directions for compiling should work on any system as long as you have the nessicary header files and development tools installed. I recommend sticking with the in-kernel driver unless you have special reason to use the other one.

You also need to extract the firmware from either the Apple Extreme OS X drivers or the Windows XP drivers. (doesn't matter if your using a PPC machine or a x86 machine, either one will work.) They provide a special script to do that for you on the bcm43xx website. You need to make sure that the firmware is properly installed.


---- back on topic.

Ndiswrapper is almost garrenteed not to work. It'll work for a lot of people, but it won't work for a lot of other people. Nobody can make it work with certainty. It can cause system crashes and kernel panics. And there realy isn't anything anybody can do about it. Only try it out if nothing else works.

Instead try out that ACX driver for those types of cards. If you can't get it to work there is a mailing list and forums and other support there for you. Also there are wikis made by users of these devices.

If you need help go to those people. They are in the best position to help you. In a general forum like this the best advice you're going to get would be to go out and buy a Ralink-based card or Intel card to replace it.

Generally speaking to manually setup a connection so that you can see if it works or not with highest certainty is by going like this:

modprobe module-name (if you don't already have it loaded)

dmesg (check kernel output to see if there was any problems)

iwconfig -a (take note of your device names for wireless devices.. I'll assume it's wlan0, which it is with the bcm43xx driver, but sta0 with the bcm43xx-dscape)

ifconfig wlan0 up (assuming your using wlan0 device name)

iwlist wlan0 scan (take note of the AP address (the xx:xx:xx:xx:xx number) and the essid)

rmmod driver_name

dmesg (check to see if there was any problems)

modprobe driver_name

dmesg (check to see if there was any problems)
(or alternatively reboot to make sure the card has returned to a sane state)

Now.. The next part depends on the drivers. With the ifconfig command your going to bring the interface up. Some devices drivers want you to bring up your interface first, others want you to bring it up later. I'll assume that it works best bringing the interface up first..

ifconfig wlan0 192.168.1.10 up (bring the interface up first, substitute your ip address..dhcp doesn't work always)
iwconfig wlan0 essid "your essid" (substitute your correct essid)
iwconfig wlan0 ap xx:xx:xx:xx:xx (substitute your correct ap number)

dmesg (check to see if there was any problems. Hopefully your driver reports weither it got association or it timed out)

If that works setup the rest of your networking configuration..

route add default gw 192.168.1.1 (subsitute your correct gateway)
edit your /etc/resolv.conf configuration file and make sure you have a line 'nameserver 192.168.1.1' (substitute correct dns address)

ping 192.168.1.1 (substitute your gateway)
ping www.google.com

and see if everything works. Also check the dmesg output and see what is going on.

That way you can be certain weither or not your drivers are messed up or you've done a misconfiguration. Keep a long of everything you've done and use that to help people help you when you visit the driver's forums or whatnot.
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Originally posted by: SleepWalkerX
Originally posted by: n0cmonkey
Originally posted by: nweaver
Originally posted by: Nothinman

No, but the reverse-engineered driver should be in the 2.6.17 kernel.

actually, yes they are..but they are whining about opening so much source...

Screw'em.

X 10.

We've already got Atmel, RaLink, Zydas, and I believe Realtek allowing redistribution of their firmware, documentating their chipset, and some even donating hardware to those open-source projects (I know realtek has done this in the past).

I'd rather support them and I just bought a Hawking Tech mini-USB 802.11g adapter that uses a Zydas chipset so I'm pretty sure most distros will allow me to connect to my ap and surf out the box with it. B)


Rock on. Then screw intel also. I didn't know about the zydas and atmel stuff. Good stuff.

Ralink didn't need a seperate firmware until on their very new stuff, I beleive. Maybe it was included in the driver and I haven't noticed. I don't know about the redistribution stuff.
 

Kibbo86

Senior member
Oct 9, 2005
347
0
0
I'm using the acx driver on my linksys pcmcia card. I was getting the same symptoms as you, until I found an article on ubuntuforums that worked. I had to get the right firmware loaded by symlinking the file.

If you can find info on which (if any) firmware works with your card, you could probably get it working that way.

It may be a heck of a search, though, took me the better part of an afternoon to find that info for mine.

Be sure you rmmod ndiswrapper, and uninstall it entirely if you try to get the native drivers working.
 

SleepWalkerX

Platinum Member
Jun 29, 2004
2,649
0
0
Wait this card should be automatically detected by Ubuntu.

mrreizor, go look in System, Administration, and Networking. Do you see your card detected there? If so, I'll tell you how to install the firmware for it.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: drag
Originally posted by: SleepWalkerX
Originally posted by: n0cmonkey
Originally posted by: nweaver
Originally posted by: Nothinman

No, but the reverse-engineered driver should be in the 2.6.17 kernel.

actually, yes they are..but they are whining about opening so much source...

Screw'em.

X 10.

We've already got Atmel, RaLink, Zydas, and I believe Realtek allowing redistribution of their firmware, documentating their chipset, and some even donating hardware to those open-source projects (I know realtek has done this in the past).

I'd rather support them and I just bought a Hawking Tech mini-USB 802.11g adapter that uses a Zydas chipset so I'm pretty sure most distros will allow me to connect to my ap and surf out the box with it. B)


Rock on. Then screw intel also. I didn't know about the zydas and atmel stuff. Good stuff.

Ralink didn't need a seperate firmware until on their very new stuff, I beleive. Maybe it was included in the driver and I haven't noticed. I don't know about the redistribution stuff.

The ral-firmware appears to be under an ISC-like license (applied to a binary of course).
 

mrreizor

Member
May 23, 2005
133
0
0
Originally posted by: SleepWalkerX
Wait this card should be automatically detected by Ubuntu.

mrreizor, go look in System, Administration, and Networking. Do you see your card detected there? If so, I'll tell you how to install the firmware for it.

Yes. The card is detected.

Please tell me how to install the firmware. Getting Ubuntu off the ground has been an experience, I tell ya. I was on the virge of giving up on Linux. I'll be looking forward to your instructions.

 

SleepWalkerX

Platinum Member
Jun 29, 2004
2,649
0
0
Alright, go download the file here, rename it as "tiacx111c16", and stick it in /lib/firmware if you're using Dapper or /lib/hotplug/firmware if you're using Breezy or below (you might have to be in the root and use the sudo command, run "sudo mv tiacx111c16 /lib/firmware" if you are in the same directory as the firmware). That was it.

But make sure that ndiswrapper won't conflict with it. Run ndiswrapper -e <driver name> to uninstall the wireless card driver/firmware from ndiswrapper. If you told ndiswrapper to load on startup before and you're not sure where it is then run "sudo gedit /etc/modprobe.d/blacklist" and type "blacklist ndiswrapper" all the way at the bottom. There's no reason for it to load so you want to take more percaution take this step. But this isn't necessary once you uninstall the driver.