i am trying to set static ip for my ubuntu desktop using wireless card.
2 days ago i edit "/etc/network/interfaces" and added stuffs like:
auto wlan0 iface wlan0 inet static address 192.168.1.11 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1
then ip was changed to 192.168.1.11 and i was happy.....
yesterday my ubuntu desktop network was completely down (wireless networks not managed) .. after some googling, i did managed to fix the problem that i could see the static ip and everything correctly. however,, INTERNET IS STILL NOT AVAILABLE.
i kinda ran out of idea so i did
to get another ip from dhcp then everything is fine.
my question is.. how do i set a static ip? did i do anything wrong?
it seems like simply editing /etc/network/interfaces and restart /etc/init.d/networking isn't the right way.