Changeset 519
- Timestamp:
- 06/05/09 14:19:45 (3 years ago)
- Location:
- trunk/software/scripts
- Files:
-
- 1 added
- 1 modified
-
wired.sh (added)
-
wireless.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/software/scripts/wireless.sh
r429 r519 3 3 # as an argument. 4 4 5 ifconfig $1 down 6 iwconfig $1 mode 'Ad-Hoc' essid 'RHRT' channel 1 7 ifconfig $1 up 8 ifconfig $1 192.168.1.2 5 if [ -n "$1" ]; then 6 ifconfig $1 down 7 iwconfig $1 mode 'Ad-Hoc' essid 'RHRT' channel 1 8 ifconfig $1 up 9 ifconfig $1 192.168.0.2 10 else 11 echo "Please specify an interface (like wlan0)" 12 fi

