Project

General

Profile

Actions

Bug #1621

closed

Switching WAN from type PPP to other leaves former port assigned

Added by Joao Seabra almost 13 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
PPP Interfaces
Target version:
Start date:
06/26/2011
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:

Description

replacing description with actual problem found by Evgeny:

Whenever you set up WAN to PPP section <ppps><ppp><ports> in config.xml changes to whatever you shoos in "modem port" - for example /dev/cuau0. Then it is always presented in <input name="ppp_port" type="hidden" value="/dev/cuau0"> in interfaces.php. From now on you can't properly change WAN to PPTP or PPPoE as you can't get back em1 (or other ethernet interface), the page just does not provide you a choice for that.
I think "modem port" was wrongly introduced on this page interfaces.php as it links logical interface WAN-PPP to physical interface /dev/cuau0. All logical-physical links are defined under Interfaces->(assign), so this should go there as well. Or another way: physical part should be brought ino interfaces.php for PPTP and PPPoE.

Actions

Also available in: Atom PDF