simonwoodhead
Posts: 21
Joined: Mon Aug 31, 2015 12:47 pm

Static IP address to a WiFi extension unit problem.

Sun Mar 10, 2019 8:21 pm

I can make a static IP address to the BT Router . I do this by right clicking on the Network icon, select settings and typing in the Pi’s IP address then on the next line adding the Router IP address. The PI will connect and I get Internet access. But when I repeat this process for the BT WFI Extension plug , whilst I can connect to the Extension I am unable to access the Internet. What is the process for making a static IP address for a WIFi extension plug. This is in support of a project to place a weather station outside far from the Main Router, hence the need for a Wi Fi extension plug.
Regards Simon

Andyroo
Posts: 2042
Joined: Sat Jun 16, 2018 12:49 am
Location: Lincs U.K.

Re: Static IP address to a WiFi extension unit problem.

Sun Mar 10, 2019 8:31 pm

This assumes the extender and router have the same network name.

I would actually set the static IP address in the router and not on the Pi in this case as I have had odd issues with the BT extenders and my daughters flat before now (You will see lots of posts for me arguing to set the IP on the Pi normally :lol: :oops: )

You will have to log on to your router and find out how to set the reservation based on the MAC address of the Pi and this can be found by the terminal command

Code: Select all

ifconfig
This will return lots of data and you need to find the part that looks like:

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.212 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::4d89:db63:c5d8:1607 prefixlen 64 scopeid 0x20<link>
ether b8:27:eb:85:a6:5d txqueuelen 1000 (Ethernet)
RX packets 24774 bytes 4473962 (4.2 MiB)
RX errors 0 dropped 7 overruns 0 frame 0
TX packets 11583 bytes 6231015 (5.9 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

The MAC address is in bold/italic above (line starts ether) and will be different for your Pi. This is from a Zero W and has the MAC of b8:27:eb:85:a6:5d

You may need to do this for both IPv4 and IPv6 depending on the area of the UK you live in and if your line has IPv6 enabled or not...
Need Pi spray - these things are breeding in my house...

simonwoodhead
Posts: 21
Joined: Mon Aug 31, 2015 12:47 pm

Re: Static IP address to a WiFi extension unit problem.

Sun Mar 10, 2019 8:37 pm

Cheers :I’ll give it a go

Return to “Astro Pi”