Sasecurity Wiki
Advertisement


asdf[]

* AddressRp , BroadUnblock ,  DmeSg ,  HjDetectMode ,  IwSpy ,  IwList ,  IwConfig
* IwPriv ,  MinSig , MaxIspy, NetStat,  GetAndverify ,  TraceRoute ,  IpTables
* SigSpy , SpeedDaemon, ProCs , BiOs ,  RemoteManagement
* ReporterAndWds , RePorter , ResetKey  MeshInPoliceCars,  TcpDump


Additional shell commands[]

ShellCommands

Shell commands[]

*http://www.wifi-base.com/content/view/36/1/
*http://locustworld.com/tracker/wiki?p=TipsAndTricks 

{{{

ifconfig - shows the interface configuration, the same as the ethernet / wlan section of reporter iwconfig - shows the wireless interface configuration - many options available

iwlist - useful stats from wireless interface
distread - used before a remotemanagement this cleans up some things. Careful! Its is roughly the same as factoryreset, Seems to kill the dhcpd.leases file (?)

Factoryreset - puts meshbox back to original factory state. Will require you to get a new certificate again from wiana and get the wiana settings again.

remotemanagement - use this to get the Mesh node to connect to Wiana and get the latest settings. The Mesh node should do this automatically every 30mins, but sometimes you just dont want to wait :-)

getandverify - use getandverify tobuild23 etc to download the latest mesh software and patches. getandverify test - can be used to check the link to Wiana
checkforupdates - checks at wiana.org for the latest released software version. If you're up- to-date it will report your current version.

cat /proc/aodv/... - in here you can find files with current details of the meshing and aodv operation.

cat /var/state/dhcp/dhcpd.leases - tells you which DhCp leases have been given out to clients and when they expire.

ssh - use SSH to remote control another machine or node

ping - check the tcp/ip connection between machines
shutdown or reboot or poweroff - self explainatory
cwradius -  use to test user authentication from Radius server. Usage: cwradius username password
mii-tool - allows interrogation of status of ethernet module, and allows you to specify settings or to reset the ethernet
sigspy - gives signal strength and noise for wireless connections (client and MeshAP)
cd /hj detectmode  forces the node to autodetect modes
cat /proc/net/hostap/wlan0/ap - checks to see what other APs the node can see.

}}}


ResetKey[]

I think the command is ResetKey I see there is also a resetauthkeys command - not sure how that works though. The resetkey command should work.

> I am not sure how this happened but I have a node with two hardware > keys and two wiana IP but both can not obtain wiana IP certificate. > All I did is reflash the CF card using Locust World CF loader. I > released it from wiana, I run resetkey command but all did not help. > > Is there any way to WINSCP into the node and delete hardware keys in > order for the node to get new IP and certificate from wiana.


/PingTheMesh

links[]

MeshNetworking

EDIT ME[]

https://web.archive.org/web/20040811132955/http://withoutwires.ath.cx/FAQs/Locust_FAQ/MeshAP_-_Some_Console_Commands/30/

reporter - shows the ethernet & wlan card settings, will also show if you have a gateway connection, clients connected or other mesh nodes in range. Can be prefixed with 'watch ' to get a continuously updating report.

ifconfig - shows the interface configuration, the same as the ethernet/wlan section of 'reporter'

iwconfig - shows the wireless interface configuration - many options available - more information at http://leaf.sourceforge.net/devel/jnilo/manpages/iwconfig.html

iwlist - useful stats from wireless interface - more info at: http://leaf.sourceforge.net/devel/jnilo/manpages/iwlist.html See FireWall

distread - used before a 'remotemanagement' this cleans up some things. Careful! Its is roughly the same as 'factoryreset' Seems to kill the dhcpd.leases file (?)

factoryreset - puts meshbox back to original factory state. Will require you to get a new certificate again from wiana and get the wiana settings again.

remotemanagement - use this to get the Mesh node to connect to Wiana and get the latest settings. The Mesh node should do this automatically every 30mins, but sometimes you just don't want to wait :-)

getandverify - use: 'getandverify tobuild23' etc to download the latest mesh software and patches. 'getandverify test' can be used to check the link to Wiana

checkforupdates - checks at wiana.org for the latest released software version. If you're up- to-date it will report your current version.

cat /proc/aodv/... - in here you can find files with current details of the meshing and aodv operation.

cat /var/state/dhcp/dhcpd.leases (?) - tells you which DHCP leases have been given out to clients and when they expire.

ssh <ipaddress> - us SSH to remote control another machine or node

ping <ipaddress> - check the tcp/ip connection between machines

shutdown or reboot or poweroff - self explainatory?

cwradius : use to test user authentication from Radius server. Usage: cwradius username password

mii-tool - allows interrogation of status of ethernet module, and allows you to specify settings or to reset the ethernet

sigspy - gives signal strength and noise for wireless connections (client and MeshAP)

Advertisement