LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 10-11-2006, 09:34 PM   #1
hosler
Member
 
Registered: Mar 2005
Distribution: Gentoo
Posts: 184

Rep: Reputation: 30
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.
 
Old 10-11-2006, 10:25 PM   #2
cavalier
Member
 
Registered: Feb 2005
Location: Denver, CO
Distribution: Slack 12, tweaked just so (though I'm also a fan of Ubuntu)
Posts: 198
Blog Entries: 1

Rep: Reputation: 30
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.
 
Old 10-11-2006, 10:28 PM   #3
hosler
Member
 
Registered: Mar 2005
Distribution: Gentoo
Posts: 184

Original Poster
Rep: Reputation: 30
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?
 
Old 10-14-2006, 05:44 PM   #4
cavalier
Member
 
Registered: Feb 2005
Location: Denver, CO
Distribution: Slack 12, tweaked just so (though I'm also a fan of Ubuntu)
Posts: 198
Blog Entries: 1

Rep: Reputation: 30
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.
 
Old 10-15-2006, 06:39 PM   #5
hosler
Member
 
Registered: Mar 2005
Distribution: Gentoo
Posts: 184

Original Poster
Rep: Reputation: 30
Slackware bootup doesnt allow ctrl c.
 
Old 10-15-2006, 09:12 PM   #6
cavalier
Member
 
Registered: Feb 2005
Location: Denver, CO
Distribution: Slack 12, tweaked just so (though I'm also a fan of Ubuntu)
Posts: 198
Blog Entries: 1

Rep: Reputation: 30
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.
 
Old 10-16-2006, 01:15 PM   #7
hosler
Member
 
Registered: Mar 2005
Distribution: Gentoo
Posts: 184

Original Poster
Rep: Reputation: 30
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.
 
Old 10-16-2006, 08:42 PM   #8
cavalier
Member
 
Registered: Feb 2005
Location: Denver, CO
Distribution: Slack 12, tweaked just so (though I'm also a fan of Ubuntu)
Posts: 198
Blog Entries: 1

Rep: Reputation: 30
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.
 
Old 10-16-2006, 09:52 PM   #9
hosler
Member
 
Registered: Mar 2005
Distribution: Gentoo
Posts: 184

Original Poster
Rep: Reputation: 30
I know, but im looking for a script that will use that command to detect and connect.
 
  


Reply



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
Wireless Setup learner01 Linux - Newbie 7 08-09-2006 09:39 AM
Wireless card..Wireless router.. Slackware 10.2 ..Problems with Internet Connection. Storm Bringer Linux - Wireless Networking 4 03-23-2006 06:25 AM
Slackware - Eth1 Setup and Port Setup help girlsmakegraves Linux - Networking 3 12-16-2005 11:11 AM
Wireless Setup fmroberts Linux - Wireless Networking 2 10-30-2004 05:19 PM
d-link wireless router setup on slackware kodon Slackware 2 07-31-2004 04:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 09:25 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
Open Source Consulting | Domain Registration