LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 07-28-2007, 09:42 PM   #1
adityavpratap
Member
 
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 431

Rep: Reputation: 32
getting wireless lan to work on Slackware 11.0


Hi,
I am trying to get my WA3002-g1 wireless modem/router to work on my Acer Aspire 5100 laptop. It works in Windows.
I have 2.6.17.13 kernel which load bcm43xx by default. I have installed ndiswrapper 1.47. I coppied bcmwl5.inf and bcmwl5.sys from windows onto Slackware and installed them through ndiswrapper.
The out put of ndiswrapper -l is -
Quote:
bcmwl5 : driver installed
device (14E4:4318) present (alternate driver: bcm43xx)
/etc/rc.d/netdevice loads ndiswraper.
Now, I want to know what modifications are to be made to /etc/rc.d/rc.inet1.conf and /etc/rc.d/rc.wireless.conf
Secondly, if I want to use ndiswrapper, do I have to unload bcm43xx? If so how do i do that?
Thanking in advance,
 
Old 07-28-2007, 10:05 PM   #2
Lunate
LQ Newbie
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 16

Rep: Reputation: 0
You should blacklist the bcm43xx module to keep it from loading at boot. You do that by adding blacklist bcm43xx to /etc/modprobe.conf.

The modifications you make to connect to the WLAN depends on your WLAN configuration. Do you use WEP so WAP? If don't use any encryption at all or WEP, you can configure the card using the ordinary net configuration file (not sure what it's called in Slackware). For WAP you need a program called wpa_supplicant. The easiest way though, is to use Network Manager and either knetworkmanager (plugin for KDE) or nm-applet (plugin for Gnome).

But first of all you should check if the interface is really up using ifconfig and iwconfig.
 
Old 07-28-2007, 10:08 PM   #3
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware 14.0
Posts: 1,874

Rep: Reputation: 49
Yes, you must keep the bcm43xx module from loading if using ndiswrapper.

If the system is up and running, remove the module like this:

modprobe -r bcm43xx

To keep it from loading on boot, add this line to /etc/modprobe.d/blacklist:

blacklist bcm43xx

Edit inet1.conf to include your network parameters. Here's an example:
Code:
IFNAME[4]="wlan0"
IPADDR[4]=""
NETMASK[4]=""
USE_DHCP[4]="yes"
DHCP_HOSTNAME[4]=""
GATEWAY="192.168.1.1"
WLAN_ESSID[4]=my_ssid
WLAN_MODE[4]=Managed
WLAN_WPA[4]="wpa_supplicant"
WLAN_WPADRIVER[4]="wext"
 
Old 07-29-2007, 12:30 AM   #4
adityavpratap
Member
 
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 431

Original Poster
Rep: Reputation: 32
Thanks a lot friends, now I have a working wireless connection
However there a few things that are to be set right.
When I made the following changes to inet1.conf -
Quote:
IFNAME[4]="wlan0"
IPADDR[4]=""
NETMASK[4]=""
USE_DHCP[4]="yes"
DHCP_HOSTNAME[4]=""
GATEWAY="192.168.1.1"
WLAN_ESSID[4]=my_ssid
WLAN_MODE[4]=Managed
WLAN_WPA[4]="wpa_supplicant" # wpa_supplicant is absent on my system
WLAN_WPADRIVER[4]="wext"
the wireless network was up and kicking. How ever when I rebooted, the booting process halted at -
dhcpd: mac address = xx:xx:xx:xx:xx:xx
for quite some time. And when was finally able to log onto my slack install, the wireless network was down.
I had to give the following commands to get it working
$sudo iwconfig wlan0 essid "RT2561_6"
$sudo dhclient
How can I make these changes permanent so that I don't have to issue these commands each time I boot.
 
Old 07-29-2007, 12:56 AM   #5
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 227Reputation: 227Reputation: 227
replace

Code:
WLAN_ESSID[4]=my_ssid 

with 

WLAN_ESSID[4]=RT2561_6
 
Old 07-29-2007, 02:02 AM   #6
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware 14.0
Posts: 1,874

Rep: Reputation: 49
Quote:
Originally Posted by adityavpratap
$sudo iwconfig wlan0 essid "RT2561_6"
$sudo dhclient
Are you sure you're using Slackware? Those sound an awful lot like Ubuntuisms.
 
Old 07-29-2007, 03:40 AM   #7
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 1,808

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by 2Gnu
Those sound an awful lot like Ubuntuisms.
Have you ever actually configured wireless under slackware?

What's "Ubuntuist" about sudo?
 
Old 07-29-2007, 04:58 AM   #8
adityavpratap
Member
 
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 431

Original Poster
Rep: Reputation: 32
2Gnu, I may sound stupid, but I am not as stupid as to get the name of my distro wrong. I am using Slackware 11.0 since the time it was released. I have been experimenting with other distros, but my 'main' distro is Slackware. I always keep coming back to it. So kindly be rest assured that I am talking of slackware when I am talking of slackware and not ubuntu, I hope you are getting what I want to convey.
As far as 'sudo' is concerned, I find it more convenient and much more safe than having to log is as root.
Are you suggesting that 'true' slackers do not use sudo?
 
Old 07-29-2007, 08:11 AM   #9
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,459
Blog Entries: 4

Rep: Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505
Hi,

I'll answer for myself, the sudo is a fine way to access 'root' privileges.
The 'su' command is another means to access. Your 'sudo' is better in the sense that you can control who gains 'root' via the '/etc/sudoers' file.
 
Old 07-29-2007, 10:02 AM   #10
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware 14.0
Posts: 1,874

Rep: Reputation: 49
Quote:
Originally Posted by adityavpratap
2Gnu, I may sound stupid, but I am not as stupid as to get the name of my distro wrong. ...
Are you suggesting that 'true' slackers do not use sudo?
It was a joke, based on your use of dhclient vs. dhcpcd and sudo for every line. I use sudo too, but only for specific situations. It's simply a matter of preference.

It wasn't meant to be taken seriously.

Quote:
Originally Posted by rkelsen
Have you ever actually configured wireless under slackware?
No, never. I'm a complete noob, running a copy of SuSE 6.2 I got free in a magazine. Please post some links where I can go to become as learned as you.
 
Old 07-29-2007, 12:06 PM   #11
adityavpratap
Member
 
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 431

Original Poster
Rep: Reputation: 32
2Gnu, I am using dhclient here because I was not familiar with the use of dhcpcd. And more over I didn't realise that the use of dhclient would automatically brand me as a Ubuntu user.
MrGoblin, I have made the changes you suggested and now I don't have to manually set essid.
 
  


Reply

Tags
bcm43xx, wireless


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
how do I get my wireless LAN card to work paulbork Linux - Wireless Networking 3 03-01-2007 02:26 PM
which wireless lan cards work with 2.6? Marsanghas Linux - Wireless Networking 2 07-25-2006 09:46 AM
Wireless won't forward me outside of the LAN on Slackware 10.2 Rocksnob Linux - Wireless Networking 2 02-23-2006 10:49 PM
Help with wireless lan internet, nearly got it to work Belize Linux - Wireless Networking 10 10-27-2003 03:32 PM
Wireless LAN Products for Slackware? chemzar Slackware 1 05-11-2003 05:29 PM


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

Main Menu
Advertisement
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