LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   How do I automatically bring up wireless internet conneciton in Slackware 10.1? (https://www.linuxquestions.org/questions/linux-hardware-18/how-do-i-automatically-bring-up-wireless-internet-conneciton-in-slackware-10-1-a-397263/)

n00bified 12-28-2005 01:04 PM

How do I automatically bring up wireless internet conneciton in Slackware 10.1?
 
I am using Slackware 10.1 on a 266 mhz old laptop. It runs wonderfully. I just got a netgear wg511v2 wireless nic for Christmas (It's cardbus if that matters.) I set it up with ndiswrapper and it works! I have the ndiswrapper module loading automattically at boot. Then I log in as root and type:

Code:

iwconfig wlan0 channel 11 essid "NETGEAR"
dhcpcd wlan0

This seems to bring up the network.

Now my question is how can I set this to run automatically when I turn the laptop on?

Nylex 12-28-2005 01:17 PM

In your /etc/rc.d folder, do you have rc.wireless and rc.wireless.conf? I can tell you how I got my wireless to work at boot.

In my rc.wireless.conf, there's a section at the top that says

## Pick up any Access Point, should work on most 802.11 cards
*)
INFO="belkin54g"
ESSID="belkin54g"
CHANNEL="11"

So, if you have that file, I would set your ESSID there. Can't remember what INFO does, but you might just want to set it to the same as your ESSID.

Then, in rc.local, I have added the following two lines:

/etc/rc.d/rc.wireless wlan0
/sbin/dhcpcd wlan0

HTH. By the way, I got that stuff from here (even though my card isn't a Linksys, I just had to edit accordingly).


All times are GMT -5. The time now is 09:51 PM.