Re: Printing Question

2001-07-02 Thread Mark Wagnon
Hi Larry,

I CCd this to the debian-user list in order to preserve the thread.

On 07/02/01 23:16:38 -0500, Lance Simmons wrote:
> On Mon, Jul 02, 2001 at 08:35:35PM -0700, Mark Wagnon wrote:
> 
> > My parallel port is still being detected at boot, here's the excerpt
> > from dmesg:
> > 
> >   parport0: PC-style at 0x378 [SPP]
> >   parport_probe: succeeded
> >   parport0: Printer, EPSON Stylus COLOR 880
> 
> Are you sure this line identifying EPSON was displayed when you
> couldn't print to /dev/lp0? I have an EPSON Stylus COLOR 900,
> and sometimes the appropriate dmesg line _doesn't_ appear, and
> when that happens, I can't print. I haven't figured out a way to
> fix that without turning off the printer, rebooting, and turning
> the printer on. I haven't noticed any pattern to when it fails
> to be detected.

Yes, that came from dmesg on my last reboot, and I wasn't able to
print. I took your advice and turned off the printer and rebooted.
After logging back in, I was able to print. That's strange. But
knowing about it is half the battle.

I'm able to print text and pdf files, but I'm having some problems
with ps. I'll look into that tomorrow. At least I know I'm not going
crazy.

> If you can dual boot into Windows, you might check to see if you
> get an error message when you try to print. A couple of times
> I've tried this and discovered the windows driver was reporting
> a paper error (even though the paper looked just fine to me).
> When I jiggled the paper and got the windows error messages to
> go away, and then rebooted into linux, I could print again.

I didn't get that far, it started behaving after a reboot.
 
> I hope someone has some good suggestions, so I can figure out
> how to get my printer to work without having to reboot!

Yes, it would be nice to get to the bottom of it. Thanks for the
tip/insight/help!
-- 
Mark Wagnon <[EMAIL PROTECTED]>



Ximian-Gnome/Sawfish Configuration and ESD

2001-07-02 Thread Patrick Cheong Shu Yang
Hi people,

It has been sometime since I last wrote to the list. I recently upgraded
by box (the previous hardware all but blew up on me due to a faulty
power supply - CPU, MB, AGP, HD and all...) to an Althlon Thunderbird
1Ghz/Epox 8KTA3/Maxtor 20Gb ATA 100, etc. Having reinstalled Potato R3
and Ximian Gnome, I changed the /etc/apt/sources.list to point to
Testing to install some packages from Testing (e.g. OpenSSH 2.5.2,
tcpdump, nmap, etc) with libgnomeprint11 and some related packages put
on HOLD (it causes problems with Ximian Gnome 1.4). I also did a apt-get
upgrade (not apt-get dist-upgrade!). Also, I downgraded libesd0,
esound-common, esound, etc back to the Potato version

1. Now here is my problem, esd is not started everytime I fire up Gnome
(startx gnome-session). I have to manually fire it up else the
Gnome-Session will take a much longer time to start. Also, whenever I
click on Settings, it takes some time before the window opens up. I
figure its the esd daemon since tty0 (where I fire up X) displays an
error "Unable to find UNIX socket /var/run/esound/socket".

2. Also, under Settings, nothing happens when I click on the Sawfish
Settings to configure the Sawfish window manager. The error message I
get on tty0 (where I started X) is something about unable to find/run
GTK...(will post the exact error when I get back home tonight).

Here is my system config:-

Kernel 2.4.5 with ATA 100 patch from kernel.org
Debian GNU/Linux 2.2R3 / Testing
Ximian Gnome 1.4
XFree 4.0.3

Thanks in advance.



Re: Soundblaster live digital output

2001-07-02 Thread Rick Macdonald
On Mon, 2 Jul 2001, Ed Falis wrote:

> I have a Soundblaster live value and a speaker system capable of accepting 
> digital input.  Anyone know whether it's possible and how to enable the 
> Soundblaster digital output under Debian?

I have the same card. I'm under the impression that the "Value" part of
the name "SoundBlaster Live - Value" means in part that they removed the
digital output, but the web pages are not clear.

Compare for yourself and _please_ prove me wrong!

http://www.soundblaster.com/products/sblive/features.asp
http://www.soundblaster.com/products/sblivevalue/features.asp

...RickM...



RE: limiting "ps" command on every user..

2001-07-02 Thread KenrickC

- Original Message -
From: "ktb" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, July 03, 2001 11:48 AM
Subject: Re: limiting "ps" command on every user..


> On Tue, Jul 03, 2001 at 11:48:53AM +0800, louiem+ wrote:
> >
> > is it possible to limit the "ps ax"/etc.. ? commands on every user?
> > i mean, example i have the id/user "luwi"
> >
> > [EMAIL PROTECTED]> ps ax
> >
> > > it will only show the process which i ran, and not all the process
that
> > the machine runs..
>

On a woody box, man ps shows the --user option which selects by effective
user name.  Not sure if this is in potato, but you didn't say what you're
running

- Chris


**
This electronic mail is intended for the use of the addressee only. If you 
receive this electronic mail in error, please delete it immediately. It may 
also contain confidential information. You may not use or disclose any 
confidential information.

The statements or views expressed in this electronic mail are those of the 
individual sender and are not those of AAP Information Services Pty Ltd (AAP). 
These statements are not binding on AAP, except where the sender expressly and 
with authority, states them to be.

AAP is unable to review the contents of all of the electronic mail on its 
system. To the extent permitted by law, AAP disclaims all liability for any 
loss or damage caused by the contents of this electronic mail.
**



Re: limiting "ps" command on every user..

2001-07-02 Thread Lamer
make one isn't that hard, though i suggest that
there are already something made already..
Calvin Chong

- Original Message -
From: "louiem+" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, July 03, 2001 12:03 PM
Subject: Re: limiting "ps" command on every user..


> what kind of wrapper? or i really do have to make one?.
>
> ty
>
>
>
>
>
>
>
>
>
>
>
> luwim+
>
>
>
> - Original Message -
> From: "Lamer" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; 
> Sent: Tuesday, July 03, 2001 11:56 AM
> Subject: Re: limiting "ps" command on every user..
>
>
> > Actually, what he want is 'enforced policy', not 'grepping' :)
> >
> > i do think that a wrapper in perl will do, tho :P
> >
> > --
> > Calvin Chong
> >
> > - Original Message -
> > From: "ktb" <[EMAIL PROTECTED]>
> > To: 
> > Sent: Tuesday, July 03, 2001 11:48 AM
> > Subject: Re: limiting "ps" command on every user..
> >
> >
> > > On Tue, Jul 03, 2001 at 11:48:53AM +0800, louiem+ wrote:
> > > >
> > > > is it possible to limit the "ps ax"/etc.. ? commands on every user?
> > > > i mean, example i have the id/user "luwi"
> > > >
> > > > [EMAIL PROTECTED]> ps ax
> > > >
> > > > > it will only show the process which i ran, and not all the process
> > that
> > > > the machine runs..
> > >
> > > $ ps ax | grep luwi
> > > should work
> > > kent
> > > --
> > >  From seeing and seeing the seeing has become so exhausted
> > >  First line of "The Panther" - R. M. Rilke
> > >
> > >
> > >
> > > --
> > > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > > with a subject of "unsubscribe". Trouble? Contact
> > [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> >
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>
>



Re: limiting "ps" command on every user..

2001-07-02 Thread louiem+
what kind of wrapper? or i really do have to make one?.

ty











luwim+



- Original Message -
From: "Lamer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; 
Sent: Tuesday, July 03, 2001 11:56 AM
Subject: Re: limiting "ps" command on every user..


> Actually, what he want is 'enforced policy', not 'grepping' :)
>
> i do think that a wrapper in perl will do, tho :P
>
> --
> Calvin Chong
>
> - Original Message -
> From: "ktb" <[EMAIL PROTECTED]>
> To: 
> Sent: Tuesday, July 03, 2001 11:48 AM
> Subject: Re: limiting "ps" command on every user..
>
>
> > On Tue, Jul 03, 2001 at 11:48:53AM +0800, louiem+ wrote:
> > >
> > > is it possible to limit the "ps ax"/etc.. ? commands on every user?
> > > i mean, example i have the id/user "luwi"
> > >
> > > [EMAIL PROTECTED]> ps ax
> > >
> > > > it will only show the process which i ran, and not all the process
> that
> > > the machine runs..
> >
> > $ ps ax | grep luwi
> > should work
> > kent
> > --
> >  From seeing and seeing the seeing has become so exhausted
> >  First line of "The Panther" - R. M. Rilke
> >
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> >
> >
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>



Re: limiting "ps" command on every user..

2001-07-02 Thread louiem+
ic, but what if.. i want to really limit all my users from seeing all the
"ps" process that the machine runs? and only show their process.

ty..











luwim+



- Original Message -
From: "ktb" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, July 03, 2001 11:48 AM
Subject: Re: limiting "ps" command on every user..


> On Tue, Jul 03, 2001 at 11:48:53AM +0800, louiem+ wrote:
> >
> > is it possible to limit the "ps ax"/etc.. ? commands on every user?
> > i mean, example i have the id/user "luwi"
> >
> > [EMAIL PROTECTED]> ps ax
> >
> > > it will only show the process which i ran, and not all the process
that
> > the machine runs..
>
> $ ps ax | grep luwi
> should work
> kent
> --
>  From seeing and seeing the seeing has become so exhausted
>  First line of "The Panther" - R. M. Rilke
>
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>



Re: limiting "ps" command on every user..

2001-07-02 Thread Lamer
Actually, what he want is 'enforced policy', not 'grepping' :)

i do think that a wrapper in perl will do, tho :P

--
Calvin Chong

- Original Message -
From: "ktb" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, July 03, 2001 11:48 AM
Subject: Re: limiting "ps" command on every user..


> On Tue, Jul 03, 2001 at 11:48:53AM +0800, louiem+ wrote:
> >
> > is it possible to limit the "ps ax"/etc.. ? commands on every user?
> > i mean, example i have the id/user "luwi"
> >
> > [EMAIL PROTECTED]> ps ax
> >
> > > it will only show the process which i ran, and not all the process
that
> > the machine runs..
>
> $ ps ax | grep luwi
> should work
> kent
> --
>  From seeing and seeing the seeing has become so exhausted
>  First line of "The Panther" - R. M. Rilke
>
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>
>



Re: how to run X apps as root?

2001-07-02 Thread Arne Goetje
Hi,

> In the root shell type
>
> export DISPLAY=:0
>
> so that the X client knows what server to use.  If that alone doesn't
> solve the problem (it ususally does for me) then type something like
> 'xhost +localhost' in a terminal as a regular user (ie the one who
> started the xserver).

I did both... and it still complains:

arne:/usr/home/arne# Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server

:(((

CU
Arne



Re: limiting "ps" command on every user..

2001-07-02 Thread ktb
On Tue, Jul 03, 2001 at 11:48:53AM +0800, louiem+ wrote:
> 
> is it possible to limit the "ps ax"/etc.. ? commands on every user?
> i mean, example i have the id/user "luwi"
> 
> [EMAIL PROTECTED]> ps ax
> 
> > it will only show the process which i ran, and not all the process that
> the machine runs..

$ ps ax | grep luwi
should work
kent
-- 
 From seeing and seeing the seeing has become so exhausted
 First line of "The Panther" - R. M. Rilke




Re: how to run X apps as root?

2001-07-02 Thread Christian Jaeger
On Tuesday,  3. July 2001 05.17, D-Man wrote:
> solve the problem (it ususally does for me) then type something like
> 'xhost +localhost' in a terminal as a regular user (ie the one who
> started the xserver).

I don't find this a good solution, as you open up your X session to everyone 
else on your machine (might even be hackers).

What I do is use 'su -p' instead of just su. It's not perfect tough since 
your $HOME, $LOGIN etc variables are still referring to your login account 
tough.

Christian.



limiting "ps" command on every user..

2001-07-02 Thread louiem+

is it possible to limit the "ps ax"/etc.. ? commands on every user?
i mean, example i have the id/user "luwi"

[EMAIL PROTECTED]> ps ax

> it will only show the process which i ran, and not all the process that
the machine runs..



ty.









luwim+






Upgrade killed perl5.6

2001-07-02 Thread Raffaele Sandrini
Hi,

After my upgrade yesterday something seems to be wrong around my perl5.6 and 
/ or apache.
during init apache can't be loaded. Here is the output:

**
Starting web server: apache.
[Tue Jul  3 05:36:30 2001] [error] Can't locate Apache.pm in @INC (@INC 
contains: /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 
/usr/local/lib/site_perl /usr/lib/perl5/5.6 /usr/lib/perl5/5.005/i386-linux 
/usr/lib/perl5/5.005 . /etc/apache/ /etc/apache/lib/perl) at (eval 1) line 3.

/usr/sbin/apachectl start: httpd could not be started
**

What does that mean and how can i fix that?

cheers,
Raffaele
-- 
Raffaele Sandrini <[EMAIL PROTECTED]>
For encrypted Mail get my Public Key from "search.keyserver.net"
ID is: 0xEC4950E9



Re: Printing Question

2001-07-02 Thread Mark Wagnon
Hi all, again:

This is starting to drive me crazy. I decided to give CUPS a spin,
since I haven't been able to get plain text files to print with the
lpd/magicfilter combo. Anyway, before installing CUPS (maybe sooner,
but I have tried to print anything since playing with this yesterday),
I was able to send a file directly to /dev/lp0 and receive output. Now
I can't. What gives? If that worked before, shouldn't that work now?
My parallel port is still being detected at boot, here's the excerpt
from dmesg:

  parport0: PC-style at 0x378 [SPP]
  parport_probe: succeeded
  parport0: Printer, EPSON Stylus COLOR 880
  lp0: using parport0 (polling).


CUPS seems to be receiving print jobs, but I'm getting errors like
this:

  E [02/Jul/2001:19:47:59 -0800] PID 552 stopped with status 1!
  I [02/Jul/2001:20:02:33 -0800] Job 12 queued on 'epson' by 'root'.
  I [02/Jul/2001:20:02:33 -0800] Started filter /usr/lib/cups/filter/texttops 
(PID 737) for job 12.
  I [02/Jul/2001:20:02:33 -0800] Started filter /usr/lib/cups/filter/pstops 
(PID 738) for job 12.
  I [02/Jul/2001:20:02:33 -0800] Started filter /usr/lib/cups/filter/pstoraster 
(PID 739) for job 12.
  I [02/Jul/2001:20:02:33 -0800] Started filter 
/usr/lib/cups/filter/rastertoepson (PID 740) for job 12.
  I [02/Jul/2001:20:02:33 -0800] Started backend /usr/lib/cups/backend/parallel 
(PID 741) for job 12.


Sorry for the long lines.

I'm using the plain jane stcolor.ppd, for all this even though I have
an Espon Stylus Color 880. I've played around a little more, and I'm
not getting the error message like on the first line above.

I'm thinking that there's something screwey with my /dev/lp0, now. Any
ideas why I'd suddenly be unable to send files to this device
directly?

Thanks a TON in advance.
-- 
Mark Wagnon <[EMAIL PROTECTED]>



Re: Soundblaster live digital output

2001-07-02 Thread Matthew Garman
On Mon, Jul 02, 2001 at 10:59:09PM -0400, Ed Falis wrote:
> I have a Soundblaster live value and a speaker system capable of accepting 
> digital input.  Anyone know whether it's possible and how to enable the 
> Soundblaster digital output under Debian?

Furthermore, on a similar note, how well is the Soundblaster Live Platinum
edition supported under Linux?  Platinum is their fanciest one, with the
panel controls that go in an external drive bay.

I'd like to upgrade my soundcard to something fairly modern, with as many
features as can possibly be supported under Linux.  If the support is
good, SB Live Platinum would be nice.  But are there better high-end sound
cards for Linux (within a reasonable price range, though, on par with the
SB Live Platinum).

Thanks,
Matt

-- 
Matt Garman, [EMAIL PROTECTED]
"I'll tip my hat to the new constitution, Take a bow for the new revolution
 Smile and grin at the change all around, Pick up my guitar and play
 Just like yesterday, Then I'll get on my knees and pray..."
-- Pete Townshend/The Who, "Won't Get Fooled Again"



Re: how to run X apps as root?

2001-07-02 Thread Steven Smolinski
On Tue, Jul 03, 2001 at 11:13:37AM +0800, Arne Goetje wrote:
> 
> 2nd Problem: I tried today to run a second instance of startx with -- :1 to 
> run it as root. today it didn't work anymore... I'm using unstable.

I'm using woody, and recently it stopped for me as well.

The error message (didn't cut and paste, no gpm) complained that there
was already a server running on :0.  Well, of course!  That's why you
pass :1.  Perhaps the :1 arg isn't getting through to xinit anymore?

Cluelessly,
Steve
-- 
Steven Smolinski => http://arbiter.ca/



Backwards compatibility

2001-07-02 Thread CM
Hi all,


I have a quick question regarding installing php4-xml.

My system is Woody with a few Sid packages.

Including php4 4.0.6-1.

When i try to install php4-xml i get the following error:

Sorry, but the following packages have unmet dependencies:
  php4-xml: Depends: php4 (= 4.0.3pl1-0potato1.1) but it is not going to be 
installed
E: Sorry, broken packages

So my question is can someone tell me or point me to a link telling how i 
would install this package with backwards compatibility? Is there a deb out 
there someone has made that i can use or are there plans to release the new 
package soon?

Thanks for your time,

CM



Re: how to run X apps as root?

2001-07-02 Thread D-Man
On Tue, Jul 03, 2001 at 11:13:37AM +0800, Arne Goetje wrote:
| Hi,
| 
| sometimes I need to run some X apps as root (i.e. ethereal, lprngtool) but 
| Xlib complains that the server refuses the connection.

In the root shell type

export DISPLAY=:0

so that the X client knows what server to use.  If that alone doesn't
solve the problem (it ususally does for me) then type something like
'xhost +localhost' in a terminal as a regular user (ie the one who
started the xserver).

HTH,
-D



how to run X apps as root?

2001-07-02 Thread Arne Goetje
Hi,

sometimes I need to run some X apps as root (i.e. ethereal, lprngtool) but 
Xlib complains that the server refuses the connection.
how can I make the Xserver accept programs as root when I'm working as 
normal user?

2nd Problem: I tried today to run a second instance of startx with -- :1 to 
run it as root. today it didn't work anymore... I'm using unstable.

Cheers
Arne



Soundblaster live digital output

2001-07-02 Thread Ed Falis
I have a Soundblaster live value and a speaker system capable of accepting 
digital input.  Anyone know whether it's possible and how to enable the 
Soundblaster digital output under Debian?

TIA

- Ed



Re: cd-rom "medium not found", no modules load

2001-07-02 Thread Shaul Karl
> 
> --TB36FDmn/VVEgNH/
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
> 
> Thanks! I got it working just by issuing sudo hdparm -d0 /dev/hdc,
> turning off dma for the drive. Now that it works, I'll see about
> turning off DMA by default for it. My next step is to investigate
> whether there exists a boot-time parameter to disable dma for hdc
> while allowing it to remain on for my other drives without having to
> recompile my kernel.
> 
> If anybody has pointers on setting up auto dma on some drives but not
> others, I'd appreciate it.
> 



You might be interested in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874
51&repeatmerged=yes



> Thanks Michael
> 
> Vineet
> 
> * Michael Hong ([EMAIL PROTECTED]) [010628 12:23]:
> > I had the same problem with ide-scsi after installing a CDRW.  In my
> > case it worked when I recompiled a kernel without auto dma. I think in
> > the kernel config file it's called "CONFIG_IDEDMA_AUTO".  If you have
> > this set in your kernel maybe it will work for you if you make a kernel
> > with it unset.
> >=20
> 
> --TB36FDmn/VVEgNH/
> Content-Type: application/pgp-signature
> Content-Disposition: inline
> 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
> 
> iEYEARECAAYFAjtBDikACgkQ7z3S33fUb9HbNACfVn0f1zPE3008iuLwGq/1jz2j
> P5EAn3DbX3B93zJusEGi8MoG4Kzwwyq4
> =LxlW
> -END PGP SIGNATURE-
> 
> --TB36FDmn/VVEgNH/--
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

-- 

Shaul Karl <[EMAIL PROTECTED]>

Hillel used to say: If I am not for myself who will be for me?
Yet, if I am for myself only, what am I? And if not now, when?
  (Ethics Of The Fathers 1:14)





Re: iptables modules kill ppp

2001-07-02 Thread Matthew Garman
On Mon, Jul 02, 2001 at 09:51:59PM -0400, Wayne Topa wrote:
> flushing procedure is in error somehow.  to test that try
> 
> /sbin/iptables -L -n -v ; /sbin/iptables -L -t nat -n -v ;
> /sbin/iptables -L -t mangle -n -v
> 
> I think you will find you still have some rules there.

Yup.  I did some more flushing, and the problem went away!  Thank you,
thank you!

> I haven't tried it but there is a ipchains compatiable mode in iptables.
> If enabled in the kernel it will allow you to use your old ipchains
> rules.

No, I'd like to take advantage of the new features of the 2.4.x kernels
and ipchains.  My previous firewall was one I downloaded from the
TrinityOS sight, changed a few things to suit my setup, and pretty much
accepted its security on blind faith.

With 2.4.x/iptables, I thought I should really take the time to learn how
to make a good firewall, and to actually know what's going on.  I'm still
learning, as you can tell :)

> see netfilter.samba.org for the netfilter list.

I might subscribe to that just to lurk around for a while, and hopefully
learn some more about what I'm doing/what I'm trying to do.

Thanks again for all your help!
Matt

-- 
Matt Garman, [EMAIL PROTECTED]
"I'll tip my hat to the new constitution, Take a bow for the new revolution
 Smile and grin at the change all around, Pick up my guitar and play
 Just like yesterday, Then I'll get on my knees and pray..."
-- Pete Townshend/The Who, "Won't Get Fooled Again"



Re: buying a computer

2001-07-02 Thread Faheem Mitha


On Mon, 2 Jul 2001, Jeff Reed wrote:

> http://www.oreilly.com/catalog/pchardnut/chapter/ch25.html
> 
> check it out

Thanks for the reference. It looks useful.

 Best, Faheem Mitha.



Re: newbie doc volunteers

2001-07-02 Thread Mark Wagnon
Hi Will,

I'm interested. I've been reading the docbook documentation and
putting together an account of my experiences getting exim, fetchmail,
and mutt to play on my system. I signed up for a sourcefoge account, I
just haven't joined up yet. I'll get back to you (maybe off list) when
I get it together. Hopefully that won't bee too far off, but I'm
prepping for an interview in the next week, so I may not devote much
time to it until after that.

Cheers. 
-- 
Mark Wagnon <[EMAIL PROTECTED]>



Re: iptables modules kill ppp

2001-07-02 Thread Wayne Topa

Subject: RE: iptables modules kill ppp
Date: Mon, Jul 02, 2001 at 01:47:59PM -0500

In reply to:garman

Quoting garman([EMAIL PROTECTED]):
> >
> >Please define, "PPP won't work".
> 
> I meant it won't work as in what I described in my previous email post to the 
> list about PPP not working with a kernel upgrade.
> 
> To recap: I can use pon to dial my ISP, I connect, and get an IP number 
> assigned.  /sbin/route shows that everything is setup as expected.  However, 
> with the iptables modules loaded, I cannot use any network programs.  It is 
> not possible to do DNS lookups.  If I try to ping a host, using it's 
> numerical 
> IP addres, *as root*, I get the following error:
> 
> "sendto: operation not permitted"
> 
> >Can you use the net from the firewall?
> >Does the connection drop, or do you mean that systems behind the
> >firewall can't connect to the net?
> 
> The connection does not drop.  I meant to stress in my original post that 
> these things happen *with no firewall*, or at least, no iptables rules.  In 
> other words, I flush all the rulesets, and set the default policy to all 
> built-in chains to ACCEPT.  So there is effectively no real firewall.

So from the above, if you didn't start the firewall in the first
place, the connections to the net are OK.  Then if you start the
firewall, your system still being connected, you can no longer ping
your ISP.  Then if you bring the firewall down, normally, you still
can't ping the ISP.

Something wrong with the firewall script.  I have never seen that
happen here, even with really screwed up rules.  I think that your
flushing procedure is in error somehow.  to test that try

/sbin/iptables -L -n -v ; /sbin/iptables -L -t nat -n -v ;
/sbin/iptables -L -t mangle -n -v

I think you will find you still have some rules there.

What version of iptables are you running? mine are 1.2.2-1.bunk.
> 
> But once I use rmmod to remove all the iptables-related modules, the PPP 
> problem goes away.
> 

I would suggest that you put your firewall script in /etc/init.d and
set it up like the other scripts in that dir.  That way would make it
easier for you to test, the firewall script, and also easier to shut
it down.  I suspect that you have a problem in the firewall script;
ie.  you may have created a table that is not being flushed on stopping
the firewall.

Here is how my /etc/init.d/firewall ends
echo "Done"
;;

stop)
#
$IPTABLES -F
$IPTABLES -t filter -F INPUT
$IPTABLES -t filter -F OUTPUT
$IPTABLES -t filter -F FORWARD
$IPTABLES -t nat -F
$IPTABLES -t mangle -F
$IPTABLES -X no-conns-from-ppp0

$IPTABLES -P FORWARD ACCEPT
$IPTABLES -P OUTPUT ACCEPT
$IPTABLES -P INPUT ACCEPT
echo "Firewall is down"

> >If what you mean is the latter, have you enabled forwarding
> >(echo 1 > /proc/sys/net/ipv4/ip_forward)?
> >Did you include the rule to enable masquerading?
> >$IPTABLES -t nat -A POSTROUTING -o ppp0 -s $NETWORK -j MASQUERADE
> 
> I'm not trying to use masquerading or NAT in my current setup.  Do I still 
> need to issue these commands?
> 
No if you do not want to masquerade you do not need either of the
above.

> As a sidenote, the reason I was playing with my firewalls and new kernel 
> upgrades is as follows: at school, I have a cablemodem which is shared 
> through 
> an internal LAN, using my computer as the gateway machine.  I had everything 
> setup using ipchains and kernel 2.2.18 last semester.  When I go back to 
> school in the fall, I want to have my iptables-based firewall ready to go.  
> So 
> all my firewall rules applied to eth0 and eth1... there were no iptables 
> rules 
> for ppp0.

I haven't tried it but there is a ipchains compatiable mode in
iptables.  If enabled in the kernel it will allow you to use your old
ipchains rules.

I am also on the netfilter mailing list and have never seen anyone
post a problem like yours.  The real experts are there and if you
continue to have problems you might try there.  There is also a
debian-firewall list.
see netfilter.samba.org for the netfilter list.

Regards
Wayne
-- 
Everyone can be taught to sculpt: Michelangelo would have had to be
taught how __not to.  So it is with the great programmers.
___



Hopefully a simple latex question.

2001-07-02 Thread Shaul Karl
[05:00:24 heblatex]$ grep -A2 'override TEXMF' /etc/texmf/texmf.cnf
% You can set an environment variable to override TEXMF if you're testing
% a new TeX tree, without changing anything else.
% 
[05:00:32 heblatex]$ 

Indeed I need to override TEXMF, or that is what I think:

[05:00:32 heblatex]$ TEXMF=/var/lib/texmf/:./:../hebfonts/ elatex hebrew.dtx
This is e-TeX, Version 3.14159-2.1 (Web2C 7.3.1)
I can't find the format file `elatex.efmt'!
[05:01:43 heblatex]$ 

But it is there:

[05:01:43 heblatex]$ locate elatex.efmt
/var/lib/texmf/web2c/elatex.efmt
/var/lib/texmf/web2c/pdfelatex.efmt
[05:02:18 heblatex]$ 

and:

[05:02:53 heblatex]$ grep 'elatex.efmt' /var/lib/texmf/ls-R 
elatex.efmt
pdfelatex.efmt
[05:03:16 heblatex]$ 


Obviously I am doing something wrong, but I can not see that.
Any help is appreciated. 
-- 

Shaul Karl <[EMAIL PROTECTED]>

Hillel used to say: If I am not for myself who will be for me?
Yet, if I am for myself only, what am I? And if not now, when?
  (Ethics Of The Fathers 1:14)





Re: Any way to get apt or dpkg to compile sources for SMP automatically?

2001-07-02 Thread Lamer
however, that means forking process out (to some extent) and forking another
process does nothing except giving an additional overhead to machine.
generally very few machine have advantage on compiling SMP support into
applications - that's because as always there, as usual, won't have less
than 2 application running on the same machine =)
Calvin "Lamer"
Uncertified Linux Player
Email: [EMAIL PROTECTED]
- Original Message -
From: "Joey Hess" <[EMAIL PROTECTED]>
To: "John Foster" <[EMAIL PROTECTED]>
Cc: "Debian-User List" 
Sent: Tuesday, July 03, 2001 9:35 AM
Subject: Re: Any way to get apt or dpkg to compile sources for SMP
automatically?


> John Foster wrote:
> > What I'm trying to do is totally optimize my software for dual processor
> > systems. I want to be able to use apt-get sources xxx.deb to download
> > and automatically compile the application with SMP support and to
> > optimize it for various pentium or other processors. This does not mean
> > just the kernel I mean all of the software that I use.
>
> Very little software with the exception of the kernel cares at all how
> many CPU's you have, no matter how it is compiled.
>
> Linux allows each process to run on only one processor at a time. If you
> have two CPU's and only one busy process, half of your system is being
> wasted. If this is a typical load, you should have gotten a faster CPU
> instead of spending money on SMP.
>
> If your typical system usage involves having the computer do more than
> one thing at once, then SMP can be a benefit, since the running
> processes are split amoung the available CPU's.
>
> A few programs, like make, allow more efficient use of multiprocessor
> machines by providing options that can cause them to run two or more
> processes, each which does part of the work. With make for example, use
> make -j 2 (or -j 4 or whatever).
>
> --
> see shy jo
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>
>



Re: Any way to get apt or dpkg to compile sources for SMP automatically?

2001-07-02 Thread Joey Hess
John Foster wrote:
> What I'm trying to do is totally optimize my software for dual processor
> systems. I want to be able to use apt-get sources xxx.deb to download
> and automatically compile the application with SMP support and to
> optimize it for various pentium or other processors. This does not mean
> just the kernel I mean all of the software that I use.

Very little software with the exception of the kernel cares at all how
many CPU's you have, no matter how it is compiled.

Linux allows each process to run on only one processor at a time. If you
have two CPU's and only one busy process, half of your system is being
wasted. If this is a typical load, you should have gotten a faster CPU
instead of spending money on SMP.

If your typical system usage involves having the computer do more than
one thing at once, then SMP can be a benefit, since the running
processes are split amoung the available CPU's.

A few programs, like make, allow more efficient use of multiprocessor
machines by providing options that can cause them to run two or more
processes, each which does part of the work. With make for example, use
make -j 2 (or -j 4 or whatever).

-- 
see shy jo



Re: newbie doc volunteers

2001-07-02 Thread Lamer
I would like to join also.
Any more details about that? grateful to hear that.

Calvin "Lamer"
Uncertified Linux Player
Email: [EMAIL PROTECTED]
- Original Message -
From: "will trillich" <[EMAIL PROTECTED]>
To: "Troy Mutton" <[EMAIL PROTECTED]>;

Sent: Tuesday, July 03, 2001 6:10 AM
Subject: Re: newbie doc volunteers


> On Thu, Nov 09, 2000 at 01:02:22PM -0600, will trillich wrote:
> > Troy Mutton wrote:
> > >
> > > Hi Will,
> > >
> > > Im a debian new*ie, and would like to help out if i can with this new
> > > project.
> > >
> > > ive been using debian for about 2 months now, after migrating from
winblows
> > > to red hat about 6-8 months back.
> > >
> > > i dont know exactly what i can offer ;) or what it is you want from
> > > volunteers.
> > >
> > > I figure that as i am a new user, but i still have a fair idea what im
> > > trying to do and more often than not i can work out how to do it, that
i
> > > could possibly give some sort of advice to other ppl out there in a
similar
> > > position.
> > >
> > > if you would like my help, you should give me a yell, otherwise dont
worry.
> >
> > perfect!
> >
> > if there are one or two specific areas that gave you a hard time,
> > if you could kinda put together a doc (spend about three hours on
> > each, if possible) of WHAT YOU WISH YOU'D FOUND before trying to
> > acomplish your tasks.
> >
> > then, feel free to post it at egroups.com/files/newbieDoc! and
> > let the rest of us know by hollering at [EMAIL PROTECTED]
> >
> > awesome!
>
> no rush. :)
>
> --
> DEBIAN NEWBIE TIP #38 from Alvin Oga <[EMAIL PROTECTED]>
> :
> Curious about your NETWORK TRAFFIC? There's a whole bunch of
> ways to monitor it: iptraf, showtraf, netwatch, tcpview, statnet,
> or even
> tcpdump | grep 'what you want to see'
> lsof -i | grep 'LISTEN'
> For network statistics try "mrtg". See the ethernet section
> over at http://www.Linux-Sec.net/
>
> Also see http://newbieDoc.sourceForge.net/ ...
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>
>



Re: Building and installing gcc-3.0

2001-07-02 Thread Lamer
if memories serves, there should be a tool that can help you make such
virtual package - hmm..

however, if you would build it as if you are building the package gcc, it'll
work just fine. -- remember to replace the maintainer information,tho.
--
Calvin "Lamer"
Uncertified Linux Player
Email: [EMAIL PROTECTED]
- Original Message -
From: "Shaul Karl" <[EMAIL PROTECTED]>
To: "Chan Siu On" <[EMAIL PROTECTED]>
Cc: 
Sent: Tuesday, July 03, 2001 7:45 AM
Subject: Re: Building and installing gcc-3.0


> > Hi all,
> >
> >   I want to build and install gcc-3.0 on my Debian "potato" 2.2r3. I
have
> > downloaded gcc-3.0.tar.gz. If I simply type "configure", "make" and
"make
> > install", would Debian realize that gcc has been upgraded?
>
>
> If by `Debian' you meant dselect, dpkg and freinds then the answer is no.
> Those actions will not make `Debian' realize that gcc is upgraded.
>
>
> > If not, what
> > should I do? For some reasons, I don't want to apt-get it from the
> > Internet.
> >
>
>
> I guess that you have to build the deb for yourself. Without having a
deb-src
> package I would say that this is a difficult task I would say.
>
>
> >   Also, what should be my toplevel installation directory for gcc-3.0?
It
> > defaults to /usr/local/, but as far as I know, almost all debian
programs
> > are installed to /usr/ rather than /usr/local/ (<- am I correct?). If I
am
> > right, than should I install gcc-3.0 in /usr/ instead of /usr/local/?
> >
_
> >
>
>
> You are right about /usr and /usr/local. In fact, this is intentional and
> defined in policy. Actually, your situation is one of the reasons for this
> policy. There fore, installing gcc-3.0 from the tar balls in /usr/local
seems
> to me the best solution. That way you might have a working version of it
and
> although `Debian' would not know about it they might live in peace. But do
> note that I have no experience with these matters so that when you get
down to
> the small details things might get complicated.
>
> You might want to look at the mailing lists archive of debian-devel. There
was
> a long discussion there about having gcc-3.0. This might give you more
> understanding about the problems that you will have to solve.
>
>
> --
>
> Shaul Karl <[EMAIL PROTECTED]>
>
> Hillel used to say: If I am not for myself who will be for me?
> Yet, if I am for myself only, what am I? And if not now, when?
>   (Ethics Of The Fathers 1:14)
>
>
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>
>



Re: random lines

2001-07-02 Thread Joost Kooij
On Mon, Jul 02, 2001 at 01:46:29PM -0400, Steven Smolinski wrote:
> On Mon, Jul 02, 2001 at 11:24:40PM +0200, Martin F. Krafft wrote:
> > also sprach Joost Kooij (on Mon, 02 Jul 2001 11:15:38PM +0200):
> > > perl -e 'print map {$_->[1]} sort {$a->[0]<=>$b->[0]} map {[rand,$_]} <>' 
> > > file
> > 
> > the other perl algorithm permitted did a scan through the file,
> > halting on a given line according to a random number. i may well be
> > wrong here, but doesn't that absolutely favor the entries up to in the
> > file since they are considered so many more times?
> 
> Actually, if you mean the one I posted from the perlfaq, you have made
> several errors.
[perlfaq5 code:]

  rand($.) < 1 && ($line = $_) while <>

> That algorithm did not halt on a random line.

It is also a finest example of "jive programming" in perl slang.  :-)

>It reads the whole file,
> one line at a time, using almost no memory.  The perl line above reads
> the whole file into memory, which is far less efficient.  The perlfaq
> algorithm also has far fewer operations per line, so it will be faster
> on that count, too.

But then they are entirely different operations.  One permutates all
lines of the file randomly, the other chooses one line randomly.

However, the fisher_yates_shuffle from perlfaq4 is more efficient at O(n),
mine has an extra factor log(n) due to the sort.  But then it has the
cool schwartzian transform and is also a nice example of using perl as
a sort of lisp, but with all the brackets replaced with "tty noise".

> I won't present a proof for the algorithm from the perlfaq, but one is
> available.  What it does is make the currently-read line the "randomly
> chosen" line based on a probability that changes as you go through the
> file:
> 
> - The first line is guaranteed to be chosen in a single-line file.
> - The second line is 50% likely to be chosen in a two-line file.
> - The third line is 1/3 likely to be chosen in a three-line file.
>   ...
> - The eightieth line is 1/80 likely to be chosen in an eighty-line file.
> 
> Consider, the three line file case:
> 
> Line 1 had a 1/1 chance of a 1/2 chance of a 2/3 chance.  # == 1/3
> Line 2 had a 1/2 chance of a 2/3 chance.  # == 1/3
> Line 3 had a 1/3 chance.  # == 1/3
> 
> So no matter when the file ends and the algorithm is complete, the
> currently selected line is random, and was chosen with the proper
> probability given the number of lines in the file.

You almost gave the induction proof already.

Lets rewrite the program a little, into some easily digestible quiche.

 while ( $input_line = "the next line from standard input" ) {
   if ( "a random number in [0, $current_line_number)" < 1 ) {
 $remember_line = $input_line
   }
 }

statement:
 p(n) :: all n lines have an equal chance to be picked by the algorithm.

for n=0: not really interesting.  direct proof of p(0) is evident.
 
induction proof for n>0:
 p(1):
   there is only one $input_line, and any number in [0, 1) is smaller
   than 1, so "the line" is picked.
   => "all 1 lines" have equal chance 1 to be picked.

 p(n) => p(n+1)  (n>0):
   suppose n lines have been read so far.  assuming that p(n) is true,
   all n lines have equal chance 1/n to have been last picked.  If a
   new line n+1 is read, then this line is picked if "a random number in
   [0, n+1)" is smaller than 1.  That is a 1/(n+1) chance.  The chance
   for other lines to still be the last pick, is:
 "old chance" * "chance that line n+1 was not picked" 
 1/n  * (1 - 1/(n+1))
 1/n  *n/(n+1) 
   1/(n+1)
   => all n+1 lines have equal chance 1/(n+1) to be picked.
 qed.

> That algorithm is one of the purest distillations of beauty I've ever
> seen.  :-)  Remember, the perlfaq is far more peer-reviewed than almost
> any other source of info.

Agreed.

Cheers,


Joost



Re: XF86Config-4 weirdnesses

2001-07-02 Thread John Carline
I never did get my XF86Config-4 working with FontPath "unix/:7101"  I suspect 
it was a clash between the new font server with true type capability and xfstt, 
but I've been to busy lately to troubleshoot it.

All I know is that once I commented out the "unix/:7101" line it worked for me.

John


Bek Oberin wrote:

> Okay, I can't make it work and neither can xf86config so I feel at
> least a little bit better that we get the same error :)
>
> Here's my XF86Config-4:
>
> === begin /etc/X11/XF86Config-4 ===
>
> Section "Files"
> RgbPath "/usr/X11R6/lib/X11/rgb"
> FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
> FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
> FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
> FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
> FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
> FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
> FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
> FontPath   "/usr/X11R6/lib/X11/fonts/freefont/"
> FontPath   "unix/:7101"
> ModulePath "/usr/X11R6/lib/modules"
> FontPath "/usr/X11R6/lib/X11/fonts/freefont/"
> EndSection
>
> Section "Module"
>Load  "GLcore"
>Load  "dbe"
>Load  "dri"
>Load  "extmod"
>Load  "glx"
>Load  "pex5"
>Load  "record"
>Load  "xie"
> EndSection
>
> Section "ServerFlags"
> EndSection
>
> Section "InputDevice"
> Identifier  "Generic Keyboard"
> Driver  "keyboard"
> Option  "CoreKeyboard"
> Option  "XkbRules"  "xfree86"
> Option  "XkbModel"  "pc104"
> Option  "XkbLayout" "us"
> EndSection
>
> Section "InputDevice"
> Identifier  "Generic Mouse"
> Driver  "mouse"
> Option  "CorePointer"
> Option  "Device""/dev/gpmdata"
> Option  "Protocol"  "MouseSystems"
> EndSection
>
> Section "Monitor"
> Identifier  "17 inch monitor"
> VendorName  "Unknown"
> ModelName   "Unknown"
> HorizSync   30-72
> VertRefresh 50-120
> EndSection
>
> # **
> # Graphics device section
> # **
>
> Section "Device"
> Identifier  "Matrox Millenium"
> VendorName  "Unknown"
> BoardName   "Unknown"
> Driver  "mga"
> VideoRam4096
> # Insert Clocks lines here if appropriate
> EndSection
>
> # **
> # Screen sections
> # **
>
> # The Colour SVGA server
>
> Section "Screen"
> Identifier  "Generic Screen"
> #Driver  "svga"
> Device  "Matrox Millenium"
> Monitor "17 inch monitor"
> Subsection "Display"
> Depth   16
> Modes   "1024x768" "640x480" "800x600"
> ViewPort0 0
> EndSubsection
> Subsection "Display"
> Depth   32
> Modes   "640x480" "800x600"
> ViewPort0 0
> EndSubsection
> EndSection
>
> Section "ServerLayout"
>Identifier  "Default Layout"
>Screen  "Generic Screen"
>InputDevice "Generic Keyboard"
>InputDevice "Generic Mouse"
> EndSection
>
> === end /etc/X11/XF86Config-4 ===
>
> I get no apparent errors in my X startup logs except it gets to
> the end and says "(EE) No devices detected." and drops back to
> text mode.
>
> Here's my logfile, for reference.  Anybody got ideas?
>
> bekj
>
> === begin /var/log/XFree86.0.log ===
>
> XFree86 Version 4.0.3 / X Window System
> (protocol Version 11, revision 0, vendor release 6400)
> Release Date: 16 March 2001
> If the server is older than 6-12 months, or if your card is
> newer than the above date, look for a newer version before
> reporting problems.  (See http://www.XFree86.Org/FAQ)
> Operating System: Linux 2.2.19 i686 [ELF]
> Module Loader present
> (==) Log file: "/var/log/XFree86.0.log", Time: Mon Jul  2 19:41:08 2001
> (==) Using config file: "/etc/X11/XF86Config-4"
> Markers: (--) probed, (**) from config file, (==) default setting,
>  (++) from command line, (!!) notice, (II) informational,
>  (WW) warning, (EE) error, (??) unknown.
> (==) ServerLayout "Simple Layout"
> (**) |-->Screen "Screen 1" (0)
> (**) |   |-->Monitor "My Monitor"
> (**) |   |-->Device "Matrox Millennium 4MB"
> (**) |-->Input Device "Mouse1"
> (**) |-->Input Device "Keyboard1"
> (**) Option "AutoRepeat" "500 30"
> (**) Option "XkbRules" "xfree86"
> (**) XKB: rules: "xfree86"
> (**) Option "XkbModel" "pc101"
> (**) XKB: model: "pc101"
> (**) Option "XkbLayout" "us"
> (**) XKB: layout: "us"
> (**) FontPath set to 
> "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/font

Re: ASCII documentation in /usr/share/doc

2001-07-02 Thread Joey Hess
Holger Rauch wrote:
> In which package can I find "html2text" when I'm running a potato 2.2r3
> system? It seems like I only have "html2ps"...(but maybe I was overlooking
> something).

It's in unstable only. Use lynx -dump instead or something.

-- 
see shy jo



Re: [users] Re: Time to fight for our beloved DEB format!

2001-07-02 Thread Theodore Tso
On Sun, Jul 01, 2001 at 12:34:31PM -0600, Joe 'Zonker' Brockmeier wrote:
> It's not anti-commercial, but it's not pro-commercial either. It's 
> unfortunate that people spend so much time worrying about whether GNU/Linux
> or Free Software is "good for business" in the sense of selling commercial
> software or supporting companies with a business model suited for 
> proprietary software. Free Software and GNU/Linux are hugely beneficial
> for businesses that USE software, but obviously they don't support
> a model that is based on selling licenses or endless upgrades. 
> 
> The focus of Debian is to produce a quality Free operating system and
> huge base of Free Software applications. It's not focused on producing
> a system tailored for commercial applications, though I would argue that
> Debian is quite suitable for businesses. 

There are some applications for which I will be very, very, surprised
if they ever exist as Free Software.  #1 on this list is TurboTax.
That's because it's not really about the software, but because every
year our (at least for those of us who live in the U.S.)
Congress-critters make gratuitous changes to the tax code, and
therefore intuit as a small army of accountants and tax lawyers to
track changes in tax law.  Hence, I am more than happy to pay Intuit
$30 each year to purchase that year's Turbotax, instead of spending
four or five hours of my time (which I bill out at consultanting rates
of $250+/hour), or paying an accountant several hundred dollars to do
my taxes.

Given that I want to use Turbotax, and given Linux has 5% of the
desktop --- which is the same as percentage of the market share of the
desktop owned by MacOS, it's not insane that some number of ISV's
might decide to port their products to Linux.  And I for one would
love to be able to run TurboTax under Linux natively, instead of
having to dual boot into Windows.

If Debian doesn't want to support the LSB, that's Debian's choice to
make.  The LSB was also designed so that even if the distribution
refuses to support the LSB, an LSB compatibility layer could be
installed by third party provider.  Alternatively, perhaps people who
want to run third-party applications like TurboTax might decide not to
use Debian if Debian opts not to support the LSB.  Perhaps they'll
decide to use Mandrake, or Red Hat, or some other distribution
instead.  

Since I've only recently switched to using Debian, I'm hoping that
some Debian developers will decide that they also want to use some LSB
applications on their system, and will therefore undertake the
necessary work to make Debian be capable of installing LSB compliant
applications.  But if that doesn't happen, perhaps I'll have to switch
to some other distribution.  That's the way these things go.

- Ted

P.S.  I'm sure that the Church of the FSF will no doubt excommunicate
me and declare me a heretic for daring to advocate the use of
propietary software, but if so, so be it.  You heard it here first ---
this Linux kernel developer has absolutely no problem paying money for
at least some propietary software.



Re: cd-rom "medium not found", no modules load

2001-07-02 Thread Vineet Kumar
Thanks! I got it working just by issuing sudo hdparm -d0 /dev/hdc,
turning off dma for the drive. Now that it works, I'll see about
turning off DMA by default for it. My next step is to investigate
whether there exists a boot-time parameter to disable dma for hdc
while allowing it to remain on for my other drives without having to
recompile my kernel.

If anybody has pointers on setting up auto dma on some drives but not
others, I'd appreciate it.

Thanks Michael

Vineet

* Michael Hong ([EMAIL PROTECTED]) [010628 12:23]:
> I had the same problem with ide-scsi after installing a CDRW.  In my
> case it worked when I recompiled a kernel without auto dma. I think in
> the kernel config file it's called "CONFIG_IDEDMA_AUTO".  If you have
> this set in your kernel maybe it will work for you if you make a kernel
> with it unset.
> 


pgptiHN7ykaGG.pgp
Description: PGP signature


RE: xcdroast in sid/unstable not installable?

2001-07-02 Thread Marc Wilson
Especially since dselect doesn't, in fact, handle dependencies superior to
apt, since they both use the SAME dependency mechanism.

Something else is at work here.  Did you, perhaps, forget to update before
trying to install xcdroast, and remembered to do that when you used dselect?

What ELSE did dselect decide to install on your box when you did this?

-
Marc Wilson
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.moonkingdom.net/mwilson

 -Original Message-
From:   tim [mailto:[EMAIL PROTECTED]
Sent:   Monday, July 02, 2001 3:12 PM
To: Joost Kooij
Cc: debian-user@lists.debian.org
Subject:Re: xcdroast in sid/unstable not installable?

On Monday, 2. July 2001 18:31, Joost Kooij wrote:
> On Mon, Jul 02, 2001 at 05:25:08PM +0200, tim wrote:
> > tim:~# apt-get install xcdroast
> > Reading Package Lists... Done
> > Building Dependency Tree... Done
> >   xcdroast: Conflicts: cdrecord (>= 3:1.10a18.0) but 4:1.10-1 is to
> > be installed
> > Conflicts: mkisofs (>= 3:1.10a18.0) but 4:1.10-1 is to
> > be installed
> > Conflicts: cdda2wav (>= 3:1.10a18.0) but 4:1.10-1 is to
> > be installed
> > E: Sorry, broken packages
>
> Why don't you use dselect?
>
> Cheers,
>
>
> Joost

good point! it worked.

I have never paid attention to dselect since I installed debian first -
a horrible experience. Since then I allways make a minimal install and
apt-get what I want.

But now I realized that dselect handles dependencies superior to apt.
How comes i thought they use the same database.

thank you!!!  (a third time today)

tim


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




Re: Building and installing gcc-3.0

2001-07-02 Thread Shaul Karl
> Hi all,
> 
>   I want to build and install gcc-3.0 on my Debian "potato" 2.2r3. I have 
> downloaded gcc-3.0.tar.gz. If I simply type "configure", "make" and "make 
> install", would Debian realize that gcc has been upgraded? 


If by `Debian' you meant dselect, dpkg and freinds then the answer is no. 
Those actions will not make `Debian' realize that gcc is upgraded.


> If not, what 
> should I do? For some reasons, I don't want to apt-get it from the 
> Internet.
> 


I guess that you have to build the deb for yourself. Without having a deb-src 
package I would say that this is a difficult task I would say.


>   Also, what should be my toplevel installation directory for gcc-3.0? It 
> defaults to /usr/local/, but as far as I know, almost all debian programs 
> are installed to /usr/ rather than /usr/local/ (<- am I correct?). If I am 
> right, than should I install gcc-3.0 in /usr/ instead of /usr/local/?
> _
>


You are right about /usr and /usr/local. In fact, this is intentional and 
defined in policy. Actually, your situation is one of the reasons for this 
policy. There fore, installing gcc-3.0 from the tar balls in /usr/local seems 
to me the best solution. That way you might have a working version of it and 
although `Debian' would not know about it they might live in peace. But do 
note that I have no experience with these matters so that when you get down to 
the small details things might get complicated.

You might want to look at the mailing lists archive of debian-devel. There was 
a long discussion there about having gcc-3.0. This might give you more 
understanding about the problems that you will have to solve.


-- 

Shaul Karl <[EMAIL PROTECTED]>

Hillel used to say: If I am not for myself who will be for me?
Yet, if I am for myself only, what am I? And if not now, when?
  (Ethics Of The Fathers 1:14)





Re: perl 5.6.1 and h2ph ???

2001-07-02 Thread Michael P. Soulier
On Mon, Jul 02, 2001 at 04:52:04PM -0500, Dimitri Maziuk wrote:
> /usr/include # h2ph -r -l .  Destination directory /usr/local/lib/perl/5.6.1
> doesn't exist or isn't a directory
> 
> Huh? What happened, /usr/local/lib/site-perl/i386-linux isn't good enough
> for 5.6.1? Why not generate .ph's automagically during install? -- they need
> about 500K and HD space is cheap.

Talk to the maintainer. He might have reasons for this.

[EMAIL PROTECTED] msoulier]$ apt-cache show perl | grep ^Maintainer
Maintainer: Brendan O'Dea <[EMAIL PROTECTED]>

Mike

-- 
Michael P. Soulier <[EMAIL PROTECTED]> 
"With sufficient thrust, pigs fly just fine. However, this is not necessarily a
good idea. It is hard to be sure where they are going to land, and it could be
dangerous sitting under them as they fly overhead." -- RFC 1925


pgpTrgryKnHNe.pgp
Description: PGP signature


Re: [users] Re: random lines

2001-07-02 Thread Martin F. Krafft
also sprach Steven Smolinski (on Mon, 02 Jul 2001 02:47:49PM -0400):
> Huh?  I thought you wanted one random line chosen out of several?

yeah well, so did i. but in retrospect, for a random playlist of
albums for a custom script to be used with mpg123, permutations make
more sense.

but i still don't understand (and would like to) the algorithm from
the camel book. i know too little perl (though it's on my next
projects list...)

martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
-- 
weekend, where are you?



Re: buying a computer

2001-07-02 Thread Jeff Reed
http://www.oreilly.com/catalog/pchardnut/chapter/ch25.html

check it out

-- 

-- Jeff Reed
-- Linux System Administrator
-- Metro West Boston Linux User Group
-- [EMAIL PROTECTED] | www.linuxbusca.com
-- Daytime/Evening: (508)792-6070



Re: buying a computer

2001-07-02 Thread Andrew Perrin
Faheem-

Since I know you're at UNC, I'll just tell you that I've recently
completed installing debian 2.2r3, over the net, on a CCI machine, which
is an IBM NetVista A40 with a PIII-1Ghz chip in it. Things have gone
pretty well, except that the built-in audio chip doesn't seem to be
supported, so I put a cheap old one in to play music in the
office.  Otherwise, went without a hitch.

Best,
Andy Perrin

--
Andrew J Perrin - [EMAIL PROTECTED] - http://www.unc.edu/~aperrin
 Assistant Professor of Sociology, U of North Carolina, Chapel Hill
  269 Hamilton Hall, CB#3210, Chapel Hill, NC 27599-3210 USA


On Mon, 2 Jul 2001, Alan Shutko wrote:

> Faheem Mitha <[EMAIL PROTECTED]> writes:
> 
> > Has anyone bought computers from Dell recently?
> 
> I bought a Dell 1400SC server I've put Debian on.  It is true that
> they only preload Redhat, but everything works under Debian, except
> for their server monitoring agent.  That fails because their kernel
> modules for the monitoring hardware are too old... it won't work under
> current RH kernals either.
> 
> So, if you want a Debian preload, they aren't good for you, but I like it.
> 
> -- 
> Alan Shutko <[EMAIL PROTECTED]> - In a variety of flavors!
> Everything can be filed under "miscellaneous".
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 



Re: editing /etc/init.d

2001-07-02 Thread Shaul Karl
> I need to edit a script in /etc/init.d to allow a program, which I
> haven't been able to get to run, to log what is happening.
> 
> So far I've not touched this area and find the manpage for
> 'update-rc.d' a little confusing. The script to be edited is linked
> to /etc/rc0/   /etc/rc6/ (as defaults with runlevels and
> sequence code). Do I need to remove all of these links with -f,
> so running 'update rc.d -f xx defaults' ? 
> I presume I could run the same command with -n instead of -f
> just to have a 'look-see' -but I'm wary of touching something I
> don't yet understand. In any event this seems too simple.
> 



I do not understand why would you mess with update-rc.d.
If I wanted to have some already existent /etc/init.d script echo some 
messages or write them to a file I would add the right commands to the script. 
I might have save the original script before changing it. But all those 
actions have  nothing to do with update-rc.d.

update-rc.d (or any other method that was mentioned here) might be handy for 
example when you want a program to start at boot time AND it is not done so by 
defualt. Yet if you couldn't get such a program to run then messing with the 
/etc/init.d scripts seems to me premature.

I hope I make sense. Perhaps you should post more details about what your 
problem is?



> Would someone be good enough to advise me.
> 
> Thanks,John.
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

-- 

Shaul Karl <[EMAIL PROTECTED]>

Hillel used to say: If I am not for myself who will be for me?
Yet, if I am for myself only, what am I? And if not now, when?
  (Ethics Of The Fathers 1:14)





Re: Apache config question

2001-07-02 Thread Mark Wagnon
On 07/02/01 13:18:23 -0500, Dave Sherohman wrote:

> I bet you're running portsentry...
> 
> When you installed apache, portsentry was already listening on pot 80.
> When you rebooted, apache was started before portsentry, so it got the
> port and portsentry left it alone since there's something legit there
> now.

Aha! That's nice to know in case I run into this problem again. 

Thanks!
-- 
Mark Wagnon <[EMAIL PROTECTED]>



Re: [users] Re: random lines

2001-07-02 Thread Steven Smolinski
On Tue, Jul 03, 2001 at 12:23:20AM +0200, Martin F. Krafft wrote:
> also sprach Steven Smolinski (on Mon, 02 Jul 2001 01:46:29PM -0400):
> > That algorithm is one of the purest distillations of beauty I've ever
> > seen.  :-)  Remember, the perlfaq is far more peer-reviewed than almost
> > any other source of info.
> 
> okay, okay. i believe you. did you give me a link for that thing,
> because now i am interested.

http://www.perldoc.com/perl5.6/pod/perlfaq5.html

... or ...

perldoc -q 'select a random line'

"How do I select a random line from a file?"

> still, i like the map version better simply because a permutation of
> the albums is actually what i want for a random album player, is it
> not?

Huh?  I thought you wanted one random line chosen out of several?

If you want to shuffle an array, that's a different monster.
Unsurprisingly, perlfaq4 also has an implementation of the Fisher-Yates
shuffle to answer this question:

man perlfaq4

or

http://www.perldoc.com/perl5.6/pod/perlfaq4.html


Steve
-- 
Steven Smolinski => http://arbiter.ca/



Re: newbie doc volunteers

2001-07-02 Thread will trillich
On Thu, Nov 09, 2000 at 01:02:22PM -0600, will trillich wrote:
> Troy Mutton wrote:
> > 
> > Hi Will,
> > 
> > Im a debian new*ie, and would like to help out if i can with this new
> > project.
> > 
> > ive been using debian for about 2 months now, after migrating from winblows
> > to red hat about 6-8 months back.
> > 
> > i dont know exactly what i can offer ;) or what it is you want from
> > volunteers.
> > 
> > I figure that as i am a new user, but i still have a fair idea what im
> > trying to do and more often than not i can work out how to do it, that i
> > could possibly give some sort of advice to other ppl out there in a similar
> > position.
> > 
> > if you would like my help, you should give me a yell, otherwise dont worry.
> 
> perfect!
> 
> if there are one or two specific areas that gave you a hard time,
> if you could kinda put together a doc (spend about three hours on 
> each, if possible) of WHAT YOU WISH YOU'D FOUND before trying to 
> acomplish your tasks.
> 
> then, feel free to post it at egroups.com/files/newbieDoc! and
> let the rest of us know by hollering at [EMAIL PROTECTED]
> 
> awesome!

no rush. :)

-- 
DEBIAN NEWBIE TIP #38 from Alvin Oga <[EMAIL PROTECTED]> 
:
Curious about your NETWORK TRAFFIC? There's a whole bunch of
ways to monitor it: iptraf, showtraf, netwatch, tcpview, statnet,
or even
tcpdump | grep 'what you want to see'
lsof -i | grep 'LISTEN'
For network statistics try "mrtg". See the ethernet section
over at http://www.Linux-Sec.net/

Also see http://newbieDoc.sourceForge.net/ ...



Re: Can't create temporary file, errno=30

2001-07-02 Thread David L. Craig
J_Ramón Fdez wrote:

> I have start up my linux box for 28 days. Suddenly, when
> I have tried to edit a file with vi, the system said:
> 
> Can't create temporary file, errno= 30
> 
> I don't understand what happend.  Can you help me?

>From /usr/include/asm/errno.h:

#define EROFS   30  /* Read-only file system */

Do a "df" command and a "mount" command and post the results...



slightly off topic: LISP

2001-07-02 Thread Darryl Röthering
OK, all you LISPers got me off my duffus to take a LISP tutorial. So, can 
you please email me off-list with answers to this question?


I don't understand something, but I'm not sure what I am missing: it seems 
to be either the QUOTE or the REST function. I will show you what I think 
ought to be the evaluation of this function, (which is NOT what the LISP 
evaluator yields) and you tell me what I am missing:




(REST (REST '(1 2 3 4)))
|(REST '(1 2 3 4))
| '(1 2 3 4)
| --> (1 2 3 4)
|--> (2 3 4)
--> Error, 2 is not a function

Of course, the lisp evaluator yields the following:

(REST (REST '(1 2 3 4)))
|(REST '(1 2 3 4))
| '(1 2 3 4)
| --> (1 2 3 4)
|--> (2 3 4)
--> (3 4)
(3 4)

In other words, why does the outer REST accept the return of the inner REST 
without an intervening QUOTE? Is the quote passed on? Or, does the QUOTE 
serve to type the inner list as a non-function, after which time, the return 
value of REST is typed as non-function?


I just don't get the proper conceptualization on this point.

TIA,

James Rothering


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



Any way to get apt or dpkg to compile sources for SMP automatically?

2001-07-02 Thread John Foster
What I'm trying to do is totally optimize my software for dual processor
systems. I want to be able to use apt-get sources xxx.deb to download
and automatically compile the application with SMP support and to
optimize it for various pentium or other processors. This does not mean
just the kernel I mean all of the software that I use.
Thanks!
John



Re: [users] Re: random lines

2001-07-02 Thread Martin F. Krafft
also sprach Steven Smolinski (on Mon, 02 Jul 2001 01:46:29PM -0400):
> That algorithm is one of the purest distillations of beauty I've ever
> seen.  :-)  Remember, the perlfaq is far more peer-reviewed than almost
> any other source of info.

okay, okay. i believe you. did you give me a link for that thing,
because now i am interested. still, i like the map version better
simply because a permutation of the albums is actually what i want for
a random album player, is it not?

martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
-- 
"when i tell a robot to get me a beer,
 i don't want it horsing around.
 i want it to get a beer."
  -- joseph k. engelberger



Re: buying a computer

2001-07-02 Thread David L. Craig
Faheem Mitha wrote:

> My main question is -- can anyone recommend a good
> firm to custom-build computers for Linux? It would
> be a big plus if said firm knows enough to be able to
> install Debian on it. I might do a reinstall, but it
> would be greatly reassuring to know that it works on
> the computer in the first place. I would hate to buy a
> new computer and find Debian refuses to work properly
> on it. That is the stuff of nightmares.

If you HURRY, you might get the last workstation VA
Linux will build.  They're getting out of the hardware
business after all these years (sniff) because Linux is
TOO successful and they've had to compete with the Big (Bad
Blue) Boys...  I seem to recall they would install Debian.



Re: Re. Total Confusion

2001-07-02 Thread David L. Craig
Bruce wrote:

> Youngsters!  What is this world coming to, never heard of a comm prg,
> probably don't know what x/y/zmodem and kermit are either.  ;)
> 
> just for the fun of it...
> I can dial in and read my mail/surf-the-web using a C64 and a comm
> program, and if my ZX81 was still working I could hook up a home-built
> low-speed modem I built many years ago and use it.
> 
> Maybe I'll go have a nap now, I'm feeling old all of a sudden.  :)

Look at it this way:  another decade and only ubercrackers will
be a threat to your system's ASYNC portal.  ;-)

Try ProComm or CrossTalk to jiggle their memories--most
of them were brought up on Windoze (not even DOS!) and
thought if software isn't warez, it's not worth your time.



Re: Can't create temporary file, errno=30: SOLVED

2001-07-02 Thread Debian User
El Lun 02 Jul 2001 22:03, escribiste:
> Debian User wrote:
> > El Lun 02 Jul 2001 21:42, Mike Brownlow escribi?:
> > > Debian User wrote:
> > > > Hi,
> > > > I have start up my linux box for 28 days. Suddenly, when I have tried
> > > > to edit a file with vi, the system said:
> > > >
> > > > Can't create temporary file, errno= 30
> > >
> > > One way if you have kernel headers installed:
> > >
> > > $ grep 30 /usr/include/asm/errno.h
> > > #define EROFS   30  /* Read-only file system */
> >
> > I have installed kernel headers in my system.
> >
> > Regards
>
> Sorry! I answered in a strange way. :)
>
> Try remounting the filesystem /tmp is on with read-write
> capabilities.
>
> Probably:
> # mount -o remount,rw /

I have run # mount -o remount, rw / and all it's OK again.

Many thanks

J_Ramón



Re: xcdroast in sid/unstable not installable?

2001-07-02 Thread tim
On Monday, 2. July 2001 18:31, Joost Kooij wrote:
> On Mon, Jul 02, 2001 at 05:25:08PM +0200, tim wrote:
> > tim:~# apt-get install xcdroast
> > Reading Package Lists... Done
> > Building Dependency Tree... Done
> >   xcdroast: Conflicts: cdrecord (>= 3:1.10a18.0) but 4:1.10-1 is to
> > be installed
> > Conflicts: mkisofs (>= 3:1.10a18.0) but 4:1.10-1 is to
> > be installed
> > Conflicts: cdda2wav (>= 3:1.10a18.0) but 4:1.10-1 is to
> > be installed
> > E: Sorry, broken packages
>
> Why don't you use dselect?
>
> Cheers,
>
>
> Joost

good point! it worked.

I have never paid attention to dselect since I installed debian first - 
a horrible experience. Since then I allways make a minimal install and 
apt-get what I want.

But now I realized that dselect handles dependencies superior to apt. 
How comes i thought they use the same database. 

thank you!!!  (a third time today)

tim



Re: process w/o attached tty?

2001-07-02 Thread David L. Craig
Tom Massey wrote:

> Depends on how you close the Eterm - if you close it
> by clicking on the close button of the window it's in,
> yes you're right. But if you exit from the shell with
> a  or 'exit' the Eterm closes and leaves
> backgrounded processes running. And I don't like
> messages vanishing into nohup.out instead of being
> displayed... :-)

Instead of nohup, I prefer (under bash):

( do_it <./do_it.in >./do_it.out 2>./do_it.err & )

After spawning do_it as a background task w/o terminal
I/O, the parent subshell exits, returning control to the
bash login shell and orphaning the do_it process, which is
adopted by process 1 (init).  Now do_it will continue to
run if you logout, but you can still stop it from any
process you own using kill -1 pid.  If you want to watch
its output, use tail -f.



Re: Can't create temporary file, errno=30

2001-07-02 Thread Mike Brownlow
Debian User wrote:
> El Lun 02 Jul 2001 21:42, Mike Brownlow escribi?:
> > Debian User wrote:
> > > Hi,
> > > I have start up my linux box for 28 days. Suddenly, when I have tried
> > > to edit a file with vi, the system said:
> > >
> > > Can't create temporary file, errno= 30
> >
> > One way if you have kernel headers installed:
> >
> > $ grep 30 /usr/include/asm/errno.h
> > #define EROFS   30  /* Read-only file system */
> 
> 
> I have installed kernel headers in my system.
> 
> Regards

Sorry! I answered in a strange way. :)

Try remounting the filesystem /tmp is on with read-write
capabilities.

Probably:
# mount -o remount,rw /

-- 
Mike Brownlow   ><>  http://www.wsmake.org/~mike/
-
1024D/8AA6EAFD 3861 96B3 EEA2 285C BE23  F706 3E1E EBB2 8AA6 EAFD



Re: newbie tip

2001-07-02 Thread will trillich
On Mon, Jul 02, 2001 at 03:24:33PM +0200, Carel Fellinger wrote:
> On Sun, Jul 01, 2001 at 09:32:38PM -0500, will trillich wrote:
> ...
> > but i don't have "dos2unix" on my debian potato, and i'm not
> > having a great deal of luck finding it at packages.debian.org
> > either... all i find is 'sysutils' but:
> > 
> > $ apt-cache show sysutils
> > This is a package incorporating various small utilities which are:
> >  *  procinfo - Displays system information from /proc (v16).
> >  *   memtest - Test system memory for errors (v1.0.1).
> >  *  bogo - Shows the current bogomips rating without rebooting 
> > (v1.2).
> >  * tofromdos - Converts DOS <-> Unix text files (v1.4).
> 
> bingo, that's the one. It provides dos2unix and unix2dos as links to
> the real meat.

so, then, we should lynch whomever provided the package
description. it looks like it's got four programs, among which
dos2unix is nowhere to be found.

--

ricking another nomenclature religious barrage, here's a related
tip:

-- 
DEBIAN NEWBIE TIP #46 from Will Trillich <[EMAIL PROTECTED]> 
:
Troubled by MAC-FORMAT TEXT FILES? There are many ways
to translate CR to LF. VIM can help, with these steps:
:set ffs=mac
:e!
:set ff=unix
and then save/write the file (":opt" for more info).
In perl, this'll do the trick:
perl -pi.mac -l12 -015 -e ';' filename*pattern.txt
(that's a  and , by
the way -- see "perldoc perlrun" for more info.)

Also see http://newbieDoc.sourceForge.net/ ...



perl 5.6.1 and h2ph ???

2001-07-02 Thread Dimitri Maziuk
/usr/include # h2ph -r -l .
Destination directory /usr/local/lib/perl/5.6.1 doesn't exist or isn't a 
directory

Huh? What happened, /usr/local/lib/site-perl/i386-linux isn't good enough for
5.6.1? Why not generate .ph's automagically during install? -- they need about
500K and HD space is cheap.

Dima (wondering what else broke after upgrade to 5.6.1)
-- 
E-mail dmaziuk at bmrb dot wisc dot edu (@work) or at crosswinds dot net (@home)
http://www.bmrb.wisc.edu/descript/gpgkey.dmaziuk.ascii -- GnuPG 1.0.4 public key
Q276304 - Error Message: Your Password Must Be at Least 18770 Characters
and Cannot Repeat Any of Your Previous 30689 Passwords-- RISKS 21.37



Re: PostgreSQL 7.1 packages for potato

2001-07-02 Thread will trillich
On Mon, Jul 02, 2001 at 04:15:14AM -0500, Donald R. Spoon wrote:
> Will Trillich wrote:
> >---snip---<
> > # apt-get -f install 
> > Reading Package Lists... Done
> > Building Dependency Tree... Done
> > Correcting dependencies... Done
> > The following extra packages will be installed:
> >   libpgsql2.1 
> > The following packages will be REMOVED:
> >   libpgsql2 
> > The following NEW packages will be installed:
> >   libpgsql2.1 
> > 0 packages upgraded, 1 newly installed, 1 to remove and 1 not upgraded.
> > 7 packages not fully installed or removed.
> > Need to get 0B/180kB of archives. After unpacking 492kB will be used.
> > Do you want to continue? [Y/n] 
> > (Reading database ... 46246 files and directories currently installed.)
> > Removing libpgsql2 ...
> > /var/lib/dpkg/info/libpgsql2.prerm: /etc/postgresql/postmaster.conf: No 
> > such file or directory
> > dpkg: error processing libpgsql2 (--remove):
> >  subprocess pre-removal script returned error exit status 1
> > Errors were encountered while processing:
> >  libpgsql2
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> > 
> > 
> > 
> > what's the remedy for this? now, my postgresql seems down for the
> > count... :(
> > 
> 
> I ran into this exact same "won't-loop" tonight while moving from Potato
> ---> Testing using "apt-get dist-upgrade".  After about a half hour of
> running around the loop and doing all the same stuff that you did, I
> fired up dselect and REMOVED the old postgresql packages from Potato
> completely including the python-pygresql package, then did another
> "apt-get update" and "atp-get dist-upgrade" and everything slid in quite
> smoothly...almost .  I had some problems with the X upgrade to 4.0.3
> (didn't install the fonts), and also it complained about some sort of
> ddd conflicts but those were separate issues.  I dunno if you can just
> use the "apt-get remove postgresql" command or not...didn't think of it
> at the time.  This was/is a somewhat MAJOR problem in doing an upgrade
> as this "loop" comes early in the upgrade and stalls out the process
> until you resolve it.
> 
> Bottom line:  Remove the OLD postgresql packages first (be sure to save
> any databases you have somewhere safe) then install the new packages &
> restore your database.  Be sure to read the docs on migration of your
> old db to the 7.1 format.  That is what worked here...(on July Fool's
> Day ).

i tried remove and purge and eradicate and zap and disintegrate
but it always failed (apt-get and dpkg and dselect) but when i
did the "touch /etc/postgresql/postmaster.conf" then everything
went smoothly thereafter.

but re-loading the database from 7.0.3 pg_dump into 7.1 psql was
a bit harrowing nonetheless -- lots more strict on various
features (foreign key for example)...

and now you can't "psql -l" to see the databases: you have to
specify a database even if you don't intend to do anything with
it: "psql -l template0" -- what's up with THAT?

-- 
DEBIAN NEWBIE TIP #25 from Will Trillich <[EMAIL PROTECTED]> 
:
Did you know you have MORE THAN ONE CONSOLE to use? There's six,
by default: try Control-Alt-F6 to see console six, Ctl-Alt-F3 for
console 3, and so forth. (If you don't use the X window display
system, you don't need to include the control key.) Each console
can have its own login, running its own jobs. Very handy!

Also see http://newbieDoc.sourceForge.net/ ...



Re: editing /etc/init.d

2001-07-02 Thread John Hasler
john gennard wrote:
> So far I've not touched this area and find the manpage for
> 'update-rc.d' a little confusing.

Look at /usr/doc/sysvinit/README.runlevels.gz.
-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin



Re: More On 2.4.5 Processor Support

2001-07-02 Thread David L. Craig
D-Man wrote:

> Thanks for the info!  I had the same question, but hadn't asked yet.
> I'll build my own eventually to get NFS built-in (for a diskless
> XTerm).  If I think about it for a minute, I have to pick "486" or
> worse for that.

You can install kernel-image-2.4.5-k6 and get K6 performance
out of your Athlon as you compile your custom kernel.



Re: random lines

2001-07-02 Thread Steven Smolinski
On Mon, Jul 02, 2001 at 11:24:40PM +0200, Martin F. Krafft wrote:
> also sprach Joost Kooij (on Mon, 02 Jul 2001 11:15:38PM +0200):
> > perl -e 'print map {$_->[1]} sort {$a->[0]<=>$b->[0]} map {[rand,$_]} <>' 
> > file
> 
> that's perfect!
> 
> the other perl algorithm permitted did a scan through the file,
> halting on a given line according to a random number. i may well be
> wrong here, but doesn't that absolutely favor the entries up to in the
> file since they are considered so many more times?

Actually, if you mean the one I posted from the perlfaq, you have made
several errors.

That algorithm did not halt on a random line.  It reads the whole file,
one line at a time, using almost no memory.  The perl line above reads
the whole file into memory, which is far less efficient.  The perlfaq
algorithm also has far fewer operations per line, so it will be faster
on that count, too.

I won't present a proof for the algorithm from the perlfaq, but one is
available.  What it does is make the currently-read line the "randomly
chosen" line based on a probability that changes as you go through the
file:

- The first line is guaranteed to be chosen in a single-line file.
- The second line is 50% likely to be chosen in a two-line file.
- The third line is 1/3 likely to be chosen in a three-line file.
  ...
- The eightieth line is 1/80 likely to be chosen in an eighty-line file.

Consider, the three line file case:

Line 1 had a 1/1 chance of a 1/2 chance of a 2/3 chance.  # == 1/3
Line 2 had a 1/2 chance of a 2/3 chance.  # == 1/3
Line 3 had a 1/3 chance.  # == 1/3

So no matter when the file ends and the algorithm is complete, the
currently selected line is random, and was chosen with the proper
probability given the number of lines in the file.

That algorithm is one of the purest distillations of beauty I've ever
seen.  :-)  Remember, the perlfaq is far more peer-reviewed than almost
any other source of info.

Steve
--
Steven Smolinski => http://arbiter.ca/



RE:Can't create temporary file, errno=30

2001-07-02 Thread Andrew Agno
Debian User writes:
 > Can't create temporary file, errno= 30

Looks like it's trying to create a file in a read only file system
(EROFS).  Do you know where it's creating the temp file?  If so, then
check to see if you can write to the mount on which the temp file is
being created.

Andrew.



Re: Can't create temporary file, errno=30

2001-07-02 Thread Mike Brownlow
Debian User wrote:
> Hi,
> I have start up my linux box for 28 days. Suddenly, when I have tried
> to edit a file with vi, the system said:
> 
> Can't create temporary file, errno= 30

One way if you have kernel headers installed:

$ grep 30 /usr/include/asm/errno.h  
#define EROFS   30  /* Read-only file system */

-- 
Mike Brownlow   ><>  http://www.wsmake.org/~mike/
-
1024D/8AA6EAFD 3861 96B3 EEA2 285C BE23  F706 3E1E EBB2 8AA6 EAFD



Re: Can't create temporary file, errno=30

2001-07-02 Thread Robert Waldner

On Mon, 02 Jul 2001 22:38:16 -, Debian User writes:
>I have start up my linux box for 28 days. Suddenly, when I have tried to edit 
>a file with vi, the system said:
>
>Can't create temporary file, errno= 30
>
>I don't understand what happend.  Can you help me?

maybe one[0] of your file-systems is full. check the output of `df -k`.

0: well, /tmp springs to mind...

cheers+hth,
&rw
-- 
-- Its name is Public Opinion.  It is held in reverence.
-- It settles everything. Some think it is the voice of God.
-- Mark Twain





pgpcq521OvfkI.pgp
Description: PGP signature


ucspi-tcp compiling problem

2001-07-02 Thread Gaston
Hi all,
I've just tried to compile (with 'build-ucspi-tcp') the 
ucspi-tcp-src.0.88-5.deb and I get this error:

gzip -fr debian/tmp/usr/share/doc/ debian/tmp/usr/man/
make: *** [binary-arch] Error 2

Does anyone know what I'm doing wrong?

Thanks

-- 
Dear Emily:
I'm having a serious disagreement with somebody on the net. I
tried complaints to his sysadmin, organizing mail campaigns, called for
his removal from the net and phoning his employer to get him fired.
Everybody laughed at me.  What can I do?
-- A Concerned Citizen

Dear Concerned:
Go to the daily papers.  Most modern reporters are top-notch computer
experts who will understand the net, and your problems, perfectly.  They
will print careful, reasoned stories without any errors at all, and surely
represent the situation properly to the public.  The public will also all
act wisely, as they are also fully cognizant of the subtle nature of net
society.
Papers never sensationalize or distort, so be sure to point out things
like racism and sexism wherever they might exist.  Be sure as well that they
understand that all things on the net, particularly insults, are meant
literally.  Link what transpires on the net to the causes of the Holocaust, if
possible.  If regular papers won't take the story, go to a tabloid paper --
they are always interested in good stories.



Can't create temporary file, errno=30

2001-07-02 Thread Debian User
Hi,
I have start up my linux box for 28 days. Suddenly, when I have tried to edit 
a file with vi, the system said:

Can't create temporary file, errno= 30

I don't understand what happend.  Can you help me?

Many thanks.

J_Ramón Fdez



ISOs for Debian PPC and x86

2001-07-02 Thread Patrick Klee
Hi,
How do I make ISOs for Debian Potato on PPC and x86 architecture?
Can someone point me to a HOWTO or does someone know how to do it?

Cheers,
Patrick



Re: random lines

2001-07-02 Thread Martin F. Krafft
also sprach Joost Kooij (on Mon, 02 Jul 2001 11:15:38PM +0200):
> perl -e 'print map {$_->[1]} sort {$a->[0]<=>$b->[0]} map {[rand,$_]} <>' file

that's perfect!

the other perl algorithm permitted did a scan through the file,
halting on a given line according to a random number. i may well be
wrong here, but doesn't that absolutely favor the entries up to in the
file since they are considered so many more times?

thanks!

martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
-- 
click the start menu and select 'shut down.'



Re: random lines

2001-07-02 Thread Joost Kooij
On Sun, Jul 01, 2001 at 05:15:13PM +0200, Martin F. Krafft wrote:
> hey,
> do you guys know of a smart way to access random lines in a file? so
> if a file had lines 1-5, 5 random reads would return something like
> line3, line1, line2, line5, line4? you get the picture... oh, and that
> preferably in shell-script/awk form?

Did I fail the deadline yet?

perl -e 'print map {$_->[1]} sort {$a->[0]<=>$b->[0]} map {[rand,$_]} <>' file

Unlike some other solutions posted, this is not a "random pick" program,
but a full set permutating one.  It is quite elementary, I bet that it
already exists in some corner of the web/usenet.

The "map sort map" construct is called "the schwartzian transform",
in honor of randall schwartz, gifted co-author of perl, perl books and
many other goodies.

The way I'm using it is to take a list of lines from standard input. Next
a new list of pairs (random_num, input_line) is created from this list.
The list of pairs is then sorted by the first member of each pair.
The sorted list of pairs is then turned into final list, consisting of
only the second member of each pair in the sorted list, while keeping
the sort order of the list of pairs.  The final list is then printed.
Read from right to left.

Cheers,


Joost



Re: buying a computer

2001-07-02 Thread Paul Whitmer
The first thing I would do is take a look at www.thedukeofurl.org and they 
have an article called the linux hardware guide where they give you three 
different systems that you might want to put together with all of the 
compatible equipement.  It goes from low end to suicidal screamer.  After 
that, if you didn't want to make it yourself, I would go to a local computer 
store (one that does custom builds, not a staples or circuit city) and tell 
them what exact things you want for your machine.  Just my $.02, hope it 
helps!

Paul


From: D-Man <[EMAIL PROTECTED]>
To: debian-user@lists.debian.org
Subject: Re: buying a computer
Date: Mon, 2 Jul 2001 16:28:08 -0400

On Mon, Jul 02, 2001 at 04:15:13PM -0400, Faheem Mitha wrote:
| I am thinking of replacing my now rather elderly Pentium II 233 Mhz

This ought to run just fine.  You're not using M$ Windows, now are
you? 


| My main question is -- can anyone recommend a good firm to custom-build
| computers for Linux? It would be a big plus if said firm knows enough to
| be able to install Debian on it. I might do a reinstall, but it would be

Not quite a firm, but I would be willing to do it (with the proper
release from fear of lawsuit ) :-).  I live in New York, though,
and I don't know how bad shipping costs would be.

| greatly reassuring to know that it works on the computer in the first
| place. I would hate to buy a new computer and find Debian refuses to work
| properly on it. That is the stuff of nightmares.

That's why I buy parts and put them together myself -- I only buy
parts that work :-).  My first machine came in a box, but I had some
problems with it (Compaq uses micro-towers with miniature power
supplies and no room inside for expansion).

-D


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



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



Re: [users] Re: Time to fight for our beloved DEB format!

2001-07-02 Thread Theodore Tso
On Sun, Jul 01, 2001 at 01:08:04AM +0200, Martin F. Krafft wrote:
> > 1) A transparent way to install LSB-compliant rpms in Debian is
> > implemented. Preferably one should be able to install rpms with 'dpkg'
> > command line tool, although an automatic format transform with 'alien'
> > could be performed behind the scenes.

In order to be LSB compliant, the application needs to provide a tool
for installing LSB compliant packages.  Using alien plus dpkg is
perfectly acceptable.

> sure, that would be a possiblity, but rather than merging and going
> with redhat (come on, they are walking micro$oft footsteps), DEB is
> very powerful and can easily exist by itself. a little
> cross-compatibility is needed, but rather than surrendering and
> converting to RPM, it should be the community's goal to establish DEB
> at least to be a second standard, causing vendors and distributors to
> package with DEB as well as RPM.

It was never the intention of the LSB to ask Debian to switch
packaging technologies.  In fact, if you take a close look at the
standard, you'll see that specification requires that packages which
choose to use LSB-compliant package (which is optional; some ISV's
like Oracle wanted to be able to use the same Java-based installer
that they use on all of their other platforms, and the LSB allows for
that), that what is specified is a *subset* of RPM, and is only
intended for use by third party applications.

These restrictions include (among others) (a) no dependencies are
allowed inside the package except for "lsb", (b) no RPM triggers, (c)
no deppendencies on the order in which the pre-install and
post-install scripts are run in the case of a package upgrade, (d) no
use of anby RPM extensions past what is documented in Maximum RPM.

The intent behind all of these restrictions was to make sure that it
would be possible for Debian-based systems to be able to install
LSB-compliant packages by using the "alien" program.  It was never
intended that Debian or any other distribution attempt to use the
restricted subset of RPM which is required for an LSB-compliant
pacakge as a native disitribution packaging system.  (In fact, because
of the restricgtions, it's essentially impossible to do so.)  It was
merely the least common denominator that could be easily be used by
all distributions, whether they were RPM or dpkg based.

Never fear, those of us who have been working on the LSB standard have
been trying to keep the interests of the Debian distribution in mind.
Of course, more volunteers would make our jobs easier.  If you're
interested in helping out, please feel free to send me e-mail.  Among
other things, creating a package which provides the necessary
symlinks, shell scripts, et.al. for Debian to be able to install
LSB-compliant pacakges would be very welcome.  

- Ted



Re: [users] buying a computer

2001-07-02 Thread Martin F. Krafft
also sprach Faheem Mitha (on Mon, 02 Jul 2001 04:15:13PM -0400):
> I live in North Carolina, US. I am thinking of having it custom-built and
> it would be nice to get Debian preloaded. I looked at resellerratings.com.
> There seem to be some good small vendors out there. For example,

well, you learn best from installing it yourself... especially when
you have your old workhorse around until you are down with debian. i
don't necessarily recommend purchasing a pre-loaded debian machine!

> Unfortunately, Envision doesn't support Linux at all. Minotaur does Linux
> installations (and even OpenBSD installations) according to their web
> site, but unfortunately only Redhat installations. Has anyone ever dealt
> with these two places for Linux machines?

redhat != linux.
okay, let's not go there.

> My main question is -- can anyone recommend a good firm to custom-build
> computers for Linux? It would be a big plus if said firm knows enough to
> be able to install Debian on it. I might do a reinstall, but it would be
> greatly reassuring to know that it works on the computer in the first
> place. I would hate to buy a new computer and find Debian refuses to work
> properly on it. That is the stuff of nightmares.

if linux works, debian will work. if redhat works, debian will work.

> Has anyone bought computers from Dell recently? They do Linux installs
> these days, but I don't know how good it is, and it seems to be
> exclusively Redhat too. I don't see why there is this big concentration on
> Redhat.

dell makes nice computers and dell has good support services, if you
buy the 24hour onsite support, which i'd recommend (i did and never
regretted it). however, their linux installs are disgusting. of
course, only redhat, and then with *everything* installed.

seriously, if i were you, i'd buid the computer yourself from parts
and then put debian on it from scratch - and use us for help.

and you want to know why redhat exclusively? because while dell,
intel, and micro$oft are currently sleeping with each other, redhat's
business plan is so like micro$oft (they give a flying food about
their private customers and anything else that doesn't smell like big
money), and so dell (who's also out there to make money and grease up
to capitalism) works with them. well, there are other reasons too, but
that's the one that makes the most sense i find.

that's all i can tell you. i am very glad that you found your way to
debian!!!

martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
-- 
warning: dates in calendar are closer than they appear.



Re: xfree86-sis -- needs patching?

2001-07-02 Thread D-Man
On Mon, Jul 02, 2001 at 03:20:48PM -0500, Branden Robinson wrote:
| On Mon, Jul 02, 2001 at 01:50:36PM +0100, Rev Simon Rumble wrote:
| > I have a laptop which doesn't work with the SiS X server included in
| > Debian.  It does, however, work when I compile and install the patched
| > version from the SiS web site.  (http://www.sis.com.tw)
| 
| The xserver-sis package is quite obsolete.
| 
| If you're using Debian 2.2, I suggest using xserver-svga; if you're using

Yes.  I have an SiS (6326, not a laptop) and that server worked.  For
me I had to specify the "no_accel" option or I got really weird
backgrounds and repaint problems.

| Debian's "testing" or "unstable" releases, I suggest xserver-xfree86.

X4 is _much_ better with my card (acceleration works).

-D



Re: buying a computer

2001-07-02 Thread D-Man
On Mon, Jul 02, 2001 at 04:15:13PM -0400, Faheem Mitha wrote:
| I am thinking of replacing my now rather elderly Pentium II 233 Mhz

This ought to run just fine.  You're not using M$ Windows, now are
you? 

 
| My main question is -- can anyone recommend a good firm to custom-build
| computers for Linux? It would be a big plus if said firm knows enough to
| be able to install Debian on it. I might do a reinstall, but it would be

Not quite a firm, but I would be willing to do it (with the proper
release from fear of lawsuit ) :-).  I live in New York, though,
and I don't know how bad shipping costs would be.

| greatly reassuring to know that it works on the computer in the first
| place. I would hate to buy a new computer and find Debian refuses to work
| properly on it. That is the stuff of nightmares.

That's why I buy parts and put them together myself -- I only buy
parts that work :-).  My first machine came in a box, but I had some
problems with it (Compaq uses micro-towers with miniature power
supplies and no room inside for expansion).

-D



Re: buying a computer

2001-07-02 Thread Alan Shutko
Faheem Mitha <[EMAIL PROTECTED]> writes:

> Has anyone bought computers from Dell recently?

I bought a Dell 1400SC server I've put Debian on.  It is true that
they only preload Redhat, but everything works under Debian, except
for their server monitoring agent.  That fails because their kernel
modules for the monitoring hardware are too old... it won't work under
current RH kernals either.

So, if you want a Debian preload, they aren't good for you, but I like it.

-- 
Alan Shutko <[EMAIL PROTECTED]> - In a variety of flavors!
Everything can be filed under "miscellaneous".



Re: Re. Total Confusion

2001-07-02 Thread D-Man
On Mon, Jul 02, 2001 at 01:36:24PM -0400, D-Man wrote:
| 
| [
| Aside : Not to start a MUA war, but could you ditch Eudora?  It
| seems to work rather badly with replying to a mailing list.  I
| notice that all your posts break the threading displayed in mutt,
| so I find it hard to follow the discussion because it is broken up
| with lots of messages in between.  Anyways, if you notice that my
| earlier post repeats what people said in later posts or asks
| already answered questions it is because I didn't know the thread
| had continued ;-) 
| ]

Actually, I just noticed that someone on a diff. list used Eudora, but
the threading worked ok.  Must be a config issue.  (BTW, mutt runs
great on windows using cyginw ;-)).

-D



Re: xfree86-sis -- needs patching?

2001-07-02 Thread Branden Robinson
On Mon, Jul 02, 2001 at 01:50:36PM +0100, Rev Simon Rumble wrote:
> I have a laptop which doesn't work with the SiS X server included in
> Debian.  It does, however, work when I compile and install the patched
> version from the SiS web site.  (http://www.sis.com.tw)

The xserver-sis package is quite obsolete.

If you're using Debian 2.2, I suggest using xserver-svga; if you're using
Debian's "testing" or "unstable" releases, I suggest xserver-xfree86.

-- 
G. Branden Robinson|"I came, I saw, she conquered."  The
Debian GNU/Linux   |original Latin seems to have been
[EMAIL PROTECTED] |garbled.
http://people.debian.org/~branden/ |-- Robert Heinlein


pgp1vh5uqHwWQ.pgp
Description: PGP signature


Re: HOW TO: Use of /etc/environment to manage SMP application compiles

2001-07-02 Thread Noah Meyerhans
On Mon, Jul 02, 2001 at 02:09:16PM -0500, John Foster wrote:
> 
> # environment settings
> LANG=C
> CONFIG_SMP=y
> CONCURRENCY_LEVEL=2
> DEBIAN_BUILDARCH=pentium
> # EOF

The CONCURRENCY_LEVEL variable only has meaning to make-kpkg, not to
make or to anything else.  So adding it to your environment will only
work with make-kpkg.  From 'man 5 kernel-pkg.conf':
   
   CONCURRENCY_LEVEL   
  If  defined,  this  variable  sets  the concurrency
  leevl of make used to compile  the  kenel  and  the
  modules  set  using -j flags to the sub make in the
  build target of make-kpkg.   Should  be  a  (small)
  integer, if used.

So you see that defining CONCURRENCY_LEVEL causes make-kpkg to pass a
'-j' option to make.  That's what you want to do.  If you've got a dual
processor system, just append '-j 2' to the list of arguments to make
(e.g. 'make -j 2 foo').  All it does is cause make to run multiple
instances of the compiler.  If you have 2 CPUs then the program will
compile faster.  It *won't* run any faster once it's installed.  Since
the CONCURRENCY_LEVEL variable is only meaningful to make-kpkg, you
should put it in the appropriate config file, /etc/kernel-pkg.conf, not
/etc/environment.

In order to make the OS itself support multiple CPUs you must configure
SMP support in the kernel (during make config, make xconfig, or make
menuconfig, whichever you prefer).  This is the only way you'll ever get
the second CPU to work.  If your kernel doesn't support SMP then the
second (and third, fourth, etc) CPU will sit completely idle all the
time.

noah

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



pgpeEhuSNxwZP.pgp
Description: PGP signature


Re: Time to fight for our beloved DEB format!

2001-07-02 Thread Anthony W. Youngman
In message <[EMAIL PROTECTED]>, Me <[EMAIL PROTECTED]
reference.com> writes
>> When I've mentioned about incompabilities between
>> distros then I've mentioned about not only packaging
>> format. I can only repeat that you expect to much if you
>> think that common packaging format is the only problem
>> of differences between distros.
>> 
>> Please try to use something different than RH, i.e. Debian.

What makes you think I use RedHat? I don't, and I've used about 4
distros, including Debian. RH I ditched pretty quickly.
>
>I totally agree with you. There's a LOT more to cross distro
>compatibility than the package format and manager! A
>whole heck of a lot!!
>
>What would be cool would be if someone came up
>with a project specifically targetted at this much larger
>problem: cross-distro compatibility! Actually, this should
>have been started years ago, but never mind.
>
>I hereby put out a call for an initiative to do this. To begin
>to put flesh on this, I suggest the following draft opening to
>a mission statement for this effort:
>
>The goal is to develop and promote a set of standards
>that will increase compatibility among Linux distributions
>and enable software applications to run on any compliant
>Linux system.
>
>Anyone interested? Mariusz?
>
It's already in the works. As a replacement for this contentious
packaging bit...
-- 
Anthony W. Youngman - wol at thewolery dot demon dot co dot uk
HEX wondered how much he should tell the Wizards. He felt it would not be a
good idea to burden them with too much input. Hex always thought of his reports 
as Lies-to-People.
The Science of Discworld : (c) Terry Pratchett 1999



Re: editing /etc/init.d

2001-07-02 Thread Bruce Sass
On Mon, 2 Jul 2001, john gennard wrote:

> I need to edit a script in /etc/init.d to allow a program, which I
> haven't been able to get to run, to log what is happening.
>
> So far I've not touched this area and find the manpage for
> 'update-rc.d' a little confusing. The script to be edited is linked
> to /etc/rc0/   /etc/rc6/ (as defaults with runlevels and
> sequence code). Do I need to remove all of these links with -f,
> so running 'update rc.d -f xx defaults' ?
> I presume I could run the same command with -n instead of -f
> just to have a 'look-see' -but I'm wary of touching something I
> don't yet understand. In any event this seems too simple.
>
> Would someone be good enough to advise me.

Don't use update-rc.d

It is great for what it was intended, package maintenance scripts...
but is just an extra layer of potential confusion for the sysadmin
who just wants to stop xdm from starting in rl3 (whatever).

I customize rl's 2-4 and 7-9 with rm and ln commands, and leave rl5
alone - don't touch _one_ of rl's 2-5 and Debian will honour your
configs through upgrades.


- Bruce



buying a computer

2001-07-02 Thread Faheem Mitha
Dear people,

I am thinking of replacing my now rather elderly Pentium II 233 Mhz
Digital computer with something new. I am new to Debian, but am very
impressed so far. I am currently running SuSE (6.2 + lots of additions)
and think I will run Debian on my new computer.

I live in North Carolina, US. I am thinking of having it custom-built and
it would be nice to get Debian preloaded. I looked at resellerratings.com.
There seem to be some good small vendors out there. For example,

http://www.envisioncs.net and http://www.minotaur.com/

These both have high ratings, 6.9 and 7.0 at resellerratings.com.

Unfortunately, Envision doesn't support Linux at all. Minotaur does Linux
installations (and even OpenBSD installations) according to their web
site, but unfortunately only Redhat installations. Has anyone ever dealt
with these two places for Linux machines?

My main question is -- can anyone recommend a good firm to custom-build
computers for Linux? It would be a big plus if said firm knows enough to
be able to install Debian on it. I might do a reinstall, but it would be
greatly reassuring to know that it works on the computer in the first
place. I would hate to buy a new computer and find Debian refuses to work
properly on it. That is the stuff of nightmares.

Has anyone bought computers from Dell recently? They do Linux installs
these days, but I don't know how good it is, and it seems to be
exclusively Redhat too. I don't see why there is this big concentration on
Redhat.

If you think you have a good answer to this issue, I would like to hear
about it. Even if you don't, comments/suggestions are more than welcomed.
Thanks.

Sincerely, Faheem Mitha.



Re: Unidentified subject!

2001-07-02 Thread Miguel Griffa

At 12:52 p.m. 02/07/01 -0700, Jenner Almanzar wrote:

how can i set ftp mode to passive in order to download
some files from a website?

i use this command:

wget
http://216.219.229.225/download/debian-2.2r3-1.iso

It tells me to wait for an answer, but then it tells
me that i cannot download it 'cause the host doesn't
found a local ip ('cause i got a mask ip).


AFAIK you don't need to set passive because of masq,
but anyway, I downloaded the isos with lftp, which is extremly reliable for 
these tasks...

also, that link doesn't currently work
I issued lftp -e "get http://216.219.229.225/download/debian-2.2r3-1.iso"; 
and I got an html page...




Re: [users] Unidentified subject!

2001-07-02 Thread Martin F. Krafft
also sprach Jenner Almanzar (on Mon, 02 Jul 2001 12:52:50PM -0700):
> how can i set ftp mode to passive in order to download
> some files from a website?
> 
> i use this command:
> 
> wget
> http://216.219.229.225/download/debian-2.2r3-1.iso

wget --passive-ftp http://216.219.229.225/download/debian-2.2r3-1.iso

but wget is not really for FTP but for HTTP (even though it speaks FTP
too). you should get ncftp and then use

ncftpget -F http://216.219.229.225/download/debian-2.2r3-1.iso

martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
-- 
only through hard work and perseverance can one truly suffer.



Re: [users] Re: Re. Total Confusion

2001-07-02 Thread Martin F. Krafft
also sprach Joost Kooij (on Mon, 02 Jul 2001 09:26:39PM +0200):
> On Mon, Jul 02, 2001 at 01:36:24PM -0400, D-Man wrote:
> > apt-get remove --purge wvdial minicom
>   ^^
>   dpkg   --purge wvdial minicom
>   ^^

dpkg -P wvdial minicom

> Less typing.
  ^^^

come one, dudes...

martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
-- 
al telefono: "pronto?  cantina sociale?".  "hic!".



Unidentified subject!

2001-07-02 Thread Jenner Almanzar
how can i set ftp mode to passive in order to download
some files from a website?

i use this command:

wget
http://216.219.229.225/download/debian-2.2r3-1.iso

It tells me to wait for an answer, but then it tells
me that i cannot download it 'cause the host doesn't
found a local ip ('cause i got a mask ip).

thanks,
jenner

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



Re: Speeding up Kernel compiles using make-kpkg

2001-07-02 Thread Joost Kooij
On Mon, Jul 02, 2001 at 12:51:17PM -0500, John Foster wrote:
> If I put the CONCURRENCY_LEVEL := 2 in my root environment variable will
> it be useful in allowing all of my compiled applications to run with
> maximum efficiency on my dual processor system?

No, it will only affect the (one-time) compilation process of the kernel.

To build a kernel for a multi-processor, enable "SMP" in the kernel
configuration menu, and compile the kernel. 

Cheers,


Joost



Re: Re. Total Confusion

2001-07-02 Thread D-Man
On Mon, Jul 02, 2001 at 01:19:25PM -0600, Bruce Sass wrote:
| On Mon, 2 Jul 2001, D-Man wrote:
| >
| > As Wayne mentioned, minicom and wvdial aren't supposed to authenticate
| > or maintain a ppp connection, that is pppd's job :-).  minicom is an
| > _interactive_  dialer.
| 
| Minicom is a "terminal program" or "comm program"... as in dial up
| over a serial line, login, use your shell account.

Ok, sure.  I did do a _little_ bit of shell usage while trying to get
dial-up to work.  Not a useful shell (that I had), just for running
'telnet' to get to the real machines.

| > It is only inteneded to dial the modem, no
| > more, no less.
| 
| No, it is intended as a comm program.

Dialing is comm, right? ;-)

| > Also, because it is interactive, it is only really
| > useful when determining what the dialog with the ISP should be, and
| > then it is essential.
| 
| It is interactive because a comm program would be useless if it
| was not.

Right, but that means it doesn't do what I want ;-).

| <...>
| > I used minicom to see what my ISP sends and what it expects.  With the
| > knowledge of these "expect-send" pairs I set up a chat script (chat
| > controls the modem and is driven by a set of expect-send strings in a
| > config file) and use 'pon' to dial.
| 
| Sounds like a good use of minicom if you don't have serial access to a
| box.

Yep.

| <...>
| > Minicom is a great tool for determining how your ISP
| > handles an incoming call, then after that it isn't really useful
| > because (AFAIK) it isn't scriptable.
| 
| Yes it is, but if you don't have a dialup shell account the feature
| is kinda useless (it simulates keypresses), eh.

Yeah, wouldn't help too much then.  I do have a dialup shell account
and I must login, then run 'ppp', then pppd can do its thing.

| Youngsters!  What is this world coming to, never heard of a comm prg,
| probably don't know what x/y/zmodem and kermit are either.  ;)

.  I did use some modem program (I don't remember the name now,
maybe zmodem) on my Dad's Packard Bell 286 (MS-DOS 3.3) that had a
roaring fast 2400 baud modem to connect to a few local BBSes.

| just for the fun of it...
| I can dial in and read my mail/surf-the-web using a C64 and a comm
| program, and if my ZX81 was still working I could hook up a home-built
| low-speed modem I built many years ago and use it.

Pretty neat.  I never did have a comodore -- that Packard Bell was the
first machine my dad ever bought.  I was like 8 or 9 years old at tht
time.

| Maybe I'll go have a nap now, I'm feeling old all of a sudden.  :)

:-).

-D



Re: Re. Total Confusion

2001-07-02 Thread Joost Kooij
On Mon, Jul 02, 2001 at 01:36:24PM -0400, D-Man wrote:
> apt-get remove --purge wvdial minicom
  ^^
  dpkg   --purge wvdial minicom
  ^^
Less typing.

Cheers,


Joost



Re: PS/2 mouse problems... IRQ conflict?

2001-07-02 Thread Hugo van der Merwe
On Sun, Jul 01, 2001 at 08:43:04PM +0200, Joost Kooij wrote:
> 1st question: Are you also using gpm?  Try turning that off and see if
> problems persist.

I have gpm running, but configured it to use only the serial mouse. (As
I don't want to use the repeater, and ps/2 mouse cannot be used by both
X and gpm at the same time, while this does work with a serial mouse.)

Hugo

-- 
To send me private (non-world-readable) mail, GPG encrypt it.
1024D/60715698: 5F2E 8EC2 E0A4 5D25 0569  F281 4A6C D76D 6071 5698


pgp63sWx5Fu4X.pgp
Description: PGP signature


Re: Re. Total Confusion

2001-07-02 Thread Bruce Sass
On Mon, 2 Jul 2001, D-Man wrote:
> On Sun, Jul 01, 2001 at 02:49:43AM -0700, Sidney Brooks wrote:
> | For those of you who tried to help with my problem, several weeks
> | ago, here is a statement of the problem and solution.
>
> | After following all suggestions offered here and consulting with a
> | computer technician, the conclusion was that it had to be the modem.
> | I bought a new Diamond modem and both versions of linux now get me
> | online. Our guess is that I had a line surge that knocked out a part
> | of the modem that linux requires, but that Windows can do without.
>
> It is always good to find a solution :-).
>
> | I still have two minor problems that I may be able to work out myself. In
> | order to get on line with Debian, I must use ppp. Minicom and wvdial
> | connect but fail to authenticate.
>
> As Wayne mentioned, minicom and wvdial aren't supposed to authenticate
> or maintain a ppp connection, that is pppd's job :-).  minicom is an
> _interactive_  dialer.

Minicom is a "terminal program" or "comm program"... as in dial up
over a serial line, login, use your shell account.

> It is only inteneded to dial the modem, no
> more, no less.

No, it is intended as a comm program.

> Also, because it is interactive, it is only really
> useful when determining what the dialog with the ISP should be, and
> then it is essential.

It is interactive because a comm program would be useless if it
was not.

<...>
> I used minicom to see what my ISP sends and what it expects.  With the
> knowledge of these "expect-send" pairs I set up a chat script (chat
> controls the modem and is driven by a set of expect-send strings in a
> config file) and use 'pon' to dial.

Sounds like a good use of minicom if you don't have serial access to a
box.

<...>
> Minicom is a great tool for determining how your ISP
> handles an incoming call, then after that it isn't really useful
> because (AFAIK) it isn't scriptable.

Yes it is, but if you don't have a dialup shell account the feature
is kinda useless (it simulates keypresses), eh.

Youngsters!  What is this world coming to, never heard of a comm prg,
probably don't know what x/y/zmodem and kermit are either.  ;)

just for the fun of it...
I can dial in and read my mail/surf-the-web using a C64 and a comm
program, and if my ZX81 was still working I could hook up a home-built
low-speed modem I built many years ago and use it.

Maybe I'll go have a nap now, I'm feeling old all of a sudden.  :)


- Bruce



Re: DPMS broken in xfree 4.x/gnome 1.4?

2001-07-02 Thread Rick Macdonald

Well, it took about 2 seconds to find the answer at the gnome website. I'm
just trying it now. I don't seem to have the xscreensaver daemon running
by default; that's probably key...

http://bugzilla.gnome.org/show_bug.cgi?id=53860

  This is not a bug, as it turns out, just a feature with
  difficult-to-find documentation :)

  Xscreensaver 3.32 comes with gnome 1.4 from Ximian. In the
  xscreensaver changelog for (I think) version 1.30, it explicitly
  states that xscreensaver takes over all DPMS control.

  I happened upon the easy way to fix my DPMS control by executing the
  Xscreensaver graphical control program:
  xscreensaver-command -prefs

...RickM...



Re: [users] dd question

2001-07-02 Thread D-Man
On Sun, Jul 01, 2001 at 03:17:09PM +0200, Joost Kooij wrote:

[ need custom kernel to boot with root as non-ext2 ]

| Much better approach anyway is to rtfm lilo docs, and create a lilo
| boot block on a floppy, that can boot all your systems on the harddisk.
| You must however update this boot block every time when you also update
| the boot block on the harddisk itself.

I prefer to use grub, in a situation like this.  With grub all you
need to do is enter the proper config AT BOOT TIME (ie when you put
the backup boot disk in the drive and turn on the power).  The only
downside here is that grub needs to be able to read the filesystem to
get the kernel out of it, so it may not actually be a better solution
in this case.

-D



Re: DPMS broken in xfree 4.x/gnome 1.4?

2001-07-02 Thread Rick Macdonald
On Sun, 1 Jul 2001, G.LeeJ wrote:

> > In gnome Control Center, under Destop/Screensaver, I have:
> >
> > No Screensaer
> > but also:
> > Start after 3 minutes
> > Require Password (not selected)
> > Priority (about in the middle)
> > Use Power Management (selected)
> > Shitdown monitor 10 minutes after screen saver has started.
> >
> 
> duplicate except I start later and shutdown later 35/45 
> respectively...i've
> not checked out bugzilla yet to try to fix/look into it.

Strange that yours works and mine doesn't. I'm running xfree 4.0.3 and
gnome 1.4 from sid. Not all of gnome 1.4 is in woody.

...RickM...



HOW TO: Use of /etc/environment to manage SMP application compiles

2001-07-02 Thread John Foster
I want to know how to use environment variables to manage the software
compiles for a dual processor system.
I have these as what I think might work as setting. I need tips, advice
on proceeding.

# environment settings
LANG=C
CONFIG_SMP=y
CONCURRENCY_LEVEL=2
DEBIAN_BUILDARCH=pentium
# EOF


Has anyone done this? Any experiences are appreciated as I NEED to
develop some process for automating the compiles of all of the system
software to compile with SMP enabled and with the maximum speed
available. Currently the test system is using dual pentium 266(586) mmx
processors. I will soon do a new install on  a very fast dual PIV system
and want to have the greatest efficiency when I do this upgrade.
Thanks!
John



RAID, fs labels, and fsck

2001-07-02 Thread Noah L. Meyerhans
I'm working on a test machine which is running an XFS filesystem on a
software RAID0 volume.  The XFS filesystem has a lable ("foo").  In
/etc/fstab I have the following entry associated with it:

LABEL=foo   /mntxfs defaults0   0

Since the last field listed is 0, I expect the XFS filesystem not to be
fscked at boot time.  This is intentional as fsck.xfs is essentially a
big nop.  However, at boot time, I do not see the behavior I expect.  In
fact I get an error that halts the boot sequence.  The error is 
Couldn't find matching filesystem: LABLE=foo

fsck fails and I'm prompted for the root password.  If I hit CTRL-D to
skip the root login and proceed with the boot sequence, everything
continues as expected and the RAID filesystem is mounted as it should
be.

I tried adding "-t ext2" to the list of options passed to fsck in
/etc/rcS.d/S30checkfs.sh hoping that it would cause fsck to completely
ignore xfs filesystems listed in fstab.  But that didn't help;
apparently fsck still wants to actually confirm that the filesystems are
there.

I disabled the boot time fsck completely by adding "exit 0" to the top
of S30checkfs.sh, which works.  That work around is OK since I'm using
all XFS filesystems, but it would obviously not be acceptable if I was
using a combination of filesystems.

It seems like the problem is with the interaction between fsck and RAID,
though it doesn't seem like that should be the case.  The RAID subsystem
is initialized before checkfs.sh is run.  Is it a bug in fsck?  I'm
using the version included with e2fsprogs 1.20-0.bunk, part of Adrian
Bunk's collection of packages for using kernel 2.4.x with potato.  Has
anybody else seen similar behavior?  Did you find a fix for it?

Thanks.
noah

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



pgpXuJ14htkBv.pgp
Description: PGP signature


Re: CVSup equiv. in debian

2001-07-02 Thread Noah Meyerhans
On Mon, Jul 02, 2001 at 12:34:55PM -0400, Alexander Stavitsky wrote:
> $ apt-cache show cvsup
> Package: cvsup

Well yes, CVSup is available in Debian.  That's not really the point,
though.  In *BSD you use CVSup to update the source tree for your whole
system.  It's sort of like 'apt-get dist-upgrade' except it pulls down
source instead of binaries and it does it efficiently (I believe CVSup
uses the rsync algorithm).  We don't offer such an upgrade path.

noah

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



pgpbowGba47id.pgp
Description: PGP signature


Re: CVSup equiv. in debian

2001-07-02 Thread Alexander Stavitsky

Sorry, I missed the point...

-- 
  = mailto:[EMAIL PROTECTED]
 ===http://www.geocities.com/astavitsky
=   GPG Key 0xF7343C8B: 68DD 1E1B 2C98 D336 E31F  C87B 91B9 5244 F734 3C8B
  |_Alexander Stavitsky 


pgpklXDieTENd.pgp
Description: PGP signature


Re: [users] editing /etc/init.d

2001-07-02 Thread Martin F. Krafft
also sprach john gennard (on Mon, 02 Jul 2001 03:30:03PM +0100):
> So far I've not touched this area and find the manpage for
> 'update-rc.d' a little confusing. The script to be edited is linked
> to /etc/rc0/   /etc/rc6/ (as defaults with runlevels and
> sequence code). Do I need to remove all of these links with -f,
> so running 'update rc.d -f xx defaults' ? 
> I presume I could run the same command with -n instead of -f
> just to have a 'look-see' -but I'm wary of touching something I
> don't yet understand. In any event this seems too simple.

you might want to look at the file-rc package, which i use
exclulsively. i find the /etc/rc?.d hierarchy too awkward to work
with, and the file-rc package makes this pretty straight forward and a
lot more contained and clearer.

martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
-- 
"time flies like an arrow. fruit flies like a banana."
   -- groucho marx



RE: iptables modules kill ppp

2001-07-02 Thread garman
>= Original Message From [EMAIL PROTECTED] =
>   Subject: iptables modules kill ppp
>   Date: Sun, Jul 01, 2001 at 09:23:28PM -0500
>
>Quoting Matthew Garman([EMAIL PROTECTED]):
>> I posted not too long ago about PPP not working with my new kernel.  The
>> culprit turned out to be the iptables modules.  When the following modules
>> are loaded, PPP won't work:
>
>Please define, "PPP won't work".

I meant it won't work as in what I described in my previous email post to the 
list about PPP not working with a kernel upgrade.

To recap: I can use pon to dial my ISP, I connect, and get an IP number 
assigned.  /sbin/route shows that everything is setup as expected.  However, 
with the iptables modules loaded, I cannot use any network programs.  It is 
not possible to do DNS lookups.  If I try to ping a host, using it's numerical 
IP addres, *as root*, I get the following error:

"sendto: operation not permitted"

>Can you use the net from the firewall?
>Does the connection drop, or do you mean that systems behind the
>firewall can't connect to the net?

The connection does not drop.  I meant to stress in my original post that 
these things happen *with no firewall*, or at least, no iptables rules.  In 
other words, I flush all the rulesets, and set the default policy to all 
built-in chains to ACCEPT.  So there is effectively no real firewall.

But once I use rmmod to remove all the iptables-related modules, the PPP 
problem goes away.

>If what you mean is the latter, have you enabled forwarding
>(echo 1 > /proc/sys/net/ipv4/ip_forward)?
>Did you include the rule to enable masquerading?
>$IPTABLES -t nat -A POSTROUTING -o ppp0 -s $NETWORK -j MASQUERADE

I'm not trying to use masquerading or NAT in my current setup.  Do I still 
need to issue these commands?

As a sidenote, the reason I was playing with my firewalls and new kernel 
upgrades is as follows: at school, I have a cablemodem which is shared through 
an internal LAN, using my computer as the gateway machine.  I had everything 
setup using ipchains and kernel 2.2.18 last semester.  When I go back to 
school in the fall, I want to have my iptables-based firewall ready to go.  So 
all my firewall rules applied to eth0 and eth1... there were no iptables rules 
for ppp0.

Thanks again,
Matt <[EMAIL PROTECTED]>



Re: 質問です 。

2001-07-02 Thread Neil Booth
If you have a (fast) internet connection you should be OK.  You can
download two or three floppies from Debian's web site, and that is all
you need to install.  The rest of the distribution is downloaded from
the internet.

If you haven't got a fast connection, it can take a while.  But I did
it on a 56K modem...

Neil.

[Sorry, my Japanese input is broken at present]

Nakatani Yoshitaka wrote:-

> 古いパソコンにlinuxをインストールしようとしている者です。
> 私の古いパソコンにはCD-ROMドライブが無く、フロッピーディスクドライブしか無いのです。
> debianはフロッピーのみでインストールできるという話を耳にしたのですが、
> それは本当なのでしょうか。
> その古いパソコンというのは DynaBook GT475 031CS です。
> 
> よろしくお願いします。
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 



  1   2   3   >