MiraBox User Guide
–page
16
/
29
(4) Connect to WiFi AP.
# iwconfig mlan0 essid <AP
’s ID>
# dhclient mlan0
# ifconfig mlan0
#ping 192.168.1.1
The below screenshot is an example for how to connect a mlan device. If you can see IP address (for example:
192.168.1.102), that means you have already connected and got an IP.
(5) Switch back to WiFi AP mode.
There are two useful script files:
client_ap.sh
– switch from wifi client mode to wifi AP mode
wlan.sh
– switch from wifi AP mode to wifi client mode