(2015-06-17, 03:24)dualznz Wrote: Hi all
i have been using XBMC / KODI for years and in latest KODI release Helix i have been unable to change the IP settings, i prefer to user Statis instead of DHCP of my kodi remotes but having it dhcp is really annoying cause i have to go and find out its ip then change it in kodi remote, is there anyway to change this, i may end up having to install an earlier version which never changed its ip.
Cheers
Which OS are you using? If it is an Ubuntu based OS, then take a look at
Code:
/etc/network/interfaces
edit the "interfaces file" to something like:
Code:
iface eth0 inet static
address 192.168.0.97
netmask 255.255.255.0
gateway 192.168.0.1
dns-nameservers 192.168.0.1 (I use always the same as the gateway...but you can change that, to what you wish to have)
Be aware you have to take care about "eth0" being your correct LAN card and the IP adresses matches to your network.
If you aren't sure, which eth is the correct one, enter
and see which eth has been given an IPÜ adress by DHCP....mine ifconfig looks like this:
Code:
david@David-buero /etc/network $ ifconfig
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
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)
eth1 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:xxx.xxx.xxx.xxx Bcast:xxx.xxx.xxx.xxx Mask:255.255.255.0
inet6 addr: Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7366 errors:1 dropped:18 overruns:1 frame:0
TX packets:6365 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6496142 (6.4 MB) TX bytes:1575280 (1.5 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:491 errors:0 dropped:0 overruns:0 frame:0
TX packets:491 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:76171 (76.1 KB) TX bytes:76171 (76.1 KB)
You see the "xxx" at "inet addr" under eth1? This is the place where the IP adress was shown. So in my case, it's eth1.
Note 1: you have to restart your network or reboot your machine after those changes are done...
restart network:
Code:
sudo /etc/intit.d/networking restart
Note 2: all the above is for Ubuntu based OSs...it might be the same or related for other linux based OSs, but I'm not sure at this. So, if you running anything else, please tell us, which OS you are running.
Hope it will help.