Posts: 68
Joined: May 2013
Reputation:
0
2015-02-02, 13:23
(This post was last modified: 2015-02-02, 13:24 by AU Jim.)
Apologies if this post is in wrong forum - surprised there's not forum or sub-forum for network related issues
Hi all - I had a problem with my router and had to do a hard reset on the weekend which caused my file server to pick up a new/different IP. Now when i go to Kodi to play a movie or music i get an error:
Invalid Argument and an OK button
Cannot connect to network server and on OK button
Could anyone provide some guidance - i don't want to have to re-tell Kodi of new paths for all the folders and have to rescan everything
My system
OpenElec 4.2
Kodi 13.2
Many thanks
Jim
Intel NUC D54250WYKH | Core i5 | 128 GB SSD | 8GB RAM |HDMI to Pioneer VSX1123
OpenELEC V4.2.0 (Generic.x86_64)
XBMC Version: 13.2 (Sep 26, 2014)
Skin: Aeon Nox Version 4.1.9
Posts: 4,527
Joined: Jan 2011
Reputation:
152
DaVu
Team-Kodi Member
Posts: 4,527
That's the reason, why I would always set up static IPs to those.
So you have to know, which IP is set in your Kodi to connect to this sever. Then you have to change the servers IP adress to a static one. I got a new router myself two days ago and noticed (even it's from the same manufactor), that the routers IP adress is changed from 192.168.1.1 to 192.168.0.1. So the DHCP range was also at 192.168.0.x. In my case, as I use static IPs for any PC/server/TV (anything which uses an IP) in my house, I have to change the routers IP adress to match the network of the rest of my devices. So I have to change the routers IP adress from 192.168.0.1 to 192.168.1.1 again. For this you have to look, what IP was given before you changed your router.
And I would recommend always using static IP adresses for servers. So you never have to look which IP is given. I created a little text file on my main PC which contains the IP adresses of any other device.
Greetings
Posts: 7,656
Joined: Jun 2011
Reputation:
288
two options:
- set a static IP on your server, as David said
- set a fixed/reserved dhcp lease for your server _in your router_
Posts: 68
Joined: May 2013
Reputation:
0
Thanks David
Swamped with a project - I'll catch you on IRC tomorrow hopefully
All the best pal
Jim
Intel NUC D54250WYKH | Core i5 | 128 GB SSD | 8GB RAM |HDMI to Pioneer VSX1123
OpenELEC V4.2.0 (Generic.x86_64)
XBMC Version: 13.2 (Sep 26, 2014)
Skin: Aeon Nox Version 4.1.9
Posts: 2,770
Joined: Mar 2011
Reputation:
96
At the risk of interrupting a beautiful friendship, I'd repeat what wsnipex said.
The easiest way is to configure your router to respond to DHCP requests from this system with the IP address the system used to have. Reboot (or renew your lease if you know how), and your server will magically revert to the previous IP address, which it should keep for evermore.
This has the benefit of having static IP addressing without the client knowing anything - it asks for a new address and always gets the same one, so everyone's happy.
Posts: 4,527
Joined: Jan 2011
Reputation:
152
DaVu
Team-Kodi Member
Posts: 4,527
you can take a look in your video library and the filepath in movie info. If you are a lucky one, the IP is included there.
Posts: 68
Joined: May 2013
Reputation:
0
Is there a way I can find out the IP address that Kodi is using for the file server
I went into a movie / edit source - can see the entire path but no IP address.
I've now changed the IP address to fixed on the file server (192.168.2.8) - but i don't know what IP address kodi is set up to use
so nothing is working
Intel NUC D54250WYKH | Core i5 | 128 GB SSD | 8GB RAM |HDMI to Pioneer VSX1123
OpenELEC V4.2.0 (Generic.x86_64)
XBMC Version: 13.2 (Sep 26, 2014)
Skin: Aeon Nox Version 4.1.9
Posts: 68
Joined: May 2013
Reputation:
0
Solved - not sure how but was due to hostname not showing on router
I played around with it and eventually fell into place
the world's a happier place
Thanks guys
Jim
Intel NUC D54250WYKH | Core i5 | 128 GB SSD | 8GB RAM |HDMI to Pioneer VSX1123
OpenELEC V4.2.0 (Generic.x86_64)
XBMC Version: 13.2 (Sep 26, 2014)
Skin: Aeon Nox Version 4.1.9