LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   trouble with wifi ndiswrapper & Broadcom 4310 chip based wireless (https://www.linuxquestions.org/questions/linux-hardware-18/trouble-with-wifi-ndiswrapper-and-broadcom-4310-chip-based-wireless-487546/)

WhiskeyTangoFoxtrot 09-27-2006 06:50 PM

trouble with wifi ndiswrapper & Broadcom 4310 chip based wireless
 
g'day,
got a new laptop, compaq V3000 and installed ubuntu 6.06 on it. everything but the wireless works out of the box. i tried following the instructions given here but i was still not able to get it up and running. the command "ndiswrapper -l" says that the bcm4310 driver is present and the hardware is present. however when i start the connection - iwconfig eth0 essid “uwindsor” - it says there is an error and refuses to connect. tried changing eth0 to eth1 but same problem. any dieas ? i just need it to connect to my university wireless which is unsecure. any suggestions.

Shioni 09-28-2006 11:51 AM

what error exactly?! what does dmesg say, after you load ndiswrapper module?!

WhiskeyTangoFoxtrot 09-28-2006 07:06 PM

dmesg said there was a error in loading the ndiswrapper drivers but it was able to load ndiswrapper fine. also, doing wlanconfig shows the network connections and also a "no wireless extensions." i take it the drivers aint working ? man i wish it was as easy as installing the mad-wifi drivers :(

Shioni 09-28-2006 07:24 PM

anyway, post the dmesg output about ndiswrapper and that "unable to connect" error here!
what does "iwconfig wlan0" and "iwlist wlan0 scan" says?!

WhiskeyTangoFoxtrot 09-29-2006 01:29 AM

Code:

anshuman@Starbase10:~/Desktop$ iwconfig wlan0
wlan0    No such device

anshuman@Starbase10:~/Desktop$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

sit0      no wireless extensions.

anshuman@Starbase10:~/Desktop$ ndiswrapper -l
Installed drivers:
bcmwl5          driver installed, hardware present

there seems to be something screwed up with dmesg. it used to give a proper output but now it gives rubbish, mot of which doesnt even fit on the screen, heres some of it
Code:

[ 1961.533914] evbug.c: Event. Dev: usb-0000:00:0b.0-6/input0, Type: 0, Code: 0, Value: 0
[ 1961.537902] evbug.c: Event. Dev: usb-0000:00:0b.0-6/input0, Type: 2, Code: 0, Value: 3
[ 1961.537914] evbug.c: Event. Dev: usb-0000:00:0b.0-6/input0, Type: 0, Code: 0, Value: 0
[ 1961.541901] evbug.c: Event. Dev: usb-0000:00:0b.0-6/input0, Type: 2, Code: 0, Value: 1
[ 1961.541908] evbug.c: Event. Dev: usb-0000:00:0b.0-6/input0, Type: 2, Code: 1, Value: 1
[ 1961.541920] evbug.c: Event. Dev: usb-0000:00:0b.0-6/input0, Type: 0, Code: 0, Value: 0
[ 1961.545902] evbug.c: Event. Dev: usb-0000:00:0b.0-6/input0, Type: 2, Code: 0, Value: 1
[ 1961.545918] evbug.c: Event. Dev: usb-0000:00:0b.0-6/input0, Type: 0, Code: 0, Value: 0
[ 1961.920681] evbug.c: Event. Dev: isa0060/serio0/input0, Type: 4, Code: 4, Value: 200
[ 1961.920695] evbug.c: Event. Dev: isa0060/serio0/input0, Type: 1, Code: 103, Value: 1
[ 1961.920700] evbug.c: Event. Dev: isa0060/serio0/input0, Type: 0, Code: 0, Value: 0
[ 1961.969734] evbug.c: Event. Dev: isa0060/serio0/input0, Type: 4, Code: 4, Value: 200
[ 1961.969747] evbug.c: Event. Dev: isa0060/serio0/input0, Type: 1, Code: 103, Value: 0
[ 1961.969754] evbug.c: Event. Dev: isa0060/serio0/input0, Type: 0, Code: 0, Value: 0
[ 1962.225714] evbug.c: Event. Dev: isa0060/serio0/input0, Type: 4, Code: 4, Value: 28
[ 1962.225727] evbug.c: Event. Dev: isa0060/serio0/input0, Type: 1, Code: 28, Value: 1
[ 1962.225736] evbug.c: Event. Dev: isa0060/serio0/input0, Type: 0, Code: 0, Value: 0

any thoughts ?

Shioni 09-29-2006 06:12 AM

it looks like dmesg output you posted doesn't have to do anything with ndiswrapper. maybe there's something wrong with the driver! I remember I ran across a link to windows broadcom 4310 driver in these forums many times, and that driver worked fine. or try to use the driver from your CD, if you have one!

WhiskeyTangoFoxtrot 09-29-2006 03:59 PM

Quote:

Originally Posted by Shioni
it looks like dmesg output you posted doesn't have to do anything with ndiswrapper. maybe there's something wrong with the driver! I remember I ran across a link to windows broadcom 4310 driver in these forums many times, and that driver worked fine. or try to use the driver from your CD, if you have one!

wierdly enough there is no cd :confused:
but i cant see why these drivers i got from the windows xp partition dont work. tried reinstalling ndiswrapper and the broadcom drivers several times with no success.

Shioni 09-29-2006 04:19 PM

just look for thous drivers here on the forum! they work for me!

WhiskeyTangoFoxtrot 09-30-2006 01:08 PM

ok, i will try to find other drivers. meanwhile i reinstalled ubuntu because the modprobe and some other commands like dmesg were broken. after reinstaling everything dmesg now shows this
Quote:

[ 4150.515666] ndiswrapper version 1.23 loaded (preempt=yes,smp=yes)
[ 4150.568768] ndiswrapper (check_nt_hdr:149): kernel is 64-bit, but Windows driver is not 64-bit;bad magic: 010B
[ 4150.568776] ndiswrapper (load_sys_files:214): couldn't prepare driver 'bcmwl5'
[ 4150.555720] ndiswrapper (load_wrap_driver:113): loadndiswrapper failed (65280); check system log for messages from 'loadndisdriver'
apparently the driver i got off the windows directory is 32 bit while my kernel is 64 bit. how can windows be using the 32 bit driver then :confused:

WhiskeyTangoFoxtrot 09-30-2006 03:45 PM

i solved the problem. apparently the drivers i got from windows were 32-bit and ndiswrapper needed the 64-bit ones. after installing them and a quick reboot the wireless came to life. i have a detailed proceedure posted on my blog Thanks for your time Shioni.

Shioni 09-30-2006 07:25 PM

It's strange that ndiswrapper didn't bitch about 32-bit driver then. glad you got it working!


All times are GMT -5. The time now is 02:40 PM.