Wireless connection script

Various Gnome Stuff

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
5 .0
Description:

This is a simple shell script, that will connect to a predefined wireless network.

It's designed for use on Arch Linux, though can easily be modified for any other Linux.
Please bear in mind that this is highly likely to interfere with any network manager you may have running.

It contains example lines to connect to unencrypted, WPA, WPA2 and WEP (With hexadecimal and ascii key) networks.
All you need to do is comment and uncomment the various lines, input your network's name (and key if needed), run the script, et voila! You're connected.

I originally intended it to be a launcher on a panel.
It makes use of sudo, so anyone can use it, but this means it needs to be launched in a terminal. I think this is the best way, since you won't know if it failed or not otherwise, so if/when you create a panel launcher for this, please make sure it's set to 'Application in terminal'

Other notes:

-If you are connecting to a WPA/2 network, you'll need to edit /etc/wpa_supplicant.conf yourself. The comments in the script also mention this, just in case.

-If you don't use dhcpcd to obtain an IP address automatically, you'll need to find out what you use, and refer to it's documentation so you know how to use it in a script.

-If you manually assign your network's IP addresses, again, you'll have to do this manually.
Be the first to comment
12345678910
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1.0
updated Jul 10 2010
added Jul 10 2010
downloads 24h
0
mediaviews 24h 0
pageviews 24h 1