Project

General

Profile

Bug #247

fastd start/stop problem with multitap configuration on LEDE/OpenWRT

Added by Fabio Bettoni almost 2 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
05/25/2017
Due date:
% Done:

0%


Description

Hi,
I'm trying to configure fastd in multitap mode, to have one interface for each peer, and let them being managed by batman-adv.
With tap mode there is no problem,
but with multitap mode I get the following errors starting and stopping.
Anyway, after start command, fastd daemon is running.
Do you have any idea how to solve ? Maybe /etc/init.d/fastd is not coded to manage multitap configuration.
Thank you
Fabio

root@TL-WDR4300:/etc/config# /etc/init.d/fastd start
/etc/init.d/fastd: Ninux_Lombardia: startup failed
root@TL-WDR4300:/etc/config# ip link
31: fDiego: mtu 1426 qdisc noop state DOWN qlen 1000
link/ether 72:43:97:68:58:dc brd ff:ff:ff:ff:ff:ff
32: fPaolo: mtu 1426 qdisc noop state DOWN qlen 1000
link/ether 12:ab:73:fc:00:ff brd ff:ff:ff:ff:ff:ff
root@TL-WDR4300:/etc/config# /etc/init.d/fastd stop
/etc/init.d/fastd: Ninux_Lombardia: interface 'f%n' does not exist
root@TL-WDR4300:~# cat /etc/config/fastd
package fastd
config fastd Ninux_Lombardia
option enabled 1
option syslog_level 'debug'
list bind 'any:4383'
list method 'null+salsa2012+umac'
option mode 'multitap'
option interface 'f%n'
option mtu 1426
option forward 1
option secure_handshakes 1
option secret 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
config peer Diego
option enabled 1
option net 'Ninux_Lombardia'
option key 'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy'
config peer Paolo
option enabled 1
option net 'Ninux_Lombardia'
option key 'zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz'

History

#1 Updated by Matthias Schiffer almost 2 years ago

This is indeed a known issue, the initscript was not properly updated to support the new features of fastd 18. I'll try to fix this soon.

#2 Updated by Fabio Bettoni almost 2 years ago

Matthias Schiffer wrote:

This is indeed a known issue, the initscript was not properly updated to support the new features of fastd 18. I'll try to fix this soon.

Thank you a lot

Also available in: Atom PDF