Hi,
This is not working and I have used
but should I be able see the pi's ip on my router? I can't connect to my pi via ssh.
/etc/network/interfaces
Code: Select all
auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.1.80
netmask 255.255.255.0
gateway 192.168.1.254
wpa-ssid "blah"
wpa-psk "blah"
The DHCP pool is 192.168.1.1 to 200 as the static ip I am trying to assign to my pi is not DHCP should i be assigning an ip outside of this pool, i.e. 192.168.1.201 ?
Should I include a broadcast address in /etc/network/interfaces, ifconfig I think it is 192.168.1.255
(I should also probably be including a network ip, but I've no idea what that is.)
Code: Select all
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:65 errors:0 dropped:0 overruns:0 frame:0
TX packets:65 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6496 (6.3 KiB) TX bytes:6496 (6.3 KiB)
wlan0 Link encap:Ethernet HWaddr 00:0f:13:38:0c:a1
inet addr:192.168.1.80 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1967 errors:0 dropped:3 overruns:0 frame:0
TX packets:1591 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:691128 (674.9 KiB) TX bytes:239446 (233.8 KiB
I know DHCP gives devices on the LAN ip addresses but can devices give the router their ips too.
Now I have to ask a stupid question......, actually just check something............
Does DHCP applies to both wlan0 and eth0?
Thanks,
Shane