Initially, my idea was to setup Jessie to use the netbook as a smoker machine for CPAN. It turned out that those tips (which I gathered around and made some experiments myself) are generic enough for anybody trying to configure this particular eeePC model.
"Fix" the fans
The eeePC fans are somehow problematic, they won't work properly automatically after you install Jessie. But fixing it is basically two commands on the shell, so no big issue at all:apt-get install lm-sensors fancontrol
pwmconfig
Without fancontrol and configuration, the fans will be working all the time. Well, it could be worst, take a look at my previous post eeePC 701 and OpenBSD.
Problems with keyboard
My keyboard options were not taken correctly during setup, probably because I made some mistake or because I replaced the default keyboard on my eeePC for a Brazilian ABNT 2. Nevertheless, the commands below will take care of it:apt-get install console-setup
dpkg-reconfigure keyboard-configuration
service keyboard-setup restart
Compile yourself a new kernel
It is useful to create a smaller kernel and save memory and disk space by removing unnecessary features for the hardware resources lacking eeePC 701 . Also be sure set the processor as “core duo” and disable all resources for virtualization.This process will take a long time, but it will payoff later.
First, install the following packages: fakeroot, kernel-package and linux-source-<version> (where version is whatever version you're interested in).
Then copy /usr/src/linux-source to a pendrive and compile the kernel from there. "Why a pendrive?" you might be asking yourself. Well, eeePC 701 has 4GB of SSD space and this will not help you to compile a kernel due the size of the source and temporary files. Of course, any other media will work too as long as Jessie has the proper kernel modules to mount and use it.
Then set the already discussed kernel options and compile it. I'll not give you all the details about kernel compilation on Jessie, there are a lot of tutorials available for that.
Finally, don't forget to remove the installed packages to recover disk space after installing and testing the new kernel.
Configure improvements for SSD
That's a very important configuration for eeePC 701, not only to improve speed but also to extend the SSD life. Here are the steps:- Set I/O scheduler to noop (configure the systemd to start the rc.local file) with a echo 'noop > /sys/block/sda/queue/schedule' >> /etc/rc.local
- Use ext4 as the file system. It already has good features for SSD by default.
- Add “noatime,discard,commit=30” to the respective /etc/fstab entry.
Configure to ignore lid closing to avoid suspend mode
This is somehow optional. But since I was configuring the eeePC to leave it running unattended, it seems an obvious option. The alternative was removing dust from the screen and keyboard everyday...Edit the file /etc/systemd/logind.conf to include the following two lines:
HandleLidSwitch=ignore
HandleLidSwitchDocked=ignore
Install local DNS cache
That's some kind of optimization I like to do myself for any Linux box, but since you're already at the shell, do yourself a favor and install this little guy to help you speed up DNS queries:apt-get install dnsmasq
No comments:
Post a Comment