Error when trying to set static ip BT5 09-06-2011, 10:07 PM
#1
When i use the command - ' ifconfig wlan0 192.168.1.90 netmask 255.255.255.0 up'
to try and make my ip static, I'm losing connection to the internet i'll show you a read out from ifconfig before and after the command.
BEFORE === ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:xx:xx:xx:xx:xx
inet addr:192.168.1.67 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fx8x::xxx:5fff:xxcc:xxxx/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:63434 errors:0 dropped:0 overruns:0 frame:0
TX packets:56574 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:49026261 (49.0 MB) TX bytes:11492669 (11.4 MB)
INTERNET IS WORKING FINE AT THIS POINT
(Not sure why Bcast:192.168.1.255, because my router is 192.168.1.254, but there is much i'm not familiar with0
AFTER=== ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:xx:xx:xx:xx:xx
inet addr:192.168.1.90 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fx8x::xxx:5fff:xxcc:xxxx/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:63527 errors:0 dropped:0 overruns:0 frame:0
TX packets:56585 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:49030670 (49.0 MB) TX bytes:11493382 (11.4 MB)
IVE EVEN TRIED IT WITH
'ifconfig wlan0 192.168.1.90 netmask 255.255.255.0 gateway 192.168.1.254 up'
gateway: Unknown host
Can anyone help me and point out where i have gone wrong..?
to try and make my ip static, I'm losing connection to the internet i'll show you a read out from ifconfig before and after the command.
BEFORE === ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:xx:xx:xx:xx:xx
inet addr:192.168.1.67 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fx8x::xxx:5fff:xxcc:xxxx/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:63434 errors:0 dropped:0 overruns:0 frame:0
TX packets:56574 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:49026261 (49.0 MB) TX bytes:11492669 (11.4 MB)
INTERNET IS WORKING FINE AT THIS POINT
(Not sure why Bcast:192.168.1.255, because my router is 192.168.1.254, but there is much i'm not familiar with0
AFTER=== ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:xx:xx:xx:xx:xx
inet addr:192.168.1.90 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fx8x::xxx:5fff:xxcc:xxxx/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:63527 errors:0 dropped:0 overruns:0 frame:0
TX packets:56585 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:49030670 (49.0 MB) TX bytes:11493382 (11.4 MB)
IVE EVEN TRIED IT WITH
'ifconfig wlan0 192.168.1.90 netmask 255.255.255.0 gateway 192.168.1.254 up'
gateway: Unknown host
Can anyone help me and point out where i have gone wrong..?
IF IGNORANCE IS BLISS, I'D PREFER TO SUFFER

![[+]](https://sinister.li/images/modern/collapse_collapsed.png)
![[Image: DOOM_banner.jpg]](http://wikicheats.gametrailers.com/images/8/89/DOOM_banner.jpg)