o11s / open80211s

open80211s
Other
242 stars 55 forks source link

after setting mesh gate, mesh link has been severed(-67) #71

Closed lingyunli63 closed 6 years ago

lingyunli63 commented 6 years ago

mp1 (laptop1) and mp2 build up a mesh network and works fine. i want make loptop1 a bridge between mesh and ethernet. so i do the following on laptop1,

mpp$ brctl addbr br0 mpp$ brctl stp br0 off mpp$ brctl addif br0 eth1 mpp$ brctl addif br0 $MESH_IFACE mpp$ ifconfig $MESH_IFACE down mpp$ ifconfig eth1 down mpp$ ifconfig $MESH_IFACE 0.0.0.0 up mpp$ ifconfig eth1 0.0.0.0 up mpp$ ifconfig br0 ${MESH_IP}

then command iw dev $MESH_IFACE set mesh_param mesh_hwmp_rootmode=4 it replys command failed: Link has been severed(-67)

to check comand iwconfig, it shows br0 no wireless extensions.

what is the problem?

chunyeow commented 6 years ago

Check bridge interface whether your mesh interface has been added.

On Tue, Dec 19, 2017 at 8:58 PM, lingyunli63 notifications@github.com wrote:

mp1 (laptop1) and mp2 build up a mesh network and works fine. i want make loptop1 a bridge between mesh and ethernet. so i do the following on laptop1,

mpp$ brctl addbr br0 mpp$ brctl stp br0 off mpp$ brctl addif br0 eth1 mpp$ brctl addif br0 $MESH_IFACE mpp$ ifconfig $MESH_IFACE down mpp$ ifconfig eth1 down mpp$ ifconfig $MESH_IFACE 0.0.0.0 up mpp$ ifconfig eth1 0.0.0.0 up mpp$ ifconfig br0 ${MESH_IP}

then command iw dev $MESH_IFACE set mesh_param mesh_hwmp_rootmode=4 it replys command failed: Link has been severed(-67)

to check comand iwconfig, it shows br0 no wireless extensions.

what is the problem?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/o11s/open80211s/issues/71, or mute the thread https://github.com/notifications/unsubscribe-auth/ABBewmlUGH-btnezamDZBPQ1SlUPVTYrks5tB7L1gaJpZM4RG7PS .

chunyeow commented 6 years ago

Bridging by right should be layer 2 or MAC routing. The mesh devices over your wireless network should be able to obtain its IP address from DNS server from your wired site. It all depends on how you configure your router.

On Tue, Jan 9, 2018 at 8:23 PM, lingyunli63 notifications@github.com wrote:

hi, chunyeow

it has been added. however, i solved the problem by set br0 ip as the gateway ip 192.168.3.1. add use cmd below tell mp and ethernet gateway ip "route add default gw 192.168.3.1"

is this a walkaround method or supposed to be?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/o11s/open80211s/issues/71#issuecomment-356269493, or mute the thread https://github.com/notifications/unsubscribe-auth/ABBewg2JHTqqYKhS_n3lgVg-YUVtE57Cks5tI1pQgaJpZM4RG7PS .