Difference between revisions of "Allnet ap"
From RobotinoWiki
(→allnet_find.sh) |
(→allnet_init_ap_mode.sh) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
:User/Password: admin/apap6 | :User/Password: admin/apap6 | ||
− | ===[http://svn.openrobotino.org/trunk/openrobotino1/daemons/lcdd/scripts/allnet_write_festo_settings.sh allnet_write_festo_settings.sh=== | + | ===[http://svn.openrobotino.org/trunk/openrobotino1/daemons/lcdd/scripts/allnet_write_festo_settings.sh allnet_write_festo_settings.sh]=== |
− | Writes Festo settings to a AP with factory defaults. Takes the Robotino ID as parameter. | + | 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. | ||
+ | [[Image:Allnet_mode_switch.jpg|right|thumb|200px|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 | ||
+ | |||
+ | ===[http://svn.openrobotino.org/trunk/openrobotino1/daemons/lcdd/scripts/allnet_init_client_mode.sh 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 | ||
+ | |||
+ | ===[http://svn.openrobotino.org/trunk/openrobotino1/daemons/lcdd/scripts/allnet_init_ap_mode.sh 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 | ||
+ | |||
+ | ===[http://svn.openrobotino.org/trunk/openrobotino1/daemons/lcdd/scripts/allnet_getchannel.sh allnet_getchannel.sh]=== | ||
+ | Read current channel. | ||
+ | |||
+ | ===[http://svn.openrobotino.org/trunk/openrobotino1/daemons/lcdd/scripts/allnet_getssid.sh allnet_getssid.sh]=== | ||
+ | Read current SSID. |
Latest revision as of 16:06, 26 January 2012
Robotino ships with an internal wireless accesspoint/bridge (AP). The AP is managed by a couple of bash scripts.
Contents
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.
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.