From Wanos Wiki
Jump to: navigation, search
(List of some command line utilities)
 
Line 1: Line 1:
 +
<font size=5> Document migrated. An updated [http://wanos.co/docs/docs/frequently-asked-questions/terminal-commands/ Terminal Commands Guide] can be found in the [http://wanos.co/docs Wanos Documentation site] </font>
 +
<font color=#dddddd>
 +
 
==List of some command line utilities==
 
==List of some command line utilities==
  
Line 76: Line 79:
 
'''Switch MAC Table'''
 
'''Switch MAC Table'''
 
  wanos-show sw.table
 
  wanos-show sw.table
 +
 +
</font>

Latest revision as of 12:00, 9 February 2017

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