10-12-2017
DHCP Issue Possibly due to Hardware Clock?
Hello All,
OS: openSUSE 13.1 (Bottle) (armv7hl)
PC: CuBox-i (*mini-pc)
The PC in question is a CuBox-i mini-pc. Since this PC doesn't have a battery, everytime the PC reboots the hardware clock is reset back to the same date every time, which is "2014-07-08 00:00".
I have NTP configured to get the current date and time from our NTP server, which does work eventually once the network comes up. Once the network is up, the NTP daemon runs and fixes the date and time.
However, I believe once NTP runs and changes the date and time, the DHCP lease timeout is reached (*14400 I believe). And because the time jumps ahead so far, it thinks the DHCP lease has timed-out and it gets a new IP Address. So within about a couple minutes of powering on, or rebooting the PC, it renews its DHCP Address and gets a new/2nd address.
I was wondering if maybe there is a way I can write the current system date and time so when it reboots, it doesn't think its 2014... Is anything like that possible?
Thanks in Advance,
Matt
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
Guys could you please tell me which appropriate command is used to set hardware (BIOS) clock so that the system keeps time when it reboots & how it's used. I use Linux
Thank you (2 Replies)
Discussion started by: joseph kembo
2 Replies
2. Red Hat
Hi all
Hi could anyone tell me how i can set the
Hardware Clock to the System Time, and set the System Time from the
Hardware Clock.
i am using RHEL 4.0.
Thanks in advance. (1 Reply)
Discussion started by: daya.pandit
1 Replies
3. Red Hat
Hi All,
I am trying to send a mail from my application through SMTP in solaris 9 but unable to send a mail.Same code is able to send mail in Windows.
As unix has more security,So as per me,it is due to security reason..
So please let me know what I need to do to send a mail properly.
what... (5 Replies)
Discussion started by: smartgupta
5 Replies
4. Shell Programming and Scripting
The date increment worked fine until date reached 25/10, which is DLS change date.
/bin/date --date="091025 1 day" +%y%m%d;
the output is 091025
Is this a bug or something missing from the code ! (3 Replies)
Discussion started by: rajbravo
3 Replies
5. IP Networking
I searched the forum and found a similar question (https://www.unix.com/ip-networking/119108-dhcpd-related-questions.html), but my config is already utilizing the suggested fix... :(
My setup:
eth0 connected to Motorola DSL Modem via bridged mode (giving the public IP to the interface), IP... (1 Reply)
Discussion started by: macwunder
1 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
I am very new to unix and to this forum.Suggest me a solution in fixing the below issue.
Actually ia m executing java program through script.
The command is like
java pgm &
The above cmd runs the java program continuous as a background thread.
This script is executed from a... (1 Reply)
Discussion started by: sahan
1 Replies
7. UNIX for Dummies Questions & Answers
What are the two ways the hardware clock can be configured under Linux?
Thanks (3 Replies)
Discussion started by: lemon_06
3 Replies
8. Red Hat
Hello Folks,
My RHEL 4.3 server got crashed due to hardware crash,system hard disk and motherboard replaced and RAID rebuilt done.
while rebooting the server the server is gone into single user mode due to /sda5 var partition not able to mount.
Error :- " wrong fs type, bad... (1 Reply)
Discussion started by: kmvinay
1 Replies
9. Linux
Hi all,
currently I'm facing a issue in linking a .so file.
In my build machine, I've libcrypto.so.6 and there is a softlink as libcrypto.so.
In my make file I'm trying to link to the lib using -L -lcrypto and it is success and created my test.exe.
When I copy this test.exe to other... (4 Replies)
Discussion started by: vijkrr
4 Replies
10. SCO
Dear Community!
i try to instaled the sco 6 in hp proliant ML350g8
but unsucces,
the trouble when i do instaled it undetected hardisk
please help me
:(:o (7 Replies)
Discussion started by: mnr
7 Replies
LEARN ABOUT XFREE86
oclock
OCLOCK(1) General Commands Manual OCLOCK(1)
NAME
oclock - round X clock
SYNOPSIS
oclock [-option ... ]
DESCRIPTION
Oclock simply displays the current time on an analog display.
OPTIONS
-fg color
choose a different color for the both hands and the jewel of the clock
-bg color
choose a different color for the background.
-jewel color
choose a different color for the jewel on the clock.
-minute color
choose a different color for the minute hand of the clock.
-hour color
choose a different color for the hour hand of the clock.
-backing { WhenMapped Always NotUseful }
selects an appropriate level of backing store.
-geometry geometry
define the initial window geometry; see X(7).
-display display
specify the display to use; see X(7).
-bd color
choose a different color for the window border.
-bw width
choose a different width for the window border. As the Clock widget changes its border around quite a bit, this is most usefully
set to zero.
-shape causes the clock to use the Shape extension to create an oval window. This is the default unless the shapeWindow resource is set
to false.
-noshape
causes the clock to not reshape itself and ancestors to exactly fit the outline of the clock.
-transparent
causes the clock to consist only of the jewel, the hands, and the border.
COLORS
If you would like your clock to be viewable in color, include the following in the #ifdef COLOR section you read with xrdb:
*customization: -color
This will cause oclock to pick up the colors in the app-defaults color customization file: /usr/X11R6/lib/X11/app-defaults/Clock-color.
Below are the default colors:
Clock*Background: grey
Clock*BorderColor: light blue
Clock*hour: yellow
Clock*jewel: yellow
Clock*minute: yellow
SEE ALSO
X(7), X Toolkit documentation
AUTHOR
Keith Packard, MIT X Consortium
XFree86 Version 4.7.0 OCLOCK(1)