|
|

|
NetworkingThe LAN chipset on the Pundit's motherboard is not supported by either the kernel installed by the Debian Woody install or the latest 2.4.* kernels. I believe that there is support for the chipset available in 2.5.* kernels, but those are development kernels which I didn't particularly want to use unless I had to. I have also heard that the driver for this network chipset built into the 2.5.* kernels may be broken at the moment - I'm not sure which 2.5 kernels this is true for, YMMV. Luckily ASUS do provide a source network driver for Linux on the CD that comes with the pundit but it wont work with the Debian Woody 2.2.18 kernel so before building and installing it I first had to install a newer kernel.
I decided to install the latest kernel that I could get Debian stable packages for which turned out to be 2.4.18 at the time of writing this. There are a couple of packages which need to be installed, a kernel source package and some tools for packaging up kernels. I just did the following as root:
The first of those lines will put the kernel source as a .tar.bz2 file into /usr/src. This needs to be unpacked, so as root I did:
Once the kernel source has been unpacked the next thing to do is to configure the kernel to decide which drivers etc should be built into it. Rather than go through the entire configuration process at this point I decided just to build the kernel with the default options in order to get the network up and running and then to build it again later with all the correct options etc. This also has the advantage that once the network is up and running you can just copy in my configuration file if you wish and build with all the same options that I used. In order for the configuration file to be created you need to run one of the kernel configuration programs. I decided to use the menuconfig tool, but in order to do that I first needed to install the libncurses package by doing the following as root:
I started up the menuconfig program as root as follows:
Once this program starts you get a curses based app for selecting the configuration parameters. I didn't want to set any at this stage so I just navigated to the 'Exit' button and then when prompted if I wanted to save the configuration I selected 'Yes'. OK, at this point I was ready to build the kernel so I just did the following as root:
Now that the kernel was built, I just had to install the Debian package that it had created. This installer will install the new kernel as the default kernel that the machine boots and it will also create an entry in LILO for the old kernel should you need to get to it. To install the kernel I just did the following as root, accepting any default options when presented:
At this point the new kernel is installed and ready to use so I just rebooted the machine into the new kernel.
Now that the new kernel had been built and installed I copied the source for the network driver from the CD that came with the Pundit. I did this all logged in as my 'matt' user:
Next I untarred the source tarball and built the driver:
Finally I switched to the 'root' user and installed the driver:
Now that the network driver was installed I needed to setup the system to load the driver and configure it for my network setup. In order to get the driver to load automatically on boot-up I added the following line to the end of my /etc/modules file:
I first tried to get the driver to pick up its settings using DHCP from my local network, but this didn't seem to work properly for some reason. Therefore I switched to using static settings instead. I added the following block to the end of my /etc/network/interfaces file:
Obviously these are the particular settings for my own network, you'll need to use appropriate values for your own network. And please don't ask why I have a class A network, it's nuts :-) I also changed the line in that file which read:
to:
In order to get DNS working from the Pundit I modified the /etc/resolv.conf to point at my name server. The file didn't exist by default so I just created the file with the following two lines:
Again, these settings will vary depending on your network configuration. With all these configuration settings made I rebooted the machine to check that the network came up correctly on boot-up. Once the machine had booted I checked that I could ping other machines both by ipaddress and then by name. Firing up a web browser and surfing some pages worked fine too.
|