Configuring the wired network
There's not much to say here. The intel EtherExpress pro 10/100 is a
kernel option. Compile eepro100 (either directly in the kernel or as a
module and insmod it). It works. Yes, it's that easy.
Configuring the wireless network
- Kernel Configuration
You want to enable the following in your kernel (I'm giving this to you in terms of where you'd find it if you
did make menuconfig in your /usr/src/linux directory. I assume if you're editing the .config file by hand you
can figure out what to enable on your own):
- Under General Setup, enable "Support for hot-pluggable devices" and then "PCMCIA/CardBus support --->
CardBus support".
- Under Network Device support > Wireless LAN (non-hamradio) ---> enable "Wireless LAN" and choose "Hermes
chipset 802.11b support" and then "Hermes PCMCIA card support"
- Install the Linux PCMCIA Card Services. After compiling
your kernel, as pcmcia-cs looks at your kernel configuration (at leat under gentoo) to get information. Add
pcmcia to your default runlevel.
A problem I had when I first installed pcmcia-cs and added it to the default runlevel is that
it would hang for approximately a minute
or two at "starting pcmcia ... cardmgr: watching 2 sockets" and then go on. This made my machine
boot really slowly. I discovered that this was because it was trying to connect via the wireless
lan interface, and couldn't do so (as most of the time I'm not around a wireless lan), but would
sit around transmitting into nowhere for a while. My inelegant solution was to edit
/etc/pcmcia/network and to comment out the $ACTION lines so that pcmcia didn't try to start any
network services itself. I do that myself via quickswitch anyways.
- Install the Wireless Tools for
Linux.
- The wired network is eth1.
- Want to see if it's working? cat /proc/net/dev. You should see 3 interfaces listed: lo, eth0, and
eth1. If you try and do anything with eth1 (eg dhcpcd eth1) you should see that you're transmitting stuff
(even if there's nothing to receive them).
- If you're like me, you probably have a million different network configurations. I have a
static IP address through wired ethernet at work, a DHCP connection through wires at home, the ability to
connect to the experimental campus wireless network at a couple of
points on campus, friends with wireless networks .... et cetera. A great utility for switching network
configurations is quickswitch.
Here's a copy of my
/etc/quickswitch/switchto.conf file.
Last modified August 7, 2002
Back to index.