This is an old revision of the document!
Distro - openwrt / ubnt edgeos
Press tab twice to get full list of commands
Basic command shell is busy box
Basic software is based off Openwrt
-
Commands:
reboot to restart
-
info shows a lot of good info aboue devicedhcp lease located in file /tmp/dhcp.leases
iwconfig ath0 to see a nice breakdown of AP
mca-status to see status of AP - more then above readout, firmware, ip, etc
wstalist to see messy complex info of each station
wstalist | grep mac to see connected macs
wstalist | grep -A 36 [mac of device] To see all relevant data
iwlist for various options such as
iwilist [interface] accesspoints to see what access points are avaialbe (same if did peers)
radarmon - need to check into more, but might be good for DFS issues
Update firmware via cli
Resource: https://help.ubnt.com/hc/en-us/articles/204959804-airMAX-How-do-I-upgrade-the-firmware-from-the-CLI-SSH-
Get firmware on device in folder /tmp/ (see below)
Rename file to “fwupdate.bin”
$fwupdate -m /tmp/fwupdate.bin
There are 3 main ways to get file to device. For First and second option you need to dl firmware onto computer
Windows: Use Winscp to transfer file to location. Be sure to have winscp set to scp mode, not sftp
Linux: $scp [user]@[dest IP] [local location file] [remote location]
SSH into device:
Tip: the link of file can be copied from the ubnt firmware page when you choose the fw to use.
Change Config File
Tough switch port names
ubntbox
A propriatary tool for ubnt related things such as: