Skip to contentSkip to conversation

if i hope to build relay network via batman-adv , whether i will obtain Networkcoding part via config menuconfig and compile?

DISCUSSION johnzeng 1 participant 3 messages Nov 3, 2016

lore
Share & tools
lore

johnzeng

author
#0 lore raw

Hello Dear Sir :

if i hope to build relay network via batman-adv , whether i will obtain Networkcoding part via config menuconfig and compile.

whether i need config other except part A ?

Part A

batctl nc 0
echo 0 > /sys/class/net/bat0/mesh/network_coding ip link set dev wlan0 promisc on
ip link set dev wlan0 mtu 1546

Thanks

author
#1 lore raw

Hello Dear SIr :

When i compile the part , whether i need make
CONFIG_BATMAN_ADV_BATMAN_V=y at batman-adv-2016.2

Thanks

Quoted 19 lines

Hello Dear Sir :

if i hope to build relay network via batman-adv , whether i will obtain Networkcoding part via config menuconfig and compile.

whether i need config other except part A ?

Part A

batctl nc 0
echo 0 > /sys/class/net/bat0/mesh/network_coding ip link set dev wlan0 promisc on
ip link set dev wlan0 mtu 1546

Thanks

author
#2 lore raw
In reply to johnzeng

Hello Dear Sven:

there are /a clerical/ //error// about batctl nc and i compiled the part .

run these command in according to advisement for relay mode

batctl nc 1
echo 1 > /sys/class/net/bat0/mesh/network_coding ip link set dev wlan0 promisc on
ip link set dev wlan0 mtu 1546

if i send a packet from host A to hostC via hostB, whether hostB will open relay mode at layer2 .

Best Regards

TIger