wpa_supplicant returns too early to ifup? Scripts in /etc/if-up.d executed before network is ready

2010-01-22 Thread Hans Ekbrand
I recently switch to wpa_supplicant (earlier I used ifup and ifdown
manually). Now, scripts in /etc/if-up.d/ are executed before the net
is ready (so the scripts fail).

Does anyone here at debian-user recognise this problem?

Here is my /etc/network/interfaces

-
auto ath0
iface ath0 inet manual
  wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf

iface work inet dhcp
  wpa-driver wext

iface home inet dhcp
  wpa-driver wext
-

-- 
Note that I use Debian version 5.0.3
Linux esset 2.6.26-2-686 #1 SMP Wed Nov 4 20:45:37 UTC 2009 i686 GNU/Linux
Hans Ekbrand (http://sociologi.cjb.net) h...@sociologi.cjb.net
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: Using old diskless machine as X terminal

2008-12-29 Thread Hans Ekbrand
On Sat, Dec 27, 2008 at 11:53:55AM -0800, Ross Boylan wrote:
 On Fri, 2008-12-26 at 23:07 +0100, Hans Ekbrand wrote:
   I've seen several suggestions for ways to make diskettes that will
   either boot from CD or network.
  
  http://rom-o-matic.net/ is a useful service here.
 I used that, though I suspect it's not quite working.  I get to the
 point where it tries to grab a file by tftp and then it fails with a
 time out.
 
 The server seems to show the request coming in
 Dec 23 20:45:00 corn in.tftpd[24442]: RRQ from 192.168.10.21
 filename /ltsp/i386/pxelinux.0,
 but no response.  I *thought* I saw a message indicating the server was
 unable to contact the client when it tried to transmit the file, but I
 can't find it in the logs now.
 
 Other machines on the network can contact the tftp server and download
 the file.


   PXE booting requires an image to transmit.  Making the image looks
  like
   another involved project.
  
  You don't need to create the image yourself, there are ready mades,
  e.g. from LTSP
 
 I used LTSP, though that raised its own issues, of which the 3 most
 important were unclear (at least to me) documentation, 

Can't really comment this.

 the fact that it
 didn't work with testing as a distribution (which is really a
 deboostrap issue),

I haven't followed the development of LTSP, or the debian-integration
for quite some time, but the older versions (e.g. 3.0) which does not
try to bootstrap the distro of the server, but is a stand-alone
implementation of a mini OS that only boots to X.

 and the fact that this is probably more heavyweight
 than I need.

LTSP is definately not heavyweight in regards to the resources (CPU,
RAM, etc) required by the terminal. But the technology is a bit
complex (requires a dhcp server, a tftp server, a nfs server and
display manager listening for TCP). Booting from a local CD is simpler
in that regard. But how would a system booted by ready-made CD image
know from where to get a login-prompt?

 It seems LTSP is oriented toward getting each X term to run in it's own
 separate environment, whereas all I need is for it to connect to my
 display manager (kdm) on the server.

The primary use of LTSP is to get low-end terminals connect to a
display manager. However, there has been substantial efforts to make
it easy to run apps locally (on the clients) since now a days even
lowend terminals can do quite some computing by themselves (and
web-apps like flash can be quite demanding CPU-wise), and this
relieves the server from load. Running apps locally generates new
problems, such as authentication, but since your client only has 64 MB
RAM you don't want local apps, and LTSP does not require that.

  By the way, thanks for the tip
 about how to set that up.  I filed some bugs against ltsp, if anyone
 wants more details.  The maintainers have been very responsive, which I
 appreciate.
 
 I think my main problem is that none of my boot methods are working,
 which is really kind of weird.

Put a kernel and initrd from LTSP on local HD, and boot with GRUB or
LILO?

-- 
Hans Ekbrand (http://sociologi.cjb.net) h...@sociologi.cjb.net
GPG Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E


signature.asc
Description: Digital signature


Re: Using old diskless machine as X terminal

2008-12-26 Thread Hans Ekbrand
On Mon, Dec 22, 2008 at 09:47:02PM -0800, Ross Boylan wrote:
 On Mon, 2008-12-22 at 22:11 -0500, Celejar wrote:
  On Mon, 22 Dec 2008 18:03:10 -0500
  Douglas A. Tutty dtu...@vianet.ca wrote:
  
   On Mon, Dec 22, 2008 at 11:10:27AM -0800, Ross Boylan wrote:
I have an old machine without a working hard disk that I'd like to use
to connect to my main machine and run X. 

I believe that I could boot off of knoppix, but is there something
easier I could do with the stuff already on my main machine--maybe
setting up an image and transmitting over the network at boot time?  The
machine has a CD drive, but I'm not sure it's working.

If I can use stuff I've already downloaded, it will go faster.
   
   If your old box doesn't do (or can't do) network booting, then you'll
   need to give it some kind of hard bootable image.  The problem with
   knoppix is that it uses so much ram.  You could try grml (it may use
   less ram, I don't know).
  
  Or Debian-live, which is incredibly customizable, although that will
  obviously involve work.
 All my options seem to involve work!  So far, I've spent a lot of time
 with nothing to show.

Nothing will happen by itself, but the amount of work required might
be less than you think. There are two different problems involved:

1. Boot media, eg:
- local HD
- etherboot (or pxe) from a floppy (or CD)

2. What to boot
- general distro, manually edited to only do X -query
- specialised distro for this case, e.g LTSP (see www.ltsp.org)

 I misremembered the problem with the old machine; its power supply is
 broken (which is why I removed the disks).
 
 I switched to trying to get a 100Mhz Pentium with 64MB of RAM working.
 Unfortunately, it can't boot from CD-ROM (maybe something broke--the CD
 ROM is still readable, though).  Nor does it directly support network
 booting.  Its disks are basically full; it's running Windows NT 4, but
 my other family members are finding it intolerably slow.  I was hoping
 it would be adequate as an X terminal.

Using a local HD to boot from up to X is one way to solve your
problem. You could do a minimal debian install and then install X and
manually edit /etc/inittab to start X with the -query option, like:

X -query ip.to.login.server

 Someone suggested I try smart boot manager on a floppy, to cause a boot
 off CD-ROM.  But I can't get that to work.
 
 I've seen several suggestions for ways to make diskettes that will
 either boot from CD or network.

http://rom-o-matic.net/ is a useful service here.

 PXE booting requires an image to transmit.  Making the image looks like
 another involved project.

You don't need to create the image yourself, there are ready mades,
e.g. from LTSP

 There are a bunch of tools packaged for Debian that look relevant (e.g.
 search for boot in packagesearch (the app, not the web site).
 
 A number of options (such as using those tools or NFS mounting) are
 complicated by the fact that my system is too heavyweight for the old
 machine, so I need to pare things down so it's only an X server.

The server can export a different tree than its own root file system.

 Meanwhile I've tweaked Xaccess and kdmrc in /etc/kde3/kdm so that they
 might play along if I get the rest working.

That's a good start,

Good luck with the rest!

-- 
Hans Ekbrand (http://sociologi.cjb.net) h...@sociologi.cjb.net
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: USB ownership

2008-10-22 Thread Hans Ekbrand
On Mon, Oct 20, 2008 at 05:06:25PM +0200, Emanoil Kotsev wrote:
 Hans Ekbrand wrote:
 
  On Fri, Oct 17, 2008 at 04:57:00PM +0200, Jochen Schulz wrote:
  Paul Cartwright:
  
   My wife plugged in a USB stick, to save a file to it. It would not let
   her save a file, permission denied.
  ...
   I am logged in first, vt7, she is logged in 2nd, vt8, and when I
   switched to my login, there was the disk window open ( /media/disk).
  
  I don't know what Debian's current default solution for auto-mounting
  is, but the problem is that this program simply cannot tell who of you
  is using the USB drive.
  
  I don't the last part of this sentence is accurate. Only one VT is
  current when the USB-stick is inserted, the automounter should use the
  policy: The user who own the VT which is active when the USB-stick is
  inserted gets write permission on it.
  
 
 It's not VT dependant 

That's the problem. I wrote should, all automounters that does not
take the current VT into account is broken, INMHO.

 - I tried to post the solution but don't see it here,
 may be got too long

[...]

 for this you have to use the 'users' mount option or put it in the fstab for
 the particular device
 
 I suggested to use device by uuid
 
 /dev/disk/by-uuid/3fca395b-d75d-44ab-98be-9ec05b2e45fd /media/usb_2G_part3
 auto users,noauto,atime,rw,nodev,noexec,nosuid 0 0
 
 and it works for every user

As others have pointed out, your solution does not work for all
usb-sticks (only those with a corresponding entry in /etc/fstab).

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: USB ownership

2008-10-19 Thread Hans Ekbrand
On Fri, Oct 17, 2008 at 04:57:00PM +0200, Jochen Schulz wrote:
 Paul Cartwright:
 
  My wife plugged in a USB stick, to save a file to it. It would not let
  her save a file, permission denied. 
 ...
  I am logged in first, vt7, she is logged in 2nd, vt8, and when I
  switched to my login, there was the disk window open ( /media/disk).
 
 I don't know what Debian's current default solution for auto-mounting
 is, but the problem is that this program simply cannot tell who of you
 is using the USB drive.

I don't the last part of this sentence is accurate. Only one VT is
current when the USB-stick is inserted, the automounter should use the
policy: The user who own the VT which is active when the USB-stick is
inserted gets write permission on it.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: USB ownership

2008-10-19 Thread Hans Ekbrand
On Fri, Oct 17, 2008 at 06:07:27PM +0100, Nuno Magalhães wrote:
 On Fri, Oct 17, 2008 at 3:57 PM, Jochen Schulz [EMAIL PROTECTED] wrote:
 
  I don't know what Debian's current default solution for auto-mounting
  is, but the problem is that this program simply cannot tell who of you
  is using the USB drive.
 
 pmount, i use it through gkrellm:

1. When you claim pmount is the default solution for auto-mounting, what
do you mean by that?

2. AFAIK, pmount does not in it self take into account which user is
owning the active VT when the USB-stick is inserted. Does gkrellm
provide that functionality?

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


what linux/limit.h is needed for backporting cups from lenny to etch?

2008-10-14 Thread Hans Ekbrand
Hi list!

I was trying to backport libcups2-dev from lenny to etch when I met
with the following error (from config.log)

g++ (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3054: $? = 0
configure:3061: g++ -v 5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v 
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enabl
e-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext 
--enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit 
--enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 
--enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
configure:3064: $? = 0
configure:3071: g++ -V 5
g++: '-V' option must have argument
configure:3074: $? = 1
configure:3077: checking whether we are using the GNU C++ compiler
configure:3106: g++ -c -g -Wall -O2  conftest.cpp 5
configure:3112: $? = 0
configure:3129: result: yes
configure:3134: checking whether g++ accepts -g
configure:3164: g++ -c -g  conftest.cpp 5
configure:3170: $? = 0
configure:3269: result: yes
configure:3297: checking how to run the C preprocessor
configure:3337: cc -E  conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
 from /usr/include/limits.h:144,
 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122,
 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
 from conftest.c:11:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or 
directory
configure:3343: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME 
| #define PACKAGE_TARNAME 
| #define PACKAGE_VERSION 
| #define PACKAGE_STRING 
| #define PACKAGE_BUGREPORT 
| #define CUPS_SVERSION CUPS v1.3.8
| #define CUPS_MINIMAL CUPS/1.3.8
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include limits.h
| #else
| # include assert.h
| #endif
|Syntax error

How do I get around this?

I did try to build cups again after having installed
linux-headers-2.6.18-6-486, since linux/limit.h exist in that package,
but that didn't help :-(

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: what linux/limit.h is needed for backporting cups from lenny to etch?

2008-10-14 Thread Hans Ekbrand
On Tue, Oct 14, 2008 at 04:37:56PM +0300, Aioanei Rares wrote:
 On Tue, Oct 14, 2008 at 3:15 PM, Hans Ekbrand [EMAIL PROTECTED]wrote:
 
  On Tue, Oct 14, 2008 at 06:57:56AM -0500, Hugo Vanwoerkom wrote:
   Hans Ekbrand wrote:
   Hi list!
   
   I was trying to backport libcups2-dev from lenny to etch when I met
   with the following error (from config.log)
   
   snip
   /usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file
   or directory
  
   snip
   
   How do I get around this?
   
   I did try to build cups again after having installed
   linux-headers-2.6.18-6-486, since linux/limit.h exist in that package,
   but that didn't help :-(
   
  
   What error did you get then? Because limits.h then existed.
 
  I got the same error. Which made me think, that I had to help the
  build process to find linux/limit.h. Even though I have read for quite
  some time ago, that in debian you should need to tamper with symlinks
  for kernel-headers, I did just that.
 
  # cd /usr/include/linux
  # ln -s /usr/src/linux-headers-2.6.18-6-486/include/linux/limits.h
 
  Tried to build again, and this time the build process got longer and
  bailed out with an other error:
 
  Making all in cups...
  make[2]: Entering directory `/root/cups-1.3.8/cups'
  Compiling adminutil.c...
  In file included from /usr/include/sys/socket.h:35,
  from http.h:43,
  from ipp.h:26,
  from cups.h:32,
  from adminutil.h:29,
  from adminutil.c:36:
  /usr/include/bits/socket.h:304:24: error: asm/socket.h: No such file or
  directory
  In file included from /usr/include/errno.h:36,
  from adminutil.c:39:
  /usr/include/bits/errno.h:25:26: error: linux/errno.h: No such file or
  directory
  In file included from /usr/include/signal.h:333,
  from /usr/include/sys/wait.h:30,
  from adminutil.c:45:
  /usr/include/bits/sigcontext.h:28:29: error: asm/sigcontext.h: No such file
  or directory
  make[2]: *** [adminutil.o] Error 1
 
  This time asm/socket.h is not on my system, but many very similar files do
  exist here:
 
  $ find /usr/include -iname socket.h
  /usr/include/bits/socket.h
  /usr/include/sys/socket.h
  /usr/include/asm-i486/socket.h
  /usr/include/asm-x86_64/socket.h
 
  but not asm/socket.h
 
  Rather than continuing to manually hack around each the compilation
  path/problem, I would like to understand what is wrong with my system.
 
  --
  Note that I use Debian version 4.0
  Linux amin 2.6.18-4-486 #1 Mon Mar 26 16:39:10 UTC 2007 i586 GNU/Linux
  Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
  GPG Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
 
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.4.6 (GNU/Linux)
 
  iD8DBQFI9I1sfCyHKnBQYU4RAs90AJ4rUQWuylI0aF4JXVxoZHbqHYCvSgCfbYST
  သ岿䣨ⳤ爣콘�=
  =jRHx
  -END PGP SIGNATURE-
 
  Do you have the kernel source (for your particular version) installed?

No.

$ uname -a 
Linux debian 2.6.18-6-486 #1 Thu Apr 24 07:59:30 UTC 2008 i486 GNU/Linux

$ dpkg -l linux-source-* | grep ^ii
ii  linux-source-2.6.242.6.24-6~etchnhalf.5   Linux kernel source for 
version 2.6.24 with Debian patches

But I do have the header packages installed.

$ dpkg -l linux-*headers* | grep ^ii
ii  linux-headers-2.6.18-6 2.6.18.dfsg.1-22etch3 Common header files for 
Linux 2.6.18
ii  linux-headers-2.6.18-6-486 2.6.18.dfsg.1-22etch3 Header files for Linux 
2.6.18 on x86
ii  linux-kernel-headers   2.6.18-7  Linux Kernel Headers for 
development

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: what linux/limit.h is needed for backporting cups from lenny to etch?

2008-10-14 Thread Hans Ekbrand
On Tue, Oct 14, 2008 at 06:57:56AM -0500, Hugo Vanwoerkom wrote:
 Hans Ekbrand wrote:
 Hi list!
 
 I was trying to backport libcups2-dev from lenny to etch when I met
 with the following error (from config.log)
 
 snip
 /usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file 
 or directory
 
 snip
 
 How do I get around this?
 
 I did try to build cups again after having installed
 linux-headers-2.6.18-6-486, since linux/limit.h exist in that package,
 but that didn't help :-(
 
 
 What error did you get then? Because limits.h then existed.

I got the same error. Which made me think, that I had to help the
build process to find linux/limit.h. Even though I have read for quite
some time ago, that in debian you should need to tamper with symlinks
for kernel-headers, I did just that.

# cd /usr/include/linux
# ln -s /usr/src/linux-headers-2.6.18-6-486/include/linux/limits.h

Tried to build again, and this time the build process got longer and
bailed out with an other error:

Making all in cups...
make[2]: Entering directory `/root/cups-1.3.8/cups'
Compiling adminutil.c...
In file included from /usr/include/sys/socket.h:35,
 from http.h:43,
 from ipp.h:26,
 from cups.h:32,
 from adminutil.h:29,
 from adminutil.c:36:
/usr/include/bits/socket.h:304:24: error: asm/socket.h: No such file or 
directory
In file included from /usr/include/errno.h:36,
 from adminutil.c:39:
/usr/include/bits/errno.h:25:26: error: linux/errno.h: No such file or directory
In file included from /usr/include/signal.h:333,
 from /usr/include/sys/wait.h:30,
 from adminutil.c:45:
/usr/include/bits/sigcontext.h:28:29: error: asm/sigcontext.h: No such file or 
directory
make[2]: *** [adminutil.o] Error 1

This time asm/socket.h is not on my system, but many very similar files do 
exist here:

$ find /usr/include -iname socket.h
/usr/include/bits/socket.h
/usr/include/sys/socket.h
/usr/include/asm-i486/socket.h
/usr/include/asm-x86_64/socket.h

but not asm/socket.h

Rather than continuing to manually hack around each the compilation
path/problem, I would like to understand what is wrong with my system.

-- 
Note that I use Debian version 4.0
Linux amin 2.6.18-4-486 #1 Mon Mar 26 16:39:10 UTC 2007 i586 GNU/Linux
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GPG Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E


signature.asc
Description: Digital signature


Re: what linux/limit.h is needed for backporting cups from lenny to etch?

2008-10-14 Thread Hans Ekbrand
On Tue, Oct 14, 2008 at 05:09:56PM +0300, Aioanei Rares wrote:
  Install the source for the kernel in use and see if the problem still
 appears.

It's still there.

-- 
Linux amin 2.6.18-4-486 #1 Mon Mar 26 16:39:10 UTC 2007 i586 GNU/Linux
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


automounting removable drives on multi-user systems

2008-09-30 Thread Hans Ekbrand
Hi fellow debian-user(s)

My problem concerns auto-mounting of removable media on multi-user systems.

What I want is a tool/some scripts that:

Whenever a removable media[1] is inserted the user who is owning the
active display [2], should automatically get the device mounted and a
filebrowser should be launched on the mountpoint. (which filebrowser
is up to the user to decide, I prefer mc in terminal, but other users
prefer konqueror). When the user closes the filebrowser, the device
should be automatically unmounted, so a little script will be needed
here.


I know of and use, ivman, which seems be the right tool for this,
since it runs system-wide and once per user.[3] The other users on
this system use KDE, and I don't know:

- if KDE uses ivman or has its own builtin code for handling removable
  media.

- if KDE has its own method for this, can that code be deactivated?
  Should it be deactivated, or is smart enough to not try mount device
  when it runs under an inactive display? (my experience suggests
  otherwise)

- Suppose KDE:s mounting can be deactivated, or be configured to use
  ivman, so there is only ivman to configure, can ivman be configured
  to only mount devices when run by the user who owns the active
  display?

If ivman is not up to this, then are there other tools that can do
this? (And do these other tools play well with whatever window-manager
I happen to prefer?)

--

[1] For now, I'm just interested in USB-sticks (but auto-playing DVD:s
would be a nice bonus

[2] or current VT, or whatever it is called, but all users are using
their own X-server (e.g. Lisa uses X-server 0 at vt7, Bob, uses
X-server 1 at vt8 and so on).

[3] ivman is started automatically on my system at login-time by
Xsession, as described in the documentation for ivman in Debian).


Kind regards,

-- 
Note that I use Debian version lenny/sid
Linux samir 2.6.26-1-686 #1 SMP Thu Aug 28 12:00:54 UTC 2008 i686 GNU/Linux
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: automounting removable drives on multi-user systems

2008-09-30 Thread Hans Ekbrand
On Tue, Sep 30, 2008 at 10:37:29AM -0500, Ron Johnson wrote:
Content-Description: original message before SpamAssassin
 Date: Tue, 30 Sep 2008 10:37:29 -0500
 From: Ron Johnson [EMAIL PROTECTED]
 To: debian-user@lists.debian.org
 Subject: Re: automounting removable drives on multi-user systems
 
 On 09/30/08 10:08, Hans Ekbrand wrote:
 Hi fellow debian-user(s)
 
 My problem concerns auto-mounting of removable media on multi-user systems.
 
 What I want is a tool/some scripts that:
 
 Whenever a removable media[1] is inserted the user who is owning the
 active display [2], should automatically get the device mounted and a
 filebrowser should be launched on the mountpoint. (which filebrowser
 
 GNOME already does this.  Konq should be able to be configured to do 
 this.

I have used gnome-volume-manager under gnome and it seems to do one
thing right: the user who own's the active display get to mount the
device. However, I haven't tested gnome-volume-manager under KDE+ion3
and I don't know if it is able to give the right user the mount
without the gnome desktop stuff. If gnome-volume-mananger does, than
that might be the tool I want.

 is up to the user to decide, I prefer mc in terminal, but other users
 prefer konqueror). When the user closes the filebrowser, the device
 should be automatically unmounted, so a little script will be needed
 here.
 
 The problem with this is that the device's buffers need to be 
 flushed *before* the device is unplugged. 

I see no problem here, umount does not return/finish before the buffers
are synced, and the script will umount and give the user a notice when
the device has been properly umounted. 

 That's why devices need to be manually dismounted.

Not with the work-flow I have drafted. When the user is done moving
files, s/he exits the filebrowser, which means that the script
continues, and the next step in the script is umount, and when that is
done, give the user a note (xmessage or whatever). Actually, I already
have such a script working, which when the filebrowser exits asks the
user (using xmessage) if the device should be umounted or not.

Perhaps my usage of removable media is atypical, but I prefer to use
the only when I have to, i.e. when I need to transfer files to
computers where I don't have an account and/or does not have a network
connection.

 I hate to sound like a curmudgeon, but it shouldn't be hard to teach
 users to dismount devices.  In GNOME, one of the right-click menu
 choices in a drive's desktop icon is Unmount Volume, and I'm sure
 that KDE does something similar.  (Even Windows has the awkward
 Safely Remove Hardware button.)

If the user chooses not let the script umount then, the user will have
to umount manually, as you state, but the default thing to do when I
have tranfered the files, is to umount the device, and I want to be
offered that (and offer that to the other users) with a dialog, don't
you think such an offer is a good idea? Or even, something debian
could offer by default (at least if a automounting daemon like
gnome-volume-manager or ivman is installed on the system)?

 I know of and use, ivman, which seems be the right tool for this,
 since it runs system-wide and once per user.[3] The other users on
 this system use KDE, and I don't know:
 
 - if KDE uses ivman or has its own builtin code for handling removable
   media.
 
 - if KDE has its own method for this, can that code be deactivated?
   Should it be deactivated, or is smart enough to not try mount device
   when it runs under an inactive display? (my experience suggests
   otherwise)
 
 KDE has it's own techniques for automounting.

Can they be configured to only be active for the user who owns the
active display?

-- 
Note that I use Debian version 4.0
Linux amin 2.6.18-4-486 #1 Mon Mar 26 16:39:10 UTC 2007 i586 GNU/Linux
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: how to create an image of your debian computer hard drive for cloning

2008-09-30 Thread Hans Ekbrand
On Tue, Sep 30, 2008 at 09:49:08PM +0200, Aniruddha wrote:
 On Tue, 2008-09-30 at 14:18 -0400, David Clymer wrote:
  On Tue, Sep 30, 2008 at 1:11 PM, Robert Robert [EMAIL PROTECTED] wrote:
   Dear All,
   I was wondering how I could make a clone or image of my computer hard disk
   that contains debian OS. I want to do this in order to make an exact copy 
   to
   another clean pc with no os at all. What complete free software can I use
   for this ? Is there a manual some where on the net about this ?
  
  I highly recommend Clonezilla-live. it makes cloning to/from any sort
  of storage very simple. You can clone to an attached usb drive, to a
  network drive via nfs, samba, or ssh. (http://www.clonezilla.org/)
  
 
 Clonezilla uses partimage which I haven't found too reliable. I still
 prefer to tar /. It works perfectly every time. 

To tar / will not 

- partition the disk
- make a partition bootable
- put the right files on the right partitions unless the partitions are
   - created manually
   - mounted at the correct mountpoints.

The OP mentioned a clean pc with no os at all, which sounds much
like an unpartitioned disk, on which tar / will not work at all (since
there is no partitions and no filesystem to untar to).

If you can plug the hard disk of the clean pc into your existing
system, then I recommend dd. If you need to manually move the data
between the computers then partimaged is handier. If both computers
exists in a fast lan, I guess you could just

At source
- export / from the source over NFS
At target
- boot a live cd on the target, 
- mount source.ip:/ /mnt
- dd if=/mnt/dev/sda (or whatever hard disk on source is) of=/dev/sda

(This tip is untested though).

-- 
Linux amin 2.6.18-4-486 #1 Mon Mar 26 16:39:10 UTC 2007 i586 GNU/Linux
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GPG Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E


signature.asc
Description: Digital signature


Re: Behöver tips hur man får ner paket från unstable på bästa sätt.

2007-12-08 Thread Hans Ekbrand
On Sat, Dec 08, 2007 at 03:30:14PM +0100, Kim Christensen wrote:
 * Mikael Rudberg [EMAIL PROTECTED] [2007-12-08 14:45:11 +0100]:
 
  Hej
  
  Jag vill försöka installera ushare 1.1 på min debian4. Dock så behöver 
  den ett gäng med lib's som ligger i unstable
  ...
  Jag har alldrig använt mig av unstable förut så jag undrar hur jag går 
  tillväga på bästa sätt och. Går att enbart att plocka ner dessa grejer 
  eller måste man uppdatera hela sin debian installation så den får med 
  allt från unstable ?
 
 L???gg till unstable som repository i din sources.list och k???r följande:
 
 # apt-get -t unstable paketnamn
 
 Jag har inte beh???vt g???ra detta sj???lv n???gon g???ng, dåjag k???rt 
 unstable
 sedan min f???rsta installation, sån???gon annan kanske kan fylla i hur
 v???l det fungerar att blanda distributioner pådet h???r s???ttet?

Det finns två alternativ, antingen gör man som Kim skriver ovan, låt
oss kalla det blanda binärer eller så kompilerar man ushare 1.1 för
stable (etch), låt oss kalla det bakåtporta. För att bakåtporta krävs:

1. Lägg till en deb-src rad i /etc/apt/sources.list som refererar till unstable
2. # apt-get update
2. # apt-get build-dep ushare
3. # apt-get --build source ushare

Fördelar med blanda binärer:

  - något enklare, kräver bara en ändring i /etc/apt/sources.list och
att kör:
# apt-get update; apt -t unstable install ushare
  - kräver mindre CPU-tid.

Fördelar med bakåtporta:

  - Enbart det paket som bakåtportas påverkas, de övriga paketen är
fortfarande samma väl beprövade kombination av program. (T.ex. så
   såg jag i listan över bibliotek som skulle uppdateras ingick libc,
   vilket ju nästan alla dina övriga program använder.)

Inget av alternativen är överlägset, vilket som är bäst beror på
situationen, t.ex. bakåtportar man inte gärna ett gigantisk program
som openoffice (riktigt stora brukar i och för sig finnas på nätet
bakåtportade av någon annan), eller om burken som ska köra programmet
är långsam, eller har mycket lite ledigt hårddiskuttrymme.

Som Kim skriver är den stora frågan hur bra en oprövad kombination av
binärer fungerar. Jag har såvitt jag minns aldrig stött på problem som
jag kunnat härleda till en sådan kombination, men om stabilitet är
viktigt för dig (eller viktigt för dig på en viss dator), så skulle
jag rekommendera bakåtporta.

Om du kan anta att du i framtiden kommer att vilja ha fler nyare
versioner av program än de som finns i stable, blir det i längden lite
omständligt att bakåtporta. I sådana fall är smidigare att köra
testing än stable.

Själv kör jag stable med bakåtportade versioner av några få för mig
viktiga program (ion3, xlockmore).

-- 
Hans Ekbrand


signature.asc
Description: Digital signature


Re: Montera NTFS-partitioner

2007-11-30 Thread Hans Ekbrand
On Sun, Nov 25, 2007 at 11:45:50AM +0100, Per Tunedal wrote:
 Hej!
 Det tycks gå att montera NTFS-volymerna manuellt, men jag måste ställa in 
 behörigheter etc som jag ännu inte lärt mig.
 
 Det slog mig att volymerna borde monteras automatiskt.

Det håller inte jag med om.

Om du vill att de ska monteras automatiskt så ändra i /etc/fstab, men
inse att inte alla tycker att det är bra policy.

Det är inget tekniskt fel på Debian som gör att inte det fungerar som
du vill, den förvalda policyn är bara en annan än din favorit-policy.

 Felmeddelandet när jag klickar på ikonen under Dator på skrivbordet:  
 
 libhal-storage.c 1401 : info: called libhal_free_dbs_errir but
 dbuserror was not set.
 process 3934:applications must not close shred connections
 - see dbus_connection_close() docs. this is a bug int the application.
 fel: enheten /dev/sdc1 ?r inte l?stagbar
 fel: kunde inte k?ra pmount

Din NTFS-formatterade hårddisk är inte löstagbar, och därför har du
inte rättigheter att montera den.

Utifrån din favorit-policy när det gäller rättigheter låter det som
att du är ensam användare på ditt system, och då är det kanske enklast
att ändra i /etc/fstab, snarare än att ändra udevs/hals
rättighetspolicy vad gäller fasta diskar.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: Montera NTFS-partitioner

2007-11-26 Thread Hans Ekbrand
On Sun, Nov 25, 2007 at 11:45:50AM +0100, Per Tunedal wrote:
 Hej!
 Det tycks gå att montera NTFS-volymerna manuellt, men jag måste ställa in 
 behörigheter etc som jag ännu inte lärt mig.
 
 Det slog mig att volymerna borde monteras automatiskt.

Det håller inte jag med om.

Om du vill att de ska monteras automatiskt så ändra i /etc/fstab, men
inse att inte alla tycker att det är bra policy.

Det är inget tekniskt fel på Debian som gör att inte det fungerar som
du vill, den förvalda policyn är bara en annan än din favorit-policy.

 Felmeddelandet när jag klickar på ikonen under Dator på skrivbordet:  
 
 libhal-storage.c 1401 : info: called libhal_free_dbs_errir but
 dbuserror was not set.
 process 3934:applications must not close shred connections
 - see dbus_connection_close() docs. this is a bug int the application.
 fel: enheten /dev/sdc1 ?r inte l?stagbar
 fel: kunde inte k?ra pmount

Din NTFS-formatterade hårddisk är inte löstagbar, och därför har du
inte rättigheter att montera den.

Utifrån din favorit-policy när det gäller rättigheter låter det som
att du är ensam användare på ditt system, och då är det kanske enklast
att ändra i /etc/fstab, snarare än att ändra udevs/hals
rättighetspolicy vad gäller fasta diskar.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Nyckelsigneringsfest, Göt eborg/Slottskogen nu på onsdag.

2007-06-11 Thread Hans Ekbrand
Hej!

För er som befinner er i Göteborgsområdet på onsdag kväll vill jag
informera om en nyckelsigneringsfest i Slottskogen den 13 juni klockan 19:00.

Platsen är Slottskogen, på gräsmattan mittemot Björngårdsvillan.

Inbjudan har gått ut till personer som är listade på biglumber med
adressen Göteborg, samt till ett antal andra personer som råkar känna
mig, Hans Ekbrand, samt till några epostlistor.

Både jag själv, och flera av de inbjudna är inte tidigare varit på ett
key-signing-party. Så för er som är osäkra på rutinerna, eller poängen
med det hela, se t.ex.

http://cryptnet.net/fdp/crypto/keysigning_party/en/keysigning_party.html
http://www.keysigning.org/methods/adhoc

Antalet deltagare kommer antagligen inte att vara så stort, så därför
kommer vi att använda en metod som kräver minimala förberedelser.

Förberedelser:

(Om du inte har någon nyckel så måste du skapa en, se t.ex.
http://cryptnet.net/fdp/crypto/keysigning_party/en/keysigning_party.html#prep)

0. Om du inte redan gjort det, se till att din nyckel finns
   tillgänglig på nyckelservrarna: (i instruktionerna nedan, byt ut
   [EMAIL PROTECTED] mot den epostadress som du angav
   när du skapade nyckeln).

gpg --send-keys [EMAIL PROTECTED]

1. Skriv ut nyckelns fingeravtryck med följande kommando

gpg --fingerprint [EMAIL PROTECTED]

2. Kopiera upp (eller skriv ut fler kopior) av resultatet av
   ovanstående kommando. Ta med dig så många ex som du vill ha
   signaturer på din nyckel. Mer än 20 är nog inte nödvändigt, vi blir
   nog inte så många.

3. Kom till partyt med
   -en giltig legitimation
   -utskrifterna av din nyckels fingeravtryck
   -en penna

Efterarbete:

Var och en laddar ner de övrigas nycklar från nyckelserverarna, jämför
fingeravtryck på pappret med fingeravtrycket på de nedladdade
nycklarna, signerar dem (om fingeravtrycken överensstämmer) och
skickar tillbaka de signerande nycklarna till nyckelservrarna. (Se
http://cryptnet.net/fdp/crypto/keysigning_party/en/keysigning_party.html#after_keysigning_party
för detaljerade instruktioner).

Ingen föranmälan behövs, eventuella frågor skickas med fördel till
mig, Hans Ekbrand.

Med vänliga hälsningar, 


-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: debmirror can't find public key to validate Release files

2006-02-02 Thread Hans Ekbrand
On Thu, Feb 02, 2006 at 11:08:54AM -0500, Daniel B. wrote:
 Hans Ekbrand wrote:
 
 On Wed, Feb 01, 2006 at 04:50:47PM -0500, Daniel B. wrote:
 
 Andrew M.A. Cater wrote:
 
 On Wed, Feb 01, 2006 at 11:10:56AM -0500, Daniel B. wrote:
 ...
 I can't tell if I deleted a key I had before (in purging and/or
 re-installing some things I shouldn't have) or if upgrading debmirror
 got me a version that now checks against a key I never had in the first
 place.
 
 What can I do to get debmirror working again?
 ...
 apt-get install debian-archive-keyring ??
 
 Nope, that doesnt work.  (There's no such package in Sarge
 or the Sarge security updates (unless my mirror is broken).)
 
 What else?
 
 
 get debmirror from sarge manually (not apt-get). install with dpkg.
 
 Huh?  I already have debmirror from sarge (debmirror version 200502027).
 That's the version of debmirror that is complaining about the lack of
 a public key.

OK. I thought you hade upgraded debmirror to unstable and wanted to
downgrade it to the version in sarge.

 Did you mean to download something else from Sarge?
 
 Or did you mean to download debian-archive-keyring from something
 other than Sarge?
 
 Or something else?  (Is debian-keyring (in sarge) the old name
 of the debian-archive-keyring that was referred to about, or is it
 something else?)

debian-keyring contains the public keys of all developers and the
public keys of certain roles within the debian project.

debian-archive-keyring is a small package with only the keys needed
for apt-get to work with gpg. AFAIK debian-archive-keyring does not
exist in sarge.

I don't know about debmirror, but I know what i did to get apt-get
work in unstable when the old key expired. Perhaps something like this
would work for you too?

# gpg --keyserver subkeys.pgp.net --recv-keys 2D230C5F
# gpg --export -a 2D230C5F | apt-key add -

-- 
Linux samir 2.6.8-2-386 #1 Tue Aug 16 12:46:35 UTC 2005 i586 GNU/Linux
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


Re: debmirror can't find public key to validate Release files

2006-02-01 Thread Hans Ekbrand
On Wed, Feb 01, 2006 at 04:50:47PM -0500, Daniel B. wrote:
 Andrew M.A. Cater wrote:
 On Wed, Feb 01, 2006 at 11:10:56AM -0500, Daniel B. wrote:

[...]

 I can't tell if I deleted a key I had before (in purging and/or
 re-installing some things I shouldn't have) or if upgrading debmirror
 got me a version that now checks against a key I never had in the first
 place.
 
 What can I do to get debmirror working again?
 
 
 
 apt-get install debian-archive-keyring ??
 
 Nope, that doesnt work.  (There's no such package in Sarge
 or the Sarge security updates (unless my mirror is broken).)
 
 What else?

get debmirror from sarge manually (not apt-get). install with dpkg.

-- 
Note that I use Debian version 3.1
Linux samir 2.6.8-2-386 #1 Tue Aug 16 12:46:35 UTC 2005 i586 GNU/Linux
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


/var becomes read-only every day

2006-01-31 Thread Hans Ekbrand
Hi list!

Every day /var (which is on its own partition) becomes read-only.

# mount -o remount,rw /var

works ok but in the long run I must find and solve the problem.

This is a Sarge box. I suspect some cron job, but I don't know what to
look for. The only customized cron job I know of is this: the box
automatically installs security updates once a day from
security.debian.org with the following:

0   16 * * */2  LANG=C sudo apt-get update
30  16 * * */2  LANG=C sudo apt-get -y dist-upgrade

And I have a file /etc/apt/apt.conf.d/50automatic-security-installs
with the following.

// Do default handling of changed conffiles (should be keep user changes)
// If default is set to do nothing, then keep user changes
//DPkg::options::--force-confold=--force-confdef;
Dpkg::Options {--force-confold;}

-- 
Note that I use Debian version 3.1
Linux samir 2.6.8-2-386 #1 Tue Aug 16 12:46:35 UTC 2005 i586 GNU/Linux
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


Re: /var becomes read-only every day

2006-01-31 Thread Hans Ekbrand
On Tue, Jan 31, 2006 at 04:06:23PM -0500, Chris Howie wrote:
 Hans Ekbrand wrote:
  Every day /var (which is on its own partition) becomes read-only.
 
 If /var is on a separate partition and is mounted with '-o errors=remount-ro'
 then check dmesg and see if some error is triggering the remount.

That showed errors on that partition. Guess my harddisk is dying...

Thanks for the hint!

-- 
Note that I use Debian version 3.1
Linux samir 2.6.8-2-386 #1 Tue Aug 16 12:46:35 UTC 2005 i586 GNU/Linux
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: problem with automatic upgrade (changed conffile)

2005-09-19 Thread Hans Ekbrand
On Mon, Sep 19, 2005 at 12:29:38AM +0200, Kjetil Kjernsmo wrote:
 On mandag 19 september 2005, 00:18, Hans Ekbrand wrote:
   You must
   expect issues like these, it is a feature... :-)
 
  Not getting security updates automatically installed a feature? Not
  in my world!
 
 Well, imagine the security.debian.org box getting compromised, and the 
 attacker pumping out a trojanned security upgrade. You install it 
 automatically before the Debian folks take the box out. The attacker 
 has your IP too... That's a serious single point of failure for the 
 entire community, you know... 

That's a interesting point, but not relevant in the current
discussion. Note that I do get automatic security updates on all
packages in which I have not changed any conffile. If it were a
feature not to get automatic installing of security updates, then that
would be some kind of bug, don't you think.

My question is:

How do I do to get automatic security updates also for packages that
I have changed a conffile in?

 I prefer to read and understand the DSA, and check that the DSA is 
 signed with a key I trust (I'm just a hop from joey) before I do a 
 manual apt-get upgrade on affected machines.
 
 But YMMV, that's just me.

I understand the risk of automating security upgrades, but I consider
relying on installing security updates by hand to be worse, since I
don't think I will have the time (or opportunity) to keep up with the
security updates.

-- 
Note that I use Debian version 3.1
Linux emac140 2.6.8-2-686 #1 Mon Jan 24 03:58:38 EST 2005 i686 GNU/Linux
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: problem with automatic upgrade (changed conffile)

2005-09-19 Thread Hans Ekbrand
On Mon, Sep 19, 2005 at 09:07:45AM +0200, Hans Ekbrand wrote:

[...]

 My question is:
 
 How do I do to get automatic security updates also for packages that
 I have changed a conffile in?

The answer was in the Debian Reference Manual

http://www.debian.org/doc/manuals/reference/ch-package.en.html#s-apt-get-auto

Create a file /etc/apt/apt.conf.d/50automatic-installs-save-oldconfig
Put the following into it:

Dpkg::Options {--force-confold;}

PS. Oddly enough, --force-confold is said to be mostly intended to be used by
experts only in the manual of dpkg.


-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


problem with automatic upgrade (changed conffile)

2005-09-18 Thread Hans Ekbrand
Hi debian-user!

I have

sudo apt-get update
sudo apt-get -y dist-upgrade

 in my crontab and the following sources for apt:

deb http://debian.archive.of.my.country/debian/ stable main
deb http://security.debian.org/ stable/updates main contrib non-free

since release of sarge and until now that has served me well. A recent
kde-upgrade produced the following error, which is now repeated for
every cron-run. (Excuse some swedish here, but I think you recognize
most of it.

- Forwarded message from Cron Daemon [EMAIL PROTECTED] -

From: Cron Daemon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Cron [EMAIL PROTECTED] sudo apt-get -y dist-upgrade
Date: Sun, 18 Sep 2005 16:30:38 +0200

Läser paketlistor...
Bygger beroendeträd...
0 uppgraderade, 0 nyinstallerade, 0 att ta bort och 0 ej uppgraderade.
1 ej helt installerade eller borttagna.
Behöver hämta 0B arkiv.
Efter uppackning kommer 0B ytterligare diskutrymme användas.
Ställer in kdm (3.3.2-1sarge1) ...

Konfigurationsfil /etc/kde3/kdm/kdmrc
 == Modifierad (av dig eller ett program) sedan installationen.
 == Paketdistributören har uppdaterat konfigurationsfilen.
   Vad vill du göra åt det?  Dina möjligheter är:
   Y eller I: installera paketansvariges version
   N eller O: behåll din nu installerade version
  D : visa skillnaderna mellan versionerna
  Z : lägg denna process i bakgrunden för att undersöka situationen
 Förvald funktion är att behålla din nuvarande version.
*** kdmrc (Y/I/N/O/D/Z) [förval=N] ? dpkg: fel vid hantering av kdm 
(--configure):
 Filslut på stdin vid konfigurationsfilsfrågan
Fel uppstod vid hantering:
 kdm
E: Sub-process /usr/bin/dpkg returned an error code (1)

- End forwarded message -

 The error-message is something like End of file at stdin at question
about conffile (I can edit the crontab to run apt-get under LANG=C if
that would help diagnosing the problem).

I have changed /etc/kde3/kdm/kdmrc, but so what? Why does dpkg fail
here?

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


Re: problem with automatic upgrade (changed conffile)

2005-09-18 Thread Hans Ekbrand
On Sun, Sep 18, 2005 at 11:50:28PM +0200, Kjetil Kjernsmo wrote:
 On søndag 18 september 2005, 23:34, Hans Ekbrand wrote:
  I have changed /etc/kde3/kdm/kdmrc, but so what? Why does dpkg fail
  here?
 
 There are certain limitations to doing things automatically, and in this 
 case, it detects certain changes that it needs your input on. It is a 
 config files that's changed. I believe it is possible to tweak 
 something to make it do more things automatically, though.

The default action is to keep my changes, and that is what I want.

 You must 
 expect issues like these, it is a feature... :-)

Not getting security updates automatically installed a feature? Not in
my world!

 Note that there is a package cron-apt, that you may want to install 
 instead. It can be configured to do automatic upgrades. 

cron-apt is just a wrapper around apt-get, I used it for a year or so.
AFAIK cron-apt cannot make apt-get (or dkpg) smarter, it just
automates the apt-get update, apt-get -y dist-upgrade thing much like
the lines in my crontab.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: combining POP mail and mail file with local repeating and combining POP server?

2002-06-26 Thread Hans Ekbrand
On Tue, Jun 25, 2002 at 10:41:31PM -0400, Daniel Barclay wrote:
 
 
  From: Hans Ekbrand [EMAIL PROTECTED]
  ...
  On Mon, Jun 24, 2002 at 11:31:06PM -0400, Daniel Barclay wrote:
 ...
   I'd like to have a local POP server that, when queried, queries another
   POP server and looks at a local mail file, and then serves the combined
   set of messages to the POP client.
  
 ...
  Why not ISP-fetchmail-exim-[procmail-~/mail-]local IMAP-netscape?
 
 Is that fetchmail for everything or fetchmail downloading just my
 mailing-list messages?
 
 
 If that's for everything, it doesn't quite do what I want:  I don't
 want to fetch the non-mailing-list messages unless I'm fetching them
 into Netscape.  
 
 
 I don't think I mentioned another constraint:  My home machine is not 
 on line all the time, so I can't use a POP server there to be able to 
 check mail from elsewhere (at any time).  
 
 That's why I want to leave some mail on my ISP's machine.
 
 
 Going through several servers would be okay, but I want the non-mailing-list 
 messages to remain on my ISP's POP server, accessible from work (or 
 anywhere), 
 until I retrieve them from home.

1. Continue to fetch mailing-list mail with cron/ftp.
2. install a local imap server.
3. Whenever you want to read non-mailing-list mail from home with
netscape, run fetchmail which will download that mail from your isp.
4. I think fetchmail must be helped by a MTA listening at port 25 or a
MDA to deliver the mail to your spool file (or to ~/mail)
5. Your local imap server will then see the mail and can serve it to netscape.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpgqYPe7eMtN.pgp
Description: PGP signature


Re: combining POP mail and mail file with local repeating and combining POP server?

2002-06-25 Thread Hans Ekbrand
On Mon, Jun 24, 2002 at 11:31:06PM -0400, Daniel Barclay wrote:
 Is there any POP server that can combine the mail from another POP server
 with mail in a mail file?
 
 I'd like to have a local POP server that, when queried, queries another
 POP server and looks at a local mail file, and then serves the combined
 set of messages to the POP client.

Mail administration is not my area of expertise, but here are some
thoughts/suggestions:

Why not ISP-fetchmail-exim-[procmail-~/mail-]local IMAP-netscape?

I thought netscape 4 had IMAP support, doesn't it?

 Here's why I ask:
 
 1.
 - mail is delived to a mail spool file on my ISP's machine
 - my ISP has a POP server
 - I retrieve regular mail on demand over POP using Netscape


 2.
 - I filter messages from high-volume mailing lists (such as this
   one) into a separate mail file using a .forward file in my shell 
   account on my ISP's machine
 
 - I download that mail file every so often with a cron job, appending 
   it to a new-mail file
 
 - when I read mailing-list mail, I use Emacs RMAIL to read the
   mail from that new-mail file into an RMAIL file
 
 
 3.
 - I want to switch to reading those mailing list messages in Netscape.
 
 - I want to keep downloading the high-volume messages.  (I don't want
   them to accumulate on my ISP's machine, in case I don't read mail
   often enough and they exceed my disk-space quota.  I also don't want 
   them cluttering up my regular mail file in case I need to telnet in 
   from some remote location and do a less on my mail file.)

procmail will keep things apart, but if you are limited to one POP
account, then I don't think POP3 will be useful here. Only by using
IMAP (or several POP accounts) you can keep mail sorted on the server
side.

 - I want regular messages to remain on my ISP's machine until I
 retrieve them from Netscape. (I check my mail in keep-on-server
 mode from work (or using telnet from some remote location) if I
 haven't yet retrieved it from home.)
 
 - Netscape 4.x (yes, I know...) can only retrieve from one POP server.
 
 
 4.
 Here's what I think I'd like to happen:
 
 - I keep separating high-volume mail using my .forward file on my ISP's
   machine.
 
 - I keep downloading the high-volume mail separately.
 
 - When I retrieve mail using Netscape at home, it connects to a special,
   local POP server.
 
 - The local POP server queries my ISP's POP server, _and_ looks at
   the downloaded mail file, and presents the _combined_ set of
   messages to Netscape.

Let fetchmail regurlary fetch that mail from ISP to your local box,
perhaps via cron.

   (Netscape at home runs in don't-keep-messages-on-server mode, so the 
   local POP server would use that mode to talk to the ISP POP server, 
   and would delete messages from the downloaded mail file.)
 
 
 Other approaches that work would be fine too.
 
 Some related questions seem to be:
 
 Is there any safe way to asynchronously append messages to a Netscape
 mail file?  Or would I need to run a command when I know I'm not using
 the mail that to which messages are appended externally?

When you use netscape to read your mail, it connects to local POP,
downloads the messages and then displays them. So netscape is always
operating on a copy of what the POP server actually got. There can be
no lock problems as far as netscape is concerned, as I understand
things.

 Can fetchmail download only certain messages?  (Maybe I could retrieve
 the mailing-list messages with cron, and leave the remainder there, if
 there's a (reliable) way to get list messages back into Netscape.)

What is the point in not having all mail transfered immediately (or by
cron/fetcmail) to your local POP?

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpughWvmeyVi.pgp
Description: PGP signature


Thread stealing [was Re: [ Debian Users ] Subject Prefix ?]

2002-06-25 Thread Hans Ekbrand
On Tue, Jun 25, 2002 at 07:41:42AM -0400, christophe barbé wrote:
 Could you avoid posting to a mailing list by doing a reply to a current
 thread and changing the subject ? I don't know for pine but on MUA able
 to display the threads, it's boring to see a thread in another simply
 because you can type the ml address by yourself or save it in your
 address book.

Agreed. It makes it harder than it ought to be to manage this
high-volume list (Deleting a whole thread is very convenient, but
thread stealing undo the gain of an intelligent MUA).

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpgw8IydZreJ.pgp
Description: PGP signature


Re: send and receive mail through eth1

2002-06-25 Thread Hans Ekbrand
On Tue, Jun 25, 2002 at 01:01:47PM +0100, Rory Campbell-Lange wrote:
 I need to setup a machine to be on an internal lan on eth0, but connect
 to another gateway on eth1 to collect mail. Both eth0 and eth1 are
 running in trusted network environments.
 
 I have looked at the exim and fetchmail man pages, but don't see any
 obvioius options for setting them to use (say) interface eth1.

Dealing with eth1 et al is the job of the kernel, for applications
like exim and fetchmail, just specify the network info they need (for
fetchmail what hosts to query, for exim what domains are local etc),
and it work automatically.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpqfF2W98pAy.pgp
Description: PGP signature


Re: Solutions for booting dual OS (separate HDs)

2002-06-19 Thread Hans Ekbrand
On Wed, Jun 19, 2002 at 02:44:54PM +0300, [EMAIL PROTECTED] wrote:
 How do I make an boot disk for the hdb/debian so that it only boots from 
 the floppy, but loads kernel etc from HD?

The significant line in /etc/lilo.conf is   


boot=/dev/fd0   
 
Good Luck!

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpmf8Zgz3c64.pgp
Description: PGP signature


Re: LTSP packages

2002-06-18 Thread Hans Ekbrand
On Tue, Jun 18, 2002 at 06:46:44AM -0400, Tom Allison wrote:
 I noticed that the ltsp.org has a series of GPLed debian packages 
 for use in installing the lstp client/server files necessary.
 
 I am wondering why these packages have not been incorporated into 
 the Debian Package library as official packages?
 
 I asked on the ltsp list and the response was two fold:
 
 The lstp .deb maintaner was not yet on the Debian Team.
 
 The ltsp .deb packages would have to be 'non-free' and Debian is 
 discouraging non-free packages.  I guess I don't get it.  it's GPLed.

The ltsp debs are non-free because there exists no source packages.

See. http://lists.berlios.de/pipermail/termserv-devel/2001-December/000201.html

(It's my understanding that LTSP is made by binaries picked from
various distros, and some things are compiled from source, e.g. the X
packages). AFAIK the LTSP packages does not meet the demands of GPL
and is thus non-free. The problem is not so much of licensees as of
work: no one has uptil now taken the time to gather the source for
these packages, even if is available, under GPL, SOMEWHERE.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgp9E9ps8U4qA.pgp
Description: PGP signature


Re: kernel upgrade to 2.4.18

2002-06-17 Thread Hans Ekbrand
On Mon, Jun 17, 2002 at 03:30:05PM -0300, Francisco Fialho wrote:
 Andrew Perrin wrote:
 On Mon, 17 Jun 2002, Francisco Fialho wrote:
 is there any command I can use to see what kernel I'm using?!

 uname -a

 the output to the uname - a command gave me 2.2.20...
 what is missing?! make-kpkg ran OK...
 must I do something?! after make-kpkg nothing else
 as done, except run the lilo command.

I missed the start of the thread, but you do know that you will have
to reboot in order to use the new kernel?

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpTcuDKFs9x6.pgp
Description: PGP signature


Re: Another guide for a diskless installation?

2002-06-16 Thread Hans Ekbrand
On Sun, Jun 16, 2002 at 05:19:13PM -0400, [EMAIL PROTECTED] wrote:
 I have an IBM Thinkpad 560 with no external floppy drive or (any) CD-ROM. 
 It's running Win '95 with no other partitions and the only way to get data in
 or out of the laptop is with an Ethernet PC Card.
 
 That's why I'd like to execute a diskless installation.  The installation
 guide seems to treat this type of installation as an afterthought, but I'm
 also having trouble finding a more thorough guide to a diskless installation.

1. Will you install to the partition that currently holds MS Windows?

2. When you say diskless installation and also states that there is no
external floppy or (any) CD-ROM, do really mean diskless (e.g. use a
bootrom on a nic to boot over the network) or is there an internal
floppy drive?

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpXDf1vWF20X.pgp
Description: PGP signature


Re: Another guide for a diskless installation?

2002-06-16 Thread Hans Ekbrand
On Sun, Jun 16, 2002 at 05:35:09PM -0400, [EMAIL PROTECTED] wrote:
 Hi!
 
 Thanks for the response:
 
 Indeed, there's no internal floppy either ... this is their ultra-light
 Pentium laptop.  The only type of floppy drive available to this machine is
 external, and it wasn't available to me when I bought the laptop.
 
 I also have no desire to keep anything Windows, so I would like to install to
 the partition that contains Windows, too.

There are two ways:

1. Boot via bootrom on nic (etherboot, dhcp, tftp and nfs). Mount your local
harddisk, partition it and install to it. (You will of course need
another computer in the same network to offer these services)

2. Use your Windows partition (disk) to hold the kernel (and the
driver files), use loadlin to start the installation process. As I
haven't installed lately the following is perhaps not accurate: To be
able to install the base packages (so apt-get will work) to /, you
will have to format at least one partition as a native linux fs (e.g.
ext2). But for the installation process to be able to read the base
packages, you must not wipe your current vfat partition. To get out of
this paradox, make some space, by deleting (uninstalling) most windows
programs, use fips, or (partition magic) to repartition and create a
small vfat partition that can hold the base packages. Start
installation (loadlin), (partition and) format hda1 as ext2, install
base from the other vfat partion, and the rest from the net.

Untested, just the way I would go about and do it.

Good Luck!

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpb3uF9HHbjD.pgp
Description: PGP signature


Re: so how do the pros read all those .gz docs, zless?

2002-06-13 Thread Hans Ekbrand
On Thu, Jun 13, 2002 at 08:13:42AM +0800, Dan Jacobson wrote:
 Lots of /usr/share/doc's are in .gz format.  What does Joe Average do
 to read them, zcat, zless, etc. over and over?  (Nifty me of course
 uses emacs' dired's v with auto-compression-mode on.  Seems to be
 ideal.  However then one encounters patches of HTML docs, which seem
 best suited for galeon, mozilla, not w3...)

w3m handles .gz and html nicely.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpWwrrTcXYTo.pgp
Description: PGP signature


Re: Frame Buffer Query

2002-06-13 Thread Hans Ekbrand
On Thu, Jun 13, 2002 at 06:29:27AM +0200, Oliver Fuchs wrote:
 On Wed, 12 Jun 2002, Jijo Jose A wrote:
 
  XFree86 Version 3.3.6 / X Window System
  (protocol Version 11, revision 0, vendor release 6300)
 
 Hi,
 first of all I suggest to upgrade XFree86 Version3.something to
 Version4.something ... here you have a support for S3 cards ... 

4.1 does not support S3
4.2 does support some S3 cards.

Set the 

HorizSync   
VertRefresh 
 
in the Monitor section of /etc/X11/XF86Config to values that reflect
you monitors capabilities.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpC2e0ZWtiwB.pgp
Description: PGP signature


Re: will configuration files get overwritten?

2002-06-13 Thread Hans Ekbrand
On Fri, Jun 14, 2002 at 05:06:52AM +0800, Dan Jacobson wrote:
 I hear some configuration files shouldn't be edited by hand, but
 should instead have dkpg-reconfigure run on them.

The general case is like this. If you edit a config file, then you
will be asked if you want to keep your customized version when you
upgrade the package that owns the file in question.

  Will such files
 have warning messages every time in them saying how one should edit
 them, and also if the next time I update the package if they will get
 overwritten or not?

Some packages ask at configuration time (debconf or whatever) if you
want the configuration files of those packages to be managed by the
package system (X and dexconf is an example of this). If you chose to
let these packages be automatically (by your answers to debconf)
configured, then they will contain such warnings.

 E.g. some of the many cron.daily etc. files.

On my system the only thing in /etc/cron.daily/ that resembled what
you mean was in /etc/cron.daily/standard

#   This is a configration file.  You are invited to edit
#   it and maintain it on your own.  You'll have to do
#   that if you don't like the default policy
#   wrt. rotating logfiles (i.e. with large logfiles
#   weekly and daily rotation may interfere).  If you edit
#   this file and don't let dpkg upgrade it, you have full
#   control over it.

But in this case the don't let dpkg upgrade it in the last sentence
only means that you chose (the default) to keep your own version when
asked when the package is upgraded.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgp29DkweMjpc.pgp
Description: PGP signature


Re: Unidentified subject!

2002-06-12 Thread Hans Ekbrand
On Tue, Jun 11, 2002 at 09:38:38PM -0500, Kent West wrote:
 If you have sudo installed (you *do* have it installed, don't you?) and 
 have your user configured with enough permissions, you might can simply 
 sudo passwd root.

If anyone configure sudo with what you call enough permissions, they
thereby defeats the whole purpose of sudo, and in addition makes it
easier for a hacker to become root.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpXPWTOoSHvK.pgp
Description: PGP signature


Re: Beginning to try to secure my box.

2002-06-05 Thread Hans Ekbrand
On Wed, Jun 05, 2002 at 10:06:30PM +1200, arthur_dent wrote:
 I am trying to begin to secure my P.C.. It's only a home computer but may 

[...]

 One of these 
 is portmap. I notice this is enabled by default (I think) on Woody. Can I 
 safely uninstall this service/program without affecting my p.c.?

Yes.

 Also they recomend disabling nfs...I have nfs-common and nfs-kernel-server 
 installed. Can I safely disable these too?

Yes. 

 I dont require them for apt-get 
 updates etc?

No.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpTr4eKdANFW.pgp
Description: PGP signature


Re: Auto-update .twmrc?

2002-06-03 Thread Hans Ekbrand
On Thu, May 30, 2002 at 06:29:48PM -0700, Sean 'Shaleh' Perry wrote:
 On 31-May-2002 Jeffrey Chimene wrote:
  I think the answer is you can't, but I'll ask anyway:
  
  Is there any way to auto-update .twmrc when new software's installed?
  
  I think the answer is no because twm doesn't implement an *include*
  directive for .twmrc. I don't want to switch window managers: this is a
  memory constrained system and twm seems to be a nice compromise between
  functions and memory.
  
  The debian menu documentation describes customization of menus when the
  window manager implements an *include* directive.
  
 
 The problem is you either need an include directive or you need a spot in the
 wm which stats the file and re-reads it occasionally.

I missed the beginning of this thread, but I have implemented an
auto-update mechanism for .twmrc though. Menu-hooks from
/etc/X11/twm/menudefs.hook are concatenated with some sections with my
personal settings into ~/.twmrc

A few scripts in ~/bin/ let my thus change the way my favorite
applications are called by twm (my need for flexibility come from
using different terminals with different resolutions). These scripts
have entries in the twm-menus.

Mail me off-list if you want examples.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpaPV4rgaWZz.pgp
Description: PGP signature


Re: woody is killing me

2002-05-30 Thread Hans Ekbrand
On Thu, May 30, 2002 at 06:16:10AM -0400, Tom Allison wrote:
 OK, I'll fess up.  I am dying over here with woody's recent release 

 resolved for real?  I don't know that it is as simple as doing another 
 apt-get update ; apt-get upgrade as I've already tried that one.
 What next?

apt-get dist-upgrade

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpaMVd831oob.pgp
Description: PGP signature


Re: PST to mutt

2002-05-27 Thread Hans Ekbrand
On Sun, May 26, 2002 at 11:33:13PM -0700, Jeff wrote:
 steev, 2002-May-27 02:21 -0400:
  I have been searching for a way to convert my mails from my .pst from my
  windows box to my new and improved linux ( :))) ) mutt mailbox.  I

 I think you're in for a load of work on this task.  An idea I have is
 if you have an IMAP server available that you can move all the mail
 onto with the Windows mail client, you could then access the IMAP
 folders with Mutt or fetchmail and pull them into your mbox/maildir
 folders.

Or, if the IMAP server is the new linux box, just configure it to put
folders (files) in $HOME/mail/.

When I converted .pst files, I think I simply took one folder at a
time and put it on the imap server and.

mv /var/mail/my_user_name ~/mail/

Recent post has implied that OE use mbox format, (but cannot handle
folders larger than 5 Mb correctly), importing to OE and just moving
the folders (files) is another way if there is no IMAP server
available (without dial-up and transferring 250 Mb twice).

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpxhVchAfDwc.pgp
Description: PGP signature


Re: High density text on console

2002-05-27 Thread Hans Ekbrand
On Mon, May 27, 2002 at 03:11:52PM -0500, dman wrote:
 On Mon, May 27, 2002 at 03:30:10PM -0400, Mike Dresser wrote:
  
 | Just wondering if anyone knows of a video card that supports very high
 | density text in console.
 | 
 | The card I'm using(Trident 9880) does 132x60, but I'm looking for
 | something smaller, as this still feels large even on a 14 monitor.
 | 
 | Anyone know of video cards that have these funky VESA modes that go that
 | high?
 
 My SiS 6326 (a cheap AGP card) supports [EMAIL PROTECTED]  I'm using the
 vesa framebuffer (requires recompiling the kernel even though the docs
 say otherwise, IME).  I use 0x31B as the vga= parameter to my kernel.
 I can certainly fit a lot of text on the screen.  Far more than 60
 lines vertically, and I don't know how many wide.

~stty size

 | Is there even a VESA mode that high? :D
 | 
 | I looked through SVGA.txt, but it doesn't seem to help me much
 
 VESA and VGA are different.  VGA is text-based, VESA is
 graphics-based.  Look at fb/vesafb.txt.gz instead.  You can also try
 the tridentfb driver, but I think it is brand new and not stable yet.

I use framebuffers on the console at 1864x1400 in 60 Hz, and (more
often) 1600x1200 at 60 Hz. I prefer to waste real screen estate on a
nice font though (Sun12x22).

PS. After a kernel upgrade (don't remember to what kernel) my
customized boot argument to the fb driver (See the fb/framebuffer.txt
for making custom mode lines) didn't work any more (just a blank
screen), so now I have a boot script to get 1864x1400.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpWdUJau18D3.pgp
Description: PGP signature


Re: Installing advanced library versions safely?

2002-05-27 Thread Hans Ekbrand
On Mon, May 27, 2002 at 04:33:58PM -0400, Dan Muller wrote:
 told that I need expat or libxml = 1.8.3. Neither potato nor woody are up
 to libxml 1.8.3. (I was considering upgrading to woody before I noticed
 this -- not a decision to be taken lightly, since I live behind a modem!)
 
 (And finally...) My questions: What's the best way to go about getting and
 installing libxml 1.8.3 or greater, given that it's not available as a
 package -- or if it *is* available as a package, it'll be in a distribution
 that I don't want to point dselect at? (I already went through a few hours
 of insanity when I made the mistake of pointing dselect at 'testing'
 temporarily.)

Let me answer in a general way, since I have no knowledge of the
specifics of libxml, its dependencies, when it will make it into
unstable etc.

1. The apt in woody can be instructed to grab packages from different
releases (stable, testing, unstable). In some cases, a package will
have dependencies on many packages that also have to be grabbed from
testing or unstable, so installing that package will essentially
upgrade (almost) the whole system. There is nothing inherently
problematic with such mixed system, it will just be not so thoroughly
tested since it will be pretty unique. AFAIK you can install the apt
from woody without upgrading the whole system to woody, but do check
that. (As woody is close to a official release, you might want to
upgrade to woody anyway).

2. Another approach is to use unofficial sources for apt. E.g. I have
a list for daily builds of wine in /etc/apt/sources.list. I don't know
how many software projects make daily builds available in deb archive
like this.

3. Install binaries (or from source) into /usr/local. The debian
package management system will never install files in /usr/local so
this is the place for your own installs. Stow is probably a good
helper here.


-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpIF1qHzJz3l.pgp
Description: PGP signature


Re: Watch TV Card over remote X?

2002-05-27 Thread Hans Ekbrand
On Mon, May 27, 2002 at 05:17:13PM -0500, [EMAIL PROTECTED] wrote:
 One thing I'm curious about though: Can you forward sound through an
 X session? I think W-s XP can send the sound through their cheap-ass
 new, incredible remote desktop, and I hate seeing them do something 
 we can't in an area where they're otherwise completely outclassed.

The standard way of doing it is to run a sound server locally and have
the X application forward to the port the sound server listens to. I
haven't done it myself, though.

The esound daemon (esd) supports sending audio to a remote esd running
on another machine. For programs that don't supports esd directly, you
can start them using esddsp to capture their output to /dev/dsp and send
it through esd. Bryan Voss

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand


pgppVp3fx1fiM.pgp
Description: PGP signature


Re: some stranges things about apt-get install/remove

2002-05-23 Thread Hans Ekbrand
On Thu, May 23, 2002 at 12:54:26PM +0200, Francois Chenais wrote:
 Hello, 
 
   I have installed tomcat/tomcat4/tomcat4-webapps/cocoon2/cocoon2-examples
   than remove them to make a new clean installation.
 
   After apt-get remove, some tomcat directories and file still there.

use

apt-get --purge remove 

to remove the configuration files of a package.


-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpcsQo9y8aTy.pgp
Description: PGP signature


Re: Root SSH permitted by default (was: how does root run a graphical prog)

2002-05-21 Thread Hans Ekbrand
On Tue, May 21, 2002 at 07:44:10PM +0100, Colin Watson wrote:
 On Tue, May 21, 2002 at 01:23:20PM -0500, Dave Sherohman wrote:
  On Mon, May 20, 2002 at 08:26:11PM +0100, Colin Watson wrote:
   Like the document says, regularly su'ing to root from an account makes
   compromising that account essentially equivalent to compromising root
   anyway.
  
  How so?  Regularly sudo'ing, sure, since that uses the user's password
  as a (hopefully limited) root password. 

On the contrary, since sudo'ing does not require the use of root's
frequent use of sudo will never reveal the root password. No sane
person will setup sudo to give unlimited root access, that would
defeat the whole purpose with sudo.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgp5tWS7aIl9S.pgp
Description: PGP signature


Re: Root SSH permitted by default (was: how does root run a graphical prog)

2002-05-21 Thread Hans Ekbrand
On Tue, May 21, 2002 at 01:55:24PM -0500, Dave Sherohman wrote:
 On Tue, May 21, 2002 at 07:44:10PM +0100, Colin Watson wrote:
  Do you check for processes running under your uid every time you run su?
 
 There's (obviously) something I'm still missing here...  Why is that
 relevant?  su only raises the priviliges of a single session, as can
 be readily observed by opeining two xterms, running su in one, and
 trying to 'touch /bin/su' in the other.
 
 The only thing that I can think of is for someone to update your
 .bashrc (or whatever) with a line saying alias su='/bin/su ;
 /tmp/do-something-evil' (or directing su to an equivalent script),
 but even that would still be running do-something-evil outside of the
 su session and, therefore, as your normal account, not as root.

What about an alias for su to a script that appears to be su but
actually logs (or mails) the root password.


-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgp8nP81KwX1a.pgp
Description: PGP signature


wrapping [was: Re: disable paragraph flows in mozilla?]

2002-05-17 Thread Hans Ekbrand
On Fri, May 17, 2002 at 03:40:47PM -0700, Vineet Kumar wrote:
 The reason most people
 suggest 72 is that traditionally, terminals are 80 characters wide, and
 72 leaves enough room to be quoted with   four times. 

Although I actually have a terminal (can't say I use it much though),
I sometimes wonder if email conventions should be derived from
limitations of such ancient hardware. In some sense, its a good
practice to require as little as possible from the clients, but is
80x25 a limit that anyone is facing anymore?

I guess new limits come with pocket computers, mobile telephones, and
whatever means people read their mail with these days.

So, a better argument for wrapping lines at 72 chars would perhaps be
that it make the text easier to read (even if you have real screen
estate that could handle a lot more).


-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpbwhjvTt2oG.pgp
Description: PGP signature


Re: Small footprint window manager

2002-05-13 Thread Hans Ekbrand
On Mon, May 13, 2002 at 08:27:52AM +0200, Miroslav Mazurek wrote:
 Thirdly, is there a way to use that box as X terminal?
 

For checking email and writing text, a 386 with 8 Mb ram is perfectly
OK as X terminal. For browsing the webb, the graphics chip is
crucial. An accelerated chip with 1 Mb of RAM (for 16 bits), could be
very useable. For more info on X-terminals try www.ltsp.org

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpJHCgKKI6fw.pgp
Description: PGP signature


Re: Colors in term?

2002-05-12 Thread Hans Ekbrand
On Thu, May 09, 2002 at 09:36:44PM +0200, Jan Johansson wrote:
  What's the value of the TERM environment variable?  
  env|grep TERM should tell you, at least under bash.
 
 TERM=vt220
 
 BitchX gives me color tho. but MC, ls and stuff does not.  

~infocmp vt220 | grep color

~infocmp | grep color 
colors#8, cols#132, it#8, lines#24, pairs#64,

~/doc/musikinfocmp ansi-color-2-emx | grep color
#   Reconstructed via infocmp from file:
/usr/share/terminfo/a/ansi-color-2-emx
ansi-color-2-emx|ANSI.SYS color 2,
colors#16, cols#80, it#8, lines#25, pairs#64,

I have no colors on my (real) vt 320, has (a real) vt 220 colors?

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpX5JerTIdEK.pgp
Description: PGP signature


Re: Mutliple IP addresses on single interface

2002-05-07 Thread Hans Ekbrand
On Tue, May 07, 2002 at 01:38:22PM -0400, Matthew Daubenspeck wrote:
 I am trying to get two IP addresses on eth0, and I am not having much
 luck. It works properly if I use:
 
 /sbin/ifconfig eth0:0 192.168.0.5
 
 and here is my /etc/network/interfaces:

[...]

 iface eth0 inet static
 address 192.168.0.4
 netmask 255.255.255.0
 network 192.168.0.0
 broadcast 192.168.0.255
 gateway 192.168.0.2
   

How about a line 

auto eth0:0 here?

 iface eth0:0 inet static
 address 192.168.0.5
 netmask   255.255.255.0
 network 192.168.0.0
   broadcast 192.168.0.255
   gateway 192.168.0.2
 
 But the interface will not up with the 2nd IP at reboot. Any
 suggestions? I can always add the ifconfig line to a script I guess...
 
 

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpHeXvUBqxNm.pgp
Description: PGP signature


Re: OpenOffice 1.0 ,debs?

2002-05-03 Thread Hans Ekbrand
On Fri, May 03, 2002 at 07:23:53AM -0700, ben wrote:
 On Friday 03 May 2002 04:53 am, Jamin W. Collins wrote:
  On Fri, 03 May 2002 17:32:24 +0800
  Patrick Hsieh [EMAIL PROTECTED] wrote:
  I didn't find a sources.list for it, but I installed the 1.4 j2sdk from
  Sun's site.  The only caveat is that I needed to also install
  libstdc++2.9-glibc2.1 to satisfy it's shared library requirement.  I
  dropped the j2sdk into /usr/local with a symlink of /usr/local/jdk to the
  version specific folder.  The OpenOffice debian package found everything
  on it's own.
 
 so, is that the only choice, a manual non-deb install? to take the question 
 further, is openoffice worth the effort? how does it differ from the last 
 iteration of staroffice? having to resort to a java download from sun just 
 reeks of submission to the same manner of hegemony that microshit employs. 
 whether it's wanker mcneally or wanker gates, in both cases, there's a wanker 
 desirous of compliance and submission.

Now I might be missing something here but there are at least two other
choices:

a) as Chris Halls enlighted debian-user earlier today:

edit /etc/openoffice/autoresponse.conf and change
JavaSupport=preinstalled_or_none
to
JavaSupport=none
then:
rm -r .sversionrc .openoffice
openoffice

b) install OpenOffice with tarball to /usr/local. That will not
require any additional, manual non-deb install of any java-thingy.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand


pgpnJj8umACI1.pgp
Description: PGP signature


Re: Re: Hard Discs and Virtual Memory ...

2002-05-02 Thread Hans Ekbrand
 Speaking of which, is there a way to
 build a Linux Terminal on a 386 with only 60MB
 HDD?
 
 -Scwawcaac-

What kind of terminal did you have in mind? X-terminal or character
based telnet terminal in a LAN? Then it is easier to go completely
diskless (www.ltsp.org). I recently made a router/firewall of a 386 SX
25 MHz 8 Mb RAM, 110 Mb harddisk. Rather tricky to install just a base
system and upgrade to woody without running out of disk space, I'd
say.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpVi1oawfjQ8.pgp
Description: PGP signature


Re: CDwriter

2002-05-02 Thread Hans Ekbrand
On Thu, May 02, 2002 at 04:30:44PM -0500, Brooks R. Robinson wrote:
 | Hi i have a question about writers.
 | I have just added a cdwriter to my pc (running sid)
 | I have also built a new kernel with scsi emulation support, but
 | my drives are
 | still detected as hdc (cdwriter samsung) and hdd (toshiba dvd)
 | (cdrecord -scanbus doesnt detect it).
 | So does someone have a short explanation on what to do or could someone
 | point me to a howto or any other usefull infos on debian and cdwriting?
 | Thanx
 | Florian
 
 You need to add a line into your lilo.conf to tell you kernel what drives to
 scsi-emulate.  Put something like
 
 append = hdc=ide-scsi
 
 into you lilo.conf and re-run lilo.

Or, recompile the kernel and say no to Include IDE/ATAPI CDROM support.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpCWZu3HPVKS.pgp
Description: PGP signature


Re: problem with syslog log rotation

2002-04-19 Thread Hans Ekbrand
On Thu, Apr 18, 2002 at 11:42:47AM +0200, José wrote:
 recently i added this to my potato 2.2r3 logrotate.conf
 
 /var/log/syslog {
 monthly
 rotate 1
 }
 
 after this, i noticed that nothing have changed ! the rotation is still done 
 weekly with rotation 5 !

check /etc/cron.weekly/sysklogd

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpu1jc3g3e85.pgp
Description: PGP signature


Re: Problem installing SMC 8013wc NIC

2002-04-19 Thread Hans Ekbrand
On Fri, Apr 19, 2002 at 04:02:00PM -0500, [EMAIL PROTECTED] wrote:
  When I run Slackware's Net.i utility it reports:
   Eth0:  WD80x3 at 0x300   00 00 c0 f1 00 8e  
   WD 8013  IRQ 10   shared memory at 0xd - 0xd3fff 

[...]

 I may have access to a number of these similarly configured Compaq
 systems, and would like to try them on a Debian network of inexpensive
 computers, so I am hoping to find a fix using the SMC card.  Any help
 would be greatly appreciated.

Can't you just copy the kernel (and the modules, if any) from your
slackware system and use that instead of the stock debian kernel?

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpjlBpoG5msj.pgp
Description: PGP signature


Re: fb cursur disappears - howto restore

2002-04-19 Thread Hans Ekbrand
On Fri, Apr 19, 2002 at 05:14:24PM -0500, Lance Hoffmeyer wrote:
 I am using a framebuffer device.  Sometimes my mouse cursor disappears 
 and I have to reboot to get it to come back.  Is there another option
 I can try in order to get the cursor back in my console?

I use to restart gpm. rebooting should definately not be needed.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgp8MYxbmSuUE.pgp
Description: PGP signature


Re: Samba alternative

2002-04-17 Thread Hans Ekbrand
On Tue, Apr 16, 2002 at 11:49:08AM -0500, Alex Malinovich wrote:
 I've heard that SMB isn't really the greatest protocol for file sharing
 between systems on a LAN. I've also heard good things about Coda and a
 few strong-points about NFS.

I was about to start use Coda when I realised the pretty high hardware
requirements. NFS OTOH is so simple that any box can use it. Since it
is in your home security might not be a priority, but NFS lacks real
authentication mechanisms.


-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpa4uWD88ov8.pgp
Description: PGP signature


Installing NFS [was: Re: starting nfs]

2002-04-15 Thread Hans Ekbrand
On Mon, Apr 15, 2002 at 02:36:10PM -0700, David Smead wrote:
 knuth:/etc# apt-get install nfs
 Reading Package Lists... Done
 Building Dependency Tree... Done
 E: Couldn't find package nfs

There is no single package called nfs in Debian.

 I know apt-get works because I just picked up the nano and e3 editors.
 
 Suggestions ??

Install nfs-user-server or nfs-kernel-server.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpjbOdtYVQxN.pgp
Description: PGP signature


Re: diskless

2002-04-14 Thread Hans Ekbrand
On Thu, Apr 11, 2002 at 10:05:54PM -0500, dman wrote:
 On Fri, Apr 12, 2002 at 12:07:26AM +0200, Hans Ekbrand wrote:
 | On Thu, Apr 11, 2002 at 11:08:16AM -0300, Marcelo Leal wrote:
 |   i have one FreeBSD box running diskless fine.
 |   now, i wanna one linux box, and...
 |   the bootp, tftp and nfs servers are the same for FreeBSD and linux.
 |   the linux box get the kernel, but do not get the root filesystem.
 |  why???
 
 I'm having the same problem.

Do you have a setup that works with other clients? (ie. is NFS really
working for diskless clients?)

 In my case I see messages to the effect that the diskless machine
 couldn't find either the nfs or mountd RPC services and it will use
 the default locations.  Then I get an error (101) and it says it
 couldn't find the root partition.

I think that is a general error that might show up if the nic on the
client is not recognized by the kernel. I once had an old box that
etherboot could boot and get a kernel with, but Linux could
not find the nics (plain old 3com509b). The boot process ended in an
VFS: cannot mount root fs ...

What does the kernel think of its IP and hostname? Can you ping the
client from the server?

 | Has the kernel root-NFS compiled in (or do you use initrd)
 
 It has root-over-NFS and no modules whatsoever.

If you use etherboot to boot, you also have to compile in IP: kernel
level autoconfiguration.

 |   i don't see neither the requests from inicialization messages of my
 |  linux box! only: VFS: cannot mount root fs... put floppy disk... bla bla
 |  bla...
 | 
 | Any log messages from the NFSdaemon?
 
 None at all.  The only logs on the server are successful entries from
 dhcpd and tftpd.  This is what I can't figure out.  I can mount the
 export from another system (that has a disk), but not from the
 diskless node.
 
 | www.ltsp.org is a great diskless linux project. Their documentation is
 | good.
 
 I'd rather do it myself.  I've seen their binary packages and scripts
 that need to be run as root, and I'd rather be in control and
 understand what is going on.

You don't need to run those scripts, but LTSP can be of help anyway:
it comes with templates for various files in /etc that you can learn
from and manually insert parts from in your existing config files.

  I'm also so close to success that I know
 the problem must be something stupid I'm overlooking.  I've just
 noticed the use of rdev in some root-over-nfs instructions, so I'll
 see if that makes any difference tomorrow.  In the meantime, if you
 have any ideas or pointers as to what error code 101 means and how I
 can debug this, they are greatly appreciated!

rdev is not suitable for this task, according to is manpage. If you
don't use etherboot and dhcp + tftp, which IMHO is the easiest way,
you need to use LILO (or possibly some other bootloader). There is an
example in /usr/share/doc/lilo/Manual.txt.gz You are being less
diskless in that case, of course.

If you use etherboot you will need to tag the kernel with mknbi.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgp8Oicft2YWv.pgp
Description: PGP signature


Re: diskless

2002-04-14 Thread Hans Ekbrand
On Sun, Apr 14, 2002 at 09:46:59PM +0200, Hans Ekbrand wrote:
 If you use etherboot to boot, you also have to compile in IP: kernel
 level autoconfiguration.

To clarify, any solution which involves giving IP, hostname, and
network information as boot arguments to the kernel (in contrast to
having that information stored in files in /etc, possibly in a
ramdisk) requires the option above to be compiled in.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpN5hbm4Esa7.pgp
Description: PGP signature


Re: diskless

2002-04-11 Thread Hans Ekbrand
On Thu, Apr 11, 2002 at 11:08:16AM -0300, Marcelo Leal wrote:
  i have one FreeBSD box running diskless fine.
  now, i wanna one linux box, and...
  the bootp, tftp and nfs servers are the same for FreeBSD and linux.
  the linux box get the kernel, but do not get the root filesystem.
 why???

Has the kernel root-NFS compiled in (or do you use initrd)

  i don't see neither the requests from inicialization messages of my
 linux box! only: VFS: cannot mount root fs... put floppy disk... bla bla
 bla...

Any log messages from the NFSdaemon?

www.ltsp.org is a great diskless linux project. Their documentation is
good.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpclFWkbxT6r.pgp
Description: PGP signature


Re: How is my network-card module getting loaded?

2002-04-09 Thread Hans Ekbrand
On Tue, Apr 09, 2002 at 03:30:05PM -0400, Craig Duncan wrote:
 Reboot back into 2.2.19, do an lsmod and i see 'via-rhine'.  No idea
 what is loading it though (it doesn't appear in /etc/modutils).  I've
 grepped everything in /etc/modutils and all the rc#.d directories and
 i can't find a clue as to how that module is getting loaded.  How??
 (I've got mostly a woody/sid system).

/etc/modules holds the modules that automatically loads at boot. Have
you looked there?

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpKnsHhAWX52.pgp
Description: PGP signature


Re: security updates for testing distibution

2002-04-08 Thread Hans Ekbrand
On Sun, Apr 07, 2002 at 11:25:54PM +0200, Christophe Courtois wrote:
  Anyhow, woody will be released Real Soon Now(tm), and then the
  security policy will be the same as it was for potato.
 
  Does it mean too that I must update from potato rather quickly after 
 Woody's release if I want all security releases ? Is the maintenance of 
 potato totally stopped after 1st May ?

No. Or when potato was released, slink was supported by the security team a 
while (a few months or so).

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpzTwnn0mCWu.pgp
Description: PGP signature


Re: amazon search with konqueror shortcuts

2002-04-06 Thread Hans Ekbrand
On Sat, Apr 06, 2002 at 03:42:08PM +0100, Jason Chambers wrote:
 Joerg Johannes wrote:
 OK, thanks, I think I did not make myself clear enough: What I need is the 
 correct search-url to add to the enhanced browsing dialog. I tried to 
 figure a general pattern out by doing some searches in all products, but 
 the search item does not appear in the url. Only if I search in a certain 
 category (classics, or sth else), the search item appears in the url.
 Any idea how to get the correct search-url for all products?
 
 joerg
 
 
 
 The reason you can't see the search data in the url is because the data 
 is probably being submitted using the POST method (which among other 
 things allows for larger amount of data to be sent).
 
 The way I get around this is to save a copy of the HTML page to my PC. 
 Open the file in a text editor, and find the form method=post 
 action=results_url tag for the relevant search box.  Change the method 
 to be GET, check the value of the action attribute and make sure it is a 
 full url to the page not a relative one (ie it includes 
 http://host.domian/ etc).  If not edit it as necessary.

Another way of doing it is to install a proxy server, run it
temporarily in full log mode, and read the logs.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgp8VKCrGCWs3.pgp
Description: PGP signature


Re: Auto-X problem

2002-04-06 Thread Hans Ekbrand
On Sat, Apr 06, 2002 at 08:18:55PM +0200, DSC Publishing, LLC wrote:
 Good day; 
 
 I just installed Stable-Potato, and then installed packages including
 XFree86, and the C++ -written minimalist Window manager (sorry, I forgot 
 the name.  It advertises a *nonwindoze* look and feel, and has a bar
 across the bottom.  
 
 Somehow, XDM also got installed.  Which lends two problems.
 
 (1) I need to change the monitor specs.  It won't let me do that,
 because I am already in X, even as root.  I tried renaming
 /usr/X11R6/lib/X11/XDM as XEM, then restarting (it got me out for the
 time being), and then redoing the setup  but when I came back I
 found that the 1024x768 SVGA I had installed didn't operate, and now all
 I had was VGA.  I had read the SVGA characteristics straight off my
 Win98 system, so I'm pretty sure they are right.

If getting the monitor to sync is all you want, you might want to edit
/etc/X11/XF86Config by hand. The relevant lines are

HorizSync   30-insert you monitor max here (the kHz value)
VertRefresh 50-insert the max Hz here

For a complete configuration tool, try /usr/bin/xf86config

 (2) I don't want X to be automatic.  I *like* text.  How do I
 deconfigure XDM?  I can see that it is running; I tried going to
 /etc/inittab and looking for the code that starts up X, but I didn't
 find any such code there.  

as root run:

/usr/bin/apt-get remove xdm

(This is a FAQ and there are also other ways of doing it)

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgp5ycipidX4M.pgp
Description: PGP signature


Re: Newbie:dpkg,dselect,apt?

2002-04-06 Thread Hans Ekbrand
On Sat, Apr 06, 2002 at 10:07:33PM +, gob wrote:
 I am an absolute beginner (hadn't touched Linux two weeks ago).  My brother 
 has installed Debian (kernel 2.2.19) on a partition of my laptop.

I assume you have Debian 3.0 aka 'woody' by the version number on the
xfree86 below. 'Woody' can be used with linux kernels in both series 2.2
and 2.4.

  I am 
 trying to get X going, and through some research found that I need XFree86 
 4.1 for it to work with my LCD screen.  He gave me a CD with 
 xfree86-common_4.1.0-14pre15v3_all.deb on it.  I have tried to install this 
 package with no success:

dpkg is the correct tool for installing a single deb like this. It is
seldom used directly when have a working Debian system though, you are
more or less supposed to aquire debs over the internet (or specially
prepared CDs), and for that purpose the apt family of utils is
extremely convenient.

 #apt-setup
 cdrom
 'Bad CD, Your CD drive was detected but it does not seem to have a Debian 
 CD in it.'
 (I presume this is a Debian CD as he made it on a Linux machine)

The CD did not contain a debian archive of .deb files (which must have
a certain directory structure, a Packages.gz file etc), but rather ONE
.deb file.

 #apt-cdrom add
 'Scanning disc for index files..Found 0 package indexes  0 source indexes 
 E. Unable to locate any package files, perhaps this is not a Debian Disc'
 
 I also copied the file to the partition (actually into /usr/X11R6/bin) and 

Uh. You should never touch files in /usr (except in /usr/local). Files
in this location is handled automatically by the package management
system, so any change you do WILL be overwritten when upgrading. Now
is this case it will won't do any harm since you did not overwrite any
existing file, but use your home directory (/home/your_username/)
instead.

 did the following:
 #dpkg --install xfree86-commondeb
 'Preparing to replace xfree86-common...'
 'Unpacking'
 'Setting up'
 'Installing new version of config file'
 (seems alright but:)
 #XFree86 -version
 'XFree86 Version 4.0a / X Window System'
 (indicating to me that the previous 4.0a version is still in place)(Is 
 there a difference between XFree86 and XFree86-common?)(X still won't work 
 after this)

You are right. There are several X packages which need to be upgraded,
the X server binary itself for example, is in the package
xserver-xfree86. Since you was given that CD, I assume you don't have
net access from the laptop in question. (If you actually do have net
access then it is so much easier:

apt-get update
apt-get install xserver-xfree86

would have done it.) If your brother can deliver packages via CD to
you, (or you can grab them via windows dial-up) the packages you want
is probably:

xserver-xfree86
xserver-common

 I also tried dselect, choosing APT Acquisition, accidentally overwriting 
 the sources list I already had (sort that out another day), and put
 file:/etc/X11R6/bin/xfreedeb stable non-free
 onto the list.  On update, it responded with
 'Err file:stable/non-free Packages
File not found'
 (followed by a full screen of errors, ending in)
 'Information about 0 packages was updated'

When you get dial-up working in Debian GNU/Linux, you will want to
have something like this in /etc/apt/sources.list

deb http://ftp.us.debian.org/debian/ woody main contrib non-free


-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgp3Bs5A8dJE9.pgp
Description: PGP signature


Re: Newbie:dpkg,dselect,apt?

2002-04-06 Thread Hans Ekbrand
On Sat, Apr 06, 2002 at 11:02:50PM +, gob wrote:
 Ah sorry I do believe I have potato.  Maybe thats the origin of this 
 quandry.

That's quite a different story. There are a LOT of GRAVE dependency
problems involved with installing that X-4.1.deb on potato. You must
instead upgrade the whole system from potato to woody, but that is
most likely not as easy as reinstalling from a 'woody' CD, as Kent
suggested.

On the other hand, if you just get you modem working it can be as
simple as

apt-get update
apt-get dist-upgrade

and answering some configuration questions for different packages.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpvS7Py4wuxT.pgp
Description: PGP signature


Re: Apache 1.3.22 packages

2002-04-05 Thread Hans Ekbrand
On Fri, Apr 05, 2002 at 02:09:02PM +0200, René Seindal wrote:
 Hi,
 
 Does anybody know where I can find debian packages for apache 1.3.22?
 There are some problems with mod_proxy and multiple cookies that bother
 users of Zope, so I need to downgrade.Unfortunately these packages
 seem to have disappeared completely.  Apparently neither 1.3.23 nor
 1.3.24 will do.
 
 Is there somewhere where one can find older packages or are they gone
 forever?

I have 1.3.22-5 available. When I upgraded to 1.3.23 earlier today
something broke so I rolled back to 1.3.22-5. You can grab them at:

http://sociologi.cjb.net/cache/

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpR4jvl4ensw.pgp
Description: PGP signature


Re: security updates for testing distibution

2002-04-05 Thread Hans Ekbrand
On Fri, Apr 05, 2002 at 07:28:54AM -0800, Andrew Agno wrote:
 Hanspeter Roth writes:
   But what about the testing distribution? Does it also get `implicit'
   security fixes by new versions?
   Or is it safer to stick with stable?
 
 Well, it follows the usual rules, so eventually things will filter
 down.  In the meantime, I believe you have to grab things from
 unstable.

Note that packages for which there have been an security fix in
unstable might not be installable in testing without upgrading (a lot
of) other packages to unstable, if you are unlucky.

So, for convenient security, stable is the way to go.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpLqeKYmYFn5.pgp
Description: PGP signature


where do answers go [was Re: XFree86 problems]

2002-04-04 Thread Hans Ekbrand
On Thu, Apr 04, 2002 at 10:04:28PM +0200, Fañch wrote:
 Another question by the way: I'm not used to this list and I'm a 
 bit confused about where my answers go to, do they get sendt to 
 the list or to your personal address? 

That is up to you, your MUA and (if you have a decent MUA) the
Mail-Followup-To header in the post you are responding to. 

Many MUA implement a list-reply function, and if yours are (looks
like you're using pine, I use mutt and it has this handy list-reply
function), use it. The second best option is probably the more
commonly implemented group-reply function, but that might not
respect the Mail-Followup-To header, and can thus cause unwanted
copies to the person you are replying to.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand


pgpJ8iF1VnyU0.pgp
Description: PGP signature


Re: security updates for testing distibution

2002-04-04 Thread Hans Ekbrand
On Thu, Apr 04, 2002 at 10:53:52PM +0200, Hanspeter Roth wrote:
 Can one get security updates for the testing distribution?

No. There is no such thing.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgp0sfSbtZ3Nj.pgp
Description: PGP signature


Re: New Install

2002-04-03 Thread Hans Ekbrand
On Wed, Apr 03, 2002 at 10:05:31AM -0600, Irish, Jon D NCCIM wrote:
 I am a newbie to Debian, and I am running into a problem with the initial
 install. I am trying to install on a Compaq Deskpro EN system. This box has
 an integrated Intel PRO/100 VM nic.

That nic was a pain to get going with linux, until I tried Intel's own
drivers. My machine would constantly hang when I downloaded large (or
sometimes not so large) files. I tried lots of different kernels both
in the 2.4 and 2.2 series. The problematic driver was eepro100, but I
did a network install just fine, my problems started when I moved the
machine to another room at work and so it might be related to certain
hubs.

1. Try the eepro100 driver. But be aware that it might cause you
trouble. Test it thoroughly.

2. If it does not satisfy you, go with the intels drivers. If you have
trouble compiling you own kernel, perhaps I could compile one to you,
(mail the off-list in that case).

 Debian does not list this adapter in the
 install routine. Intel's web site does have Linux drivers for this adapter,
 but they are non-Debian specific, and un-compiled at that. Being a newbie, I
 have no idea how to integrate these uncompiled drivers into the debian
 install. Would someone out there please take pity on me and provide me with
 step-by-step instructions on how to complete this install?
 
 TIA,
 Jon
 

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgp7GZkTEES6E.pgp
Description: PGP signature


Re: XF86Config location

2002-04-02 Thread Hans Ekbrand
On Tue, Apr 02, 2002 at 04:24:30PM +0930, Tom Cook wrote:
 Hi all,
 
 I have just installed Berlin (from unstable) on a woody box.  Now when
 I try to start x (with startx) I get this message:
 
 Could not find config file!
 - Tried:
   /etc/XF86Config
   /usr/X11R6/lib/X11/XF86Config.jmelhuish
   /usr/X11R6/lib/X11/XF86Config
 
 Given that it tried these locations it is not suprising that it didn't
 find it, since it is /etc/X11/XF86Config.
 
 I have tried to apt-get --reinstall install and dpkg-reconfigure
   xserver-common
   xserver-svga
   xbase-clients
   xfree86-common
   xlibs

X v4 uses /etc/X11/XF86Config-4

The xserver-xfree86 package includes the new all-cards server, it
replaces the old xserver-svga.



-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpkWP9McrKmQ.pgp
Description: PGP signature


Re: Advice on wysiwyg editor

2002-03-25 Thread Hans Ekbrand
On Mon, Mar 25, 2002 at 02:12:39AM -0300, Daniel Toffetti wrote:
 Hi !
 
 Well, I need a wysiwyg editor a la M$ Word. The documents I'll edit are 
 more or less as complex as one see in papers, I mean, numbered schemes, 
 headers, footers, inserted images and tables, page numbers, footnotes, 
 text styles, chapters, TOCs, etc.
 So far I'm trying with Kword, Abiword and Lyx. Abiword is better that 
 Kword at importing M$ Word documents. Lyx seems to be the perfect tool 
 for the task, but it lacks (to my taste) a little feedback. 

Neither Kword or Abiword supports footnotes. For footnotes and
WYSIWYG, you can use Lyx or OpenOffice. While OpenOffice has a
somewhat strange UI (It was even worse in StarOffice 5.2, which tried
to take control over your desktop) it has all features you mention and
unlike Lyx, it *feels* like MS Word. Some features of MS Word is
missing of course, and it a resource hog. My experience is with
version 641C.

 OK, I'll 
 admit it, I believe it's very powerful, but I find it UGLY :)

Select a good-looking screen font, then most of the screen will be
good-looking.

 Some sort of Print Preview would be very valuable.

As others have already stated, there is.



-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpJjxx0FQdIw.pgp
Description: PGP signature


Re: Swap files on Reiserfs

2002-03-25 Thread Hans Ekbrand
On Mon, Mar 25, 2002 at 03:53:30PM +0700, Oki DZ wrote:
 Hi,
 
 Has any of you installed your swapfiles on reiserfs...?

No, why would anyone not use dedicated partions for swap?


-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgp3aLjoLvdqR.pgp
Description: PGP signature


Re: putting a kernel onto a floppy (w/out kpkg...)

2002-03-25 Thread Hans Ekbrand
On Mon, Mar 25, 2002 at 06:28:49PM +, Martin Edward John Waller wrote:
 Hello,
 
 I've made a kernel the 'traditonal' way (it's a
 freeswan thing) but I want it to boot from
 floppy.  It's installed the kernel and rurn lilo -
 how do I get it to boot with that kernel from a
 floppy (w/out kpkg!)

I know of two ways: lilo (or any other bootloader) or rdev.

I have done this in order to boot diskless clients which mount root
over NFS, but the same methods should apply regardless of where / is
located.

For lilo, modify and try this little script:
--
KERNEL=bzImage
KERNELPATH=/usr/src/linux/arch/i386/boot/
/sbin/mke2fs /dev/fd0
[ -d /fd ] || mkdir /fd
mount /dev/fd0 /fd
cp /boot/boot.b /fd
cp $KERNELPATH$KERNEL /fd/kernel
echo 'image=/fd/kernel label=linux append=root=/dev/hda2' | /sbin/lilo -C - 
-b /dev/fd0 -i /fd/boot.b -c -m /fd/map -d 150
umount /fd
-

The other alternative is rdev, which I have not used, but it seems
rather straight forward, and probably what you want to try first. See
man rdev (in the util-linux package).


-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgprMN5FInLI4.pgp
Description: PGP signature


Re: OpenOffice (was Re: Advice on wysiwyg editor)

2002-03-25 Thread Hans Ekbrand
On Mon, Mar 25, 2002 at 03:08:36PM -0300, Daniel Toffetti wrote:
  Neither Kword or Abiword supports footnotes. For footnotes and
  WYSIWYG, you can use Lyx or OpenOffice. While OpenOffice has a
  somewhat strange UI (It was even worse in StarOffice 5.2, which tried
  to take control over your desktop) it has all features you mention
  and unlike Lyx, it *feels* like MS Word. Some features of MS Word is
  missing of course, and it a resource hog. My experience is with
  version 641C.
 
 I'm downloading build 641c right now. I would like to know if there is 
 any issue with installing such a big program which is not a Debian 
 package, regarding future maintenance, upgrade, uninstallation, etc.
 In the archives I've found some issues with the installation, but 
 already solved anyway.

There is not much to it, I think. The menu system will not know about
it, so you will have to manually configure the windowmanager.

And do *not* use it under twm! The menus in OpenOffice is unusable
with the mouse (you can use the arrow keys, but that is not fun).

I have tried Icewm and KDE, the menus in OpenOffice works under both.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgprJBFmrCrKW.pgp
Description: PGP signature


Re: putting a kernel onto a floppy (w/out kpkg...)

2002-03-25 Thread Hans Ekbrand
On Mon, Mar 25, 2002 at 02:00:46PM -0800, Alvin Oga wrote:
 
 hi ya hans
 
 hummm... i do the simple dumb way
 
 # vi /etc/lilo.conf
   # change the boot option
   #
   # boot=/dev/hda
   boot=/dev/fd0
   #
   ...
 # lilo
 and reset it back to hda and rerun lilo for good measure
 
 that lilo'd floppy sometimes boots..sometimes not.. seems
 to be hardware dependent ?? ( didnt go figure out why it fails )

This places lilo on the boot sector of the floppy, but the kernel
still resides on the harddisk. It will fail if the kernel on the
harddisk is moved, replaced or damaged. If you have another OS or
bootloader on the harddisk that you don't want to tamper with, the
above offers an easy way to give lilo the first chance to boot. But as
a backup option, it is not very useful.

 if it does fail...  as was said earlier
   dd if=/boot/vmlinuz-2.  of=/dev/fdo bs=1024
   rdev /dev/fd0 /dev/hda1   (or wherever / is located )

For backup (recovery) purposes, rdev is probably the best tool. Lilo
can also do it (a little tricker though, but offers more flexibility).

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgprxIJ5L3fwo.pgp
Description: PGP signature


Re: Installing Debian or Linux

2002-03-24 Thread Hans Ekbrand
On Sun, Mar 24, 2002 at 04:22:24PM +0800, Craig Sampson wrote:
 On Wed, 20 Mar 2002 22:41:51 +1100, John Lynch wrote:
 
 It has a very easy install with good hardware autodetection 
 and has
 probably the best manuals I have ever seen with a Linux 
 distribution.
 
 Can you download SuSe for free over the internet?
 
 Yes.

Sort of. You can *not* download iso-files and burn your own CDs (Suses
yast program (hardware detection and more, I think) is not GPLed). You
can do an installation over FTP, though. But that requires of course
that you have a (good) net connection on the machine that you are
going to install it on.

I have never tried SuSe. Learned from Debian (v 2.1).

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpzTV0OAuNK9.pgp
Description: PGP signature


Re: Disabling X from starting up

2002-03-23 Thread Hans Ekbrand
On Sat, Mar 23, 2002 at 10:11:18AM -0500, Trey Gruel wrote:
 On Sat, 23 Mar 2002, Silvester van der Bijl wrote:
 
  Please help,
 
  I just installed debian, compiled a custom kernel and tried to reboot
  the system.
 
  Everything works great, except X starts up. Since I didn't configure X
  yet I get a garbled screen. I tried to exit by pressing
  ALT+CTRL+BACKSPACE, but it seems it restarts every time.
 
  Does anyone now how to disable or abort the graphical login manager so I
  can first configure it ?
 
 check your /etc/inittab.  it probably is setting you to runlevel 5 (xdm)
 with a line that looks like:
 
 id:5:initdefault:
 
 to boot up without x, change it to runlevel 3:
 
 id:3:initdefault:
 
 -- 
 trey

This is simply wrong. In Debian runlevels 2-5 are identical by
default. Stopping the Display manager is a FAQ, there are several ways
of doing it, including deinstalling it

apt-get remove [x|g|k]dm

or removing the startup scripts by the command update-rc.d, see man
update-rc.d

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgprh54hlzJPC.pgp
Description: PGP signature


SUN12x22 font

2002-03-23 Thread Hans Ekbrand
On Sat, Mar 23, 2002 at 08:28:18AM -0600, ktb wrote:
 I'm messing with console fonts right now.  I've heard mention of
 SUN12x22 fonts as being a nice one.  I don't seem to have that font
 listed in /usr/share/consolefonts.=20

I have it compiled in the kernel.

 First off is that font able to work
 with Intel or does it work on only Sun boxes?

Works on Intel also.

  I've been beating around=20
 google and can't find anything and the archives are slow as molasses. =20
 Once I have the font installed it looks like I just stick it in=20
 /etc/console-tools/config to activate it.  Is that correct?

I have never messed with /etc/console-tool/config, just compiled it in
and it gets used from the very start of the boot process.


-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpiBv9yiPoFO.pgp
Description: PGP signature


Re: 3c5x9setup adapter failure on isa etherlink 3

2002-03-23 Thread Hans Ekbrand
On Fri, Mar 22, 2002 at 09:14:56PM -0500, Jason M. Harvey wrote:
 hello,
 
 i have an isa 3com etherlink III. i had another one before, on the same
 PC... as long as i specifed irq7 in modconf it worked fine. this one
 will not work. i ran the 3c5x9utils package, and it told me it was on
 irq5. so, i changed everything i told it to use irq7 to irq5, and it
 still fails. oh, by fails, i mean i do not get a link light when i plug
 it into other know-working ethernet devices. so, i used 3c5x9utils to
 tell it to use irq7 instead, but it still doesn't get a link light.
 nothing else is on irq7 (/proc/interupts) or even 5 for that matter.
 this 3com will not work on irq5 or irq7.
 
 when i ran 3c5x9setup, i got:
 
 Interrupt sources are pending.
   Adapter Failure indication.
 3c5x9 found at 0x300.
  Indication enable is 00fe, interrupt enable is 009c.
 
 has anyone seen that line about failure before? i can't seem to find
 if that failure is EEPROM related or a physical problem. this nic was
 given to me, so...
 
 any thoughts?!

My guess: Broken NIC. I had one such card that worked, but after I had
taken it out and putting back a few times, the light would never go on
again (I guess a was to brute with it). On a working nic the light
should go on immediately at power on, before any OS is even loaded, so
what ever IRQ you try for it will not cure that.

On the other hand, it might be some problem with the EEPROM, which
could be cured. In my case, I did a successfull rewrite of the EEPROM,
and after that there where no error messages whatsoever, but still no
light and of course no connection.



-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgp31jdpJspmB.pgp
Description: PGP signature


Re: Trident display card

2002-03-19 Thread Hans Ekbrand
On Tue, Mar 19, 2002 at 12:50:58PM +0100, Sebastiaan wrote:
 On Tue, 19 Mar 2002, Hugo van der Merwe wrote:
  00:0b.0 VGA compatible controller: Trident Microsystems TGUI 9660/968x/968x 
  (rev d3)
  I tried the xfree4 trident driver, but it didn't display quite right.
  (The display was ... um, fragmented, though the mouse cursor moved
  fine, iirc.)

 I have really no idea if this has anything to do with your problem, but I
 just patched my kernel up to 2.4.18 and there was an option for trident
 videocards:
 CONFIG_FB_TRIDENT
 
 Perhaps it helps a bit?

That option concers the FrameBuffer (FB). You might try using X with
FB, but there will be no acceleration under X. But that might of
course be better then fragmented display.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpcWVnhYMx0D.pgp
Description: PGP signature


Re: svgatextmode and ATI rage 128 video cards

2002-03-18 Thread Hans Ekbrand
On Mon, Mar 18, 2002 at 06:11:37AM -0600, Curt Daugaard wrote:
 On Mon, Mar 18, 2002 at 12:28:25AM +0100, Hans Ekbrand wrote:
  On Sun, Mar 17, 2002 at 04:11:15PM -0600, Curt Daugaard wrote:
   Has anyone on the list had any luck in configuring svgatextmode with
   a video cards in the ATI Rage 128 series?  I recently changed from
   an S3 card to the 128 Pro but can't figure out what settings to use
   now.  I'd hate to part with the higher resolutions.  (I can't find
   anything decent in the alternate kernel video modes.)
  
  What do you mean by the last sentence? With frambuffers you have
  complete controll over the video modes. See the section:
  
  6. Converting XFree86 timing values info frame buffer device timings
  
  in /usr/src/kernel-sourcex.y.z/Documentation/fb/framebuffers.txt
 
 Sorry I wasn't clearer.  I don't want to give up accelerated video
 under X which I would have to do if I go the fb route, as I
 understand it.  But maybe I'm missing something.

If you think that using framebuffers for the console would somehow
make your (non FB) X-server to be unaccelerated, then yes I think you
have missunderstood something.

FB can substitute SVGATextMode, and as long as you don't use it as
X-server you will still have accelerated X.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpIHXqLgxdgc.pgp
Description: PGP signature


Re: XFree86 and NVidia GeForce 2 MX 400

2002-03-18 Thread Hans Ekbrand
On Mon, Mar 18, 2002 at 04:08:44PM +0100, Anna Lindgren wrote:
 Hi,
 I¹m a totally fresh user to Debian, have tried Red Hat before, but wanted to
 try out Debian instead, but I seem not to be able to install the Xserver. I
 have a NVidia GeForce 2 MX graphics card, which is not supported in
 Xfree86-3.3.6 that is included in my installation package. I cannot start X
 and I am not able to configure it so it works. Tried to download
 Xfree86-4.2.0 and a new Nvidia driver from their homepage, but when I try to
 update Xfree, I get a message that ŒGLIBC2_2¹ that is required is nowhere to
 find.

The Debian package management system is there for you to use. It
automates dependencies control and if you have a good internet
connection, automatically downloads what you need. The problem is that
potato, the current stable release, uses an older version of libc
(2.1). You probably want to upgrade from potato to woody, that is
currently the testing release.

 I tried uninstalling Debian and reinstalling it without any components
 for X, and the install the new Xfre86-4.2.0, but still get the same message.
 I want to be able to run X, which I could without any problems using Red
 Hat, only had other problems with that, which is why I would like to try
 Debian instead, please, someone, help me get my Debian system running
 I¹m not a Linux expert (yet), so please explain in an easy way what I should
 do..

To upgrade to Woody, see 

http://www.de.debian.org/releases/testing/i386/release-notes/

and edit /etc/apt/sources.list and comment out the lines that mention
stable

In Sweden, I use the following lines in sources.list:

deb http://ftp.de.debian.org/debian/ woody main contrib non-free
deb http://ftp.de.debian.org/debian-non-US woody/non-US main contrib non-free

But you might find the following better.

deb http://ftp.sunet.se/pub/os/Linux/distributions/debian/ woody main non-free
deb http://ftp.sunet.se/pub/os/Linux/distributions/debian-non-US/ woody/non-US 
main contrib non-free

Or, as you seem to be located in northern Sweden, try

deb http://ftp.se.debian.org/debian/ woody main contrib non-free
deb http://ftp.se.debian.org/debian-non-US woody/non-US main contrib non-free

which is located in Luleå.

After editing lines in /etc/apt/sources.list, try

apt-get update

and

apt-get dist-upgrade

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand


pgpdtw81gCbs4.pgp
Description: PGP signature


Re: Trouble after installing

2002-03-18 Thread Hans Ekbrand
On Mon, Mar 18, 2002 at 05:28:29PM +0100, Ronald Castillo wrote:
 And..  Another question..  Is there any way I can shut down temporarily
 my LAN connection and later turn it back on again?  I read about using
 Ifconfig, but it seems like it is o longer available for download..
 
If you have a working network connection, you have ifconfig working.
ifdown/ifup are shortcuts for what you want. see man ifdown.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpvl98d8PgcP.pgp
Description: PGP signature


good use of framebuffer [was: Re: Dual head howto?]

2002-03-17 Thread Hans Ekbrand
On Sun, Mar 17, 2002 at 06:15:58AM +, Simon Hepburn wrote:
 Marc Wilson wrote:
 
  I know how to set X up to use the second head on the G400/450/550... what I
  don't understand is the fascination people have with using a framebuffer.
  What's the attraction?  What does it do for you?  Is it just to get these
  annoying console sizes?  The idea of unaccelerated X has such appeal?
 
 You are not alone...
 
 No sane person should use frame buffers if they have the choice.
 Like your mama told you: Just say no. Use text-mode and X11, and be
 happy.

1. I see no point in using framebuffers (FB) with X.

2. I make a good use of FB in console-mode. The alternative is
SVGATextMode, which I used quite happily until FB was included in the
official kernel-sources. I will not go back though. The thing is that
modern (my Matrox Millenium might not count as modern anymore, but I
think the same applies even to modern ones) graphics card have too
slow text mode clocks.

With FB in 1600x1200 and that cool SUN12x22 font, I have a nice console
with 133 cols and 54 rows, that text-mode just can't give (with Matrox
anyway). (If I want more chars I can use 1864x1400 which gives 155x63,
but on a 17 I find that a little too small for regular use.)

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpCdmi2WqAqI.pgp
Description: PGP signature


Re: svgatextmode and ATI rage 128 video cards

2002-03-17 Thread Hans Ekbrand
On Sun, Mar 17, 2002 at 04:11:15PM -0600, Curt Daugaard wrote:
 Has anyone on the list had any luck in configuring svgatextmode with
 a video cards in the ATI Rage 128 series?  I recently changed from
 an S3 card to the 128 Pro but can't figure out what settings to use
 now.  I'd hate to part with the higher resolutions.  (I can't find
 anything decent in the alternate kernel video modes.)

What do you mean by the last sentence? With frambuffers you have
complete controll over the video modes. See the section:

6. Converting XFree86 timing values info frame buffer device timings

in /usr/src/kernel-sourcex.y.z/Documentation/fb/framebuffers.txt

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpjLzBv6oiVX.pgp
Description: PGP signature


Re: inappropriate racist and other offensive material

2002-03-14 Thread Hans Ekbrand
On Wed, Mar 13, 2002 at 10:02:34PM -0700, user list wrote:
 This whole discussion is really a bit adolescent. The joke is racist.
 It is about being black. 

Yes.

 If this sort of crap stays in the distribution,
 it goes off of all of my machines. I am both deeply offended and deeply
 embarrassed that Debian has no more sense than to put this stuff on 
 everyone's machine.

What do mean by put this stuff on everyone's machine?. I sure hope
it is not on mine, as far as I know, *you* have to install the package
in question, or it won't touch your machine.

I was offended by another package surfraw, and I removed it. But
that sure made me think twice about Debian. My position is that as
long as the offending packages are a marginal part of the
distrobution, and I don't install those packages, I can contiue to use
it. But there sure is a limit for how many packages one can stand to
try and be offended by.


-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgphRVSM8pSM4.pgp
Description: PGP signature


Re: NEWBIE TIP #110 [was Re: suggestion[data in .sig file]]

2002-03-07 Thread Hans Ekbrand
On Tue, Mar 05, 2002 at 01:44:40PM -1000, Joseph Dane wrote:
  Hans == Hans Ekbrand [EMAIL PROTECTED] writes:
 
  Hans This tip is bad. It does not work. The first line makes the
  Hans following fail (or, I think, in case of bad security on client
  Hans succeed but by-pass the ssh-tunnel).
 
 no, it works as expected.  if the tip had been 
 
  client ssh -X server
  server export DISPLAY=client:0.0# DON'T DO THIS!!!
  server netscape
 
 then that would have been bad.  but that's not what was in the post.

Since no one else has disputed this post yet, I think it is time to do
so. I have used X-forwarding over SSH enough to know that you need not
and you should not set $DISPLAY manually.

I fail to understand why you came up with the example above. No one
have suggested or commented any such thing.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 s?n feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgp7rU9UuCHIs.pgp
Description: PGP signature


Re: which command to configure x window?

2002-03-07 Thread Hans Ekbrand
On Thu, Mar 07, 2002 at 06:05:14PM +0800, linuxman wrote:
 hi,
 
 Who can tell me which command to configure X window system in debian/woody? I 
 can not find XF86Setup, and xf86config is too old:-)

dpkg-reconfigure your-xserver-goes-here

xserver-xfree86 is probably your xserver.

 linuxman
 =
 Linux is all my life
 

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 s?n feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpGooGxmKk5i.pgp
Description: PGP signature


Re: Smart Debian Backup?

2002-03-07 Thread Hans Ekbrand
On Thu, Mar 07, 2002 at 04:24:29AM -0800, Alvin Oga wrote:
 if you move all your config and isntall db files to known
 directories..
 
 and if you descipline yourself and your users to put data only
 into /usr/local  or /home  than you're all set...
 
 just backup /etc and /home and /usr/local...
 ( everything else should have been installed from cdrom )
 
 and if you wanna backup pending emails etc..etc..
   more stuff to look in /var/*...

Especially /var/spool, /var/mail, /var/log and /var/lib (and possibly
/var/www).

 - problem is people put stuff where they like...
 - some packages still put stuff in what they consider the right place
   which may or may not be what you consider the right place

Does not the Debian Policy and the FHS eliminate such problems?

Are there debian packages that don't follow the FHS?

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 s?n feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgp2KkuVbAho5.pgp
Description: PGP signature


Re: UNSUBSCRIBE

2002-03-07 Thread Hans Ekbrand
On Thu, Mar 07, 2002 at 05:44:25AM -0800, Paul 'Baloo' Johnson wrote:
 On Thu, 7 Mar 2002 [EMAIL PROTECTED] wrote:
 
  UNSUBSCRIBE [EMAIL PROTECTED]
 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 
 -- 
 Baloo

What about a procmail rule that auto-replied that off-list? I for one
would happily use it :-)

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 s?n feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgp3gALiwtNWa.pgp
Description: PGP signature


Re: NEWBIE TIP #110 [was Re: suggestion[data in .sig file]]

2002-03-07 Thread Hans Ekbrand
On Thu, Mar 07, 2002 at 08:31:09AM -1000, Joseph Dane wrote:
  Hans == Hans Ekbrand [EMAIL PROTECTED] writes:
 
  Hans Since no one else has disputed this post yet, I think it is
  Hans time to do so. I have used X-forwarding over SSH enough to know
  Hans that you need not and you should not set $DISPLAY manually.
 
 no, you don't need to set DISPLAY.  but you said:
 
 quote
 This tip is bad. It does not work. The first line makes the following
 fail (or, I think, in case of bad security on client succeed but by-pass the
 ssh-tunnel).
 /quote
 
 which is incorrect.

Not so fast, mr Yakamoto

Your citation of my first post contains two statements:

 This tip is bad. It does not work. The first line makes the following
 fail

Which is *correct*. (At least in Woody, and in my .sig I clearly
stated I was running Woody.)

The second part, the parenthesis, which includes the reservation I think:

 (or, I think, in case of bad security on client succeed but by-pass the
 ssh-tunnel).

Is, as you have taught me, wrong. Thank you.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 s?n feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpB3ljfFVDou.pgp
Description: PGP signature


Re: NEWBIE TIP #110 [was Re: suggestion[data in .sig file]]

2002-03-07 Thread Hans Ekbrand
On Thu, Mar 07, 2002 at 11:21:28AM -0600, Dimitri Maziuk wrote:
 * Crispin Wellington ([EMAIL PROTECTED]) spake thusly:
  On Thu, 2002-03-07 at 18:13, Hans Ekbrand wrote:
 ...
   I fail to understand why you came up with the example above. No one
   have suggested or commented any such thing.
  
  I wasn't subscribed when the first post came in so Im exempt. But I
  agree completely. Leave out the export DISPLAY.
  
  Doing the above *works* but bypasses any X forwarding ssh sets up for
  you and sends the X forwarding directly to the client without
  encryption. In fact the default DISPLAY setting on a -X login is
  connected to the server itself...

Crispin, it does *not* work, at least not in Woody. And, as Joseph
Dane pointed out, it will *not* bypass, the ssh tunnel.

 Crispin, Hans: I think you need to work on your reading comprehension.
 Which part of ssh won't forward X connections if *local* DISPLAY is
 not set escapes you? Try this at home:
 
 client # export DISPLAY=
 client # ssh -X server
 server # netscape
 
 If local $DISPLAY is not set, ssh assumes X is not running on local
 machine, so there is nowhere to forward X connections *to*. Is that
 so hard to figure out?

No, it's not.

But:

1. The tip did not work.
2. Even *if* it had work, it would not have been a
very good NEWBIE tip. IMHO a much better tip is

client~ssh -X server
server~netscape

*Not* messing with $DISPLAY is a *good* rule of thumb for a newbie.
There are situations where it is needed, though. I have self used it
once or twice.

 An experienced unix user would probably know to try 
 both, but a newbie will simply turn around and decide that Great 
 Debian Newbie Tips database is not worth crap.

Indeed.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 s?n feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand


pgpNLmhvLvruw.pgp
Description: PGP signature


Re: XDMCP Howto?

2002-03-07 Thread Hans Ekbrand
On Thu, Mar 07, 2002 at 01:37:02PM -0600, Donald R. Spoon wrote:
 several years at random times.  I have not been able to find the magic 
 to get several X-servers running on different terminals (vt7, vt8, etc) 
 yet, so the steps below are restricted to a machine that has only ONE 
 X-server session capability. I know it can be done, but just don't know 
 how...:(

This might be trivial to you, but have you tried:

~X :1 vt9 -query foo

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 s?n feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpqzOCUM09co.pgp
Description: PGP signature


Re: unable to mount ide-scsi drives

2002-03-07 Thread Hans Ekbrand
On Thu, Mar 07, 2002 at 02:29:36PM -0600, Alex Malinovich wrote:
 I recently recompiled my kernel (2.4.17) with ide-scsi support and no
 ide-cd. cdrecord recognizes both of my CD-RW drives just fine. However,
 I can't seem to mount them. I've tried using both the sr and sd devices,
 but no matter what I try, I just can't mount a CD. Any suggestions? TIA.

Try /dev/scd0


-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 s?n feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpNokcmuqsiU.pgp
Description: PGP signature


Re: compile 2.4.17 kernel error

2002-03-06 Thread Hans Ekbrand
On Wed, Mar 06, 2002 at 04:27:10PM +0800, [EMAIL PROTECTED] wrote:
 On 05 Mar 2002, Hans Ekbrand wrote:
  On Tue, Mar 05, 2002 at 04:33:42PM +0800, Eric. He wrote:
   I compile kernel-2.4.17 to support my ac'97 sound card of intel i815e. 
   But i can't compile the kernel use make bzIamgecommand.
   the error lists:
   
   drivers/sound/sounddrivers.o(.data+0x194):undefined referecne to 'local 
   symbols in discarded section .text.exit'
   make: *** [vmlinux] Error 1
  
  Sounds like that famous binutils incompability with recent kernels.
  Two alternatives: upgrade bintuils, or uncomment a line in
  /usr/src/kernel-source-2.4.17/arch/i386/vmlinux.lds, in the
  
  /* Sections to be discarded */
  
  comment out this line:
  
*(.text.exit) 

 I also use the binutils_2.11.92.0.10-4_i386.deb,the same error takes place.
 And i compile other 2.4.x kernel older than 2.4.17,the error still takes 
 place.
 what can i do?

You have not tried any of my tips and you want more? (In my woody,
binutils is 2.11.92.0.12.3-6) What reasons do you have not trying
them?

From what I have understood, the error lies not with binutils but
rather in the kernel-source but was not triggered until a new version
of binutils came out.

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 s?n feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

pgpeFBHW0bNEC.pgp
Description: PGP signature


  1   2   >