Wednesday, November 25, 2009

Reducing SSD wear in Acer Aspire One - Linux (Part2)

If you read the last post about: Reducing SSD wear in Acer Aspire One - Linux on this blog here are some more tricks:

*
disable the sreadahead service (accelerate the boot process)

sudo vim /etc/init/sreadahead.conf
The sreadahead tool helps to speed up the boot process with conventional hard disks, but it actually slows the boot with SSDs.
and comment the following line:

exec /sbin/sreadahead -t 0

* edit the fstab file

sudo vim /etc/fstab

and add the following option to the SSD card noatime

/dev/sda1 / ext4 noatime,errors=remount-ro 0 1






Tuesday, November 24, 2009

Thursday, November 19, 2009

Tuesday, November 10, 2009

Review of Xubuntu 9.10

Xubuntu 9.10 is getting a lot of good reviews. Good work everyone!

http://1800ubuntu.com/ubuntu-flavors/24-xubuntu-910-review.html

Saturday, November 7, 2009

Mobile Broadband ZTE MF620 - TMN (Portugal)

Quick Notes for 9.10 (Karmic Koala)

Create the following file in udev rules

root@kenobi:~# vim /etc/udev/rules.d/15-zte-mf620.rules


Copy the following text:

ACTION!="add", GOTO="ZTE_End"

# Is this the ZeroCD device?
SUBSYSTEM=="usb", SYSFS{idProduct}=="2000",
SYSFS{idVendor}=="19d2", GOTO="ZTE_ZeroCD"

# Is this the actual modem?
SUBSYSTEM=="usb", SYSFS{idProduct}=="0001",
SYSFS{idVendor}=="19d2", GOTO="ZTE_Modem"

LABEL="ZTE_ZeroCD"
# This is the ZeroCD part of the card, remove
# the usb_storage kernel module so
# it does not get treated like a storage device
#RUN+="/sbin/rmmod usb_storage"
RUN+="/usr/sbin/usb_modeswitch -d 1 -v 0x19d2 -p 0x2000 -V 0x19d2 -P 0x0001"

LABEL="ZTE_Modem"
# This is the Modem part of the card, let's
# load usbserial with the correct vendor
# and product ID's so we get our usb serial devices
RUN+="/sbin/modprobe usbserial vendor=0x19d2 product=0x0001",
# Make users belonging to the dialout group
# able to use the usb serial devices.
#MODE="660", GROUP="dialout"
MODE="660", GROUP="tty"

LABEL="ZTE_End"


With Network Manager configure to TMN and add the following DNS Servers:

194.65.3.20
194.65.3.21

Thursday, November 5, 2009

Reducing SSD wear in Acer Aspire One - Linux

Edit the fstab file and add the follwing lines

root@kenobi:~# vim /etc/fstab

#Reducing SSD wear

tmpfs /var/log tmpfs defaults 0 0
tmpfs /tmp tmpfs defaults 0 0
tmpfs /var/tmp tmpfs defaults 0 0
tmpfs /var/log/apt tmpfs defaults 0 0

This options works fine in my Acer Aspire One.