9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* RE: [9fans] dhcp & metanames
@ 2004-03-07 13:58 Tiit Lankots
  2004-03-07 15:55 ` David Presotto
  0 siblings, 1 reply; 19+ messages in thread
From: Tiit Lankots @ 2004-03-07 13:58 UTC (permalink / raw)
  To: 9fans

> This means that the system, by reading the RTC on boot, will be in
> the wrong time zone till timesync gets in there.  Boot can't do
> any better because the file system with the timezone files  hasn't
> started yet at that point.

OK, I'll rephrase. How long will it take for timesync to annihilate a 2-hour
difference?


^ permalink raw reply	[flat|nested] 19+ messages in thread
* RE: [9fans] dhcp & metanames
@ 2004-03-07 15:49 Tiit Lankots
  0 siblings, 0 replies; 19+ messages in thread
From: Tiit Lankots @ 2004-03-07 15:49 UTC (permalink / raw)
  To: 9fans

OK, I finally got it. The timezone name needs to be 3 letters _exactly_ 
or it will get confused.

Tiit@enlightened


^ permalink raw reply	[flat|nested] 19+ messages in thread
* RE: [9fans] dhcp & metanames
@ 2004-03-07 14:31 Tiit Lankots
  2004-03-07 15:31 ` David Tolpin
  0 siblings, 1 reply; 19+ messages in thread
From: Tiit Lankots @ 2004-03-07 14:31 UTC (permalink / raw)
  To: 9fans

> It will work.

I have /adm/timezone/local set up (and it ends in a line feed).
It doesn't work.


^ permalink raw reply	[flat|nested] 19+ messages in thread
* RE: [9fans] dhcp & metanames
@ 2004-03-07 14:04 Tiit Lankots
  2004-03-07 14:13 ` David Tolpin
  0 siblings, 1 reply; 19+ messages in thread
From: Tiit Lankots @ 2004-03-07 14:04 UTC (permalink / raw)
  To: 9fans

Still, why are date(1) and friends telling the time in GMT
when  $timezone is set differently?


^ permalink raw reply	[flat|nested] 19+ messages in thread
* RE: [9fans] dhcp & metanames
@ 2004-03-07 13:53 Tiit Lankots
  0 siblings, 0 replies; 19+ messages in thread
From: Tiit Lankots @ 2004-03-07 13:53 UTC (permalink / raw)
  To: 9fans

>   be of the form dom=.machine.com (NB: leading dot).
> 
> If it is wrong, I'll change it to the fqdn.

i've always used the fqdn and works like a charm.
my dhcp server doesn't return names, tho


^ permalink raw reply	[flat|nested] 19+ messages in thread
* RE: [9fans] dhcp & metanames
@ 2004-03-07 13:18 Tiit Lankots
  0 siblings, 0 replies; 19+ messages in thread
From: Tiit Lankots @ 2004-03-07 13:18 UTC (permalink / raw)
  To: 9fans

>       dom=.home.davidashen.net

it's probably confused by the leading dot


^ permalink raw reply	[flat|nested] 19+ messages in thread
* RE: [9fans] dhcp & metanames
@ 2004-03-07 13:15 Tiit Lankots
  2004-03-07 13:35 ` David Presotto
  2004-03-07 13:51 ` David Tolpin
  0 siblings, 2 replies; 19+ messages in thread
From: Tiit Lankots @ 2004-03-07 13:15 UTC (permalink / raw)
  To: 9fans

> /net/ndb is used by cs and dns before /lib/ndb.  If you have 
> an entry for
> the network in /lib/ndb/local with the smtp=, it will be found.

It was _not_ found. That's the whole problem that made me wonder
if /lib/ndb/local is consulted at all. Later I realised that the search
is probably conducted by IP address, but there's no address
given in /lib/ndb/local 'cos its pointless.

I solved the problem by defining a network with the correct parameters.

OT: How to compensate for the fact that the real-time clock is in local time?
date(1) and friends constantly show me the time in GMT, although I've set
/adm/timezone/local.
Also, how does timesync(8) fit into the picture? I mean, if I've set it up to
synchronise with a NTP server, is the RTC updated into GMT? Presumably
not if the -L flag is given?

It's a multiboot machine and i'd like to keep the RTC local.


^ permalink raw reply	[flat|nested] 19+ messages in thread
* [9fans] dhcp & metanames
@ 2004-03-07 10:08 Tiit Lankots
  2004-03-07 12:58 ` David Presotto
  0 siblings, 1 reply; 19+ messages in thread
From: Tiit Lankots @ 2004-03-07 10:08 UTC (permalink / raw)
  To: Plan 9 Mailing List (E-mail)

I'm getting my IP setup from a (non-Plan 9) DHCP server.
It doesn't contain the name of the mail server.
Hence, /net/ndb doesn't contain it.
Hence, mail isn't working.
Setting smtp=... in /lib/ndb/local has no effect.

Suggestions?
Also, how does /net/ndb relate to /lib/ndb?

Tiit


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2004-03-08 14:23 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-07 13:58 [9fans] dhcp & metanames Tiit Lankots
2004-03-07 15:55 ` David Presotto
2004-03-08 14:23   ` Derek Fawcus
  -- strict thread matches above, loose matches on Subject: below --
2004-03-07 15:49 Tiit Lankots
2004-03-07 14:31 Tiit Lankots
2004-03-07 15:31 ` David Tolpin
2004-03-07 14:04 Tiit Lankots
2004-03-07 14:13 ` David Tolpin
2004-03-07 13:53 Tiit Lankots
2004-03-07 13:18 Tiit Lankots
2004-03-07 13:15 Tiit Lankots
2004-03-07 13:35 ` David Presotto
2004-03-07 13:51 ` David Tolpin
2004-03-07 10:08 Tiit Lankots
2004-03-07 12:58 ` David Presotto
2004-03-07 13:13   ` David Tolpin
2004-03-07 13:23     ` David Presotto
2004-03-07 13:49       ` David Tolpin
2004-03-07 13:54         ` David Presotto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).