3.2.2. How Does It Work?
interfaces ifrename /proc/net /sys/class/net ifconfig aliasesPacket routing is also performed by the kernel; the kernel routing table is exposed through /proc/net/route and /proc/net/ipv6_route , and is displayed and manipulated by the route command ( netstat -r displays the same information).
The DNS information stored in /etc/ resolv.conf is used by the resolver libraries loaded by applications. Since most resolvers load the contents of /etc/resolv.conf only when an application is started, it is usually necessary to restart your applications after changing the resolver configuration.
As an exception to the rule, Firefox does not need to be restarted after /etc/resolv.conf is changed.system-config-network /etc/sysconfig/network /etc/sysconfig/network-scripts /etc/hosts /etc/resolv.conf ifup ifdown system-control-network
The NetworkManager service consists of a single binary, /usr/sbin/NetworkManager , which attempts to keep a network running at all times. The NetworkManagerDispatcher service can be used to launch scripts in /etc/NetworkManager/dispatcher.d as interfaces are brought up and down, but this capability is not used by Fedora Core, so you can leave this service disabled. The GUI component of NetworkManager is provided by nm-applet ( /usr/bin/nm-applet ); the two components communicate through the desktop bus (dbus) mechanism.
Wireless interface drivers provide an extended set of control and monitoring functions called the wireless extensions . There are many versions of the wireless extensions in use, and not all of the extensions are supported by each driver. The current version of the wireless extensions is version 20, and it is expected that this version will remain stable for some time. When a wireless card can be configured by the GUI or command line but not by NetworkManger, it's usually due to incomplete or out-of-date wireless extension support in the interface device.
3.2.3. What About...
3.2.3.1. ...using a Fedora system as a router?
/proc/sys/net/ipv4/ip_forward# echo 1 >/proc/sys/net/ipv4/ip_forward
Likewise, writing a 0 disables forwarding:
# echo 0 >/proc/sys/net/ipv4/ip_forward
3.2.3.2. ...renaming a network interface, or configuring a "wlan" interface using the GUI configuration tool?
ifrename# ifrename -i wlan0
-n eth1
eth1
# ifconfig wlan0
wlan0: error fetching interface information: Device not found
# ifconfigeth1
eth1 Link encap:Ethernet HWaddr 00:0C:2D:00:2B:DB
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
The GUI network configuration program ( system-config-network ) will sometimes refuse to configure interfaces that start with wlan ; after renaming the interface, you can use the GUI configuration tool to permanently set up the interface.
3.2.4. Where Can I Learn More?
ifconfig route netstat iwconfig iwlist resolver resolv.conf hosts dhclient NetworkManager NetworkManagerDispatcher nm-applet nm-tool modprobeThe home pages for wireless firmware projects on SourceForge, including http://ipw2100.sf.net/ , http://ipw2200.sourceforge.net/ , http://ipw3945.sf.net/ , and http://linux-lc100020.sourceforge.net/
RFC1918, Address Allocation for Private Internets: http://tools.ietf.org/html/1918
Documentation on the files in /etc/sysconfig : /usr/share/doc/initscripts*/sysconfig.txt
3.3. Configuring a Touchpad
3.3.1. How Do I Do That?
/etc/X11/ xorg.confIt's a good idea to get into the habit of making a backup of configuration files before modifying them, just in case something goes wrong:# cp /etc/X11/Xorg.conf /etc/X11/Xorg.conf.backup
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "TouchPad0" "AlwaysCore"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Next, add a new InputDevice section (you can add this to any part of the file that is not between Section and EndSection lines):
Section "InputDevice"
Identifier "Touchpad0"
Driver "synaptics"
Option "SHMConfig" "on"
EndSection
When you restart the X server by restarting the system or pressing Ctrl-Alt-Backspace (save any work first!), the Synaptics driver will be loaded with a default configuration that will permit you to:
Click the left mouse button by tapping one finger in the middle area or by tapping the upper-left corner.
Drag with the left mouse button by tapping and then dragging one finger (touch-release-touch, then drag).
Click the middle mouse button by tapping two fingers in the middle area or by tapping the upper-right corner (this will usually perform a fast-paste of selected text).
Click the right mouse button by tapping three fingers in the middle area or by tapping the lower-right corner.
Scroll up and down by running your finger up and down the right side (if supported by your application).