From Wanos Wiki
Jump to: navigation, search

Document migrated. An updated Terminal Commands Guide can be found in the Wanos Documentation site

List of some command line utilities

Add custom applications

vi /tce/etc/wanos/portobjects


ARP Table

wanos-show arptable.table


Check if we are sending probes in TCP Options header

sudo tcpdump -i wan0 -X | grep "4c04 7a69"


Dump Traffic into file for further WireShare examination

sudo tcpdump -i wan0 -s 0 -w dump.pcap


Dump traffic on wan0 port

sudo tcpdump -i wan0


Edit groupobjects

vi /tce/etc/wanos/groupobjects


Edit inittab

vi /etc/inittab


Edit mactab

vi /tce/etc/mactab


Edit Wanos Bootloader

vi /tce/boot/extlinux/extlinux.conf


Edit Wanos Configuration

vi /tce/etc/wanos/wanos.conf


Enable Out of Band Management

vi /opt/bootsync.sh


Format a new partition

sudo mkfs.ext4 sdXX

Replace X with the correct disk and/or partition number


Partition the free space to be used for the datastore

/tce/etc/wanos/wanos-fdisk sda


Reboot

sudo reboot


Restore Wanos defaults

/etc/wanos/clean.sh 


Shutdown

sudo poweroff


Stop all Wanos Services

/etc/init.d/wanosd stop-all


Soft reset

/etc/wanos/wanos reconfigure


Switch MAC Table

wanos-show sw.table