manskemachine
Posts: 3
Joined: Wed Nov 06, 2013 3:49 am

Can't get an IP address

Wed Nov 06, 2013 4:01 am

I am trying to set-up a static IP address, but If I try and search for my current IP address I only get the following information:

pi@raspberrypi ~ $ ifconfig
eth0 Link encap:Ethernet HWaddr b8:27:eb:92:9c:b0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wlan0 Link encap:Ethernet HWaddr 80:1f:02:b6:e0:7c
inet addr:192.168.100.210 Bcast:192.168.103.255 Mask:255.255.252.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:422 errors:0 dropped:430 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:40561 (39.6 KiB) TX bytes:2112 (2.0 KiB)

User avatar
rpdom
Posts: 17275
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Can't get an IP address

Wed Nov 06, 2013 5:39 am

What other information were you expecting?

Code: Select all

wlan0 Link encap:Ethernet HWaddr 80:1f:02:b6:e0:7c
inet addr:192.168.100.210 Bcast:192.168.103.255 Mask:255.255.252.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
That seems to show it ok.
IP Address: 192.168.100.210
Netmask: 255.255.252.0

Return to “Beginners”