Installation of Debian Testing on the Acer Travelmate 3004
AbstractThis document describes the installation of Debian Linux on a Acer TravelMate 3004. Since this is quite a new product, there was little information about the installation available on the internet, but, at the same time, there are some pretty tricky things to note. Fortunately, I found two documents in German ([1] and [2]) that probably spared me days of researching in troubles. After having set up a working Linux system, I decided to write this document in English. I am not a power user, therefore there are gaps of information that I have not (yet) been able to fill. Especially, I have not used the 56k modem or the cardreader, and can not provide information about these components. Hopefully, there are still some peoble who will benefit from this text. Notes, addidtions, corrections or any other kind of feedback are very welcome. Feel free to get in contact with me. One note on the Distribution: I chose to install Debian Testing, because it includes a recent version of
ieee80211-source and ipw2200-source, that support the build-in wireless LAN card. With Debian Stable, you need to get the driver
sources ([8]) and the firmware ([9]) from the internet and manually patch the Kernel. At
least, that's the only way I got it to work with Debian Stable.
Basic Debian installationFirst, create an installation CD using an appropriate image from one of the Debian Mirrors. Start your Acer,
hit F2, and make sure that your boot order is set to search CD-ROM drives first. Exit
the BIOS, and after the reboot, type expert24 noapic noacpi at the installation CD's boot promt. Using
Kernel 2.6 for installation fails - many thanks to Martin Buchleitner ([1]) for this crucial hint!
Partitioning
Secure Grub
Apt-sources
X-Server
Since I prefer Vim instead of the Debian default nano, I updated this, too, using
Kernel 2.6Once you have a running Debian with Kernel 2.4, it is pretty easy to compile and install the Kernel 2.6. The "normal" way to do this is:
Network devicesKernel drivers
Enable the modules with CONFIG_IPW2200=m CONFIG_IPW2200_MONITOR=y CONFIG_IEEE80211=m CONFIG_IEEE80211_CRYPT_WEP=m and re-compile your Kernel modules. If everything works out, you should see something like:
Interface mapping
One Problem I stumbled upon, was the inconsistent device mapping the kernel does. If you have no network device drivers loaded, and you start either one of the devices, the first devices started will be eth0, the second one eth1. I found this very annoying. There is a possible solution using device mapping and MAC addresses (see [10] or [11]), but it forces you to assign a different interface name, like net0. Instead, I deciced to use a little workaround: I load the ethernet device module each time the machine starts (see listing above). That way, the ethernet device is always eth0. The wireless LAN drivers are only loaded, when the interface is started. Now, you only need to edit your /etc/network/interfaces. Below, there is a listing that is quite complex, already, but it gives a few ideas about what is possible: # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # file modified by 6c62 # The loopback network interface auto lo iface lo inet loopback mapping eth0 eth1 script ifscheme-mapping ##################### Home network ############################## iface eth0-home inet static # copy files pre-up cp /etc/network/6c62-files/resolv.conf.home /etc/resolv.conf pre-up cp /etc/6c62-files/hosts.home /etc/hosts # start programs pre-up /etc/init.d/iptables start post-up wwwoffle -c /etc/wwwoffle/wwwoffle.conf -online || true post-up /etc/init.d/tor start # stop programs post-down wwwoffle -c /etc/wwwoffle/wwwoffle.conf -offline post-down /etc/init.d/tor stop post-down /etc/init.d/iptables stop # copy files post-down cp /etc/network/6c62-files/resolv.conf.empty /etc/resolv.conf post-down cp /etc/6c62-files/hosts.empty /etc/hosts address 192.168.0.6 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.66.255 gateway 192.168.0.1 dns-nameservers 217.237.149.161 dns-search homenet.home iface eth1-home inet static # copy files pre-up cp /etc/6c62-files/resolv.conf.home /etc/resolv.conf pre-up cp /etc/6c62-files/hosts.home /etc/hosts # start programs and insmod modules pre-up /etc/init.d/iptables start pre-up modprobe ipw2200 led=1 || true pre-up iwconfig eth1 essid homewlan || true pre-up iwconfig eth1 enc abcdef1234567890abcdef1234 || true post-up wwwoffle -c /etc/wwwoffle/wwwoffle.conf -online || true post-up /etc/init.d/tor start # stop programs and remove modules post-down wwwoffle -c /etc/wwwoffle/wwwoffle.conf -offline post-down /etc/init.d/tor stop post-down rmmod ipw2200 post-down /etc/init.d/iptables stop # copy files post-down cp /etc/network/6c62-files/resolv.conf.empty /etc/resolv.conf post-down cp /etc/6c62-files/hosts.empty /etc/hosts address 192.168.0.7 netmask 255.255.255.0 gateway 192.168.0.1 dns-nameservers 217.237.149.161 dns-search homenet.home ##################### Company network ############################## iface eth0-work inet dhcp # copy files pre-up cp /etc/6c62-files/resolv.conf.work /etc/resolv.conf pre-up cp /etc/6c62-files/hosts.home /etc/hosts # start programs pre-up /etc/init.d/iptables.work start # stop programs post-down /etc/init.d/iptables.work stop # copy files post-down cp /etc/network/6c62-files/resolv.conf.empty /etc/resolv.conf post-down cp /etc/6c62-files/hosts.empty /etc/hosts # end of fileThe listing above defines the two interfaces eth0 (ethernet) and eth1 (wireless LAN). In addition, there are two entirely different network environments defined, home and work. At home, I have a few computers, all of which have fixed IPs and are listed in /etc/hosts, and a dial-up internet connection. Name resolution is provided by my ISP. For privacy reasons, I use the onion router tor ([12]) when surfing the net. At work, my machine gets its IP via DHCP. My company has its own BIND-server running. Since I am behind a company gateway, my anonymizer doesn't work, besides I don't need it anyway. For my company network, I also use a different Firewall script, so I can open some ports for Samba or whatever programs I may need, that are useless at home. I have hosts- and resolv.conf-files adapted to each environment in a personal directory, which I calles /etc/network/6c62-files/. The appropriate ones are copied to /etc/ when an interface is activated. Having created the script above, and the files in /etc/network/6c62-files/, you need only two commands to feel at home in your new network environment:
Hardware and status
Links and ressources
top
ContactFor more information, as well as additions, hints, criticism, and so on, drop me a mail to "acer (at) 6c62.net"
last modified:
|