1 2 3 4 5
#!/bin/bash iwconfig wlan0 mode ad-hoc channel 1 essid home ifconfig wlan0 164.254.0.1 up halevt -u root emacs --daemon 2>/dev/null