View Full Version : Setting Static IP without DHCP
kashoggi
2008-09-24, 23:20
I want to set up a static IP on my PC using XBMC Live. It won't let me, it greys out the options for any IP entering and I have disabled DHCP on my router as I have several PCs on my network.
Any ideas?
matt_cyr
2008-09-24, 23:23
http://www.xbmc.org/forum/showthread.php?t=37533&highlight=dhcp
kashoggi
2008-09-24, 23:27
Eeek! Thanks for the link, I'm a complete linux newb, I take it I can edit these files if I boot into Ubuntu and stick the USB key in?
matt_cyr
2008-09-24, 23:33
Are you running xbmc off of the usb drive?
If so then you just need to boot into xbmc, get to a console (alt+f1), login (not sure the uname+pass, search in live forum) and edit those files.
kashoggi
2008-09-24, 23:55
Argh - can't get a console! I know I'm thick. I can boot right into XBMC past the 'select graphics card screen'. I press Alt+f1 an no console.
Thanks for all help so far!! I realise I'm thick!
To get into the console it should be ctrl +alt + fn ,
user:xbmc
pass:xbmc
you need to edit using
sudo nano /etc/network/interfaces
it will be a little harder with a wireless router, to get back into xbmc , press ctrl +alt +f7
good luck
To get into the console it should be ctrl +alt + fn ,
user:xbmc
pass:xbmc
you need to edit using
sudo nano /etc/network/interfaces
it will be a little harder with a wireless router, to get back into xbmc , press ctrl +alt +f7
good luck
oops , ctrl +alt +fn , n =number 1 to 6
couldn't find option to edit
kashoggi
2008-09-25, 00:50
Right, I'm in!!
it was SHIFT + ALT + F1 to get to the console.
I'm there now and i can edit the IP settings, but can't set the DNS settings.
My Static IP is, for example, 192.168.1.100
My subway thing is 255.255.255.0
My gateway is 192.168.1.1
I can do all these using:
sudo nano /etc/network/interfaces
But how do I set the Primary and Seconday DNS
195.170.0.1
195.170.2.2
kashoggi
2008-09-25, 00:54
And to add, once I change these settings and restart, they do not show in XBMC. The IP settings are still greyed out and cannot be altered. And they are all set to 0.0.0.0
Really struggling now!
Right, I'm in!!
it was SHIFT + ALT + F1 to get to the console.
I'm there now and i can edit the IP settings, but can't set the DNS settings.
My Static IP is, for example, 192.168.1.100
My subway thing is 255.255.255.0
My gateway is 192.168.1.1
I can do all these using:
sudo nano /etc/network/interfaces
But how do I set the Primary and Seconday DNS
195.170.0.1
195.170.2.2
the setting for dns server are in /etc/resolv.conf
And to add, once I change these settings and restart, they do not show in XBMC. The IP settings are still greyed out and cannot be altered. And they are all set to 0.0.0.0
Really struggling now!
You can only save setting only in the XBMC live usb version. Unless you are not using sudo
I'm trying to manually set my dns too, because for some reason my XBMCLive does not pick up a dns server automatically when it gets the rest of its network config info from the DHCP server on my router.
I can't make any changes to the network in the xbmc gui (cause its all grayed out), and unfortunately, changing /etc/resolv.conf doesn't seem to have any effect on xbmc at all.
Is there something that I'm missing?