OESF Portables Forum
Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: sargon 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.
-
Please file a bug into the bugtracker.
-
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 (https://www.oesf.org/forums/index.php?showtopic=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 (http://www.elsix.org/downloads/apps/sudo_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 (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 (http://digit.que.ne.jp/visit/file/timeadjust_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 (http://digit.que.ne.jp/visit/index.cgi?Linux%a5%b6%a5%a6%a5%eb%a5%b9%2f%bc%ab%c6%b0%a4%c7%bb%fe%b7%d7%b9%e7%a4%ef%a4%bb)
John Bull