Re: Auto-ripping music CDs

2002-05-20 Thread Cory Snavely
Looking at vold might be a place to start. I'm not sure how it would handle
audio CDs, but I bet it would know about media changes, etc.

- Original Message -
From: Andrew Pritchard [EMAIL PROTECTED]
To: Debian User List debian-user@lists.debian.org
Sent: Monday, May 20, 2002 5:26 PM
Subject: Auto-ripping music CDs


 I've been using the rather excellent abcde cd ripping software for some
time in
 one of my servers at home. I've got it setup now so that it hardly ever
 requires any intervention from a user - apart from logging in and starting
the
 script off and that's a step I'd like to get round if I can.

 I was wondering how I could get the machine to:

 1) Watch for a CD being put into the machine
 (some kind of automounting daemon I'm guessing)
 2) If it's a music CD then run abcde, and eject the cd when it's done.
 (Perhaps running abcde, and when it can't grab music from the data cd then
go
 onto item 3)
 3) Otherwise mount the cd according to /etc/fstab

 Has anyone done this, or can they suggest a possible solution. It's a
woody
 box, running a 2.4.18 kernel.

 Thanks in advance,

 Andrew

 I do not agree with what you say,
 but I will defend to the death your right to say it.
 Francois Marie Arouet Voltaire (1694-1778)


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



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



Re: URGENT md question: RAID partitions lack device nodes

2002-04-09 Thread Cory Snavely
Unless something with raidtools has drastically changed and I didn't notice,
there is no such thing as partitioning an md device. Instead, you'd
partition the disks themselves, and then create RAID 1s from those
partitions.

E.g., instead of making hda1 and hdb1 into md0 and trying to partition md0,
partition hda and hdb in identical ways and then create RAID 1s md0, md1,
md2, etc.

- Original Message -
From: Ralf G. R. Bergs [EMAIL PROTECTED]
To: Debian GNU/Linux User Mailing List debian-user@lists.debian.org
Sent: Tuesday, April 09, 2002 4:39 PM
Subject: URGENT md question: RAID partitions lack device nodes


 Hi there,

 I need to operate two disks in RAID1 mode (mirroring.)

 I've set up raidtab and constructed the raid (/dev/md0.) I've also
partitioned
 it using cfdisk:

 md0p5   Logical   Linux
100.00*
 md0p6   Logical   Linux
768.00
 md0p7   Logical   Linux
500.00
 md0p8   Logical   Linux
4000.01
 md0p9   Logical   Linux
10933.00
 md0p10  Logical   Linux
2000.13

 HOWEVER I can't mkfs the individual (pseudo) partitions because the device
nodes
 are missing, and MAKEDEV doesn't know how to create them either.

 What am I doing wrong?

 BTW, I'm running kernel 2.4.17 and Debian testing (Woody.)

 Thanks,

 Ralf


 --
 Sign the EU petition against SPAM:  L I N U X   .~.
 http://www.politik-digital.de/spam/The  Choice  /V\
 of a  GNU  /( )\
Generation  ^^-^^



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



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



Re: eepro100 with P4 (Gateway E-3600)

2002-03-07 Thread Cory Snavely
Right, I don't have the URLs handy but what you'll find looking around is
that the problem is often related to usage on 10BaseT networks. I ended up
downloading a utility to flip a few bits on the card, then the driver seems
to be OK on my 10BaseT network. Intel has information on the problem.

- Original Message -
From: Faheem Mitha [EMAIL PROTECTED]
To: Thedore Knab [EMAIL PROTECTED]
Cc: debian-user@lists.debian.org
Sent: Sunday, March 03, 2002 8:38 PM
Subject: Re: eepro100 with P4 (Gateway E-3600)




 On 3 Mar 2002, Thedore Knab wrote:

  I was wondering if anyone has Linux running on a Gateway E-3600.
 
  I recompiled the kernel with 2.4.17 and the eepro100.
 
  Are there any issues with the eepro100 and and the 2.4.17 ?
 
  During downloads, the  machine locks up tighter than a clam.
 
  This lookup occurs in and out of X, so I don't think it is an X problem.
 
  I am also using the nv frame buffer rather than the NV driver.
 
  I don't see any errors in the syslogs.
 
  Maybe I am using the wrong module.
 
  Any ideas ?
 
  Specs for Gatway E-3600:
  Pentium 4 1500Mhz
  512 MB 133 Mhz RAM
  GeForce 2 MX: 32MB NVIDIA(TM) AGP Graphics Accelerator
  40GB 7200RPM Ultra ATA100 hard drive
  Integrated Intel 10/100 (EV) Ethernet Adapter
  Integrated Sound Blaster compatible audio
  IDE 20x min./48x max. CD-ROM drive
  -
  Ted Knab

 This is a known problem with the eepro100 driver, though it doesn't have
 anything to do with 2.4.17 or the other hardware you have, I don't think.
 It seems to be a relatively kernel-independent issue. I experienced it
 myself, and you'll find extensive discussion of it, along with other
 issues, on the eepro100 mailing list.  However, I would not waste your
 time going there. Just try the Intel driver. The kernel module source is
 available as Debian package e100-source.

 I tried this with 2.4.17. Previous to this I was getting lockups around 20
 to 30 seconds into a heavy download (like apt-get does) on a reproducible,
 regular basis. After switching to e100 all problems went away.  Warning:
 the e100 driver has its own issues, so it is not certain to fix your
 problem. But certainly give it a try.

   Sincerely, Faheem Mitha.


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




Re: kernel 2.4.17...2 strange things

2002-01-31 Thread Cory Snavely
  Today i upgared from potato to woody...
  with:
  dselect update
  apt-get dist-upgrade
  (just mentioning it cause this might be the wrong way?)
 
  And i switched to a 2.4.17 kernel.
 
  Now i have 2 NICsdifferent brands...realtek and 3com.
  eth0, the realtek,  connnectiong to the net and eth1 for the LAN,
  which is a 3com ISAPNP NIC.
  Both are compiled into the kernel.
  First thing i noticed that the NICs had switchedrealtek became
  eth1 and 3com eth0grrr.
 Look at the Ethernet HOWTO, it covers assigning these. Test at boot,
 then used 'append' in LILO. The examples are kind of spread out, but
 look at the stuff for 3COM ISA cards. By default the system applies eth0
 to the first card found, so a brute-force solution is to try swapping
 the cards...
 
  The other problem is that with my previous 2.2.19 kernel the 3com
  was detected at IRQ7 and 0x300 which is what it is set to...
  (checked with the 3com utils)
 
  But with 2.4.17 it gives me IRQ12 and base 220which is the PS2 port
  IRQ...(so no mouse either)
  I checked again with the 3com utils and the card was still set to 7/300
 
  From what i can tell i did compile the kernel with all the right options
  including PNPisa.
 
  How do i solve this?
 Start by seeing if you can get the eth0/eth1 assignments back the way
 you like them. it might fix things. You didn't change any BIOS settings
 that would affect IRQ assignments, did you?

If you load the NIC drivers as modules, then how they're assigned to eth0
and eth1 should be, I think, a function of aliases in /etc/modules.conf. IOW
I literally have

alias eth0 eepro100

in my woody system's modules.conf (put there by my having a file containing
that in /etc/modutils/local and my running update-modules).

I don't see why you couldn't have

alias eth0 driver for preferred NIC for eth0
alias eth1 driver for preferred NIC for eth1

Down side is you have to maintain this. Up side is that you're in control.

  And another thing...i also noticed that on mounted vfat windows
partitions
  every file and every directory now gets marked as executable...
  Is this normal?
 The 'ls -l' output for vfat is mostly bogus, the vfat file system
 doesn't really have those properties. I wouldn't trust anything except
 for the filename  modify date.

 BTW: Because you replied to a message and changed the title when you
 started this thread, your email got buried in a different thread instead
 of starting a new one. Next time you post, just start with a new message.

 HTH, Paul
 --
 Paul Mackinney   |   Another look at Sept 11
 [EMAIL PROTECTED]   |   http://www.copvcia.com/


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




Re: Borked mouse

2002-01-31 Thread Cory Snavely
My woody workstation's (2.4.17 kernel) mouse is acting a little funky like
that--typically brought on by heavy CPU load (from casual observation).

/etc/init.d/gpm stop
/etc/init.d/gpm start

will always resolve it, but I'm hoping I'll see a new gpm deb come over
pretty soon--hearing other people's experiences makes me suspect something
there.

- Original Message -
From: Kent West [EMAIL PROTECTED]
To: Ross Vandegrift [EMAIL PROTECTED]
Cc: debian-user@lists.debian.org
Sent: Tuesday, January 22, 2002 3:26 PM
Subject: Re: Borked mouse


 Ross Vandegrift wrote:

  Hello all,
 
  I've got a big problem with my mouse on a Debian testing box.  I began
  building up the box last Thursday for Friday and everything was going
smoothly,
  including the mouse.  Today, I power up the machine (untouched since
Friday) and
  bam, I've got no mouse action.  Swapping the mouse, mobo header, kernel
version,
  and gpm version all come out to have these effects:
 
  1) 'cat /dev/psaux' and move mouse prints garbage like it should
  2) 'gpm -m /dev/psaux -t ps2'  gives nothing.
  3) A custom compiled gpm works like a charm with the above command line.
 
  Bug in the gpm deb?
 
  Ross Vandegrift
  [EMAIL PROTECTED]
 
 
 

 I noticed late last week that a newly built Sid box had trouble with the
 mouse. Running /etc/init.d/gpm once (like during the boot process) left
 the mouse dead; running it a second time brought the mouse to life. I
 didn't bother trying to track down the problem. I just decided to run
 gpm twice in a row to get by until the (presumed) bug was fixed.

 Kent



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




Re: Linux RAM drive support/performance

2001-11-07 Thread Cory Snavely
Sure, I just happened across some at

http://www.cdw.com/shop/search/results.asp?FilteredGroup=HSO

but can't claim any experience with any of the hardware.

Have fun!

 Cory,

  I saw them for $2K for 2 GB which is 3-4x the cost of the memory. I'm
not
  sure how the performance would compare versus the virtual
  approach like you
  say--it is a little hard to believe it would justify the cost
  just on that.

 I have hunted all over for an actual RAM based drive in this price range.
 Any chance you remember where you found this drive?

 Thanks,
 Paul




Re: Linux RAM drive support/performance

2001-11-04 Thread Cory Snavely
  If that's not the problem and you just really have an incredibly
  disk-intensive application, you might consider a solid state disk if
it's
  really that important. You can buy them with IDE or SCSI
  interface, so they
  look and act like regular hard drives.

 This is a very good idea except for cost.  Have you seen the price of
solid
 state disks?  The cheapest ones I've seen are over $50K.  Do you know of
any
 cheaper ones?  The new motherboards will probably be able to support more
 than 4GB leaving room for a cheap virtual solid state drive...

I saw them for $2K for 2 GB which is 3-4x the cost of the memory. I'm not
sure how the performance would compare versus the virtual approach like you
say--it is a little hard to believe it would justify the cost just on that.
However there would be other benefits to having it in hardware. For example
I'd love to see a server boot off one. 8)




Re: Linux RAM drive support/performance

2001-10-25 Thread Cory Snavely
You mention heavy activity and drive fatigue--is your system thrashing?
Maybe it doesn't have enough physical memory to begin with.

If that's not the problem and you just really have an incredibly
disk-intensive application, you might consider a solid state disk if it's
really that important. You can buy them with IDE or SCSI interface, so they
look and act like regular hard drives.

 Does Linux support any RAM drive(s)?  How much faster are these drives
over
 an attached drive?  Is there a CPU performance penalty?

 We would like to replace our mechanical drive with a small (4GB) RAM
drive.
 The mechanical drive is getting pounded 24 hours a day.  In addition to
 fatigue, the extra performance would be nice.

 Is it true the x86 architecture is limited to 32 bit addressing and will
 never support more than 4GB of address space?  Trying to see what the
 limitation will be.

 I know this is a lot of questions.  As always, any help is appreciated.

 Regards,

 Paul




Re: What's the reasonable time to mirror a hard disk?

2001-10-22 Thread Cory Snavely
It's possible you might actually want a software RAID 1, which would keep
the partitions duplicated in real time, and if one fails, the file system
would still be usable. Of course the partitions are not really meant to be
mounted directly--they're meant to be treated as a single RAID unit.

Maybe that's not what you meant at all. If you really do want to dd one
partition to the other, I think it couldn't hurt to increase dd's block size
a little more. Why use a spoon when you can use a shovel?

- Original Message -
From: Yuwen Dai [EMAIL PROTECTED]
To: debian-user@lists.debian.org
Sent: Sunday, October 21, 2001 11:44 PM
Subject: What's the reasonable time to mirror a hard disk?


 Hi, All

 I have two identical hard disk linked with one cable.  The capacity of
each
 disk is 40G.  I want to have the second disk be the mirror of the first
disk
 by using this command:

   dd if=/dev/hda of=/dev/hdb bs=32k

 Nearly 2 hours passed, dd still hadn't finished.  I had to press 'Ctrl-C'
to
 stop it.  Is this the right way to mirror a disk?  Or is there some better
 way to do this?  Thanks in advance.

 Best regards,
 Dai Yuwen



 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


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




Re: Mixed up RAID-0 arrayt

2001-10-12 Thread Cory Snavely
*Is* a drive actually missing? Can fdisk see partition tables on all
your stripes? If you really lost one of your stripes, then by the laws
of RAID 0 you just lost your whole set. I only use RAID 0 on expendable
stuff.

BTW, it's been my experience that if there are persistent superblocks
present, /etc/raidtab changes won't have any effect.

Failure wrote:
 
 Well, I wasn't as careful as I should have been (read: no backups of old 
 config
 files for reference) out of habit, and it's finally got me into big trouble.
 I have a four disk RAID-0 array holding a couple years worth of /home and also
 backups of /var and /mp3 (which are both gone from elsewhere).
 
 I've tried a few things like rearranging /etc/raidtab to the way I think it 
 may
 be since the drive numbers have changed, and running raidstart /dev/md/0, but
 it tells me the drives are out of order and a drive is missing.  The array
 is set up with persistent superblocks so before I screwed it up it was
 autodetected at startup.  The box is running 2.4.7 with an unstable build of
 raidtools2 (I think) from source a few months back.
 
 I obviously don't fully understand what I'm doing, can somebody help me out
 with getting the array back in order?  I haven't touched the drives 
 themselves,
 and they were properly unmounted before I mixed them up, so everything else
 should be fine.
 --
 Andrew W. [EMAIL PROTECTED] -- http://failsure.net/
 http://home.cwru.edu/~agw4/ -- Debian GNU/Linux
 Georgia State U. CS/Networking UG -- VW bus driver
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: swapon and raid systems

2001-08-25 Thread Cory Snavely
 I have a couple of systems that use kernel RAIDs (specifically,
 mirrors).  The systems also have regular (non-mirrored) partitions for
 swap. When the systems boot, the swap partitions don't get installed. I
 have isolated it to the fact that the boot scripts first grep for
 resync in /proc/mdstat, and only run swapon if the grep fails (i.e,
 there's no resync string in /proc/mdstat).

Which boot script is that? I can understand the logic of not wanting to swap
on an md device that's getting a RAID resync, but it surprises me that even
non-mirrored swap would be passed over as well.

 Unfortunately, it appears that at boot time, these systems *always* have
 resync in mdstat, because swap never seems to be added after a
 reboot. Which leads to some questions:

 1. what is the purpose of this check?
 2. is it normal for my raids to always be resyncing at boot (*)?
 3. suggestions for a good (maintainable) approach to ensuring that my
non-RAID swap partitions always get enabled at boot?

 (*) Thinking back, I think that all of the reboots on these systems have
 been due to abnormal causes (i.e., a power failure yesterday), so
 maybe resyncing is normal after unplanned reboots?

All of my raidtools experience is with RedHat, but if you watch a graceful
shutdown closely, the last thing the kernel should do is mark each RAID
member's superblock with a clean flag. Then that's used when the device is
raidstarted again. If all members are clean, then no resync is needed;
otherwise, generally it is. I'm reasonably sure that's what forcing your
resyncs at boot.

I'd recommend watching a few graceful reboots closely to see exactly what's
happening with the resyncs and with the swap activation.




Re: FW: OT : GUI Interfaces

2001-04-13 Thread Cory Snavely
Not sure why this Karsten Self person is being so hard on you. I encourage
you to patiently and humbly persist and suggest we both ignore the whining
noise. 8)

Anyway, I think you'll find in researching this that in a very superficial
sense Linux + X is analagous (although *not* equivalent) to DOS + Windows.
However with the further abstraction X provides of the window manager layer
versus the underlying window management system, you as a user have much more
freedom and flexibility. I use Enlightenment as a window manager. Other
people use other window managers they like. We are all running X underneath.
Windows has no notion of this, as everything is all rolled into one. No
choices, no flexibility, no true customization.

It is true that X is not lightweight. I'm not aware of a window environment
that is. You gotta have a lot of stuff in there. I do feel that X is more
lightweight than Windows 2000, FWIW. And like folks have said, it's
extremely powerful and flexible, which implies complexity.

Now, if you're looking for something truly lightweight, I would consider
curses-based text mode. You can't get much more lightweight than that, and
you can still create what could be considered GUI, it'd be mouse-driven, and
it'd run snappily on just about anything.

This is of course another strength of a Linux environment. Don't want a
full-blown window system? Fine--don't run one. *You* put the pieces together
depending on what you need.

You may be interested in
http://packages.debian.org/stable/base/libncurses5.html ,
http://packages.debian.org/stable/libs/libcurses-perl.html ,
http://packages.debian.org/stable/libs/perlmenu.html . If you do decide to
go the X route, Tcl/Tk is extremely cool and so is the Tk family of modules
for Perl, although I wouldn't necessarily characterize the latter as
lightweight.

- Original Message -
From: Joris Lambrecht [EMAIL PROTECTED]
To: 'Karsten M. Self' kmself@ix.netcom.com;
debian-user@lists.debian.org
Sent: Thursday, April 12, 2001 4:24 AM
Subject: RE: FW: OT : GUI Interfaces


 Thanks, i'll look into that so i won't be the dumb ass i'm now

 -Original Message-
 From: Karsten M. Self [mailto:[EMAIL PROTECTED]
 Sent: donderdag 12 april 2001 1:44
 To: 'debian-user@lists.debian.org'
 Subject: Re: FW: OT : GUI Interfaces


 on Wed, Apr 11, 2001 at 05:05:21PM +0200, Joris Lambrecht
 ([EMAIL PROTECTED]) wrote:
 
  hmmm, i don't think you're missing anything, X does indeed provide a
  graphicall shell to run a gui on, i'll have to rephrase my question
  to, does anyone know a GOOD desktop that doesn't weigh a TON on an
  older system. Or more precisely, an environment where you don't have
  to manually configure your menu's, that's a plus in the windows os
  desktop you know
 
  maybe i just need a good read on X and gui's ? any resource would be
  welcome ...

 Debian configures most menus for you.

 WindowMaker, my preference.  Gratuitous screenshots at
 http://kmself.home.netcom.com/Images/Desktop/  It's running very happily
 on my PPro 180MHz/256MB system (at 96MB until November 2000).

 Other good middlin' options include BlackBox, SawFish (formerly
 SawMill).  Purists often tend toward fvwm2.

 There's a good overview of window managers at the Window Managers for X
 page:  http://www.plig.org/xwinman/

 --
 Karsten M. Self kmself@ix.netcom.comhttp://kmself.home.netcom.com/
  What part of Gestalt don't you understand?   There is no K5 cabal
   http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org


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




Re: installing win98 after everthing else....

2001-03-11 Thread Cory Snavely
I can answer part of this.

I haven't done anything quite so complex as that, but I did use Linux fdisk
to partition my disk like I wanted it, then installed Windows 98, let it
have its way with my MBR, *then* installed Debian and let LILO lay down a
nice new MBR that boots to my Windows 98 FAT32 partition, which I think is
/dev/hda2.  That partition is a primary that's not at the start of the disk,
but being ignorant of all things non-Micro$oft, Windows just sees it as C:
and is completely satisfied with that. DOS fdisk is a little confused by the
setup but deals with it--I can't quite remember--however there's no way you
get partition a disk like I have with DOS fdisk; it's just not flexible
enough.

In your case, I think you should be fine pulling the master, reconfiguring
your partition as FAT32, and installing Windows 98 there, and (I guess) who
cares about the MBR on what will be the slave. Once you put back in the
master, you won't even have to boot from a floppy to change your MBR, as
your master's MBR will have been safe and sound sitting on your desk. 8)

However, I'm not sure how Windows 98 will react when that master is back in
there and drive letters may or may not be remapped. I guess you might try
just real quickly setting up the new partition, booting DOS and formatting
it with /s (being careful to figure out what partition is what!), then set
up LILO and try to boot it, then see how all the drives map. If that boot
drive maps to C:, like it will when the slave is temporarily the master,
then I bet you'll be OK. If not, it may take more thinking.

- Original Message -
From: rich [EMAIL PROTECTED]
To: Debian debian-user@lists.debian.org
Sent: Saturday, March 10, 2001 10:16 PM
Subject: installing win98 after everthing else


 Howdy all,

 I've got a tri-boot box - linux, win95 and freebsd... I would like to
 install win98 and eventually erase win95. I have 2 hard drives
 configured as follows:

 master:
 /dev/hda1 win95
 /dev/hda2 freebsd
 /dev/hda3 debian root
 /dev/hda4 debian swap

 slave:
 /dev/hdb1 extra ext2 primary
 /dev/hdb2 another ext2 primary
 /dev/hdb3 vfat primary
 /dev/hdb5 vfat logical
 /dev/hdb6 vfat logical
 /dev/hdb7 ext2 (/usr) logical
 /dev/hdb8 vfat logical
 /dev/hdb9 vfat logical
 /dev/hdb10 vfat logical

 What I want to do is change /dev/hdb1 to vfat, unplug my master,
 configure my slave as master temporarily, install Win98 on /dev/hdb1,
 then reassign original master / slave, put Win98 in Lilo and have a
 quad boot box for awhile whilst I get stuff tranferred from win95 to
 win98... my question is, will win98 allow itself to be installed on a
 partition of my choosing, or will it just erase everything and install
 itself wherever it wants?

 Thanks in advance,

 Rich


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




Re: potato-woody upgrade story, saga, nightmare

2001-03-10 Thread Cory Snavely
Bill, since my similar experience, I've seen plenty of other posts about the
same thing. Thanks go to Joey for responding, although I agree that his
answer is a little terse. What I take from it is that 1) that's what
unstable is all about--needing to be prepared for some weirdness here and
there, and 2) this is bug-related, i.e., the procedure you followed was
correct, and the bug bit you, and getting out of it gracefully is purely a
function of your experience and instinct with apt/dselect.

However--and this is my main point--I, and I'm guessing plenty of others
like me who feel like we're seasoned enough to start running unstable but
got bit by this sort of problem, really would like to hear from some folks
who have done recent upgrades to woody and had to resolve this stickiness. I
certainly don't have any problem with learning by jumping in feet
first--probably wouldn't be here if I didn't--but this one seems tough
enough, confirmed by several others, that I think it would be really helpful
if someone out there more experienced can tell us if there's really a
systemic problem, if there was an easy way around, or if we just ignorantly
did something wrong. 8)

I'm certainly not upset about this. After reinstalling my system I set up
LILO again to boot my NT partition, and it still looked as heinous as it
ever has. 8) The best things in life are free, eh?

TIA!


 Joey Hess [EMAIL PROTECTED] writes:
  Bill Wohler wrote:
  So file some bug reports, that's what the debian bug tracking system is
  for, and that's what testing is for too -- so people can test it and
  tell us what's broken/

   Hey Joey, where I could identify the package, I have done so.
   Unfortunately, in the case of the dependencies, I'm just so
   overwhelmed that I have absolutely no idea how to identify which
   packages have problems.

   Are there any tools that allow you to answer the question: Why did
   the update of these 100 packages cause these 30 perfectly good
   packages to get removed? This task is impossible to do by hand.

   Because so many X packages were affected, and because the debs were
   just plain GONE from woody, I suspect a problem with the process
   that migrates packages to woody. There's no package per se to
   report problems with that, is there? Hence my message to debian-user
   to alert the caretaker of the big woody that something was afoot at
   the Circle-K.

   (in cleanup) Can't call method DESTROY on an undefined value
at /usr/lib/perl5/Debian/DebConf/Question.pm line 251 during global
destruction.
   (in cleanup) Can't call method close on an undefined value
at /usr/lib/perl5/Debian/DebConf/ConfModule.pm line 476 during global
destruction.
 
  Don't bother filing a bug on this though, it's totally innocuous and
  fixed in unstable.

   Thanks for letting me know. That was in debconf?

 --
 Bill Wohler [EMAIL PROTECTED]  http://www.newt.com/wohler/  GnuPG
ID:610BD9AD
 Maintainer of comp.mail.mh FAQ and mh-e. Vote Libertarian!
 If you're passed on the right, you're in the wrong lane.


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




Re: apt-get dist-upgrade broke on testing

2001-03-05 Thread Cory Snavely
Yes, that's *exactly* what happened to me, dist-upgrading from a slink
install with a stock 2.0.36 kernel.

I ended up doing a fresh install from my potato CD just because things got
pretty messy. Clearly it's not supposed to work that way, but I'm not sure
what went wrong specifically.

This was on a Dell desktop with nothing exotic going on.

I can't help thinking my ancient kernel wasn't helping any, but it didn't
seem to be implicated in any of the error messages. Besides, I did the same
thing with a 2.0.36 kernel at home. By the end I was using dselect which
seems to be incredibly wise about how to get from A to B, but it just got
worse and worse.

So now I have mostly stable with various things from woody or sid (like
openssh).

If you find out anything I'd sure like to know. In the rebuild I got gnome
working so I'm pretty happy. Still easier than any windows reinstall I've
ever done!

- Original Message -
From: Danie Roux [EMAIL PROTECTED]
To: debian-user debian-user@lists.debian.org
Sent: Monday, March 05, 2001 5:30 AM
Subject: apt-get dist-upgrade broke on testing


 Testing breaks. But this is the first time it happened to me :-(

 Anyway here's the error:

 Use of uninitialized value at /usr/lib/perl5/Debian/DebConf/ConfigDb.pm
 line 38, GEN60 chunk 43.
 Use of uninitialized value at
 /usr/lib/perl5/Debian/DebConf/ConfModule.pm line 152, GEN60 chunk 43.
 Use of uninitialized value at /usr/lib/perl5/Debian/DebConf/ConfigDb.pm
 line 38, GEN60 chunk 46.
 Use of uninitialized value at
 /usr/lib/perl5/Debian/DebConf/ConfModule.pm line 152, GEN60 chunk 46.
 (Reading database ... 48062 files and directories currently installed.)
 Preparing to replace xbase-clients 3.3.6-11potato15 (using
 .../xbase-clients_4.0.2-1_i386.deb) ...
 Unpacking replacement xbase-clients ...
 dpkg: error processing
 /var/cache/apt/archives/xbase-clients_4.0.2-1_i386.deb (--unpack):
  trying to overwrite `/usr/X11R6/bin/xf86config', which is also in
 package xserver-common
 dpkg-deb: subprocess paste killed by signal (Broken pipe)
 Errors were encountered while processing:
  /var/cache/apt/archives/xbase-clients_4.0.2-1_i386.deb
 E: Sub-process /usr/bin/dpkg returned an error code (1)

 So where to now?

 Thanks!

 Danie.




Re: kill: cannot kill some processes

2001-03-04 Thread Cory Snavely
 On Sat, Mar 03, 2001 at 08:52:36AM -0500, Cory Snavely wrote:
  Right now on a big Solaris machine of mine I have about a dozen zombied
  Perls--parent process (Apache) long gone, and when I -9ed them, their
PPIDs
  became 1 (init). Classic zombie.

 Hrrrm?  Not quite.  Init eventually inherits zombie children (when the
 parent dies), but init reaps the dead children.  Perhaps your children
 aren't dead?

Brian, you're right. Now that I look more closely, they're in sleep state.
If I just knew why...

  Problem is, these Perls are running scripts off a software RAID, and
thus
  have it locked. This happened before--when I reboot the server to get
rid of
  the zombies, or some other reason, the filesystem won't unmount, won't
get a
  clean flag, and therefore will force fsck on reboot. As it's over 100GB,
a
  full fsck takes several hours.
 
  Now maybe there's something I don't know to recover from this cleanly,
or
  maybe Linux handles it a different way, but it seems like this is an
example
  of zombies causing a real problem. If anyone knows a way around it, I'd
be
  real grateful!

 Doesn't sound like a zombie to me.  A zombie has -no- open files and goes
 away as soon as init inherits it.  A zombie is in state 'Z' on ps.

 What you describe sounds more like something in state 'D', which is
 waiting for IO to complete.  (This can happen on NFS when things break in
 just the wrong way for some reason.)  They're not zombies because they're
 not dead yet (they need to release their files before they are really
 dead).

 For processes stuck in a 'D' state, there is very little you can do about
 them.  You may be able to sneak out of re-fscking by remounting the drive
 read-only before rebooting, though.

Yeah, that's what I was thinking. Thanks.





Re: kill: cannot kill some processes

2001-03-03 Thread Cory Snavely
  One thing about zombie process: Don't worry about trying to make them
go
  away.  They don't consume any CPU time, or any other resources other
than
  the slot in the process table and the less than 1K of memory required to
  hold their state information.  They are not worth worrying about.

 Not entirely true.  Init can inherit enough zombie processes that it
 hits its process limit (1024, if I remember correctly).  Can you
 'shutdown'?  Nope.  Not unless you can free up a slot.  And if
 something's going haywire and spawning zombies quickly, this can be a
 problem.

 Not a common occurance, though...

Seconded, although for a different reason and based on an experience on
Solaris.

Right now on a big Solaris machine of mine I have about a dozen zombied
Perls--parent process (Apache) long gone, and when I -9ed them, their PPIDs
became 1 (init). Classic zombie.

Problem is, these Perls are running scripts off a software RAID, and thus
have it locked. This happened before--when I reboot the server to get rid of
the zombies, or some other reason, the filesystem won't unmount, won't get a
clean flag, and therefore will force fsck on reboot. As it's over 100GB, a
full fsck takes several hours.

Now maybe there's something I don't know to recover from this cleanly, or
maybe Linux handles it a different way, but it seems like this is an example
of zombies causing a real problem. If anyone knows a way around it, I'd be
real grateful!

c




slink - woody dist-upgrade bit me hard

2001-03-01 Thread Cory Snavely
Confident from my first slink - potato dist-upgrade, I attempted slink -
woody and pretty much hosed my installation. I've saved files and am doing a
CD install of potato.

The nature of the failure was surrounding woody's xbase-clients, which
wouldn't upgrade due to a conflict w/ xserver-common and introduced a
growing set of unconfigurable packages as I pushed forth in a sort of
brute-force manner.

As I'm still learning the dist-upgrade process, and in particular the
problem resolution one does there, I see this as a learning opportunity
(after a pint of cider last night and sleeping on it 8).

What I'd like to know is if I did something wrong in skipping a release with
my dist-upgrade (slink - woody) or if the thing that bit me would have bit
anyone dist-upgrading to woody at the time I did. Does that make sense?

If anyone has similar experiences to share, that would be welcome. I remain
in awe and appreciation of dist-upgrade, but after one going well and one
going sour I'm still a little afraid of it!

thx,
c




Re: copying a file system across the network

2001-01-02 Thread Cory Snavely
I always use

srchost% cd /srcdir
srchost% tar cf - . | ssh desthost cd /destdir; tar xBf -

- Original Message -
From: Lindsay Allen [EMAIL PROTECTED]
To: debian-user@lists.debian.org
Sent: Tuesday, January 02, 2001 5:10 AM
Subject: copying a file system across the network



 Past messages have detailed how to copy a file system from one drive to
 another, but now I need to do it across the network.  Of course I need to
 preserve soft and hard links and device files.

 I do have a tape device here, but at 525Mb it's nowhere near big enough
 for the job.  I have ssh but not rsh.

 Is there a straight-forward way of doing this?  Thanks for any pointers.

 Lindsay

 --

 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Lindsay Allen   [EMAIL PROTECTED]Perth, Western Australia
 voice +61 8 9316 2486, 0403 272 564   32.0125S 115.8445E   Debian Linux
 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


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




Re: recommend a secure shell client for Windows

2000-11-30 Thread Cory Snavely
I'll second that. I tried putty and ttssh both and came away with ttssh.
ttssh does port forwarding, which is very convenient for X, ftp, etc.

- Original Message -
From: Slin Lee [EMAIL PROTECTED]
To: Silver [EMAIL PROTECTED]; debian-user@lists.debian.org
Sent: Thursday, November 30, 2000 7:47 AM
Subject: Re: recommend a secure shell client for Windows


 terraterm with the SSH plugin works very well with exceed.

 Slin


 - Original Message -
 From: Silver [EMAIL PROTECTED]
 To: debian-user@lists.debian.org
 Sent: Thursday, November 30, 2000 8:09 PM
 Subject: Re: recommend a secure shell client for Windows


  Ok, everyone is saying putty is working fine...
  I use SecureCRT (http://www.vandyke.com)
  which does also nice linux handling with a color terminal and stuff.
 
  Silver
 
  - Original Message -
  From: Harry Henry Gebel [EMAIL PROTECTED]
  To: debian-user@lists.debian.org
  Sent: Thursday, November 30, 2000 11:27 AM
  Subject: recommend a secure shell client for Windows
 
 
   A friend of mine wants me to set up an account for him on our server,
 and
   since I do not allow telnet logins he needs a Windows SSH client. I
  checked
   around and there are quite a number of them out there, can anybody
   recommend which is the best? I do not have a Windows machine to test
 them
   out on, but I figured this must be a pretty common problem so somebody
  must
   have a good idea of which one is the best. Once he has attained
   proficiency on the command line I want him to be able to use X, so it
  would
   be nice if it is a client that supports port forwarding (of course at
 that
   point I will have to find a Windows X server for him, but that is a
  problem
   I'll deal with when it comes up, maybe by then he'll be willing to put
   Linux on one of his machines.)
  
   --
   Harry Henry Gebel, ICQ# 76308382
   West Dover Hundred, Delaware
 
 
 
  --
  To UNSUBSCRIBE, email to [EMAIL PROTECTED]
  with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
 
  
  Get your FREE personal .com domain name and
  NAMEzero Personal Portal at: http://www.namezero.com.
  For customer service, mailto:[EMAIL PROTECTED]
 
 


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




Re: Postscript printers

2000-11-15 Thread Cory Snavely
When I researched all this several years ago, I found it's not HP's
development, it's a PostScript interpreter/raster image processor (RIP)
that's OEMed from a company that used to be named Xionics and appears to now
be named Oak Technology Products (www.oaktech.com). On their web site you
can see they sell this type of technology and have suggestive reference to
the HP product line, but neither they nor HP come right out and say it.

In the publishing world there are a variety of PostScript RIPs but in the
consumer electronics market the only ones that seem popular are Adobe and
Xionics (or now Oak, apparently).

In my experience working at a typesetting company, we had generally better
experience with the Xionics RIP than the Adobe. True, compatibility is an
issue but unless you are doing truly funky things with fonts (like making
your own) or need strict adherence to Adobe specifications for things like
screening, you'll not be at much risk. In particular, performance and
throughput were better in the QMS printers we loved dearly.

As far as using ghostscript to RIP PostScript to raster PCL, that's going to
be a waste of your computer's CPU and just increase the amount of data that
has to be delivered to the printer. PostScript is extremely efficient and
you're better off, if you want to print PostScript, to let the printer do
the work. Note I'm not saying anything about cost/benefit here. I prefer
PostScript because of its robustness. That's an opinion, others may prefer
PCL on the same merit, but I'm not aiming to start a flame war on that
topic.

 I remember reading that in the past 2-3 years, HP switched from true
 Adobe Postscript to an inhouse Postscript emulation. I have an HP
 Laserjet 4MPlus which has a Postscript SIMM that has Adobe Postscript
 trademarks printed right on it (and the manual states that it's
 Postscript is licensed from Adobe) and that's from maybe 4 years ago.

 All Apple Laser Printers are (or at least used to be) Postscript and I
 would imagine that they might still use true Adobe Postscript.
 However, the truth is that HP has so much of the laser market, I'd be
 quite surprised if their Postscript emulation was not extremely
 competitive with Adobe's own product, but then again, stranger things
 have happened.

 HTH,

 Daniel


 Dave wrote:
  It seems like its getting hard to find a true Postscript printer -
  either Adobe has gotten too expensive for the manufacturers to license
  it, or the consumer market has given up on Postscript. The last
  Postscript printer I bought was an expensive Tektronix.
  - Dave Felt
 
  S.Salman Ahmed wrote:
BN == Bob Nielsen [EMAIL PROTECTED] writes:
   BN  It depends on what you mean by true postscript.  Yes, the
   BN 2100M is a PostScript printer, but uses a HP-developed
emulation
   BN rather than Adobe firmware.
   BN
  
   And a printer that uses Adobe firmware would likely be more expensive
   than one that uses some type of emulation ?
   Salman Ahmed
   ssahmed AT pathcom DOT com


 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] 
/dev/null




Re: PCMCIA serial/modem problem

2000-11-09 Thread Cory Snavely
I may be all wet here, but are you sure it's ttyS1? If your laptop is
like mine, it probably has onboard serial that forces your PCMCIA modem
up to ttyS3. In fact, cardmgr is smart enough to symlink /dev/modem to
it for me, and un-symlink it when I pop the card out--really slick--I
always use /dev/modem.

Oliver Elphick wrote:
 
 I am trying to use a modem PCMCIA card with a laptop.  The card is
 registered and configured, but the chosen interrupt (IRQ 3) does
 not appear in /proc/interrupts; I think this is the reason why I
 cannot access the card.  It is impossible to open it either for
 reading or for writing.  I have checked the permissions on the device
 /dev/ttyS1 and checked that its major and minor numbers are correct.
 
 (This card has worked on this laptop in the past, though with a different
 kernel version.)
 
 Can anyone suggest what to do to make this work, please?
 
 kernel: 2.2.15
 Card: SmartLink PCMCIA Fax modem from Archtek Telecom
 
 Socket 0:
   product info: CIRRUS LOGIC 56K  MODEM, CL-MD56XX, 5.41
   manfid: 0x014e, 0x0088
   function: 2 (serial)
 
 rover:/home/olly# cardctl config
 Socket 0:
   Vcc 5.0V  Vpp1 0.0V  Vpp2 0.0V
   interface type is memory and I/O
   irq 3 [exclusive] [level]
   Speaker output is enabled
   function 0:
 config base 0x0100
   option 0x60 status 0x08 ext 0x00
 io 0x13f8-0x13ff [8bit]
 
 rover:/home/olly# setserial -a /dev/ttyS1
 /dev/ttyS1, Line 1, UART: 16550A, Port: 0x13f8, IRQ: 3
 Baud_base: 115200, close_delay: 50, divisor: 0
 closing_wait: 3000
 Flags: spd_normal skip_test
 
 rover:/home/olly# cat /proc/interrupts
CPU0
   0:7599348  XT-PIC  timer
   1:   4220  XT-PIC  keyboard
   2:  0  XT-PIC  cascade
   8:  1  XT-PIC  rtc
  12:   3692  XT-PIC  PS/2 Mouse
  13:  0  XT-PIC  fpu
  14: 308980  XT-PIC  ide0
  15: 27  XT-PIC  ide1
 NMI:  0
 
 rover:/home/olly# cat /proc/ioports
 -001f : dma1
 0020-003f : pic1
 0040-005f : timer
 0060-006f : keyboard
 0070-007f : rtc
 0080-008f : dma page reg
 00a0-00bf : pic2
 00c0-00df : dma2
 00f0-00ff : fpu
 0170-0177 : ide1
 01f0-01f7 : ide0
 0376-0376 : ide1
 0378-037a : parport0
 03c0-03df : vga+
 03f6-03f6 : ide0
 03f8-03ff : serial(set)
 13f8-13ff : serial_cs
 4000-4007 : ide0
 4008-400f : ide1
 
 rover:/home/olly# cu -l ttyS1
 cu: open (/dev/ttyS1): No such device
 cu: open (/dev/ttyS1): No such device
 cu: ttyS1: Line in use
 
 --
 Oliver Elphick[EMAIL PROTECTED]
 Isle of Wight  http://www.lfix.co.uk/oliver
 PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
 GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
  
  Lo, children are an heritage of the LORD; and the
   fruit of the womb is his reward.Psalms 127:3
 
 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null



Re: Debian on Ultra 5 helppp

2000-11-06 Thread Cory Snavely



I would try a

 setenv boot-device disk

at the ok (PROM) prompt, then

 reset

and it should boot from SCSI id 0.

  - Original Message - 
  From: 
  Mario 
  Zuppini 
  To: debian-user@lists.debian.org 
  Sent: Sunday, October 22, 2000 10:48 
  PM
  Subject: Debian on Ultra 5 helppp
  
  When i say boot from harddisk and then it prompts 
  you to reboot the ultra and remove floppy disks, i get the following 
  error.
  
  
  Rebooting with command: boot
  boot device: disk:a File and Args
  Memory Address Not Aligned
  ok
  
  that is the above error that leaves me at the ok prompt, i dont know what 
  to do from there or how to fix, does anyone have any ideas ?
  


Re: Software-RAID and partitioning

2000-10-14 Thread Cory Snavely
 Christian Pernegger wrote:
 
  I have 3 18GB SCSI disks I want to use in a new-style Soft-RAID-5
  configuration. At the moment I have
 
  1. partitionsd.4swap
  2. partitionsd.3ext2(for squid)
  3. partitionsd.1raid-auto
 
  This of course means I have to have the whole md device under one
  mountpoint (the directories under which are the targets of symlinks
under / .)
 
  I'd rather be able to have a real seperate partition on the array for at
least
  /home.
 
  Is it feasible to split the raid partitions (sd.1) on the disks and
create an
  md0 and an md1, or does this hamper performance?
 
  Thanks
 
  Christian
 
  --
  Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] 
/dev/null

Mike Fedyk wrote:

 I'm looking into making a raid setup also, and I'm not familiar with the
 new-style you're talking about.

 You would have to resize all of the partitions on each drive.

 I'm not too familiar with Raid5.  Does the parity partition have to be the
same
 size as the data partitions?

In my experience with software RAID (on Solaris with Solstice DiskSuite),
partitions need to be the same size (and *geometry*:
cylinders/heads/sectors) for each RAID slice. Remember, in *any* redundant
RAID level (1 and higher), there has to be parity for each bit. So therefore
one can reasonably conclude the partitions must be exactly the same size.

Now, one doesn't have to use the whole drive for a RAID 5 partition. You
could partition each of those 18 GB drives in half, say, and RAID 5 the
first half across the three for a 18 / 2 * (3 - 1) = 18 GB RAID 5. Then use
the leftover 3 partitions for straight filesystems. Or mirror two of them
with RAID 1, or stripe two of them with RAID 0, etc...

Clearly, it can get a little academic with these configurations. I'm not
sure what the performance impact is of having one or more partitions on a
drive devoted to RAID while having one or more just normal. Anymore, if I
want large filesystems, I tend to simplify my life and use each whole drive
in my RAID 0 or 5.




Re: Bring Out Yer' Dead... Dead Sparcs That Is.

2000-10-14 Thread Cory Snavely
Check your keyboard connections, both at the motherboard and at the
keyboard. If the keyboard is connected, you should hear a beep (from the
keyboard) at power-on.

It is possible that's what's causing it not to boot is that it's in diag
mode. Without console output from the PROM, you're not going to be able to
determine that or change it.

If your keyboard connections can't be fixed, and you really can't find
another type-4 or type-5 keyboard, then you may want to unplug that entirely
and go with the serial port. If you can get the PROM prompt, and if my guess
is correct that it's in diag mode, then the commands you want are

  setenv diag-mode? false
  reset

Good luck!

p.s. I don't want to go on the cart!




Re: Linux Mail Client (was: Re: Web browsers for Linux (was: Re: Netscape Bus Error))

2000-08-23 Thread Cory Snavely
Steve Lamb wrote:
 
 On Tue, Aug 22, 2000 at 12:02:00PM -0500, Mark Schiltz wrote:
 
  After hashing through all your comments, I believe I know what you want.
 
  An email client that has a folder for [EMAIL PROTECTED]  [EMAIL PROTECTED],
  etc. (but dosn't call it a folder) with sub-folders for inbox,outbox,etc. 
  (its
  ok to call these folders) for each of the above non-folders. Does that about
  sum it up?
 
 Yes, completely separate mail accounts.  That is exactly it.  My apologies
 if I was too vague in my descriptions.

If that's the case, how far is Netscape Communicator from doing what you
want (using IMAP)? Have as many IMAP accounts as you want (Netscape
doesn't seem to consider them folders), plus a folder structure for
each, distinct Inboxes and Trash, plus a local folder structure in case
you want that.



Re:

2000-07-26 Thread Cory Snavely
When X (and xdm) starts, you can still get to the virtual consoles by
hitting Ctrl-Alt-F1 through Ctrl-Alt-F6 (depending on which console you
want). To get back to X, go to the seventh virtual console by hitting
Ctrl-Alt-F7 (or just Alt-F7).

 Patrick J Draper wrote:
 
 How do I stop my Debian 2.1 machine kicking straight into X windows or
 how do I get out once it has.
 
 I'm having problems and wish to boot to the command line.



Re: Laptop email

2000-07-14 Thread Cory Snavely
Wow, yeah, that would work. Good job!

I wanted to avoid building the whole thing myself, you see.

In the Windows 98 build you actually do a File-Offline-something or
other that lets you read (and browse) in an offline mode. It uses the
IMAP cache and the browser cache to do this. Probably it's mainly just
the flick of a switch in the code, really, when you consider both caches
are already there. This menu option isn't present in the potato build,
nor any other UNIX build I've ever seen, for that matter.

I think folks used to assume anything running UNIX was full-time
networked. Just ain't so anymore.

Andre Berger wrote:
 
 Cory Snavely [EMAIL PROTECTED] writes:
 
  This is the *exact* same problem I have. One possible solution I've been
  kicking around is to set up a low-end server at home with imapd and
  Apache with mod_roaming (for the address books, etc.)
 
  That's a lot of work. To confess, though, I thought it might be fun 8)
  and good practice.
 
  My biggest complaint, though, is that the potato Netscape doesn't seem
  to have the same offline reading capability as the Windows 98 one.
  Does anybody know about that (why that feature doesn't seem present)?
 
 You just have to use it ;)
 
 I have exim to send mail from and fetchmail to download mail to my
 potato box. Add shell scripts to /etc/ppp/ip-up.d/ that send and receive
 mail automatically as soon as you go online.
 
 Set (Netscape) Preferences | Incoming Mail Servers 's Server Type
 to Movemail. I had to use External MoveMail
 '/usr/lib/xemacs-21.1.10/powerpc-debian-linux/movemail' from
 xemacs21-nomule's bin package because the Builtin MoveMail didn't
 work. Set the User Name to the login name on your own box (your
 $USER). BTW I have unchecked any other button there. As soon as the
 scripts in /etc/ppp/ip-up.d/ have finished, you can go offline. Use
 Messenger's Get Msg btn to actually get the mail into Netscape.
 
 Set the Outgoing (SMTP) Server to 'localhost', the User Name to
 your login name on your own box again. If you want to send mail,
 always use the Send btn (not Send later). This will add the
 msg to the exim queue.
 
 Andre
 
 
  Christopher Hicks wrote:
  
   Hi All,
  
   Having just got my laptop back from repair (g) I am ready to
   reinstall operating systems and recover everything from my backups etc 
   etc.
   I'll also take the opportunity to upgrade from slink to potato.
  
   One improvement I would very much like to make over the setup I had before
   is this:  it would be *very* convenient to store my email on a partition
   accessible to both Linux and Win98 (which I have to have for work - sigh)
   such that I can access it with a unified set of folders/address book etc
   from whichever O/S I happen to be in the time. This also requires a mail
   client which runs under both linux and Win98 (or at least a pair of 
   clients
   with compatible file formats).
  
   At first sight Netscape Messenger would seem to fit the bill, but
   unfortunately it seems to use different filenames (for its mail folders)
   under the two O/S's. If the set of filenames were static I could possibly
   get around it with some symbolic link trickery on the linux side, but this
   would limit me to creating new mail folders only in Windows, and then
   manually fiddling to make that new folder work in linux. Yuck. (Also
   Netscape has the one POP server limitation which is a pain since I use 
   two
   POP accounts).
  
   Mahogany looks promising, but I've heard it is still excessively buggy. 
   Does
   anyone have any other suggestions?
  
   Christopher Hicks
  
   --
   To UNSUBSCRIBE, email to [EMAIL PROTECTED]
   with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
  --
  To UNSUBSCRIBE, email to [EMAIL PROTECTED]
  with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 --
 Andre Berger [EMAIL PROTECTED] from Bonn, Germany
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: is there a gui frontend in X for dialing ppp?

2000-06-08 Thread Cory Snavely
 We...pon and poff, and let's not overlook plog _are_
 elegantly tiny and simple, _but_ since my ISP instituted 'idle-time
 disconnects' I don't always know whether I'm connected or not. A little
 on/off light thingie might be nice to check before doing an apt-get, a
 perl -MCPAN or a wget.

 AAMOF, since pon's man page is also elegantly tiny and simple, I have
 not found if or how it can be activated by an application yet.

 Anyone know? Then I could care less about a little light thingie.

I always run an asmodem on my dialup machine. It's a compact modem icon
indicating activity and dialed-up-ness, although not transfer rates like
some of the others mentioned. Also doesn't obviate pon/poff--but gives you a
good idea of when the connection is up and how traffic is moving.

Little blinky lights. Cute as heck.




Re: Samba printing question

2000-06-08 Thread Cory Snavely
 I have set up samba so my wife can print from Windows 95 to the printer
 on my Linux box (dj520 configured with magicfilter).  It prints fine,
 but after the page ejects,  a second page is printed with:

 %%[ Page: 1 ]%%
%%[ LastPage ]%%

 I suppose this is some PostScript code, probably generated by the
 Windows Laserwriter II NT driver I selected. Is there any way to
 suppress this?

I don't know how to suppress it, but I think I know what it is. Some drivers
generate PostScript that outputs status messages to the printer console
device. (PostScript interpreters have these, although most actual printers
don't have physical consoles.)

If you were to use ghostview, for example, that same output would pop up in
a console window. Also you'd see it in Acrobat Distiller.

Anyway, it looks like magicfilter is taking that and lobbing on the end of
your job. That's really the wrong thing to do. You might look into the
configuration settings of magicfilter to see if you can customize what to do
with that sort of output. This is the kind of thing where you might find a
nice place to stick a 2/dev/null and fix the problem.

The suggestions from other to change to a different driver may fix the
problem--depends on whether the application is telling the driver to put
that stuff in or the driver is putting it in because it thinks it's a good
idea.




Re: UPS wars: APC vs Tripplite?

2000-05-22 Thread Cory Snavely
If you want to use your own batteries, you may want to look into products
from Trace Engineering at http://www.traceengineering.com . The make all
sine wave inverters for the renewable energy community.

- Original Message -
From: Jaye Inabnit ke6sls [EMAIL PROTECTED]
To: Ron Farrer [EMAIL PROTECTED]
Cc: Debian User debian-user@lists.debian.org
Sent: Friday, May 19, 2000 2:30 AM
Subject: Re: UPS wars: APC vs Tripplite?



 Hi Ron,

 I tried them both. I was happier with Triplite... Tho, it too was
returned. I
 need to leave my box here, some times for days unattended. I have a huge
 set of backup batteries that I run all my radio gear from.. I decided
there
 had to be a product that would use MY batteries and not some little
dinkster
 battery that will die in 30 minutes.

 So far tho, I haven't found a solution other then using a modified
sinewave
 which can get pretty noisy. For true sine wave, I did find a product for
the
 off grid folks with a fairly fast optional relay.  Tho, they haven't
replied
 to my tech request.

 Best of luck to you.

 regards


 On Thu, 18 May 2000, Ron Farrer wrote:
 
 
  Hello,
 
  I've been thinking about getting a new UPS. Previously I purchased APC
  products, but I want to hear about other experiences. I've pretty much
  narrowed it down to a product from APC or Tripplite. APC is more
  expensive, less Linux/UNIX friendly, but makes good products (IMHO).
  Tripplite is less expensive, more Linux/UNIX friendly, but I'm not sure
  how the quality of their product compares to APC.
 
  Does anyone know of some sort of comparison between these two companies
  products? I'm interested in features/quality more then price.
 
 
  TIA,
 
  Ron
  --
  Email: mailto:[EMAIL PROTECTED]
  Home:  http://www.farrer.net/~rbf/
 
  Alpha Linux Organization: http://www.alphalinux.org
  Bellingham Linux Users Group: http://www.blug.org
 

 
 Content-Type: application/pgp-signature; name=unnamed
 Content-Transfer-Encoding: 7bit
 Content-Description:
 

 --


 Jaye:-}

 M.J. Inabnit, KE6SLS e-mail  [EMAIL PROTECTED]
 707-442-6579 h/m 707-441-7096 p
 http://www.qsl.net/ke6slsICQ# 12741145
 This mail composed with kmail on kde on X on linux warped by debian
 If it's stupid, but works, it ain't stupid.


 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] 
/dev/null




Re: Apache VH Help needed

2000-03-29 Thread Cory Snavely
This isn't an Apache configuration issue, it's a DNS configuration issue.

You need an A record for the customer1.com domain with the IP address of the
server. This assumes, of course, that this is OK with your customer--they
may already have an A record in place for their domain. This also assumes
you have some control over the DNS records.

- Original Message -
From: Jaume Teixi [EMAIL PROTECTED]
To: Debian User debian-user@lists.debian.org
Sent: Wednesday, March 29, 2000 4:58 AM
Subject: Apache VH Help needed


 I've setup this in order to not to restart apache each time I enter a
 new customer:

 My problem is How To config that automatically  *.customer1.com points
 to www.customer1.com ?

 I've setup on httpd.conf :

 VirtualHost 192.192.192.192
 ServerNamecustomers.mydomain.com
 CustomLog /var/customers/logs/access_customers.log
vcommon
 VirtualDocumentRoot   /var/customers/webs/%0
 VirtualScriptAlias/var/customers/webs/%0/cgi-bin
 /VirtualHost

 On /var/customers/webs/ I put each directory as www.customer1.com,
 www.customer2.com, etc.


 thanks!


 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] 
/dev/null



Re: Slink Iso image

1999-12-20 Thread Cory Snavely
I built my slink ISO 9660 image using the pseudo-image kit, which assembles
the image on the fly from the Debian mirror of your choice, then patches it
against an actual image. Quite impressive to watch, BTW. Of course this was
at work over T3.

The preferred distribution mechanism for ISO 9660 images is via the pseudo
image kit. Why? Because there aren't that many mirrors willing to host
entire ISO images, but there are many mirrors (one of them close to you!)
that can offer all the individual *packages*.

The question dialogue at http://cdimage.debian.org/ may make you feel like
you're not getting the direct information, but I learned to trust it. That
was how I found the pseudo-image kit. C'mon...trust it.

If it turns out you actually need to make ISO images at all, you'll get to
either

http://cdimage.debian.org/ch1211.html

for the pseudo-image kit or

http://cdimage.debian.org/ch1212.html

for the ISO images themselves.

Again, though, I'd urge you to 1) use the dialogue and 2) avoid downloading
the image from an image mirror unless that's your only option.

c


- Original Message -
From: Tony Schonfeld [EMAIL PROTECTED]
To: debian-user@lists.debian.org
Sent: Monday, December 20, 1999 2:59 AM
Subject: Slink Iso image


 Sorry to ask again but i've read this week slink iso image is available at
 cdimage.debian.org but i can't find it.
 Please can you tell me if slink r4 ISO image is available for download in
 other ftp site ?

 many thanks
 Tony



Re: Wvdial and non-root access

1999-11-01 Thread Cory Snavely
 Cory Snavely writes:
  I just set up ppp on my slink workstation yesterday, and I used sudo to
  avoid setting scripts suid (although pppd installs as suid root). Even
  though I'm using pon/poff, I'll bet sudo can solve your problem, too, if
  suid scripts give you the feeling.

 You just need to add the user who should be able to start ppp to the 'dip'
 group.  The command is 'adduser username dip' (as root, of course).

Yeah, but since pppd runs setuid root, just membership in dip won't let you
kill pppd unless you set poff setuid root as well. I used sudo to avoid
having to do this. Right?



Re: Wvdial and non-root access

1999-10-31 Thread Cory Snavely
  Only root is able to use wvdial, even though I thought wvdial has been
set
  up for use by non-root users.

 was wvdial set up for this by yourself, or by the wvdial install program?

  When I, as user david, type wvdial, I get an error that david cannot
have
  access to /dev/ttyS1. That's better than before, when david couldn't
access
  the wvdial.conf file.

 My solution to this is to restrict the access to the wvdial executable and
 make it suid.  This isn't technically the safest way of doing it but I'd
 rather have a simple solution I can keep track of, rather than a
 complicated solution that I can't.

 I also have a suid wrapper to 'kill pidofwvdial' available so that any
 user in the appropriate groups can take the modem offline no matter who
 put it online.

I just set up ppp on my slink workstation yesterday, and I used sudo to
avoid setting scripts suid (although pppd installs as suid root). Even
though I'm using pon/poff, I'll bet sudo can solve your problem, too, if
suid scripts give you the feeling.

I never used sudo before, but I found it intuitive and flexible and IMHO it
would be easier to maintain than keeping track of suid scripts.



Re: Postscript Merging Dial-in PPP Access

1999-10-15 Thread Cory Snavely
 1) Merge two postcript files.  I'm trying to run a
 small script that converts the text output from
 another program into Postscript, and then merge that
 file with a previously createed postscript file.

 Here's the script segment that does these things :-

 --- Begin Script Segment --
 for $source.*
 do
  cat $file | enscript -p/tmp/outfile.ps -R -B
  cat /u/psback.ps /tmp/outfile.ps | lpr -PHPLaser
 done
  End Script Segment ---

 The HP Laser is a fully postscript capable printer, I
 can print both files seperately, and the files are
 able to merge print on a SCO box, but under linux the
 files seem to not want to merge.

 psback.ps is a background image that is needed
 behind every page printed.

 source.* is a collection of single pages (organised
 through another section of the script, quite simple
 really).

 Comments about this will be greatly appreciated.  All
 help useful.

Actually, this is probably more of a PostScript problem than a Linux
problem. In this case, though, I think the difference in behavior (between
the two UNIX systems) may be attributable to enscript. (I.e., no flames
please.)

Generally PostScript files are not appendable in this way. Now, maybe
psback.ps is specially designed to be used in that way, but the typical way
a PostScript programmer would have to make that work (modifying the showpage
function) is dependent on how the file that follows is prepared, and whether
*it* modifies the showpage function. (Typical reason a PostScript generator
might modify this function: implementing page numbering.)

I think what's probably happening here is that the version of enscript on
the system where this *does* work must generate a different (simpler)
PostScript prologue than the version on your Debian system. Namely, that
version of enscript probably doesn't modify the showpage function itself.

Under this theory, what would be happening is

psback.ps executes its code and modifies the
showpage function (probably) to lay down
the background first, then the rest of the
page

your enscript output comes along and undoes
those modifications

and voila, you get the symptoms you didn't describe 8), which are probably
either a) no output or b) same output as enscripting alone. Right?

Unfortunately, the fix for this problem (assuming that's what it is) is not
that easy. It would probably involve reworking psback.ps to a more reliable
implementation, or reworking enscript's prologue to make it more tolerant of
psback.ps.

For experimentation, I would also recommend trying to view the file with
ghostscript, and also moving it off the system and printing it from various
places (PCs, Macs, whatever you have around. If the symptoms are all the
same, then I think you can be assured the problem is in fact something like
I suggest rather than the Debian lpd, and you might want to consider
reposting in a PostScript forum.

Sorry if any of this sounds vague. Unless you know PostScript the details
aren't that helpful.

c



Re: disk image

1999-10-07 Thread Cory Snavely
See

http://cdimage.debian.org/

which will lead you through a series of questions and explain how to create
bootable iso9660 images for installing Debian.

c

- Original Message -
From: vincent leycuras [EMAIL PROTECTED]
To: debian-user@lists.debian.org
Sent: Thursday, October 07, 1999 8:03 AM
Subject: disk image


 Hi!

 I just installed Linux Mandrake 6,0 because it was easy to download: you
 probably know they have their distrib ready for download in .iso format,
 ready for CD burning. I also know FreeBSD have it. Do you know a way of
 finding the same thing for Debian Linux?

 Vincent, France.