Difference between revisions of "Wlan"

From RobotinoWiki
(WLAN master)
Line 12: Line 12:
 
The WLAN master on Robotino is run by [http://linuxwireless.org/en/users/Documentation/hostapd hostapd]. A german how-to on setting up a WLAN router using hostapd can be found [http://wiki.ubuntuusers.de/WLAN_Router here]. Additionally a [http://wiki.ubuntuusers.de/ISC-DHCPD DHCP server] is running assigning IP addresses to clients connecting to Robotino's access point.
 
The WLAN master on Robotino is run by [http://linuxwireless.org/en/users/Documentation/hostapd hostapd]. A german how-to on setting up a WLAN router using hostapd can be found [http://wiki.ubuntuusers.de/WLAN_Router here]. Additionally a [http://wiki.ubuntuusers.de/ISC-DHCPD DHCP server] is running assigning IP addresses to clients connecting to Robotino's access point.
  
When running as WLAN master Robotino has the fixed IP address 172.26.1.1 with netmask 255.255.0.0. The DHCP server assigns addresses in the range 172.27.1.100 to 172.26.1.200.
+
When running as WLAN master Robotino has the fixed IP address 172.26.1.1 with netmask 255.255.0.0. The DHCP server assigns addresses in the range 172.26.1.100 to 172.26.1.200.
  
 
Configuration:
 
Configuration:
Line 22: Line 22:
 
*[http://svn.openrobotino.org/daemons/trunk/scripts/usr/local/bin/start-wlan0-master.sh usr/local/bin/start-wlan0-master.sh]
 
*[http://svn.openrobotino.org/daemons/trunk/scripts/usr/local/bin/start-wlan0-master.sh usr/local/bin/start-wlan0-master.sh]
 
*[http://svn.openrobotino.org/daemons/trunk/scripts/usr/local/bin/stop-wlan0-master.sh usr/local/bin/stop-wlan0-master.sh]
 
*[http://svn.openrobotino.org/daemons/trunk/scripts/usr/local/bin/stop-wlan0-master.sh usr/local/bin/stop-wlan0-master.sh]
 +
 +
====5GHz WLAN====
 +
If your network adapter supports 5GHz WLAN you can setup your system to use this frequency by manually editing /etc/hostapd.conf
 +
<pre>
 +
hw_mode=a
 +
channel=44
 +
</pre>
 +
After saving your changes restart the wlan interface
 +
<pre>
 +
ifdown wlan0
 +
ifup wlan0
 +
</pre>
  
 
===WLAN client===
 
===WLAN client===

Revision as of 08:24, 7 October 2013

Robotino v1 and v2

Robotino up to version 2 is equipped with an internal access point. This internal AP can be configured as client or master.

Robotino v3

The next generation Robotino will use an USB WLAN stick to either connect to an access point in client mode or provide a access point external clients can connect to in master mode. Various WLAN USB adapters are supported. The following list shows the USB sticks tested to work in both client and master mode:

  • AVM Fritz!WLAN USB Stick N (support for a/b/g/n)

The following adapters are known to work at least in client mode:

  • Alfa AWUS036EW USB WLAN Stick (support for b/g)
  • Alfa AWUS036H USB WLAN (support for b/g)

WLAN master

The WLAN master on Robotino is run by hostapd. A german how-to on setting up a WLAN router using hostapd can be found here. Additionally a DHCP server is running assigning IP addresses to clients connecting to Robotino's access point.

When running as WLAN master Robotino has the fixed IP address 172.26.1.1 with netmask 255.255.0.0. The DHCP server assigns addresses in the range 172.26.1.100 to 172.26.1.200.

Configuration:

5GHz WLAN

If your network adapter supports 5GHz WLAN you can setup your system to use this frequency by manually editing /etc/hostapd.conf

hw_mode=a
channel=44

After saving your changes restart the wlan interface

ifdown wlan0
ifup wlan0

WLAN client

In client mode the WLAN interface of Robotino connects to an external accesspoint. Robotino can be assigned a fixed IP address or can obtain an address from an external DHCP server.

Configuration: