[LEDE-DEV] Routing two interfaces on same subnet

2016-07-04 Thread Baptiste Clenet
Hi, On my board, I've got a wifi and an ethernet interfaces on the same subnet (192.168.0.0/24). Problem is if ethernet cable is unplugged I can't use wifi anymore, see root@eisox:/# ip route default via 192.168.0.50 dev eth0 proto static 192.168.0.0/24 dev eth0 proto kernel scope link src 19

Re: [LEDE-DEV] Routing two interfaces on same subnet

2016-07-04 Thread Baptiste Clenet
other as the main line. > > > > Thanks, > Rujun > > 2016-07-04 16:14 GMT+08:00 Baptiste Clenet : >> Hi, >> >> On my board, I've got a wifi and an ethernet interfaces on the same >> subnet (192.168.0.0/24). Problem is if ethernet cable is unplugged

Re: [LEDE-DEV] Routing two interfaces on same subnet

2016-07-05 Thread Baptiste Clenet
Thanks Ben for your answer. How to use arp-flter? Could you suggest a configuration which solve the problem? Cheers, 2016-07-05 0:57 GMT+02:00 Ben Greear : > On 07/04/2016 02:53 PM, Baptiste Jonglez wrote: >> >> On Mon, Jul 04, 2016 at 10:54:27PM +0200, Baptiste Clenet wrote:

Re: [LEDE-DEV] Routing two interfaces on same subnet

2016-07-05 Thread Baptiste Clenet
time. How can I do that? 2016-07-05 17:23 GMT+02:00 Ben Greear : > On 07/05/2016 08:13 AM, Baptiste Clenet wrote: >> >> Thanks Ben for your answer. >> How to use arp-flter? >> Could you suggest a configuration which solve the problem? > > > I don't h

Re: [LEDE-DEV] Routing two interfaces on same subnet

2016-07-05 Thread Baptiste Clenet
Subject: [LEDE-DEV] Routing two interfaces on same subnet > From: Baptiste Clenet > To: lede-dev@lists.infradead.org > Date: 4.7.2016 10:14:26 >> >> Hi, >> >> On my board, I've got a wifi and an ethernet interfaces on the same >> subnet (192.168.0.0

Re: [LEDE-DEV] Routing two interfaces on same subnet

2016-07-05 Thread Baptiste Clenet
st bridge LAN and WIFI together, which is > the default anyway. A factory default will bring you to this setting, turn > on wifi and you are done. > Regards Tobias > > Original Message > Subject: Re: [LEDE-DEV] Routing two interfaces on same subnet > From: Baptiste

Re: [LEDE-DEV] Routing two interfaces on same subnet

2016-07-05 Thread Baptiste Clenet
gt; Let's say we have LAN and WAN interfaces as ethernet ports, and also WIFI. > > Should the WIFI be in AP or in STA mode? > Shall wifi be bridged to LAN or to the WAN interface? > > > Original Message > Subject: Re: [LEDE-DEV] Routing two interfac

Re: [LEDE-DEV] Routing two interfaces on same subnet

2016-07-06 Thread Baptiste Clenet
ot;pseudo bridge" with relayd here: > https://wiki.openwrt.org/doc/recipes/relayclient > > > On 05.07.2016 23:14, Baptiste Clenet wrote: >> >> Ok. >> I've got a router with one ethernet port and wifi in STA mode. The >> user which is going to use the ro

Re: [LEDE-DEV] Routing two interfaces on same subnet

2016-07-06 Thread Baptiste Clenet
Thing is I don't want to relay traffic from ethernet to wifi STA, I want that if ethernet is connected, wifi is disabled and if ethernet is unplugged, wifi is enabled. 2016-07-06 9:05 GMT+02:00 Baptiste Clenet : > Ok Thanks Tobias, > I will try to implement it. > So if user plugg

Re: [LEDE-DEV] Routing two interfaces on same subnet

2016-07-12 Thread Baptiste Clenet
#x27;t know if e.g. mwan3 package can do that. > > > Original Message > Subject: Re: [LEDE-DEV] Routing two interfaces on same subnet > From: Baptiste Clenet > To: Tobias Welz > Cc: lede-dev@lists.infradead.org > Date: 6.7.2016 11:19:44 >> >>

Re: [LEDE-DEV] Routing two interfaces on same subnet

2016-07-19 Thread Baptiste Clenet
ace on the CPU go up/down. At best you could poll the > switch info (if it gives you link state) > > David Lang > > > On Tue, 12 Jul 2016, Baptiste Clenet wrote: > >> Ok thanks Tobias. >> How can I detect that ethernet is plugged with hotplug? I tried some >> sc

[LEDE-DEV] Ethernet link up/down mt7688 board not detected by hotplug

2016-07-19 Thread Baptiste Clenet
Hi, I added two scripts in hotplug /etc/htoplug.d/net and /iface to check when the interface eth0 is up or down or even link up/down. Each time I plug the cable, Kernel driver says: [ 1376.48] rt305x-esw 1011.esw: link changed 0x01 and unplug: [ 1373.49] rt305x-esw 1011.esw: link c

Re: [LEDE-DEV] Ethernet link up/down mt7688 board not detected by hotplug

2016-07-19 Thread Baptiste Clenet
ernet 2016-07-19 15:35 GMT+02:00 Baptiste Clenet : > Hi, > > I added two scripts in hotplug /etc/htoplug.d/net and /iface to check > when the interface eth0 is up or down or even link up/down. > Each time I plug the cable, Kernel driver says: > [ 1376.48] rt305x-esw 1011

Re: [LEDE-DEV] Ethernet link up/down mt7688 board not detected by hotplug

2016-07-26 Thread Baptiste Clenet
Anyone has seen same behaviour on its mt7628, mt7688 or ralink board which uses esw_rt3052.c driver? Thanks 2016-07-19 18:19 GMT+02:00 Baptiste Clenet : > Additional information: > Board is down and ethernet unplugged. > Board is switched on, I wait for end of boot then I plug etherne