-
Notifications
You must be signed in to change notification settings - Fork 1
Setup Access Point
- Find out what architecture your access point is by looking it up on the OpenWRT wiki.
- Download the package for the matching architecture for your access point. You find the package in the artifacts of the build pipeline or you can cross-compile it yourself.
- Verify that you have ssh connectivity to the access point. OpenWRT guide for ssh
- Copy the package via SCP from your computer to the access point
scp -O <Path to WiMoVE on your machine> <access-point>
- Login via ssh on to your access point.
- Install the package on your access point via
opkg update && opkg install <Path to WiMoVE>
. An internet connection is required for this step in order to fetch dependencies. - Run
wimove
. You should see an error message, which shows that wimove is successfully installed.
- Install
frr
viaopkg update && opkg install frr-bgpd frr-zebra frr-watchfrr frr-vtysh
- Copy
sample-configs/access-points/daemons
andsample-configs/access-points/frr.conf
to the directory/etc/frr/
. - Replace placeholder values in sample configs with actual values. Placeholder values are marked with
<>
. - Restart
frr
by runningservice frr restart
You can check the configuration of FRR with the vtysh
command. This command provides a stateful shell to manipulate FRR. More detailed documentation about vtysh can be found here
The hostapd config will be generated for you from /etc/config/wireless
.
- It is important that the full version of hostapd is installed. The default package for hostapd does not work with our software. The correct package is named
hostapd
- Configure a Wi-Fi network for the access point with
WPA-PSK
security via the web interface. - The file
/etc/config/wireless
should now contain awifi-iface
section. The following options are required in this section.
option isolate '1'
option per_sta_vif '1'
option vlan_file '/etc/hostapd.vlan'
- Create the file
/etc/hostapd.vlan
with the following content:
* vlan#
- Restart the access point
When connecting to the Wi-Fi network you just created, you should see that an interface with the name vlan*
gets created where * is an arbitrary number. The interface should disappear, after the station disconnects. You can check the existing interfaces with ip l
. If you do not see the interfaces, recheck that you followed the guide exactly.
The default path for WiMoVE config is /etc/wimove/config
. It can be configured as the first command line argument of WiMoVE. A default configuration file is available at sample-configs/access-points/wimove
. There are listed all configuration options with the default values and an explanation. Right now there is almost no configuration. If you miss any configuration option, please feel free to open an issue.
After a successful configuration, you can run wimove
and it should start without any errors. When connecting with a client, you should see log messages.