Configure Networking

From gr0x0rd
Jump to navigation Jump to search

Installing Gentoo - Configure Networking

Maybe it just works? (blatantly stolen from the Gentoo Handbook

Chances are after booting with your installation media, you have a functional networking system. This can be tricky for some devices, especially wireless ones, and is dependent on whether or not the correct module has been loaded for your network device. You can test whether or not your network is working correctly by issuing a simple ping command.

# ping -c 3 www.gentoo.org

If you get responses from the server, you are ready to proceed. If the requests time out, you may need to investigate your DHCP settings or even set a static IP. Chances are you know best how your network is set up. To save you the trouble of fiddling with things manually, there is a simple utility provided. To set up networking on the first wired network device in your system,

# net-setup eth0 

For a wireless device,

# net-setup wlan0 

If you cannot run the utility or get error messages, you can examine the networking devices that were set up at boot time. This is equivalent to the ipconfig /all command in Windows.

# ifconfig

I will try to add more info for troubleshooting network devices here later. Once you have successfully set up your networking devices, you can move on to Partitioning the hard disk.