Antix-Linux install on OLD EEEPC(asus)

Message
Author
Chriske
Posts: 23
Joined: Wed Nov 28, 2018 6:48 pm

Re: Antix-Linux install on OLD EEEPC(asus)

#21 Post 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...??

User avatar
stsoh
Posts: 183
Joined: Sun Aug 20, 2017 10:11 am

Re: Antix-Linux install on OLD EEEPC(asus)

#22 Post 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
Last edited by stsoh on Fri Nov 30, 2018 6:47 am, edited 1 time in total.
MX-17.1_x64 Horizon, G41M-P33 Combo (MS-7592), Pentium E5400 (2706 MHz), 8Gb RAM (984 MT/s),
Intel 4 Series Integrated Graphics, Realtek PCIe Fast RTL8101/2/6E, PCI Gigabit RTL8169 Ethernets.
Accepted Linux when i found MX-Linux in 2016.

User avatar
stsoh
Posts: 183
Joined: Sun Aug 20, 2017 10:11 am

Re: Antix-Linux install on OLD EEEPC(asus)

#23 Post by stsoh »

i found a better zram script which create zram per core.
open terminal, input;

Code: Select all

sudo /etc/init.d/zram stop
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;

Code: Select all

sudo /etc/init.d/zram start
terminal to check,

Code: Select all

dmesg|grep zram
Last edited by stsoh on Fri Nov 30, 2018 8:32 am, edited 1 time in total.
MX-17.1_x64 Horizon, G41M-P33 Combo (MS-7592), Pentium E5400 (2706 MHz), 8Gb RAM (984 MT/s),
Intel 4 Series Integrated Graphics, Realtek PCIe Fast RTL8101/2/6E, PCI Gigabit RTL8169 Ethernets.
Accepted Linux when i found MX-Linux in 2016.

Chriske
Posts: 23
Joined: Wed Nov 28, 2018 6:48 pm

Re: Antix-Linux install on OLD EEEPC(asus)

#24 Post 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

PPC
Posts: 362
Joined: Tue Sep 11, 2018 8:22 am

Re: Antix-Linux install on OLD EEEPC(asus)

#25 Post by PPC »

stsoh wrote: Fri Nov 30, 2018 6:08 am suggest for those with 1,2,even 4gb ram to implement zram and zswap.
https://mxlinux.org/wiki/other/zram
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.

User avatar
stsoh
Posts: 183
Joined: Sun Aug 20, 2017 10:11 am

Re: Antix-Linux install on OLD EEEPC(asus)

#26 Post by stsoh »

PPC wrote: Fri Nov 30, 2018 7: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);

Code: Select all

vm.swappiness = 100
open terminal and update sysctl;

Code: Select all

sudo sysctl -p
to check,

Code: Select all

sysctl vm
MX-17.1_x64 Horizon, G41M-P33 Combo (MS-7592), Pentium E5400 (2706 MHz), 8Gb RAM (984 MT/s),
Intel 4 Series Integrated Graphics, Realtek PCIe Fast RTL8101/2/6E, PCI Gigabit RTL8169 Ethernets.
Accepted Linux when i found MX-Linux in 2016.

User avatar
stsoh
Posts: 183
Joined: Sun Aug 20, 2017 10:11 am

Re: Antix-Linux install on OLD EEEPC(asus)

#27 Post by stsoh »

PPC wrote: Fri Nov 30, 2018 7:56 am..
3- sudo leafpad /etc/init.d/zram....
mx17.1_64 use featherpad....... :p
MX-17.1_x64 Horizon, G41M-P33 Combo (MS-7592), Pentium E5400 (2706 MHz), 8Gb RAM (984 MT/s),
Intel 4 Series Integrated Graphics, Realtek PCIe Fast RTL8101/2/6E, PCI Gigabit RTL8169 Ethernets.
Accepted Linux when i found MX-Linux in 2016.

User avatar
stsoh
Posts: 183
Joined: Sun Aug 20, 2017 10:11 am

Re: Antix-Linux install on OLD EEEPC(asus)

#28 Post 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 :thumbup:
Last edited by stsoh on Fri Nov 30, 2018 12:22 pm, edited 6 times in total.
MX-17.1_x64 Horizon, G41M-P33 Combo (MS-7592), Pentium E5400 (2706 MHz), 8Gb RAM (984 MT/s),
Intel 4 Series Integrated Graphics, Realtek PCIe Fast RTL8101/2/6E, PCI Gigabit RTL8169 Ethernets.
Accepted Linux when i found MX-Linux in 2016.

caprea
Posts: 146
Joined: Sat Aug 23, 2014 7:01 am

Re: Antix-Linux install on OLD EEEPC(asus)

#29 Post by caprea »

Chriske wrote: Fri Nov 30, 2018 7: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.

User avatar
fishmanloveslinux
Posts: 8
Joined: Sat Jul 08, 2017 3:53 pm

Re: Antix-Linux install on OLD EEEPC(asus)

#30 Post by fishmanloveslinux »

I installed antix 17.4 on my ASUS Eee PC 900HD and it works fine.
Last edited by fishmanloveslinux on Wed Oct 16, 2019 1:26 pm, edited 1 time in total.

Post Reply

Return to “antiX”