Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#10821 closed defect (fixed)

pptp connect at boot fails

Reported by: Anton Ryzhov Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: pptp, ppp, dhcp, auto Cc:

Description

When pptp is enabled to autostart at boot, and underlaying interface is configured via dhcp, it can't connect.

Openwrt brings up underlaying interface (e.g. ethernet). Then immediately runs pptp connection, when eth waits for dhcp response. pptp.sh script gives wrong gateway from non-configured interface and tries to connect for ever.

I've added server ping in script, which makes sure that ethernet is configured and server exists.

Found in "Backfire", seems it affects "trunk" as well.

Attachments (1)

pptp-checkserv.diff (438 bytes) - added by Anton Ryzhov 6 years ago.
/trunk/package/pptp/files/pptp.sh

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by Anton Ryzhov

/trunk/package/pptp/files/pptp.sh

comment:1 Changed 6 years ago by jow

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

This should be fixed since the switch to netifd, it correctly deals with the reachability implications.

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.