Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot create PPTP interface #678

Closed
oparoz opened this issue Jan 18, 2016 · 2 comments
Closed

Cannot create PPTP interface #678

oparoz opened this issue Jan 18, 2016 · 2 comments
Assignees
Labels
bug Production bug
Milestone

Comments

@oparoz
Copy link
Contributor

oparoz commented Jan 18, 2016

Env

15.7.99

Steps to reproduce

  1. create p2p device, assign to WAN
  2. create interface in Assignements
  3. edit interface -> enable

Expected result

A new interface using pptp0

Actual result

  • The device is deleted
  • In Assignements, the interface is assigned to re0
  • In Overview the interface is shown as interface (opt2, wan)

Logs

Jan 18 14:34:20 opnsense: /status_interfaces.php: The command `/usr/local/sbin/ifinfo 'wan'' failed to execute
Jan 18 14:34:08 opnsense: /interfaces.php: Creating rrd update script
Jan 18 14:34:08 inetd[30656]: 19000/tcp: unknown service
Jan 18 14:34:08 configd.py: [34ef9f24-4740-47fb-ab68-8d8b84a6150b] Reloading filter
Jan 18 14:34:06 opnsense: /interfaces.php: The command '/usr/sbin/arp -d -i 'wan' -a > /dev/null 2>&1' returned exit code '1', the output was ''
Jan 18 14:34:06 opnsense: /interfaces.php: The command '/sbin/ifconfig 'wan' -staticarp' returned exit code '1', the output was 'ifconfig: interface wan does not exist'
Jan 18 14:34:05 configd.py: [97f234fd-6bb3-4839-bcc6-2e18bbe520a2] updating dyndns opt2
Jan 18 14:34:00 opnsense: /interfaces.php: The command '/sbin/ifconfig 'wan' inet6 -accept_rtadv' returned exit code '1', the output was 'ifconfig: interface wan does not exist'
@fichtner fichtner added the bug Production bug label Jan 18, 2016
@fichtner fichtner added this to the 16.1 milestone Jan 18, 2016
@oparoz
Copy link
Contributor Author

oparoz commented Jan 18, 2016

I've added more details to the OP. Maybe I'm selecting the wrong interface when configuring the device, but for an OpenVPN client per example, I do select WAN. If that's the problem, then maybe only add the physical interfaces (re1) in the dialogue?

@AdSchellevis
Copy link
Member

It looks like p2p interface assignment from the interface section does function, but when assigned using the "interface assignment" it should copy some properties to the interface to glue all together which it doesn't do.
The next commit will fix the assignment issue, if the issue remains feel free to reopen it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Production bug
Development

No branches or pull requests

3 participants