If you don’t have DHCP, you can still setup your own networking using static settings once the xbox has booted. To do this, follow these instructions.

1) Login as root in konsole in KDE by typing "su -" then enter your password
2) Type pico -w /etc/conf.d/net
3) You will be faced by a rather frightening looking text file, look for the line "iface_eth0="dhcp"" and add a hash (#) before it so it looks like this: "#iface_eth0="dhcp"".
4) Next, look for the line "#iface_eth0=" broadcast netmask"" and remove the hash (#) from the beginning and proceed to enter your own static details. In my case, I use IP address for my xbox so I would change the settings to:

"iface_eth0=" broadcast netmask"" --- the bold letters indicate what has changed. In the first set of numbers (aaa.bbb.ccc.ddd), whatever ccc is set to, it MUST be set the same in the second set of numbers, in this case they are both "1". The broadcast should always have "255" on the end. All PCs on your network must have the same "ccc" number, i.e. all computers on my network are "192.168.1.ddd", all the computers must have individual "ddd" numbers.
5) Finally, if you have a gateway to connect through to access the internet or your network, you must find the line "#gateway="eth0/"", un hash it (#), and change it appropriately. Siince my router is my gateway (which has the IP, I would change the to:

"gateway="eth0/"" --- the bold letters indicate what was changed. If you’re networking your Xbox through a second network card in your PC, then your gateway will be your PC’s second network card’s IP address.

If you don’t know your internet settings you may be able to ask your ISP for them or go to their website help section. If you are on a network, ask your network technician.
6) Once you have made all the necessary changes, hit ctrl+x, ‘y’, then [enter] to save the file.
7) If you’re having trouble accessing webpages like but can access IP addresses fine then you probably have a DNS issue. To solve this, run the following:

"echo > /etc/resolv.conf"
"pico –w /etc/resolv.conf" (Yes, it is resolv, not resolve)

You will then be faced with an empty text file in which you must put in your ISP’s nameservers. Again, you will need to look on your ISP’s website for this information. In my case, my nameservers are "" and "" so in the file I put:


(note nameserver is all lowercase).
8) Once you have made all the necessary changes, hit ctrl+x, ‘y’, then [enter] to save the file.
9) The best way to test these settings have been saved and are functional is to reboot so, type “reboot” in the console and load Gentoox up again. Once it comes up, open konsole and type "ping" if this works, great… however, if it doesn’t, try "ping", if this works then you need to repeat step 7 as your DNS servers have not been configured correctly.

That is all there is to it, if you cant get it working then you are using the wrong settings.

This article comes from Gentoox

The URL for this story is: