Wednesday, February 13, 2008

Setup network

I will just post a quick way to setup a network interface from command line. We will analyze the case of wireless lan with hidden essid and static ip address:

root@ubuntu:~# iwconfig ath0 essid "myEssid"
root@ubuntu:~# ifconfig ath0 192.168.3.3

root@ubuntu:~# route add default gw 192.168.3.1

No comments: