Discussion:
hotplug event on LAN triggers problem on PPTP WAN
Jan Hoevers
2007-09-25 04:02:17 UTC
Permalink
Hello all,

I'm running the embedded version of pfSense on a Soekris 4801-60 (256 Mb
ram). A Soekris lan1641 PCI card turns the thing into a 7-port router.
The WAN interface is in PPTP mode and connects to the internet via a
Speedtouch 510, whick is in PPPoA to PPTP tunneling mode. For several
months everything was fine using pfSense 1.0.1, but after I upgraded to
1.2-RC2 recently, a problem occurred. I did not touch the Speedtouch
configuration, so I believe the problem may originate from 1.2-RC2.

Occasionally the PPTP WAN connection is dropped. A new login initiates
automatically and the connection is back after a minute or so.
It turned out that this happens every time a device on an ethernet port
is switched on (most ports have devices connected directly via a
crossover cable; no switch or hub in between).

When for example switching on my network printer on sis6, I'm seeing
this on the system log page:
Sep 25 05:04:19 php: : Hotplug event detected for sis6 but ignoring
since interface is not set for DHCP
Sep 25 05:04:19 php: : Processing start -
Sep 25 05:04:19 php: : Hotplug event detected for start but ignoring
since interface is not set for DHCP
Sep 25 05:04:19 php: : Processing -
Sep 25 05:04:19 php: : HOTPLUG: Configuring wan interface
Sep 25 05:04:30 kernel: sis6: link state changed to DOWN
Sep 25 05:04:32 kernel: sis6: link state changed to UP
Sep 25 05:04:35 last message repeated 8 times
Sep 25 05:04:36 mpd: mpd: caught fatal signal term
Sep 25 05:04:36 mpd: [pptp] IPCP: Down event
...followed by a load of messages describing the new login.

It seems as if the system interprets a hotplug event on any ethernet
port as if it were on the WAN port.

What's going on? I'm running a server, so it's quite inconvenient. There
was no problem on 1.0.1, so downgrading is an option, but maybe
something better is at hand.

Thanks in advance for any suggestions.

best regards,
Jan Hoevers
Chris Buechler
2007-09-26 00:02:17 UTC
Permalink
Post by Jan Hoevers
Hello all,
I'm running the embedded version of pfSense on a Soekris 4801-60 (256
Mb ram). A Soekris lan1641 PCI card turns the thing into a 7-port router.
The WAN interface is in PPTP mode and connects to the internet via a
Speedtouch 510, whick is in PPPoA to PPTP tunneling mode. For several
months everything was fine using pfSense 1.0.1, but after I upgraded
to 1.2-RC2 recently, a problem occurred. I did not touch the
Speedtouch configuration, so I believe the problem may originate from
1.2-RC2.
Occasionally the PPTP WAN connection is dropped. A new login initiates
automatically and the connection is back after a minute or so.
It turned out that this happens every time a device on an ethernet
port is switched on (most ports have devices connected directly via a
crossover cable; no switch or hub in between).
When for example switching on my network printer on sis6, I'm seeing
Sep 25 05:04:19 php: : Hotplug event detected for sis6 but ignoring
since interface is not set for DHCP
Sep 25 05:04:19 php: : Processing start -
Sep 25 05:04:19 php: : Hotplug event detected for start but ignoring
since interface is not set for DHCP
Sep 25 05:04:19 php: : Processing -
Sep 25 05:04:19 php: : HOTPLUG: Configuring wan interface
Sep 25 05:04:30 kernel: sis6: link state changed to DOWN
Sep 25 05:04:32 kernel: sis6: link state changed to UP
Sep 25 05:04:35 last message repeated 8 times
Sep 25 05:04:36 mpd: mpd: caught fatal signal term
Sep 25 05:04:36 mpd: [pptp] IPCP: Down event
...followed by a load of messages describing the new login.
It seems as if the system interprets a hotplug event on any ethernet
port as if it were on the WAN port.
What's going on? I'm running a server, so it's quite inconvenient.
There was no problem on 1.0.1, so downgrading is an option, but maybe
something better is at hand.
Definitely sounds like a bug. I opened a ticket. If you can, please hang
on with 1.2rc2 for the time being. None of the developers have a PPTP
WAN, so we'll need somebody to test the change with that specific setup.
Jan Hoevers
2007-09-26 19:28:20 UTC
Permalink
<snip>
Post by Chris Buechler
Post by Jan Hoevers
It seems as if the system interprets a hotplug event on any ethernet
port as if it were on the WAN port.
What's going on? I'm running a server, so it's quite inconvenient.
There was no problem on 1.0.1, so downgrading is an option, but maybe
something better is at hand.
Definitely sounds like a bug. I opened a ticket. If you can, please hang
on with 1.2rc2 for the time being. None of the developers have a PPTP
WAN, so we'll need somebody to test the change with that specific setup.
Ok, fine.
For now, I remain with 1.2RC2, leaving all equipment on as a workaround.
I may downgrade, but I have a spare soekris and would be pleased to do
any testing if you want me to.

thanks,
Jan Hoevers
Jan Hoevers
2007-09-26 22:43:19 UTC
Permalink
Post by Chris Buechler
Definitely sounds like a bug. I opened a ticket. If you can, please hang
on with 1.2rc2 for the time being. None of the developers have a PPTP
WAN, so we'll need somebody to test the change with that specific setup.
Maybe the following additional information is helpful:

I've now put an ethernet switch between the LAN interface of the pfSense
box and my desktop computer. Power cycling the desktop computer now
doesn't trigger the reported problem (as it did when connected
directly). Power cycling the switch however does.

I believe this confirms the problem comes from the ethernet hotplugging
(and not from dhcp or whatever else).

Please let me know if you need more information.

regards,
Jan Hoevers
Chris Buechler
2007-09-27 00:43:18 UTC
Permalink
Post by Jan Hoevers
Post by Chris Buechler
Definitely sounds like a bug. I opened a ticket. If you can, please
hang on with 1.2rc2 for the time being. None of the developers have a
PPTP WAN, so we'll need somebody to test the change with that
specific setup.
I've now put an ethernet switch between the LAN interface of the
pfSense box and my desktop computer. Power cycling the desktop
computer now doesn't trigger the reported problem (as it did when
connected directly). Power cycling the switch however does.
I believe this confirms the problem comes from the ethernet
hotplugging (and not from dhcp or whatever else).
Sure does, thanks.
Jan Hoevers
2007-10-12 00:50:07 UTC
Permalink
Post by Chris Buechler
Definitely sounds like a bug. I opened a ticket. If you can, please hang
on with 1.2rc2 for the time being. None of the developers have a PPTP
WAN, so we'll need somebody to test the change with that specific setup.
hi Chris,

Perfect, the issue is fixed!

As you requested off list I've installed the embedded platform image
labelled "1.2-RC3 built on Thu Oct 11 17:09:49 EDT 2007" and created
some ethernet hotplug events as a test. Of course I still find them in
the logs (check_reload_status: rc.linkup starting, etc.) but mpd doesn't
get killed anymore and the PPTP-WAN link remains up.

I'm quite happy with this result, and with your fast reaction.

thanks a lot,
Jan Hoevers
Tortise
2007-10-12 10:13:48 UTC
Permalink
I am sorry for the usual question, where does one get 1.2RC-3 please?!
Kind regards David

----- Original Message -----
From: "Jan Hoevers" <ml.janhoevers-qWit8jRvyhVmR6Xm/***@public.gmane.org>
To: <support-***@public.gmane.org>
Sent: Friday, October 12, 2007 1:50 PM
Subject: Re: [pfSense Support] hotplug event on LAN triggers problem on PPTP WAN
Post by Chris Buechler
Definitely sounds like a bug. I opened a ticket. If you can, please hang
on with 1.2rc2 for the time being. None of the developers have a PPTP
WAN, so we'll need somebody to test the change with that specific setup.
hi Chris,

Perfect, the issue is fixed!

As you requested off list I've installed the embedded platform image
labelled "1.2-RC3 built on Thu Oct 11 17:09:49 EDT 2007" and created
some ethernet hotplug events as a test. Of course I still find them in
the logs (check_reload_status: rc.linkup starting, etc.) but mpd doesn't
get killed anymore and the PPTP-WAN link remains up.

I'm quite happy with this result, and with your fast reaction.

thanks a lot,
Jan Hoevers

---------------------------------------------------------------------
To unsubscribe, e-mail: support-unsubscribe-***@public.gmane.org
For additional commands, e-mail: support-help-***@public.gmane.org
Espen Johansen
2007-10-12 12:25:22 UTC
Permalink
http://snapshots.pfsense.com/FreeBSD6/RELENG_1_2/

-lsf
Post by Tortise
I am sorry for the usual question, where does one get 1.2RC-3 please?!
Kind regards David
----- Original Message -----
Sent: Friday, October 12, 2007 1:50 PM
Subject: Re: [pfSense Support] hotplug event on LAN triggers problem on PPTP WAN
Post by Chris Buechler
Definitely sounds like a bug. I opened a ticket. If you can, please hang
on with 1.2rc2 for the time being. None of the developers have a PPTP
WAN, so we'll need somebody to test the change with that specific setup.
hi Chris,
Perfect, the issue is fixed!
As you requested off list I've installed the embedded platform image
labelled "1.2-RC3 built on Thu Oct 11 17:09:49 EDT 2007" and created
some ethernet hotplug events as a test. Of course I still find them in
the logs (check_reload_status: rc.linkup starting, etc.) but mpd doesn't
get killed anymore and the PPTP-WAN link remains up.
I'm quite happy with this result, and with your fast reaction.
thanks a lot,
Jan Hoevers
---------------------------------------------------------------------
---------------------------------------------------------------------
Bill Marquette
2007-10-12 13:10:01 UTC
Permalink
Post by Tortise
I am sorry for the usual question, where does one get 1.2RC-3 please?!
Kind regards David
It's not yet released, but can be found on the snapshot server in the
location Espen pointed you at.

--Bill
Tortise
2007-10-13 02:27:07 UTC
Permalink
Thanks Bill and Espen
How can I find out what changes were made to fix this please? (I am interested to know particularly at what level the fault
existed, e.g. down in FreeBSD, Code common to monowall and pfSense, or just pfSense.)
Kind regards
David

----- Original Message -----
From: "Bill Marquette" <bill.marquette-***@public.gmane.org>
To: <support-***@public.gmane.org>
Sent: Saturday, October 13, 2007 2:10 AM
Subject: Re: [pfSense Support] hotplug event on LAN triggers problem on PPTP WAN
Post by Tortise
I am sorry for the usual question, where does one get 1.2RC-3 please?!
Kind regards David
It's not yet released, but can be found on the snapshot server in the
location Espen pointed you at.

--Bill

---------------------------------------------------------------------
To unsubscribe, e-mail: support-unsubscribe-***@public.gmane.org
For additional commands, e-mail: support-help-***@public.gmane.org
Bill Marquette
2007-10-13 04:21:21 UTC
Permalink
http://cvstrac.pfsense.org/

--Bill
Post by Tortise
Thanks Bill and Espen
How can I find out what changes were made to fix this please? (I am interested to know particularly at what level the fault
existed, e.g. down in FreeBSD, Code common to monowall and pfSense, or just pfSense.)
Kind regards
David
----- Original Message -----
Sent: Saturday, October 13, 2007 2:10 AM
Subject: Re: [pfSense Support] hotplug event on LAN triggers problem on PPTP WAN
Post by Tortise
I am sorry for the usual question, where does one get 1.2RC-3 please?!
Kind regards David
It's not yet released, but can be found on the snapshot server in the
location Espen pointed you at.
--Bill
---------------------------------------------------------------------
---------------------------------------------------------------------
Loading...