PfSense RC1 on WRAP -> Unreliable, crashes
-
Hi,
I have been using m0n0wall for a while, and I decided to give PfSense a try on my WRAP.
I imported my m0n0wall config into it, and it was running ok, most of the time. But I realized finally that the unit was rebooting once in a while (I couldn't ping it during 'downtime', and I saw in the status page that the uptime was resetted).
I noticed many errors like:
Dec 31 19:14:32 gw1 inetd[597]: 19018/udp: bind: Address already in use
Dec 31 19:14:32 gw1 inetd[597]: 19019/udp: bind: Address already in use
Dec 31 19:14:32 gw1 inetd[597]: 19020/udp: bind: Address already in use
Dec 31 19:14:33 gw1 inetd[597]: 19021/udp: bind: Address already in useJul 13 07:06:34 gw1 dnsmasq[11032]: exiting on receipt of SIGTERM
Jul 12 15:37:42 gw1 kernel: pid 28647 (rrdtool), uid 0: exited on signal 11
(at some point, I tried restarting dnsmasq, but it never came back again (needed a reboot)).
I tried 2 different WRAP units, si I doubt this is hardware-related.
At first I thought it was memory, but I never get a lot more than 25% memory usage.
I must have gone back to m0n0wall, since PfSense was not reliable enough.
What could I do?
Thanks,
Ugo
-
What model wrap, how much ram and what firmware are you running?
There are TONS of wrap installations out there and I personally have a number of WRAP boards and never see these issues.
-
Only issues I ever have heared of (never experienced them myself) are either heatproblems or psu not good enough to keep the unit up under loaded conditions.
Not even my atheros equiped wraps do this though they need more power and produce more heat. -
What model wrap, how much ram and what firmware are you running?
There are TONS of wrap installations out there and I personally have a number of WRAP boards and never see these issues.
Wrap 1c-2 (3 LAN), Bios 1.11 (latest). I had a 800mA PSU, but I'm now trying with a 1.5A one as hoba suggested. Hope this solves the problem. Maybe m0n0 didn't need that much power.
I'll keep you posted, and thanks a lot for your quick replies.
Ugo
-
A WRAP should have atleast a 20W PSU in order to operate well with "any" config/load ( 20V at 1A or 15V at 1.35A) higher V is better as power loss in PoE setups is best handled with higher Voltage. P(power) = U(volts)*I(amps). U=I * R(resistance). R in cable is "constant" at a certain temp. higher I means more power loss in cable. more A over a resistor(cable) = heat in the cable. Higher temp in the cable = higher R. Higer R = more power loss etc. etc.
Hope this is useful to you.
-
@lsf:
A WRAP should have atleast a 20W PSU in order to operate well with "any" config/load ( 20V at 1A or 15V at 1.35A) higher V is better as power loss in PoE setups is best handled with higher Voltage. P(power) = U(volts)*I(amps). U=I * R(resistance). R in cable is "constant" at a certain temp. higher I means more power loss in cable. more A over a resistor(cable) = heat in the cable. Higher temp in the cable = higher R. Higer R = more power loss etc. etc.
Hope this is useful to you.
Hi,
Thanks for all this info.
Here is what I'm using right now:
http://tinyurl.com/peajl
From your info, since it is 12V, I should have a 1.666A PSU right (20/12=1.666)
It crashed one time since I have this PSU.
-
@lsf:
A WRAP should have atleast a 20W PSU in order to operate well with "any" config/load ( 20V at 1A or 15V at 1.35A) higher V is better as power loss in PoE setups is best handled with higher Voltage. P(power) = U(volts)*I(amps). U=I * R(resistance). R in cable is "constant" at a certain temp. higher I means more power loss in cable. more A over a resistor(cable) = heat in the cable. Higher temp in the cable = higher R. Higer R = more power loss etc. etc.
Hope this is useful to you.
Hi,
Thanks for all this info.
Here is what I'm using right now:
http://tinyurl.com/peajl
From your info, since it is 12V, I should have a 1.666A PSU right (20/12=1.666)
It crashed one time since I have this PSU.
FYI, the WRAP hasn't rebooted in a few days. Should I get a PSU that is more than 1.5A, though?
Regards,
Ugo
-
These are the PSUs I use with all my wraps and they never had any issues, even with a wifi cm9 atheroscard added http://pcengines.ch/ac18v.htm
However, as your PSU is listed as WRAP PSU I hope they have tested that it runs good with the device. Like lsf already explained in detail, the amperes is not the only value making a good PSU. Your PSU can deliver up to 18 Watt where as the PSU from PCEngines delivers 14,4 Watt. However the PCEngines PSU might be better suitable for long wires (like passive PoE). If you connect the PSU directly to the WRAP without a long wire in between it should just be fine. I would go with it as long as it doesn't have issues.
-
These are the PSUs I use with all my wraps and they never had any issues, even with a wifi cm9 atheroscard added http://pcengines.ch/ac18v.htm
However, as your PSU is listed as WRAP PSU I hope they have tested that it runs good with the device. Like lsf already explained in detail, the amperes is not the only value making a good PSU. Your PSU can deliver up to 18 Watt where as the PSU from PCEngines delivers 14,4 Watt. However the PCEngines PSU might be better suitable for long wires (like passive PoE). If you connect the PSU directly to the WRAP without a long wire in between it should just be fine. I would go with it as long as it doesn't have issues.
Ok, it is running fine, so we can consider this issue resolved. I'll write back if I have any problems.
Thanks a lot to all of you for your help! :)
Ugo
-
Finally, I had to come back to m0n0wall. I am trying the RELEASE version and it's been running for 22 hours now w/o problems. I hope it will stay stable like that. The only problem I had was that I had to disable the pptp server to be able to connect from an internal windows worksation to a remote PPTP server. Didn't have time to investigate more and I don't care much about the pptp server on this unit.
-
The outgoing PPTP problem when the pptp server is enabled is a known issue, not of pfSense but of the underlaying FreeBSD. Maybe this thread is interesting for you to read as there is some work going on to make pf handle pptp states properly; http://forum.pfsense.org/index.php/topic,2507.0.html