PDA

View Full Version : IP address issues with R-Pi



Bourneendboy
27-07-2018, 09:15
Hopefully someone can give me some help with an IP address issue with my R-Pi 3.

I use it on wi-fi, controlling Volumio with my Android phone, 9 times out of 10 the IP adress has changed and I can't access it. This is happening even if I leave it switched on.

Could someone please explain to me in laymans terms how to fix the IP address to stop this happening.

Many thanks,

Bill.

Nihil Sleighride
27-07-2018, 09:27
You should be able to assign or reserve the IP address for the Pi in the settings for your router. I've found different brands of router refer to this as different things and sometimes is not often the easiest thing to locate when you log into the router settings.

Bourneendboy
27-07-2018, 09:33
Had a look and can't see anything obviouse. Strangley, my current Pi IP adress is not showing as connected - but it is.

Nihil Sleighride
27-07-2018, 09:38
It could be something obscure like DHCP reservation and may not be in the basic settings. Essentially you are looking for something that ties together the current IP address for the Pi and its MAC address to that the router stops randomly assigning it an IP as part of its regular cycle.

struth
27-07-2018, 09:50
my old provider, plusnet's router did this regularly, although not when in use. i used fing to keep track of it. talk talk router i have now doesnt seem to change things at all. static ip's are sometimes available which might sort the issue

Nihil Sleighride
27-07-2018, 09:54
Fing is a great little app to have on your phone/tablet to help with these types of things

simonh
27-07-2018, 09:57
Hi Bill,

Are you able to use the host name instead of the IP address? e.g. volumio.local

Simon.

Sherwood
27-07-2018, 09:57
Fing is a great little app to have on your phone/tablet to help with these types of things

+1 for fing.

Bourneendboy
27-07-2018, 10:06
Hi Bill,

Are you able to use the host name instead of the IP address? e.g. volumio.local

Simon.

That works on the PC but not my phone.

simonh
27-07-2018, 10:10
Can you get the full hostname from e.g. Fing?

(I can access my Pi as ropiee.local or ropiee.fritz.box)

Bourneendboy
27-07-2018, 10:11
Fing is a great little app to have on your phone/tablet to help with these types of things

Just downloaded 'fing' and looks a good way of giving me an IP address - thanks for the suggestion!

Sherwood
27-07-2018, 10:13
Can you get the full hostname from e.g. Fing?

(I can access my Pi as ropiee.local or ropiee.fritz.box)

Yes.

Bourneendboy
27-07-2018, 10:20
Can you get the full hostname from e.g. Fing?

(I can access my Pi as ropiee.local or ropiee.fritz.box)

can't see that info on Fing

Scan date: Friday 27 July 18, 11:22
IP Address: 192.168.1.5
State: Online

Active services: 8
80/http World Wide Web HTTP
111/rpcbind portmapper, rpcbind
139/netbios-ssn NETBIOS Session Service
445/microsoft-ds SMB directly over IP
3000/ppp User-level ppp daemon, or chili!soft asp
3001/nessus Nessus Security Scanner (www.nessus.org) Daemon or chili!soft asp
3005/deslogin encrypted symmetric telnet/login
5000/upnp Universal PnP, also Free Internet Chess Server

Sent from Fing

Sherwood
27-07-2018, 10:25
can't see that info on Fing

Scan date: Friday 27 July 18, 11:22
IP Address: 192.168.1.5
State: Online

Active services: 8
80/http World Wide Web HTTP
111/rpcbind portmapper, rpcbind
139/netbios-ssn NETBIOS Session Service
445/microsoft-ds SMB directly over IP
3000/ppp User-level ppp daemon, or chili!soft asp
3001/nessus Nessus Security Scanner (www.nessus.org) Daemon or chili!soft asp
3005/deslogin encrypted symmetric telnet/login
5000/upnp Universal PnP, also Free Internet Chess Server

Sent from Fing

it's there under each device

Bourneendboy
27-07-2018, 10:26
it's there

You're being cryptic Geoff:)

Bourneendboy
27-07-2018, 10:31
it's there under each device

Of course I can see the IP address :) but was hoping to see a name as you have suggested for when the IP changes.

(I can access my Pi as ropiee.local or ropiee.fritz.box)

struth
27-07-2018, 10:47
I get this for my pi with Fing

https://uploads.tapatalk-cdn.com/20180727/f367afa514eded95f94ccfb94302798e.pnghttps://uploads.tapatalk-cdn.com/20180727/6751cf40768e3457940a1fbf0a92641c.png

Sherwood
27-07-2018, 11:12
Of course I can see the IP address :) but was hoping to see a name as you have suggested for when the IP changes.

(I can access my Pi as ropiee.local or ropiee.fritz.box)

As I said, it is there under each device. Struth has posted the screen for his RPi/moode player.

Geoff

Bourneendboy
27-07-2018, 11:17
I get this for my pi with Fing

https://uploads.tapatalk-cdn.com/20180727/f367afa514eded95f94ccfb94302798e.pnghttps://uploads.tapatalk-cdn.com/20180727/6751cf40768e3457940a1fbf0a92641c.png

I have similar info - but can't see anything like this -

Can you get the full hostname from e.g. Fing?

(I can access my Pi as ropiee.local or ropiee.fritz.box)

simonh
27-07-2018, 11:32
Have you tried just volumio or volumio.lan on the phone? worth a shot.
Or lookup the IP address with Network Utility on the Mac.

Otherwise, what router is it?

Bourneendboy
27-07-2018, 11:47
Thanks for your help fellas, but life is too short for this!

Think I'll just plug my Dragonfly into my phone and move the Pi on.

simonh
27-07-2018, 11:51
p.s. Still enjoying the SpaceDeck!

Bourneendboy
27-07-2018, 11:54
p.s. Still enjoying the SpaceDeck!

Great to hear that!

struth
27-07-2018, 12:06
guessing the hostname will be raspberrypi but no idea how to find it that way. think i cleared all the ips and then started again, putting the rpi on last. its stayed that way ever since.

Stratmangler
27-07-2018, 12:11
What options do you see when you log into your router on your computer?
The problem appears to be one of lease renewal, so if you can locate where static IP or DHCP reservation is on the router you can stop the route reallocating things.

https://s20.postimg.cc/gw4rymfpp/DHCP.png

You can see here where devices that I do not want to go walkabout on my network have reserved IPs

https://s20.postimg.cc/fh379wmcd/IP_lease_table.png

struth
27-07-2018, 19:55
Ha, I dont know what happened but I lost control of my moode :doh: ips etc didnt work... had to scrub it and try volumio. got that working. crazy old world; that moode has not blinked for an age....

struth
28-07-2018, 11:18
https://imageshack.com/a/img922/4071/cGt0px.png

after all sorts of issues volumio2 is working now and with spotify integration. Ive even managed to map the hdd connected to it(that took a while lol) not tried sending anything to it but can see it and the music on it. Win 10 last update screwed with smd etc so was locked out.

cyclopse
28-07-2018, 19:39
I get this with Volumio. When revisiting the Pi after 24 hours break Volumio.local/ does not work. I turn off the WiFi and then back on at the host computer and it then connects fine. Might be worth a try.

struth
28-07-2018, 20:05
in control panel I went into widows features(in programs, turn features on/off, on left) and checked that SMB 1.0 was enabled. one of the 3 wasnt The server. so I manually did it and restarted the pc... seemed to work.
I did try other things too but think that was the one that let me map the network drive(volumio's hdd...)

Jac Hawk
29-07-2018, 08:37
You need to assign static IP's in your router settings, most provider supplied routers have the ability to change settings locked down and / or aren't as flexible when it comes to anything else than straight forward setups.