On 10/27/2017 02:21 PM, Amuza wrote:
Could somehow a LiMe router connect as a client to an
external Wi-Fi
network and use that connection as a WAN?
I mean a LiMe router joining -as a station- a third-party AP (in
infrastructure mode), use that connection as a WAN, and keeping every
LiMe feature.
Yep, it is absolutely doable.
I would use a wireless network interface on the router exclusively for
acting as client, I'm pretty sure you can't do station, AP and mesh at
the same time with the same interface :)
You can find instructions for this in /docs/lime-example in your router
or online here:
https://github.com/libremesh/lime-packages/blob/17.06/packages/lime-docs/fi…
I copy and paste here the interesting part:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# If you want to use Wifi client mode just to connect to an AP offering
internet
# you need two pieces of configuration the wifi specific configuration
and the
# network specific one like in the following example.
#config wifi radio13
# list modes 'client'
# option channel_2ghz 'auto'
# option client_ssid 'SomeWiFiNetwork'
# option client_key 'SomeWPApskPassword'
# option client_encryption 'psk' # psk for WPA or psk2 for
WPA2
#config net wirelessclient
# option linux_name 'wlan0-client' # the client interface
name could be named differently, like wlan1-client
# list protocols 'wan' # use wan to get Internet
connectivity via DHCP
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
If you're interested to have some more insights on this feature you can
pick information from these links:
https://github.com/libremesh/lime-packages/issues/47
https://github.com/libremesh/lime-packages/issues/127