PDA

View Full Version : [ubuntu] Connect to secure network via script



buster2209
November 3rd, 2010, 01:37 AM
Does anyone have a way of connecting to a secure network via a bash script?

E.g;

#! /bin/bash

sudo su
iwconfig wlan0 stop
iwconfig wlan0 essid NETWORK_NAME
iwconfig wlan0 key NETWORK_KEY
iwconfig wlan0 start

buster2209
November 3rd, 2010, 01:10 PM
bump bump bump!

buster2209
November 3rd, 2010, 03:48 PM
If not via a script, is it possible via Terminal commands?