Opened 3 years ago

Closed 2 years ago

#19649 closed defect (moved_to_github)

netifd: regression on protocols without `proto_task`.

Reported by: yousong Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: base system Version: Trunk
Keywords: netifd, xl2tpd Cc:



I just found that with netifd commit [1], LAC mode of xl2tpd does not work anymore.

Unlike other pppd related protocols, L2TP with xl2tpd relies on the daemon xl2tpd to start the pppd process. It uses xl2tpd-control in proto_l2tp_setup to communicate with the daemon and returns without calling proto_run_command.

The current netifd requires a proto_task being in running state, thus will try setting up, tearing down again and again in vain. Adding a dummy `proto_run_command "$interface" sleep 1800" will bring the interface up though.


Attachments (0)

Change History (4)

comment:2 Changed 3 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

netifd update committed in r45748

comment:3 Changed 2 years ago by ettavolt@…

  • Resolution fixed deleted
  • Status changed from closed to reopened

Could you please update xl2tpd Makefile in 15.05 packages ( 15.05 openwrt repo points to netifd of 2015-06-08 (which includes this fix), but packages for it point to old xl2tpd, that works only with pre;a=commit;h=d0dcf744ba054c9b572be63519b1415685353c8d netifd.
I've additionally tested e057fcb4a260c70f0271f8fdcd7140775a09791f netifd + 5674a5835e9b89b7438917a380f3a6d68528fa3e xl2tpd (these were pointed by Makefiles in trunk at 2015-08-30), and router was able to open tunnel.

comment:4 Changed 2 years ago by nbd

  • Resolution set to moved_to_github
  • Status changed from reopened to closed

xl2tpd is maintained here:

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.