Tod Fitch wrote:
> On Nov 29, 2008, at 8:33 AM, Philip Prindeville wrote:
>
>> Which firewall are you using, and is UDP port 123 open? If you're using
>> Arno's firewall, then set OPEN_UDP="123" in
>> /etc/arno-iptables-firewall/firewall.conf ...
>>
>> Also, did you try setting your hardware clock to the correct time? You
>> can set the time manually with "date", and then run "hwclock -wu" after
>> doing a "/etc/init.d/zaptel stop" ...
>>
>> -Philip
>
> I am back to running with no firewall but it would be good to remember
> to open up the NTP port when running one.
>
> hwclock fails on this net5501, there is no /dev/misc directory on this
> system:
>
>> pbx ~ # hwclock -wu
>> hwclock: can't open '/dev/misc/rtc': No such file or directory
>
> From the man page for hwclock it looks like /dev/rtc is where it will
> attempt to access the hardware clock. That exists but is busy even if I
> stop the ntpd service. Since ntpd is now running and the time has been
> accurate and stable overnight, I think I will take a wait and monitor
> stance on this.
>
Zaptel has to be stopped or it will block updating the hwclock.
It looks like 'rtc' is not being loaded (the module). If you do a
'modprobe rtc' you'll have the rtc loaded properly. (this appears to
happen on all architectures--so we'll have to fix that).
The /etc/rc script has a line that reads:
' if [ -r /dev/rtc ]; then
modprobe rtc
hwclock -sl
fi'
Well since we're using udev, the device is created AFTER the module is
inserted. We'll have to update the rc file to handle this properly.
Darrick
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to [EMAIL
PROTECTED]