Re: ssh maimed on testing update

2016-01-08 Thread R. Clayton
  Is it possible that you are using a dsa key? ;-) 
  Use ssh with -v and take a look to the Output. 

Yes, that was the problem.  I switched to rsa, which doesn't seem to me like it
reduces paranoia, but I deal with systems that apparently don't understand
ed25519.



Charsets v grep

2015-11-15 Thread R. Clayton
I'm running this

  $ bash --version
  GNU bash, version 4.3.42(1)-release (i586-pc-linux-gnu)
  Copyright (C) 2013 Free Software Foundation, Inc.
  License GPLv3+: GNU GPL version 3 or later 

  This is free software; you are free to change and redistribute it.
  There is NO WARRANTY, to the extent permitted by law.

  $

on this

  $ lsb_release -a
  No LSB modules are available.
  Distributor ID:   Debian
  Description:  Debian GNU/Linux testing-updates (sid)
  Release:  testing-updates
  Codename: sid

  $

and I've been getting a lot of this lately:

  $ grep ^Subject: cbtm 
  Binary file cbtm matches

  $

whereas before (a month or so ago) I used to get actual matches on std-out.
It's easy enough to work around like so

  $ sed -n -e '/^Subject:/p' < cbtm 
  Subject: Re: PTFACULTY: FTFACULTY: When saying "Nous sommes Paris" is not
  Subject: FTFACULTY: When saying "Nous sommes Paris" is not enough
  Subject: Lowered Reserve Prices

  $

but I'd like to grep working like it used to.  What is the way for me to get
grep back?  Some other points that may be useful:

  $ file cbtm 
  cbtm: ISO-8859 text, with very long lines

  $ ba env | grep -i utf
  LANG=en_US.UTF-8
  XTERM_LOCALE=en_US.UTF-8

  $ 



Re-establishing remote-X access.

2015-05-28 Thread R. Clayton
For the past n years I've been running X-capable programs on this system

  remote$ uname -a
  FreeBSD AngkorWat 9.2-RELEASE-p10 FreeBSD 9.2-RELEASE-p10 #0: Tue Jul  8
  10:48:24 UTC 2014
  r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

  remote$

using this system as the display:

  local$ uname -a
  Linux BanjaLuka 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt9-3 (2015-04-23)
  i686 GNU/Linux

  local$ lsb_release -a
  No LSB modules are available.
  Distributor ID: Debian
  Description:Debian GNU/Linux testing (stretch)
  Release:testing
  Codename:   stretch

  local$

Due to an accidental reboot on the local system, I've discovered this no longer
works:

  local$ grep nolisten /etc/X11/xinit/xserverrc

  local$ xhost +inet:angkorwat
  angkorwat being added to access control list

  local$ ssh -YC angkorwat 
  X11 forwarding request failed on channel 0
  Last login: Thu May 28 16:09:09 2015 from banjaluka.rclayton.net
  FreeBSD 9.2-RELEASE-p10 (GENERIC) #0: Tue Jul  8 10:48:24 UTC 2014

  Welcome to FreeBSD!

  [ blah blah blah ]
  
  remote$ export DISPLAY=banjaluka:0.0

  remote$ xmixer  
  Error: Can't open display: banjaluka:0.0

  remote$ 

I don't know what the "X11 forwarding request failed" message means, but it
always shows up and hasn't interfered with remote access before.

Remote access also fails with "ssh -Y", "ssh -XC", and "ssh -X".

The remote system hasn't been changed in quite a while, and the local system is
updated weekly.  I'm assuming the problem's occurring due to some change on the
local system.

What problem has developed providing local X access to remote programs?  How do
I go about debugging this problem?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87wpzstnmv@banjaluka.rclayton.net



ntpd ignoring conf server commands

2015-01-20 Thread R. Clayton
I'm on this

  $ uname -a
  Linux erehwon 3.2.0-4-686-pae #1 SMP Debian 3.2.63-2+deb7u2 i686 GNU/Linux

  $ lsb_release -a
  No LSB modules are available.
  Distributor ID: Debian
  Description:Debian GNU/Linux 7.7 (wheezy)
  Release:7.7
  Codename:   wheezy

  $ 

and I've got this

  $ dpkg -l *ntp*
  Desired=Unknown/Install/Remove/Purge/Hold
  | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
  |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
  ||/ Name   Version  Architecture Description
  +++-==---=
  ii  ntp1:4.2.6.p5+d i386 Network Time Protocol daemon and 
  un  ntp-doc(no description available)
  ii  ntpdate1:4.2.6.p5+d i386 client for setting system time fr

  $ grep -v '^#' /etc/ntp.conf | cat -s 

  driftfile /var/lib/ntp/ntp.drift

  statistics loopstats peerstats clockstats
  filegen loopstats file loopstats type day enable
  filegen peerstats file peerstats type day enable
  filegen clockstats file clockstats type day enable

  server 0.debian.pool.ntp.org iburst
  server 1.debian.pool.ntp.org iburst
  server 2.debian.pool.ntp.org iburst
  server 3.debian.pool.ntp.org iburst

  restrict -4 default kod notrap nomodify nopeer noquery
  restrict -6 default kod notrap nomodify nopeer noquery

  restrict 127.0.0.1
  restrict ::1

  $ 

and can do this

  $ ping -c 1 0.debian.pool.ntp.org
  PING 0.debian.pool.ntp.org (129.250.35.251) 56(84) bytes of data.
  64 bytes from y.ns.gin.ntt.net (129.250.35.251): icmp_req=1 ttl=42 time=16.4 
ms

  --- 0.debian.pool.ntp.org ping statistics ---
  1 packets transmitted, 1 received, 0% packet loss, time 0ms
  rtt min/avg/max/mdev = 16.491/16.491/16.491/0.000 ms

  $ ping -c 1 3.debian.pool.ntp.org
  PING 3.debian.pool.ntp.org (108.61.73.243) 56(84) bytes of data.
  64 bytes from hydrogen.constant.com (108.61.73.243): icmp_req=1 ttl=52 
time=6.19 ms

  --- 3.debian.pool.ntp.org ping statistics ---
  1 packets transmitted, 1 received, 0% packet loss, time 0ms
  rtt min/avg/max/mdev = 6.190/6.190/6.190/0.000 ms

  $ 

but when I do this

  $ sudo /etc/init.d/ntp restart
  [ ok ] Stopping NTP server: ntpd.
  [ ok ] Starting NTP server: ntpd.

  $ sudo tail -11 /var/log/daemon.log
  Jan 20 07:28:03 erehwon ntpd[5283]: ntpd exiting on signal 15
  Jan 20 07:28:05 erehwon ntpd[5619]: ntpd 4.2.6p5@1.2349-o Sat Dec 20 18:47:35 
UTC 2014 (1)
  Jan 20 07:28:05 erehwon ntpd[5620]: proto: precision = 0.838 usec
  Jan 20 07:28:05 erehwon ntpd[5620]: Listen and drop on 0 v4wildcard 0.0.0.0 
UDP 123
  Jan 20 07:28:05 erehwon ntpd[5620]: Listen and drop on 1 v6wildcard :: UDP 123
  Jan 20 07:28:05 erehwon ntpd[5620]: Listen normally on 2 lo 127.0.0.1 UDP 123
  Jan 20 07:28:05 erehwon ntpd[5620]: Listen normally on 3 eth0 10.1.12.138 UDP 
123
  Jan 20 07:28:05 erehwon ntpd[5620]: Listen normally on 4 eth0 
fe80::225:b3ff:fe0c:b3f3 UDP 123
  Jan 20 07:28:05 erehwon ntpd[5620]: Listen normally on 5 lo ::1 UDP 123
  Jan 20 07:28:05 erehwon ntpd[5620]: peers refreshed
  Jan 20 07:28:05 erehwon ntpd[5620]: Listening on routing socket on fd #22 for 
interface updates

  $ 

this happens

  $ ntpq -p
   remote   refid  st t when poll reach   delay   offset  jitter
  ==
   clock.monmouth. .INIT.  16 u-   6400.0000.000   0.000

  $ 

Why aren't any specified servers in use?
Why the unspecified clock.monmouth server listed?

-- 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87d269r5hh@ulanbator.myhome.westell.com



Re: Where's tkmixer?

2014-04-10 Thread R. Clayton
  I don't use tk but it is here https://packages.debian.org/sid/sound/tkmixer

>From what I can tell, that's a unstable package for a motorola architecture,
while I'm looking for a testing package for an intel architecture.
-- 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87txa0ebc9@ulanbator.myhome.westell.com



Where's tkmixer?

2014-04-10 Thread R. Clayton
I'm running

  $ uname -a
  Linux UlanBator 3.10-2-686-pae #1 SMP Debian 3.10.5-1 (2013-08-07) i686 
GNU/Linux

  $ cat /etc/debian_version 
  jessie/sid

  $ 

updated weekly, and I finally got around to noticing that tkmixer has
disappeared:

  $ sudo apt-get update
  Get:1 http://mirror.cc.columbia.edu testing InRelease [166 kB]
  [ blah blah blah ]
  Reading package lists... Done

  $ whereis tkmixer
  tkmixer:

  $ dpkg -l tkmixer
  dpkg-query: no packages found matching tkmixer

  $ apt-cache search tkmixer

  $ 

This apparently happened during the 2014 March 23 update, which did, among
other things

  The following packages will be REMOVED:
tcl8.4 tk8.4 tkmixer
  The following NEW packages will be installed:
libtcl8.5 libtcl8.6 libtk8.5 libtk8.6 tcl8.6 tk8.6

and didn't re-install tkmixer, which is, as they say, a bummer.

Where is the tkmixer .deb?  Failing that, where is the tkmixer source?  The
tkmixer sourceforge project ( http://sourceforge.net/projects/tkmixer ) has
zero files.

-- 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87y4zdjd5f@ulanbator.myhome.westell.com



Re: Installing /dev/mixer.

2012-06-28 Thread R. Clayton
  Is snd-mixer-oss loaded?

It wasn't, and loading it solved the problem.  Thanks for your reply to my
message.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87ipea3kqc@ulanbator.myhome.westell.com



Installing /dev/mixer.

2012-06-28 Thread R. Clayton
I have installed alsa

  $ dpkg -l \* | grep -i 'ii.*alsa'  | awk '{ print $2 }'
  alsa-base
  alsa-oss
  alsa-tools
  alsa-tools-gui
  alsa-utils
  alsamixergui
  libasound2:i386
  linux-sound-base

  $ lsmod | grep snd | cut -d ' ' -f 1
  snd_intel8x0
  snd_intel8x0m
  snd_ac97_codec
  snd_pcm
  snd_page_alloc
  snd_timer
  snd
  soundcore
  ac97_bus

  $

on

  $ cat /proc/version | fmt
  Linux version 3.2.0-2-486 (Debian 3.2.20-1)
  (debian-ker...@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-7) )
  #1 Mon Jun 11 17:24:05 UTC 2012

  $ 

and it's working for the things I want.  However, I installed xmix, and it
fails when run because it can't find /dev/mixer, which doesn't exist.  How do I
find the smallest set of packages to load that will define /dev/mixer?
apt-file doesn't return anything on a search for /dev/mixer, nor can I find
anything using www.debian.org/distrib/packages .


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87sjdfkvsk@ulanbator.myhome.westell.com



Re: 100% used / file system. Help!

2011-09-21 Thread R. Clayton
When I have this problem, it's usually because I have too many kernel
versions.  Look in /boot or do

  $ dpkg --purge linux-image  

I keep the latest and the previous versions around, although I wait until the
partition's full before culling the older versions, which happens during
update.

-- 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87aa9x5fs2@ulanbator.myhome.westell.com



Re: ALSA fail on wheezy.

2011-08-20 Thread R. Clayton
  The 'fw unknown' is bothersome. I'd take 'fw' to be 'firmware'.

You're probably right; had I looked at dmesg, I would have seen that cs64xx
had no firmware.

  The Debian Wiki is often very useful:
  http://wiki.debian.org/snd-cs46xx

It was for me; it solved the problem.  Thanks for your reply to my message.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/877h67y5co@ulanbator.myhome.westell.com



ALSA fail on wheezy.

2011-08-19 Thread R. Clayton
I'm running testing

  $ cat /proc/version | fmt
  Linux version 3.0.0-1-686-pae (Debian 3.0.0-1) (b...@decadent.org.uk)
  (gcc version 4.5.3 (Debian 4.5.3-3) ) #1 SMP Sun Jul 24 14:27:32 UTC 2011

  $

on a ibm thinkpad a22m that's got one of these

  $ lspci | grep -i audio | fmt
  00:05.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24/30
  [CrystalClear SoundFusion Audio Accelerator] (rev 01)

  $

and have installed ALSA

  $ dpkg -l | grep -i alsa
  ii  alsa-base   1.0.23+dfsg-4   ALSA driver configuration files
  ii  alsa-oss1.0.17-5ALSA wrapper for OSS applications
  ii  alsa-utils  1.0.24.2-1  Utilities for configuring and using ALSA
  ii  bluez-alsa  4.94-3  Bluetooth ALSA support
  ii  libasound2  1.0.24.1-2  shared library for ALSA applications
  ii  linux-sound-bas 1.0.23+dfsg-4   base package for ALSA and OSS sound 
systems

  $ lsmod | grep snd
  snd_cs46xx 23523  0 
  gameport   13404  1 snd_cs46xx
  snd_seq_midi   12744  0 
  snd_seq_midi_event 13124  1 snd_seq_midi
  snd_rawmidi22621  2 snd_cs46xx,snd_seq_midi
  snd_ac97_codec 84197  1 snd_cs46xx
  ac97_bus   12462  1 snd_ac97_codec
  snd_pcm53315  2 snd_cs46xx,snd_ac97_codec
  snd_seq39539  2 snd_seq_midi,snd_seq_midi_event
  snd_timer  22027  2 snd_pcm,snd_seq
  snd_seq_device 12985  3 snd_seq_midi,snd_rawmidi,snd_seq
  snd38562  8 
snd_cs46xx,snd_rawmidi,snd_ac97_codec,snd_pcm,thinkpad_acpi,snd_seq,snd_timer,snd_seq_device
  soundcore  12992  1 snd
  snd_page_alloc 12899  2 snd_cs46xx,snd_pcm

  $

But it's not working at all

  $ alsamixer
  cannot open mixer: No such file or directory

  $ ls /dev | grep -i mix

  $ aplay /usr/share/sounds/alsa/Noise.wav
  ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
  ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_card_driver 
returned error: No such file or directory
  ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
  ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_concat returned 
error: No such file or directory
  ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
  ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned 
error: No such file or directory
  ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such file or 
directory
  ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM default
  aplay: main:660: audio open error: No such file or directory

  $ cat /proc/asound/cards
  29 [ThinkPadEC ]: ThinkPad EC - ThinkPad Console Audio Control
ThinkPad Console Audio Control at EC reg 0x30, fw 
unknown

  $

These commands also fail for root in the same way, and yes

  $ groups
  rclayton cdrom floppy audio dip video plugdev netdev bluetooth

  $

What is the explanation for the evident mixer and card problems, and how do I
fix them?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87sjox138t@ulanbator.myhome.westell.com



Re: Problems ejecting cd.

2011-08-07 Thread R. Clayton
  I've recently noticed one of my DVD drives giving the same eject message, but
  ejecting shortly afterwards. It isn't a new drive, but seems to work apart
  from the message.

I've had that problem too, but it eventually does eject, and I leave
well-enough alone.  Thanks for your reply.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87r54xb3c6@ulanbator.myhome.westell.com



Re: Problems ejecting cd.

2011-08-07 Thread R. Clayton
  From a mechanical point of view, this sounds like a bad servo or actuator
  motor in the drive. Is it old? New? 

The hardware's an ibm thinkpad a31; that's maybe eight or nine years old.

  Is the drive sluggish to eject the drive, does it feel stiff, like something
  might be grinding on the tray itself?

When it works, the cd drive works well, smoothly with no ominous sounds.

Thanks for your answer to my message.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87vcu9b3ny@ulanbator.myhome.westell.com



Problems ejecting cd.

2011-08-06 Thread R. Clayton
I'm running debian testing updated weekly.  Every once in a while I manage to
wedge the cd drive such that I can no longer eject it:

  $ sudo umount /dev/scd1
  umount: /dev/scd1: not mounted

  $ eject /dev/scd1
  eject: unable to eject, last error: Inappropriate ioctl for device

  $ sudo eject /dev/scd1
  eject: unable to eject, last error: Inappropriate ioctl for device

  $ eject -v /dev/scd1
  eject: device name is `/dev/scd1'
  eject: expanded name is `/dev/scd1'
  eject: `/dev/scd1' is a link to `/dev/sr1'
  eject: `/dev/sr1' is not mounted
  eject: `/dev/sr1' is not a mount point
  eject: `/dev/sr1' is not a multipartition device
  eject: trying to eject `/dev/sr1' using CD-ROM eject command
  eject: CD-ROM eject command failed
  eject: trying to eject `/dev/sr1' using SCSI commands
  eject: SCSI eject failed
  eject: trying to eject `/dev/sr1' using floppy eject command
  eject: floppy eject command failed
  eject: trying to eject `/dev/sr1' using tape offline command
  eject: tape offline command failed
  eject: unable to eject, last error: Inappropriate ioctl for device

  $ ls -l /dev/s{cd,r}1
  lrwxrwxrwx 1 root root  3 Aug  5 18:09 /dev/scd1 -> sr1
  brw-rw 1 root cdrom 11, 1 Aug  5 18:09 /dev/sr1

  $ groups
  rclayton dialout cdrom floppy audio video plugdev bluetooth netdev

  $

The drive's wedged so tightly that it doesn't respond to the button on the
cd-tray drawer (it does, however, respond to the paper clip, but that fixes
neither the eject command nor the drawer button).  This usually happens after I
have some mishaps mounting and unmounting the drive.  I can recover the drive
by rebooting, but what, if anything, can I do short of rebooting to recover the
drive?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87aabm4hcl@ulanbator.myhome.westell.com



Keeping stable stable.

2011-06-01 Thread R. Clayton
I'm running squeeze on a system, and I'd like to keep the system on the stable
release independent of what the release is called.  I changed all non-commented
appearances of "squeeze" with "stable" in sources.list; do I need to do
anything else?  Is this the right approach to take for a perpetually stable
system?



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87ei3dtakj@ulanbator.myhome.westell.com



Re: A dpkg puzzle on debian testing.

2011-03-07 Thread R. Clayton
  smbclient != sambaclient

Oh, I am an idiot.  Thanks for the replies.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/871v2igr7m@ulanbator.myhome.westell.com



A dpkg puzzle on debian testing.

2011-03-07 Thread R. Clayton
I'm running a debian testing system updated weekly.  In the last update I
noticed samba packages being updated.  Because I have no need of samba, I
wanted to get rid of them:

  $ sudo dpkg --purge samba-common samba-common-bin 
  dpkg: dependency problems prevent removal of samba-common:
   smbclient depends on samba-common (= 2:3.5.6~dfsg-5).
  dpkg: error processing samba-common (--purge):
   dependency problems - not removing
  (Reading database ... 148254 files and directories currently installed.)
  Removing samba-common-bin ...
  Processing triggers for man-db ...
  Errors were encountered while processing:
   samba-common

  $

Ok, fine; get rid of sambaclient too:

  $ sudo dpkg --purge sambaclient
  dpkg: warning: ignoring request to remove sambaclient which isn't installed.

  $

Thus the puzzle: how is it that a package that's not installed prevents an
installed package from being purged?
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/8762ru27pv@ulanbator.myhome.westell.com



Re: Flash drive internal fragmentation.

2010-03-27 Thread R. Clayton
  So, I don't know exactly *how* you'd format a device as "fat32".

I used "mkfs.vfat -F 32 /dev/sda1"



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87k4sx9n7o@ulanbator.myhome.westell.com



Re: Flash drive internal fragmentation.

2010-03-26 Thread R. Clayton
Thanks for your replies to my message.  Putting a fat32 fs on the thumb drive
did the trick; the block size is 4k, matching what's on the hard drive file
systems.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/8739zm8qro@ulanbator.myhome.westell.com



Flash drive internal fragmentation.

2010-03-24 Thread R. Clayton
[ This isn't really a debian question; it's more of a linux question or maybe a
  file system question, but because this is the most appropriate of the groups I
  read, I'll pretend it's really important that this happened on a debian
  system. ]

I tried to copy a 1.4G directory

  $ du -sh dr-dobbs
  1.4G  dr-dobbs

  $ 

to an empty 4G thumb drive

  $ /sbin/fdisk -l /dev/sda

  Disk /dev/sda: 4009 MB, 4009754624 bytes
  124 heads, 62 sectors/track, 1018 cylinders
  Units = cylinders of 7688 * 512 = 3936256 bytes
  Disk identifier: 0x

 Device Boot  Start End  Blocks   Id  System
  /dev/sda1   *   11018 39131616  FAT16

  $

and had the copy fail because the thumb drive ran out of space.  After poking
around a bit, I found the block sizes on the thumb drive were huge:

  $ cd /mnt/flasha/dr-dobbs/articles/CUJ/1990/9001/branniga

  $ ls --block-size=1k -ls
  total 896
  64 -rwxr-xr-x 1 rclayton rclayton 18 2010-03-23 14:42 branniga.htm
  64 -rwxr-xr-x 1 rclayton rclayton  3 2010-03-23 14:42 fig1.gif
  64 -rwxr-xr-x 1 rclayton rclayton  1 2010-03-23 14:42 fig1.htm
  64 -rwxr-xr-x 1 rclayton rclayton  3 2010-03-23 14:42 fig2.gif
  64 -rwxr-xr-x 1 rclayton rclayton  1 2010-03-23 14:42 fig2.htm
  64 -rwxr-xr-x 1 rclayton rclayton  3 2010-03-23 14:42 fig3.gif
  64 -rwxr-xr-x 1 rclayton rclayton  1 2010-03-23 14:42 fig3.htm
  64 -rwxr-xr-x 1 rclayton rclayton  6 2010-03-23 14:42 fig4.gif
  64 -rwxr-xr-x 1 rclayton rclayton  1 2010-03-23 14:42 fig4.htm
  64 -rwxr-xr-x 1 rclayton rclayton  5 2010-03-23 14:42 fig5.gif
  64 -rwxr-xr-x 1 rclayton rclayton  1 2010-03-23 14:42 fig5.htm
  64 -rwxr-xr-x 1 rclayton rclayton  7 2010-03-23 14:42 fig6.gif
  64 -rwxr-xr-x 1 rclayton rclayton  1 2010-03-23 14:42 fig6.htm
  64 -rwxr-xr-x 1 rclayton rclayton  5 2010-03-23 14:42 list1.htm

  $ cd /home/dr-dobbs/articles/CUJ/1990/9001/branniga

  $ ls --block-size=1k -ls
  total 88
  20 -r-x-- 1 rclayton rclayton 18 2010-03-21 08:32 branniga.htm
   4 -r-x-- 1 rclayton rclayton  3 2010-03-21 08:32 fig1.gif
   4 -r-x-- 1 rclayton rclayton  1 2010-03-21 08:32 fig1.htm
   4 -r-x-- 1 rclayton rclayton  3 2010-03-21 08:32 fig2.gif
   4 -r-x-- 1 rclayton rclayton  1 2010-03-21 08:32 fig2.htm
   4 -r-x-- 1 rclayton rclayton  3 2010-03-21 08:32 fig3.gif
   4 -r-x-- 1 rclayton rclayton  1 2010-03-21 08:32 fig3.htm
   8 -r-x-- 1 rclayton rclayton  6 2010-03-21 08:32 fig4.gif
   4 -r-x-- 1 rclayton rclayton  1 2010-03-21 08:32 fig4.htm
   8 -r-x-- 1 rclayton rclayton  5 2010-03-21 08:32 fig5.gif
   4 -r-x-- 1 rclayton rclayton  1 2010-03-21 08:32 fig5.htm
   8 -r-x-- 1 rclayton rclayton  7 2010-03-21 08:32 fig6.gif
   4 -r-x-- 1 rclayton rclayton  1 2010-03-21 08:32 fig6.htm
   8 -r-x-- 1 rclayton rclayton  5 2010-03-21 08:32 list1.htm

  $  

which meant my thumb drive space was getting eaten up by internal
fragmentation.  I understand that flash storage has special needs for most
efficient operation, but are block-size overages of an order-of-magnitude or
more really necessary?  Can I remake the file system with smaller block sizes?
How?  (It is unclear to me if sector size is the same as file block size.)
What bad things happen to flash storage if the file system has 1k block size?

This happened on a debian testing system updated weekly.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87mxxxen0p@ulanbator.myhome.westell.com



sox "unknown file type" problem.

2007-11-10 Thread R. Clayton
I've installed sox on a debian testing system updated weekly:

 ku dpkg-query -l *sox*
 Desired=Unknown/Install/Remove/Purge/Hold
 | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
 |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
 ||/ Name   VersionDescription
 +++-==-==-
 un  libsox-fmt-all  (no description available)
 ii  libsox-fmt-als 14.0.0-4   SoX alsa format I/O library
 ii  libsox-fmt-ao  14.0.0-4   SoX Libao format I/O library
 ii  libsox-fmt-bas 14.0.0-4   Minimal set of SoX format libraries
 ii  libsox-fmt-oss 14.0.0-4   SoX OSS format I/O library
 ii  libsox014.0.0-4   SoX library
 ii  sox14.0.0-4   Swiss army knife of sound processing

 ku 

and it doesn't work:

  ku file gargantula.mp3 
  gargantula.mp3: Audio file with ID3 version 22.0 tag, MP3 encoding

  ku sox gargantula.mp3 gargantula.ogg
  sox soxio: Failed reading `gargantula.mp3': unknown file type `mp3'

  ku sox -t mp3 gargantula.mp3 gargantula.ogg
  sox soxio: Failed reading `gargantula.mp3': unknown file type `mp3'

  ku 

Searching around a bit turns up something recent having to do with libraries
but I can't make much sense of it and it seems related to building sox from
source.

What are the steps I need to take to get sox working?


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



Drscheme package install failure.

2007-04-28 Thread r. clayton
I'm trying to install drscheme and related on a debian testing system and it's
failing:

  $ sudo apt-get install drscheme
  Reading package lists... Done
  Building dependency tree... Done
  The following extra packages will be installed:
mzscheme
  The following NEW packages will be installed
drscheme mzscheme
  0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
  Need to get 0B/16.6MB of archives.
  After unpacking 82.1MB of additional disk space will be used.
  Do you want to continue [Y/n]? y
  Preconfiguring packages ...
  Configuring mzscheme
  

  PLT includes a fully-functional web server implementation. This server may be
  started and will continue to be brought on-line at boot time.  If so, you
  should make sure you configure the web server by visiting
  http://localhost:8000 with your web browser and following the configuration
  steps.

  Run the web server? no


  Selecting previously deselected package mzscheme.
  (Reading database ... 123913 files and directories currently installed.)
  Unpacking mzscheme (from .../mzscheme_1%3a352-6_i386.deb) ...
  Selecting previously deselected package drscheme.
  Unpacking drscheme (from .../drscheme_1%3a352-6_i386.deb) ...
  Setting up mzscheme (352-6) ...
  Cataloging SLIB routines...
  reference to undefined identifier: slib:features
  dpkg: error processing mzscheme (--configure):
   subprocess post-installation script returned error exit status 1
  dpkg: dependency problems prevent configuration of drscheme:
   drscheme depends on mzscheme (= 1:352-6); however:
Package mzscheme is not configured yet.
   drscheme depends on mzscheme; however:
Package mzscheme is not configured yet.
  dpkg: error processing drscheme (--configure):
   dependency problems - leaving unconfigured
  Errors were encountered while processing:
   mzscheme
   drscheme
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  $ 

What is the proper way of installing drscheme as a debian package (as opposed
to downloading it from drscheme.org)?


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



Re: Debian testing vs Opera.

2007-04-12 Thread r. clayton
  The newly released 9.20 should work.

It does.




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



Debian testing vs Opera.

2007-04-12 Thread r. clayton
I run a Debian testing system updated weekly on an x86 laptop.  

  $ uname -a
  Linux UlanBator 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686 
GNU/Linux

  $

Last Sunday's (8 April) update (see below) appears to have broken opera:

  $ opera --version
  Opera 9.10 . Build 521 for Linux. Qt library 3.3.7.

  $ opera
  Segmentation fault

  $ 

Statically linked opera fails in the same way.  Opera was working fine the week
before (1-7 April).

--

Here's last Sunday's update:

Script started on Sun 08 Apr 2007 03:40:07 PM EDT

  $ sudo apt-get dist-upgrade
  Password:
  Reading package lists...Done
  Building dependency tree... Done
  Calculating upgrade... Done
  The following NEW packages will be installed
binfmt-support libexchange-storage1.2-1 libnm-glib0
  The following packages have been kept back:
evolution tidy
  The following packages will be upgraded:
dosfstools evolution-data-server evolution-data-server-common file grub
initramfs-tools kdelibs-data kdelibs4c2a libaudio2 libcamel1.2-8
libebook1.2-5 libecal1.2-6 libedata-book1.2-2 libedata-cal1.2-5
libedataserver1.2-7 libedataserverui1.2-6 libegroupwise1.2-10 libglu1-xorg
libglu1-xorg-dev libkrb53 libmagic1 libqt3-mt libx11-6 libx11-data
libx11-dev libxfont1 libxine1 python2.4 python2.4-minimal squeak-vm
x-window-system-core x11-common xlibmesa-gl xlibmesa-gl-dev xlibs-data xmms
xnest xorg xserver-xorg xserver-xorg-core xserver-xorg-input-all
xserver-xorg-video-all
  42 upgraded, 3 newly installed, 0 to remove and 2 not upgraded.
  Need to get 44.6MB/44.7MB of archives.
  After unpacking 714kB of additional disk space will be used.
  Do you want to continue [Y/n]? y
  WARNING: The following packages cannot be authenticated!
squeak-vm
  Install these packages without verification [y/N]? y
  Get: 1 ftp://debian.lcs.mit.edu testing/main libx11-dev 2:1.0.3-7 [1269kB]
  Get: 2 http://ftp.squeak.org unstable/main squeak-vm 1:3.9.7-11 [488kB]
  Get: 3 ftp://debian.lcs.mit.edu testing/main libx11-data 2:1.0.3-7 [157kB]
  Get: 4 ftp://debian.lcs.mit.edu testing/main libx11-6 2:1.0.3-7 [567kB]
  Get: 5 ftp://debian.lcs.mit.edu testing/main x11-common 1:7.1.0-16 [337kB]
  Get: 6 ftp://debian.lcs.mit.edu testing/main libxfont1 1:1.2.2-2 [218kB]
  Get: 7 ftp://debian.lcs.mit.edu testing/main xserver-xorg-core 2:1.1.1-21 
[3653kB]
  Get: 8 ftp://debian.lcs.mit.edu testing/main xserver-xorg-video-all 
1:7.1.0-16 [18.5kB]
  Get: 9 ftp://debian.lcs.mit.edu testing/main xserver-xorg-input-all 
1:7.1.0-16 [18.3kB]
  Get: 10 ftp://debian.lcs.mit.edu testing/main xserver-xorg 1:7.1.0-16 [461kB]
  Get: 11 ftp://debian.lcs.mit.edu testing/main file 4.17-5etch1 [31.7kB]
  Get: 12 ftp://debian.lcs.mit.edu testing/main libmagic1 4.17-5etch1 [275kB]
  Get: 13 ftp://debian.lcs.mit.edu testing/main libkrb53 1.4.4-7etch1 [408kB]
  Get: 14 ftp://debian.lcs.mit.edu testing/main binfmt-support 1.2.8 [21.1kB]
  Get: 15 ftp://debian.lcs.mit.edu testing/main dosfstools 2.11-2.1+b1 [53.2kB]
  Get: 16 ftp://debian.lcs.mit.edu testing/main libedataserver1.2-7 1.6.3-5 
[116kB]
  Get: 17 ftp://debian.lcs.mit.edu testing/main libcamel1.2-8 1.6.3-5 [324kB]
  Get: 18 ftp://debian.lcs.mit.edu testing/main libebook1.2-5 1.6.3-5 [128kB]
  Get: 19 ftp://debian.lcs.mit.edu testing/main libecal1.2-6 1.6.3-5 [279kB]
  Get: 20 ftp://debian.lcs.mit.edu testing/main libedata-book1.2-2 1.6.3-5 
[92.3kB]
  Get: 21 ftp://debian.lcs.mit.edu testing/main libedata-cal1.2-5 1.6.3-5 
[102kB]
  Get: 22 ftp://debian.lcs.mit.edu testing/main libegroupwise1.2-10 1.6.3-5 
[106kB]
  Get: 23 ftp://debian.lcs.mit.edu testing/main evolution-data-server 1.6.3-5 
[483kB]
  Get: 24 ftp://debian.lcs.mit.edu testing/main evolution-data-server-common 
1.6.3-5 [1924kB]
  Get: 25 ftp://debian.lcs.mit.edu testing/main grub 0.97-27 [375kB]
  Get: 26 ftp://debian.lcs.mit.edu testing/main initramfs-tools 0.85g [63.3kB]
  Get: 27 ftp://debian.lcs.mit.edu testing/main kdelibs-data 4:3.5.5a.dfsg.1-8 
[8605kB]
  Get: 28 ftp://debian.lcs.mit.edu testing/main libaudio2 1.8-4 [73.4kB]
  Get: 29 ftp://debian.lcs.mit.edu testing/main libqt3-mt 3:3.3.7-4 [3135kB]
  Get: 30 ftp://debian.lcs.mit.edu testing/main kdelibs4c2a 4:3.5.5a.dfsg.1-8 
[9745kB]
  Get: 31 ftp://debian.lcs.mit.edu testing/main libedataserverui1.2-6 1.6.3-5 
[117kB]
  Get: 32 ftp://debian.lcs.mit.edu testing/main libexchange-storage1.2-1 
1.6.3-5 [169kB]
  Get: 33 ftp://debian.lcs.mit.edu testing/main libglu1-xorg 1:7.1.0-16 [18.2kB]
  Get: 34 ftp://debian.lcs.mit.edu testing/main libglu1-xorg-dev 1:7.1.0-16 
[18.3kB]
  Get: 35 ftp://debian.lcs.mit.edu testing/main libxine1 1.1.2+dfsg-4 [3373kB]
  Get: 36 ftp://debian.lcs.mit.edu testing/main python2.4 2.4.4-3 [2849kB]
  Get: 37 ftp://debian.lcs.mit.edu testing/main python2.4-minimal 2.4.4-3 
[901kB]
  Get: 38 ftp://debian.lcs.mit.edu testing/main xorg 1:7.1.0-16 [18.5kB]
  Get: 39 ftp://debian.lcs.mit.edu testing/main x-window-system-core 1:7.1.0-16 
[18.3kB]
  G

Re: Emacs key binding problem on debian testing.

2007-03-07 Thread r. clayton
  I don't have a testing box at hand, but on an unstable box[1], evaluating

(define-key c-mode-base-map "\C-cp" 'insert-c-procedure-skeleton)
(define-key c-mode-base-map "\C-ci" 'insert-include-statement)

  in a C buffer, yields to the following results:

  C-h k Ctrl-C-p
  => describe-key: Symbol's function definition is void:
  insert-c-procedure-skeleton 

  and

  C-h k Ctrl-C-i
  => describe-key: Symbol's function definition is void:
  insert-include-statement 

  Which is what I would expect.

It seems to be working on unstable, and I built emacs 21.4a on testing and that
works as expected.  I think something's gone aglay in the debian testing build.

  Have you tested with emacs -q to be sure your local .emacs is not messing
  things around?

Unless I'm misunderstanding you, I'm not sure what that would show.  My
~/.emacs is where the c-c++ autoload gets set; if I don't load it, I wouldn't
expect the keys to be bound to my functions.


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



Emacs key binding problem on debian testing.

2007-03-06 Thread r. clayton
I'm runining emacs

  GNU Emacs 21.4.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of
  2007-01-04 on saens, modified by Debian 

on a debian testing sytem

  $ uname -a
  Linux UlanBator 2.6.17-2-686 #1 SMP Wed Sep 13 16:34:10 UTC 2006 i686
  GNU/Linux

  $

updated weekly.  These commands

  (define-key c-mode-base-map "\C-cp" 'insert-c-procedure-skeleton)
  (define-key c-mode-base-map "\C-ci" 'insert-include-statement)

are run whenever a c or c++ program is read.  Looking at c-mode-base-map via
help-var shows the commands apparently worked

  c-mode-base-map's value is shown below.

  Documentation:
  Keymap shared by all CC Mode related modes.

  Defined in `cc-mode'.

  Value:
  (keymap
   (47 . c-electric-slash)
   (42 . c-electric-star)
   (44 . c-electric-semi&comma)
   (127 . c-electric-backspace)
   (4 . c-electric-delete-forward)
   (9 . c-indent-command)
   (3 keymap
  (105 . insert-include-statement)
  (112 . insert-c-procedure-skeleton)

but the response to ctrl-i is a bell and the response to help-key ctrl-i is

  C-c i is undefined

ctrl-p has the same problem.  Everything works as expected on other emacsen

  GNU Emacs 21.4.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars) of
  2006-03-07 on hs20-bc1-6.build.redhat.com

  GNU Emacs 21.4.1 (i386-unknown-openbsd4.0, X toolkit) of 2006-09-01 on
  i386.ports.openbsd.org

with the same .el files, and it used to work on debian testing too.  What is
the procedure for getting it to work again?


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



Non-root plug-in install.

2005-12-02 Thread R. Clayton
I tried to install a plug-in (tcl) in firefox (1.0.7) on debian (testing,
upgraded weekly).  The install failed because it tried to write into
/usr/lib/mozilla-firefox/plugins and I wasn't installing as root.  I fixed this
by making the plugins directory writable by group staff.

Is this the best way to avoid plug-in install failures, or is there something
better?  My suspicion is that introducing unexpected files into system
directories will interact badly with upgrading, either by causing the upgrade
to fail due to the unexpected files or by having the unexpected files get wiped
out in the next upgrade.


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



Re: Backing up installed packages.

2005-09-22 Thread R. Clayton
You should also back up /etc since this often contains any modifications you 
may have made during the installation process.

  I do:

Every system file (under /; don't forget, for example, /boot/grub/menu.lst)
modified is stored under RCS.

A nightly cron job e-mails me about files still checked out.

A weekly cron job gathers the RCS directories and stores them on a back-up
system.



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



Backing up installed packages.

2005-09-22 Thread R. Clayton
I keep a list of installed packages around so I can easily populate a new disk
(or repopulate a mashed-up disk) by doing something along the lines of

  $ apt-get install $(cat installed-packages-list)

I use a daily cron job along the lines of 

  ls /var/cache/apt/archives | sed 's/\([^_]*\)_.*/\1/' | sort | uniq

to maintain an installed-packages list that looks like this:

  $ cat installed-packages-list
  aalib1
  base-files
  bash
  bittorrent
  bzip2
  cdrecord
  [ and so on ]

I would be interested in hearing opinions and suggestions about a general
approach to backing-up and reconstituting package archives, as well as opinions
and suggestions about the particular approach I've outlined above.


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



An exim cough.

2005-08-12 Thread R. Clayton
Sometime during the past few days exim4 (4.52 #1 built 02-Jul-2005 06:12:03) on
a debian testing system (Linux UlanBator 2.4.27-speakup #1 Fri Feb 25 15:43:38
EST 2005 i686 GNU/Linux) stopped sending mail to my isp.  After poking around a
bit with -d, I found smtp authentication was failing because the
/etc/exim4/passwd.client read was failing due to permission problems.  The
permissions were

  ul ls -l /etc/exim4/passwd.client
  -rw-r-  1 root root 241 2005-05-02 18:32 /etc/exim4/passwd.client

and changing them to

  ul ls -l /etc/exim4/passwd.client
  -rw-r--r--  1 root root 241 2005-05-02 20:55 /etc/exim4/passwd.client

fixed the problem.

However, it is unclear to me why permissions would flip; I'm also thinking my
solution is not the best possible one.  What could be an explanation for this
problem, and what are some possible better solutions for it?

Notes:

  1 Outgoing mail was working Monday (August 8) and Tuesday; it failed sometime
Wednesday.

  2 The system is upgraded weekly early Sunday morning.


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



Re: Apt-get and aptitude man pages

2005-07-03 Thread R. Clayton
Excuse me? That's a direct cut-and-paste from the apt-get man page.

  It is, but it only half-answers the question.  The original discussion
  involved the difference between upgrade and dist-upgrade.  The quote I cited
  implied that upgrade is safer than dist-upgrade because upgrade doesn't
  remove packages, while dist-upgrade may remove packages.

  My comment pointed out that the apt-get man page entries for upgrade and
  dist-upgrade do not justify that implication: the only distinction the
  apt-get man page drawns between upgrade and dist-upgrade is between their
  abilities to resove conflicts.

  To fully answer the question, you have to also cut-and-paste the dist-upgrade
  entry in the apt-get man page and point out where it is written that
  dist-upgrade may delete packages.  Then you can correctly conclude that
  upgrade is safer than dist-upgrade with respect to deleting packages.

'upgrade' is not allowed to change the installation state of a package,
'dist-upgrade' is.

  That may be true for apt-get (the apt-get man page entries for upgrade and
  dist-upgrade mention nothing about installation state), but it doesn't seem
  to be true for aptitude, where the man page suggests that upgrade may change
  an unused package state from installed to not-installed:

Installed packages will not be removed unless they are unused


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



Apt-get and aptitude man pages (was "aptitude synaptic gnome to be removed?")

2005-07-03 Thread R. Clayton
  I feel like answering RTFM again, but you've been reasonable and polite. 
  Thank you for your courtesy.

  'apt-get upgrade' is restricted (and therefore safer) in that:

 under no circumstances are currently installed packages removed,

Neither the apt-get nor the aptitude man page make that distinction (which is
not to say it's wrong, just that you can't learn it by RingTFM).  The apt-get
man page distinguishes upgrade from dist-upgrade only by noting that
dist-upgrade is smarter than upgrade about resolving conflicts. It may be that
dist-upgrade smartly resolves conflicts by removing currently installed
packages, but the man page doesn't explicitly indicate that.

The aptitude man page doesn't, except for the synopsis, mention dist-upgrade at
all.

As an aside, the apt-get and aptitude man pages describe different behaviors
for upgrade.  For apt-get, upgrade has the non-removal behavior described
above.  For aptitude, the upgrade behavior is "Installed packages will not be
removed unless they are unused".

This is on a debian testing system, upgraded once a week.


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



Getting autofs to work.

2004-06-04 Thread R. Clayton
I've installed autofs 

  $ dpkg --status autofs
  Package: autofs
  Status: install ok installed
  Priority: extra
  Section: utils
  Installed-Size: 296
  Maintainer: Daniel Lutz <[EMAIL PROTECTED]>
  Version: 3.9.99-4.0.0pre10-1
  [ deleted ]

  $

on woody to mange 

  $ cat /etc/auto.master 
  /media /etc/auto.media

  $

in the /media directory

  $ ls -ld /media
  drwxr-xr-x2 root root0 Jun  5 12:22 /media

  $

a floppy and cdrom drive

  $ cat /etc/auto.media
  cdrom -fstype=iso990,ro,nodev,nosuid :/dev/hdc
  floppy -fstype=auto,sync,nodev,nosuid,umask=000 :/dev/fd0

  $ dmesg | egrep 'hdc|fd0'
  ide1: BM-DMA at 0xfc98-0xfc9f, BIOS settings: hdc:DMA, hdd:pio
  hdc: TOSHIBA CD-ROM XM-6202B, ATAPI CD/DVD-ROM drive
  hdc: ATAPI 32X CD-ROM drive, 256kB Cache
  Floppy drive(s): fd0 is 1.44M, fd1 is 1.44M

  $ 

with a timeout of 1

  $ cat /etc/default/autofs 
  TIMEOUT=1

  $ 

However, autofs doesn't seem to be working:

  $ /etc/init.d/autofs restart
  Stopping automounter: done.
  Starting automounter:  /mediadone.

  $ cd /media/cdrom
  bash: cd: /media/cdrom: No such file or directory

  $ ls /media/cdrom
  ls: /media/cdrom: No such file or directory

  $ mount /cdrom

  $ cd /cdrom

  $ ls
  a  c  pi  pr

  $ 

Assuming I didn't know what noauto meant, I commented out those entries in
/etc/fstab

  $ cat /etc/fstab
  /dev/hda3/ext3errors=remount-ro   0   1
  /dev/hda2none swapsw  0   0
  proc /procprocdefaults0   0
  #/dev/fd0/floppy  autouser,noauto 0   0
  #/dev/cdrom  /cdrom   iso9660 ro,user,noauto  0   0
  /dev/hda1/bootext2defaults0   2
  /dev/sda1/mnt/fob vfatuid=1000,gid=1000,user,noauto,noatime 0 0

  $

and autofs still doesn't work.

Any suggestions as to what might be wrong?


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



Woody install ignoring network card, fixed.

2004-05-26 Thread R. Clayton
  Andreas Janssen <[EMAIL PROTECTED]> writes:

This probably means that the installation kernel you use does not have
built-in support for the card. Select it during the module
configuration to load the driver.

That was the problem.  An exact driver for the card (3c509) was listed but
didn't exist. The driver knoppix used (3c59x) was also listed and did exist,
and worked fine.


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



Woody install ignoring network card.

2004-05-25 Thread R. Clayton
I'm trying to install woody on an old gateway with a 3com 3c905 network card.
lspci shows the card, but dmsg does not.  The install asks for a host name and
then asks for no further network configuration information.  After-install
configuration fails with either ftp or http because the hosts can't be
resolved; ifconfig shows only loopback.

Both knoppix 3.3 and freebsd 4.10 bring up the system with networking; sarge
fails because it can't find a bootable kernel, which may be because it can't
get out to the network, or because of something else.

Any clues on how to coerce woody to recognize the network?


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



Anacron vs. cron.

2004-05-01 Thread R. Clayton
I've discovered that cron.daily isn't being run (the locate database is 8 days
old (I ran updatedb manually at one point), /usr/lib/man-cb/mandb hasn't been
updated since 15 August 2003, and so on).  The command for daily in
/etc/crontab is

  test -e /usr/sbin/anacron || run-parts --verbose /etc/cron.daily

which, to my eyes, checks for /usr/sbin/anacron and, if it exists (which it
does), does nothing; it's only when /usr/sbin/anacron doesn't exist that
/etc/cron.daily runs.  Because I can't figure out how anacron gets run (there's
no crontab entry I can find), this strikes me as wrong, but maybe I just don't
understand. 

Does anybody know what the story is here and, more importantly, how I can get
daily cron jobs back (as well as weekly and monthly jobs, because their
commands are of the same form)?  Of course, I could just uninstall anacron (or
rewrite crontab), but is that recommended?  If not, what is?


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