Chapter 11. Managing Network Connections

IN THIS CHAPTER

  • Using ethtool and mii-tool to work with network interface cards

  • Getting network statistics with netstat

  • Starting network devices with service, chkconfig, ifup, and ifdown

  • Viewing Ethernet information with ifconfig and ip

  • Managing wireless cards with iwconfig

  • Configuring modems with wvdialconf, stty, and minicom

  • Checking DNS name resolution with dig, host, and hostname

  • Checking connectivity with ping and arp

  • Tracing connections with traceroute, route, and ip

  • Watching the network with netstat, tcpdump, and nmap

Connecting to a network from Linux is often as easy as attaching your computer's network interface card to your ISP's hardware (such as a DSL or cable modem) and rebooting. However, if your network interface doesn't come up or requires some manual intervention, there are many commands available for configuring network interfaces, checking network connections, and setting up special routing.

This chapter covers many useful commands for configuring and working with your network interface cards (NICs), such as ethtool, mii-tool, and ifconfig. In particular, it covers ways of configuring wired Ethernet, wireless Ethernet, and modem network hardware. With your hardware connected and network interfaces in place, the chapter describes commands such as netstat, dig, ip, and ping for getting information about your network.

Configuring Networks from the GUI

When you first install Fedora, RHEL, or CentOS, the anaconda installer lets you configure ...

Get Fedora® Linux® TOOLBOX: 1000+ Commands for Fedora, CentOS, and Red Hat® Power Users now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.