Posts: 54
Joined: Jun 2009
Reputation:
0
Running xbmc live on usb, i can run "sudo nano /etc/network/interfaces and comment out the dhcp settings and add the static info. I add the ip address, subnet, gateway save the changes and it keep the changes however i still can not access the net. I can access with dhcp but i would like to set a static so i can access with ssh etc. I also tried adding a broadcast and dns and it still doesn't work. Any advice, thanks in advance.
IE: this is what i have
iface eth0 inet static
address 192.168.2.50
netmask 255.255.255.0
gateway 192.168.2.1
Posts: 176
Joined: Mar 2009
Reputation:
0
u must also add dns to /etc/resolv.conf
Posts: 44
Joined: Aug 2009
Reputation:
4
lenn1
Junior Member
Posts: 44
auto eth0
iface eth0 inet static
address 192.168.178.3
netmask 255.255.255.0
gateway 192.168.178.1
dns-nameservers 192.168.178.1
this what i have
Posts: 176
Joined: Mar 2009
Reputation:
0
revove dns-nameservers 192.168.178.1 and put "nameserver 192.168.178.1" in /etc/resolv.conf like i said before
Posts: 423
Joined: Jun 2009
Reputation:
1
i usually go into my routers config page and tell it to assign a static ip address to certain mac-addresses.
Posts: 54
Joined: Jun 2009
Reputation:
0
Thanks guys for the help, i will give this a shot when i get home tonight.
Posts: 54
Joined: Jun 2009
Reputation:
0
Got it working , thanks everyone.
Posts: 249
Joined: Jan 2009
Reputation:
1
For the benefit of others in similar situations, can you spell out explicitly how you solved your problem?