Re: ipchains and netfilter on 2.4.0-test9

2000-10-29 Thread Mark Phillips
Bob Bernstein [EMAIL PROTECTED] wrote:
> 
> PJS> i'd like to learn how to drop packets coming from a
> PJS> particular host -- is there a netfilter howto yet?  i didn't
> PJS> see anything on LDP.
> 
> Have you checked the kernel docs?

By kernel docs, do you mean /usr/src/linux/Documentation/?

On another kernel 2.4.0 related matter...  Apparently with 2.4 there
is a new mount you need to add to fstab:

none/dev/shmshm defaults0   0

Are you supposed to manually create the /dev/shm directory?

And even when I do this, "free" says that shared isn't used at all ---
what's the deal here?

Cheers,

Mark.


-- 
_/\___/~~\
/~~\_/~~\__/~~\__Mark_Phillips
/~~\_/[EMAIL PROTECTED]
/~~\HE___/~~\__/~~\APTAIN_
/~~\__/~~\
__
"They told me I was gullible ... and I believed them!" 



Re: Do I need 'apt' directories, or can I delete them?

2000-10-29 Thread kmself
on Sat, Oct 28, 2000 at 07:48:10PM +0200, Gyulai Mihaly ([EMAIL PROTECTED]) 
wrote:
> I just upgraded from 'slink' to 'potato'. Now my /root partition is
> full. Do I need the contents of the following directories, or may I
> delete them?
> 
>  /var/cache/apt  6 MB
>  /var/state/apt/lists  3.7 MB
>  /var/lib/dpkg/info  4.6 MB
>  /var/lib/dpkg/methods/multicd  1 MB

/var should be a seperate partition from your root, for a number of
reasons.  See attached for general suggestions.

-- 
Karsten M. Self  http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.http://www.opensales.org
  What part of "Gestalt" don't you understand?  There is no K5 cabal
   http://gestalt-system.sourceforge.net/http://www.kuro5hin.org
Linux Partitioning mini-FAQ

Karsten M. Self 
Written:  Monday, September 18, 2000
Modified:  Saturday October  7, 2000



The following is my recommended partitioning for a typical
workstation/server Debian GNU/Linux x86 box.  You can also find useful
guidelines the the Filesystem Hierarchy Standard (FHS), part of the
debian-policy package, and the the Large Disk HOWTO.

Basic recommendation:

/   50 - 100 MB
/tmp50 - 100 MB
/var200 - 500 MB
/usr1 - 2+  GB
/usr/local  1 - 2+  GB
/home   remainder


Primary, Extended, & Logical partitions (x86 only):

Linux really doesn't care.  MS WinXX prefers a single primary
partition, though multiple primaries are possible as an undocumented
feature.  Suit your preferences if you're multi-booting.  I tend to
create three primary partitions, one extended, and the remainder
physical.  / usually goes on the first partition and is marked
bootable, though as with most things, you have other options.  YMMV.


Swap:

I go with 3x physical RAM, in two or three separate swap partitions,
to a maximum of 2 GB (x86 Linux can't handle more than 2GB RAM
currently).  This is more swap than you'll probably want to be using
on a typical basis (eg:  if you're filling *all* your swap,
something's wrong).  OTOH, it also provides you a buffer when the
system *does* go into a memory-overrun condition.  Typically, things
will get so slow that you'll notice something's wrong.  The extra
swap should buy you time to shut down the offending process(es).
Other sources say to provide 2x physical RAM.  VA Linux configures
its servers with 1x physical RAM.


How many partitions:

Another religious issue.  I start with the scheme illustrated above
because:

  o / needs to be mounted for the system to boot -- but other than
/bin, /boot, /dev, /etc, /initrd, /lib, /root, and /sbin,
other directory trees don't have to be mounted.  Increase your
chances for a clean boot by reducing the inodes at risk.  You
are also then able to mount other partitions nosuid and/or
noexec and/or read-only, for additional security.  The entire
partition can be duplicated elsewhere on- or off-line for
additional security.

  o /tmp -- highly variable.  Don't risk your root partition,
isolate this content.  Mount noexec and/or nosuid for added
protection.

  o /var -- likewise, highly variable.  Mount noexec and/or nosuid
for added protection.

  o /usr -- Largely stable.  Can be mounted read-only except for
package upgrades.

  o /usr/local -- Largely stable, and not part of the packaging 
system.  Can be mounted read-only, possibly nosuid.

  o /home -- Variable content, usually most sensitive data both in
terms of security and integrity.  Can be mounted nosuid.

At this point, you may choose to add additional partitions if
desired to match local storage, application, or hardware needs
and/or limitations.


Allocation variations:

/:  A minimal installation can fit in 30 MB or less.  If you're
using more than ~50 MB, you've probably included something in your
root partition you don't need.  Variable, executable, suid, local.

/tmp:  Values suggested should work for most systems.  /tmp is
system temporary storage.  If you've got specific applications with
very large temporary storage requirements (eg:  database, analytic
tools, multimedia), you're better off allocating storage to these
needs specifically.  Variable, non-executable, non-suid, local.

/var:  if you're running extensive services (news, mail, website),
you may want to increase this allotment significantly.  Often
various /var/spool subdirectories become their own partitions.  Such
partitions may consume hundreds of MBs to multiple GBs.  Variable,
non-executable (?), non-suid, local.

/usr:  A minimal insta

Re: Time?

2000-10-29 Thread kmself
on Sun, Oct 29, 2000 at 12:13:13AM -0400, Casey Henderson ([EMAIL PROTECTED]) 
wrote:
> Anybody know if Linux handles Daylight Savings Time automatically?  I
> have kernel 2.2.17 on Debian 2.2 (potato). Will I need to change the
> time manually, and if so, how? Thanks.

Yes, it does.

-- 
Karsten M. Self  http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.http://www.opensales.org
  What part of "Gestalt" don't you understand?  There is no K5 cabal
   http://gestalt-system.sourceforge.net/http://www.kuro5hin.org


pgp6LPhPi0INA.pgp
Description: PGP signature


Re: cdrecord doesn't recognize my cd (re-)writer

2000-10-29 Thread Rino Mardo
hmm, mike's answer should go to that newbie maintenance faq that was going
around here for a while.

great job mike!


-> who watches the watchmen?

Key fingerprint - E619 726E 3815 7A48 EAC7  E49F DF93 4E33 B069 0883
- Original Message -
From: "mike" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; 
Sent: Sunday, October 29, 2000 3:57 AM
Subject: Re: cdrecord doesn't recognize my cd (re-)writer


>
> On Sun, 29 Oct 2000 06:40:04 +0800, [EMAIL PROTECTED] said:
>
> > I read somewhere about somebody's problems with xcdroast. My problem is
even
> >  simpler (stupider?) I can't get cdrecord to work under debian.
> >
> >  Here is some of the info I have been able to gather about my current
setup.
> >
> >  debian:/dev# lsmod
> >  Module  Size  Used by
> >  serial 19564   0  (autoclean)
> >  es1371 25344   0
> >  sound  57592   0  (unused)
> >  soundlow 416   0  [sound]
> >  soundcore   2628   7  [es1371 sound]
> >  parport_pc  7236   0  (autoclean)
> >  parport_probe   3332   0
> >  parport 7280   0  [parport_pc parport_probe]
> >  sg 15320   0  (unused)
> >  ide-scsi7080   0
> >  vfat9008   0  (unused)
> >  unix   10212  85  (autoclean)
> >
> >  debian:/dev# cdrecord -scanbus
> >  Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
> >  cdrecord: No such file or directory. Cannot open SCSI driver.
> >  cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you
are root.
> >
> >  debian:/dev# ls /dev/sg*
> >  /dev/sg0   /dev/sg11  /dev/sg14  /dev/sg2  /dev/sg5  /dev/sg8
> >  /dev/sg1   /dev/sg12  /dev/sg15  /dev/sg3  /dev/sg6  /dev/sg9
> >  /dev/sg10  /dev/sg13  /dev/sg16  /dev/sg4  /dev/sg7
> >
> >  My kernel version is the potato default kernel 2.2.17. My CD-RW is an
> >  ironicially named Best CD Writer. It works under Linux-Mandrake.
> >
> >  I believe I have loaded all the necessary modules (sg + ide-scsi) and
have the
> >  proper devices in /dev. Just to be sure I did a MAKEDEV (something the
> >  installation of cdrecord is supposed to do anyways), deleting /potato
default kerneldev/sg* and
> >  recreating them. So why the message "cdrecord: No such file or
directory.
> >  Cannot open SCSI driver"?
> >
> >  What have I forgotten/failed to do? This is the final piece of the
puzzle in my
> >  making my Debian installation as usable as my Linux-Mandrake (I now
have sound
> >  and ppp under Debian. Wow!)
>
> >
> Well i had a similar problem with my potato default kernel 2.2.17
> which has IDECD driver compiled into the kernel and IDESCSI
> loaded as a module. The IDESCSI driver can only access the
> CDRW if the IDECD driver doesn't grab it first (the IDECD driver should be
> compiled as a module or not at all if using IDESCSI).
> So by adding to lilo.conf the line: append="hd?=ide-scsi"
> the device file representing CDRW (hd?) is passed to the ide-scsi
> driver in the kernel before the ide-cd driver can grab it.
> This means that your bootup messages will list the drives
> detected  by the ide-scsi emulation. If you dont get these messages then
it
> hasn't worked.
> Once you get these messages then run# cdrecord -scanbus
> and you should get a listing with your CDRW  dev at e.g. 0,0,0.
> Then use that in cdrecord  dev=0,0,0 . and all goes well.
> This is a long-winded explanation because it took me a long
> time to make sense out of this. In any case it worked. YMMV.
> --
>
> gEEk||dOOd^Deb+iaN&&XFce$aaZZ goes(-_-)
>
>
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] <
/dev/null
>



Re: apt-get wants toupgrade my kernel package to debian kernel package

2000-10-29 Thread Erik Steffl
  thanks, it's all clear now (I also re-read the docs, I wasn't sure
what one would use epoch for...)

erik


Colin Watson wrote:
> 
> Erik Steffl <[EMAIL PROTECTED]> wrote:
> >  I downloaded debian kernel source package (+ source for alsa modules
> >and 3dfx module).
> >
> >  I used make-kpkg to build the kernel (and later on alsa and 3dfx
> >modules). I specified jojda.1 as my kernel revision.
> >
> >  the resulting *.deb (kernel + modules) were succesfully installed, so
> >now I have:
> >
> >ih kernel-image-2.2.17   jojda.1   1:2.2.17-1
> > ^^^   ^^
> > current   new
> 
> The 1: is an epoch, which means that 1:anything is greater than any
> version number without an epoch, 2:anything is greater than 1:anything,
> etc. Try 10:jojda.1, or some similarly high epoch, if you don't want it
> to be replaced by Debian packages.
> 
> >  the same goes for alsa-modules-2.2.17:
> >
> >ih alsa-modules-2.2.17   0.5.9d-1+j1:0.5.9d-1
> >
> >   (there is only 'j' visible out of the jojda.1 string), how is
> >0.5.9d-1 newer then 0.5.9d-1+jojda.1 ?
> 
> [EMAIL PROTECTED] ~]$ if dpkg --compare-versions 0.5.9d-1+jojda.1 lt 
> 1:0.5.9d-1; \
> > then echo hello; fi
> hello
> 
> --
> Colin Watson [EMAIL PROTECTED]
> 
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null



Gnus and Leafnode

2000-10-29 Thread Glyn Millington

Dear All,

I'm trying to set up Gnus with Emacs 20 and using leafnode - I want Gnus to
to its reading off-line.  I think I've pointed gnus in the right direction,
and things start up right, but then I get 
"nntp read"  

in the minibuffer and for about 40 mins it reads something that is over 2MB
in size, and that's not my .newsrc file!

This is my .gnus file


(setq gnus-select-method '(nntp "localhost"))
(setq gnus-read-active-file nil)


Can anyone suggest a way of speeding this up? (Apart from using slrn!)

TIA

Glyn M

-- 
   
   * None can love freedom heartily but good men; *
   *the rest love not freedom but license *
   *John Milton   *
   



failed to create 3dfx module package: epoch not a number

2000-10-29 Thread Erik Steffl
  I have compiled a kernel with --revision 99:jojda.2

  kernel compiled OK, kernal package
kernel-image-2.2.17_jojda.2_i386.deb (why is there no epoch in name?)

  I have 3dfx and alsa modules sources so I went on and did:

  make-kpkg modules_image (set MODULE_LOC first)

  it looks like alsa moduels where built correctly:

make[2]: Leaving directory `/usr/src/modules/alsa-driver'
make[1]: Leaving directory `/usr/src/modules/alsa-driver'
Module /usr/src/modules/alsa-driver processed fine

  and package was created: alsa-modules-2.2.17_0.5.9d-1+jojda.2_i386.deb

  however 3dfx module failed:

dh_builddeb --destdir=/usr/src/linux/..
dpkg-deb: parse error, in file `debian/tmp/DEBIAN/control' near line 2
package `device3dfx-module-2.2.17':
 error in Version string `2.3.4-2+99:jojda.2': epoch in version is not
number
dh_builddeb: command returned error code
make[1]: *** [kdist_image] Error 1
make[1]: Leaving directory `/usr/src/modules/device3dfx'
Module /usr/src/modules/device3dfx failed.
Hit return to Continue

  no package created.

  is it a problem of 3dfx package builder?

  strange thing I noticed (epoch is in different places!):

Package: alsa-modules-2.2.17
Version: 99:0.5.9d-1+jojda.2

Package: device3dfx-module-2.2.17
Version: 2.3.4-2+99:jojda.2

  system: debian unstable, kernel 2.2.17

  TIA

erik



Re: svgatextmode funnies

2000-10-29 Thread Anthony Campbell
On 28 Oct 2000, Robert Norris wrote:
> I rebooted my box today to clear out a kernel module that got itself
> stuck somehow and wouldn't unload. When the machine came back up the
> screen went blank upon SVGATextMode running.
> 
> I logged in remotely and messed with it for a bit, to no avail. My last
> ditch solution was to purge svgatextmode and the console-tools
> packages, and reinstall them.
> 
> With its default configuration SVGATextMode now works, but when I
> change the chipset from 'VGA' to 'Riva128' (which fits my card -
> a Diamond Viper 330E), I get nothing on the screen. Trying
> different modes, I found that screen shows nothing when 8-pixel
> wide fonts are used, and when modes with 9-pixel wide fonts are used
> I get strange 'double width' fonts (think mode 2 on the old BBCs).
> When this happens every second letter on the screen is displayed
> twice, but the others aren't (hmm, bad explanation ..) .. for example,
> my login prompt looks like this:
> 
> DDbbaa  NN//iiuu  oodd  bbuuiinnttyy
> 
> oottssaa ooii::
> 
> rather than the normal:
> 
> Debian GNU/Linux woody obtusian tty1
> 
> obtusian login:
> 
> (All this in the freaky double-width font).
> 
> Clues? Its got me stumped.
> 
> (FWIW, I tried swapping the card for another of the same type, same
> problem).
> 
> Regards,
> Rob.

The author of SVGATextMode said a few months ago that he was ceasing to
maintain it because it was no longer necessary with modern cards.

I've stopped using it myself.

Anthony


-- 
Anthony Campbell - running Linux Debian 2.2 (Windows-free zone)
Over 100 book reviews: http://www.cix.co.uk/~acampbell/bookreviews/
Skeptical essays: http://www.cix.co.uk/~acampbell/freethinker/

"Palo y tente tieso." (Spanish proverb)
Free translation: "Holdfast is your only dog."



Re: RPMS in debian

2000-10-29 Thread Greg Gilbert
Alien has been mentioned already, but there are php and mysql debs
available from debian. I just did apt-get install php-mysql to
install it. 
Greg
* Eileen Orbell ([EMAIL PROTECTED]) wrote:
> Hi,
> 
> Is there a way to convert RPM's so I can use them in Debian?? I want to 
> install the mysql-php-apache rpm from mysql.org
> 
> Thanks
> 
> 
> Eileen Orbell
> Software & Internet Applications
> Capitol College
> mailto:[EMAIL PROTECTED]
> Don't Fear the Penguin.
> 
> 
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null



Re: Time?

2000-10-29 Thread Tuukka Hastrup
On 28 Oct, kmself@ix.netcom.com wrote:
> on Sun, Oct 29, 2000 at 12:13:13AM -0400, Casey Henderson ([EMAIL PROTECTED]) 
> wrote:
>> Anybody know if Linux handles Daylight Savings Time automatically?  I
>> have kernel 2.2.17 on Debian 2.2 (potato). Will I need to change the
>> time manually, and if so, how? Thanks.
> 
> Yes, it does.

Note that this is not true if the hardware clock is set to local time
instead of GMT - for example if you have "the other operating system" on
the same machine.


Tuukka

-- Trying to catch me? Just follow up my Electric Fingerprints
-- To help you: [EMAIL PROTECTED]
http://www.iki.fi/Tuukka.Hastrup/
ICQ #11321669



Re: DIVX?

2000-10-29 Thread Krzys Majewski
> Hi

> remove it.  the sdl lib, that is.  i had major problems getting libaviplay.so
> to work w/ unstable, once it went through the libstdc++ upgrades.  i have 
> since
> given up and downgraded to "testing".  from here, it builds fine. 

OK, I've got both Xtheater  and aviplay working now. I downgraded back
to libc6 2.1 and compiled the latest libSDL and libsmpeg. 
Problems:

Xtheater: The picture is black, the sound skips, I can only
see something if I hit the pause button. 

aviplay: Better.  The sound is OK,  but the picture  is really choppy,
with  occasional white (blank)  frames. The  sync between  picture and
sound is horrible. 

What video card are you using? I've got an ATI Xpert 98. 
I  *think* I've got  GL hardware acceleration, aka  utah-glx, working
with it, but how do I check?  

I've got a SoundBlaster ISA PnP AWE64,  is this a problem? Do I need a
PCI card to avoid choppy sound? 

-chris





What provides "gnome-config"?

2000-10-29 Thread Krzys Majewski
I  need something called  gnome-config to  compile xmps,  anybody know
where to find  this? Presumably it's a util that  comes with the gnome
libs, but  there's so  many things called  "gnome" I'm not  sure which
ones I need. -chris



Re: runlevel + Serverstart at bootup

2000-10-29 Thread Timo Benk
Hi,

On Fri, 27 Oct 2000, Hanno Böttcher wrote:
> A friend of mine told me, that serverstartups are configured with the
> runleves under etc/r.. I used Suse before and there was a central file
> named rc.config where you could set the server starts. Is there a
> similar file in Debian? Or do I realy have to make this for each
> runlevel each?

Although you can look it up in the debian Policy

http://www.debian.org/doc/debian-policy/ch3.html#s-sysvinit

if you want to know it detailed.

 Ciao,
 Timo<[EMAIL PROTECTED]>
--

.-'~~~-.   
   .'o oOOOo`.  | Timo Benk 
  ;~~~-.oOo   o`.   | Germany
   `. \ ~-.  oOOo.  | Fon:  +49511468347
 `.; / ~.  OO:  | Fax/Voicemail:+49891488214215
 .'  ;-- `.o.'  | 
,' ; ~~--'~ |
;  ;| [ASCII stolen from Mescalito Ted] 
_\\;_\\//_  



Re: What provides "gnome-config"?

2000-10-29 Thread Kristian Rink
On Sun, 29 Oct 2000 01:54:51 -0800 (PST)
Krzys Majewski <[EMAIL PROTECTED]> wrote:

> I  need something called  gnome-config to  compile xmps,  anybody know
> where to find  this? Presumably it's a util that  comes with the gnome
> libs, but  there's so  many things called  "gnome" I'm not  sure which
> ones I need. -chris
> 
Hi, Cris.
I'm not sure about which requirements xmps has, but, factually gnome-config is 
part of the gnome-libs packages, for compiling GNOME-based software You should 
ensure having most of the *-dev packages from that series installed to Your box 
(especially libgnome-dev), according to the requirements of the software You 
want to build. :))

Hope this helps, have a nice sunday.
Regards,

Kris
--
--
"And the things that we fear are the weapons to
 be used against us." (Rush)

 Kristian Rink
 mail: [EMAIL PROTECTED]
 fax : ++49 / 180 5052 5560 8162
=>encrypted mail welcome. contact me for pgp key.
--



Re: How to download a free Linux?

2000-10-29 Thread Kristian Rink
On Tue, 28 Oct 1997 22:11:45 +0600
tim456 <[EMAIL PROTECTED]> wrote:

http://www.linuxiso.org
(...hope You're having a fast and inexpensive network access... :))) )

Regards,
Kris


--
--
"And the things that we fear are the weapons to
 be used against us." (Rush)

 Kristian Rink
 mail: [EMAIL PROTECTED]
 fax : ++49 / 180 5052 5560 8162
=>encrypted mail welcome. contact me for pgp key.
--



rsync

2000-10-29 Thread Britton

I am getting the following errors from stty when I try to use rsync,
anyone know what might be going on here?

$ rsync --rsh='ssh -c blowfish' -a --dry-run [EMAIL PROTECTED]:~bkerin ~bkerin
[EMAIL PROTECTED]'s password:
stty: receiving file list ... standard input: Invalid argument
stty: standard input: Invalid argument

Britton Kerin
__
GNU GPL: "The Source will be with you... always."



where did ldd go?

2000-10-29 Thread Krzys Majewski
Erh, there  used to  be something called  ldd, right? For  finding out
which dynamic libs an executable linked against? It's gone! Where do I
get it? Where is there a map of binary names to debs? -chris



Suddenly I need MEM= to lilo, why?

2000-10-29 Thread Robin Collins
I've just discovered that after re-installing potato I now only have 64Mb
out of 256Mb unless I use MEM=256M.  VMWare was first to tell me, then I
noticed /proc/kcore was only 64Mb.  This is on a Supermicro P6DBS with dual
PIII 700s which has had several Linux flavours installed, including potato,
and till now has always recognised 256Mb.  While everything _seems_ to be
working after using the MEM= lilo append I'm worried as to why all of a
sudden the kernel needs to be told.

About the only difference I can see is that I now have LILO in the MBR,
whereas before I was booting LILO off NT's boot loader.  Could that somehow
make a difference?

I'm baffled.

Robin Collins

BTW, this is with 2.2.17 + international patch.



how to test hardware acceleration / GL / utahglx?

2000-10-29 Thread Krzys Majewski
OK, I'm extremely confused by this hardware GL thing. 
My card is an ATI Xpert 98 (aka "Rage"), so presumably it has it? 
Will utahglx  support it? Sometimes  they say they do,  sometimes they
only claim  to support  matrox g400. What  is the  difference between,
say, libutahglx and  mesag3 and libglide and so on. Why  is it so hard
to play quake under linux compared to dos? 
Finally, I've got  some utahglx debs installed, how  do I test whether
the hardware acceleration is working?
-chris



Re: a question about internal modem

2000-10-29 Thread Damien
> my laptop has an internal modem,when i use lspci command it shows me the 
> modem is
> PCTel INC HSP Micromodem 56
> then which module should i insmod and which /dev/ device does the modem take??
> i think internal modem will not occupy an com port
> 

i accidently purchased a modem like this. the term winmodem has come to be
used on modems that do software dsp. yet there are also modems out there that
rely on proprietory software to access them (presumably cheaper than writing a
serial port emulator)

www.linmodems.org for information on if your modem is supported. chances are
it isn't i'm afraid.

cheers

 damien


pgp9mrHgDIbYv.pgp
Description: PGP signature


Re: new machine: what's wrong?

2000-10-29 Thread Jack
Many thanks to those replied.  Just found where the problem was:
plugging another P133 Mem calms everything down.  Yeah,  It's a memory
problem.

thanks again,

jack



Re: Do I need 'apt' directories, or can I delete them?

2000-10-29 Thread John Hasler
 wrote:
> I just upgraded from 'slink' to 'potato'. Now my /root partition is
> full.

Run 'apt-get clean'.

> Do I need the contents of the following directories,...

Yes.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI



netscape?!!

2000-10-29 Thread ljoasis
 i installed debian potato in my box,all run good,but i cannot find a way
to start my netscape,i installed all the netscape package,and there is only
a netscape-remote command can run,who pls help me to start my netscape
//bow~~
--
»¶Ó­Ê¹Óà 21CN µç×ÓÓʼþϵͳ http://www.21cn.com
Thank you for using 21cn.com Email system



Re: netscape?!!

2000-10-29 Thread Phillip Deackes
[EMAIL PROTECTED] wrote:
>  i installed debian potato in my box,all run good,but i cannot find a
> way
> to start my netscape,i installed all the netscape package,and there is
> only
> a netscape-remote command can run,who pls help me to start my netscape

You should find that Netscape appears on your Debian menus in whatever
window manager you are using - under apps/net. If you use Gnome you
could simply drag out the item onto your desktop. The actual command to
run it is (assuming you have version 4.75):

/usr/lib/netscape/475/navigator/navigator-smotif


-- 
Phillip Deackes
Using Storm Linux



Re: Re: netscape?!!

2000-10-29 Thread ljoasis

my netscape seems did not install correctly,i have no the path that u give me,
and my menu has netscape options,but click it no response.
i use dselect,which package contains netscape?
//bow a again
> [EMAIL PROTECTED] wrote:
> >  i installed debian potato in my box,all run good,but i cannot find a
> > way
> > to start my netscape,i installed all the netscape package,and there is
> > only
> > a netscape-remote command can run,who pls help me to start my netscape
> 
> You should find that Netscape appears on your Debian menus in whatever
> window manager you are using - under apps/net. If you use Gnome you
> could simply drag out the item onto your desktop. The actual command to
> run it is (assuming you have version 4.75):
> 
> /usr/lib/netscape/475/navigator/navigator-smotif
> 
> 
> -- 
> Phillip Deackes
> Using Storm Linux 
--
»¶Ó­Ê¹Óà 21CN µç×ÓÓʼþϵͳ http://www.21cn.com
Thank you for using 21cn.com Email system



modprobe can't locate module char-major-6

2000-10-29 Thread Bud Rogers
Could someone remind me where the file is that lists all those?

-- 
Bud Rogers <[EMAIL PROTECTED]>



Re: OT: Cross-platform document format?

2000-10-29 Thread Frodo Baggins
Kent West <[EMAIL PROTECTED]> writes:
>Thanks for the response. I was looking for a common document format, so
>that the students on campus would quit turning their homework in as .DOC
>format. I don't think I'm going to get the students to give up MS-Word
>on MS-Windows to learn LaTeX, etc, although in an ideal world
Well... I know nothing about ideal world.. But I simply told to my
student that first they must give me bot an hardcopy and a soft copy
of the document. Second that no file in a proprietary format can got
better than a B- grade. It works:)

-- 
Leo TheHobbit 
IRCnet #leiene
ICQ 56656060

-BEGIN GEEK CODE BLOCK-
Version: 3.1
GED/CS d? s-:+>-: a C+++ U+++ L++(+++)> P+++>+ E+(++) 
W++ N+ K? o? !w O? M V--- PS+++ PE-- Y+ GPG+ t++ 5? X- R+ tv+ 
b D? DI? G e()* h(+) r--(---) y(+)-->+++*
--END GEEK CODE BLOCK--



Re: Re: netscape?!!

2000-10-29 Thread Stephan Kulka
netscape is in the package navigator-base-475, but only if you point to
the security server of debian in your sources.list.
You can search in dselect pressing / and typing the name of the package
you are looking for. It is a good idea to take some time to learn how to
use dselect and apt. There are a lot of functions, read the man pages like
apt as well.

Stephan


 
> my netscape seems did not install correctly,i have no the path that u give me,
> and my menu has netscape options,but click it no response.
> i use dselect,which package contains netscape?
> //bow a again
> > [EMAIL PROTECTED] wrote:
> > >  i installed debian potato in my box,all run good,but i cannot find a
> > > way
> > > to start my netscape,i installed all the netscape package,and there is
> > > only
> > > a netscape-remote command can run,who pls help me to start my netscape
> > 




Re: modprobe can't locate module char-major-6

2000-10-29 Thread Tuukka Hastrup
On 29 Oct, Bud Rogers wrote:
> Could someone remind me where the file is that lists all those?

The current aliases are in file /etc/modules.conf
The configuration is done to file /etc/modutils/aliases and changes
updated using command update-modules.


Tuukka

-- Trying to catch me? Just follow up my Electric Fingerprints
-- To help you: [EMAIL PROTECTED]
http://www.iki.fi/Tuukka.Hastrup/
ICQ #11321669



lockd problems

2000-10-29 Thread peter karlsson
Hi!

Lately, I've gotten

Starting NFS common utilities: statd lockdportmap: server localhost not
responding, timed out
portmap: server localhost not responding, timed out
lockd_up: makesock failed, error=-5
portmap: server localhost not responding, timed out
lockdsvc: Input/output error
.

when I start up my machine. The only thing I changed was to use DHCP
for a while, but I changed that back now, but I still get this. I even
tried to change my settings over to the new /etc/network/interfaces
stuff, and put a "exit 0" in my old /etc/init.d/network without
success.

My new /etc/network/interfaces contains:

iface lo inet loopback

iface eth0 inet static
address 10.1.1.1
netmask 255.255.255.0
gateway 10.1.1.42


And my localhost device is configured:

$ ifconfig lo
loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  UP LOOPBACK RUNNING  MTU:3924  Metric:1
  RX packets:114 errors:0 dropped:0 overruns:0 frame:0
  TX packets:114 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0

Can anyone help me?


>Please Cc any replies to me, as I do not subscribe to this list due to
 the volume.
-- 
\\//
peter - http://www.softwolves.pp.se/

  Statement concerning unsolicited e-mail according to Swedish law:
  http://www.softwolves.pp.se/peter/reklampost.html




Re: modprobe can't locate module char-major-6

2000-10-29 Thread Bud Rogers
On Sun, 29 Oct 2000, you wrote:
> On 29 Oct, Bud Rogers wrote:
> > Could someone remind me where the file is that lists all those?
>
> The current aliases are in file /etc/modules.conf
> The configuration is done to file /etc/modutils/aliases and changes
> updated using command update-modules.

Thank you, Tuukka.  But what I meant to ask was the location of the file that 
lists all the char-major-N entries.  I don't remember what char-major-6 is.

-- 
Bud Rogers <[EMAIL PROTECTED]>



Re: modprobe can't locate module char-major-6

2000-10-29 Thread sena
I heard that Bud Rogers wrote this on 29/10/00:

> Thank you, Tuukka.  But what I meant to ask was the location of the file that 
> lists all the char-major-N entries.  I don't remember what char-major-6 is.
> 
If you have the linux kernel source, check the Documentation/devices.txt
file. It lists all the devices, sorted by major...

Regards, sena...

-- 
[EMAIL PROTECTED]
http://decoy.ath.cx/~sena/



Re: KDE2 dependence problem

2000-10-29 Thread Maciej Kalisiak
On Fri, Oct 27, 2000 at 07:14:14AM -0400, Peter Fedichev wrote:
> I have seen a couple of "I have installed KDE2" reports here. How have
> you managed, since .debs on ftp.kde.org seem to require libgl1?

Hi,

I've installed the 2.0-final debs of kdyc (see other posts on what apt.sources
line to use).  I've got everything running almost completely stable, other
than a very occasional crash of Konqueror (only happened twice so far), and
klipper dying when you highlight stuff in Netscape (it's a known KDE bug).  I
found that some packages, such as kdenetwork, are obsolete now, and you should
install the packages it was broken down into (knode and kmail, in this case).
The obsolete package has apps that crash, the newer packages work fine.
Probably the best thing to do is to install the virtual package 'task-kde',
which will install a whole slew of packages and give you a proper KDE setup.
You still might have to install some KDE packages you want that it missed, but
in general I've gotten the best results that way.

-- 
Maciej Kalisiak | <[EMAIL PROTECTED]> | http://www.dgp.toronto.edu/~mac [McQ]
PGP->finger|www; (0x39AC36F5) 9F BB 9E 11 F0 1E 5D 20  0B 31 3D 37 47 D0 67 C7
GE/CS d- s++:+ a- C++(+++) ULAI++ P+++ L+++ E+++ W++ N- o? K? !w--- O- M- V--
PS PE+ Y+ PGP+ t+ 5 !X-- R+ tv-- b+> DI+ G+ e>+++>(*) h--- r+++ y? 



Re: modprobe can't locate module char-major-6

2000-10-29 Thread Bud Rogers
On Sun, 29 Oct 2000, sena wrote:
> I heard that Bud Rogers wrote this on 29/10/00:
> > Thank you, Tuukka.  But what I meant to ask was the location of the file
> > that lists all the char-major-N entries.  I don't remember what
> > char-major-6 is.
>
> If you have the linux kernel source, check the Documentation/devices.txt
> file. It lists all the devices, sorted by major...

Thanks, that's what I needed.

-- 
Bud Rogers <[EMAIL PROTECTED]>



Halt / Reboot: other user

2000-10-29 Thread Sebastian Padó
Hi all,

I run xdm as my x login manager and I would like to
be able to reboot and halt from it (like kdm allows it).

My idea was as follows: I created two new users, reboot
and halt, whose .xsession only contained
"/sbin/shutdown -r -a now" and "/sbin/shutdown -h -a now"
respectively.
I also created the file /etc/shutdown.allow with both
users in it, as described in the shutdown man page.

But it does not work!
Reading the man page once more, I stumbled over the phrase:
> It then compares the login names in that file (shutdown.allow) 
> with the list of people that are logged in on a virtual console
>  (from /var/run/utmp)
I guess that is the problem, isn't it?: When I log in on xdm, I am not
logged in on a virtual console.

Is there a more, say, canonical way of achieving what I want? 
Can I modify the .xsession in a particular way?

I'm grateful for every trace..

Sebastian Pado

-- 
Charly was a chemist, but Charly is no more.
What Charly thought was H20 was H2SO4.



Re: Halt / Reboot: other user

2000-10-29 Thread Miquel van Smoorenburg
In article <[EMAIL PROTECTED]>,
Sebastian =?iso-8859-1?Q?Pad=F3?=  <[EMAIL PROTECTED]> wrote:
>Hi all,
>
>I run xdm as my x login manager and I would like to
>be able to reboot and halt from it (like kdm allows it).
>
>My idea was as follows: I created two new users, reboot
>and halt, whose .xsession only contained
>"/sbin/shutdown -r -a now" and "/sbin/shutdown -h -a now"
>respectively.
>I also created the file /etc/shutdown.allow with both
>users in it, as described in the shutdown man page.

You misread the shutdown manual page. That is absolutely not
what the /etc/shutdown.allow file is for.

>Is there a more, say, canonical way of achieving what I want? 
>Can I modify the .xsession in a particular way?

Install and configure 'sudo' so that your halt and shutdown
users can call shutdown as root.

Mike.
-- 
People get the operating system they deserve.



Can you run 4 commands on a potato (stable) box?

2000-10-29 Thread Shaul Karl
Can someone run the following on a *potato* (stable) box and let me know the 
results?

ls -ld /var/man/cache
ls -l /var/man/cache
dpkg -S /var/man/cache
dpkg -S /var/man/cache/index.bt


Explanation: I am using unstable and I believe that somehow there is a problem 
with the latest unstable version of /var/man/cache and /var/man/cache/index.bt.

Thank you.
-- 

Shaul Karl <[EMAIL PROTECTED]>




Re: OT: compiling new gcc--can it coexist with old?

2000-10-29 Thread Chris Gray
On Sat, Oct 28, 2000 at 09:20:00PM -0700, Kenward Vaughan wrote:
> The docs are not totally clear to this clueless non-programmer about the
> options to use for the configure step, but I chose the following:
> 
> hpotter:/usr/local/obj# ../src/gcc-2.95.2/configure --enable-haifa
> --enable-shared --enable-threads --enable-cpp --enable-cpplib
> --enable-version-specific-runtime-libs
> --with-gxx-include-dir=/usr/local/include --with-dwarf2 --with-stabs
> 
> where I had created /usr/local/obj for the objdir mentioned in the docs, and 
> have the sources in /usr/local/src/gcc-2.95.2 (obviously, from the above).
> 
> Does this make sense? I could not make heads or tails about the other
> options mentioned.  I am particularly concerned that what I create will not 
> interfere with the normal gcc I wish to leave in /usr/bin.  Is there any way 
> that the above will mess up the other one or its libs, etc?  

It looks like you're making it more of a production than it has to be,
but that's okay.  It shouldn't mess up any libs.

> Lastly, the totally dumb question of the day is How would I use it w/o
> having the other one interfere when I try compiling various package sources?

Just make sure that it installs into /usr/local/bin which it will by
default.  Then set your PATH to be "/usr/local/bin:$PATH" and you're on
your way.  If you want the old gcc to be used when you are compiling
packages, you can either do something like:

$ CC=/usr/bin/gcc make

or edit the Makefile to have the CC variable (which is fairly standard)
point to /usr/bin/gcc.

Good luck,
Chris

-- 
IF I HAD A MINE SHAFT, I don't think I would just abandon it.  There's
got to be a better way.
-- Jack Handley, The New Mexican, 1988.



konqueror fonts

2000-10-29 Thread jens
hi there ...

does anyone have the same font problems
with the KDE 2.0-final Konqueror?

--
with friendly regards
jens luedicke <[EMAIL PROTECTED]>





xdm-config problems

2000-10-29 Thread Manuel Hendel
Hallo,

I'm using xdm and fvwm2. After the starting process of my computer,
the xdm login window pops up, but there's no background image or
color. I tried to fix this problem by changing some values in the
Xresources file in the /etc/X11/xdm directory, as well as in the
/etc/X11 directory.
Can someone give me a hint, solving this?

Tanks.
Manuel



Re: OT: Cross-platform document format?

2000-10-29 Thread John Hasler
Kent West writes:
> Thanks for the response. I was looking for a common document format, so
> that the students on campus would quit turning their homework in as .DOC
> format. I don't think I'm going to get the students to give up MS-Word on
> MS-Windows to learn LaTeX, etc, although in an ideal world

My wife suggests that you offer your students extra credit for turning in
homework in your preferred format.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI



ISDN PPP configurálás

2000-10-29 Thread Csáklán Tibor
Sikerult az ISDN kártyát a kernelbe forditanom de nem tudom a pppd
beállitani
és igy ISDN (fritz) kártyával az  internet szolgáltatóm
felhivnom.segitség SOS


tibor



Re: Halt / Reboot: other user

2000-10-29 Thread Martin Fluch
On Sun, 29 Oct 2000, Sebastian Padó wrote:

> Hi all,
> 
> I run xdm as my x login manager and I would like to
> be able to reboot and halt from it (like kdm allows it).

I've created the script /usr/local/sbin/tkmgr:

#!/usr/bin/wishx

# Init stuff
wm title . Chooser
wm protocol . WM_DELETE_WINDOW Quit

# Ganz unten
wm geometry . -0-0

# The buttons
frame .buttons
button .buttons.reboot \
-text "Reboot" \
-width 10 \
-command Reboot
button .buttons.halt \
-text "Halt" \
-width 10 \
-command Halt
pack append .buttons \
.buttons.halt   {left expand fill} \
.buttons.reboot {left expand fill}

pack .buttons -side top -fill x -expand true

# The Functions
proc Quit {} {
exit 0
}

proc Reboot {} {
exec /sbin/shutdown -rt 15 now < /dev/tty1 > /dev/tty1 2> /dev/tty1 &
}

proc Halt {} {
exec /sbin/shutdown -ht 15 now < /dev/tty1 > /dev/tty1 2> /dev/tty1 &
}


Then I've added to the /etc/X11/xdm/Xsetup_0 file the line 

/usr/local/sbin/tkmgr &

And to the /etc/X11/xdm/Xstartup_0

killall tkmgr

That works, needs some package providing a wishx, for example wishx8.0.4

Martin

-- 
Linux - the last service pack you'll ever need.

For public GnuPG-key: finger [EMAIL PROTECTED]



Need help/feedback on backup script

2000-10-29 Thread Jesse Goerz
I've created a backup script and would like some feedback/help on it.  Any tips 
or
pointers would be greatly appreciated.  Feel free to use/hack it on your own.

here it is:

<-- Begin Script -->
#!/bin/bash

# Many thanks to Robb Kidd who brought up the question of backup
# strategies on the Debian-user mailing list and Karsten M. Self's
# responses. This script wouldn't have been possible without them. :-)


# To do list
# I would like to make all the configuration
# done in the variable section.  Let the script
# remain the same; just update/change variables
# as necessary.  That way anyone can use it.

# Need to read up on sed or awk so I can change
# the "/" of the directories and change them
# to "." for the saved tar's filename.

# Develop a system which allows tar to exclude files
# based on choices made in the variable section.
# This will have to be pretty flexible. This should
# take care of the way the /usr/local section looks
# right now.  :-(

# Would it be possible to create one base script
# and then just loop through it with variables
# controlling what is backed up and what is not?
# Of course.  This is Linux. Study harder!

# Script to rebuild.

# My simple script for backing up files (it started that way, jeesh)

# Create variables
# The root directory of the backed up files 
# before you commit it to the backup media.
# Note, this could be the media itself if you
# don't use another program to put it there.
# (i.e. Zip/tape drives vs. CD-R's)
ARCHIVE_ROOT="/usr/local/cdsrc/backup"

# This is where you'll put the tar-zipped files.
# I add this primarily for users who put files
# in their backup other than what is covered in
# this script.  (i.e. custom .deb files, etc.)
# This way you can keep these files "seperate"
# from the remainder of your backup volume. I
# believe this really only helps debian users
# who are making the media "apt-getable".
BACKUP_DIR="$ARCHIVE_ROOT/backup"

# This is where you store your custom kernel.
# Do not change this variable or comment it out
# if you do not have a custom kernel.
# The script tests against it being "not_set".
# If you do not set this, the script will attempt
# to grab the kernel from /usr/src/linux/.config
# If you do have a custom kernel include the full
# absolute path AND filename of the configuration file.
CUSTOM_KER="not_set"

# Default tar options are -IPpscvf.  I recommend you
# leave it in verbose (-v) mode at least the first time
# through so you know it's doing what you want.  You can
# find out exactly what the options are doing by typing
# man tar at the prompt.  One weird thing I noticed about
# tar; you need to keep the capital letter options first.
# Keep that in mind if you edit this variable.
TAR_OPT_DEF="-IPpscf"

# The tar file suffix.  In case you want .tgz or .bzip2, etc.
# Note: do not include a "." in front of the suffix (extentsion)
TAR_FILE_SUF="bzip2"


# Once this script is complete, people shouldn't have to configure anything#
# below this point.#



# Create "Test" variables.  These will be used in the
# "Test script configuration" section.
# If you add more variables ensure there is a
# space between them. Testing to see if the
# root and backup directories exist and are directories.
DIR_VAR_LIST="$ARCHIVE_ROOT $BACKUP_DIR"

# Program variables (setting up for PROG_VAR_LIST)
PROG_TAR=`which tar`
PROG_GZIP=`which gzip`
PROG_BZIP2=`which bzip2`
PROG_TEST_NULL=

# So the variable list below works we need to set 
variables
# to some value if they're not here, otherwise the 
output
# of the for loop doesn't look right.
if [ $PROG_TAR == $PROG_TEST_NULL ]; then
PROG_TAR="tar"
fi

if [ $PROG_GZIP == $PROG_TEST_NULL ]; then
PROG_GZIP="gzip"
fi
 

ftpd - howto?

2000-10-29 Thread m_g_m
Hi, 
after the nice responses last time, I want to try again now.
I followed the ftp-user-discussion and thought I'd better change from
proftpd which was installed pretty easy to ftpd.

My problem is now: how can i grant anonymous-user-access at all, how do
you i configure the ftpd?

Does anyone here got some hints for me? (man ftpd doesn't work btw)
Thx a lot,
Michael

-- 
Sent through GMX FreeMail - http://www.gmx.net



Re: where did ldd go?

2000-10-29 Thread Brent Buchholz
On Sun, Oct 29, 2000 at 02:33:06AM -0800, Krzys Majewski wrote:
> Erh, there  used to  be something called  ldd, right? For  finding out
> which dynamic libs an executable linked against? It's gone! Where do I
> get it? Where is there a map of binary names to debs? -chris
> 
This doesn't help if it's not in your path, but:

$ dpkg -S `which ldd`
libc6: /usr/bin/ldd

Are there other signs that glibc is broken on your system?

Brent
-- 
"Would you like to play a game of hide and seek now?
If you have X-Ray eyes, promise not to peek now!"
   --The Apples in Stereo "Signal in the Sky (Let's Go)"



Re: Halt / Reboot: other user

2000-10-29 Thread Frank Barknecht
Sebastian Padó hat gesagt: // Sebastian Padó wrote:

> I run xdm as my x login manager and I would like to
> be able to reboot and halt from it (like kdm allows it).

I use a little script at all my home machines that you may like, too.

The trick is: The Xserver is running as root anyway, so if you can get
the xserver to run the shutdown command, there is no need to mess with
sudo etc.

The script inserts two littles buttons in the xdm-screen: One for
shutting down, one for reboot.

Installation is simple. Put the attached tkmgr-script in /usr/local/bin

You have to edit two config files. First put the following at the end of
"/etc/X11/xdm/Xsetup_0"

#  snip Xsetup_0 --
# Starting the shutdownmanager:
/usr/local/bin/tkmgr &
echo $! > /var/run/tkmgr-pid
#  snip ---

Then put this in "/etc/X11/xdm/Xstartup_0":

#  snip Xstartup_0 --
# :0 specific startup commands go here

# Kill the Shutdownmanager:
if [ -f /var/run/tkmgr-pid ]
then
  kill `cat /var/run/tkmgr-pid`
  rm -f /var/run/tkmgr-pid
fi
#  snip  --


That's it.

bye
-- 
 ____
 Frank Barknecht    __    __ trip\ \  / /wire __
  / __// __  /__/ __// // __  \ \/ /  __ \\  ___\   
 / /  / /  / /  / // // /\ \\  ___\\ \  
/_/  /_/  /_/  /_//_// /  \ \\_\\_\
/_/\_\ 
#!/usr/bin/wishx

# Init stuff
wm title . Chooser
wm protocol . WM_DELETE_WINDOW Quit

# Ganz unten
wm geometry . +1-1

# The buttons
frame .buttons
button .buttons.reboot \
-text "System neu starten" \
-width 19 \
-command Reboot
button .buttons.halt \
-text "System runterfahren" \
-width 19 \
-command Halt
pack append .buttons \
.buttons.halt   {left expand fill} \
.buttons.reboot {left expand fill}

pack .buttons -side top -fill x -expand true

# The Functions
proc Quit {} {
exit 0
}

proc Reboot {} {
exec /sbin/shutdown -rt 15 now < /dev/tty1 > /dev/tty1 2> /dev/tty1 &
}

proc Halt {} {
exec /sbin/shutdown -ht 15 now < /dev/tty1 > /dev/tty1 2> /dev/tty1 &
}



Re: ftpd - howto?

2000-10-29 Thread sena
I heard that [EMAIL PROTECTED] wrote this on 29/10/00:

> after the nice responses last time, I want to try again now.
> I followed the ftp-user-discussion and thought I'd better change from
> proftpd which was installed pretty easy to ftpd.
> 
And why did you change from proftpd to ftpd (netkit's ftpd)??

I suggest that, if you don't want to use proftpd (very good daemon), you
should use wu-ftpd instead of ftpd.

Regards, sena...

-- 
[EMAIL PROTECTED]
http://decoy.ath.cx/~sena/



ALSA problem in Potato

2000-10-29 Thread Christoph Haberberger
Hi!

I have a SB16 ASP ISA soundcard. It's not supported by OSS, so
I installed the ALSA packages included in Potato. The sound works,
but there is an annoying "knack" noise about every 2 seconds (in
average, depends on music) in the right stereo channel (only during
playing). I've checked my earphones of course, but it should have to
do something with Debian or the ALSA version, because my previous
System was a Slackware 4 extended by a self-compiled ALSA system
and everything worked fine.
There are similar noises, when I change the master volume in the mixer
(also without playing). I have deactivated all other channels (microphone,
etc.), but nothing changes.

My questions:
- Does anyone have a the same (or even similar) problem?
- Can anyone give me hint, what I can check or how to solve
this problem?

PS: I don't wont to install the source distribution of ALSA, because
of clean package management in my fresh Potato installation.

Thanks in advance.
Regards,
Christoph.

-- 

Mit freundlichen Grüßen
Christoph Haberberger <[EMAIL PROTECTED]>



Re: ftpd - howto?

2000-10-29 Thread Michael P. Soulier
On Sun, Oct 29, 2000 at 05:25:14PM +, sena wrote:

> And why did you change from proftpd to ftpd (netkit's ftpd)??
> 
> I suggest that, if you don't want to use proftpd (very good daemon), you
> should use wu-ftpd instead of ftpd.

Why's that? Security issues? 

Mike

-- 
Michael P. Soulier <[EMAIL PROTECTED]>
"...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort."  -Harley Hahn, A Student's Guide to UNIX
PGP Public Key: http://www.storm.ca/~msoulier/personal.html


pgppy6LMkXzzn.pgp
Description: PGP signature


Re: xdm-config problems

2000-10-29 Thread Eric G . Miller
On Sun, Oct 29, 2000 at 10:54:40PM +0100, Manuel Hendel wrote:
> Hallo,
> 
> I'm using xdm and fvwm2. After the starting process of my computer,
> the xdm login window pops up, but there's no background image or
> color. I tried to fix this problem by changing some values in the
> Xresources file in the /etc/X11/xdm directory, as well as in the
> /etc/X11 directory.
> Can someone give me a hint, solving this?

Check out xbanner. 

-- 
#! /bin/sh
# ppp-address: What's my Internet Address for ppp0 ?
/sbin/ifconfig ppp0 2> /dev/null | grep 'inet addr:' | sed \
's=.*inet 
addr\:\([0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\).*=\1='



3dfx.o

2000-10-29 Thread David Bellows
Hello all,

At one point I had my Voodoo 3 working perfectly in Debian, but then I
installed a new SB Live! which is where things went south.  In order to
get sound to work I upgraded to the latest (unstable) ALSA which in turn
required a kernel update, etc.  After a few hours I got it all working
with the new kernel (2.2.17 as opposed to 2.2.17pre6 -- the default from
potato).  But when I tried to load the 3dfx module I got these errors:

/lib/modules/2.2.17/misc/3dfx.o: unresolved symbol
register_chrdev_R06af9881
/lib/modules/2.2.17/misc/3dfx.o: insmod /lib/modules/2.2.17/misc/3dfx.o
failed
/lib/modules/2.2.17/misc/3dfx.o: insmod 3dfx failed

As I said before, I did have all this working with kernel 2.2.17pre6. 
So I attempted to follow the directions and recompile the 3dfx source
for my new kernel.  No go.  I can't for the life of me get anything to
work.  So my question is, has anyone got their Voodoo3 working with the
woody kernel 2.2.17?  And would the compiled module 3dfx.o also work on
my machine (AMD K6II-300)?  And so, would somebody please send me a
copy?

Thanks,
David Bellows



Re: Can you run 4 commands on a potato (stable) box?

2000-10-29 Thread Jeremy Gaddis
On Sun, 29 Oct 2000, Shaul Karl wrote:

> Can someone run the following on a *potato* (stable) box and let me know the 
> results?
 
> ls -ld /var/man/cache

[EMAIL PROTECTED]:pts/0:~]$ ls -ld /var/man/cache
ls: /var/man/cache: No such file or directory

> ls -l /var/man/cache

[EMAIL PROTECTED]:pts/0:~]$ ls -l /var/man/cache
ls: /var/man/cache: No such file or directory

> dpkg -S /var/man/cache

[EMAIL PROTECTED]:pts/0:~]$ dpkg -S /var/man/cache
dpkg: /var/man/cache not found.

> dpkg -S /var/man/cache/index.bt

[EMAIL PROTECTED]:pts/0:~]$ dpkg -S /var/man/cache/index.bt
dpkg: /var/man/cache/index.bt not found.

-jg

--
Jeremy L. Gaddis <[EMAIL PROTECTED]>




dpkg -scanpackages - how?

2000-10-29 Thread Robin Collins
In response to a question from me about how to make use of the .debs I'd
accumulated in /var/cache/apt during a re-install several people helpfully
suggested I did

dpkg -scanpackages

Well, I tried and failed.  Looking at the man and info pages for dpkg I
don't see any scan capability.  What do I have to install to get this
feature?

Cheers,
Robin Collins



Re: dpkg -scanpackages - how?

2000-10-29 Thread Thomas Weinbrenner
"Robin Collins" <[EMAIL PROTECTED]> wrote:

> In response to a question from me about how to make use of the .debs I'd
> accumulated in /var/cache/apt during a re-install several people helpfully
> suggested I did
> 
> dpkg -scanpackages
  ^
> 
> Well, I tried and failed.  

Try "dpkg-scanpackages" without a space.

> Looking at the man and info pages for dpkg I
> don't see any scan capability.  What do I have to install to get this
> feature?

dpkg-dev

-- 
Thomas Weinbrenner



Re: security questions

2000-10-29 Thread brian moore
On Sat, Oct 28, 2000 at 08:36:47PM +0200, Robert Waldner wrote:
> On Sat, 28 Oct 2000 10:06:56 PDT, Peter Jay Salzman writes:
> >also, i noticed that some accounts which are disabled are given a shell of
> >/bin/false:
> >
> > ftp:x:100:65534::/home/ftp:/bin/false
> >
> >tiger seemed to hate this too.  i tried playing around with /bin/false.
> >can't seem to figure out what it is.  whatever it is, it's tiny.  only 4 kb
> >long.
> 
> 
> there are /bin/true (which gives a return code of 0 when run) and /bin/
>  false (which returns 1) (both values IIRC). very handy if you want to 
>  do something like `if ( || /bin/true)` for some reason.
> giving a shell with /bin/false effectively disables the account´s
>  possibility to get a login shell, but (as in case with ftp) shouldn´t
>  hinder other services (eg ftp, pop3, .forward etc.).
> 
> all of the above is in theory, because I tried that some time 
>  ago but couldn´t get an ftp-login when the shell was /bin/false, but I 
>  remember reading about it somewhere...

typically, ftpd checks to see if your shell is in /etc/shells -- if it's
not, you can't ftp.

-- 
CueCat decoder .signature by Larry Wall:
#!/usr/bin/perl -n
printf "Serial: %s Type: %s Code: %s\n", map { tr/a-zA-Z0-9+-/ -_/; $_ = unpack
'u', chr(32 + length()*3/4) . $_; s/\0+$//; $_ ^= "C" x length; } /\.([^.]+)/g; 



Re: where did ldd go?

2000-10-29 Thread Krzys Majewski
> This doesn't help if it's not in your path, but:
> 
> $ dpkg -S `which ldd`
> libc6: /usr/bin/ldd

OK thanks, I used to do this by grepping /var/lib/dpkg/info/*

> Are there other signs that glibc is broken on your system?

Well, I don't know. I pointed  apt-get to unstable in order to install
something (xmps??),  which ended up  upgrading my libc and  some other
stuff (C++ libraries??). This  broke something else (undefined symbols
in some  X libraries  when compiling stuff).  So I  manually downgraded
libc (and hopefully  all the other things that  had been upgraded) via
ftp + dpkg.  Now I have the  stable libc again, but as  you suggest, I
may have broken something in the process. 

I've now got ldd from the ldso deb. 

-chris






Re: Can you run 4 commands on a potato (stable) box?

2000-10-29 Thread Krzys Majewski
Me too. 
-chris



Re: Can you run 4 commands on a potato (stable) box?

2000-10-29 Thread kmself
on Sun, Oct 29, 2000 at 05:21:29PM +0200, Shaul Karl ([EMAIL PROTECTED]) wrote:
> Can someone run the following on a *potato* (stable) box and let me know the 
> results?
> 
> ls -ld /var/man/cache
> ls -l /var/man/cache
> dpkg -S /var/man/cache
> dpkg -S /var/man/cache/index.bt
> 
> 
> Explanation: I am using unstable and I believe that somehow there is a 
> problem 
> with the latest unstable version of /var/man/cache and 
> /var/man/cache/index.bt.

...maybe you mean /var/cache/man, not /var/man/cache?

Running Woody here.

-- 
Karsten M. Self  http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.http://www.opensales.org
  What part of "Gestalt" don't you understand?  There is no K5 cabal
   http://gestalt-system.sourceforge.net/http://www.kuro5hin.org


pgpU4bYDJPu2B.pgp
Description: PGP signature


Re: VoIP Developer Kit.

2000-10-29 Thread A. D. Sharma
I require a used/second hand IP phone development kit including IP phone
reference design, STIC card, VoIP software etc. for my personal R & D at
cheap rate or donation since I can't afford it..

Thanks !

--

A. D. Sharma,
[EMAIL PROTECTED]

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






Re: ALSA problem in Potato

2000-10-29 Thread Krzys Majewski
Christoph Haberberger <[EMAIL PROTECTED]> writes:

> PS: I don't wont to install the source distribution of ALSA, because
> of clean package management in my fresh Potato installation.

Check  out  the  "equivs"  package for  circumventing  Debian  package
dependencies. -chris



Re: En snabb fråga...

2000-10-29 Thread Klaus Stylianos Ade Johnstad


On Sat, 28 Oct 2000, V.Micic wrote:

> Var kan jag ladda hem den senaste versionen av Debian i ISO format,jag har 
> letat men inte hittat...
> Tack i Förhand
> 
Her hentet jeg mine:
sunsite.uio.no/pub/linux/ISO-images
Klaus



USB mouse

2000-10-29 Thread Joel Dinel
I've got a Logitech optical mouse with Wheel (a la Intellimouse). It has an USB 
and PS/2 connector. Is it possible to get it working in USB mode, and what 
would I need to do ?!

Thanks !

-- 

Joel Dinel
[EMAIL PROTECTED]



Re: En snabb fr?ga...

2000-10-29 Thread Andy Bastien
There are those who would have you believe that V.Micic wrote:
> Var kan jag ladda hem den senaste versionen av Debian i ISO format,jag har
> letat men inte hittat...
> Tack i Förhand


I am the only one who tried to rot13 this?



Re: 3dfx.o

2000-10-29 Thread David Bellows
Joel Dinel wrote:
> 
> > /lib/modules/2.2.17/misc/3dfx.o: unresolved symbol
> > register_chrdev_R06af9881
> > /lib/modules/2.2.17/misc/3dfx.o: insmod /lib/modules/2.2.17/misc/3dfx.o
> > failed
> > /lib/modules/2.2.17/misc/3dfx.o: insmod 3dfx failed
> 
> Did you move your module from your old kernel to your new one ?
> 
> If you had kernel 2.2.15, you'd need to move /lib/modules/2.2.15/misc/3dfx.o 
> to /lib/modules/2.2.17/misc/.
> 
> Try that.

Yep, I had already done that -- still the same errors.

Thanks,
David Bellows



No networking from certain users

2000-10-29 Thread Ross Boylan
My machine is potato + a little woody (for Helix).  I have no problems with 
dial-up or ethernet networking.


However, I recently tried logging in using a different account, which is in 
the dip group.  I found


1) My windows laptop could not see my machine, which is running 
samba.  This is an ethernet connection.  I tried rebooting the laptop, to 
no effect.  Also, directly specifying the full path (\\wheat\v) did not help.
This is particularly odd since I thought samba was being run by the OS, not 
the user that happened to be logged in.


2) pon worked to dial up out of the account.  However, I had 0 network 
connectivity.  ping couldn't reach anywhere.  fetchmail got 
nothing.  Despite this, the phone connection remained (if I have the wrong 
password in the account I generally get disconnected) and much of the log 
activity looked normal (ip-up, ppd, talk all show up in the log).


I did set up the dial-up account and ip-up for the account.  Or at least I 
tried to!


I'd appreciate any clues about where to look for a solution.  Thanks.



ls -R | grep char_string

2000-10-29 Thread robert_wilhelm_land
I would like to search all files in the current und subdirs for a
char_string.
Why does this commandstring not work?:

ls -R | grep char_string

No error , no nothing - although this certain char_string is in a
simple ASCII text file!


Robert



Re: USB mouse

2000-10-29 Thread Philipp Schulte
On Sun, Oct 29, 2000 at 04:41:52PM -0500, Joel Dinel wrote: 

> I've got a Logitech optical mouse with Wheel (a la Intellimouse). It
> has an USB and PS/2 connector. Is it possible to get it working in
> USB mode, and what would I need to do ?!  

http://www.linux-usb.org says this mouse works with USB.
There is a Backport available which enables USB for 2.2-Kernels. Just
look at this site, it will tell you what to do.
Phil



Re: ls -R | grep char_string

2000-10-29 Thread Christoph H.
> I would like to search all files in the current und subdirs for a
> char_string.
> Why does this commandstring not work?:
>
> ls -R | grep char_string
>
> No error , no nothing - although this certain char_string is in a
> simple ASCII text file!

You are searching for a string in the name of all files in the
current dir and subdirs, but I think you want to search for a string 
_within_ all files.

Therefore you have to do something like that:
find . -exec grep -H char_string {} \; 2>/dev/null

Regards,
Christoph.



Re: 3dfx.o

2000-10-29 Thread Peter Jay Salzman
dave,

this isn't the reply you wanted, but fwiw, i can't get the 3dfx driver to
work for the life of me.  i've been at it for a couple of days now.  i
emailed the packager, steve hasam(sp?) twice, and he hasn't replied at all.
not even a "RTFM".  (i'll leave my opinion of his maintainer's status unsaid).

i've read a number of people in the same predicament on this list.  i'd say
4 or 5 people by now, in the past 2 weeks.  one person emailed me and said
his driver worked.  i emailed him back and got no reply.

i also tried using rpm2cpio on the rpms offered on 3dfx's website.  they
compiled and didn't work either, but i should try that again.

if someone here has their voodoo 3 working, a bunch of people would really
like to hear from you!

pete



On Sun, 29 Oct 2000, David Bellows wrote:

> Hello all,
> 
> At one point I had my Voodoo 3 working perfectly in Debian, but then I
> installed a new SB Live! which is where things went south.  In order to
> get sound to work I upgraded to the latest (unstable) ALSA which in turn
> required a kernel update, etc.  After a few hours I got it all working
> with the new kernel (2.2.17 as opposed to 2.2.17pre6 -- the default from
> potato).  But when I tried to load the 3dfx module I got these errors:
> 
> /lib/modules/2.2.17/misc/3dfx.o: unresolved symbol
> register_chrdev_R06af9881
> /lib/modules/2.2.17/misc/3dfx.o: insmod /lib/modules/2.2.17/misc/3dfx.o
> failed
> /lib/modules/2.2.17/misc/3dfx.o: insmod 3dfx failed
> 
> As I said before, I did have all this working with kernel 2.2.17pre6. 
> So I attempted to follow the directions and recompile the 3dfx source
> for my new kernel.  No go.  I can't for the life of me get anything to
> work.  So my question is, has anyone got their Voodoo3 working with the
> woody kernel 2.2.17?  And would the compiled module 3dfx.o also work on
> my machine (AMD K6II-300)?  And so, would somebody please send me a
> copy?
> 
> Thanks,
> David Bellows
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> 



Re: potato install

2000-10-29 Thread ralbright5
> VM: do_try_to_free_pages failed for kswapd

>Known problem of linux 2.2.16 and some 2.2.17pre's.
>Update linux to 2.2.17 or even 2.2.18pre.
this newbie wants to know whats name of what I need. have browsed
metallab's potato
list but can't locate the kernels ]
TIA
robert

YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.



scanner; linux-gazette

2000-10-29 Thread A R
1. My scanner is connected to a usb port, the man page indicates that
the device must be preferable indicated through the preferences menu of
the options. But I cant start it because there is device configured!!!
2. Is there any command to see the linux-gazette without browsing into
the directories where it installs?
Thanks,
AR



Re: ls -R | grep char_string

2000-10-29 Thread Erik Steffl
"Christoph H." wrote:
> 
> > I would like to search all files in the current und subdirs for a
> > char_string.
> > Why does this commandstring not work?:
> >
> > ls -R | grep char_string
> >
> > No error , no nothing - although this certain char_string is in a
> > simple ASCII text file!
> 
> You are searching for a string in the name of all files in the
> current dir and subdirs, but I think you want to search for a string
> _within_ all files.
> 
> Therefore you have to do something like that:
> find . -exec grep -H char_string {} \; 2>/dev/null

  or slightly more effective:

  find . -type f |xargs grep char_string /dev/null

  it's also more poratable because -H is not as widely supported as the
rest of the above (of course, talking about debian, it is supported...)

  also note that 2> works only in sh-derived shells, in csh-derived
shells:

  (command > /dev/tty) >& /dev/null

erik



Re: What provides "gnome-config"?

2000-10-29 Thread Bob Bernstein
> "KM" == Krzys Majewski <[EMAIL PROTECTED]> writes:

KM> I need something called gnome-config to compile xmps, anybody
KM> know where to find this? 

I keep on hand a copy "Contents-i386.gz" from the /debian/dists/stable
directory on ftp.debian.org or your favoriate handy mirror. Then when
a question like yours arises I do:

$ zgrep gnome-config Contents-i386.gz

and I will learn if the mystery creature is in a Debian package, and
if so, which package.

The answer here seems to be libgnome-dev.

-- 
Bob Bernstein
at
Esmond, R.I., USA



Re: 3dfx.o

2000-10-29 Thread Erik Steffl
  what do you do and what errors do you get? I had no problems until I
introduced epoch, it looks like package does not understand it properly
(see my other post or other reply to this thread)

  in response to David: you probably need to recompile 3dfx (build a new
package and install it)

erik

Peter Jay Salzman wrote:
> 
> dave,
> 
> this isn't the reply you wanted, but fwiw, i can't get the 3dfx driver to
> work for the life of me.  i've been at it for a couple of days now.  i
> emailed the packager, steve hasam(sp?) twice, and he hasn't replied at all.
> not even a "RTFM".  (i'll leave my opinion of his maintainer's status unsaid).
> 
> i've read a number of people in the same predicament on this list.  i'd say
> 4 or 5 people by now, in the past 2 weeks.  one person emailed me and said
> his driver worked.  i emailed him back and got no reply.
> 
> i also tried using rpm2cpio on the rpms offered on 3dfx's website.  they
> compiled and didn't work either, but i should try that again.
> 
> if someone here has their voodoo 3 working, a bunch of people would really
> like to hear from you!
> 
> pete
> 
> On Sun, 29 Oct 2000, David Bellows wrote:
> 
> > Hello all,
> >
> > At one point I had my Voodoo 3 working perfectly in Debian, but then I
> > installed a new SB Live! which is where things went south.  In order to
> > get sound to work I upgraded to the latest (unstable) ALSA which in turn
> > required a kernel update, etc.  After a few hours I got it all working
> > with the new kernel (2.2.17 as opposed to 2.2.17pre6 -- the default from
> > potato).  But when I tried to load the 3dfx module I got these errors:
> >
> > /lib/modules/2.2.17/misc/3dfx.o: unresolved symbol
> > register_chrdev_R06af9881
> > /lib/modules/2.2.17/misc/3dfx.o: insmod /lib/modules/2.2.17/misc/3dfx.o
> > failed
> > /lib/modules/2.2.17/misc/3dfx.o: insmod 3dfx failed
> >
> > As I said before, I did have all this working with kernel 2.2.17pre6.
> > So I attempted to follow the directions and recompile the 3dfx source
> > for my new kernel.  No go.  I can't for the life of me get anything to
> > work.  So my question is, has anyone got their Voodoo3 working with the
> > woody kernel 2.2.17?  And would the compiled module 3dfx.o also work on
> > my machine (AMD K6II-300)?  And so, would somebody please send me a
> > copy?
> >
> > Thanks,
> > David Bellows
> >
> >
> > --
> > Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> >
> >
> 
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null



Re: ls -R | grep char_string

2000-10-29 Thread Krzys Majewski
Erik Steffl <[EMAIL PROTECTED]> writes:

>   find . -type f |xargs grep char_string /dev/null

I use

find . -type f | xargs mogrep $1

where $1  is the expression to  search for, and  "mogrep" (below) knows
what to do with binary and compressed files. -chris 

#!/bin/sh

REGEXP=$1
PRGNAME=`basename $0`
TMP=/tmp/${PRGNAME}.$$

shift
for i in $*
do
SKIP=no
GZIP=no
case $i in
*.gz)
GZIP=yes
;;
*)
;;
esac
if [ ${GZIP} = yes ]; then
if ! zcat $i | file - | grep -i text >> /dev/null 2>&1; then
SKIP=yes
fi
else
if ! file $i | grep -i text >> /dev/null 2>&1; then
SKIP=yes
fi
fi
if [ ${SKIP} = no ]; then
GREP=grep
if [ ${GZIP} = yes ]; then
GREP=zgrep
fi
${GREP} -i ${REGEXP} $i > ${TMP}
if [ $? -eq 0 ]; then
printf "$i:"
cat ${TMP}
rm ${TMP}
fi
else
#   printf "'$i': Not a text file\n" 1>&2
printf hello >> /dev/null   
fi
done







Re: 3dfx.o -- SOLVED!!!

2000-10-29 Thread David Bellows
Hello Peter and anyone else having problems

Peter Jay Salzman wrote:
> 
> dave,
> 
> this isn't the reply you wanted, but fwiw, i can't get the 3dfx driver to
> work for the life of me.  i've been at it for a couple of days now.  i
> emailed the packager, steve hasam(sp?) twice, and he hasn't replied at all.
> not even a "RTFM".  (i'll leave my opinion of his maintainer's status unsaid).
> 
> i've read a number of people in the same predicament on this list.  i'd say
> 4 or 5 people by now, in the past 2 weeks.  one person emailed me and said
> his driver worked.  i emailed him back and got no reply.
> 
> i also tried using rpm2cpio on the rpms offered on 3dfx's website.  they
> compiled and didn't work either, but i should try that again.
> 
> if someone here has their voodoo 3 working, a bunch of people would really
> like to hear from you!
> 

OK, here's what I did.  

1)I apt-get removed my existing device3dfx-source and also removed
/usr/src/modules/ which is where the source was.

2) apt-get install device3dfx-source.

3) cd /usr/src/

4) tar zxfv device3dfx-source

5) cd modules  # This dir is created by the above command

6) cd modules/device3dfx

7) ./debian/buildpkg  # This as per the docs in
/usr/share/doc/device3dfx-source/README.Debian

8)  This time it compiled.  Before when I ran this command it wouldn't
compile, apparently I needed to clean up some stuff but I didn't know
how.  Re-installing the whole package provided me with a clean script.

9)  The module will be located in /usr/src/modules/device3dfx as 3dfx.o

10) cp 3dfx.o /lib/modules/2.2.17/misc/  # obviously sub 2.2.17 for
wherever your modules are.

11)  According to /usr/src/modules/device3dfx/debian/README.debian do
the following
  A) mknod /dev/3dfx c 107 0  
  B) make the group "audio" have rw permissions for /dev/3dfx
  C) make sure whatever user you want to use belongs to the group
"audio"

12)  insmod 3dfx

13) Start fragging  # hopefully, this worked for me.

Hope this helps,
David Bellows



Re: 3dfx.o

2000-10-29 Thread Erik Steffl
  what particular problems do you have?

  I have just upgraded 2.2.14 to 2.2.17 and recompiled modules (alsa and
3dfx) and everything worked fine. however, I introduced epochs (so that
my kenrel/modules packages are not overwritten by debian ones) and now
3dfx complains about incorrect version, here's my post about the
problem, do you have same problem or a different one?

  here's copy of my e-mail:

>  I have compiled a kernel with --revision 99:jojda.2
> 
>   kernel compiled OK, kernal package
> kernel-image-2.2.17_jojda.2_i386.deb (why is there no epoch in name?)
> 
>   I have 3dfx and alsa modules sources so I went on and did:
> 
>   make-kpkg modules_image (set MODULE_LOC first)
> 
>   it looks like alsa moduels where built correctly:
> 
> make[2]: Leaving directory `/usr/src/modules/alsa-driver'
> make[1]: Leaving directory `/usr/src/modules/alsa-driver'
> Module /usr/src/modules/alsa-driver processed fine
> 
>   and package was created: alsa-modules-2.2.17_0.5.9d-1+jojda.2_i386.deb
> 
>   however 3dfx module failed:
> 
> dh_builddeb --destdir=/usr/src/linux/..
> dpkg-deb: parse error, in file `debian/tmp/DEBIAN/control' near line 2
> package `device3dfx-module-2.2.17':
>  error in Version string `2.3.4-2+99:jojda.2': epoch in version is not
> number
> dh_builddeb: command returned error code
> make[1]: *** [kdist_image] Error 1
> make[1]: Leaving directory `/usr/src/modules/device3dfx'
> Module /usr/src/modules/device3dfx failed.
> Hit return to Continue
> 
>   no package created.
> 
>   is it a problem of 3dfx package builder?
> 
>   strange thing I noticed (epoch is in different places!):
> 
> Package: alsa-modules-2.2.17
> Version: 99:0.5.9d-1+jojda.2
> 
> Package: device3dfx-module-2.2.17
> Version: 2.3.4-2+99:jojda.2
> 
>   system: debian unstable, kernel 2.2.17
> 
>   TIA
> 

erik

David Bellows wrote:
> 
> Hello all,
> 
> At one point I had my Voodoo 3 working perfectly in Debian, but then I
> installed a new SB Live! which is where things went south.  In order to
> get sound to work I upgraded to the latest (unstable) ALSA which in turn
> required a kernel update, etc.  After a few hours I got it all working
> with the new kernel (2.2.17 as opposed to 2.2.17pre6 -- the default from
> potato).  But when I tried to load the 3dfx module I got these errors:
> 
> /lib/modules/2.2.17/misc/3dfx.o: unresolved symbol
> register_chrdev_R06af9881
> /lib/modules/2.2.17/misc/3dfx.o: insmod /lib/modules/2.2.17/misc/3dfx.o
> failed
> /lib/modules/2.2.17/misc/3dfx.o: insmod 3dfx failed
> 
> As I said before, I did have all this working with kernel 2.2.17pre6.
> So I attempted to follow the directions and recompile the 3dfx source
> for my new kernel.  No go.  I can't for the life of me get anything to
> work.  So my question is, has anyone got their Voodoo3 working with the
> woody kernel 2.2.17?  And would the compiled module 3dfx.o also work on
> my machine (AMD K6II-300)?  And so, would somebody please send me a
> copy?
> 
> Thanks,
> David Bellows
> 
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null



Re: What provides "gnome-config"?

2000-10-29 Thread Krzys Majewski
> I keep on hand a copy "Contents-i386.gz" from the /debian/dists/stable
> directory on ftp.debian.org or your favoriate handy mirror. Then when
> a question like yours arises I do:
> 
> $ zgrep gnome-config Contents-i386.gz

Nice, thanks. -chris



Re: password protect a directory?

2000-10-29 Thread Brian May
> "kmself" == kmself   writes:

kmself> Where n > 0 people need modification access to the same
kmself> data, a version control system should be implemented.  RCS
kmself> and CVS are available on Debian and their use is fairly
kmself> transparent.  For more complex organizations, BitKeeper is
kmself> a strongly recommended choice.

What is BitKeeper?  Is it DFSG? What are the benefits of it over CVS
for "more complex organisations"?
-- 
Brian May <[EMAIL PROTECTED]>



Re: password protect a directory?

2000-10-29 Thread Brendan Cully
On Monday, 30 October 2000 at 09:00, Brian May wrote:
> > "kmself" == kmself   writes:
> 
> kmself> Where n > 0 people need modification access to the same
> kmself> data, a version control system should be implemented.  RCS
> kmself> and CVS are available on Debian and their use is fairly
> kmself> transparent.  For more complex organizations, BitKeeper is
> kmself> a strongly recommended choice.
> 
> What is BitKeeper?  Is it DFSG? What are the benefits of it over CVS
> for "more complex organisations"?

It's Larry McVoy's source management system, which he has been pushing
on linux-kernel for quite some time, and which does sound nice. I'm
not too up on either its license or DFSG, but I don't think it
makes the cut (it reminded me of the original Qt license when last I
looked at it, actually more restrictive than that).

It's nicest feature as I recall is that it makes hierarchies of
repositories possible. You don't have to have commit access on the
main tree to be able to make your own branches on your tree, import
other people's changes and merge changes to the master tree into your
own. I always thought having only one master CVS repository was a real
pain for distributed (no, I won't say "bazaar"... argh, I said it!)
development...

-Brendan

-- 
Don't make Godzilla mad!


pgpzYWd7wtVtw.pgp
Description: PGP signature


Re: password protect a directory?

2000-10-29 Thread kmself
on Mon, Oct 30, 2000 at 09:00:00AM +1100, Brian May ([EMAIL PROTECTED]) wrote:
> > "kmself" == kmself   writes:
> 
> kmself> Where n > 0 people need modification access to the same
> kmself> data, a version control system should be implemented.  RCS
> kmself> and CVS are available on Debian and their use is fairly
> kmself> transparent.  For more complex organizations, BitKeeper is
> kmself> a strongly recommended choice.
> 
> What is BitKeeper?  Is it DFSG? What are the benefits of it over CVS
> for "more complex organisations"?

http://www.bitkeeper.com/

BitKeeper is "a scalable configuration management system, supporting 
globally distributed development, disconnected operation, compressed
repositories, change sets, and named lines of development (branches)".
It's written by Larry McVoy, written in part to address the problem of
"Linus doesn't scale", and is aimed at being the version control system
for Linux kernel development.  Larry's been involved with GNU/Linux for
ages, and is the author of "The Sourceware Operating System Proposal",
an early formative document regarding options for a free software OS:

http://www.bitmover.com/lm/papers/srcos.html

It's not DFSG.  It *is* source-available software, but it's not free for
commercial use, without some compromises a company might prefer to do
without. It *is* free for use on free software, and the source is
available.  Licensing has been an issue, this is how Larry thinks he can
make money with his company.  We're using BitKeeper at work.  It's used
by several other companies, including VA Linux.  

There are several advantages of BitKeeper over traditional version
control software.  I'd encourage you to look at the BitKeeper site for
details.  In particular, BitKeeper supports the idea of multiple
repositories, meaning that different departments within an organization,
or different groups, each with specific needs, can work without having
to worry about conflicts with the central repository.  I'm probably
phrasing this badly, would suggest you look to the website for further
data. 

-- 
Karsten M. Self  http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.http://www.opensales.org
  What part of "Gestalt" don't you understand?  There is no K5 cabal
   http://gestalt-system.sourceforge.net/http://www.kuro5hin.org


pgpRCR2Sw7KZY.pgp
Description: PGP signature


Re: Need help/feedback on backup script

2000-10-29 Thread kmself
on Sat, Oct 28, 2000 at 10:49:16PM -0400, Jesse Goerz ([EMAIL PROTECTED]) wrote:
> I've created a backup script and would like some feedback/help on it.
> Any tips or pointers would be greatly appreciated.  Feel free to
> use/hack it on your own.

Comments inline.

Not bad, but not how I'd do things.

> here it is:
> 
> <-- Begin Script -->
> #!/bin/bash
> 
> # Many thanks to Robb Kidd who brought up the question of backup
> # strategies on the Debian-user mailing list and Karsten M. Self's
> # responses. This script wouldn't have been possible without them. :-)
> 
> 
> # To do list
>   # I would like to make all the configuration
>   # done in the variable section.  Let the script
>   # remain the same; just update/change variables
>   # as necessary.  That way anyone can use it.
> 
>   # Need to read up on sed or awk so I can change
>   # the "/" of the directories and change them
>   # to "." for the saved tar's filename.
> 
>   # Develop a system which allows tar to exclude files
>   # based on choices made in the variable section.
>   # This will have to be pretty flexible. This should
>   # take care of the way the /usr/local section looks
>   # right now.  :-(
> 
>   # Would it be possible to create one base script
>   # and then just loop through it with variables
>   # controlling what is backed up and what is not?
>   # Of course.  This is Linux. Study harder!
> 
>   # Script to rebuild.
> 
> # My simple script for backing up files (it started that way, jeesh)
> 
>   # Create variables
>   # The root directory of the backed up files 
>   # before you commit it to the backup media.
>   # Note, this could be the media itself if you
>   # don't use another program to put it there.
>   # (i.e. Zip/tape drives vs. CD-R's)
>   ARCHIVE_ROOT="/usr/local/cdsrc/backup"
> 
>   # This is where you'll put the tar-zipped files.
>   # I add this primarily for users who put files
>   # in their backup other than what is covered in
>   # this script.  (i.e. custom .deb files, etc.)
>   # This way you can keep these files "seperate"
>   # from the remainder of your backup volume. I
>   # believe this really only helps debian users
>   # who are making the media "apt-getable".
>   BACKUP_DIR="$ARCHIVE_ROOT/backup"
> 
>   # This is where you store your custom kernel.
>   # Do not change this variable or comment it out
>   # if you do not have a custom kernel.
>   # The script tests against it being "not_set".
>   # If you do not set this, the script will attempt
>   # to grab the kernel from /usr/src/linux/.config
>   # If you do have a custom kernel include the full
>   # absolute path AND filename of the configuration file.
>   CUSTOM_KER="not_set"
> 
>   # Default tar options are -IPpscvf.  I recommend you
>   # leave it in verbose (-v) mode at least the first time
>   # through so you know it's doing what you want.  You can
>   # find out exactly what the options are doing by typing
>   # man tar at the prompt.  One weird thing I noticed about
>   # tar; you need to keep the capital letter options first.
>   # Keep that in mind if you edit this variable.
>   TAR_OPT_DEF="-IPpscf"

I'd strongly encourage you *not* to use the -P (preserve paths) option,
and question the -I (bzip2) compression option, particularly when
archiving to tape.  A corrupted compressed file is going to be very
difficult to recover.  Not sure that -s matters.  I'd recommend using
long-name versions of the -P and -I options -- this makes the script
self-documenting.

>   # The tar file suffix.  In case you want .tgz or .bzip2, etc.
>   # Note: do not include a "." in front of the suffix (extentsion)
>   TAR_FILE_SUF="bzip2"

...what about tar.bzip2?

> 
> # Once this script is complete, people shouldn't have to configure anything#
> # below this point.#
> 
> 
> 
>   # Create "Test" variables.  These will be used in the
>   # "Test script configuration" section.
>   # If you add more variables ensure there is a
>   # space between them. Testing to see if the
>   # root and backup directories exist and are directories.
>   DIR_VAR_LIST="$ARCHIVE_ROOT $BACKUP_DIR"
> 
>   # Program variables (setting up for PROG_VAR_LIST)
>   PROG_TAR=`which tar`
>   PROG_GZIP=`which g

Re: /bin/false (was Re: security questions)

2000-10-29 Thread Jonathan Markevich
On Sat, Oct 28, 2000 at 03:20:15PM -0700, kmself@ix.netcom.com wrote:
> > also, i noticed that some accounts which are disabled are given a shell of
> > /bin/false:
> > 
> > ftp:x:100:65534::/home/ftp:/bin/false
> > 
> > tiger seemed to hate this too.  i tried playing around with /bin/false.
> > can't seem to figure out what it is.  whatever it is, it's tiny.  only 4 kb
> > long.
> 
> See man false.

Now I also have heard that a shell script /bin/false is a bad thing, because
it still allows some nasty shell tricks, but I haven't come across any
examples.  It is also usually what distros install.

However, writing one in C proved to be simple, and an afternoon's worth of fun. 
Oh writing it sure didn't take all afternoon, but the fun did.  My current
/bin/false is a compiled ELF file, and I don't really know if it's mine or
Potato's (it's been a long time).

-- 
Jonathan Markevich <[EMAIL PROTECTED]>
http://www.geocities.com/jmarkevich
== It's VIRUSES, not VIRII!  See http://language.perl.com/misc/virus.html ==

Man and wife make one fool.



Re: ls -R | grep char_string

2000-10-29 Thread sena
I heard that Christoph H. wrote this on 29/10/00:

> You are searching for a string in the name of all files in the
> current dir and subdirs, but I think you want to search for a string 
> _within_ all files.
> 
> Therefore you have to do something like that:
> find . -exec grep -H char_string {} \; 2>/dev/null
> 
I think I may be missing the point here...

Wouldn't be easier to do:
grep -r char_string *
?

Regards, sena...

-- 
[EMAIL PROTECTED]
http://decoy.ath.cx/~sena/



RE: ls -R | grep char_string

2000-10-29 Thread Kenrick, Chris

Krzys writes:
>and  "mogrep" (below) knows
>what to do with binary and compressed files. -chris 

Unfortunately mogrep as implemented relies on the file 
names to determine the file type.  A neater way might
be to use the 'file' command to determine the file
type

eg:
[EMAIL PROTECTED]:~$ file *
dl:setgid directory
makefile,v:make commands text
myfile:gzip compressed data, deflated, original filename, last
modified:
 Fri Aug 18 11:17:10 2000, os: Unix
mygeekcode:ASCII text
pkglists:  setgid directory
swgate:setgid directory
swgate.tar.gz: gzip compressed data, deflated, original filename, last
modified:
 Fri Aug 18 11:17:10 2000, os: Unix
test:  setgid directory
vncviewer: empty
vncviewer.exe: MS-DOS executable (EXE), OS/2 or MS Windows

Note that it picked up that myfile was a gzip file despite its name.

More information in man command.

- Chris Kenrick



Re: ftpd - howto?

2000-10-29 Thread sena
I heard that Michael P. Soulier wrote this on 29/10/00:

> > I suggest that, if you don't want to use proftpd (very good daemon), you
> > should use wu-ftpd instead of ftpd.
> 
> Why's that? Security issues? 
> 
Features? Documentation? Ease of configuration?

Well, the award for the first and the third go to ProFTPD. Not sure why you
left it behind, anyway... I don't follow the other mailing lists.

Regards, sena..

-- 
[EMAIL PROTECTED]
http://decoy.ath.cx/~sena/



Re: /bin/false (was Re: security questions)

2000-10-29 Thread sena
I heard that Jonathan Markevich wrote this on 29/10/00:

> However, writing one in C proved to be simple, and an afternoon's worth
> of fun. 
>
--(snip - false.c)--
int main() { return 1; }
--(snip - false.c)--
10 seconds writing plus 3 minutes worth of fun is more like it... :)

> Oh writing it sure didn't take all afternoon, but the fun did.  My current
> /bin/false is a compiled ELF file, and I don't really know if it's mine or
> Potato's (it's been a long time).
> 
Potato's /bin/false has "a378dbf982c7694b173cd87ecc8463f1" md5sum.

Regards, sena...

-- 
[EMAIL PROTECTED]
http://decoy.ath.cx/~sena/



Re: NDS Corporate Edition for Linux - Looking for help

2000-10-29 Thread Craig Law
Andrew,

Thanks for the tips. Since posting this message I came across a Sys Admin on a 
Novell forum who I believe worked at Novell and he said that NDS Corp Edition 
should work OK on Debian according to the specs he had for NDS Corp Edition 
product (which basically were not specific to the distribution but dependent on 
a certain kernel version and particular libraries). I have seen different specs 
for the product on different web pages in Novell and to be honest I'm a little 
confused. I got in touch with another person who had installed it successfully 
on Debian. He passed on the details and it all worked fine on my Debian boxes 
with the exception of SSL (apparently used for secure LDAP requests??) and not 
required for my work at this stage.

I take your point re support for the product. It's something that really needs 
to be considered from a business point of view. Suffice to say there will be 
some very intense testing before I consider going it alone on Debian. It's just 
a shame that Novell doesn't support any other distribution of Linux at this 
stage because NDS and Zenworks are two very good products that help integrate 
Netware, Linux and Windows desktops into one happy environment. Maybe in a year 
or so I'll get lucky.

Many thanks for replying

Cheers

Craig  

>>> "Andrew Hagen" <[EMAIL PROTECTED]> 28.10.2000 10:09:28 am >>>
I'm a former Novell sys admin. A lot of people don't realize it, but NDS is a 
mature technology.
Microsoft's "Active Directory" has about 10 years of catching up to do.

If Novell says only RedHat 6.1 and 6.2 are supported, don't use Debian, or 
Slackware, or
SUSE, or whatever for this NDS thing. Just use what what they tell you. 
Otherwise, when
you need support from Novell, they'll ignore you.

You might be interested in the server editions or corporate editions of Red 
Hat. Novell might 
support one of these. Each license can cost over $1000. Check their web site 
for more info.

BTW, good luck on your business,

Andrew
[EMAIL PROTECTED] 


On Mon, 23 Oct 2000 17:10:33 +1100, Craig Law wrote:

>I'm not sure whether this is the right list to make this posting and if not 
>any direction to the correct list would be appreciated.
>
>I'm currently a Debian user and love the purity of the distribution and 
>especially apt-get. I'm working on a project to setup 
Debian servers to run NDS Corporate Edition for Linux as well as Zenworks for 
Desktops 3 (both Novell products). I'm an 
experienced user of Zenworks and love what it does for controlling a users 
Windows environment and distributing applications 
throughout our organisation. I'm now looking to setup a company where we 
replace Netware servers with Debian servers (more 
stable, easier to use and no OS licensing fee) and run NDS Corp Ed for Windows 
workstation authentication and Zenworks for 
Desktops 3 (and of course Samba for File and Printer serving).
>
>Unfortunately NDS Corporate Edition for Linux and Zenworks for Desktops is 
>only really supported on a Redhat Linux 6.1 or 
6.2 platform. It works well on a Redhat platform. I've done a little bit of 
tinkering with the install shell script supplied by Novell on 
my Debian server but bomb out half way through. I can't say that I'm 
experienced enough with these sorts of things to be able 
to work my way through to a solution. Is there anyone out there that would be 
interested in helping me get the product to work 
in a Debian Linux environment. I'm sure there are others out there that would 
be interested in our results.
>
>Obviously this software from Novell is not free. I have a trial version and 
>with a little bit of help from Novell we might be able to 
make it work on the best Linux distribution. More than happy to forward the 9MB 
file to anyone who wants to help.
>
>If there is anyone out there who would like to help please let me know. I 
>would prefer to use Debian on these servers!!!
>
>Many thanks
>
>Craig Law
>
>
>
>
>-- 
>Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
>
>






Re: Pine installation sequence

2000-10-29 Thread Noah L. Meyerhans
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Oct 27, 2000 at 11:14:43PM +0100, Colin Watson wrote:



> >I believe that is not allowed by the license.
> 
> I understood that the University of Washington had told the developer in
> question that they didn't mind this specific use. Of course, this is not
> good enough for Debian, since a licence saying that we can distribute
> the modified software but nobody else can is on the unpleasant side of
> non-free.
> 

Correct.  Debian won't go into special agreements WRT software licenses,
but that doesn't prevent individuals from entering in to those
agreements in an unofficial role.

I actually believe that Pine can be included in Debian with its current
license.  The license does allow redistribution of modified binaries
provided that the letter 'L' is appended to the Pine version number
(i.e. the version would be 4.21L currently).  That doesn't require any
special license agreements on the part of Debian, and it does not
restrict further redistribution of the software.

noah

- -- 
 ___
| Web: http://web.morgul.net/~frodo/
| PGP Public Key: http://web.morgul.net/~frodo/mail.html 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE5/MCCYrVLjBFATsMRAuSdAJ9ELjXAK1rBzYVSHH1vcvEumAl80wCeISqD
uLJtpzEXlmm9jU2MiyfxTmk=
=RO8N
-END PGP SIGNATURE-



Re: ls -R | grep char_string

2000-10-29 Thread Christoph H.
Am Montag, 30. Oktober 2000 00:39 schrieb sena:
> I heard that Christoph H. wrote this on 29/10/00:
> > You are searching for a string in the name of all files in the
> > current dir and subdirs, but I think you want to search for a string
> > _within_ all files.
> >
> > Therefore you have to do something like that:
> > find . -exec grep -H char_string {} \; 2>/dev/null
>
> I think I may be missing the point here...
>
> Wouldn't be easier to do:
>   grep -r char_string *
> ?
>
> Regards, sena...

Yes, you're right!

Regards,
Christoph.



Re: Gnus and Leafnode

2000-10-29 Thread Noah L. Meyerhans
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, Oct 29, 2000 at 08:33:00AM +, Glyn Millington wrote:
> 
> I'm trying to set up Gnus with Emacs 20 and using leafnode - I want Gnus to
> to its reading off-line.  I think I've pointed gnus in the right direction,
> and things start up right, but then I get 
> "nntp read"  
> 
> in the minibuffer and for about 40 mins it reads something that is over 2MB
> in size, and that's not my .newsrc file!
> 
> This is my .gnus file
> 
> 
> (setq gnus-select-method '(nntp "localhost"))
> (setq gnus-read-active-file nil)

The problem may be that leafnode is reporting that it has a bunch of new
groups available.  2MB sounds about right for the entire newsgroup
hierarchy.  I don't know if the gnus-read-active-file variable is
supposed to disable the act of getting a list of available groups or
what, as I use tin with leafnode.  But I suspect that if you let gnus
finish downloading that file, you'll see a list of a whole mess of new
groups available.  After that, those groups will no show up as they'll
no longer appear as new.

HTH,
noah
- -- 
 ___
| Web: http://web.morgul.net/~frodo/
| PGP Public Key: http://web.morgul.net/~frodo/mail.html 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE5/MQSYrVLjBFATsMRAuh/AJwP4xZ6seOxWxJ4GmjVFSz1r6lzsACfW1eJ
QqQfuXhC8KM/qrU3fIPZRE4=
=5n29
-END PGP SIGNATURE-



Re: password protect a directory?

2000-10-29 Thread Shandar Ahmad
changing permissions to "000" effetively protects a
directory. You might even want to do a "chown" to a
dummy user for this purpose.
Shandar


__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/



Re: Need help/feedback on backup script

2000-10-29 Thread Krzys Majewski
FWIW, here's mine. -chris

#!/bin/sh

VOLUME=/zip
DISK=1

_pre()
{
printf "Make sure your ZIP drive is plugged in.\n"
printf "Press  when ready, or 'quit' to quit "
read ANSWER
if [ "${ANSWER}" = "quit" ]; then
exit 0
fi
sudo modprobe imm
cd /
}

_post()
{
sudo rmmod imm
}

_backup()
{
false
while [ $? -ne 0 ]; 
do
printf "Insert ZIP disk ${DISK} and press  when ready "
printf "to continue.\n(Type 'skip' if you want to skip this disk)\n"
read ANSWER
if [ "${ANSWER}" = "skip" ]; then
DISK=`expr ${DISK} + 1`
return
fi
umount ${VOLUME} >> /dev/null 2>&1
mount ${VOLUME}
done
while true;
do
sudo kbackup $*
if [ $? -ne 0 ]; then
printf "Backup failed for disk ${DISK}. Try again or type 'skip' to 
\n"
printf "skip to the next disk.\n"
read ANSWER
if [ "${ANSWER}" = "skip" ]; then
break
fi
else
break
fi
done
DISK=`expr ${DISK} + 1`
}

printf "Hello, this is your friendly system backup script.\n"
printf "Preparing to back up everything...\n"

_pre

_backup -v /

_backup -vz /home/krzys 

_backup -vz /usr/local 

_backup -v /var

_post

printf "Done backing up everything.\n"
printf "Press  to finish.\n"
read


# and here's kbackup:

#!/bin/sh

#
# Run this as "backup" or "verify" or "restore".
# Verify is only really useful in compressed mode (-z).
# When run as "new-volume-script", unmounts and ejects the disk,
# then prompts to continue.
#

# These variables are global, you can change their value but don't remove them
PRGNAME=`basename $0`
OPTSTRING=tfzvnmx:
EJECT=/usr/local/sbin/eject # an incantation for ejecting the ZIP disk
TAPELENGTH=98078 #kB
TAR=tar
MOUNT=mount
UNMOUNT=umount
VOLUME=/zip
COMPRESS=false
VERBOSE=false
EJECT_WHEN_DONE=true
MULTIVOLUME=false
TEST=false
OVERWRITE=false
MOUNTED=false
NEWVOLUMESCRIPT=`dirname $0`/new-volume-script # should be a symlink to us
# list of files to exclude, read the tar documentation very carefully
EXCLUDE_FILE=/var/local/kbackup/exclude  
EXCLUDE=`cat ${EXCLUDE_FILE}`
BACKUPROOT=
ARGS=
FILES=
FILENAME=
LABELNAME=
TARGET=
TARLONGFLAGS=
ZIPCOMMAND= # hacky! should be used only in _verify()
TARCOMMAND=

_usage()
{
printf "Usage: $0 [-${OPTSTRING}] " 1>&2
if [ "${PRGNAME}" = "restore" ]; then
printf "archive [files]\n" 1>&2
else
printf "directory(or file)-list\n" 1>&2
fi
printf "  -z\t\tcompressed archive\n" 1>&2
printf "  -v\t\tverbose\n" 1>&2
printf "  -n\t\tdon't eject disk when finished\n" 1>&2
printf "  -m\t\tmulti-volume archive\n" 1>&2
printf "  -x file\texclude this file\n" 1>&2
printf "  -f\t\toverwrite existing files\n" 1>&2
printf "  -t\t\tprint the command but don't actually do the job\n" 1>&2
exit 1
}

_mount()
{
${UNMOUNT} ${VOLUME} 2>> /dev/null
if [ $? -eq 0 ]; then
MOUNTED=true
fi
if ! ${MOUNT} ${VOLUME}; then
printf "Failed to mount ${VOLUME}, exiting\n"
exit 1
fi
}

_args()
{
# need to call getopt twice because 'set' seems to always return zero
getopt ${OPTSTRING} $* >> /dev/null
if [ $? != 0 ]; then
_usage
fi
set -- `getopt ${OPTSTRING} $*`
for i
do
case "$i" in
-t)
TEST=true
shift
;;
-x)
EXCLUDE="${EXCLUDE} $2"
shift
shift
;;
-n)
EJECT_WHEN_DONE=false
shift
;;
-m)
MULTIVOLUME=true
shift
;;
-z)
COMPRESS=true
shift
;;
-v)
VERBOSE=true
shift
;;
--)
shift
break
;;
# this breaks option arguments
#   *)  
#   printf "Invalid option '%s', exiting\n" $i
#   exit 1
#   ;;
esac
done
if [ "${COMPRESS}" = true -a "${MULTIVOLUME}" = true ]; then
printf "Multi-volume archives can't be compressed, exiting\n"
exit 1
fi
ARGS=$*
}

_backup()
{
TARFLAGS="vcSlpf"
TARLONGFLAGS="--absolute-names --one-file-system --totals 
--label=${LABELNAME} --atime-preserve " # --exclude-from=${EXCLUDE_FILE} "
if [ "${COMPRESS}" = true ]; then
TARFLAGS="z""${TARFLAGS}"
TARGET=${BACKUPROOT}/${FILENAME}.tar.gz
else
TARGET=${BACKUPROOT}/${FILENAME}.tar
#   TARFLAGS="W""${TARFLAGS}"
if [ "${MULTIVOLUME}" = true ]; then
TARLONGFLAGS="${TARLONGFLAGS}"" --multi-volume 
--tape-length=${TAPELENGTH} --new-volume-script=${NEWVOLUMESCRIPT}"
#   else
#   TARFL

what's /initrd ?

2000-10-29 Thread Krzys Majewski
My distribution has an empty directory /initrd. What is it? 
-chris