Re: Is the system clock broken ?

2005-01-04 Thread chris-usenet
jens <[EMAIL PROTECTED]> wrote:
> Thanks for your reply Chris. Ok, I confess, I stuck an extra 'n' in there
>  me bad.

Why, oh why, oh why, did you email me as well as replying here? If
someone answers your post then surely it's obvious they're reading the
newsgroup/mailing list, so you don't need to email them directly as
well. Please stop that nasty practice!

For the benefit of future googlers (or whatever), here's a summary of
the ensuing email discussion:

> The above commands all show correctly. I guess what I am trying to say is
> that if I just enter 'date' I get UTC time which is correct since my
> system 'thinks' it's on UTC even though I entered time in PST. Now if I go
> to configure date & time under KDE, the current time zone indicates UTC
> which is what the computer thinks it is. I can change it to
> America/Vancouver and apply that change and the current time zone shows
> PST - everything is still peachy. When I exit the date & time adjustment
> window and then re-enter it, we are magically back to UTC (rather than PST).
> In previous versions of Debian, this was remembered correctly.

[ I suggested that this might be a bug, which jens later confirmed. ]


> On a different note, I have always entered local time into the hardware
> clock and things have always run well. I also use local time on a server
> box I have running. Why would i want to have the BIOS show UTC ? It would
> seem to me that it really makes no difference as long as the computer
> knows what time zone is being used. Am I missing something here ?

Yes. Unless you configure you BIOS clock to run as UTC, the daylight
savings time switch won't happen automatically. This is because Debian
assumes "another OS" (usually a Windows variant) will change the BIOS
clock.

If you're not dual-booting, I strongly recommend you to run the BIOS clock
as UTC and use the timezone configuration utility to tell your system it's
really running on America/Vancouver time (i.e. PST/PDT). Debian will then
automatically adjust for daylight savings time at the appropriate time on
the appropriate dates.

[ jens later concurred with the reasoning ]

Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Is the system clock broken ?

2004-12-23 Thread chris-usenet
On Wed, 22 Dec 2004 20:45:55 +, jens wrote:
> Hi there, I set up a new Debian box with a 2.6 kernel. For some reason or
> other I can't get the system time to be correct. When I do a 'tzconfig' it
> reports me as being in the correct time zone (American/Vancouver) but
> when I do a 'date' command it comes back with UTC time.

There is no "American/Vancouver" timezone. Maybe you mean "America/Vancouver"?


jens <[EMAIL PROTECTED]> continued:
> My /etc/default/rcS file has an entry of UTC=no in it. When I type 'date'
> at the console I get a UTC date/time listing.

So you've configured your box to run on local time rather than UTC. The
only time you should do this is if you multi-boot a Windows OS on the
same hardware. Otherwise change the setting to UTC=yes and set the BIOS
clock to real UTC time.

Here are some checks to try:

If UTC=yes then this should show UTC time. Otherwise it should show
local time:
hwclock --show --utc

Regardless of the UTC setting, this should show UTC time:
date -u

Regardless of the UTC setting, this should show local time:
TZ=America/Vancouver date

Regardless of the UTC setting, this will show the same as for "date -u",
because there is *no* American/Vancouver time zone:
TZ=American/Vancouver date

Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: simple IMAP mail server to install/setup

2004-12-16 Thread chris-usenet
Rodney D. Myers <[EMAIL PROTECTED]> wrote:
> I'm looking at trying to install an IMAP mail server.
> Which one(s) are fairly simple to install/setup/configure?

Dovecot with Maildir support works for me.
Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: open terminal in VNC

2004-12-06 Thread chris-usenet
Stefan Fredriksson <[EMAIL PROTECTED]> wrote:
> Things work like a charm but. Sometimes you accidently close the 
> terminal in the VNC and you are stuck. Is there a way to open en termial 
> through ssh or similar and make it appear in the VNC session?

What window manager is the remote end using? If it's twm try left-clicking
on the background for a menu.

Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: vsftpd with shell set to /bin/false

2004-11-26 Thread chris-usenet
Ruben van Engelenburg <[EMAIL PROTECTED]> wrote:
> I was installing vsFtpd om my Debian server today and found out that 
> users can't login if their shell is set to /bin/false. [...]
> Is there a way to change this behaviour [...]

Add your "shell" to the list in /etc/shells (see "man shells" for some
details).

Actually, I prefer to use a trivial /usr/local/sbin/nologin, which writes
a "Not authorised" type message to stdout and waits for three seconds
before exiting:

cat 

Re: Firefox, Thunderbird etc.

2004-11-25 Thread chris-usenet
Sayantan Sur <[EMAIL PROTECTED]> wrote:
> I am on sarge (testing) and can see only Firefox version 0.9.3

Ivan Teliatnikov <[EMAIL PROTECTED]> wrote:
> Firefox 1.0.2 is current version in sarge (or at least this is the case
> for my sarge).

I think it's only recently been promoted from unstable.
Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Firefox, Thunderbird etc.

2004-11-24 Thread chris-usenet
> See http://www.argon.org/~roderick/apt-pinning.html for more details. It
> works for me.

Joao Clemente <[EMAIL PROTECTED]> wrote:
> Hi Chris. I hope you can provide another reference to a more complete 
> explanation of apt-pinning, or that Sayantan has already basic knowledge 
> of it... cause I got lost while reading the link you provided, trying to 
> figure out where do some of the pinning values were comming from...

Me too. I think they're arbitrary, but I used the /etc/apt/preferences
example provided in that link and it "just works":

Explanation: see http://www.argon.org/~roderick/apt-pinning.html
Package: *
Pin: release o=Debian,a=testing
Pin-Priority: 900

Package: *
Pin: release o=Debian,a=unstable
Pin-Priority: 300

Package: *
Pin: release o=Debian
Pin-Priority: -1


I can now do this (as one line):

apt-get update && apt-get -u dist-upgrade &&
apt-get -t unstable install mozilla-thunderbird mozilla-firefox gaim

Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Firefox, Thunderbird etc.

2004-11-22 Thread chris-usenet
Sayantan Sur <[EMAIL PROTECTED]> wrote:
> is the firefox (or thunderbird) package going to be in the
> unstable/testing of Debian Sarge? I am on sarge (testing) and can see
> only Firefox version 0.9.3

I'm also on sarge, but I use apt pinning to let me pull in particular
packages from unstable - in my case, specifically thunderbird, firefox,
and gaim.

See http://www.argon.org/~roderick/apt-pinning.html for more details. It
works for me.

Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: openvpn

2004-11-22 Thread chris-usenet
Emil Perhinschi <[EMAIL PROTECTED]> wrote:
> I need something that can have both linux and windows clients
> and which does not create many compatibility problems ... from my own
> tests openvpn would do nicely.

I use it between GNU/Linux clients, Windows clients, Mac clients, and
entire networks. It works in all these different configurations just
"like it says on the tin". It's a brilliant piece of utility software.

Just read the documentation through (at least once!) before moving on
to the examples.

Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Set up virtual tap0 device on boot

2004-10-22 Thread chris-usenet
Damir Dezeljin <[EMAIL PROTECTED]> wrote:
> I would like to set tap0 in promisc mode and add it to br0 bridge that is
> set up on boot from /etc/network/interfaces. I would like to avoid adding
> my own program for tap0 registration. Is there anything similar already
> implemented in 'standard' Debian boot sequence - e.g. in interfaces file?

I imagine that you could add some "up" entries to your definition of
br0. If you've got "tunctl" then that will allow you to create tapN,
and you can do stuff with "ip" or "ifconfig" to set promiscuous mode on
the resulting interface.

This *untested* snippet should bring up a bridge that connects eth0 and
tap0 to the host. It will get unhappy with if either eth0 and tap0 are
already configured, so you'll probably be better off with a script that
does some better error checking.

|   iface br0 inet static
|   address 192.168.0.1
|   netmask 255.255.255.0
|   gateway 192.168.0.254
|   pre-up  brctl addbr br0
|   pre-up  brctl setfd br0 0
|   pre-up  brctl sethello br0 0
|   pre-up  brctl stp br0 off
|   pre-up  ifconfig eth0 0.0.0.0 promisc up
|   pre-up  tunctl -u uml-net tap0
|   pre-up  ifconfig tap0 0.0.0.0 promisc up
|   up  brctl addif br0 tap0
|   up  brctl addif br0 eth0
|   downbtctl delif br0 eth0
|   downbtctl delif br0 tap0
|   post-down   ifconfig tap0 down
|   post-down   tunctl -d tap0
|   post-down   ifconfig eth0 down
|   post-down   btctl delbr br0

Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Gnome "courier" font is invisible except at 14pt

2004-10-20 Thread chris-usenet
I'm running gnome on debian sarge, as provided by apt-get and friends.

My gnome "Courier" font appears to render as invisible text at every
pointsize apart from 14. The text can be copied and pasted, but it cannot
be viewed. This is particularly annoying for me because a lot of websites
use "courier" as their preferred monospace font.

If I plug in "courier" as the font family in xfontsel, it offers 292
matching names, but suggests that there are only two relevant foundries:
Adobe and Bitstream. I can't see any obvious anomalies there.

I suspect that this "Courier" font is actually from my Windows partition
(I also have "Courier New" and "Courier 10 Pitch", and both of these
render correctly), so I'd be happy to delete this "Courier" font provided
I could replace it (maybe with an alias from "Courier New"). However,
I'm not sure I know how to approach this.

Any suggestions anyone, please?

Thanks,
Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Firefox 'stretched' printing

2004-10-15 Thread chris-usenet
For what it's worth, the answer to the stretched printing appears to
be Xprint's default postscript resolution. It's 600x600 and for me,
when I reduced it back to the more normal 300x300 the printing problems
disappeared.

Oh, the file (debian "sarge") is /etc/Xprint/C/print/attributes/document,
and you need to look for "default-printer-resolution" and change the 600
to 300.

Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: command to answer "what's your OS"

2004-09-20 Thread chris-usenet
Travis Crump <[EMAIL PROTECTED]> wrote:
> cat /etc/issue or cat /etc/issue.net

I overwrite /etc/issue on all my boxes to provide pre-login text warnings
to my users. I don't like advertising which flavour of *nix I'm running.

Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: ntp configuration

2004-06-30 Thread chris-usenet
Bob Proulx <[EMAIL PROTECTED]> wrote:
> In the latest ntp configuration the file is /etc/default/ntpdate.  So
> your problem is already fixed and will be in the next Debian release.

A quick hack to /etc/default/ntpdate and all's happy - this uses your
non-local "server" entries in /etc/ntp.conf:

cut--here
# servers to check
NTPSERVERS=`
/usr/bin/awk '/^server/ && $2 !~ /^127/ {print $2}' /etc/ntp.conf 2>/dev/null |
/usr/bin/xargs
`
test -z "$NTPSERVERS" && NTPSERVERS="pool.ntp.org"
#
# additional options for ntpdate
#NTPOPTIONS="-v"
NTPOPTIONS=""
cut--here


There must be a good reason for not already doing this - but I sure
can't work it out.

Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: ftp.uk.debian.org not allowing connections?

2004-06-16 Thread chris-usenet
Lee Braiden <[EMAIL PROTECTED]> wrote:
> I've no idea what the cause is, but it seems to flake out regularly... I'm 
> using mirror.ac.uk now.

You do know that mirror.ac.uk is likely to be disappearing, to be replaced
by a completely different system...?

See http://www.mirror.ac.uk/help/funding_announcement.html for details.

Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: 2.6.6 ignores tulip (DC21041)

2004-06-15 Thread chris-usenet
On Monday 14 June 2004 11:38 am, [EMAIL PROTECTED] wrote:
> I'm stumped on this one. I've been playing around for a while with
> 2.6.6 on AMD (x86), trying to get it to recognise my DEC 21041
> (tulip) PCI network card. FWIW, 2.4.25 and earlier all work fine with
> it.

David Sanders <[EMAIL PROTECTED]> wrote:
> Are you using DHCP with woody?  If so, edit /sbin/dhclient to include 
> 2.6.x kernels.

Good point, but no, I'm running testing, and it's a more basic problem
than DHCP. Packets appear on the wire but nothing's ever received via
the card. You'll appreciate that this following is manually cut'n'paste,
with bits chopped out where I feel it's appropriate:

{...booting...}
|   de2104x PCI Ethernet driver v.07
|   de0 :SROM leaf offset 30, default media 10baseT auto
|   de0:   media block #0: BNC
|   de0:   media block #1: 10baseT-FD
|   de0:   media block #2: 10baseT-HD
|   eth0: 21041 at 0xc88ca000, 00:c0:f0:37:93:1f, IRQ 10
|de2104x: loaded successfully
|...some sound and usb stuff...
|   
|   Setting up IP spoofing protection: rp_filter
|   Configuring networking interfaces...ISC DHCP Client 2.0pl5
|   ...
|   
|   eth0: set link 10baseT auto
|   eth0:mode 07ffc0040, sia 0x10c4,0xef01,0x,0x0008
|   eth0:set mode 0x7ffc0040, set sia 0xef01,0x,0x8
|   irq 10: nobody cared
|   Call Trace:
|[ __report_bad_irq+0x2a/0x90
|...
|   
|   Disabling IRA #10
|   NET: Registered protocol family 17
|   Listening on LPF/eth0/...
{...dhcp attempts to grab an address but never gets any answers...}

Looking through this again as I copy-type it, it looks like the card
is registered on IRQ 10, but the driver's not claimed it in time. So
the kernel disables it and voila I never get any data received interrupts.

Thoughts?

Cheers,
Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



2.6.6 ignores tulip (DC21041)

2004-06-14 Thread chris-usenet
I'm stumped on this one. I've been playing around for a while with
2.6.6 on AMD (x86), trying to get it to recognise my DEC 21041 (tulip)
PCI network card. FWIW, 2.4.25 and earlier all work fine with it.

I've googled (web and news), and generally had a look around but cannot
see anyone else having similar problems.

I run it at 10 MBit/s half duplex. The modules.conf line for 2.4.25 is
"alias eth0 tulip". The equivalent for 2.6.6 might be "alias eth0 de2104x",
but I'm still getting my head round the new modutils stuff.

At boot the card appears to be recognised, and everything looks like
it's been initialised correctly. However, I never see any data packets.

Ideas, anyone, before I report a formal bug?

Thanks,
Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: S/MIME support in Emai clients

2004-06-14 Thread chris-usenet
On Thu, 3 Jun 2004, "Luis R. Rojas" <[EMAIL PROTECTED]> asked:
> is thunderbir in the apt-get or aptitude tree?

Nicos Gollan <[EMAIL PROTECTED]> wrote:
> It is in testing (0.5) and unstable (0.6).

It's also on backports.org if you're running stable.
Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]