Allnet ap

From RobotinoWiki

Robotino ships with an internal wireless accesspoint/bridge (AP). The AP is managed by a couple of bash scripts.

allnet_find.sh

Searches for the AP in different configurations.

Factory default:

IP address 192.168.1.1/255.255.255.0
User/Password: admin/admin

Festo settings:

IP address 172.26.101.1/255.255.0.0
User/Password: admin/apap6

allnet_write_festo_settings.sh

Writes Festo settings to a AP with factory defaults. Takes the Robotino ID as parameter. The Robotino ID is a string made of two 3 digits numbers (xxx.yyy).

Only works if AP is in AP mode.

Switch the mode (AP or Client) of the AP.

When finished the AP is configured as follows:

SSID: Robotino.ID
channel: 6
no encryption
DHCP server enabled. Range: 172.26.202.1 to 172.26.201.100 netmask 255.255.0.0

allnet_init_client_mode.sh

Write settings after switching the AP to client mode.

Settings being changed:

SSID: Read from /etc/robotino/CLIENT_SSID. If file does not exist or empty RobotinoAPX.1
DHCP server is disabled

allnet_init_ap_mode.sh

Writes settings after switching the AP to AP mode.

Settings being changed:

SSID: Read from /etc/robotino/AP_SSID. If file does not exist or empty exit.
DHCP server is enabled

allnet_getchannel.sh

Read current channel.

allnet_getssid.sh

Read current SSID.