contact Me

Use the form on the right to contact me.

You are welcome, to contact me regarding the topics of this page, my open source projects, or my work. Please use the contact form and leave a valid email address for me to respond to.

Thank you.

Egidestr. 9
44892 Bochum
Germany

/brain/dump

Random thoughts, bright ideas and interesting experiments. In short the ramblings of a fulltime nerd.

 

Multiple wlan configurations made easy

Jakob Westhoff

When I realized that I had a lot of redundant scripts, each of them just setting some configuration options for different wlans, I decided to create a more user friendly way for doing this.

Soon after I thought about it, a little shell script came out which reads in config files like this one:

#The variables essid and type are needed
essid="YOUR ESSID"
#Type can be dhcp or config
type="dhcp"
#You may specify a WEP key
key="YOUR KEY"
#If type is "config" you need to specify address,netmask,dns and gateway

Just create one of these file for every wlan you want to connect to and call the script with its name:

$ ./wlan myconf

Everything else will be done automagically.

If you think, hey I need this easy way of configuration for my system, you can download it below.

Download