<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>blog.johanv.org (Posts about aspireone)</title><link>https://blog.johanv.org/</link><description></description><atom:link href="https://blog.johanv.org/en/categories/aspireone.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2025 &lt;a href="https://blog.johanv.org/pages/contact/"&gt;Johan Vervloet&lt;/a&gt; 
&lt;a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/"&gt;
&lt;img alt="Creative Commons License BY-NC-SA"
style="border-width:0; margin-bottom:12px;"
src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png"&gt;&lt;/a&gt;</copyright><lastBuildDate>Wed, 29 Oct 2025 18:31:18 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Crunchbang Linux on the Acer Aspire One</title><link>https://blog.johanv.org/en/posts/old/node-16/</link><dc:creator>Johan Vervloet</dc:creator><description>&lt;div&gt;&lt;p&gt;I did the following to install &lt;a class="reference external" href="http://crunchbang.org/"&gt;Crunchbang&lt;/a&gt;
(8.10) on my Acer Aspire One (SSD). (Most is taken from
&lt;a class="reference external" href="https://help.ubuntu.com/community/AspireOne"&gt;https://help.ubuntu.com/community/AspireOne&lt;/a&gt;, which has more detailed
information. This is just a reminder for myself.)&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;Create a bootable usb stick from the iso image using
&lt;a class="reference external" href="http://unetbootin.sourceforge.net/"&gt;unetbootin&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Install crunchbang, choosing ext2 file systems.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Download, compile and install
&lt;a class="reference external" href="http://snapshots.madwifi-project.org/madwifi-hal-0.10.5.6/madwifi-hal-0.10.5.6-r3835-20080801.tar.gz"&gt;madwifi&lt;/a&gt;,
and add &lt;code class="docutils literal"&gt;ath_pci&lt;/code&gt; to &lt;code class="docutils literal"&gt;/etc/modules&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add the following to &lt;code class="docutils literal"&gt;/etc/rc.local&lt;/code&gt; to enable the wireless
led:&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class="literal-block"&gt;sysctl -w dev.wifi0.ledpin=3
sysctl -w dev.wifi0.softled=1&lt;/pre&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;Install &lt;code class="docutils literal"&gt;luvcview&lt;/code&gt; to use the webcam. This doesn't work yet.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Download &lt;a class="reference external" href="http://electronpusher.org/~rachel/acerfand"&gt;acerfand&lt;/a&gt;
and
&lt;a class="reference external" href="http://aceracpi.googlecode.com/svn/trunk/acer_ec/acer_ec.pl"&gt;acer_ec.pl&lt;/a&gt;
into &lt;code class="docutils literal"&gt;/usr/local/bin&lt;/code&gt;, and make &lt;code class="docutils literal"&gt;acerfand&lt;/code&gt; executable. Check
wether &lt;code class="docutils literal"&gt;sudo perl acer_ec.pl &lt;span class="pre"&gt;?=&lt;/span&gt; 58&lt;/code&gt; returns something that could be
the cpu temperature (hexacecimal), and add this line to
&lt;code class="docutils literal"&gt;/etc/rc.local&lt;/code&gt; to keep the fan down if the CPU temperature is
below 70°:&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class="literal-block"&gt;/usr/local/bin/acerfand&lt;/pre&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;Edit &lt;code class="docutils literal"&gt;/etc/fstab&lt;/code&gt; and change the the option “relatime” to
“noatime”.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add &lt;code class="docutils literal"&gt;elevator=noop&lt;/code&gt; as boot option for the current kernel, and to
the &lt;code class="docutils literal"&gt;# defoptions&lt;/code&gt; line.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add the following to
&lt;code class="docutils literal"&gt;/etc/fstab&lt;/code&gt;:&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class="literal-block"&gt;tmpfs      /tmp            tmpfs        defaults           0    2
tmpfs      /var/tmp        tmpfs        defaults           0    2&lt;/pre&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;Change &lt;code class="docutils literal"&gt;concurrency=none&lt;/code&gt; into &lt;code class="docutils literal"&gt;concurrency=shell&lt;/code&gt; in
&lt;code class="docutils literal"&gt;/etc/init.d/rc&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;For power saving, create a file &lt;code class="docutils literal"&gt;&lt;span class="pre"&gt;/etc/sysctl.d/60-aspireone.conf&lt;/span&gt;&lt;/code&gt;
with the following
content:&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class="literal-block"&gt;###################################################################
# Settings for the Acer Aspire One
#
# Strongly discourage swapping
vm.swappiness = 1
# As suggested by PowerTOP
vm.dirty_writeback_centisecs = 1500
# Suggested by https://help.ubuntu.com/community/AspireOne
vm.vfs_cache_pressure = 0
vm.dirty_ratio = 20
vm.dirty_background_ratio = 10
vm.laptop_mode = 5&lt;/pre&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;Add
the following to
&lt;code class="docutils literal"&gt;/etc/rc.local&lt;/code&gt;:&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class="literal-block"&gt;echo ondemand &amp;gt; /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo ondemand &amp;gt; /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
cat /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate_max &amp;gt; /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate

echo 1 &amp;gt; /sys/devices/system/cpu/sched_smt_power_savings
echo 10 &amp;gt; /sys/module/snd_hda_intel/parameters/power_save

### Decrease power usage of USB while idle
## commented out; doesn't seem to work
# [ -w /sys/bus/usb/devices/1-5/power/level ] &amp;amp;&amp;amp; echo auto &amp;gt; /sys/bus/usb/devices/1-5/power/level
# [ -w /sys/bus/usb/devices/5-5/power/level ] &amp;amp;&amp;amp; echo auto &amp;gt; /sys/bus/usb/devices/5-5/power/level&lt;/pre&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;Add the following line to
&lt;code class="docutils literal"&gt;/etc/profile&lt;/code&gt;:&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class="literal-block"&gt;export INTEL_BATCH=1&lt;/pre&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;Change the section 'Device' in
&lt;code class="docutils literal"&gt;/etc/X11/xorg.conf&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class="literal-block"&gt;Section "Device"
        Identifier      "Configured Video Device"
#       Driver          "vesa"
        Option          "MonitorLayout" "LVDS,VGA"
        Option          "Clone" "True"
        Option          "AccelMethod" "EXA"
        Option          "MigrationHeuristic" "greedy"
        VideoRam        229376
        Option          "CacheLines" "1980"
        Option "NoDDC"
EndSection&lt;/pre&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;and
add this line to the 'Monitor'
section:&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class="literal-block"&gt;DisplaySize 195 113&lt;/pre&gt;
&lt;p&gt;Interesting firefox add-ons:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;&lt;a class="reference external" href="https://addons.mozilla.org/en-US/firefox/addon/313"&gt;stop or reload
button&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a class="reference external" href="https://addons.mozilla.org/en-US/firefox/addon/3895"&gt;personal
menu&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a class="reference external" href="https://addons.mozilla.org/en-US/firefox/addon/1530"&gt;autohide status
bar&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Add the string &lt;code class="docutils literal"&gt;browser.cache.disk.parent_directory&lt;/code&gt; to
Firefox's &lt;a class="reference external" href="about:config"&gt;about:config&lt;/a&gt;, and assign the value &lt;code class="docutils literal"&gt;/tmp/firefox&lt;/code&gt;. In
'options', 'security' disable the phishing filter. (dangerous!)&lt;/p&gt;&lt;/div&gt;</description><guid>https://blog.johanv.org/en/posts/old/node-16/</guid><pubDate>Sun, 14 Dec 2008 18:58:59 GMT</pubDate></item><item><title>Ubuntu Hardy on my Acer Aspire One</title><link>https://blog.johanv.org/en/posts/old/node-15/</link><dc:creator>Johan Vervloet</dc:creator><description>&lt;div&gt;&lt;p&gt;I installed Ubuntu Hardy on my Acer Aspire One. Accidentally in
fact.&lt;/p&gt;
&lt;p&gt;I wanted to install the Ubuntu Netbook remix on an external
USB disk on my AAO, using the image I found here
&lt;a class="reference external" href="http://oem-images.canonical.com/unr/"&gt;http://oem-images.canonical.com/unr/&lt;/a&gt;. I booted the USB image. It warned
me it would wipe my hard disk. Nevertheless I booted, and indeed, it
started erasing my internal harddisk instead of my external one :-/ (I
thought I would be able to choose a target hard disk; I
wasn't.)&lt;/p&gt;
&lt;p&gt;After the installation, my system wouldn't boot. So I
decided to manually install Ubuntu, using the procedure on
&lt;a class="reference external" href="https://help.ubuntu.com/community/AspireOne"&gt;https://help.ubuntu.com/community/AspireOne&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Everything seemed to
work, except the webcam. And even after applying the various tweaks in
the wiki article, the system still was slow.&lt;/p&gt;
&lt;p&gt;I stil had a copy of
the kernel configuration of the original Linpus installation. So I used
that one to compile a new kernel, using the old kernel configuration.
(See
&lt;a class="reference external" href="https://help.ubuntu.com/community/Kernel/Compile#Alternate%20Build%20Method:%20The%20Old-Fashioned%20Debian%20Way"&gt;https://help.ubuntu.com/community/Kernel/Compile#Alternate%20Build%20Method:%20The%20Old-Fashioned%20Debian%20Way&lt;/a&gt;
) I enabled LVM, because I use this on my external hard disk, for
flexible partition management.&lt;/p&gt;
&lt;p&gt;Booting the new kernel resulted in
two problems. First of all klogd didn't start. Apparently kernel logging
was not enabled in the original kernel. So I removed the klogd package,
which removed sysklogd and ubuntu-minimal as well.&lt;/p&gt;
&lt;p&gt;Sound didn't
work either. I guess Ubuntu uses alsa, and linpus uses OSS or something.
So I added alsa support to my kernel configuration, including the
intel-hda sound thing. After adding this to /etc/modprobe.d/alsa-base,
sound was
working:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;pre class="literal-block"&gt;options snd-hda-intel model=toshiba&lt;/pre&gt;
&lt;p&gt;Now the
system boots. To speed it up a little more, I installed xubuntu-desktop,
so I can log on into an xubuntu session. I clicked 'Applications',
'Preferences', 'Configuration Manager', 'Autostarted Apps', and only
left energy manager, volume management and network manager checked. (My
printer isn't supported anyway.)&lt;/p&gt;
&lt;p&gt;That's how the system is
configured right now. The webcam is not working, and there is probably
room for a lot of improvements. My current kernel config is attached.&lt;/p&gt;&lt;/div&gt;</description><guid>https://blog.johanv.org/en/posts/old/node-15/</guid><pubDate>Tue, 02 Dec 2008 20:00:39 GMT</pubDate></item><item><title>Improving security of the Acer Aspire One.</title><link>https://blog.johanv.org/en/posts/old/node-14/</link><dc:creator>Johan Vervloet</dc:creator><description>&lt;div&gt;&lt;p&gt;By default, every user on my Linux powered Acer Aspire One can sudo any
command without having to enter a password. I think this is a bad thing,
because this way anyone (or everything) that can access your computer as
a local user, can do anything on the system.&lt;/p&gt;
&lt;p&gt;The problem is caused
by the configuration of sudo, which contains these
lines:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;pre class="literal-block"&gt;## Allows people in group wheel to run all commands
 %wheel ALL=(ALL)       ALL

## Same thing without a password
 %wheel ALL=(ALL)       NOPASSWD: ALL&lt;/pre&gt;
&lt;p&gt;(to
see/edit the sudo config file, issue &lt;code class="docutils literal"&gt;sudo visudo&lt;/code&gt; in a terminal
window.) Commenting out the line below 'Same thing without a password'
is not an option, because the network (and other things) will not start
after starting xfce.&lt;/p&gt;
&lt;p&gt;It seems that when xfce is started, a list of
commands is executed, some of which are called with 'sudo'. I don't know
which script is containing these commands, so I turned on sudo logging.
This can be done adding the following lines to the sudo
config:
&lt;/p&gt;
&lt;pre class="literal-block"&gt;Defaults loglinelen=0 # disable line wrapping in log.
Defaults logfile=/var/log/sudo.log # or some other filename.&lt;/pre&gt;
&lt;p&gt;When
logging on again, you can see in /var/log/sudo.log the commands that
were executed with
sudo:
&lt;/p&gt;
&lt;pre class="literal-block"&gt;/usr/bin/gnome-keyring-daemon
/bin/mv /usr/bin/xfce-mcs-manager.new /usr/bin/xfce-mcs-manager
/bin/mv /usr/bin/xfce-mcs-manager /usr/bin/xfce-mcs-manager.new
/sbin//modprobe ath_pci
/sbin//modprobe wlan_scan_sta
/sbin//modprobe wlan_acl
/sbin//modprobe wlan_wep
/sbin//modprobe wlan_xauth
/sbin//modprobe wlan_ccmp
/sbin//modprobe wlan_tkip
/usr/local/bin/wlanconfig ath0 create wlandev wifi0 wlanmode sta
/sbin//ifconfig ath0 up
/etc/init.d/network start
/etc/init.d/netfs start
/etc/init.d/udev-post start
/etc/init.d/ConsoleKit start
/etc/init.d/cups start
/etc/init.d/wpa_supplicant start
/etc/init.d/NetworkManager start
/etc/init.d/NetworkManagerDispatcher start
/etc/init.d/crond start
/usr/bin/nm-applet
/sbin/iwpriv ath0 powersave 1
/sbin//fdisk -l
/sbin//swapon -a
/sbin//iwpriv ath0 powersave 1&lt;/pre&gt;
&lt;p&gt;These
commands are probably somewhere in a script, but I did not find out yet
which one.&lt;/p&gt;
&lt;p&gt;Anyway, I added the following lines to the sudo
configuration
script
&lt;/p&gt;
&lt;pre class="literal-block"&gt;Cmnd_Alias JOHAN = /usr/bin/gnome-keyring-daemon,/sbin/modprobe,/usr/local/bin/wlanconfig \
,/sbin/ifconfig,/etc/init.d/network,/etc/init.d/netfs,/etc/init.d/udev-post \
,/etc/init.d/ConsoleKit,/etc/init.d/cups,/etc/init.d/wpa_supplicant,/etc/init.d/NetworkManager \
,/etc/init.d/NetworkManagerDispatcher,/etc/init.d/crond,/usr/bin/nm-applet,/sbin/iwpriv \
,/sbin/swapon

 %test ALL=(ALL)        ALL
 %test ALL=NOPASSWD: JOHAN&lt;/pre&gt;
&lt;p&gt;Now
every user added to the 'test' group, has to enter a password when
sudo'ing, except for the commands issued when logging on.&lt;/p&gt;
&lt;p&gt;I'm aware
of the fact that this is still not the most secure solution. Things like
'swapon' should already be run before the user is logged on. It would
also be better to group the commands executed when logging on in a
special script. The test users would then only need passwordless sudo
rights on this script.&lt;/p&gt;&lt;/div&gt;</description><guid>https://blog.johanv.org/en/posts/old/node-14/</guid><pubDate>Sun, 09 Nov 2008 14:34:31 GMT</pubDate></item><item><title>Enable multiple user accounts on a Linux powered Asus Aspire one</title><link>https://blog.johanv.org/en/posts/old/node-13/</link><dc:creator>Johan Vervloet</dc:creator><description>&lt;div&gt;&lt;p&gt;Enabling multiple user accounts for the
&lt;a class="reference external" href="http://distrowatch.com/table.php?distribution=linpus"&gt;Linpus&lt;/a&gt;
distribution on my &lt;a class="reference external" href="http://www.acer.com/aspireone"&gt;Acer Aspire One&lt;/a&gt;
was not trivial. After booting, the user 'user' is logged on
automatically, and this user was the only one which could use sound and
the links to documents, music,... This is why I wrote a quick
howto.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Before you start:&lt;/strong&gt; Make sure you have a bootable
usb-stick handy, in case your system refuses to boot after changing a
file. I used Debian Lenny beta 2, with an updated kernel.&lt;/p&gt;
&lt;p&gt;To
display an xterm, press Alt+f2, and enter 'xterm'. You can enable the
right-click menu launching 'xfce-setting-show' from the command line,
and unchecking 'show desktop menu on right click' under desktop
behaviour. (Click the left arrow on your task bar if it is hiding the
'Close' button of the settings dialog.)&lt;/p&gt;
&lt;p&gt;Edit /etc/inittab: replace
the
line
&lt;/p&gt;
&lt;pre class="literal-block"&gt;#1:2345:respawn:/sbin/mingetty --autologin user tty1&lt;/pre&gt;
&lt;p&gt;by
&lt;/p&gt;
&lt;pre class="literal-block"&gt;1:2345:respawn:/sbin/mingetty tty1&lt;/pre&gt;
&lt;p&gt;And
decomment
&lt;/p&gt;
&lt;pre class="literal-block"&gt;x:5:respawn:/etc/X11/prefdm -nodaemon&lt;/pre&gt;
&lt;p&gt;(I
commented out the lines for virtual consoles 2-6 as well, but
ctrl+alt+f&lt;em&gt;x&lt;/em&gt; seems disabled somehow.)&lt;/p&gt;
&lt;p&gt;In '/etc/rc.d/rc.S',
comment out the
line
&lt;/p&gt;
&lt;pre class="literal-block"&gt;#   /usr/bin/xinit -- -br&amp;gt;/dev/null 2&amp;gt;&amp;amp;1 &amp;amp;&lt;/pre&gt;
&lt;p&gt;That
should do it.&lt;/p&gt;&lt;/div&gt;</description><guid>https://blog.johanv.org/en/posts/old/node-13/</guid><pubDate>Thu, 23 Oct 2008 19:02:29 GMT</pubDate></item></channel></rss>