LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   slackware wireless setup (https://www.linuxquestions.org/questions/linux-wireless-networking-41/slackware-wireless-setup-491634/)

hosler 10-11-2006 09:34 PM

slackware wireless setup
 
Im using Slackware 11, and right now I have to use iwconfig to set essid and the key. Then I have to run
Code:

/etc/rc.d/rc.inet1 restart
in order to get my ip via dhcp. Anyway, I am just trying to find an easy way to manage all my wireless networks. Maybe have it even scan for networks and connect to them as soon as I enter them. That would be cool.

cavalier 10-11-2006 10:25 PM

You can edit /etc/rc.d/rc.wireless.conf to put things like your essid and key in a single place that rc.inet1 will look automatically.

As for automatically scanning for open wireless access points, I'm afraid I have no advice for you.

hosler 10-11-2006 10:28 PM

I could do that, but if I leave my network and boot up my computer, DHCP will take up 2 whole minutes of boot time. Maybe there is a way to make dhcp run in the background at bootup?

cavalier 10-14-2006 05:44 PM

I'm not in front of my Slackware wireless laptop, but rather in front of my Ubuntu wired desktop, so I can't check this, but I think you can just Ctrl-C past the setup if it hangs because you're nowhere near your wireless access point.

Others that travel alot tend to put the commands together in a bash script and just run that to get online if they find themselves at home.

hosler 10-15-2006 06:39 PM

Slackware bootup doesnt allow ctrl c.

cavalier 10-15-2006 09:12 PM

Well, without Ctrl-C, I'd recommend a bash script that does all the iwconfig and ifconfig commands for you. It's quick enough for most occasions.

hosler 10-16-2006 01:15 PM

Can someone hook me up with a script that will scan for essids and if it finds one it will connect to it? I have found a few with google, but so far they havnt worked. I know enough about scripting to tweak stuff.

cavalier 10-16-2006 08:42 PM

I've read up on using iwlist <interface> scan to list all available essids in the immediate vicinity, but I've had no luck using it with my old school Cabletron wireless PCMCIA card.

hosler 10-16-2006 09:52 PM

I know, but im looking for a script that will use that command to detect and connect.


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