RISCi_ATOM 9810a4e618 Revert package feed back | hace 6 años | |
---|---|---|
.. | ||
README.md | hace 6 años | |
travelmate.conf | hace 6 años | |
travelmate.init | hace 6 años | |
travelmate.sh | hace 6 años |
If you’re planning an upcoming vacation or a business trip, taking your laptop, tablet or smartphone give you the ability to connect with friends or complete work on the go. But many hotels don’t have a secure wireless network setup or you’re limited on using a single device at once. Investing in a portable, mini travel router is a great way to connect all of your devices at once while having total control over your own personalized wireless network.
A logical combination of AP+STA mode on one physical radio allows most of OpenWrt/LEDE supported router devices to connect to a wireless hotspot/station (STA) and provide a wireless access point (AP) from that hotspot at the same time. Downside of this solution: whenever the STA interface looses the connection it will go into an active scan cycle which renders the radio unusable for AP mode operation, therefore the AP is taken down if the STA looses its association.
To avoid these kind of deadlocks, travelmate set all station interfaces in an "always off" mode and connects automatically to available/configured hotspots.
1. configure a wwan interface in /etc/config/network:
[...]
config interface 'wwan'
option proto 'dhcp'
[...]
2. add this interface to your firewall configuration in /etc/config/firewall:
[...]
config zone
option name 'wan'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
option network 'wan wan6 wwan'
[...]
3. add required ap and wwan stations to your wireless configuration in etc/config/wireless:
[...]
config wifi-iface
option device 'radio0'
option network 'lan'
option ifname 'wlan0'
option mode 'ap'
option ssid 'example_ap'
option encryption 'psk2+ccmp'
option key 'abc'
option disabled '0'
[...]
config wifi-iface
option device 'radio0'
option network 'wwan'
option mode 'sta'
option ssid 'example_01'
option ifname 'wwan01'
option encryption 'psk2+ccmp'
option key 'abc'
option disabled '1'
config wifi-iface
option device 'radio0'
option network 'wwan'
option mode 'sta'
option ssid 'example_02'
option ifname 'wwan02'
option encryption 'psk2+ccmp'
option key 'xyz'
option disabled '1'
config wifi-iface
option device 'radio0'
option network 'wwan'
option mode 'sta'
option ssid 'example_03'
option ifname 'wwan03'
option encryption 'none'
option disabled '1'
[...]
4. reload network configuration & start travelmate:
/etc/init.d/network reload
/etc/init.d/travelmate start
Please join the travelmate discussion in this forum thread or contact me by mail
Have fun!
Dirk