Code Sample |
#!/bin/sh # # Script to set up wireless card # beakmyn@frontiernet.net # # Set display so that script will effect the local screen export DISPLAY=:0 sudo iwconfig eth0 essid "Your Essid" enc DE:AD:BE:EF:41 #sudo ifconfig eth0 10.10.0.10 #sudo route add default gw 10.10.0.1 sudo pump -i eth0 exit 0 |
Code Sample |
/opt/myiwconfig.sh |