LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-14-2007, 09:47 AM   #1
chaostheory
LQ Newbie
 
Registered: May 2007
Location: Punxsutawney, PA
Distribution: Slackware 11.0
Posts: 29

Rep: Reputation: 15
wireless/ndiswrapper problem


I have been posting in the laptop forum and someone suggested i post in the slackware forum since that is what i am using.

I have installed ndiswrapper and downloaded drivers for my onboard wireless on my laptop. You can read what i've done so far in that post

http://www.linuxquestions.org/questi...d.php?t=553208

Basically i have the Broadcom Corporation BCM4318 [Air Force One 54G] 802.11g Wireless LAN Controller (rev 02). I recieved drivers from someone with almost the same laptop as mine.

I did a make and make install on ndiswrapper which seemed to work ok.

ndiswrapper -l produces:
bcmwl5 : driver installed
device (14E4:4318) present

i then did ndiswrapper -m which gives:
module configuration already contains alias directive
-ma which gives:
module configuration information is stored in /etc/modprobe.d/ndiswrapper
-mi which gives:
module configuration information is stored in /etc/modprobe.d/ndiswrapper

then did a modprobe ndiswrapper which makes the prompt pause a second, then drops to the next line with a prompt again. No errors or anything.

So then i reboot the pc and do an iwconfig. No wlan0 and dmesg | grep ndis returns nothing

Im at a loss as to what to do next. I am a virtual newbie and am trying to do as much on my own as i can but im totally stuck on this one. I've tried the forums, and that so far is what i've come up with from a few different posts on how to get ndiswrapper working but no luck for me.

Any help is appreciated. Thanks.
 
Old 05-14-2007, 10:03 AM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
try modprobe bcm43xx
 
Old 05-14-2007, 10:11 AM   #3
chaostheory
LQ Newbie
 
Registered: May 2007
Location: Punxsutawney, PA
Distribution: Slackware 11.0
Posts: 29

Original Poster
Rep: Reputation: 15
Can't locate module bcm43xx

I was told to make sure this wasnt in here because it conflicts and isnt compatible with my laptop but it appears to not be
 
Old 05-14-2007, 10:20 AM   #4
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Quote:
Originally Posted by chaostheory
I was told to make sure this wasnt in here because it conflicts and isnt compatible with my laptop but it appears to not be
Can you explain more?

You need to be root when modprobing, installing or run with sudo:
sudo modprobe bcm43xx

Have you done this?
sudo ndiswrapper -i /wireless_driver_dir/your_driver.inf
sudo modprobe ndiswrapper
sudo ndiswrapper -m
sudo modprobe bcm43xx (may be unecessary)
 
Old 05-14-2007, 10:24 AM   #5
moosedaddy
Member
 
Registered: Feb 2003
Location: Oklahoma
Distribution: Debian Unstable
Posts: 244

Rep: Reputation: 30
After you modprobe ndiswrapper do not reboot. After modprobe ndiswrapper then try iwconfig.
 
Old 05-14-2007, 10:28 AM   #6
chaostheory
LQ Newbie
 
Registered: May 2007
Location: Punxsutawney, PA
Distribution: Slackware 11.0
Posts: 29

Original Poster
Rep: Reputation: 15
note: i am logged in as root doing all this

oooooo

i did modprobe ndiswrapper and then iwconfig

I have wlan0 now with all the settings and it says its connected to a wireless point already.

How can i make this do this on startup so i dont have to modprobe ndiswrapper everytime?

We have 4 wireless hubs in range here at work but oddly the one in my office isnt showing up, but the rest do. and it says its connected. This is superb.

I guess im so used to windows and rebooting i figured if i made a change like that i had to reboot.

Baughty assumption i know...bad joe bad
 
Old 05-14-2007, 10:32 AM   #7
chaostheory
LQ Newbie
 
Registered: May 2007
Location: Punxsutawney, PA
Distribution: Slackware 11.0
Posts: 29

Original Poster
Rep: Reputation: 15
Despite being connected i cant surf or anything and under ip it says unavailable

do i need to enable dhcp somehow?
 
Old 05-14-2007, 10:40 AM   #8
moosedaddy
Member
 
Registered: Feb 2003
Location: Oklahoma
Distribution: Debian Unstable
Posts: 244

Rep: Reputation: 30
Try ifup wlan0 or dhcpcd wlan0 as root. Are the acess point encrypted?
 
Old 05-14-2007, 10:40 AM   #9
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Is your connection anyway encrypted? Do you use WPA?
 
Old 05-14-2007, 10:41 AM   #10
chaostheory
LQ Newbie
 
Registered: May 2007
Location: Punxsutawney, PA
Distribution: Slackware 11.0
Posts: 29

Original Poster
Rep: Reputation: 15
I figured it out with the help of this site
http://www.linuxforums.org/network/w...and_linux.html

Im so proud of myself *pats himself on the back*

I just needed to do a couple commands. iwlist, iwconfig ESSID (network ssid), and dhcpcd wlan0

now to get this on startup so i dont have to remember this 9 step process on each boot!....
 
Old 05-14-2007, 10:43 AM   #11
chaostheory
LQ Newbie
 
Registered: May 2007
Location: Punxsutawney, PA
Distribution: Slackware 11.0
Posts: 29

Original Poster
Rep: Reputation: 15
no not encrypted but i see from that site how to put in the key for when i get home which is encrypted hopefully it will be as easy as typing in iwconfig wlan0 key s:"thekey" when i get home
 
Old 05-14-2007, 10:48 AM   #12
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,248

Rep: Reputation: 46
If you want it to come up on boot edit /etc/rc.d/rc.inet1.conf and uncomment the appropriate wlan0 lines. If you're going to use an encrypted connection you can enter the key into that as well. The file is pretty self-explanatory.
 
Old 05-14-2007, 11:08 AM   #13
chaostheory
LQ Newbie
 
Registered: May 2007
Location: Punxsutawney, PA
Distribution: Slackware 11.0
Posts: 29

Original Poster
Rep: Reputation: 15
well i only uncommented 2 lines because i wasnt sure what the rest were used for, rebooted and i have wireless on startup. Thanks so much for all the help. So to recap for a newbie with this chipset you need to:

1) Download NDISWrapper from Download NDISWrapper
2) Download specific driver for your chipset from here: Driver List
3) Unpackage NDISWrapper
- CD to ndiswrapper folder
4) Make
5) Make Install
6) Unpackage driver into ndiswrapper folder
7) ndiswrapper -i drivername.inf (assuming its in the same folder)
8) ndiswrapper -l should display driver installed, device present if correct
9) ndiswrapper -m
10) modprobe ndiswrapper
11) iwconfig (see if wlan0 shows up)
12) iwlist scan (to see available networks)
13) iwconfig wlan0 ESSID networkname (to connect to an access point)
14) iwconfig wlan0 key s:"network key" (if needed)
15) dhcpcd wlan0
16) At this point an ifconfig should show an ip address for wlan0

To add to startup
1) pico /etc/rc.d/rc.inet1.conf
2) uncomment IFNAME[4]="wlan0"
3) uncomment USE_DHCP[4]="yes"
4) Control o then enter to save
5) Control x to exit pico
6) Reboot and test

am i missing anything critical here in case i have to ever do this again...

Last edited by chaostheory; 05-14-2007 at 11:12 AM.
 
Old 05-14-2007, 11:19 AM   #14
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,248

Rep: Reputation: 46
That's pretty much it.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
suse 10.1 hpzd8000 ndiswrapper 1.23 broadcom 4318 wireless problem mrchadman Linux - Laptop and Netbook 1 09-20-2006 08:03 AM
Wireless wlan0/ndiswrapper problem Glj12 Linux - Wireless Networking 14 08-16-2006 12:19 AM
Problem configuring wireless with ndiswrapper RVDowning Mandriva 7 05-02-2006 07:10 AM
[Gentoo] Ndiswrapper Problem - Failed to configure wireless for wlan0 freek sanders Linux - Software 8 11-11-2005 02:12 AM
ndiswrapper problem for wireless card citrus Linux - Wireless Networking 3 04-20-2004 04:42 PM


All times are GMT -5. The time now is 03:04 AM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration