Author Topic: OPIE systemtime and ntpdate  (Read 1994 times)

sargon

  • Newbie
  • *
  • Posts: 23
    • View Profile
    • http://
OPIE systemtime and ntpdate
« on: March 06, 2004, 04:52:09 pm »
I installed ntpdate and OPIE\'s systemtime app on a C860 running the new Cacko ROM. If I run ntpdate as root from the CLI, I get the correct time from an NTP/SNTP server. However, the GUI app gives this error:

Error while getting time from server: time-a.timefreq.bldrdoc.gov

I checked the icon\'s properties, and it is set to run as root.

Any ideas?

Thanks in advance.

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
OPIE systemtime and ntpdate
« Reply #1 on: March 06, 2004, 07:50:01 pm »
Please file a bug into the bugtracker.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

Anonymous

  • Guest
OPIE systemtime and ntpdate
« Reply #2 on: March 07, 2004, 01:41:31 am »
I had the same experience as you on my 5500 w/sharprom 3.13,  what i found out is because the default user is zaurus, this is due to the security reason. Currently, all ROM from sharp are default to zaurus user, I do not know about Cacko ROM, if it is zaurus user, they are few solution on this..

(1)  Break the security, switch the default user to root. you can refer to this thread.

http://www.zaurususergroup.com/index.php?n...iewtopic&t=2129

(2)  Tweaks the ntpdate.

  First, you need to install this sudo package, bear in mind, install this sudo package also break the security, because the control file (sudoers) gain user zaurus to access All files, All commands and All host.

https://www.oesf.org/downl...udo_0.1_arm.ipk

  Second, open a terminal, switch to root user, rename the ntpdate in /usr/bin directory to other name (for me, ntpdate.bin), create a script file named \'ntpdate\' with permission 777 under /usr/bin, in this script file, code in \'sudo ntpdate.bin\' and \'#!/bin/bash\' as the first line in your script.  Done.

(3) Use other package.

http://www.hadeco.co.jp/r&d/sl/dtktime/dtktime.htm        <-- in japan language interface, I\'m using this now.
http://digit.que.ne.jp/visit/file/timeadju...1.3.0-1_arm.ipk        <-- needs ntpdate, TrayIconCtlApplet and root user, I have not try this, you can refer to this url for more info.  http://digit.que.ne.jp/visit/index.cgi?Lin...%e7%a4%ef%a4%bb


John Bull