How to: Update Cisco Mobility Express with Web GUI and tftp without using terminal

1 Download correct firmware for the device

2 Download a tftp server

Click here to download SolarWinds TFTP Server for free

3 Navigate to “Management -> Software Update”

4 Fill correct information

Transfer ModeTFTP
IP Address(IPv4)/Name *Your tftp server IP address
File Path */
Auto RestartCheck
Cisco Mobility Express -> Management -> Softwar e Update
Cisco Mobility Express -> Management -> Softwar e Update

5 Extract Cisco firmware “AIR-APxxxx-Xx-ME-8-10-112-0.zip” packet to a folder, in the example we use “D:\cisco”

We should have following folder structure

D:\cisco\ap_supp_list.inc
D:\cisco\ap1g1
D:\cisco\ap1g4-capwap
.....
D:\cisco\apname_decoder.inc
.....
D:\cisco\version.info
 
etc. etc.

6 Launch SolarWinds TFTP Server or your favourite tftp server software

7 Configure the tftp server, in the example we use SolarWinds TFTP Server, Click on “File”

SolarWinds TFTP Server
SolarWinds TFTP Server

8 Then click on “Configure”

9 Make sure we have entered the correct “TFTP Server Root Directory” then click on “Start” button to start the TFTP service, finally click on “OK” button

9.1 Make sure you have allowed incoming connection to the tftp server in the windows firewall (In other words, make sure the access point can successfully download the files from the tftp server successfully)

10 Back to Cisco Mobility Express, double check the details filled are all correct, click on “Update” button to begin the Update process. (Update progress information will be displayed at the top of the page)

(Do not disconnect the power/Ethernet cable from the access point, or stop the tftp service etc. It may damage the device)

(You should be able to see the log from the tftp server)

SolarWinds TFTP Server Log
SolarWinds TFTP Server Log

11 Once it’s done the device will restart if you have checked “Auto Restart”

12 When fully booted, you should be able to use it again.

(Don’t forget to stop the TFTP service)


Cisco Mobility Express – Use web GUI to switch Primary image/Backup image (How to swap primary image/backup image via web gui)

(Click here to read: Cisco Access point/Switch swap primary boot image/backup boot image via command line/terminal)

1 Login to your Cisco Aironet xxxx Series Mobility Express or Cisco Mobility Express web GUI

2 Navigate to “Monitoring -> Network Summary -> Access Points”

Cisco Aironet xxxx Series Mobility Express -> Monitoring -> Network Summary -> Access Points
Cisco Aironet xxxx Series Mobility Express -> Monitoring -> Network Summary -> Access Points

3 Find “TOOLS” Tab and click on it

Cisco Aironet xxxx Series Mobility Express -> Monitoring -> Network Summary -> Access Points -> TOOLS
Cisco Aironet xxxx Series Mobility Express -> Monitoring -> Network Summary -> Access Points -> TOOLS

4 Save it by clicking on the save button on the top right corner

5 Restart the Access Point

Navigate to “Advanced -> Controller Tools -> Restart Controller -> Click on “Restart Controller” button”

6 Once it’s back online, it should be running with swapped image


Kali Linux 2019.4 install bettercap web-ui v1.3.0

Keywords: How to install bettercap, Kali Linux, How to install bettercap web-ui

1 Install the latest bettercap

# apt install bettercap

2 Download bettercap web-ui: https://github.com/bettercap/ui/releases

Click here to download the v1.3.0 ui.zip file directly

3 Extract to “/usr/share/bettercap/ui”

Kali Linux 2019.4 "/usr/share/bettercap/ui"
Kali Linux 2019.4 “/usr/share/bettercap/ui”

4 Use following command to start the web-ui

# sudo bettercap -caplet http-ui

5 Open http://127.0.0.1

6 Now you can login with default account

Username: user
Password: pass
bettercap login page
bettercap login page
bettercap web-ui
bettercap web-ui

Warning: It’s recommended to change the default login details

Change default login details

1 Use your favourite text editor to open

/usr/share/bettercap/caplets/http-ui.cap

2 Find following lines

set api.rest.username user
set api.rest.password pass
/usr/share/bettercap/caplets/http-ui.cap
/usr/share/bettercap/caplets/http-ui.cap

3 Change “user” to your preferred username, change “pass” to your preferred password

4 Save the file

5 Kill the bettercap process then use “sudo bettercap -caplet http-ui” to start the web-ui again, login with new login details

Web-UI

bettercap web-ui
bettercap web-ui
bettercap - Search bar
bettercap – Search bar

1 Recording/Replay: Record and reply the session, for reviewing the information only, it will not actually fire the commands

2 Delay for getting information from API

3 Clear the screen: Clean the screen in web-ui, if you did not save the log, the history will lost, you can probably still find them from your terminal window.

4 How many records to be displayed per page (You can click on messages to view detail)

5 Command bar: You can enter bettercap commands here e.g. “net.probe on” you can also enter terminal commands here e.g. “!ping 127.0.0.1 -c 4” it will execute the command but the output will not be displayed from web-ui.

6 Search bar: Search details in data packets e.g. password

Extended reading:

1 Web UI Usage and other commands https://www.bettercap.org/usage/

Tips

If you have encountered “File has unexpected size” -> Click here: Kali Linux apt upgrade Error – File has unexpected size