Le 17/11/2016 à 11:19, Ilario a écrit :
2016-11-17 15:46 GMT+01:00 fred
<support(a)qo-op.com>om>:
I am trying to use LiMe (chef cooked) on Bullet
M2.
Succeed flashing, changing eth0 mode into dhcp client, other iinto dhcp
server.
Whith one node only:
Me <------wlan-----> Mesh (LiMe) BULLETM2 <--eth--> Internet router
10.109.160.104 ---10.109.0.1----192.168.1.32-------192.168.1.1
Connected to mesh, I have no route to Internet...
How did you change the ethernet interface settings?
For LibreMesh to start looking for internet connection on an interface
it has to be configured as WAN in LibreMesh configuration files.
This usually happens automagically when a router comes with a physical
dedicated "WAN" port.
In your case the Bullet comes with just one port, for setting it to
WAN in LibreMesh you will have to add a specific configuration in
/etc/config/lime file.
Maybe there's also a way to do it in the web interface but I've never used
it...
You can find an example of specific interface configuration in
/etc/config/lime-example or here:
https://github.com/libremesh/lime-packages/blob/develop/packages/lime-syste…
So, try adding the following lines to /etc/config/lime:
config net eth0wan # the name here is not important
option linux_name 'eth0' # in this case there's just one ethernet
port, so no doubt that is eth0
list protocols 'wan'
then remember to launch the command "lime-config" (which parses LiMe
config and generates OpenWrt/LEDE config), reboot the router and now
should detect and share the internet connected to the ethernet port :)
I have changed LAN to DHCP client from LuCi interface.
Network/Interface/Edit (LAN)
But you are right, mess coming from only one eth0 on this device.
Here is my new
/etc/config/lime:
############################################################
# Read the documentation in /etc/config/lime.example file
# and on
https://libremesh.org
### System options
config lime system
### Network general option
config lime network
### WiFi general options
config lime wifi
# SPECIFIC ONE ETH WLAN INTERFACE
config net eth0wan
option linux_name 'eth0'
list protocols 'wan'
############################################################
After lime-config and reboot, Not better. I don't see new defined
interface and LuCi has trouble showing me Network onfig section.
There must be conflict somewhere... Should I remove LAN interface, or
reduice it to only wlan? I keep trying.
Maybe now the old settings made via Luci are mixed with the new ones
made via lime-config?
I suggest you to start again from a clean configuration, e.g.
reflashing the device (sysupgrade -n for forgetting the old conf or
via luci deselecting keep configuration).