LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 03-31-2005, 12:37 PM   #1
sford232
LQ Newbie
 
Registered: Mar 2004
Posts: 26

Rep: Reputation: 15
ndiswrapper on hp notebook


I've been trying to get wireless working on my laptop using linux. I had it working under Fedora core3, and under Knoppix, but recently installed Mepis 3.3 which I really like, but I just can't seem to get the wireless going. This is an HP zv5000 with an internal Broadcom 54G card. I've been following the directions off the ndiswrapper website, ndiswrapper is installed on mepis by default. After installing the driver (ndiswrapper -i), ndiswrapper -l gets me:

Code:
root@1[sford]# ndiswrapper -l
Installed ndis drivers:
airplus driver present
bcmwl5a driver present, hardware present
lsbcmnds        driver present, hardware present
lstinds driver present
mrv8k51 driver present
netr33x driver present
prismnic        driver present
wlanuig driver present
wlipnds driver present
The bcmwl5a is the driver I'm trying to use, it's the same one I used unider FC3 and Knoppix. The lsbcmnds entry seems odd, with it saying hardware is present.

It doesn't appear to be loading the ndiswrapper module, after modprobe ndiswrapper, dmesg doesn't mention anything about ndiswrapper. There also is no wlan0 that I can find.

Code:
root@1[sford]# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

sit0      no wireless extensions.
I'm still relatively new at linux, I have no idea where to go from here.
 
Old 03-31-2005, 01:08 PM   #2
dns21
Member
 
Registered: Feb 2004
Location: AZ
Distribution: Slackware, Ubuntu, CentOS, Debian
Posts: 139

Rep: Reputation: 15
ndiswrapper should show up in dmesg as soon as you run the modprobe command...

What happens when you type
$ ifconfig wlan0 up
 
Old 04-04-2005, 08:42 PM   #3
sford232
LQ Newbie
 
Registered: Mar 2004
Posts: 26

Original Poster
Rep: Reputation: 15
Sorry it took so long for me to get back, been real busy at work.

Code:
root@2[bcmwl5a]# ifconfig wlan0 up
wlan0: ERROR while getting interface flags: No such device
 
Old 04-06-2005, 06:49 PM   #4
ithawtewrong
Member
 
Registered: Jul 2004
Location: Mile High
Posts: 161

Rep: Reputation: 30
This worked for me on the same laptop.

Remove ndiswrapper that is installed via SuSE install. (I'm running 9.2) Then compile from source. I didn't get the errors listed here and didn't have to hack the source though.

http://ndiswrapper.sourceforge.net/p...8594fc4cea1bfc

You will need to remove your 32 bit W2K drivers (remove the files and remove from config using ndiswrapper -e filename). The directions also have a link to the 64bit drivers.

Hope this helped and good luck.
 
Old 04-07-2005, 09:48 PM   #5
dns21
Member
 
Registered: Feb 2004
Location: AZ
Distribution: Slackware, Ubuntu, CentOS, Debian
Posts: 139

Rep: Reputation: 15
Do you see any error messages in the output of dmesg?
 
Old 04-14-2005, 02:11 AM   #6
bentbear
LQ Newbie
 
Registered: Feb 2005
Posts: 3

Rep: Reputation: 0
I am running MEPIS on an HP zv5220us with the same Broadcom chip. You will have to remove the old drivers. MEPIS includes ndiswrapper and wireless tools. You already know how to make the new driver. Next modprobe ndiswrapper. Now iwconfig wlan0 for your settings with the final statement, iwconfig wlan0 commit.
This will save your wireless configurations. I still have to change to root, modprobe ndiswrapper, and ifup wlan0 each time I boot. Does anyone have help with that?
 
Old 04-15-2005, 11:38 PM   #7
sford232
LQ Newbie
 
Registered: Mar 2004
Posts: 26

Original Poster
Rep: Reputation: 15
I've got this kind of working now. I uninstalled the lsbcmds driver and it will now connect to my neighbors network on boot... sometimes. Haven't had any luck getting it to connect to my router.
Here's the cut and paste from my post on the mepislovers.org forums:

(Start post)
I've been having problems getting my wireless card working correctly on my laptop. This is an HP zv5000 laptop with a built in broadcom bcm4306 b/g wireless card. I am dual booting with mepis 3.3 and winxp home. Everything works fine under windows. I installed the windows binary drivers using ndiswrapper and had everything working, but could only connect to my neighbors ap. They have a b router, unsecured. I'm using a linksys wrt54g router with wpa pre shared key with AES (also tried it with TKIP, and WEP) and when I input my router config in the mepis control center/wireless tab, then do a ifup wlan0 I get a:
Error for wireless request "Set Encode" (8B2A) :
invalid argument "********"
(my shared key)

also, for some reason I was having problems connecting at all, even to my neighbors ap. I was getting a:
wlan0: no IPv6 routers present

I went into /etc/modutils/aliases and uncommented the
# alias net-pf-10 off # IPv6
line.
Now I can connect, again only to neighbors ap, but I'm still getting the no IPv6 routers present error, and on the os control center/status tab it shows wlan0 being down, but I am connected.
Sorry for the long winded post, if I have left any relevant information out, let me know.
(End post)

Here's my latest dmesg output:

root@1[sford]# dmesg | tail
parport0: PC-style at 0x378 (0x778) [PCSPP(,...)]
parport0: irq 7 detected
lp0: using parport0 (polling).
lp0: console ready
ttyS0: LSR safety check engaged!
ttyS1: LSR safety check engaged!
wlan0: no IPv6 routers present
ABORTED IN=wlan0 OUT= MAC=00:90:4b:b7:26:bd:00:0f:66:d1:d6:39:08:00 SRC=63.210.62.163 DST=192.168.1.112 LEN=40 TOS=0x00 PREC=0x00 TTL=51 ID=16195 DF PROTO=TCP SPT=80 DPT=1187 SEQ=3088270876 ACK=0 WINDOW=0 RES=0x00 RST URGP=0
ABORTED IN=wlan0 OUT= MAC=00:90:4b:b7:26:bd:00:0f:66:d1:d6:39:08:00 SRC=64.233.187.104 DST=192.168.1.112 LEN=40 TOS=0x00 PREC=0x00 TTL=240 ID=21616 PROTO=TCP SPT=80 DPT=1219 SEQ=751046271 ACK=3677443097 WINDOW=9300 RES=0x00 RST URGP=0
ABORTED IN=wlan0 OUT= MAC=00:90:4b:b7:26:bd:00:0f:66:d1:d6:39:08:00 SRC=64.233.187.104 DST=192.168.1.112 LEN=40 TOS=0x00 PREC=0x00 TTL=240 ID=28528 PROTO=TCP SPT=80 DPT=1218 SEQ=2133177124 ACK=3669357773 WINDOW=9300 RES=0x00 RST URGP=0


I am currently connected to my neighbors ap. (They don't mind, but I'd like to get on mine)
I'm kind of getting off course here, but how do you unload modules? I'm specifically referring to the ipv6 module, it's still listed in lsmod. I tried:

Code:
root@1[sford]# rmmod ipv6
ERROR: Module ipv6 is in use
root@1[sford]# rmmod ipv6 -f
ERROR: Removing 'ipv6': Resource temporarily unavailable
Would it do any good to remove this module?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse Linux 9.3, WLI-CB-G54A w/ Ndiswrapper and Dell Notebook Luis_C Linux - Wireless Networking 2 05-06-2005 06:33 PM
PC notebook or Mac Notebook? thebover Linux - General 8 10-08-2004 03:02 AM
New HP Notebook? carlosinfl Linux - Laptop and Netbook 6 09-23-2004 09:42 PM
New Notebook? thom Linux - Hardware 2 10-07-2003 04:29 PM
Help with notebook SoulSe Linux - Hardware 13 03-30-2003 06:08 PM


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

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration