Page 3 of 4
Re: Antix-Linux install on OLD EEEPC(asus)
Posted: Fri Nov 30, 2018 4:23 am
by Chriske
Sunrat,
These older machines were far better constructed compared to the new series.
It's not the place to discus this but I still own a Toshiba 120Mhz(!) 24(!) Mb(!)RAM running W98....
Those were the days, these laptops last a lifetime...! sigh....!
Wonder, would I be able to install a Linux OS on that little old thing...??
Re: Antix-Linux install on OLD EEEPC(asus)
Posted: Fri Nov 30, 2018 5:08 am
by stsoh
suggest for those with 1,2,even 4gb ram to implement zram and zswap.
https://mxlinux.org/wiki/other/zram
to install zram:
Code: Select all
sudo cp /usr/local/bin/zram /etc/init.d
sudo update-rc.d zram defaults
use root thunar to edit /etc/init.d/zram
change zram factor=25 to 100 (ZRAM Factor=100, 1CPU. 200, 2CPU. 400, 4CPU, etc. it works for my pc).
next swappiness 60 (default) to 100.
add to fstab;
Code: Select all
tmpfs /var/tmp tmpfs rw,nodev,nosuid,mode=1777 0 0
zram is easily install, also easily remove.
to remove zram:
Code: Select all
sudo /etc/init.d/zram stop
sudo update-rc.d -r zram
sudo rm /etc/init.d/zram
Re: Antix-Linux install on OLD EEEPC(asus)
Posted: Fri Nov 30, 2018 5:46 am
by stsoh
i found a better zram script which create zram per core.
open terminal, input;
select all copy, open root thunar, goto /etc/init.d/ folder, double click on zram file to edit.
select all and paste to replace old scrip with new script.
Code: Select all
#!/bin/sh
### BEGIN INIT INFO
# Provides: zram
# Required-Start:
# Required-Stop:
# Default-Start: S
# Default-Stop: 0 1 6
# Short-Description: Use compressed RAM as in-memory swap
# Description: Use compressed RAM as in-memory swap
### END INIT INFO
# Author: Antonio Galea <antonio.galea@gmail.com>
# Thanks to Przemysław Tomczyk for suggesting swapoff parallelization
FRACTION=100
MEMORY=`perl -ne'/^MemTotal:\s+(\d+)/ && print $1*1024;' < /proc/meminfo`
CPUS=`grep -c processor /proc/cpuinfo`
SIZE=$(( MEMORY * FRACTION / 100 / CPUS ))
case "$1" in
"start")
param=`modinfo zram|grep num_devices|cut -f2 -d:|tr -d ' '`
modprobe zram $param=$CPUS
for n in `seq $CPUS`; do
i=$((n - 1))
echo $SIZE > /sys/block/zram$i/disksize
mkswap /dev/zram$i
swapon /dev/zram$i -p 100
done
;;
"stop")
for n in `seq $CPUS`; do
i=$((n - 1))
swapoff /dev/zram$i && echo "disabled disk $n of $CPUS" &
done
wait
sleep 1
modprobe -r zram
;;
*)
echo "Usage: `basename $0` (start | stop)"
exit 1
;;
esac
terminal, input;
terminal to check,
Re: Antix-Linux install on OLD EEEPC(asus)
Posted: Fri Nov 30, 2018 6:48 am
by Chriske
Hi guys,
Although I activated the switch 'Automatic reconnect to this network' I need to reactivate and enter login to access the network in the Wicd network manager after I reboot the system.
I suppose that is not how it works..? How can I solve this problem..?
Thanks (again)
Chris
Re: Antix-Linux install on OLD EEEPC(asus)
Posted: Fri Nov 30, 2018 6:56 am
by PPC
Hi! I'm trying out zram on my netbook (that has 1 gb of RAM). I took the liberty to make a condensed version "for dummies" of the install and uninstall process (I'm having problems with the swappiness change... any tips?:
To install and configure Zram via the terminal:
Open the terminal and do this steps (note: replace "leafpad" with your preferred text file editor) :
1- sudo cp /usr/local/bin/zram /etc/init.d
2- sudo update-rc.d zram defaults
3- sudo leafpad /etc/init.d/zram
change zram factor=25 to 100 (ZRAM Factor=100, 1CPU. 200, 2CPU. 400, 4CPU, etc. it works for my pc).
4- next swappiness 60 (default) to 100.
5- Edit fstab by doing this: sudo leafpad /etc/fstab
Add this line and save:
tmpfs /var/tmp tmpfs rw,nodev,nosuid,mode=1777 0 0
6-Reboot your computer
To remove zram via the terminal:
Open the terminal and do this steps:
1- sudo /etc/init.d/zram stop
2- sudo update-rc.d -r zram
3- sudo rm /etc/init.d/zram
4- Reboot your computer
P.
Re: Antix-Linux install on OLD EEEPC(asus)
Posted: Fri Nov 30, 2018 7:20 am
by stsoh
PPC wrote: ↑Fri Nov 30, 2018 6:56 am..having problems with the swappiness change... any tips?:...
open root thunar, goto /etc/ folder.
double click on sysctl.conf file to edit and add below to eol (end-of-line);
open terminal and update sysctl;
to check,
Re: Antix-Linux install on OLD EEEPC(asus)
Posted: Fri Nov 30, 2018 7:40 am
by stsoh
PPC wrote: ↑Fri Nov 30, 2018 6:56 am..
3- sudo leafpad /etc/init.d/zram....
mx17.1_64 use featherpad.......

Re: Antix-Linux install on OLD EEEPC(asus)
Posted: Fri Nov 30, 2018 8:09 am
by stsoh
runs very well on my old pc........push everything to run on ram if u can.
firefox url bar key-in about:config,
browser.cache.disk.enable=false
browser.cache.offline.enable=false
check n make sure
browser.cache.memory.enable=true
check cache in memory, about:cache

Re: Antix-Linux install on OLD EEEPC(asus)
Posted: Fri Nov 30, 2018 9:17 am
by caprea
Chriske wrote: ↑Fri Nov 30, 2018 6:48 am
Although I activated the switch 'Automatic reconnect to this network' I need to reactivate and enter login to access the network in the Wicd network manager after I reboot the system.
You have to make these changes
https://www.antixforum.com/forums/topic ... post-13591
BTW, this would not be nessecary and the wicd-daemon would start automatically, if the wicd was choosen with F4 key before installation.
Re: Antix-Linux install on OLD EEEPC(asus)
Posted: Thu Aug 08, 2019 8:42 pm
by fishmanloveslinux
I installed antix 17.4 on my ASUS Eee PC 900HD and it works fine.