How to

Boot Slax Router from USB flash drive

If you use linux just mount ISO image on the empty folder:

[root ~]# mkdir /mnt/slaxrouter
[root ~]# mount -o loop slaxrouter-0.1.iso /mnt/slaxrouter

mount USB flash device and copy all files from iso mounted folder to your USB flash drive:

[root ~]# mount /dev/sdbX /mnt/sdbX
[root ~]# cp -r * /mnt/slaxrouter /mnt/sdbX

and run bootinst.sh script:

[root ~]# mount /dev/sdbX /mnt/sdbX/boot/bootinst.sh

If you use windows just copy ISO images files to your flash drive using 7zip and run \boot\bootinst.bat script

Configure Slax Router via web browser

If you use 0.1 release - you have to login to Slax Router and run webmin first by typing:

[root ~]# /etc/rc.d/rc.webmin start

From 0.2 release webmin service is starting from xinetd so you don't have to run webmin service, just connest to it and webmin service will be start automaticly. By default eth0 interface is set to 192.168.0.1 address . Webmin service is available on 10000 port by default, you can change that by editing /etc/webmin/miniserv.conf file. If you are connected to eth0 interface, you can connect to webmin by typing http://192.168.0.1:10000 on your web browser.

From 0.3 release SSL connection is used, you can connect to webmin by typing https://192.168.0.1:10000 on your web browser.

Default username: admin
Default password: admin

Test Slax Router from local host using qemu

If you use linux run qemu with command:

[root ~]# qemu -net nic,vlan=0 -net tap,vlan=0,ifname=tap0 -boot d -cdrom slaxrouter-0.1.iso

If you use 0.1 release - run webmin service after you login in qemu virtual host:

[root ~]# /etc/rc.d/rc.webmin start

From 0.2 release webmin service is starting from xinetd and there is no need to run it manually
Set ip address to your virtual tap0 interface:

[root ~]# ifconfig tap0 192.168.0.2 netmask 255.255.255.0

Login to webmin using web browser on address 192.168.0.1:10000