CVS over ssh hanging on testing

2003-03-15 Thread Bill Wohler
  I took the plunge and upgraded testing today. All seems well so far
  except for one thing: A "cvs update" on a remote host hangs. My CVS
  repository is on the host where I did the upgrade. I use CVS_RSH=ssh.

  A "cvs server" process does start on my local host.

  If I use CVS_RSH=ssh-verbose, where ssh-verbose is a script, I get the
  output below.

  I'm not using cvs compression as this has caused similar hangs in the
  past.

  Thoughts?

[EMAIL PROTECTED]:502]$ CVS_RSH=ssh-verbose cvs up
OpenSSH_3.4p1 Debian 1:3.4p1-1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f
debug1: Reading configuration data /home/wohler/.ssh/config
debug1: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to gbr.newt.com [63.205.66.193] port 22.
debug1: Connection established.
debug1: identity file /home/wohler/.ssh/identity type -1
debug1: identity file /home/wohler/.ssh/id_rsa type 1
debug1: identity file /home/wohler/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.4p1 Debian 
1:3.4p1-4
debug1: match: OpenSSH_3.4p1 Debian 1:3.4p1-4 pat OpenSSH*
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.4p1 Debian 1:3.4p1-1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: dh_gen_key: priv key bits set: 127/256
debug1: bits set: 1633/3191
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'gbr.newt.com' is known and matches the RSA host key.
debug1: Found key in /home/wohler/.ssh/known_hosts:1
debug1: bits set: 1545/3191
debug1: ssh_rsa_verify: signature correct
debug1: kex_derive_keys
debug1: newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: waiting for SSH2_MSG_NEWKEYS
debug1: newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: done: ssh_kex2.
debug1: send SSH2_MSG_SERVICE_REQUEST
debug1: service_accept: ssh-userauth
debug1: got SSH2_MSG_SERVICE_ACCEPT
debug1: authentications that can continue: publickey,password,keyboard-interactive
debug1: next auth method to try is publickey
debug1: try privkey: /home/wohler/.ssh/identity
debug1: try pubkey: /home/wohler/.ssh/id_rsa
debug1: input_userauth_pk_ok: pkalg ssh-rsa blen 149 lastkey 0x8088c10 hint 1
debug1: PEM_read_PrivateKey failed
debug1: read PEM private key done: type 
Enter passphrase for key '/home/wohler/.ssh/id_rsa': 
debug1: read PEM private key done: type RSA
debug1: ssh-userauth2 successful: method publickey
debug1: fd 5 setting O_NONBLOCK
debug1: fd 7 setting O_NONBLOCK
debug1: channel 0: new [client-session]
debug1: send channel open 0
debug1: Entering interactive session.
debug1: ssh_session2_setup: id 0
debug1: Sending command: cvs server
debug1: channel request 0: exec
debug1: channel 0: open confirm rwindow 0 rmax 32768
debug1: channel_free: channel 0: client-session, nchannels 1


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


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



Re: NFS hangs??

2003-03-15 Thread Vineet Kumar
* Alvin Oga <[EMAIL PROTECTED]> [20030315 18:22 PST]:
> 
> hi ya
> 
> On Sat, 15 Mar 2003, sean finney wrote:
> 
> > hi -users,
> > 
> > i'm running with two unstable boxes, one as an nfs client and
> > the other as a server.  when i try and connect from a client,
> > it hangs indefinitely, and not only that, doesn't respond to
> > backgrounding with ^Z or die with ^C.  not surprisingly, it
> > also does not respond to any signal delivered via kill.
> 
> .. 
> > exports on the server:
> > 
> > /usr/local/music192.168.0.0/24(ro,sync)
> 
> (ro,soft,intr,rsize=8192,wsize=8192)  might be better

I agree with 'intr', but not 'soft'.  Using soft NFS mounts can lead to
silent, undetected data corruption, and with 'intr', there's really no
reason you'd need it anyway.  IMO, soft should never be used; use
hard,intr instead.

good times,
Vineet
-- 
http://www.doorstop.net/
-- 
http://www.debian.org/  Set your computer Free.


signature.asc
Description: Digital signature


Re: odd compiler behaviour?

2003-03-15 Thread Bob Proulx
Colin Watson wrote:
> Using the -Wall flag (you should) will warn you about such things.

An excellent suggestion.  Let me note that -Wall really wants -O -Wall
so that it can generate all of the warnings.  Without -O it can't tell
as much and won't be able to produce all of the warnings that it can
with the optimizer enabled.

Bob


pgp0.pgp
Description: PGP signature


termimnal emulator with URL support

2003-03-15 Thread Raju Kurunkad
Hi,

Can any one suggest a terminal emulator with good URL support? I want to
run mutt in it so that I can open URLs(from my mails) in my browser with a
single click.

Thanks,
Raju


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



Re: NFS hangs??

2003-03-15 Thread Bob Proulx
Alvin Oga wrote:
> > /usr/local/music192.168.0.0/24(ro,sync)
> (ro,soft,intr,rsize=8192,wsize=8192)  might be better

I recommend against 'soft'.  Running 'soft' allows errors to cause
data corruption.  Been there, done that, won't do it again.  The man
page documents this when it says "Usually it just causes lots of
trouble."  :-)  I think 'intr' is okay though.

As to the original trouble, check out the errors that are undoubtedly
occurring in /var/log/syslog.  Try running tcpdump at the same time
and see if there is a clue as to why you are hanging.  Run 'showmount
-e servername' and see that you are allowed access.

Bob


pgp0.pgp
Description: PGP signature


Re: PAM for Samba?

2003-03-15 Thread nate
Paul Johnson said:

> I've looked around through the Samba HOWTO and /usr/share/doc/samba, but I
> can't find anything that is helpful in trying to set up samba to use PAM
> for authentication instead of it's own (retarded) method.
>
> Has anybody succeeded in using PAM for samba?  If so, what helped?

be sure samba is compiled with pam support. I really would reccomend
against using PAM with samba. Because if you do use PAM you MUST
disable password encryption on ALL clients. Something to do with
the way the password comes in with PAM. Samba doesn't get the
actual password so it cannot encrypt it, it only gets a yes or a no
(something like that). Disabling password encryption on the clients
is usually a bad thing and is usually a pain in the ass, for win32
systems it usually involves setting a registry hack.

Instead, perhaps it's good to go the LDAP route. In my experience
it is by far the most robust and flexible/powerful way to deploy
samba(or in my case samba-tng, though samba is similar).

a quick search turns up this, though specific to mysql you can
skip the mysql stuff since PAM is PAM ..

http://www.isber.ucsb.edu/~randall/personal/samba_mysql_pam.html

or on networks which already have a PDC it is trivial to set
samba to authenticate off the PDC (password = server  &
password server = NAME_OF_PDC) (I think). You don't even have
to have the samba server as part of the domain, and do not
need any accounts on the local system(for authentication at least)

it's been probably 2 years since I set it up myself..

my LDAP docs(as usual) is available:
http://howto.aphroland.de/HOWTO/LDAP

includes samba-tng+LDAP+PDC as well as keeping UNIX/samba
passwords in synch with MD5 encrypted passwords.

nate




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



Re: NFS hangs??

2003-03-15 Thread nate
Osamu Aoki said:

> What was the reason for 8192?  Any reference?

improves performance by setting read/write buffers, 8192 is
usually the limit you can set on most systems.

see:
http://nfs.sourceforge.net/nfs-howto/performance.html

nate




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



Re: odd compiler behaviour?

2003-03-15 Thread Colin Watson
[BTW, your Mail-Followup-To: is broken. I guess you need to tell your
mailer what your real address is rather than just "floris".]

On Sat, Mar 15, 2003 at 08:06:33PM +, Bruynooghe Floris wrote:
> On Fri, Mar 14, 2003 at 06:12:28PM +, Pigeon wrote:
> > #include  // need this to use malloc()
> 
> Well I thought so to, but it _did_ work without to my surprise
> (discovered after I stupidly forgot it)

For largely historical reasons, C lets you get away with unprototyped
functions, to some extent: they default to int(). However, if you're
working on a system such as IA-64, you'll find that int is 32 bits while
void * (malloc()'s return type) is 64 bits. The result of this is that
pointers returned from malloc() will be truncated, usually leading to a
segfault almost immediately afterwards. Thus, unprototyped use of
malloc() is not portable.

Using the -Wall flag (you should) will warn you about such things.

> But using `//' is also a C++ism no?

Certainly traditionally yes, although I don't remember right now whether
C99 allows them (even so, don't use // in portable code). gcc allows it
unless you use the -ansi or -traditional flags, the latter of which you
probably don't want to use the latter unless you're compiling really old
code.

> BTW; thanks to all of you for the replies, I couldn't find this in any
> book (not even K&R).

You should find plenty of stuff about prototyping, and certainly about
declaration order, in the second or later editions of K&R. It may be
slightly cryptic though.

-- 
Colin Watson  [EMAIL PROTECTED]


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



Re: message from cron

2003-03-15 Thread Travis Crump
John F. wrote:
I am getting about 60 or so messages a day from the cron daemon.  I 
would like to stop them coming, but I don't know how.  I would think if 
I disabled the netnews server, but it doesn't show up as being enabled 
with "ksysv", so I don't know what to do.  A complete copy of one of the 
messages is below:

Envelope-to: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL PROTECTED]
Subject: Cron <[EMAIL PROTECTED]> test -x /usr/bin/rnews && rnews -U
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
Hostname does not resolve or 'domain' in inn.conf is missing

Thanks

If you don't want any output sent to you, pipe the cron job output 
somewhere.  'test -x /usr/bin/rnews && rnews -U' would become '(test -x 
/usr/bin/rnews && rnews -U) > [somewhere] 2>&1'.  [somewhere] can be 
/dev/null or something like /var/log/rnews-cron.  The cron script that 
needs to be edited is probably in /etc/cron.d/.

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



Re: matrix uniq

2003-03-15 Thread Colin Watson
On Sun, Mar 16, 2003 at 09:09:36AM +0900, Youichi Mano wrote:
> I want to "uniq" by comparing the specified column for matrix data.
> I want to realize this operation by command line programs ,
> not any script file.

I must say, this arbitrary restriction kind of looks like a homework
question to me ...?

Cheers,

-- 
Colin Watson  [EMAIL PROTECTED]


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



Re: Convincing someone to switch to Linux

2003-03-15 Thread Paul Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, Mar 15, 2003 at 10:44:51PM +, Karsten M. Self wrote:
> > The "solution" that they decided on (not yet implemented) is to keep
> > the aging machines and purchase one new Dell machine with
> > WinXP/OfficeXP.  
> 
> Good arguments, and likely to go nowhere so long as the people you're
> dealing with have no GNU/Linux exposure.

Actually, it still works.  Before General Motors, people only drove
Fords.  People hadn't ever been exposed to a GM vehicle before.
Obviously people found there were advantages to GM vehicles over
Fords, or everybody would be still be driving Fords to this day.
Claiming that operating systems are any different from any other kind
of decision is stupidity of the highest orer and should actively be
discouraged.

> People do stupid things all day long for the least of reasons.

Heh, if people stopped doing stupid things for no reason, tech support
and public safety types would all be out of jobs.  It would be nice if
society would evolve already and put us out of jobs, though.

> For starters:  Knoppix makes a *great* GNU/Linux introduction.  

I use it as my OS at work because I really, really can't stand working
in Windows.  Works like a charm.

> No installation hassles, no risk, no configuration.

Actually, you can do configuration, but you need a floppy disk to save
it to.

> And if none of that works, float your resume.  There *are* GNU/Linux
> jobs out there, and with time you're likely to land one.  

I wish I could find them...

- -- 
 .''`. Baloo Ursidae <[EMAIL PROTECTED]>
: :'  :proud Debian admin and user
`. `'`
  `-  Debian - when you have better things to do than fix a system
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+c//0J5vLSqVpK2kRAnBPAJ9n9EUYRg5G0dEeOIdqh7LJzvRS8QCg4pJa
+HC7KWzKLGa/a+2n/t+6Yqo=
=ah7q
-END PGP SIGNATURE-


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



libtrash & anacron

2003-03-15 Thread Robert Storey
I recently installed Libtrash (it creates a trash can for Linux!). For
some reason, the deb package (version 0.8) in Woody is way out of date
(current version is 2.0) and the deb package only seems to include the
documentation rather than the usable program. So I downloaded the source
tarball from here:

http://www.m-arriaga.net/software/libtrash/libtrash-latest.tgz

It installed fine. I'm pleased to have a trash can, but of course it
keeps growing in size, wasting hard disk space. Fortunately, Libtrash
comes with a Perl script called cleanTrash which deletes files from the
trash can when the junk reaches a specified size. Although cleanTrash
could be run manually, it's more convenient to run it as a cron job. And
since my computer isn't on 24 hours a day, I figured anacron was better.

So, actually, I have two questions:

1) Is the only thing I need to do to get cleanTrash to run (as a cron
job) is to stick it in /etc/cron.daily?

2) I did "apt-get install anacron" - it installed fine, but do I need to
do anything else to configure anacron? Or is it just pre-configured to
take over from cron? I suspect it is, considering the contents of my
/etc/crontab file:

# m h dom mon dow user  command
25 6* * *   roottest -e /usr/sbin/anacron || run-parts --report
/etc/cron.daily
47 6* * 7   roottest -e /usr/sbin/anacron || run-parts --report
/etc/cron.weekly
52 61 * *   roottest -e /usr/sbin/anacron || run-parts --report
/etc/cron.monthly
#

regards,
Robert


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



Re: NFS hangs??

2003-03-15 Thread Osamu Aoki
On Sat, Mar 15, 2003 at 06:02:29PM -0800, Alvin Oga wrote:
> (ro,soft,intr,rsize=8192,wsize=8192)  might be better
> 
> - make sure portmap and rpc.* is running
> - make sure that the firewall is NOT blocking nfs traffic
> - make sure /etc/hosts.{allow,deny} is NOT blocking nfs traffic

What was the reason for 8192?  Any reference?

-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +
Osamu Aoki <[EMAIL PROTECTED]>   Cupertino CA USA, GPG-key: A8061F32
 .''`.  Debian Reference: post-installation user's guide for non-developers
 : :' : http://qref.sf.net and http://people.debian.org/~osamu
 `. `'  "Our Priorities are Our Users and Free Software" --- Social Contract


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



PAM for Samba?

2003-03-15 Thread Paul Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I've looked around through the Samba HOWTO and /usr/share/doc/samba,
but I can't find anything that is helpful in trying to set up samba to
use PAM for authentication instead of it's own (retarded) method.

Has anybody succeeded in using PAM for samba?  If so, what helped?

- -- 
 .''`. Baloo Ursidae <[EMAIL PROTECTED]>
: :'  :proud Debian admin and user
`. `'`
  `-  Debian - when you have better things to do than fix a system
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+c/wKJ5vLSqVpK2kRAiXwAKDZHHJCRktaBN8Qd3KJm3kJ3V9v8QCg1bL1
PUOHScysZ8gUbjgWVT7qGno=
=ZfQA
-END PGP SIGNATURE-


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



RE: Debian and LDAP

2003-03-15 Thread nate
Jeremy Gaddis said:

> Nice work Nate.
>
> It'd sure be nice if this were available as one big file suitable
> for printing though (e.g. plain text or PDF).  *hint*  :)
>

I used to.. but it was hard to maintain. With Zope+Zwiki I have a lot
more control(integrated versioning system, search engine etc).

feel free to convert it to such a format if you want though :)

the original document, all in 1 page.. is:
http://portal.aphroland.org/sites/howto.linuxpowered.net/ldap/ldap.html

somewhat outdated at this point though, about 7 months old.


nate




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



using xcdroast was Re: gtoaster used to work...

2003-03-15 Thread Emma Jane Hogbin
Nevermind... it looks like I can still use xcdroast without having to play
with any settings or fix anything.

emma :)

-- 
Emma Jane Hogbin
[[ 416 417 2868 ][ www.xtrinsic.com ]]


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



gtoaster used to work...

2003-03-15 Thread Emma Jane Hogbin
Hey all:

gtoaster used to work but now it doesn't. I'm not even sure where to
start...I must have updated something that updated something that "broke"
things.

I get the following errors in the terminal window that's started gtoaster
and I can't see anything useful in the /var/log/system log. I tried
apt-get installing gtoaster again to see if there was a newer version
(there isn't).

Gtk-CRITICAL **: file gtkprogress.c: line 518
(gtk_progress_set_percentage): assertion `percentage >= 0 && percentage <=
1.0' failed.

Gtk-CRITICAL **: file gtkprogress.c: line 518
(gtk_progress_set_percentage): assertion `percentage >= 0 && percentage <=
1.0' failed.

Linux debian 2.4.18 #2 Sat Feb 8 23:55:14 EST 2003 i686 unknown unknown
GNU/Linux
Debian unstable

gtoaster used to see my cdburner when I started it up, now it doesn't.
(But I haven't consciously changed anything.)

A HOWTO or some tips on where to start would be appreciated.


-- 
Emma Jane Hogbin
[[ 416 417 2868 ][ www.xtrinsic.com ]]


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



Re: Printers via SMB?

2003-03-15 Thread Mike M
On Saturday 15 March 2003 11:21, Joseph A Nagy Jr wrote:
> Domain=[THE_MATRIX] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
>
>  Sharename  Type  Comment
>  -    ---
>  IPC$   IPC   Remote IPC
>  print$ Disk  Printer Drivers
>  SharedDocs Disk
>  C  Disk
>  D  Disk
>  Printer2   Printer   Canon Bubble-Jet BJC-2100
>  PrinterPrinter   EPSON Stylus Photo 785EPX
>
> I'd like to be able to use the Epson from my computer, but I haven't a
> clue on how to mount a printer. Do I point it to /dev/lpd or something?
>
> TIA

I used deselect and loaded stuff related to cups (search on "cup" like you 
would in vi "/cup"; other have given methods using apt-cache

Then I used KDE-Control Center-System-Printing Manager; don't remember all 
the steps but it involved using the wizard; I kept playing with cups until 
the SMB option showed up (I loaded the cups client but not the server :-) at 
first).  

I am setting up an old sparc to run Samba.  Then I'll move the printer from 
the W98 machine to the sparc.  Then we'll see if I can figure out how to 
print from both Debian and W98.  No KDE wizards on the sparc :-).  I hoping 
that Mr. O'Reilly will be helpful then.

Don't know if you have KDE control center available.  If you do, maybe it 
will help you limp through the process like it helped me.

There were several print drivers available for my printer (Epson Color 850).  
I found that a little confusing.  I tried each of them and found the one I 
liked the best.

HTH a little,
-- 
Mike M.


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



RE: Debian and LDAP

2003-03-15 Thread Jeremy Gaddis
> -Original Message-
> From: nate [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, March 15, 2003 10:09 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Debian and LDAP

> this should work for your needs:
>
http://howto.aphroland.de/HOWTO/LDAP/ConfiguringHostBasedAccessWithLDAP


Nice work Nate.

It'd sure be nice if this were available as one big file suitable
for printing though (e.g. plain text or PDF).  *hint*  :)

j.

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



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



message from cron

2003-03-15 Thread John F.
I am getting about 60 or so messages a day from the cron daemon.  I 
would like to stop them coming, but I don't know how.  I would think if 
I disabled the netnews server, but it doesn't show up as being enabled 
with "ksysv", so I don't know what to do.  A complete copy of one of the 
messages is below:

Envelope-to: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL PROTECTED]
Subject: Cron <[EMAIL PROTECTED]> test -x /usr/bin/rnews && rnews -U
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
Hostname does not resolve or 'domain' in inn.conf is missing

Thanks

--
Don't go around saying the world owes you a living.  The world owes you
nothing.  It was here first.
-- Mark Twain
Q:  What's yellow, and equivalent to the Axiom of Choice?
A:  Zorn's Lemon.


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



Re: cups installation: Unable to read configuration file '/etc/cups/cupsd.conf' - exiting

2003-03-15 Thread Jerome Acks Jr
On Sat, Mar 15, 2003 at 05:07:12PM +0100, iks_kzm wrote:
> 
> 
> On Fri, 14 Mar 2003, Jerome Acks Jr wrote: 
> > You have not mentioned anything about installing drivers for your
> > printer. You probably need to install one of these packages:
> 
> I have HP Laserjet 1200 series. 
> 
> > 1) cupsys-driver-gimpprint, 
> > 2) foomatic-bin and foomatic-db, or 
> > 3) cupsomatic-ppd.
> I have installed 1, 2 and 3.
> 
> But I just copied from the CD (which I obtained with the printer)
> the original HP_Laserjet_1200.ppd
> to /usr/share/cups/model/HP/, restarted cups and then connected to
> http://localhost:631 and add new printer choosing the  
> HP_Laserjet_1200 series model.

Is the version of HP_Laserjet_1200.ppd the same as other ppd's that
come with the cupsys package? 

> 
> I noticed the following:
> the files /etc/cups/cupsd.conf and printers.conf can be read and executed
> ONLY by root. I changed the mode (using chmod) so any user
> can read the files but nothing changed: the described above printing
> problem remained the same. When I did '/etc/init.d/./cupsys restart'
> the two files again can be read and executed ONLY by root.
> 
> I use debian 3.0 (woody)

I'm running the testing version of CUPS. I'm not sure what all the changes
are between woody and testing. On my computer ownership and permission
of files in /etc/cups are:

# ls -l /etc/cups
total 160
lrwxrwxrwx1 root root   21 Oct 16 21:46 certs -> /var/spool/cups/certs
-rw-r--r--1 root root 2183 Feb  9  2002 client.conf
-rw-r--r--1 root root 1215 Jun  6  2002 command.types
-rw---1 lp   sys 19728 Aug 20  2002 cupsd.conf
drwxr-xr-x2 root root 4096 Mar  9  2002 interfaces
-rw-r--r--1 root root 2798 Aug 20  2002 mime.convs
-rw-r--r--1 root root 5659 Aug 20  2002 mime.types
drwxr-xr-x2 lp   sys  4096 Aug  3  2002 ppd
-rw-r--r--1 root root94464 Oct 16 21:46 ppds.dat
-rw---1 lp   sys   279 Oct  5 19:51 printers.conf
-rw---1 lp   sys   279 Aug  8  2002 printers.conf.O
-rw-r--r--1 root root  947 Aug  7  2002 pstoraster.convs

Try running debsums against the cupsys packages to check the integrity
of the installation. 

Edit /etc/cups/cupsd.conf, change "LogLevel info" to "LogLevel
debug" and then restart cups. This should generate more message in the
error log and may give you better idea of what the problem is.

> > Do you have libcupsys2 and gs-esp installed?
> 
> I installed libcupsys2 but I cannot figure out whether I have gs-esp.
> What gs-esp is? Using search in dselect I cannot find it.

Wrong guess on my part. gs-esp is version of ghostscript from Easy
Software Products (ESP). It is available in debian testing and
unstable; you should not need it with woody.

-- 
Jerome


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



RE: Debian and LDAP

2003-03-15 Thread Jeremy Gaddis
I've attached two Perl scripts which may or may not
come through.  One is the LDAP-aware version of
useradd, the other the LDAP-aware version of passwd.
If they don't come through, let me know and I'll
send them privately.

You don't have to create all the accounts manually,
there are "migration tools" to help complete this task.
IIRC, http://www.padl.org/ has some scripts.

As for a user being a member of multiple groups,
the groups go into a separate organizational unit
("ou=groups", usually), and each user that is a member
of this group is included under this, "member: username",
IIRC.

HTH.

j.

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



> -Original Message-
> From: Aaron Isotton [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, March 15, 2003 3:12 AM
> To: [EMAIL PROTECTED]
> Subject: Debian and LDAP
> 
> 
> 
> Hi,
> 
> I'm setting up a Debian machine with LDAP authentication (the LDAP
> Server runs on the Debian machine, and should be used for 
> authentication
> both locally and on remote machines, but that's not the problem).
> 
> The LDAP Server runs fine, and both local and remote users can
> authenticate from it.  I'm doing this the first time, and so 
> I run into
> a few problems:
> 
> - How can I manage the accounts in a sensible way?  useradd 
> and the like
> seem not to use PAM, so I can't use them; until now I've used
> directory-administrator and gq to manage the accounts, but I have a
> strong dislike for GUI programs for such tasks.  I know I can use
> ldapadd/ldapmodify to manage accounts, but I'm not yet good enough in
> LDIF to do that.  Is there any useradd-like tool which uses PAM?
> 
> - Using useradd etc every user has also his own group.  Do I *really*
> have to create all of them by hand?
> 
> - How do I add a user to more than one group?
> 
> - I'd like to allow some users to log in on the server (via ssh, for
> example) and others not BUT everybody should be able to log in to the
> workstations (which authenticate off the server).  Thus setting the
> shell to /bin/false is not an option.  It'd be ideal if it 
> could be done
> by group (ex. all users in the group "it" can log in on the 
> server, the
> others can't).  Is there any solution for this?
> 
> Thanks a lot.
> 
> Aaron Isotton [ 
http://www.isotton.com ]
--
If you can't understand it, it is intuitively obvious.


ldapchpasswd.pl
Description: Binary data


ldapuseradd.pl
Description: Binary data


Re: NFS hangs??

2003-03-15 Thread Alvin Oga

hi ya

On Sat, 15 Mar 2003, sean finney wrote:

> hi -users,
> 
> i'm running with two unstable boxes, one as an nfs client and
> the other as a server.  when i try and connect from a client,
> it hangs indefinitely, and not only that, doesn't respond to
> backgrounding with ^Z or die with ^C.  not surprisingly, it
> also does not respond to any signal delivered via kill.

.. 
> exports on the server:
> 
> /usr/local/music192.168.0.0/24(ro,sync)

(ro,soft,intr,rsize=8192,wsize=8192)  might be better

- make sure portmap and rpc.* is running
- make sure that the firewall is NOT blocking nfs traffic
- make sure /etc/hosts.{allow,deny} is NOT blocking nfs traffic

c ya
alvin


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



NFS hangs??

2003-03-15 Thread sean finney
hi -users,

i'm running with two unstable boxes, one as an nfs client and
the other as a server.  when i try and connect from a client,
it hangs indefinitely, and not only that, doesn't respond to
backgrounding with ^Z or die with ^C.  not surprisingly, it
also does not respond to any signal delivered via kill.

at some point later (maybe 5, 10 minutes), it looks like it
finally recieves one of the 5000 kill signals i sent it, and
dies.  now the REALLY strange part... after it dies, the
directory is mounted!  does anyone know what's going on here?
umount does not seem to have these problems afterwards, either.

i had this problem about a year ago too, and thought it had
to do with mismatched nfs kernel implementations, but now
it seems like it's not.  here's the relevant info:

exports on the server:

/usr/local/music192.168.0.0/24(ro,sync)

kernel settings on the server:

CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
# CONFIG_ROOT_NFS is not set
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
# CONFIG_NFSD_TCP is not set
# CONFIG_NCPFS_NFS_NS is not set

from the server's log:

Mar 15 20:25:53 balthasar rpc.mountd: authenticated mount request from 192.168.0
.99:802 for /usr/local/music (/usr/local/music)

kernel settings on the client:

CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
# CONFIG_ROOT_NFS is not set
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
# CONFIG_NFSD_TCP is not set
# CONFIG_NCPFS_NFS_NS is not set



any help would be greatly appreciated.


sean


pgp0.pgp
Description: PGP signature


Re: Laptop PCMCIA Ethernet Card and Wireless

2003-03-15 Thread Hugh Saunders
On Sat, Mar 15, 2003 at 06:39:32PM -0500, Metnetsky wrote:
> I also have a PCMCIA wireless card,
> suggestions or links on how I might go about installing that?
what is it?

linux-wlan-ng, is a good place to start.
[http://www.linux-wlan.com/linux-wlan/]

wlan is fun:-)

hugh

ps: this isnt for installation but if your ever curious about what
exactly is radiating through your brain...  http://www.kismetwireless.net/


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



Re: matrix uniq

2003-03-15 Thread Youichi Mano

dear Travis Crump,

> Umm, use 'uniq'...?
> 
> [EMAIL PROTECTED]:~$ uniq -W1 << EOF
>  > 1 eagle 197
>  > 1 bird 387
>  > 2 camera 91
>  > 2 dog 62
>  > 3 apple 89
>  > EOF
> 1 eagle 197
> 2 camera 91
> 3 apple 89
> 

Thank you.
You mean -w option?
I want to uniq by any column,any data. For example,
if 2nd column uniq is operated,


1   a
BBB 100 bbb
CC  100 cc


the output will be


1   a
BBB 100 bbb


regards,

-- 
Youichi Mano <[EMAIL PROTECTED]>



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



Re: matrix uniq

2003-03-15 Thread Seneca
On Sun, Mar 16, 2003 at 09:09:36AM +0900, Youichi Mano wrote:
> I want to "uniq" by comparing the specified column for matrix data.
> I want to realize this operation by command line programs ,
> not any script file.
[snip example]
> Such a editing is easy in perl script but I cannot easily do that
> in command line. 
> 
> Is there any idea?

RTFM?

After a quick look at uniq(1), I came up with something that has the
desired output. Where foo is the name of the file, and you want the
leftmost field:

  $ uniq -f0 -W1 foo

The fields are numbered from 0-n, with 0 being the leftmost.

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: libvorbis0a? in unstable

2003-03-15 Thread Cameron Hutchison
Once upon a time Brian Nelson said...
> Cameron Hutchison <[EMAIL PROTECTED]> writes:
> 
> > If this is true, could I create a meta-package, libvorbis0, that depends
> > on libvorbis0a, libvorbisenc2 and libvorbisfile3? I would have to change
> > libvorbis0a so that it no longer conflicts with libvorbis0, but that's
> > easy to do from the source.
> >
> > So, what I'm planning to do is to "apt-get source libvorbis", update the
> > versions to 1.0.0-3.0.1, modify the control file so 0a does not conflict
> > or replace 0, add a libvorbis0 meta-package, build and install.
> >
> > Will this work? (well, I'm going to try it anyway, but any feedback
> > from the list would be useful).
> 
> In case you haven't built the debs yet, you can try some I hacked up at
> http://people.debian.org/~pyro/libvorbis .  They appear to work as you
> theorized they would.

I've built them already, and it seems to work. At least it solves the
dependency problems. Since I dont use vorbis much anyway, I haven't yet
verified that the applications actually work with vorbis.

Thanks for your input, Brian.


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



Re: matrix uniq

2003-03-15 Thread Travis Crump
Youichi Mano wrote:
Hi all,

I want to "uniq" by comparing the specified column for matrix data.
I want to realize this operation by command line programs ,
not any script file.
Is there any idea?


Umm, use 'uniq'...?

[EMAIL PROTECTED]:~$ uniq -W1 << EOF
> 1 eagle 197
> 1 bird 387
> 2 camera 91
> 2 dog 62
> 3 apple 89
> EOF
1 eagle 197
2 camera 91
3 apple 89
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: wma in linux

2003-03-15 Thread Jack Pistachio
yep, works, thanks.  This avoids needing to convert these
files to ogg which would incur another slight compression
loss in quality.  However, I might still do this later

Were you able to keep xmms from popping up a blank movie
window whenever a wma file is played?  Or get xmms to read
the file info correctly?
-jackp


--- Sven Hoexter <[EMAIL PROTECTED]> wrote:
> On Sat, Mar 15, 2003 at 12:05:13AM -0800, Paul Johnson
> wrote:
> > On Fri, Mar 14, 2003 at 09:38:23PM -0800, Jack
> Pistachio wrote:
> > > Anyone know of a plugin to play *.wma files in xmms?
> > > Or howabout a way to convert this proprietary madness
to ogg format?
> > 
> > mencoder might be able to do it for you.
> I had some troubles with mencoder and wma -> convertion.
> Segfaults and other
> ugly things.
> 
> You should be able to play the files with xmms and this
> plugin if you've
> installed the win32 codecs.
> ftp://ftp.xmms.org/xmms/plugins/avi-xmms
> 
> HTH
> Sven
> 


__
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com


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



Re: Backing up multisession Blue Book CDs

2003-03-15 Thread nate
Michael Hackett said:
> I've looked high and low and can't seem to find any info on this, so I
> hope someone here can help.
>
> I would like to make complete backups of some of my music CDs, but I
> haven't figured out how to get images of both the ISO 9660 (Windows) and
> HFS (Mac) partitions from the "Enhanced CDs" (aka CD-Extra, CD-Plus),
> using Linux software.

try cdrdao

doesn't seem to be part of debian 3.0 ..

I used it last week to make an image of a VCD. though the image
was slightly bad. it should work better on audio cds.

nate




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



Re: can't forward

2003-03-15 Thread Michael West

On Sat, Mar 15, 2003 at 08:30:31AM -0800, Michael West wrote:
> I am setting up a new gateway and it will not forward.
> 

Forwarding is working fine actually.  I found a problem with the routing
on the machine with the 10.0.0.1 interface.  10.0.0.1 can ping 10.0.2.2
but 10.0.2.2 still cannot ping 10.0.0.1  I can't see why this is, but
10.0.2.2 can see past 10.0.0.1 and ping though that interface and
traceroute shows.  So everything works except direct connections to
10.0.0.1.

 ~Michael


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



matrix uniq

2003-03-15 Thread Youichi Mano

Hi all,

I want to "uniq" by comparing the specified column for matrix data.
I want to realize this operation by command line programs ,
not any script file.

For example , if the following data is operated by first column uniq,
-
1 eagle 197
1 bird 387
2 camera 91
2 dog 62
3 apple 89
-

the output will be

-
1 eagle 197
2 camera 91
3 apple 89
-

Such a editing is easy in perl script but I cannot easily do that
in command line. 

Is there any idea?


-- 
Youichi Mano <[EMAIL PROTECTED]>



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



Re: libvorbis0a? in unstable

2003-03-15 Thread Brian Nelson
Cameron Hutchison <[EMAIL PROTECTED]> writes:

> If this is true, could I create a meta-package, libvorbis0, that depends
> on libvorbis0a, libvorbisenc2 and libvorbisfile3? I would have to change
> libvorbis0a so that it no longer conflicts with libvorbis0, but that's
> easy to do from the source.
>
> So, what I'm planning to do is to "apt-get source libvorbis", update the
> versions to 1.0.0-3.0.1, modify the control file so 0a does not conflict
> or replace 0, add a libvorbis0 meta-package, build and install.
>
> Will this work? (well, I'm going to try it anyway, but any feedback
> from the list would be useful).

In case you haven't built the debs yet, you can try some I hacked up at
http://people.debian.org/~pyro/libvorbis .  They appear to work as you
theorized they would.

-- 
I had no feelings about it.  It was aloof and licked itself too much.
Like my cat Mr. Trotsky.


pgp0.pgp
Description: PGP signature


Laptop PCMCIA Ethernet Card and Wireless

2003-03-15 Thread Metnetsky
If anyone read my previous message, I just installed Debian, very bare
boned.  I'd like to begin updating my system as well as downloading all
my backup files off of my server.  So during the install I configured
PCMCIA with all the Intel defaults.  My system was then able to connect
through my ethernet card to the internet and install all the updates. 
During the downloads however, an error would keep popping up here and
there between fetching files.

eth0: Tx error, status 4 (FID=0157)

The previous is one example of many, the only part that would change was
what FID was equal to.  It happens each and every time apt-get fetches
files.  Any suggestions?  I also have a PCMCIA wireless card,
suggestions or links on how I might go about installing that?  Thanks in
advance, and the following are my system specs.

Dell 8200
2GHz processor
512 RAM
30 GIG hard drive
Nvidia GeForce 4 Go 64MB

Thanks again.

~ Matthew


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



Backing up multisession Blue Book CDs

2003-03-15 Thread Michael Hackett
I've looked high and low and can't seem to find any info on this, so I
hope someone here can help.

I would like to make complete backups of some of my music CDs, but I
haven't figured out how to get images of both the ISO 9660 (Windows) and
HFS (Mac) partitions from the "Enhanced CDs" (aka CD-Extra, CD-Plus),
using Linux software.

I expect that, in most cases, most of the files are shared between the
two and I'd prefer to be able to create a data file that could be used
with mkisofs to similarly recreate the sharing between the two
partitions, but I'd settle for two completely separate images.

Can this be done, and what tools do I need?

Thanks!
-- Michael


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



New Install || weirdness || blue-ish text

2003-03-15 Thread Metnetsky
I realize that the subject is a horrible description, but it takes some
explaining.  I've just done a base install of Debian on my Dell 8200
laptop which previously has Red Hat installed.  In Red Hat, console or X
mode, everything looked fine.  In Debian however, the installer had
lines running up and down it, I just figured it was a weird X driver
issue since I have a Nvidia GeForce 4 Go card (which requires special
drivers from Nvidia to run).  Now however I've completed the installer
and am in basic console mode (nothing else installed at the moment), and
all the text has awful blue lines on randomly placed corners of
character.  It's hideous and quite hard to read.  Any suggestions on
what I might do to fix this?  I know that it has to be fixable since Red
Hat never posed this problem.  Any help would be greatly appreciated, as
I'd like to stay with Debian after everything I've read.

~ Matthew



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



Re: considered harmful (was [off topic] Learning Shell from an old UNIX book)

2003-03-15 Thread csj
At Sat, 15 Mar 2003 11:58:48 +0200,
Aryan Ameri wrote:
> 
> On Saturday 15 March 2003 03:05, John Hasler wrote:
> > > I know the shortcomings of csh have been discussed
> > > elsewhere in this thread. But tcsh is enhanced csh.
> >
> > I have no problem with csh (or tcsh) as a login shell.  It is
> > just not suitable for scripting.
> >
> > > Perhaps you should rephrase your complaint to address a
> > > more significant issue, the presence of non-free software
> > > in the build system of a supposedly free software project:
> > > I have no faith in the quality of the work of developers
> > > who would choose to use Java in their build system.
> >
> > I wasn't aware of that.  So much for OO.o.
> >
> > And the fact that Sun would put _both_ csh _and_ Java in a
> > build system tells me a lot about Sun.  None of it good.
> 
> Well, I was the original poster of the tread, which asked
> wether I should read that specific book in order to learn shell
> programming or not. first, thanks form everyone, with their
> detailed advises, I am now reading the book, following the
> Bourne examples, an am quite happy with this.
> 
> But now that the discussion is about OOo, let me express my
> opinions about it as a user.
> 
> OK you guys say that, OOo is bad software because they use csh,
> and they use java to build it. Don't get me wrong, I am a true
> believer in free software, but I guess sometimes, you have to
> see things from a different point of view.

Not bad. I'd say just "not ideal."

> If OOo wasn't here, I couldn't have been using GNU/Linux. As
> simple as that. I am a university student, and in my
> university, everybody depends on MS Office. All the lecturer's
> presentations are given in power point, and all lecturer's put
> theire lecture notes on theire website. and guess what, all
> these documents are in MS Word or MS PowrPoint format. Using
> OOo, I haven't had a single problem with all these. I am able
> to view all these files perfectly, and I save my homeworks in
> MS Office format, and email them to my lecturer. If I didn't
> have OOo, I was forced to install windows on one of my
> partitions, and that's something that I really hate.
>
> I will always be thankfull to Sun, for releasing OOo. I even
> use OOo Draw, to draw algorithms and flowcharts, something that
> my classmates have to use MS Visio for.

Ligther than the OO.o suite: sodipodi (gtk) and karbon (kde). You
might also try using blender. But that would be 3D overkill.

> And in my opinion, using non free software in developing a
> software, shouldn't disqualify it from being free software
> (although RMS won't agree with me ).  As far as I can see, OOo
> is licensed under LGPL, and that's good enough for me.

If by non-free development you mean fairly trivial stuff live
revision control, that's also good enough for me. But if by
development you mean using build system that *might* require you
to pay royalties.

Since Java has a non-free license, there's a risk that Sun might
be bought out by somebody less inclined to support free
software. Without finding a replacement for the Java stuff (which
some people appear to be already doing), how then can Debian,
Redhat and friends recompile OO.o to fix stuff like security
holes?

> Besides, Linus is also using non free software to develop the
> kernel. Does that also mean, that we should all abandon the
> Linux kernel, and regard it as non free software?

Not quite the analogy you're looking for. You don't need AFAICT
non-free software to build your linux kernel. OTOH OO.o requires
Java to build.


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



Re: Problem with FireWire

2003-03-15 Thread p
On Sat, Mar 15, 2003 at 01:19:46PM +0100, Emilio Murcia wrote:
> Hi!
> 
> I've got a little problem with the IEEE1394 support on my computer, a 
> Dell Inspiron 8200 laptop...
> 
> when I plug my shiny iPod (which works really good under f*cking 
> windows) to the computer, the laptop suddenly hangs.
>

[snip]

//

_if_ the ipod is already connected 
during boot, does the box hang?

//


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



Re: Samba, rsync, home network w/ XP, backups?

2003-03-15 Thread Mike Dresser
On Sat, 15 Mar 2003, sean finney wrote:

> a ] share your entire xp drive  (ew...), smbmount it onto the woody
> box, and then just rsync -a between two directories

your entire XP drive is shared anyways, you could smbmount it onto the
woody box using the C$ share and the admin login/password.

> (i wouldn't recommend that as an automated solution, leaving your
> entire drive shared is bad...)

indeed, and microsoft insists on doing this, unless you know the registry
keys to remove those shares.

> b ] install cygwin on your xp box, and through cygwin install rsync,
> cron, and ssh.  then, rsync the directories when you want, just
> like you would on another linux box (this assumes you know how
> crontabs work if you want to automate it).

one problem I found with rsync under cygwin is it is HORRIBLY slow.  I
have a dual celeron 433 master server that takes about 30 to 45 minutes to
build the file list for 5 gig of files(about 150,000 files)

The celeron 333 that grabs that list off the NT server, can in turn share
it out in well under a minute.
Mike


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



Re: Samba, rsync, home network w/ XP, backups?

2003-03-15 Thread ronin2
On Sat, 15 Mar 2003 23:01:59 +0100
Rudy Gevaert <[EMAIL PROTECTED]> wrote:

> On Sat, Mar 15, 2003 at 03:04:12PM -0500, [EMAIL PROTECTED]
> wrote:
> > Check out O'Reilly's Linux Server Hacks. It has a good section on
> > backups, including full and incremental scripted backups with rsync.
> 
> Is this a book or an online article?
> 
Umm, go to oreilly.com and check it out. :)

Kevin


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



Re: Convincing someone to switch to Linux

2003-03-15 Thread Karsten M. Self
on Fri, Mar 14, 2003 at 08:06:23PM -0500, Roberto Sanchez ([EMAIL PROTECTED]) wrote:
> 
> I seem to have a small problem that maybe someone on the list can help
> with.
> 
> I belong to a small organization on campus.  We currently have some
> very old (circa 1995-1996) PCs running Win95.  These machines have
> Pentium 150-166 CPUs and 32 MB RAM.
> 
> They are in need of replacement for several reasons.  Including speed
> (they are just too slow now), software problems (many problems with
> viruses and people installing all sorts of crap on the machines), and
> some of the hardware has begun to fail.
> 
> The budget is $1000-1200 (max).  My solution (I was asked for my
> opinion, as I am seen as pretty computer savvy) was for us to go to
> Walmart and purchase 4 to 6 Linux boxes for $200-$300 each.  My
> rationale was:
> 
> 1. Cheaper (all of the CRTs are just fine and can be reused)
> 2. Easier to control people's access (i.e., individual user accounts
>or very restricted "guest" accounts)
> 3. Security (enough said)
> 4. More than sufficient for the tasks (web browsing, checking email,
>working on assignments with word processor/spreadsheet and
>presentations)
> 
> The "solution" that they decided on (not yet implemented) is to keep
> the aging machines and purchase one new Dell machine with
> WinXP/OfficeXP.  

Good arguments, and likely to go nowhere so long as the people you're
dealing with have no GNU/Linux exposure.

> Their rationale:
> 
> 1. Unwillingness to give up familiarity of MS Windows interface
> 
> I explained that if that was the only concern, we could install a
> Win9X desktop theme over whatever window manager we used.  I even
> demonstrated the import/export features of OpenOffice.org (to assuage
> another concern about not being able to open/use MS formatted docs).
> 
> Their response: Oh well, that's nice, we are getting the new Dell.
> 
> It troubles me that the organization is throwing away money that we
> don't have.

People do stupid things all day long for the least of reasons.

> Obviously, I am a proponent of Linux.  But, I feel quite strongly
> about this because of the financial impact.  If we had a $6000
> replacement budget and another $1-$2 in the bank, I would not
> be as concerned if they wanted to stick to MS (I hardly use the
> computers myself).  But the leadership refuses to budge, and I feel
> that they are just throwing money away and not doing anything to solve
> the problem.
> 
> Has anyone encountered this? How was this handled? What was the
> outcome?  What can I do?

As others have said, this isn't a battle you're likely to win.  You
*can* plant the seed though

For starters:  Knoppix makes a *great* GNU/Linux introduction.  No
installation hassles, no risk, no configuration.  Pop in a CDROM, boot,
in a couple of minutes you're looking at a full-fledged GNU/Linux
desktop, with 1200+ apps (1263 in 2003-01-18-en), over 2 GiB of apps,
data, even music!  With the price of CDR meda falling to 20-40 cents a
pop (less with rebates, free in instances), burning a spool and keeping
disks handy to distribute to the unwashed is highly encouraged.  This
would include your colleagues.

Quiet demonstration is probably the best adoption tactic.  GNU/Linux's
incursion of the corporate network occured as a covert placement, or
replacement, of boxes in certain roles, often small, where success was
highly likely.  Over time, CIOs would find themselves making
pronouncements in the IT press that "no Linux servers are allowed on our
network, and we'd fire anyone who placed any there", to be informed by
their IT managers "how much of our current network running flawlessly
for the past year do you plan on ripping out, and how many staff, all of
whom are involved in supporting Linux, do you plan to fire?"

Run GNU/Linux on your own equipment, all the better if you have a laptop
which can be seen in operation frequently.  Campaign to have *a*
GNU/Linux system set up (or provide materials for it to be installed
yourself).  If the system works well, it will be its own testament.

And if none of that works, float your resume.  There *are* GNU/Linux
jobs out there, and with time you're likely to land one.  

Peace.

-- 
Karsten M. Self <[EMAIL PROTECTED]>http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
Windows Refund Day II:  fight for your right to refund
http://www.windowsrefund.net/


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



Re: looking for configuration management tools

2003-03-15 Thread Bob Proulx
martin f krafft wrote:
> I administer some 20 servers and it's a pain to keep something
> like the various postfix configurations up to par. What I'd love to
> do is use CVS, but it stores no permission/user information. There's
> cvs-conf, but it's not documented and thus crap.

As opposed to pointing to a particular tool, let me point you toward a
methodology.  This is _the_ paper on the subject.  Give it a read and
then start looking at tools.

  http://www.infrastructures.org/papers/bootstrap/bootstrap.html

Check out the infrastructures archives for past discussions.  Posting
a note there would probably find a useful and well informed
discussion.

  http://mailman.terraluna.org/pipermail/infrastructures/

Bob


pgp0.pgp
Description: PGP signature


Re: file server recommendations?

2003-03-15 Thread Jack Pistachio
I'd suggest ssh, sftp, and scp, which all come in the
debian ssh package.  To use these with windows, I'd suggest
putty sftp client for windows.  This seems th easiest way
to do it.  This, of course, requires that your friends are
users on your system.
-jackp


--- ScruLoose <[EMAIL PROTECTED]> wrote:
> Hi all,
> 
>   I'm interested in making a few files available to
> friends of
> mine, and in having an upload directory for them to give
> me stuff, too.
> I'm wondering what's the best tool for this job.
> 
> * I'll only be talking about a very few users. (like 10
> to 20 total)
> * I don't have any particular interest in allowing
> anonymous access.
> * I'd like something that's reasonably secure (especially
> against
> sniffing and such external attacks; the users are
> reasonably trusted).
> * It would be nice not to have to create a local user for
> each remote
> user... 
> * Ease of setup would be a major bonus.
> 
> The first thing that comes to mind is FTP, but I'm not
> sure it's the
> right tool for the job. I've heard a lot of horror
> stories about its
> (in)security...
> 
> I do remember using some sort of "ssh file transfer"
> client somewhere...
> sometime... back in my Windoze days...  This has a
> promising ring to it.
> Any ideas on whether that's what I'm looking for, and if
> so, is
> there a server for this in woody?
> 
> I'm prepared to do my reading first, naturally.  But I
> could use some
> pointers on where to start.
> 
>   Thanks
> -- 
>
,-.
> >-ScruLoose- |  Any fine morning, a power saw
> can fell a tree <
> >   Please do not|   that took a thousand
> years to grow.  <
> >  reply off-list.   |   -Edwin Way Teale, naturalist and
> author (1899-1980)  <
>
`-'
> 

> ATTACHMENT part 2 application/pgp-signature 



__
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com


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



Searching a good inn2 HOWTO

2003-03-15 Thread Oliver Fuchs
Hi,
can somone point me to a good inn2 HOWTO.
I am running leafnode and want to change to inn2.

Oliver
-- 
... don't touch the bang bang fruit

http://www.wreckingpit.com
http://www.wattzap.com
http://www.rocknrollpurgatory.com

http://home.arcor.de/oliverfuchs1/debian/muttrc.html


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



Re: mozilla sans gnome = crash

2003-03-15 Thread John Hasler
I run Galeon with FVWM and suffer no more than the usual number of crashes.
-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin


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



Re: Samba, rsync, home network w/ XP, backups?

2003-03-15 Thread Rudy Gevaert
On Sat, Mar 15, 2003 at 03:04:12PM -0500, [EMAIL PROTECTED] wrote:
> Check out O'Reilly's Linux Server Hacks. It has a good section on
> backups, including full and incremental scripted backups with rsync.

Is this a book or an online article?

Thanks in advance,

-- 
Rudy Gevaert[EMAIL PROTECTED] [EMAIL PROTECTED]
Web pagehttp://www.webworm.org
GNU/Linux for schools   http://www.nongnu.org/glms
Savannah hacker http://savannah.gnu.org

Make an idiot proof program, and someone will make a better idiot.


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



tax return sites

2003-03-15 Thread Mark Laird Copper
Anyone out there (US) taking the plunge with on-line tax prep?

eztaxreturn.com worked ok (but not great) for me last year and isn't 
working this year.

TurboTax (Intuit) doesn't seem to like Mozilla (anyone try Opera or 
Galeon?)

TaxCut (HR Block + M$): no thanks.

I'm trying TaxBrain.com, but I'm not finding what I need.

Are Linux users locked out of functional tax software?

Mark


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



cfengine users?

2003-03-15 Thread martin f krafft
are there cfengine users out there who use cfengine with debian? i'd
be interested in how you went about it. cfengine is totally
comprehensive, capable of everything. but i want to keep a fully
functional debian system underneath.

who'd be willing to share his configuration with me so that i can
check it out before i embark on the configuration here?

-- 
Please do not CC me when replying to lists; I read them!
 
 .''`. martin f. krafft <[EMAIL PROTECTED]>
: :'  :proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Keyserver problems? http://keyserver.kjsl.com/~jharris/keyserver.html
Get my key here: http://people.debian.org/~madduck/gpg/330c4a75.asc


pgp0.pgp
Description: PGP signature


Re: mozilla sans gnome = crash

2003-03-15 Thread Andy Hurt
[EMAIL PROTECTED] wrote:
I posted this a few days ago but go no responses.  I'm trying again in
hopes someone will have a suggestion, even just pointing me to another
groups in which to ask.
Here's the scoop:

Using woody, when I'm running a plain X session (without Gnome), both
Mozilla and Galeon crash at the drop of a hat.  So much that they're
virtually unusable.  But when I run a Gnome session, everything is
very stable.
I've not tried Galeon or FVWM, but I have used Mozilla (1.2.1 and 1.4a) from 
within twm to great success.

All I can offer ;-\
--
andyrew
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Convincing someone to switch to Linux

2003-03-15 Thread Conrad Newton
>From [EMAIL PROTECTED] on Saturday, 2003-03-15 at 21:22:40 +0100:
> >From Roberto Sanchez on Friday, 2003-03-14 at 20:06:23 -0500:
> > 
> > The budget is $1000-1200 (max).  My solution (I was asked for my opinion, 
> > as I am seen as pretty computer savvy) was for us to go to Walmart and 
> > purchase 4 to 6 Linux boxes for $200-$300 each.  My rationale was:
> > 
> > (snip)
> > 
> > The "solution" that they decided on (not yet implemented) is to keep the 
> > aging machines and purchase one new Dell machine with WinXP/OfficeXP.  
> 
> The part of the argument that is incomprehensible to me is
> why they need $1000 to buy a single computer!  Nowadays most
> people (even those who use Windows) are spending $500 or less.
> 
> Since presumably no one in the group is simulating nuclear bomb blasts
> or calculating the structure of hemoglobin from basic principles, 
> it is indefensible to spend $1000 on a SINGLE computer.
> 
> Maybe you can concentrate on this point, and then make sure that
> at least one of the TWO computers they buy has a hard disk large 
> enough to allow a dual boot installation Linux/Win XP.  As others
> here have suggested, you then learn how to use the Linux machine
> as a terminal server for the older machines, and from time to time,
> boot into Linux.  Occasionally they will use the Linux machine, and 
> then they can see for themselves that it is perfectly adequate for
> e-mail, web-surfing, etc.  A Knoppix demonstration could be useful.
> 
> The main problem here looks like a political one.  The higher-ups
> have already decided what they want to do, and may be impervious
> to logic.  So concentrate on a point that even Windows-users could
> agree on, namely that you do not need $1000 to buy a computer.

Or buy two machines, one expensive Windows machine, but also one $200-$300 
Linux machine.  That should be enough for your terminal server.  If you
can convince the others that you can do more with your cheap machine
then they could with their expensive one, they may be more inclined
to listen to you next time.

Conrad


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



Re: Printers via SMB?

2003-03-15 Thread GSO
On Sat, 15 Mar 2003 10:51:17 -0900
Greg Madden <[EMAIL PROTECTED]> wrote:

> > jan-jr-ent:~# apt-get install cups
> > Reading Package Lists... Done
> > Building Dependency Tree... Done
> > Package cups has no available version, but exists in the database.
> > This typically means that the package was mentioned in a dependency
> > and never uploaded, has been obsoleted or is not available with the
> > contents of sources.list
> > E: Package cups has no installation candidate

Use:

$ apt-cache search --names-only cups

first, or even just 'apt-cache search cups' to see what packages
reference cups, and derive things from there.  You could install a
distribution that has all this preconfigured (e.g. lycoris though I
haven't looked at it myself - costs also so check it out fully to make
sure it will do what you need it to do).

The Linux Documentation Project web site will have the appropriate
howto.

There are some epson printer utils, escputil, another with a gui also
(check ink levels etc. though the system needs configuring if using from
raw debian).


GSO

PS  'apt-cache show [package name]' to show the details of a package


__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com


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



Re: Convincing someone to switch to Linux

2003-03-15 Thread ronin2
On Sat, 15 Mar 2003 21:20:54 +0100
Svenn Are Bjerkem <[EMAIL PROTECTED]> wrote:

> > If they don't want to use the hardware and your knowledge, someone
> > else will.
> 
> Kevin start out right but get the wrong conclusion. Up until the last 
> paragraph he has the right strategy.

Actually what you described was what I had in mind, I just didn't make
that clear.

Get it working first. Then let them know you have it working, and see if
they will let you hook into the network.

If they don't, then you will have learned how to set up a terminal
server and clients, and someone else will be able to use the systems
you've set up.

You win either way. Whether they also win is up to them.

Thank you Svenn, for spelling that out.

Kevin


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



Re: wma in linux

2003-03-15 Thread Alex Malinovich
On Sat, 2003-03-15 at 02:05, Paul Johnson wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Fri, Mar 14, 2003 at 09:38:23PM -0800, Jack Pistachio wrote:
> > Anyone know of a plugin to play *.wma files in xmms?
> > Or howabout a way to convert this proprietary madness to
> > ogg format?
> 
> mencoder might be able to do it for you.

I made this script a few months ago to automatically convert a whole
bunch of wma files to ogg. I had problems with mencoder as well, so
instead it uses mplayer to play the file to a wav, and then encodes the
wav using oggenc. This was never really intended to leave my hard drive,
so the term "user friendly" is foreign to it. :) But being that it's 22
lines long, it should be easy enough to figure out. :) I'll put in some
comments on things that are likely to need to be changed:

-encodeme.pl-

#!/usr/bin/perl

#You should just run this from the directory where the files
#you want to convert are located. But you can also optionally
#just specify the path here.
opendir (ENCDIR, "./");
@dirlist = grep {/\.wma$/} readdir (ENCDIR);
closedir ENCDIR;
 
#These are just used for specifying the names to use when encoding
#to ogg. You can change them to whatever you want.
$album = "The Eminem Show";
$artist = "Eminem";
   
foreach (@dirlist) {
# These next two lines are very specific to the filenames you're using.
# If you know a little bit of perl, you can modify them for your use.
# Otherwise, I'd suggest just doing it by hand.
  $tracknum = substr($_,0,2);
  $trackname = substr($_,3,-4);
  print "Converting $_ to WAV...";
  `mplayer -ao pcm -aofile encodeme.wav "$_" 2>/dev/null`;
  print "done!\n";
  print "Encoding to ogg:\n";
  print "   Number: $tracknum\n";
  print "   Track : $trackname\n";
  `oggenc -a $artist -N $tracknum -t "$trackname" -l "$album" -n "\%a -
\%t.ogg" encodeme.wav`;
  print "done!\n\n";
}

-end encodeme.pl-

Good luck. :)

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: Printers via SMB?

2003-03-15 Thread Brian Nelson
Joseph A Nagy Jr <[EMAIL PROTECTED]> writes:

> Jamin W. Collins wrote:
>> On Sat, Mar 15, 2003 at 10:21:14AM -0600, Joseph A Nagy Jr wrote:
>>
>>>I'd like to be able to use the Epson from my computer, but I haven't a
>>> clue on how to mount a printer.
>> Take a look at CUPS.
>>
>
> jan-jr-ent:~# CUPS
> su: CUPS: command not found
> jan-jr-ent:~# man cups
> No manual entry for cups
> jan-jr-ent:~# apt-get install cups
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Package cups has no available version, but exists in the database.
> This typically means that the package was mentioned in a dependency and
> never uploaded, has been obsoleted or is not available with the contents
> of sources.list
> E: Package cups has no installation candidate
> jan-jr-ent:~#

Err, learn how to use the tools available to you.

$ apt-cache search CUPS
[...]
cupsomatic-ppd - cups printer ppd's from LinuxPrinting.org
cupsys - Common UNIX Printing System(tm) - server
cupsys-bsd - Common UNIX Printing System(tm) - BSD commands
cupsys-client - Common UNIX Printing System(tm) - client programs (SysV)
[...]

-- 
I had no feelings about it.  It was aloof and licked itself too much.
Like my cat Mr. Trotsky.


pgp0.pgp
Description: PGP signature


Re: Convincing someone to switch to Linux

2003-03-15 Thread bounce-debian-user=archive=jab . org
>From Roberto Sanchez on Friday, 2003-03-14 at 20:06:23 -0500:
> 
> The budget is $1000-1200 (max).  My solution (I was asked for my opinion, 
> as I am seen as pretty computer savvy) was for us to go to Walmart and 
> purchase 4 to 6 Linux boxes for $200-$300 each.  My rationale was:
> 
> (snip)
> 
> The "solution" that they decided on (not yet implemented) is to keep the 
> aging machines and purchase one new Dell machine with WinXP/OfficeXP.  

The part of the argument that is incomprehensible to me is
why they need $1000 to buy a single computer!  Nowadays most
people (even those who use Windows) are spending $500 or less.

Since presumably no one in the group is simulating nuclear bomb blasts
or calculating the structure of hemoglobin from basic principles, 
it is indefensible to spend $1000 on a SINGLE computer.

Maybe you can concentrate on this point, and then make sure that
at least one of the TWO computers they buy has a hard disk large 
enough to allow a dual boot installation Linux/Win XP.  As others
here have suggested, you then learn how to use the Linux machine
as a terminal server for the older machines, and from time to time,
boot into Linux.  Occasionally they will use the Linux machine, and 
then they can see for themselves that it is perfectly adequate for
e-mail, web-surfing, etc.  A Knoppix demonstration could be useful.

The main problem here looks like a political one.  The higher-ups
have already decided what they want to do, and may be impervious
to logic.  So concentrate on a point that even Windows-users could
agree on, namely that you do not need $1000 to buy a computer.

Conrad


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



Re: Convincing someone to switch to Linux

2003-03-15 Thread Svenn Are Bjerkem
On Saturday 15 March 2003 05:55, [EMAIL PROTECTED] wrote:
> On Fri, 14 Mar 2003 20:06:23 -0500
>
> "Roberto Sanchez" <[EMAIL PROTECTED]> wrote:
> > Has anyone encountered this? How was this handled? What was the
> > outcome? What can I do?
>
> Ask them if you can have the old machines.
>
> Check out the Linux Terminal Server Project, and figure out how to use
> the old machines as terminals.
>
> If they don't want to use the hardware and your knowledge, someone else
> will.

Kevin start out right but get the wrong conclusion. Up until the last 
paragraph he has the right strategy.

You have to show that it work this time, then at the next crossroad they will 
ask to use your soulution /if/ your work has been convincing.

Let them buy that large Dell and ask to get the old machines for your 
purposes. Install LTSP on them, remember you need one as a server, so maybe 
you need to reorganize a bit hardware in order to get the server a bit more 
powerful. Leave the best CRT and the fastest graphics card for the best of 
the rest. There are already projects with linux for schools that have 
finished setup for this, the one I know is in Norwegian so it won't help you, 
but look for one in your language on google. (Maybe you already know one).

Make sure that the linux equivalents of web browser, mail reader etc. and 
openoffice gets cleanly installed. Set up Samba to talk to that Dell machine 
and any printers that are reachable by that Dell. Motto here is 
/transparency/. If there is only one Dell and many users, sooner or later 
somebody will have to 'migrate' to one of your LTSP machines if he or she 
want to browse on the web, read email from mum, get that classwork printed 
etc. There is no need to try to hide that they are LTSP linux by having a win 
desktop, that will only confuse your users as the desktops don't behave 
exactly as XP does.

When you have succeded in setting up the LTSP, the server, samba, printing, 
openoffice etc. /leave it like that/. Don't touch the system unless there are 
bugs to fix or serious flaws appear. If the machines are unavailable because 
you are hacking around on a new version on xy you will ruin all your good 
credits.

When they come and ask: "Roberto, how can we get more speed on those nice 
Penguin desktops?" You can think seriously for a moment, and then suggest: " 
Now, if we made that Dell machine into the server of the LTSP network ..."

Roberto, seeing is believing. I wish you good luck, and report back if your 
efforts bring any result.
-- 
Svenn


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



Re: odd compiler behaviour?

2003-03-15 Thread Bruynooghe Floris
On Fri, Mar 14, 2003 at 06:12:28PM +, Pigeon wrote:
> #include  // need this to use malloc()

Well I thought so to, but it _did_ work without to my surprise (discovered after
I stupidly forgot it)

But using `//' is also a C++ism no?

BTW; thanks to all of you for the replies, I couldn't find this in any book (not
 even K&R).


floris


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



digital voice recorders for Linux

2003-03-15 Thread Andy Saxena
Hello,

I would appreciate a recommendation for a digital voice recorder that
works with Linux, along with a recommendation for the software.

Thank you,
Andy


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



Re: Samba, rsync, home network w/ XP, backups?

2003-03-15 Thread ronin2
On Sat, 15 Mar 2003 13:33:43 -0500
Barry Mathieu <[EMAIL PROTECTED]> wrote:

> I'm a relatively newbie to Linux administration and I need some
> suggestions for data backup/disk mirroring.

Check out O'Reilly's Linux Server Hacks. It has a good section on
backups, including full and incremental scripted backups with rsync.

Kevin


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



Re: Printers via SMB?

2003-03-15 Thread Greg Madden
On Saturday 15 March 2003 10:01 am, Joseph A Nagy Jr wrote:
> Jamin W. Collins wrote:
> > On Sat, Mar 15, 2003 at 10:21:14AM -0600, Joseph A Nagy Jr wrote:
> >>I'd like to be able to use the Epson from my computer, but I haven't a
> >>clue on how to mount a printer.
> >
> > Take a look at CUPS.
>
> jan-jr-ent:~# CUPS
> su: CUPS: command not found
> jan-jr-ent:~# man cups
> No manual entry for cups
> jan-jr-ent:~# apt-get install cups
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Package cups has no available version, but exists in the database.
> This typically means that the package was mentioned in a dependency and
> never uploaded, has been obsoleted or is not available with the contents
> of sources.list
> E: Package cups has no installation candidate
> jan-jr-ent:~#

This may be one of those cases where using dselect will be more helpfull. 
Dselect, or aptitude , have search functions. Searching on cups shows 
cupsys and some other cups related packages, *-gimp-print., etc. There are 
some foomatic packages that have additional printer drivers also.
-- 
Greg Madden


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



Re: Averiguar Kernel

2003-03-15 Thread Svenn Are Bjerkem
On Friday 14 March 2003 16:36, Emilio Murcia wrote:
> En un terminal introduce

I recomend http://lists.debian.org/debian-user-spanish

-- 
Svenn


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



Re: looking for configuration management tools

2003-03-15 Thread martin f krafft
also sprach martin f krafft <[EMAIL PROTECTED]> [2003.03.15.1956 +0100]:
> Do you guys know of better tools to manage a configuration across
> multiple servers?

cfengine2? i even know the author. are there alternatives?

-- 
Please do not CC me when replying to lists; I read them!
 
 .''`. martin f. krafft <[EMAIL PROTECTED]>
: :'  :proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Keyserver problems? http://keyserver.kjsl.com/~jharris/keyserver.html
Get my key here: http://people.debian.org/~madduck/gpg/330c4a75.asc


pgp0.pgp
Description: PGP signature


Re: XMMS and CD Audio Broken-SOLVED

2003-03-15 Thread Lonnie Sutton
Thanks to all who replied and for the good advice and troubleshooting
help. As is often the case, all of my problems were "Operator Error" and
I have managed to get myself "un-fubarred" again. I can now play my
audio cds using xmms, listen to NPR and BBC news on RealPlayer, and burn
cds as user, using gcombust. It's been a frustrating exercise, but
satisfying in the end.  

Thanks again for all the quick and helpful responses.
-- 


Lonnie Sutton - [EMAIL PROTECTED] - Bainbridge Island, WA 98110



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



Re: Samba, rsync, home network w/ XP, backups?

2003-03-15 Thread Alvin Oga

hi ya barry

On Sat, 15 Mar 2003, Barry Mathieu wrote:

> I'm a relatively newbie to Linux administration and I need some
> suggestions for data backup/disk mirroring.
> 
> I have a home network with a cable router and I'm using samba to share
> data. Two machines are connected to the router; an XP Pro box and Debian
> Woody (running samba).
> 
> The XP box has a single 80G disk (sorry I need to use XP for CAD
> applications - ProEngineer and SolidWorks). I would like to put two 80G
> drives in the Debian machine; one to periodically replicate the XP disk,
> the other to backup the Debian machine, provide an incremental data
> backup location for the XP box, and for general file storage.  I'm also
> considering adding a notebook and I want to be able to sync the notebook
> drive.

if you wanna boot the XP ...  you'd probably want to do a 100% full bakcup
first ...  than do your daily incrementals..
- full bakcups with tools of your choice
( tar, dump, dd(discouraged), ghost, etc..

incremental backups ... 
- do you want it to be a mirror  or just leave it as
today.7days.tgz  for incrementals ...

- use find to find the changes since the last full backup

- 2nd disk might have /Backup/year/mon/date.incrmental.tgz

rsync is good if you want a "live" copy of the master disk
but occupies lots of disk space ...

raid1 (mirror) is good if yo want a live copy and dont want ot worry about
doing anything to copy data to the other disk .. but if you erase a
project on the master, it will be erased within a few seconds on your
2nd (backup) disk too ... mirroring is  bad for "backups" 

for copy the XP stuff.. you need samba setup and working properly
and you'd need XPs shared exported so that debian can read it
- dont forget to turn on the kernel vfat,etc fs options

example backup scripts
http://www.Linux-Backup.net

c ya
alvin



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



Re: Samba, rsync, home network w/ XP, backups?

2003-03-15 Thread sean finney
hi barry,

On Sat, Mar 15, 2003 at 01:33:43PM -0500, Barry Mathieu wrote:
> I think rsync is the correct application for such a task; is this
> correct? I don't want try to redesign the wheel and I think many others
> have passed this way before. I'm a bit confused by the rysnc
> documentation - it doesn't appear to be used for interfacing using SMB.

i can think of a couple ways of doing this, depending on your
desired level of security, and whether or not you want to
regularly automate it or just manually run it every now and then.

a ] share your entire xp drive  (ew...), smbmount it onto the woody
box, and then just rsync -a between two directories

(i wouldn't recommend that as an automated solution, leaving your
entire drive shared is bad...)

b ] install cygwin on your xp box, and through cygwin install rsync,
cron, and ssh.  then, rsync the directories when you want, just
like you would on another linux box (this assumes you know how
crontabs work if you want to automate it).

(probably the better solution, but if you want to automate it you'll
need to learn about pubkey authentication)



hth
sean


pgp0.pgp
Description: PGP signature


kword: print preview truncates lines.

2003-03-15 Thread Janis Hagelberg
hello!
i've tried to write a text with kword, to see how it works. but when i want 
to see se print preview (using gv) or when i print my text, it systematically 
truncates the end of the lines. it also changes the shape of the text, for 
example on a letter header it doesn't appear as a block on the preview.
it seems like kword thinks the paper size isn't a4...
does anyone already experienced something like this? 
i don't know what to do...


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



Re: TELNET

2003-03-15 Thread Alvin Oga


On Sat, 15 Mar 2003, Colin Watson wrote:

> On Fri, Mar 14, 2003 at 12:09:59PM -0800, Alvin Oga wrote:
> > On Fri, 14 Mar 2003, Joao Paulo wrote:
> > > telnet is also very good (but for other things).
> > > telnet host 25
> > > telnet host 21
> > > ...
> > 
> > but your firewall should also block "the wrong protocols"
> > connecting to the wrong/right ports
> 
> Er, exactly how can any correct firewall stop someone using telnet from
> speaking the protocol manually? 'telnet host 25' rarely means actually
> running a telnetd on port 25, it means speaking SMTP by hand.

dont know how raptor does it .. but it does work ...
( raptor does do protocol checking on ports )
- i assume it talks back to the incoming traffic
and if it doesnt get the right answers... it doesnt
pass the traffic thru

and "telnet localhost pop3s" or https  fails simply because the other end
wont speak to ya.. :-)   .. woulda been nice to see which pop3s server but 
oh well

c ya
alvin


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



looking for configuration management tools

2003-03-15 Thread martin f krafft
I administer some 20 servers and it's a pain to keep something
like the various postfix configurations up to par. What I'd love to
do is use CVS, but it stores no permission/user information. There's
cvs-conf, but it's not documented and thus crap.

Do you guys know of better tools to manage a configuration across
multiple servers?

-- 
Please do not CC me when replying to lists; I read them!
 
 .''`. martin f. krafft <[EMAIL PROTECTED]>
: :'  :proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Keyserver problems? http://keyserver.kjsl.com/~jharris/keyserver.html
Get my key here: http://people.debian.org/~madduck/gpg/330c4a75.asc


pgp0.pgp
Description: PGP signature


Re: Printers via SMB?

2003-03-15 Thread Joseph A Nagy Jr
Jamin W. Collins wrote:
On Sat, Mar 15, 2003 at 10:21:14AM -0600, Joseph A Nagy Jr wrote:


I'd like to be able to use the Epson from my computer, but I haven't a
clue on how to mount a printer. 


Take a look at CUPS.

jan-jr-ent:~# CUPS
su: CUPS: command not found
jan-jr-ent:~# man cups
No manual entry for cups
jan-jr-ent:~# apt-get install cups
Reading Package Lists... Done
Building Dependency Tree... Done
Package cups has no available version, but exists in the database.
This typically means that the package was mentioned in a dependency and
never uploaded, has been obsoleted or is not available with the contents
of sources.list
E: Package cups has no installation candidate
jan-jr-ent:~#
--
Let me meddle not in the affairs of Linuxen
For I am an idiot and will toast my boxen.
http://www.hsv-hotspots.com/
Your hotspot for Wireless in HSV, AL
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Getting Ogle to work

2003-03-15 Thread Jerry
On Thu, 13 Mar 2003 08:30:55 -0800
debian_newbie <[EMAIL PROTECTED]> sat at his keyboard and wrote:

> On Wed, 12 Mar 2003 01:28:32 +0100
> martin f krafft <[EMAIL PROTECTED]> sat at his keyboard and wrote:
> 
> > also sprach debian_newbie <[EMAIL PROTECTED]> [2003.03.11.2252
> > +0100]:> OK, where do I get it?
> > 
> > http://www.dtek.chalmers.se/groups/dvd/deb/
> > 
> 
> OK, I got it and installed it. Now Ogle plays dvds! It starts the dvd,
> then about 5 seconds into the dvd it stops. Then, about 30 seconds
> later it picks up and goes on just like nothing ever happened. Audio
> is low, I have to crank it up with Kmix, video was at first kinda
> jumpy. i used hdparm to turn on dma on my dvd drive. Now the video is
> a lot better. Still a little sticky at times. I have a PIII 450 HMZ,
> 458 MB SDRAM, ATI Radeon 7500 64MB system. Shouldn't that be enough
> power to play dvds smoothly?
> 


OK, now that I've got it working - sort of, what fps should I get from
glxgears on my system. I currently get around 66-80 fps. System profile
follows:


System:
  PIII 450MHZ CPU
  Gigabyte 6BXC MB
  458 MB SDRAM
  ATI Radeon 7500 64 MB video card
  Debian Woody 3.0r0
  XFree86  upgraded to 4.2.0
  Here's the relevant sections of my XF86Config-4 file:


  Section "Module"
Load"GLcore"
Load"bitmap"
Load"dbe"
Load"ddc"
Load"dri"
Load"extmod"
Load"freetype"
Load"glx"
Load"int10"
Load"record"
Load"speedo"
Load"type1"
Load"vbe"
  EndSection

  Section "Device"
Identifier  "Radeon 7500"
Driver  "ati"
BusID   "PCI:01:00:00"
VideoRam64000
Option  "UseFBDev"  "true"
  EndSection


  Section "Monitor"
Identifier  "Envision EN-775e"
HorizSync   30-72
VertRefresh 50-160
Option  "DPMS"
  EndSection

  Section "Screen"
Identifier  "Default Screen"
Device  "Radeon 7500"
Monitor "Envision EN-775e"
DefaultDepth16
SubSection "Display"
Depth   1
Modes   "1280x1024"
EndSubSection
SubSection "Display"
Depth   4
Modes   "1280x1024"
EndSubSection
SubSection "Display"
Depth   8
Modes   "1280x1024"
EndSubSection
SubSection "Display"
Depth   15
Modes   "1280x1024"
EndSubSection
SubSection "Display"
Depth   16
Modes   "1280x1024"
EndSubSection
SubSection "Display"
Depth   24
Modes   "1280x1024"
EndSubSection
  EndSection

  Section "ServerLayout"
Identifier  "Default Layout"
Screen  "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
  EndSection

  Section "DRI"
Mode0666
  EndSection

 -- 
 debian_newbie,
 Thanks


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



Samba, rsync, home network w/ XP, backups?

2003-03-15 Thread Barry Mathieu
I'm a relatively newbie to Linux administration and I need some
suggestions for data backup/disk mirroring.

I have a home network with a cable router and I'm using samba to share
data. Two machines are connected to the router; an XP Pro box and Debian
Woody (running samba).

The XP box has a single 80G disk (sorry I need to use XP for CAD
applications - ProEngineer and SolidWorks). I would like to put two 80G
drives in the Debian machine; one to periodically replicate the XP disk,
the other to backup the Debian machine, provide an incremental data
backup location for the XP box, and for general file storage.  I'm also
considering adding a notebook and I want to be able to sync the notebook
drive.

I think rsync is the correct application for such a task; is this
correct? I don't want try to redesign the wheel and I think many others
have passed this way before. I'm a bit confused by the rysnc
documentation - it doesn't appear to be used for interfacing using SMB.

I don't need to backup to tape; I may consider such a option at the
point I prepare for catastrophic recovery.

Looking forward to helpful suggestion and directions,
Barry


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



Re: Printers via SMB?

2003-03-15 Thread Jamin W. Collins
On Sat, Mar 15, 2003 at 10:21:14AM -0600, Joseph A Nagy Jr wrote:

> I'd like to be able to use the Epson from my computer, but I haven't a
> clue on how to mount a printer. 

Take a look at CUPS.

-- 
Jamin W. Collins


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



Re: mc colour scheme

2003-03-15 Thread martin f krafft
also sprach Marc Wilson <[EMAIL PROTECTED]> [2003.03.15.1603 +0100]:
> Since you use rxvt, I'd look at whether or not the two machines have the
> same resources defined.

Yes, they do. The machines are identical. It's the difference of
calling mc locally or through an ssh pty which changes the colours.

-- 
Please do not CC me when replying to lists; I read them!
 
 .''`. martin f. krafft <[EMAIL PROTECTED]>
: :'  :proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Keyserver problems? http://keyserver.kjsl.com/~jharris/keyserver.html
Get my key here: http://people.debian.org/~madduck/gpg/330c4a75.asc


pgp0.pgp
Description: PGP signature


Re: considered harmful (was [off topic] Learning Shell from an old UNIX book)

2003-03-15 Thread John Hasler
I wrote:
> I have no problem with csh (or tcsh) as a login shell.  It is just not
> suitable for scripting.

Johan Kullstam writes:
> I do.  If csh (and tcsh) suck for scripting, then why on earth use them
> as your shell?

I don't.

> If you make them your shell then you have to spend time learning their
> broken brain damage.  That's a waste.

Other people get to waste their time as they wish.  I just meant that I
have no objection to csh being available as a login shell.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI


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



Re: Debian and LDAP

2003-03-15 Thread ronin2
On 15 Mar 2003 09:11:46 +0100
Aaron Isotton <[EMAIL PROTECTED]> wrote:

> - Using useradd etc every user has also his own group.  Do I *really*
> have to create all of them by hand?

That's because /etc/adduser.conf says to do it that way. You can change
this if you want all users to belong to the "users" group.

Kevin


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



can't forward

2003-03-15 Thread Michael West
I am setting up a new gateway and it will not forward.

The gateway looks like:

eth0 10.0.0.2

eth1 10.0.1.1

eth2 10.0.2.1

-

route:

Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse
Iface
10.0.0.0*   255.255.255.0   U 0  00 eth0
localnet*   255.255.255.0   U 0  00 eth1
10.0.2.0*   255.255.255.0   U 0  00 eth2
default 10.0.0.10.0.0.0 UG0  00 eth0

-

cat /proc/sys/net/ipv4/ip_forward

1

-

iptables -L

Chain INPUT (policy ACCEPT)
target prot opt source   destination

Chain FORWARD (policy ACCEPT)
target prot opt source   destination

Chain OUTPUT (policy ACCEPT)
target prot opt source   destination

-

I cannot ping from 10.0.2.2 through the gateway to 10.0.0.1

The gateway can ping both 10.0.2.2 and 10.0.0.1

from 10.0.2.2 a traceroute 10.0.0.1 shows that the packets are routed to
the correct gateway interface 10.0.2.1 but that is a far as they get.

What is the next step in diagnosing the problem.  Did I forget something
silly?

 ~Michael

 


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



Printers via SMB?

2003-03-15 Thread Joseph A Nagy Jr
Domain=[THE_MATRIX] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Sharename  Type  Comment
-    ---
IPC$   IPC   Remote IPC
print$ Disk  Printer Drivers
SharedDocs Disk
C  Disk
D  Disk
Printer2   Printer   Canon Bubble-Jet BJC-2100
PrinterPrinter   EPSON Stylus Photo 785EPX
I'd like to be able to use the Epson from my computer, but I haven't a 
clue on how to mount a printer. Do I point it to /dev/lpd or something?

TIA

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



Re: cups installation: Unable to read configuration file'/etc/cups/cupsd.conf' - exiting

2003-03-15 Thread iks_kzm


On Fri, 14 Mar 2003, Jerome Acks Jr wrote:

> On Fri, Mar 14, 2003 at 08:02:52PM +0100, iks_kzm wrote:
> > 
> > 
> > Thanks for answer.
> > 
> > On Thu, 13 Mar 2003, Jerome Acks Jr wrote:
> > 
> > > On Thu, Mar 13, 2003 at 03:08:07PM +0100, iks_kzm wrote:
> > > > 
> > > > 
> > > > I had problem with cups: 
> > > 
> > > Please don't break the text in you message into blocks by placing "--"
> > > between the blocks. Some mail user agents (e.g. mutt) interpret this
> > > as the start of a signature. It makes it difficult to incorporate the
> > > text of your message in the reply.
> > 
> > I am really sorry.
> > 
> > > 
> > > > During the installation I got the following message:
> > > >
> > > > "cupsd: Unable to read configuration file '/etc/cups/cupsd.conf' -
> > > > exiting"
> > > >
> > > > and there is no file cupsd.conf in /etc/cups/.
> > > >
> > > >
> > > > Then when I connect (using mozilla) to
> > > > http://localhost:631/
> > > >
> > > > and then try to choose "Do Administration Tasks" or "Printers"
> > > > I got :
> > > > "Alert! The connection was refused when attempting to contact
> > > > localhost:631."
> > > 
> > > Connecting to http://localhost:631 will only work if cupsd daemon is
> > > running. You will not be able to use web interface to administer your
> > > printers until you get the daemon to run. Until then, you can
> > > administer printers with the lpadmin program. Make yourself a member
> > > of the "lpadmin" group to be able to administer printers without
> > > becoming root.
> > I think it is a bug in dselect or in cupsys debian package.
> > I used 'dpkg -i cupsys...'
> > and the package and cupsys-client and cups-bsd were installed.
> > 
> > How one can make a user a member of the 'lpadmin' group?
> 
> # adduser your_userID lpadmin
> 
> > 
> > Still have problem:
> > When I use the printer from NON-root account it seems that
> > the configuration of the printer is NOT OK.
> > E.g. when I print some picture (region filled with gray colour)
> > it is printed as black but from the root account it is printed OK.
> 
> That sounds like a permission problem, i.e. permission or ownership of
> some directory is not set properly, or user needs to be added to some
> group to get write access priviledges to a device.
> 
> You have not mentioned anything about installing drivers for your
> printer. You probably need to install one of these packages:

I have HP Laserjet 1200 series. 

> 1) cupsys-driver-gimpprint, 
> 2) foomatic-bin and foomatic-db, or 
> 3) cupsomatic-ppd.
I have installed 1, 2 and 3.

But I just copied from the CD (which I obtained with the printer)
the original HP_Laserjet_1200.ppd
to /usr/share/cups/model/HP/, restarted cups and then connected to
http://localhost:631 and add new printer choosing the  
HP_Laserjet_1200 series model.

I noticed the following:
the files /etc/cups/cupsd.conf and printers.conf can be read and executed
ONLY by root. I changed the mode (using chmod) so any user
can read the files but nothing changed: the described above printing
problem remained the same. When I did '/etc/init.d/./cupsys restart'
the two files again can be read and executed ONLY by root.

I use debian 3.0 (woody)

Any clue?

Jan

> 
> Do you have libcupsys2 and gs-esp installed?

I installed libcupsys2 but I cannot figure out whether I have gs-esp.
What gs-esp is? Using search in dselect I cannot find it.
I have installed all most packages connected with gs (ghostscript).

Jan

> 
> Which version of debian/GNU are you using?
> 
> > I use gv to print postscript files and acrobat to print pdf files.
> > The command for printing is lp or lpr: both work in strange way
> > described above.
> > BUT I noticed that when I use KGhostview instead of gv to print .ps
> > files  from non-root account the picture with gray filling is printed OK.
> > In KGhostview I can choose in print dialog window cups or lprng and so on.
> > Of course I choose cups system.
> > 
> > It seems that gv and acrobat are not aware of cups system in non-root
> > account.
> > 
> > Any clue?
> > 
> > Jan
> > 
> -- 
> Jerome


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



Re: wma in linux

2003-03-15 Thread Blake Covarrubias
On Sat, 2003-03-15 at 07:13, Sven Hoexter wrote:
> On Sat, Mar 15, 2003 at 12:05:13AM -0800, Paul Johnson wrote:
> > On Fri, Mar 14, 2003 at 09:38:23PM -0800, Jack Pistachio wrote:
> > > Anyone know of a plugin to play *.wma files in xmms?
> > > Or howabout a way to convert this proprietary madness to
> > > ogg format?
> > 
> > mencoder might be able to do it for you.
> I had some troubles with mencoder and wma -> convertion. Segfaults and other
> ugly things.
> 
> You should be able to play the files with xmms and this plugin if you've
> installed the win32 codecs.
> ftp://ftp.xmms.org/xmms/plugins/avi-xmms
> 
> HTH
> Sven
> 
> -- 
> Revolution is not a dinner party, not an essay, nor a painting, nor a piece of
> embroidery; it cannot be advanced softly, gradually, carefully, considerately,
> respectfully, politely, plainly, and modestly.
> - Mao Zedong (Mao Tse-tung)
> 

Hmm...does MPlayer support WMA format? I've never tried it, but you may
only have to download the Win32 codecs to get the compatibility. Give it
a shot, it may work...


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



iptables: forwarding internal webserver

2003-03-15 Thread Sebastiaan
Hi,

I have a router<->firewall<->LAN with the firewall being a Linux box. The
firewall runs (among others) a webserver. When from within the LAN a
webpage is requested with the external IP, the browser gives a time-out
because the router freaks out when his own IP is requested from within.

What I would like to do is that queries made to the external IP $ext_ip
from the LAN $lan_ip is forwarded to the server directly, $server_ip.

I have rtfm and stfw and came up with the following two lines:
$IPTABLES -t nat -A PREROUTING -p tcp -i $lan_iface -s $lan_ip -d $ext_ip -j DNAT --to 
$server_ip
$IPTABLES -t nat -A POSTROUTING -o $lan_iface -j MASQUERADE

Another form I have been playing around with:
$IPTABLES -t nat -A PREROUTING  -d $ext_ip -p tcp -j DNAT --to $server_ip
$IPTABLES -t nat -A POSTROUTING -d $server_ip -s $local_lan -p tcp -j SNAT --to 
$server_ip

neither of them seem to work. I must be overlooking something. Can someone
help?

Thanks in advance,
Sebastiaan


--
  NT is the OS of the future. The main engine is the 16-bit Subsystem
  (also called MS-DOS Subsystem). Above that, there is the windoze 95/98
  16-bit Subsystem. Anyone can see that 16+16=32, so windoze NT is a
  *real* 32-bit system.



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



Re: Mozilla stops accepting typed input

2003-03-15 Thread Wim De Smet
On Thu, 13 Mar 2003 12:40:51 -0800
"Martin J. Hillyer" <[EMAIL PROTECTED]> wrote:
> I'm having an irritating problem with Mozilla.  After what appears to
> be a random length of time (often very short, eg, after one entry), it
> stops accepting typing in, for example, the address box, or in a
> google text input area.  I have to kill that instance and start
> another to get it to accept typed input.  Clicking on links still
> works normally.  Does anyone have any ideas?  
> 
> I've thought that perhaps I'd remove a config file and let it
> reconfigure, but I don't see any obvious rc files - 'locate mozillarc'
> only gives /etc/mozilla/mozillarc, which has only one line.  Nothing
> obvious pops out from my ~/.mozilla directory - there's a binary file
> in there called appreg, and two folders - /fonts, and
> /; the latter only has the rather mysteriously named
> folder /b3nzixf2.slt, which has lots of stuff relating to bookmarks,
> cookies, etc, but nothing seems to stand out as possibly corrupted.
> Nothing I've looked for in Google has turned up any clues, so I'm
> turning to the list...
> 
> I'm running testing, kernel 2.4.20, X 4.2.1 with an Athlon XP1500+,
> 512 MB RAM and an nVidia GeForce2/MX-400 64MB video card.  I have been
> bitten by the AMD-AGP issue, but this seems to be pretty much under
> control with the 2.4.20 kernel (it was a problem through 2.4.18).
> 
> Please hold suggestions that I use a different browser; I know that
> (and I've used various), but I would like to get this Mozilla problem
> fixed because I like its many features (popups, cookie and login
> management, eg).
> 
> Thanks for any ideas...
> -- 
> Martin Hillyer
> 
> 

Specifically, when this happens to me I just switch to another window,
click somewhere in there and switch back, after which my input is unlocked
or whatever. This is a work-around but I personally think ppl could work a 
*little* faster at getting new moz versions into testing (coz the old ones
have various issues)

grtz,
Wim


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



Re: considered harmful (was [off topic] Learning Shell from an old UNIX book)

2003-03-15 Thread Johan Kullstam
John Hasler <[EMAIL PROTECTED]> writes:

> > I know the shortcomings of csh have been discussed elsewhere in this
> > thread. But tcsh is enhanced csh.
> 
> I have no problem with csh (or tcsh) as a login shell.  It is just not
> suitable for scripting.

I do.  If csh (and tcsh) suck for scripting, then why on earth use
them as your shell?  If you make them your shell then you have to
spend time learning their broken brain damage.  That's a waste.

-- 
Johan KULLSTAM


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



Re: Debian and LDAP

2003-03-15 Thread nate
Aaron Isotton said:
>
> - How can I manage the accounts in a sensible way?  useradd and the like
> seem not to use PAM, so I can't use them; until now I've used
> directory-administrator and gq to manage the accounts, but I have a strong
> dislike for GUI programs for such tasks.  I know I can use
> ldapadd/ldapmodify to manage accounts, but I'm not yet good enough in LDIF
> to do that.  Is there any useradd-like tool which uses PAM?

I use ldapexplorer in combo with ldapmodify/ldapadd. I plan someday
to write a perl script to manage users, I'm still a perl newbie though.

> - Using useradd etc every user has also his own group.  Do I *really* have
> to create all of them by hand?

if you want each user in their own group then yeah.


> - How do I add a user to more than one group?

set the memberUid attribute in the group.
e.g.

dn: cn=cdwrite,ou=Group,o=aphroland,c=us
objectClass: posixGroup
objectClass: top
cn: cdwrite
gidNumber: 80
memberUid: aphro
memberUid: laze


> - I'd like to allow some users to log in on the server (via ssh, for
> example) and others not BUT everybody should be able to log in to the
> workstations (which authenticate off the server).  Thus setting the shell
> to /bin/false is not an option.  It'd be ideal if it could be done by
> group (ex. all users in the group "it" can log in on the server, the
> others can't).  Is there any solution for this?

this should work for your needs:
http://howto.aphroland.de/HOWTO/LDAP/ConfiguringHostBasedAccessWithLDAP

nate




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



Re: mc colour scheme

2003-03-15 Thread Marc Wilson
On Fri, Mar 14, 2003 at 11:03:20PM +0100, martin f krafft wrote:
> Mh, i got a little further. the blue colours show up when I access
> mc locally. If I go through an ssh connection within a local
> terminal, the nice colours appear. If I start the terminal remotely,
> the ugly colours show. if i ssh to localhost and then run mc, the
> nice colours show.

You know, mc is subject to whatever your terminal emulator thinks it should
be using for specific colors... if you redefine what xterm thinks color0
is, for example, when you tell mc to be "black", you get what the terminal
thinks is black, not a real black.

Since you use rxvt, I'd look at whether or not the two machines have the
same resources defined.

-- 
 Marc Wilson | Truth can wait; he's used to it.
 [EMAIL PROTECTED] |


pgp0.pgp
Description: PGP signature


smtp alais to point to dev null

2003-03-15 Thread Jason M. Harvey
hi!

i was selling a car once and posted a message to some new jersey for
sale newsgroup. luckily i set up an alias "car" to send the message...
'cause now i'm getting a lot of spam to that alias. so, i took "car" out
of /etc/aliases, but now exim receieves the message, hold it it queue,
then bounces it back to me since the original sender is "<>"!
so, as a solution, i would like to put "car: /dev/null" in /etc/aliases,
but wanted to check here in case there is a better way of doing it.

tia,
jason

-- 
Jason M. Harvey
[EMAIL PROTECTED]
http://www.jharv.com


signature.asc
Description: This is a digitally signed message part


Re: TELNET

2003-03-15 Thread Colin Watson
On Fri, Mar 14, 2003 at 12:09:59PM -0800, Alvin Oga wrote:
> On Fri, 14 Mar 2003, Joao Paulo wrote:
> > telnet is also very good (but for other things).
> > telnet host 25
> > telnet host 21
> > ...
> 
> but your firewall should also block "the wrong protocols"
> connecting to the wrong/right ports

Er, exactly how can any correct firewall stop someone using telnet from
speaking the protocol manually? 'telnet host 25' rarely means actually
running a telnetd on port 25, it means speaking SMTP by hand.

-- 
Colin Watson  [EMAIL PROTECTED]


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



simpleinit init scheme?

2003-03-15 Thread Andreas Happe
I was just wondering why there is no "simpleinit" support in util-linux
(as mentioned in http://www.atnf.csiro.au/people/rgooch/linux/boot-scripts/)?

thanks,
Andreas
-- 
'The key words "MUST", "MUST NOT", "DO", "DON'T", "REQUIRED", "SHALL",
"SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED",  "MAY", "MAY BE"
and "OPTIONAL" in this document do not mean anything.' RFC-3251


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



Re: Two Debian Release Cycle Issues

2003-03-15 Thread Colin Watson
On Thu, Mar 13, 2003 at 09:24:00PM -0500, Abdul Latip wrote:
> * The Multiple Architecture Support Issue
> 
> Each additional architecture support will significantly increase
> the Debian release cycle, including security update, as well as
> moving from "unstable" to "testing".

I don't believe that this is true to anywhere near the extent frequently
claimed. Moving from one architecture to multiple architectures
certainly introduces a good deal more work; moving from 11 to 12 makes
very little difference. You'll probably have seen comments about the
extra architectures in woody having slowed things down, but that's
because some of the infrastructure wasn't up to the task. That's been
fixed now.

Of the glibc bugs that slowed things down recently, a number were just
as visible on i386.

-- 
Colin Watson  [EMAIL PROTECTED]


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



Re: filesystem encryption

2003-03-15 Thread Mark Zimmerman
On Sat, Mar 15, 2003 at 07:19:07PM +0800, Robert Storey wrote:
> I've been considering creating a partition on my hard drive with an
> encrypted filesystem for storing my financial data. Looking through the
> literature on how to do this, it appears that there are several
> competing systems around. This is something I've never done before, so
> I'm a little perplexed about which system is best.
> 
> Right now, the most up-to-date information I have comes from an article
> in LinuxFormat Magazine, December 2001 (pages 30-37). It was the cover
> story in that particular edition, and I think you can still download it
> as a PDF file from their web site (www.linuxformat.co.uk).
> 
> Anyway, they seem to favor installing the cryptoapi modules at
> http://cryptoapi.sourceforge.net, plus the utilities at
> http://www.kernel.org/pub/linux/utils/util-linux. It looks rather
> complicated, but I'm willing to try it.
> 
> My question is whether or not this is the best way to go? The
> LinuxFormat article is more than a year out of date. I've looked through
> the Debian (stable) packages list, and it says nothing about cryptoapi,
> though a search on the word "crypt" reveals a number of other
> cryptographic packages such as cfs 1.4.1-7 which is also a cryptographic
> filesystem.
> 

If you are willing to upgrade to testing, you can do all of the
cryptoapi stuff with debian packages. Here is a quick summary of what
it takes (this assumes that you already have a kernel-source package
and kernel-package):

1) apt-get install cryptoapi-core-source cryptoloop-source.
2) Unpack them.
3) Rebuild your kernel with make-kpkg and PATCH_THE_KERNEL=YES.
4) Use make-kpkg to build the crypto module packages.
5) Install the new kernel and the crypto debs.
6) Reboot.

You are now all set up. The util-linux things are already there. I
just went through this process so I can get more wordy if you need it.

One suggestion for preparing for making backups: Make your loopback
file(s) 650MB so you can burn it directly onto a CD. That way, you
have an encrypted backup copy and you can mount the CD through the
loopback device and use it directly.

-- Mark



pgp0.pgp
Description: PGP signature


Re: considered harmful (was [off topic] Learning Shell from an old UNIX book)

2003-03-15 Thread John Hasler
Aryan Ameri writes:
> OK you guys say that, OOo is bad software because they use csh, and they
> use java to build it. Don't get me wrong, I am a true believer in free
> software, but I guess sometimes, you have to see things from a different
> point of view.

My main objection is not that csh and Java are unfree: there are Free
implementations of both (though I doubt OOo builds with anything
non-Sun). My main objection is that their use is evidence of bad
engineering.

> And in my opinion, using non free software in developing a software,
> shouldn't disqualify it from being free software...

A package that cannot be built without non-free software, as is almost
certainly the case with OOo, is not very free (though a fully Free version
could be derived from it).  I will not install any software that I could
not build from source if I wished.  I could not build OOo from source
because I will not install non-Free software and I am not interested enough
in it to take on the task of removing the Java build dependency.

> Besides, Linus is also using non free software to develop the
> kernel. Does that also mean, that we should all abandon the Linux kernel,
> and regard it as non free software?

The kernel build system requires no non-free software.  One can compile
kernels and contribute to kernel development using only Free software.
Using non-free software and making a package build-depend on it are two
entirely different things.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI


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



Promise/ataraid and 3.0r1

2003-03-15 Thread Frank Feingold
Hello,

I've searched all the archives etc. and can't find anything on this.

I'm trying to install 3.0r1 with the bf24 kernel.  I have a system with the
Promise FastTrack RAID controller.  I've found the magic string to add
(ide2=0x(a),0x(b+2) ide3=0x(c),0x(d+2) and that works great during the
install.  However, after I'm all done with the install and go to boot, it
can't find the root file system.

I've tried to add the same string as a boot parm and that did not work
either.

What am I missing?

Frank



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



Re: wma in linux

2003-03-15 Thread Sven Hoexter
On Sat, Mar 15, 2003 at 12:05:13AM -0800, Paul Johnson wrote:
> On Fri, Mar 14, 2003 at 09:38:23PM -0800, Jack Pistachio wrote:
> > Anyone know of a plugin to play *.wma files in xmms?
> > Or howabout a way to convert this proprietary madness to
> > ogg format?
> 
> mencoder might be able to do it for you.
I had some troubles with mencoder and wma -> convertion. Segfaults and other
ugly things.

You should be able to play the files with xmms and this plugin if you've
installed the win32 codecs.
ftp://ftp.xmms.org/xmms/plugins/avi-xmms

HTH
Sven

-- 
Revolution is not a dinner party, not an essay, nor a painting, nor a piece of
embroidery; it cannot be advanced softly, gradually, carefully, considerately,
respectfully, politely, plainly, and modestly.
- Mao Zedong (Mao Tse-tung)


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



pilot-mail fix, exim question, what happened to LinkDirect?

2003-03-15 Thread G S Osler

1) Fixed woody build of pilot-mail:

http://www.gsowww.uklinux.net/pub

2) Anyone know how to generate an exim SMTP AUTH password file?

3) What happened to LinkDirect?

http://tuxmobil.org/pda_linux_palm.html#ToC3

http://tuxmobil.org/Mobile-Guide.db/Mobile-Guide.html
http://tuxmobil.org/Mobile-Guide.db/mobile-guide-p3c2s6-palm-pilot.html
http://tuxmobil.org/pda_linux_palm.html
__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com


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



Re: KDE vs. Gnome

2003-03-15 Thread Robert A. Knop Jr.

"GBV" <[EMAIL PROTECTED]> wrote:

> My objective with this message is to gather advantages and disvantages of
> this two great softwares..

Here you go:

 KDE: People who prefer it think that it's better and Gnome is
 ugly/clunky/obselete/poorly designed/etc.

 Gnome: People who prefer it think that it's better and that KDE is
 ugly/clunky/poorly designed/etc.

That pretty much will summarize the arguments you will get.

In the mean time, play with both, see which *you* like, and start using
that.  That's all that's really relevant.  The rest is all heat and no
light.

-Rob

-- 
-=-=-= Rob Knop =-= [EMAIL PROTECTED] =-= http://www.pobox.com/~rknop =-=-=-
 Help the EFF protect basic freedoms online: http://www.eff.org
 Playwrights & theatre types, see The Dramatic Exchange: http://www.dramex.org


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



Re: List of base-system debs

2003-03-15 Thread ronin2
On Sat, 15 Mar 2003 13:39:16 +0200
Haim Ashkenazi <[EMAIL PROTECTED]> wrote:

> have you played with your httpd.conf? maybe you changed something to
> cause permission problems. take a look at '/var/log/apahe/errors'.

Umm, I don't know enough about apache to play with httpd.conf; I have a
default installation of apache, dwww, and dpkg-www.

dwww works; dpkg-www doesn't.

I've filed a bug report.

Kevin


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



Re: Duplicating Woody Package?

2003-03-15 Thread Rob Weir
On Thu, Mar 13, 2003 at 08:02:36AM -0800, Shaun Crossley wrote:
> On Thu, 13 Mar 2003 07:35:08 Robert L. Harris wrote:
> >
> >
> >I finally got a second hard drive so I can put Linux on my wife's
> >machine.  She'd like her X setup Identicle to mine.  I've installed a
> >base Woody system, current kernel, etc.  Now I need to get all the same
> >KDE packages on her machine.  Other than "dpkg -l | grep kde > file,
> >copy the file to her machine and apt-get install < file" is there a
> >"better debian way" to do this?
> 
> In the past, I've used the following to perform that task:
> 
>   dpkg --get-selections > myselections(on the source machine)
>   dpkg --set-selections < myselections(on the target machine)
>   apt-get update && apt-get upgrade   (on the target 
> machine)

I think you must mean 'apt-get dselect-upgrade'; 'apt-get upgrade' will
only update installed packages, it explicitly does no install or remove
packages.

-- 
Rob Weir <[EMAIL PROTECTED]>http://ertius.org/


pgp0.pgp
Description: PGP signature


Re: installing Debian on an OldWorld PowerMac

2003-03-15 Thread Rob Weir
On Wed, Mar 12, 2003 at 01:28:15AM -0500, Nori Heikkinen wrote:
> has anyone gotten Debian up and running on a WallStreet PowerBook?
> any pointers?

I've never owned any Apple hardware (not that I don't want to...), but
perhaps http://www.debian.org/ports/ppc/ would have some useful links?
Also, there are debian-ppc and debian-laptop lists on this fine list
server, which might know more.

-- 
Rob Weir <[EMAIL PROTECTED]>http://ertius.org/


pgp0.pgp
Description: PGP signature


Re: mozilla sans gnome = crash

2003-03-15 Thread dzpost
I posted this a few days ago but go no responses.  I'm trying again in
hopes someone will have a suggestion, even just pointing me to another
groups in which to ask.

Here's the scoop:

Using woody, when I'm running a plain X session (without Gnome), both
Mozilla and Galeon crash at the drop of a hat.  So much that they're
virtually unusable.  But when I run a Gnome session, everything is
very stable.

Any idea why this happens?  Or how to fix it?  I'd prefer to run a
straight X session, since I don't use any of the features of Gnome and
it just wastes memory.  But I can't have my browser crashing all the
time.

I'm using FVWM for both the X session and the Gnome session, but I've
also tried other window managers with the same results.

I haven't noticed problems in other applications, except that
FlightGear runs _very_ slowly under straight X, but is quite speedy
under Gnome.

Thanks.

--
David Zelinsky
[EMAIL PROTECTED]


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



Problem with FireWire

2003-03-15 Thread Emilio Murcia
Hi!

I've got a little problem with the IEEE1394 support on my computer, a 
Dell Inspiron 8200 laptop...

when I plug my shiny iPod (which works really good under f*cking 
windows) to the computer, the laptop suddenly hangs.

I recompiled my kernel yesterday (I had 2.4.18-bf2.4, and moved to 
2.4.20), but I still have the same problem... I followed the 
instructions from a "Linux iPod HOWTO" 
(http://www.cs.duke.edu/~geha/ipod/ )... all the modules are loaded 
--ieee1394, ohci1394, sbp2--... I have the raw1394 module loaded too, 
maybe this is causing the problem (?). The point is that, with the new 
kernel, is still hangs :-(

As far as I know, this laptop includes a Texas Instruments OHCI 
compliant FireWire controller, and it should work. Anybody had the same 
problem (with an iPod or another FireWire devide)?

C'mon please, help... my iPod working under windows but not under Debian 
is keeping me still in the windows world :-(

Thanks a lot amigos!!



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



  1   2   >