Project

General

Profile

Actions

Bug #1621

closed

Switching WAN from type PPP to other leaves former port assigned

Added by Joao Seabra over 13 years ago. Updated about 10 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 #1

Updated by Chris Buechler over 13 years ago

  • Priority changed from Urgent to Normal

attach your config or can email it to me (cmb at pfsense dot org)

Actions #2

Updated by Chris Buechler over 13 years ago

  • Status changed from New to Feedback

You have it configured to use /dev/cuau0 so no, it won't use re0 since it's not configured to do so. You must have edited the PPPoE configuration and incorrectly set the interface

Actions #3

Updated by Joao Seabra over 13 years ago

No,I din't configure pfsense to use /dev/cua0.What happened was that I changed WAN type to DHCP,PPP,etc and saved those configurations and then tried to set it back to PPPoE to see if it would fix it.
Unfortunately it didn't...

Actions #4

Updated by Evgeny Yurchenko over 13 years ago

Indeed if you change from PPP to PPPoE you'll have /dev/cuau0 remained in <ports></ports>.

Actions #5

Updated by Evgeny Yurchenko over 13 years ago

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 #6

Updated by Chris Buechler over 13 years ago

  • Subject changed from PPPoE config error after update to Switching WAN from type PPP to other leaves former port assigned
  • Status changed from Feedback to New
  • Target version changed from 2.0 to 2.1

updated with the real cause, though this isn't ideal and should be improved in the future, its cause is user error, not a bug. Can revisit in the future.

Actions #7

Updated by Evgeny Yurchenko over 13 years ago

Forgot to mention: now user can always fix the mess he got after several reassignments by going to Interfaces->(assign) and choosing proper interface.

Actions #8

Updated by Joao Seabra over 13 years ago

Sorry to insist but the problem showed up after a change in config.I deactivated the interface and when I activated it it never worked again.The switch with the interfaces was later when I was changed WAN type to see if it would fix it.
The original change that cause the problem was NOT change of WAN type!

Actions #9

Updated by Evgeny Yurchenko over 13 years ago

Then create separate Bug report describing the problem.

Actions #10

Updated by Joao Seabra over 13 years ago

I created this bug describing my problem and its enough for me.
I will wait for the new release.
Thanks

Actions #11

Updated by Ermal Luçi almost 12 years ago

  • Status changed from New to Feedback

Can you please try new snapshots.
This hsould not be happening anymore.

Actions #12

Updated by Chris Buechler about 11 years ago

  • Target version changed from 2.1 to 2.2
Actions #13

Updated by Chris Buechler about 10 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF