Gentoo Linux on IBM Thinkpad X31: Networking
rating: 0+x

Hardware

$ lspci | grep -i net

02:01.0 Ethernet controller: Intel Corporation 82540EP Gigabit Ethernet Controller (Mobile) (rev 03)
02:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)

Gentoo Packages

sys-apps/iproute2
net-misc/udhcp

Wired Client using e1000

kernel module

$ grep E1000 /usr/src/linux/.config

CONFIG_E1000=m
CONFIG_E1000_NAPI=y
# CONFIG_E1000_DISABLE_PACKET_SPLIT is not set

/etc/conf.d/net

modules=("iproute2")
config_eth0=("udhcpc")
timeout_eth0=20

/etc/init.d/

/etc/init.d/net.eth0 -> net.lo
/etc/init.d/net.lo

Wireless Client using ipw2200

Gentoo Package

net-wireless/ipw2200-firmware

/etc/conf.d/net

modules=("iproute2")
modules_eth1=("wpa_supplicant")
config_eth1=("udhcpc")
wpa_supplicant_eth1="-Dwext"
wpa_timeout_eth1=20

/etc/init.d/

/etc/init.d/net.eth1 -> net.lo
/etc/init.d/net.lo

Wireless Gateway

Gentoo Package

net-dns/dnsmasq

/etc/conf.d/net

modules=("iproute2")
config_eth0=("192.168.100.1/24 brd 192.168.100.255")
modules_eth1=("wpa_supplicant")
config_eth1=("udhcpc")
wpa_supplicant_eth1="-Dwext"
wpa_timeout_eth1=20

/etc/conf.d/dnsmasq

DNSMASQ_OPTS="-F 192.168.100.10,192.168.100.19 -i eth0 -K -l /tmp/.dnsmasq.leases -n -q -r /etc/resolv.conf"
rating: 0+x
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.