IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New OK then... Ubuntu/Kubuntu ndiswrapper question
This weekend I downloaded and burned a copy of Ubuntu and Kubuntu... both for the AMD64 and for the i386 kernels. (Four CDs... what the hell, I wasn't using 'em for anything else.)

The AMD64 install was quickly abandoned when I tried to figure out how to get ndiswrapper working on them... and they didn't. I am now taking pwhysall's advice to heart and concentrating purely on the realm of 32 bit software.

So... Ubuntu. It installs pretty easily, but I can't seem to get ndiswrapper to work. It's not part of the standard install, but I can apt-get install it (ndiswrapper-utils). The problem is that it doesn't work with the driver that came on the hp pavillion cd. By contrast, Mepis automatically recognized and configured it, and Xandros was able to use the driver from the CD correctly.

It's a broadcom driver. According various searches in the ubuntu forums, broadcom is a pain in the ass to try to get working. Yippee.

Essentially, this is what happens:

I type "sudo ndiswrapper -i [driver name]" (can't remember what that is right now.

It installs the driver.

I type "ndiswrapper -l" and it correctly shows the driver.

I type "sudo modprobe ndiswrapper" and it does something -- it doesn't tell me what, but it doesn't send me an error message either.

At this point, the wireless indicator lights up on my laptop, and I can see it as "wlan0" in the network thingy.

I reboot, it goes away.


So I figure I'd try Kubuntu, since I'm a lot more familiar with KDE and I reckon I might be missing a command somewhere.

Install Kubuntu. Install ndiswrapper. Install driver (using above commands) with the same results.

Go to networking in KControl, go to wireless network, log in as admin, autoconfig wlan0.

Go to regular networking, disable eth0, enable wlan0... and it enables for have a second and then automatically disables itself again.

Hm.

Try again. Same result. It will show "enabled" for a second, and then go away. Thing is, on the task bar there is a little wireless applet that claims that it's working at 100%. Shrug.

Reboot, during bootup it polls for network connections (ethernet cable is disconnected at this point) and finds... nothing.

I log in... check network settings. It sees nothing. So I check ndiswrapper -l -- the driver is still there, no errors are reported. I type "sudo modprobe ndiswrapper" and poof, wlan0 shows up on my network panel again... but when I try to access it as admin, the whole thing crashes.

Yay.

It could be that I'm using the wrong driver. The problem is, every other broadcom driver I've downloaded and used -- including the updated one from HP's site -- has either failed completely (i.e., displaying "invalid driver" with ndiswrapper -l) or apparently loaded correctly and then done exactly what I've described above.

In all other respects Ubuntu and Kubuntu have been damned painless -- identifying my screen without me having to tweak x config files (which I have had to do to get xandros working, and which I've tried to do unsuccessfully with mepis -- never got it to display 1280x800), displaying at 96 dpi, enabling all the nice font smoothing technologies by default... but I can't get ndiswrapper to play nice. Or I can't find a broadcom driver that will work with my pavillion z5000 and Ubuntu/Kubuntu at the same time.

(I feel silly differentiating between them, since even Kubuntu calls itsels "ubuntu" when it's booting. The only difference I can see seems to be gnome and KDE. Since Kubuntu id's itself as part of the Ubuntu project, I guess that's the point. Still, on the off-chance that there's something *else* that makes them different, I thought I'd risk being over-specific.)
"We are all born originals -- why is it so many of us die copies?"
- Edward Young
New Yendor's got this working.
Mike, do yer thing.

I'm fortunate enough to have Atheros-based NICs here; the only Broadcoms are in the Apples, which are looked after by Airport.


Peter
[link|http://www.ubuntulinux.org|Ubuntu Linux]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Home]
Use P2P for legitimate purposes!
New What I did...
I've got a Broadcom chipset inside my HP zd8080us running Ubuntu. I use ndiswrappers for wireless access. It works. Here's what I did.
  1. apt-get install ndiswrapper-utils
  2. Copy the .inf *AND* .sys from your Windows driver CD (mine are bcmwl5.inf and bcmwl5.sys.) Stick 'em in your home dir (or somewhere) and leave 'em there. You never know when you'll need 'em again, and they're small.
  3. ndiswrapper -i bcmwl5.inf
  4. Confirm this output:
    $ ndiswrapper -l
    Installed ndis drivers:
    bcmwl5 driver present, hardware present
  5. And here's the relevant stanza from /etc/network/interfaces...Change as needed:
    auto wlan0
    iface wlan0 inet dhcp
    netmask 255.255.255.0
    network 192.168.0.0
    broadcast 192.168.0.255
    gateway 192.168.0.1
    wireless_keymode restricted
    wireless_key <your_key_here>
    wireless_essid <your_essid_here>

I think that's all I had to do.
-YendorMike

"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
- Benjamin Franklin, 1759 Historical Review of Pennsylvania
New Thanks!
I'll try this when I get home. I didn't mess with the interfaces setting, that might be the problem.
"We are all born originals -- why is it so many of us die copies?"
- Edward Young
New It worked!
All I had to do was modify that interfaces file and suddenly, like magic, the laptop's built-in wireless started working.

There's this other odd thing happening now, though. Every time the laptop boots up it seems like it kicks all other computers off the network. My Windows XP machine, for example, suddenly loses the ability to even ping the Linksys router. I have to actually unplug and restart the router in order for all the machines to be able to access the internet again.

I wonder what that's about. The other two machines are connected to the router with ethernet cables, so I wouldn't think it was an issue of signal interference or anything like that...
"We are all born originals -- why is it so many of us die copies?"
- Edward Young
New Glad to hear it!
Not sure what to say about your other machines getting kicked off the network, however. :(
-YendorMike

"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
- Benjamin Franklin, 1759 Historical Review of Pennsylvania
     OK then... Ubuntu/Kubuntu ndiswrapper question - (cwbrenn) - (5)
         Yendor's got this working. - (pwhysall)
         What I did... - (Yendor) - (3)
             Thanks! - (cwbrenn) - (2)
                 It worked! - (cwbrenn) - (1)
                     Glad to hear it! - (Yendor)

This is your brain on bad interior design. Any questions?
70 ms