l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2005 Mar 24 16:07

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Slackware: Custom script on ifup? (Was: Re: [vox-tech] notebookwireless refinement question)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Slackware: Custom script on ifup? (Was: Re: [vox-tech] notebookwireless refinement question)

On Saturday 19 March 2005 09:03 pm, Donald Greg McGahan 
dgmcgahan-at-yahoo.com |lugod| wrote:
> New to Linux so pardon if this is not not clearly asked......but here
> goes....
> I have Slackware running on a Toshiba notebook.
> It has a miniPCI wireless card.
> I've figured out how to connect to my home wireless router by running a
> script
> #!/bin/bash
> iwconfig eth1 essid name key [1] XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX
> dhcpcd eth1
> Now when I turn on the notebook at home I'd like to have the start up
> recognize the essid name and run this script and just connect or is
> there a better way such as the rc.wireless.conf? Seems like I should be
> able to look for this essid first then if it does not exist go to say
> Moobilenet then look for an unsecured access point.

Most distros are able to run a script when an interface is brought up. I'm 
not familiar with slackware, but I know it can be done in debian. Each distro 
tends to handle network initialization in a diffrent way, so you'll need to 
talk to a slackware person. I have changed he subject to get someone who 
knows how to do this to respond ;) 

Ryan Castellucci - http://ryanc.org/
GPG Key: http://ryanc.org/files/publickey.asc
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.