Re: SNMPD - MRTG- PPP stats iregularity

1998-10-23 Thread Steve Lamb
On Fri, 23 Oct 1998 19:48:19 -0400, Michael Stone wrote:

>Linux doesn't ordinarily have any facility for saying _how much_ data
>goes through an if. The snmpd's base their throughput figures on
>_number of packets_, which isn't exactly the same thing. IIRC, you can
>run ip accounting and hack the snmpd's to get their numbers via that
>mechanism.

Well, that blows.  Packets don't mean diddly compared to bytes when it
comes to bandwidth utilization.  Do you know if that will be fixed any time
soon?  2.1.* maybe?

-- 
 Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
 ICQ: 5107343  | main connection to the switchboard of souls.
---+-



Re: SNMPD - MRTG- PPP stats iregularity

1998-10-23 Thread Michael Stone
Quoting Steve Lamb ([EMAIL PROTECTED]):
> I've got SNMPD installed on my system so I can monitor, for the moment,
> bandwidth usage on eth0 and ppp0.  The problem I'm having is that the
> incoming and outgoing usages do *NOT* show any divergance.  If you want to
> see what I mean, take a look at:
> http://teleute.ml.org/mrtg/

Linux doesn't ordinarily have any facility for saying _how much_ data
goes through an if. The snmpd's base their throughput figures on
_number of packets_, which isn't exactly the same thing. IIRC, you can
run ip accounting and hack the snmpd's to get their numbers via that
mechanism.

Mike Stone


SNMPD - MRTG- PPP stats iregularity

1998-10-23 Thread Steve Lamb
OK, I've installed the CMU SNMPD as well as the UCD SNMPD to verify that
this isn't a problem with the SNMPD daemons and now I'm looking for other
reasons for the following problem.

I've got SNMPD installed on my system so I can monitor, for the moment,
bandwidth usage on eth0 and ppp0.  The problem I'm having is that the
incoming and outgoing usages do *NOT* show any divergance.  If you want to
see what I mean, take a look at:
http://teleute.ml.org/mrtg/

The input and output are identical almost all of the time.  Only every
now and again do they change at all.  I know this is not possibe since I have
run tests where I am FTPing to my machine.  All it should be doing is acking
so a majority of the bandwidth should be taken up by incoming and outgoing
should be low.  Not a near 1:1 ratio.  Also when I FTP somthing rather large
to my machine, say 6Mb worth, and I throttle this end to a constant 2kps I
know I am sending in 2kps yet MRTG shows for the 5 minute average over that
time for under 1k with a matching incoming and outgoing.

Simple question...  *WHY*  Why aren't these stats diverging at all?  I'm
also seeing it on the stats for eth0 when I ftp from my linux box to my NT
box.  All other times on the ppp0 device I have mailing lists sending mail to
me or being run.  Those are not going to be 1:1 across the board.

Any clues?
 
-- 
 Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
 ICQ: 5107343  | main connection to the switchboard of souls.
---+-



Re: Printer stops after half of page

1998-10-23 Thread cg:Christoph Gaitzsch
"M.C. Vernon" <[EMAIL PROTECTED]> writes:

> > my printer ( hp deskjet 500, debian hamm ) stops after a few lines and
> > stays busy forever. I tried dvi and ps via magicfilter. Half of the
> > page comes out, then the printer stops, busy light on, and nothing
> > happens. lpq says no jobs. Does anyone know the problem ( and solution )?
> 
> If the busy light is on, perhaps it's `thinking' about the second half -
> i.e. the computer has sent it to the printer, which does stuff to it
> before printing. Have you tried slink magicfilter?

No, and it worked ok some time with the hamm magicfilter. The page to
print is a 1300 bytes dvi-file, so there shouldn't be much to think
about. 


Re: aha2840 aiee shuting down interrupts

1998-10-23 Thread Nathan E Norman
On Fri, 23 Oct 1998, Kenneth Scharf wrote:

 : I tried to install debian on a computer with an adaptec 2840 scsi
 : controller. (gateway 2000 486dx2-66, 16m dram) At first I had the 2840
 : bios disabled and the controller with 3 drives attached was not
 : detected.  Then I enabled the bios on the 2840 and the controller was
 : detected.  A message 'resetting channel' appeared, then a pause, then
 : a screen dump 'oops .
 : ending with . aiee shuting down interrupts'
 : 
 : What parameters do I need to add at the boot prompt?
 : I tried boot: aic7xxx=no_reset and got 
 : 'no image aic7xxx=no_reset'.  So i tried 
 : 'linux aic7xxx=no_reset' and 'linux aic7xxx=1' and got the same screen
 : dump.  What gives, I thought this controller was supported.  This
 : computer's cd rom is scsi so I need the controller to install.  (it's
 : set at irq 15 instead of the default value of 11).  Can anyone help
 : here?

It's supported fine.  However, the other SCSI drivers in the default
kernel send the 2840 over the edge.  Compile a kernel with ONLY the
device support you need, being particularly careful about SCSI drivers
you choose.  Unless you have more than one SCSI adaptor you should only
choose "AIC_7XXX" support.

--
Nathan Norman
MidcoNet  410 South Phillips Avenue  Sioux Falls, SD
mailto:[EMAIL PROTECTED]   http://www.midco.net
finger [EMAIL PROTECTED] for PGP Key: (0xA33B86E9)



Re: Help Bios32 extensions:

1998-10-23 Thread Nathan E Norman
On Fri, 23 Oct 1998, Jim wrote:

 : Hi,
 : 
 : On boot I  get the message eata_dma: No BIOS32 extensions present. This
 : driver release still depends on it. I get the same from eata_pio: Can
 : someone suggest an extension package, or an upgrade driver release?
 : Computer is  a  NEC Versa 486sl.

Compile a custom kernel and choose "No" for EATA support (it's unlikely
you've a EATA RAID controller in your 486).

--
Nathan Norman
MidcoNet  410 South Phillips Avenue  Sioux Falls, SD
mailto:[EMAIL PROTECTED]   http://www.midco.net
finger [EMAIL PROTECTED] for PGP Key: (0xA33B86E9)



mySQL

1998-10-23 Thread D'jinnie
I recently visited http://mysql.org (was trying to figure out whether I
should migrate to it). I haven't read their license - but there are a few
links there that suggested to me that it's not very free - because they
wanted money for it. Is it GPLed or how does it work?

---
"What is wanted is not the will to believe, but the will to find out,
which is the exact opposite."
-- Bertrand Russell, "Skeptical_Essays", 1928

D'jinnie/Jinn, encountered on IRC and select MU**. ([EMAIL PROTECTED])
finger [EMAIL PROTECTED] for PGP public key


Help Bios32 extensions:

1998-10-23 Thread Jim
Hi,

On boot I  get the message eata_dma: No BIOS32 extensions present. This
driver release still depends on it. I get the same from eata_pio: Can
someone suggest an extension package, or an upgrade driver release?
Computer is  a  NEC Versa 486sl.

Thanks,

Jim.


Re: gigabyte ga-6xds

1998-10-23 Thread Ingo Felger
I'm using a GA 6BXDS (but with only one processor till now), and it works
without any problems. Hamm, Kernel 2.0.34 accepts the AIC 7895 with one CD
and one IBM UW disk, even my LS 120.

This is even more interesting as Windoze (98 and NT) refused to install...

> Hallo again,
> Is anyone using a Gigabyte GA-6XDS Motherboard? I know it comes with
> onboard SCSI (plus)
> but it uses an Adaptec 7895 chipset (minus). So I need to know how easy it
> it to use linux with this
> board. Is there a kernel that readily supports this chipset or is it better
> to purchase a separate SCSI
> card?
> 
> thanks

Ciao,
Ingo

---
   Ingo Felger  [EMAIL PROTECTED]
  PGP Fingerprint : D9 88 66 DB 93 B0 F6 B9  42 44 B9 1E 5A F1 32 C0

Keep emotionally active.  Cater to your favorite neurosis.



Re: HP Laser Jet 5L anyone?

1998-10-23 Thread Torsten Hilbrich
On: Thu, 22 Oct 1998 01:03:59 -0500 John C Ellingboe writes:
> 
> Install the HP Laser Jet 5L as a HP Laser Jet 4L in Magicfilter and
> it will work proper.  Also install gs-aladdin, its fonts and other
> related document converters.  Print from Netscape as postscript and
> Magicfilter/Gs will convert it and send it to the printer.

He should better use Laserjet 4 rather than 4L, the latter one can
only print a resolution of 300x300.

Torsten


Re: HP Laser Jet 5L anyone?

1998-10-23 Thread Torsten Hilbrich
On: Thu, 22 Oct 1998 01:03:59 -0500 John C Ellingboe writes:
> 
> Install the HP Laser Jet 5L as a HP Laser Jet 4L in Magicfilter and
> it will work proper.  Also install gs-aladdin, its fonts and other
> related document converters.  Print from Netscape as postscript and
> Magicfilter/Gs will convert it and send it to the printer.

He should better use Laserjet 4 rather than 4L, the latter one can
only print a resolution of 300x300.

Torsten


Re: HP Laser Jet 5L anyone?

1998-10-23 Thread Torsten Hilbrich
On: Thu, 22 Oct 1998 01:03:59 -0500 John C Ellingboe writes:
> 
> Install the HP Laser Jet 5L as a HP Laser Jet 4L in Magicfilter and
> it will work proper.  Also install gs-aladdin, its fonts and other
> related document converters.  Print from Netscape as postscript and
> Magicfilter/Gs will convert it and send it to the printer.

He should better use Laserjet 4 rather than 4L, the latter one can
only print a resolution of 300x300.

Torsten


Re: HP Laser Jet 5L anyone?

1998-10-23 Thread Torsten Hilbrich
On: Thu, 22 Oct 1998 01:03:59 -0500 John C Ellingboe writes:
> 
> Install the HP Laser Jet 5L as a HP Laser Jet 4L in Magicfilter and
> it will work proper.  Also install gs-aladdin, its fonts and other
> related document converters.  Print from Netscape as postscript and
> Magicfilter/Gs will convert it and send it to the printer.

He should better use Laserjet 4 rather than 4L, the latter one can
only print a resolution of 300x300.

Torsten


Re: Where do i put the sendmail HACKS?

1998-10-23 Thread trio
   Thank you to all who helped with this.

   It turns out that all you have to do is define the HACKs in 
sendmail.mc and (as long as your sendmail was configured properly) 
sendmailconfig goes to the .../hack directory and puts the code right 
into the sendmail.cf file when you allow it to build.

   Whew.

   Thanks.

...
universero trio... [EMAIL PROTECTED] http://tio.net/~trio
Learn and use The International Language Esperanto! http://esperanto.org


aha2840 aiee shuting down interrupts

1998-10-23 Thread Kenneth Scharf
I tried to install debian on a computer with an adaptec 2840 scsi
controller. (gateway 2000 486dx2-66, 16m dram) At first I had the 2840
bios disabled and the controller with 3 drives attached was not
detected.  Then I enabled the bios on the 2840 and the controller was
detected.  A message 'resetting channel' appeared, then a pause, then
a screen dump 'oops .
ending with . aiee shuting down interrupts'

What parameters do I need to add at the boot prompt?
I tried boot: aic7xxx=no_reset and got 
'no image aic7xxx=no_reset'.  So i tried 
'linux aic7xxx=no_reset' and 'linux aic7xxx=1' and got the same screen
dump.  What gives, I thought this controller was supported.  This
computer's cd rom is scsi so I need the controller to install.  (it's
set at irq 15 instead of the default value of 11).  Can anyone help
here?




_
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com


Re: Security problem

1998-10-23 Thread King Lee

My message was not clear.  

We did not mount /etc writable.  The hacker sent a a long packet
which we think overflowed buffer and caused /etc to be mounted
writable.  



The  bug is real, and Debian has a fix.  See security 
lists in Debian. If you  are running Debian 2.0
you might have a security hole. There was also security
problems with bind.  The fixes appear in the current distributions
(2.0.2 I think) not in package-updates.

King Lee



On Fri, 23 Oct 1998, M.C. Vernkon wrote:

> 
> > At our school our system administrator (who is very good) was
> > running Red Hat 5.1 and someone broke in and got root privileges.
> > Since he had written a Lan watch, we think we know how it happened.
> > 
> > The Lan Watch showed someone form Israel send a very long
> > packet to mountd.  Shortly after, two names were added to
> > the password file with user id 0.  We suspect that 
> > /etc was NFS mounted with write permission. Afterwards
> > there were logins from the two added names and rsh was changed.
> 
> mounting anything NFS with write permission is just plain stupid.
> 
> Matthew
> 
> -- 
> Elen sila lumenn' omentielvo
> 
> Steward of the Cambridge Tolkien Society
> Selwyn College Computer Support
> http://www.geocities.com/Area51/Chamber/8841/
> http://www.cam.ac.uk/CambUniv/Societies/tolkien/
> http://pick.sel.cam.ac.uk/
> 
> 


Pine Attachment Associations

1998-10-23 Thread Stephen A. Witt
I'm using Pine 4.05 on a Debian 2.0 platform at work.  MS Office is the
standard desktop automation application around here except for a small
band of Unix enthusiasts.  I've just installed Star Office, mostly so I
can read the MS Word documents everybody sends me.  I'm trying to
reconfigure Pine so that it will automatically start up swriter3 for a
attachment type of DOC.  I thought the way to do that was to change
/etc/mime.types, which I did.  I modified the line that specified msword
as the application for doc and dot files to be swriter3, but Pine still
thinks its an MSWORD application.  I also looked in the /etc/mailcap file
but didn't find any mention of msword in there.  I've looked on the 
Pine Info site and it mentions this and states that one should
change the /etc/mime.types file. Anybody have any experience with this?

Thanks...




mount NFS during boot problem

1998-10-23 Thread Sergey V Kovalyov
Hi,
I have a wierd problem: during boot process mount fails with the following
message:

Starting portmapper... Mounting remote filesystems...
mount: RPC: Program not registered

But after the boot "mount -a" works perfectly.
This runs latest slink from unstable.
I did not have such a problem on a similar machine a month before.

Any idea of what might cause the problem and how to work around it ?

Something, I think, relevant: later in the process netbase starts its own
portmapper.


Sergey.





Hamm on a Zenith Z-NOTEFlex

1998-10-23 Thread MCENHILLK
Howdy,

Does anyone have Hamm running on a Zenith Z-NOTEFlex? I only have 4MB of RAM
so I am not expecting this to be a speed demon, but it would be nice to have
a portable UN*Xlike box. I have tried all of the bootdisks that I can get my
hands on. The only one that works is the 'resc1440tecra.bin' image. The
system boots and crashes when it tries to mount the root fs, the kernel
panics. Does any one know what is going on or do you need more information.

Thanx
Kevin McEnhill
[EMAIL PROTECTED]


Re: Hamm & Dselect

1998-10-23 Thread Antti-Juhani Kaijanaho
On Fri, Oct 23, 1998 at 09:34:53AM -0700, George Bonser wrote:
> You should be able to get apt from slink, use the apt method from dselect
> and set it up with several sources:
> 
> file://path1
> file://path2
> file://path3

Last I tried, it didn't like that.  It complained about the other CD's
which were not (obviously) available.



Antti-Juhani
-- 
Antti-Juhani Kaijanaho A7 <[EMAIL PROTECTED]> ** http://www.iki.fi/gaia/> 
**

   The FAQ is your friend.
Trust the FAQ.


Siag Office or wmfind..any successfully compiled these.

1998-10-23 Thread Person, Rod
What's Up,

I have been trying to compile Siag office and wmfind for awhile now, but
I can't seem to get them to compile.

For Siag office, I have no clue as to why it won't compile. I have xpm,
Xaw3d, tcl\tk and perl, but it will not make the executable files. I did
notice in compile it is looking for libICE.h in /lib/X11R6/ICE but
according to the readmes the debian site did change the references to
the correct directories. So I am stumped! 

wmfind just tells me the gcc can not compile executables. It did find
aclocal and automake so I believe it should compile. 

I haven't had trouble compiling anything else. I compile wmmount after I
got these errors. So can anyone, send me the step they took to get a
successful compilation? Thanks!!!

Rod Person

"Humanity is the biggest cancer ever to be seen!"
-Alx Hellid 
 Contempt



Re: Hamm & Dselect

1998-10-23 Thread Jan Vroonhof
Antti-Juhani Kaijanaho <[EMAIL PROTECTED]> writes:

> On Fri, Oct 23, 1998 at 05:34:46PM +0100, [EMAIL PROTECTED] wrote:
> > Which is the way to access several CD's from dselect at the same time?
> 
> I believe that there is no such way, unless you have several CD-ROM
> drives so that you can mount all of them simultaneously.  Sorry.
> 
> There has been talk in the -devel list about creating such a method
> for Debian 2.1 as even the main distribution of the current unstable
> (slink) won't fit on one CD.

See ftp://ftp.datom.de/pub/people/heiko/debian/dpkg-multicd/

I bought some CDR's from Heiko with Hamm and these were already
included there. They work fine.

Jan


Re: We have tmview for dvi, is there a svga postscript viewer?

1998-10-23 Thread Antti-Juhani Kaijanaho
On Fri, Oct 23, 1998 at 11:35:23AM -0400, Jim foltz wrote:
> The subject summarizes the question.


  My high-school teacher of writing technique used to say that one
  should never explicitly refer to the title or any subheadings in the
  main body of a text.


Anyway, the question was, whether there is a non-X postscript viewer.
It is my understanding that ghostscript can function as one - though
it is not very fancy.  See its documentation for more info.



Antti-Juhani
-- 
Antti-Juhani Kaijanaho A7 <[EMAIL PROTECTED]> ** http://www.iki.fi/gaia/> 
**

   The FAQ is your friend.
Trust the FAQ.


Re: Hamm & Dselect

1998-10-23 Thread Antti-Juhani Kaijanaho
On Fri, Oct 23, 1998 at 05:34:46PM +0100, [EMAIL PROTECTED] wrote:
> Which is the way to access several CD's from dselect at the same time?

I believe that there is no such way, unless you have several CD-ROM
drives so that you can mount all of them simultaneously.  Sorry.

There has been talk in the -devel list about creating such a method
for Debian 2.1 as even the main distribution of the current unstable
(slink) won't fit on one CD.



Antti-Juhani
-- 
Antti-Juhani Kaijanaho A7 <[EMAIL PROTECTED]> ** http://www.iki.fi/gaia/> 
**

   The FAQ is your friend.
Trust the FAQ.


We have tmview for dvi, is there a svga postscript viewer?

1998-10-23 Thread Jim foltz
Hi,

The subject summarizes the question.

-- 
Jim Foltz <[EMAIL PROTECTED]>


Hamm & Dselect

1998-10-23 Thread jarregui
Hello!

I'm just upgrading from bo to hamm.
Which is the way to access several CD's from dselect at the same time?

Thank you

Javi


roll your own boot disk/MegaRAID info

1998-10-23 Thread John B. Fink

Hey folks,

I've got a brand spankin' new Dell PowerEdge 6100 server with the works,
four processors, 86 gigs of RAID-5 space, one gig of memory.  So I'm
happy, my boss(es) want me to put Debian on it, I'm even more happy.
However, I've got a bit of a problem related to the RAID card -- to the
best of my knowledge it's an AMI MegaRAID card.  Only recently has the
MegaRAID card had a driver, and that driver is quite emphatically *not* in
the main kernel source tree for either 2.0.x or 2.1.x.  I have a patch of
dubious age for MegaRAID control, but am unable to get it to patch to my
kernel tree (2.0.35).  I've written the patch creator asking for help.

Let's assume I do get the patch, I'm able to patch my 2.0.35 (or 2.1.125)
tree with it, and I can compile a kernel on an existing machine.  How then
do I create a Debian boot disk with that custom kernel in it?  I'm pretty
sure that the standard Debian boot won't work.  I'd really like to slide a
new kernel into the existing Debian boot and have it work like a charm.
If anyone has any information, please let me know!  Thank you in advance.

-- John F.


Re: Mounting /fd0 (Was Re: Base2_0.tgz missing man command.)

1998-10-23 Thread Jim
mount /dev/fd0 /floppy/ seems to do the trick. Is there  a script I can set up 
that would run
fdflush every time I want to access the floppy?

Thanks,

Jim

Ole J. Tetlie wrote:

> *-Jim <[EMAIL PROTECTED]>
> |
> | Now, I find that when trying to mount /fd0 I get  the error "can't find  
> /fd0 in /etc/mtab
> | or /etc/fstab
> | I have edited /etc/fstab to include this line...
> | /dev/fd0   /floppyauto  noauto,sync 0 0
> | as per the instructions I found at 
> www.debian.org/~hp/tutorial/debian-tutorial.html
> | however I get the same error message even after shutdown and reboot.
>
> Try 'mount /floppy' or 'mount /dev/fd0' instead. They should both work.
> There's no need to mess with /etc/mtab. It is written by mount and umount
> as a log of which devices are currently mounted.
>
> --
> The only way tcsh "rocks" is when the rocks are attached to its feet
> in the deepest part of a very deep lake. (Linus Torvalds)
> [EMAIL PROTECTED]   [-: .elOle. :-]   [EMAIL PROTECTED]
>
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null




Re: Gcc Binaries for Intel P2 333 running Debian Linux

1998-10-23 Thread Rodrigo Moya


>hi,
>i just intalled my linux on Intel PII 333 using 
>debian and i need gcc binaries for the same.
>Any resources on net ?
>thanks in advance
> 
Are they not in the distribution? You mean gcc, the GNU C compiler?


Re: Where do i put the sendmail HACKS?

1998-10-23 Thread trio
On Fri, 23 Oct 1998, dpk wrote:

> On Thu, 22 Oct 1998, trio wrote:
> 
>   I'm spending a lot of time reading the stuff at
>sendmail.org. I've found all kinds of explanations of the
>check_rcpt HACK, but no explanation as to where i put it. Does it
>go in sendmail.cf somewhere?  Where? Does it get listed in
>sendmail.mc? But then how do i get the .m4 to relate to it?
> 
> Depends on what you are trying to accomplish.  I suggest building your
> sendmail.cf using M4.  You mention the check_rcpt ruleset, which hints

   Since i just loaded the latest debian release, i'm using sendmailconfig
which i believe calls m4. 

> that you are trying to block spam.  If this be the case I would look
> at this page:
>   http://www.sendmail.org/m4/anti-spam.html

   I believe that's http://www.sendmail.org/anti-spam.html and yes, i've
been reading it but i can't find that crucial bit about where to put the
check_* hooks. 

> It describes M4 features for blocking spam.  These features utilize
> the check_rcpt, check_relay, etc rulesets.  When you generate your
> sendmail.cf the rulesets will be created automatically and you can

   What do you mean automatically? Where do i put the check_* rulesets? In
sendmail.cf? Do i put a line in sendmail.mc with "HACK (use_ip..."? But
how does the .mc file get the check_* code? 

> then control their functionality via text or database files.  I can

   That's exactly what i'd like to do.

> send you a copy of our M4 config for example. (Just let me know)

   That would be great. Thank you.

...
universero trio... [EMAIL PROTECTED] http://tio.net/~trio
Learn and use The International Language Esperanto! http://esperanto.org


Re: dpkg-ftp thru Squid

1998-10-23 Thread Nikolai Andreyevich Luzan
On Fri, 23 Oct 1998, Mitch Blevins wrote:

> Anybody having trouble using dselect/ftp to slink
> thru a Squid proxy?  Or is it just me...
Nope, No problems here :) I did have some probs with the change from
1.1 to 1.2 (otherwise know as 2.0), they arose from the change in the
conf file. have you tried putting this in the conf file:

acl FTP proto FTP
always_direct deny FTP
never_direct allow FTP

since I put both the never and the always in my squid handles ftp
fine, befor that is another matter :)

hope it helps

Nikolai


Re: Gcc Binaries for Intel P2 333 running Debian Linux

1998-10-23 Thread Antti-Juhani Kaijanaho
On Fri, Oct 23, 1998 at 11:16:47AM -0400, Sriram Bhamidipati wrote:
> i just intalled my linux on Intel PII 333 using 
> debian and i need gcc binaries for the same.

GCC is included with Debian.  Just install the package gcc and its
dependencies.  For C++ development, install g++, too.

Did I understand the problem right?  If not, please describe the
problem in detail, so we (the debian-user list) may be able to help
you better.

> Any resources on net ?

http://www.debian.org/distrib/packages
comes first to mind.



Antti-Juhani
-- 
Antti-Juhani Kaijanaho A7 <[EMAIL PROTECTED]> ** http://www.iki.fi/gaia/> 
**

   The FAQ is your friend.
Trust the FAQ.


Gcc Binaries for Intel P2 333 running Debian Linux

1998-10-23 Thread Sriram Bhamidipati
hi,
i just intalled my linux on Intel PII 333 using 
debian and i need gcc binaries for the same.
Any resources on net ?
thanks in advance
 
Sriram



Re: dselect won't config emacs 20.3

1998-10-23 Thread Antti-Juhani Kaijanaho
On Fri, Oct 23, 1998 at 10:59:03AM -0400, Ted Llewellyn wrote:
> emacs-install: /usr/lib/emacsen-common/packages/install/tm emacs20 
> xemacs20 failed at /usr/lib/emacsen-common/emacs-install line 26.

This is a bug in tm (#27288, among others), fixed in slink.  Either
upgrade tm to 7.106.0-2 (in slink) or deinstall tm.



Antti-Juhani
-- 
Antti-Juhani Kaijanaho A7 <[EMAIL PROTECTED]> ** http://www.iki.fi/gaia/> 
**

   The FAQ is your friend.
Trust the FAQ.


dselect won't config emacs 20.3

1998-10-23 Thread Ted Llewellyn
  On a new install of debian 2.0, emacs installs but won't set up.
Several other packages that I really want won't install because emacs
doesn't finish correctly, but emacs itself does start (I don't know if it
works right but it starts and stops normally).
  This box is a P60 with 128M, 1G SCSI, ATI video; it's been running
slackware for a year, so I know the hardware all works correctly.  I'm
installing from an official CD.  I picked packages by task, not by
profile, but this seems to be the only installation failure (I may have
issues with X, but that I will deal with that separately if I can't
resolve it).
  Anyway, the error message from dselect was:

emacs-install: /usr/lib/emacsen-common/packages/install/tm emacs20 
xemacs20 failed at /usr/lib/emacsen-common/emacs-install line 26.

  The only dependency in dselect was emacs-el, which also did not install
correctly, but said that was because emacs wasn't configured.  I turned
off that package and the other ones that failed because of this (auctex
and psgml), and tried installing emacs by itself.  Same failure.
  The offending line in the script and the following lines are:

if test -x /usr/sbin/install-info-altdir; then
echo install/tm: install Info links for ${FLAVOR}
install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} 
/usr/info/tm-en.info.gz
fi

  I don't really know shell scripting so I only have a vague idea of
what's going on here.  Unfortunately, I didn't have time to trace this any
further before I had to go to bed because I just can't do this stuff all
night anymore.
  By the way, xemacs seemed to install just fine.  Can I get auctex and
psgml functionality out of that application?
  Any help much appreciated.


 _ () _-- __()   Ted Llewellyn
)  _--  /
   /_--/__---
 (/  (/  


Re: /etc/shutmsg - a suggestion?

1998-10-23 Thread Stephen J. Carpenter
On Fri, Oct 23, 1998 at 03:23:10PM +0100, David Wright wrote:
> On Fri, 23 Oct 1998, Stephen J. Carpenter wrote:
> 
> > On Fri, Oct 23, 1998 at 11:11:31AM +0200, [EMAIL PROTECTED] wrote:
> [...]
> > > 
> > > If this directory is mounted readonly it will fail, I think is a common
> > > practice to have /etc readonly when an installation is stable (no more
> > > software updates, etc) to avoid hard disk corruption in one of the most
> > > important system directories...
> > > 
> [...]
> > 
> > That tends to imply that /etc could be mounted read-only.
> > however... mtab is writeable and needs to be? hmmm
> > (that is mentioned in the fsstnd also)...
> > 
> > 
> > > Should this be written to /var/?
> > 
> > I tend to agreehaving read the fsstnd, I tend to think mtab should be 
> > moved there as well. It seems to be the intention of it to move
> > (ideally) everything which NEEDS to be writable for the system to function
> > to /var 
> 
> Wouldn't it work if /etc/mtab were a link to, say, /var/[...]/mtab
> (and there's also /etc/rmtab).

hmm...from the mount(8) man page:

   The programs mount and umount maintain a list of currently
   mounted  file  systems in the file /etc/mtab.  If no argu-
   ments are given to mount, this list is printed.  When  the
   proc  filesystem  is  mounted  (say  at  /proc), the files
   /etc/mtab and /proc/mounts have very similar contents. The
   former  has  somewhat  more information, such as the mount
   options used, but is not necessarily up-to-date  (cf.  the
   -n option below). It is possible to replace /etc/mtab by a
   symbolic link to /proc/mounts,  but  some  information  is
   lost  that  way,  and  in particular working with the loop
   device will be less convenient.

of course...having this extra information is nice...but I see not
reason not to put mtab in /var under that case...

/var/state/mtab (or somethin like that)

hmm rmtab just lists nfs mountable file systemsthat sounds like a 
/var/state one too...


> > 
> > I find it curious that this was not also moved. Also to be noted
> > that /etc contains files (like fstab) which are NEEDED for boot and
> > to even mount other file systems...so it MUST be part of
> > the root partition and can not be on a partition of its own 
> > (unless...it existed and had enough files to boot...then got
> > overlayed with a larger partition...seems to defeat the purpose though)
> 
> Well, not if the purpose is a read-only /etc partition.
> Hey, what about /setc and /etc like /sbin and /bin !

since rmtab and mtab serve such little purpose and can be moved...I see no
reason not to do so (and maybe sym link from /etc/mtab to var...until such
time as it can be properly patched)

of course... /etc still needs to be part of the root filesystem for 
boot (init.d scripts.. inittabthat IS afterall how things get mounted)
 
> > 
> > and teh root partition must be mounted read-write.
> 
> Yes but not much changes there, does it?
> At boot time, /dev changed, /etc had motd and ioctl.save updated,
> and /proc was mounted. That's about it if you set up links for
> mounting floppies and so on (I don't).

Perhaps this should bebrought up on the fsstnd lists (er FHS now)
I believe there is a mailing list for it I definitly like the
idea.

I think the reason these are allowed is A) tradition and B) /etc HAS to
be on the root filesystem...it can't be a seprate read-only partition.

-Steve

-- 
/* -- Stephen Carpenter <[EMAIL PROTECTED]> --- <[EMAIL PROTECTED]> 
*/
E-mail "Bumper Stickers":
"A FREE America or a Drug-Free America: You can't have both!"
"honk if you Love Linux"


Re: /etc/shutmsg - a suggestion?

1998-10-23 Thread David Wright
On Fri, 23 Oct 1998, Stephen J. Carpenter wrote:

> On Fri, Oct 23, 1998 at 11:11:31AM +0200, [EMAIL PROTECTED] wrote:
[...]
> > 
> > If this directory is mounted readonly it will fail, I think is a common
> > practice to have /etc readonly when an installation is stable (no more
> > software updates, etc) to avoid hard disk corruption in one of the most
> > important system directories...
> > 
[...]
> 
> That tends to imply that /etc could be mounted read-only.
> however... mtab is writeable and needs to be? hmmm
> (that is mentioned in the fsstnd also)...
> 
> 
> > Should this be written to /var/?
> 
> I tend to agreehaving read the fsstnd, I tend to think mtab should be 
> moved there as well. It seems to be the intention of it to move
> (ideally) everything which NEEDS to be writable for the system to function
> to /var 

Wouldn't it work if /etc/mtab were a link to, say, /var/[...]/mtab
(and there's also /etc/rmtab).

> 
> I find it curious that this was not also moved. Also to be noted
> that /etc contains files (like fstab) which are NEEDED for boot and
> to even mount other file systems...so it MUST be part of
> the root partition and can not be on a partition of its own 
> (unless...it existed and had enough files to boot...then got
> overlayed with a larger partition...seems to defeat the purpose though)

Well, not if the purpose is a read-only /etc partition.
Hey, what about /setc and /etc like /sbin and /bin !

> 
> and teh root partition must be mounted read-write.

Yes but not much changes there, does it?
At boot time, /dev changed, /etc had motd and ioctl.save updated,
and /proc was mounted. That's about it if you set up links for
mounting floppies and so on (I don't).

Cheers,

-- 
Email:  [EMAIL PROTECTED]   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.


Re: HP 5L still giving problems!!

1998-10-23 Thread Peter Granroth
On Fri, Oct 23, 1998 at 02:17:40PM +0100, G. Kapetanios wrote:
> 
> I had the same proble. My HP 6L would not work. I tried magicfilter. ASCII 
> text printed fine but postscript dvi e.t.c. were garbage. 
> I then wrote a little script which uses explicitly gs and dvihp as filters
> to turn ps and dvi files into the printers native languge (PCL I think )
> It essentially involves the same lines as in the ljet4l filter of
> magicfilter but put in a script file which is being executed every time
> printing is required. It worked for me 
> I can send the scripts if you want but it has to be early next week 
> as I am away from my computer.
> Let m eknow if you want them 
> george 
> 
> 

I have a HP6L and it works perfectly well with magicfilter (ljet4
filter). My printcap looks like: (set up with magifilterconfig)

lp|lp|lp|HP Laserjet 6L:\
:lp=/dev/lp0:sd=/var/spool/lpd/lp:\
:sh:pw#80:pl#72:px#1440:mx#0:\
:if=/etc/magicfilter/ljet4-filter:\
:af=/var/log/lp-acct:lf=/var/log/lp-errs:

The versions I have is:

magicfilter:   1.2-25
ghostscript:   4.03-3
gs-fonts:  5.10a-1
lprng: 3.5.2-1

-- 
--
+ Peter Granroth +  Microsoft is NOT the answer  +
+ mailto:[EMAIL PROTECTED] +   Microsoft is the question   +
+ http://granroth.ml.org +   The answer is NO+
--


Re: HP 5L still giving problems!!

1998-10-23 Thread Brandon Mitchell
Before going for all these detailed solutions, let me say that my HP 6L
works fine with magicfilter.  According to my printcap, I used hplj4.  If
the 6L person still has problems with that, we may want to do version
checking to see what differs.  I think I started using this printer in bo
and I'm up to a semi out of date snapshot of slink (I need to check the
archives to see if the x problems finally got fixed).

On Fri, 23 Oct 1998, G. Kapetanios wrote:

> I had the same proble. My HP 6L would not work. I tried magicfilter. ASCII 
> text printed fine but postscript dvi e.t.c. were garbage. 
[ script workaround sniped ]
> 
> On Fri, 23 Oct 1998, Jose L Gomez Dans wrote:
> 
> > Hi!
> > First of all, I'd like to thank the response that my previous
> > posting to the list had. Most welcome :D Anyway, I tried one of the
> > most common references people gave me (ie, use magicfilter, and use
> > the ljet4l package). The printer prints now text fine, but when a
> > postscript file is sent to it, it prints out all sorts of weird
> > characters, and something that resembles the file. Does anybody know
> > what's wrong with this? I've got gs (v3.33),  and I've got my
> > magicfilter for ljet4l (among others :D).

Brandon

+---  ---+
| Brandon Mitchell * [EMAIL PROTECTED] * http://bhmit1.home.ml.org/ |
|   Dijkstra probably hates me (Linus Torvalds, in kernel/sched.c)   |


Re: HP 5L still giving problems!!

1998-10-23 Thread Anthony Campbell
On 23 Oct 1998q, Jose L Gomez Dans wrote:
> Hi!
>   First of all, I'd like to thank the response that my previous
> posting to the list had. Most welcome :D Anyway, I tried one of the
> most common references people gave me (ie, use magicfilter, and use
> the ljet4l package). The printer prints now text fine, but when a
> postscript file is sent to it, it prints out all sorts of weird
> characters, and something that resembles the file. Does anybody know
> what's wrong with this? I've got gs (v3.33),  and I've got my
> magicfilter for ljet4l (among others :D).
> 
>   Any more help would be appreciated.
>   Thanks!
>   Jose
> 

This may not be the answer to your problem, but when I ran magicfilterconfig
it chose ljet4l-filter for  my printer (kyocera 600). This didn't work, but
when I replaced it with ljet4-filter it was fine. This was because the one
chosen by magicfilter was for a Postscript printer, which  mine isn't.
Perhaps you should try ljet4-filter instead?

Anthony

-- 
Anthony Campbell  -  running Linux Debian 2.0
[EMAIL PROTECTED]  http://www.achc.demon.co.uk

"The Moving Finger writes; and, having writ,
Moves on:..."   - Edward Fitzgerald


Re: FYI: DMA/33 and kernels

1998-10-23 Thread Philip Thiem
George Bonser wrote:
> 
> On Sun, 18 Oct 1998, Philip Thiem wrote:
> 
> > You'd be surprises how often that can happen.  I purchase from a
> > wholesaler, and they don't check to see if the drives are good, though
> > they have allways been good about replacing them.  Many resalers are
> > similar, though some do do some testing.
> 
> Well, considering that I had exactly the same errors on two different
> brands of drive on two different brands of motherboard and was able to fix
> it in exactly the same way in both cases with the only thing common
> between the two systems being Linux  well, you get my point.
> 
> George Bonser
> 
> The Linux "We're never going out of business" sale at an FTP site near you!
And I have have had a problem with a DMA/33 harddrive.

Philip Thiem
-- 
PENQUIN-LOVER-CODER ALERT:  [EMAIL PROTECTED]
   All windows user please exvacuate the building
 (So I can install a better OS on the comps)
Pass on the GAS get NASM instead.


Re: HP 5L still giving problems!!

1998-10-23 Thread G. Kapetanios

I had the same proble. My HP 6L would not work. I tried magicfilter. ASCII 
text printed fine but postscript dvi e.t.c. were garbage. 
I then wrote a little script which uses explicitly gs and dvihp as filters
to turn ps and dvi files into the printers native languge (PCL I think )
It essentially involves the same lines as in the ljet4l filter of
magicfilter but put in a script file which is being executed every time
printing is required. It worked for me 
I can send the scripts if you want but it has to be early next week 
as I am away from my computer.
Let m eknow if you want them 
george 


On Fri, 23 Oct 1998, Jose L Gomez Dans wrote:

> Hi!
>   First of all, I'd like to thank the response that my previous
> posting to the list had. Most welcome :D Anyway, I tried one of the
> most common references people gave me (ie, use magicfilter, and use
> the ljet4l package). The printer prints now text fine, but when a
> postscript file is sent to it, it prints out all sorts of weird
> characters, and something that resembles the file. Does anybody know
> what's wrong with this? I've got gs (v3.33),  and I've got my
> magicfilter for ljet4l (among others :D).
> 
>   Any more help would be appreciated.
>   Thanks!
>   Jose
> 
> --
> Jose L. Gomez DansRadar & Comms Group
>   Dept. Electronic Engineering
>   University of Sheffield
>   Mappin St S1 3JD
>   Sheffield UK
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> 

---
George Kapetanios
Churchill College
Cambridge, CB3 0DSE-Mail: [EMAIL PROTECTED]
U.K.  WWW: http://garfield.chu.cam.ac.uk/~gk205/work_info.html
---



Re: Where do i put the sendmail HACKS?

1998-10-23 Thread dpk
On Thu, 22 Oct 1998, trio wrote:

   Hi,
   
  I'm spending a lot of time reading the stuff at
   sendmail.org. I've found all kinds of explanations of the
   check_rcpt HACK, but no explanation as to where i put it. Does it
   go in sendmail.cf somewhere?  Where? Does it get listed in
   sendmail.mc? But then how do i get the .m4 to relate to it?
   
  sendmail! argh

Depends on what you are trying to accomplish.  I suggest building your
sendmail.cf using M4.  You mention the check_rcpt ruleset, which hints
that you are trying to block spam.  If this be the case I would look
at this page:
  http://www.sendmail.org/m4/anti-spam.html

It describes M4 features for blocking spam.  These features utilize
the check_rcpt, check_relay, etc rulesets.  When you generate your
sendmail.cf the rulesets will be created automatically and you can
then control their functionality via text or database files.  I can
send you a copy of our M4 config for example. (Just let me know)

Hope this helps,
Dennis
-- 
Dennis Kelly <[EMAIL PROTECTED]>
Network Adminstrator
College of Engineering, MSU
353-4844 (phone)
222-5875 (pager)


HP 5L still giving problems!!

1998-10-23 Thread Jose L Gomez Dans
Hi!
First of all, I'd like to thank the response that my previous
posting to the list had. Most welcome :D Anyway, I tried one of the
most common references people gave me (ie, use magicfilter, and use
the ljet4l package). The printer prints now text fine, but when a
postscript file is sent to it, it prints out all sorts of weird
characters, and something that resembles the file. Does anybody know
what's wrong with this? I've got gs (v3.33),  and I've got my
magicfilter for ljet4l (among others :D).

Any more help would be appreciated.
Thanks!
Jose

--
Jose L. Gomez Dans  Radar & Comms Group
Dept. Electronic Engineering
University of Sheffield
Mappin St S1 3JD
Sheffield UK


Re: Appletalk/IP

1998-10-23 Thread Stephen J. Carpenter
On Fri, Oct 23, 1998 at 11:19:41AM +0200, Robert Claeson wrote:
> Is anybody aware of whether it's possible to set up a Linux system to
> serve Appleshare over IP, as in Apple's Appleshare IP?
> 

I am inclined to belkieve netatalk can do it. I am running and have been 
runnign a netatalk server here at work and a couple of times went to a
macintosh and hit "connect to server IP" and put in my IP adress and it 
worked ;)

-Steve

-- 
/* -- Stephen Carpenter <[EMAIL PROTECTED]> --- <[EMAIL PROTECTED]> 
*/
E-mail "Bumper Stickers":
"A FREE America or a Drug-Free America: You can't have both!"
"honk if you Love Linux"


Re: /etc/shutmsg - a suggestion?

1998-10-23 Thread Stephen J. Carpenter
On Fri, Oct 23, 1998 at 11:11:31AM +0200, [EMAIL PROTECTED] wrote:
> -BEGIN PGP SIGNED MESSAGE-
> 
> Hi all,
> 
> the ftpshut command shutdowns the wu-ftpd service (not the process) by
> writting in /etc/shutmsg, the question is
> 
> If this directory is mounted readonly it will fail, I think is a common
> practice to have /etc readonly when an installation is stable (no more
> software updates, etc) to avoid hard disk corruption in one of the most
> important system directories...
> 

Well from the fsstnd:
Summarizing chart with examples:

   +-+-+-+
   | | shareable   | unshareable |
   +-+-+-+
   |static   | /usr| /etc|
   | | /home   | /boot   |
   +-+-+-+
   |variable | /var/spool/mail | /var/run|
   | | /var/spool/news | /var/lock   |
   +-+-+-+

That tends to imply that /etc could be mounted read-only.
however... mtab is writeable and needs to be? hmmm
(that is mentioned in the fsstnd also)...


> Should this be written to /var/?

I tend to agreehaving read the fsstnd, I tend to think mtab should be 
moved there as well. It seems to be the intention of it to move
(ideally) everything which NEEDS to be writable for the system to function
to /var 

I find it curious that this was not also moved. Also to be noted
that /etc contains files (like fstab) which are NEEDED for boot and
to even mount other file systems...so it MUST be part of
the root partition and can not be on a partition of its own 
(unless...it existed and had enough files to boot...then got
overlayed with a larger partition...seems to defeat the purpose though)

and teh root partition must be mounted read-write.

-Steve

-- 
/* -- Stephen Carpenter <[EMAIL PROTECTED]> --- <[EMAIL PROTECTED]> 
*/
E-mail "Bumper Stickers":
"A FREE America or a Drug-Free America: You can't have both!"
"honk if you Love Linux"


dpkg-ftp thru Squid

1998-10-23 Thread Mitch Blevins
Anybody having trouble using dselect/ftp to slink
thru a Squid proxy?  Or is it just me...

-- 
This .sig space available for lease.  Please contact:
Mitch Blevins | [EMAIL PROTECTED]


Re: Trying to recover data from messed up MSDOS floppy

1998-10-23 Thread wtopa

Subject: Trying to recover data from messed up MSDOS floppy
Date: Thu, Oct 22, 1998 at 06:07:43PM -0700

In reply to:Paul Rightley

Quoting Paul Rightley([EMAIL PROTECTED]):
> 
> We saved some important data from one of our experiments to a floppy
> in one of our digital oscilliscopes.  The o'scope can write to MSDOS
> formatted floppies only.  I usually then copy the data over to my Debian
> machine for processing.  However, this floppy turned out to have some
> bad areas (mostly in the FAT region of the disk).  I was wondering if
> there is a disk editor in Linux (which I would probably trust more than
> letting Norton mess with my disk)?  Any suggestions?
> 
> Thanks for any assistance,
> 
> Paul Rightley
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> 

I can think of 2.  lde and hexedit, but as I am not on my Debian
partition I can't look to see if they are debian packages.  I have
used them on Slackware and they would do the job for you, I believe.

HTH


-- 
USER, n.:
The word computer professionals use when they mean "idiot."
-- Dave Barry, "Claw Your Way to the Top"
___
Wayne T. Topa <[EMAIL PROTECTED]>


Re: apt-get still won't work with local cdrom

1998-10-23 Thread Kenneth Scharf
Actually I was able to figure out enough of deselect to be able to
install debian 1.3.1 (after two attempts).  To be fair, my first
attempt at using deselect was on a low memory (8mb) slow (386) machine
with a monochrome monitor (vga).  When I tried using apt under dselect
for 2.0 I couldn't get the paths right either (using the cheap bytes
cd).  I think by using simlinks I could fool apt into beliving the
path is correct but havn't tried it yet.  I have NOT tired to use
deselect to install packages from contrib or non-free since I am
afread that by saying 'NONE' to the base path (which I have to if I
use the cd) and update the available packages for contrib or nonfree
it will 86 the database for base

Anyway after trying to install redhat at work and ending up with a
non-working ftp server, I am tring debian here.  It's the best linux
distribution IMHO.




---Pann McCuaig <[EMAIL PROTECTED]> wrote:
>
> On Thu, Oct 22, 1998 at 12:32:03PM -0700, Kenneth Scharf wrote:
> 
> > Pann McCuiag has a debian web page (i don't have the url in front of
> 
> see the sig below
> 
> > me, but search for "Our Man Pann".  He shows the
/etc/apt/sources.list
> > file as
> > 
> > deb file:/cdrom/debian stable main
> > 
> > But I don't think he was using the cheap bytes cd.  His page WAS for
> > hamm (2.0).
> 
> No, but I was using a CD from Johnie Ingram ([EMAIL PROTECTED]) that
I'm
> sure was burned from the official CD image.
> 
> > He was NOT using apt under dselect.  He was using
> > 
> > apt-get install packagenames
> > 
> > to install individual packages.  I haven't tried this myself (yet). 
> > Oh yeah you have to mount the cdrom first, besure to set the user
flag
> > in /etc/fstab.
> 
> Once apt is installed you can use the apt method in dselect, but I
> recommend newbies avoid dselect like the plague. YMMV
> 
> Luck,
> Pann
> -- 
>  What's All the Buzz About Linux? 
> 
>  http://www.rdrop.com/users/pann/
> 

_
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com


Re: Help re x windows

1998-10-23 Thread M.C. Vernon
On Thu, 22 Oct 1998, Derek McCabe wrote:

> Hi, people!
> I have a problem. I have tried to install Xwindows on my 486100, but
> it 'cannot find the packages'. I've used dpkg to... de-package the files
> but none of the resulting files run at all. 

What exactly are you trying to do? you should get the following packages
(ftp them in binary mode to your hdd, or other suitable medium (floppy,
zip or whatever)):
xserver-vga16 (section x11)
xserver-svga (section x11)

makedev >=1.6-8 (base)
libc6 (base)
zlib1g (section libs)
xfntbase (section x11)
xfnt75 (section x11)
xlib6g (section x11)

then dpkg -i filename.deb
(you need to do these in the right order: base ones first, then the
libraries and xfnts then the servers).

> I've tried doing it from my
> Win98 partition, but same result. I've used dselect, but again all I get
> is useless files. I have reinstalled, reformatted, and reinstalled, but
> no go. The machine in question has no internet access, and I don't have
> any idea on how to set up my internet account with Linux. 

Depeding on your ISP, this should be possible...

>I tried
> mounting my hard disk (vfat) but again, no go. I've tard and retard my
> files in a futile attempt to copy them to disk... I even created my own
> mini packages file. None of this works, and I have (gasp) almost given
> up hope. Other then lending out my hard disk to a friend who won't loan
> out the CD, what else can I do?

He won't lend you a debian CD? that's poor form. I suggest you flame him.

_please_ don't post with horribly long lines. It makes it a pain in
the neck to try and reply to your mail.


HTH,

Matthew

-- 
Elen sila lumenn' omentielvo

Steward of the Cambridge Tolkien Society
Selwyn College Computer Support
http://www.geocities.com/Area51/Chamber/8841/
http://www.cam.ac.uk/CambUniv/Societies/tolkien/
http://pick.sel.cam.ac.uk/


Re: apt-get still won't work with local cdrom

1998-10-23 Thread Anthony Campbell
On 22 Oct 1998q, John Forest wrote:
> I might be totally wrong, flame me if I am, but...
> 
> I upgraded my kernel to 2.0.34 and somehow I was able to 'look' at joilet type
> cd's.  Before the upgrade the links did not show.  This presented me with
> similar problems.
> So, perhaps you could upgrade to a newer kernel and it might resolve itself.
> 

I'm using 2.0.35

> If not   alternate solution:
> 
> 1- take a look with zless at /cdrom/debian/main/binary-i386/Packages.gz
>Each package is listed with a "Filename: " entry.
>This is partly the path apt will be looking for.
>deb file:/cdrom/debian  main/binary-i386/ <- from your sources.list
> 
>   This ^  will be added to the front of that filename.
>I suspect that the entry in filename is: debian/binary-i386/text/ (eg)
>from what you indicated.
> 2- Create a symbolic link: ln -s /cdrom/debian/main /usr/local/debian
>(first making sure you don't overwrite anything in /usr/local)
> 3- Change your entry in sources.lists to:
>deb file:/usr/local debian/binary-i386/

Needs to be "deb file:/usr/local/debian  main/binary-i386/" for my cdrom.

> 4- make sure you have the cdrom mounted before using apt.
> 
> That's the best I can do from here.  You will have to fill in the gaps. You
> can also try to make your own Packages files.  That gives you control over
> where you have it all located. The command is dpkg-scanpackages from
> dpkg-dev.deb
> 
> John
> 


No, the same problem occurs I'm afraid. I can access the Packages file with
this method but still I get the extra /debian/ when I try to install
anything. (Nothing to do with using apt-get with dselect as I thought
originally; it happens with plain apt-get as well).  I think I'll give up; I
can use dselect in the ordinary way to read my cdrom, and I can use apt-get
to install stuff from mirrors. It just would be nice to be able to tie the
two things together (and possibly eliminate the long march through installed
and deselcted packages that dselect seems to enjoy).


-- 
Anthony Campbell  -  running Linux Debian 2.0
[EMAIL PROTECTED]  http://www.achc.demon.co.uk




RE: Waiting for scripts in /etc/ppp/ip-up.d

1998-10-23 Thread Moore, Paul
To all who replied so helpfully, thanks. I now have a working setup.

Basically, the simplest solution for me is to add the "idle" option to
my ppp options, to hangup the line when there is no more activity.

A number of people suggested diald - it certainly looks good, and I may
well look into it again at a later date, but for now it seems like
overkill for my (very simple) needs.

Thanks once again for all the help. I'm really impressed with Debian
(both the system and the community) - everything seems so well thought
out and effective.

Paul.


Re: Printer stops after half of page

1998-10-23 Thread Lorenzo Pulici
M.C. Vernon wrote:
> 
> > my printer ( hp deskjet 500, debian hamm ) stops after a few lines and
> > stays busy forever. I tried dvi and ps via magicfilter. Half of the
> > page comes out, then the printer stops, busy light on, and nothing
> > happens. lpq says no jobs. Does anyone know the problem ( and solution )?
> 
> If the busy light is on, perhaps it's `thinking' about the second half -
> i.e. the computer has sent it to the printer, which does stuff to it
> before printing. Have you tried slink magicfilter?

I had the same problem with a HP Deskjet 400L.
i made the printcap filter through magicfilter using HP DJ 500.
It worked but the printer locked up at about 2/3rd of the page, with
busy light flashing.
I looked over various man pages, 'ause I thought that there was page
feed missing.
I found in /etc/lpd.conf that page feed was commented (ff setting), I
uncommented it and now it works fine! :-)
Hope that this solution may be useful...

-- 
Lorenzo Pulici - email: webmaster at weitzmann.it
http://www.weitzmann.it
http://www.geocities.com/Colosseum/Field/9892/ - Milanohockey website



can't dinstall

1998-10-23 Thread Lukas Eppler
Hi,

Trying to set up a debian box. There is an odd device built in, it is a
scanner card with a NCR scsi chip, but only to be used for the scanner.
>From the file:///usr/doc/HOWTO/BootPrompt-HOWTO.gz

  4.2.16.  Pro Audio Spectrum (`pas16=')
  The PAS16 uses a NCR5380 SCSI chip, and newer models support jumper-
  less configuration. The boot argument is of the form:
  pas16=iobase,irq

I tried this. With all boot disks I found on the 2.0 Official CD, there is
the same behaviour:

- when I boot with pas16=0x388,255 syslinux fails to load after writing
'loading root.bin..'

- when I boot with pas16=0x388 or without arguments the scsi part of the
kernel tries to talk to that odd device and gets confused, scsi0: 1 hosts,
but fails with the last message 'scsi command could have been completed
before aborting'.

- when I boot with pas16=0x220 (which is wrong, just something to confuse
the driver) when looking for scsi 'waiting 5 seconds', then 'aborting',
then it hangs again.

I created a new kernel on my other computer, including initrd and ramdisk
and iso9660 and cdrom support, and finally this way i could install up to
a certain point up to where I would be able to install the base system.
but then it gets very depressing:

- I can mount the cd. I can select from a list of directories where the
base files reside, but then dselect just exits (error code 100, as Alt-F3
tells me) and starts again black and white, letting me select color mode.

- There is no tar program on the rescue disks.

Have I forgotten to compile in something desperately needed to install the
base system? 
Can I disable the kernel scsi detection on the boot prompt?
Can you tell me what I should try? (I don't want to spend half an hour
with the screwdriver when I want to use the scanner.) 

Helplessly yours
--
Lukas Eppler (godot)
  http://www.fear.ch
  telnet://soil.fear.ch:
  talk:[EMAIL PROTECTED] 


Appletalk/IP

1998-10-23 Thread Robert Claeson
Is anybody aware of whether it's possible to set up a Linux system to
serve Appleshare over IP, as in Apple's Appleshare IP?


Re: exim/cron causes process pollution? Can't fork -> reboot

1998-10-23 Thread Hannu Koivisto
[EMAIL PROTECTED] (Miquel van Smoorenburg) writes:

| Did you install a new sysklogd as well? It has known problems -
| install at least -30 and CERTAINLY NOT -28 or -29 !

Well, I had -27 which was the latest in my Debian mirror when I
updated packets. I upgraded to -30 now -- we'll see if that
fixes the problem. If not, I'll try George Bonser's suggestion
to limit exim's process usage (for some reason I suspect that
shouldn't be the problem, this sysklogd sounds a lot better
candidate.. I can easily imagine buggy sysklogd causing this
kind of behaviour with cron).

Many thanks to both of you,
//Hannu


/etc/shutmsg - a suggestion?

1998-10-23 Thread ulisses
-BEGIN PGP SIGNED MESSAGE-

Hi all,

the ftpshut command shutdowns the wu-ftpd service (not the process) by
writting in /etc/shutmsg, the question is

If this directory is mounted readonly it will fail, I think is a common
practice to have /etc readonly when an installation is stable (no more
software updates, etc) to avoid hard disk corruption in one of the most
important system directories...

Should this be written to /var/?

any comment will be greatly appreciated,

Ulisses
- -
"Computers are useless. They can only give answers."Pablo Picasso

-BEGIN PGP SIGNATURE-
Version: 2.6.3a
Charset: latin1
Comment: PGP public key avaliable at http://www.rediris.es/cert/keyserver

iQB1AwUBNjBIRQ/N+5+NQ63pAQF5ZwL+Pxl5fw6bWWMSgp8fEVf5AL+e5OIXiCtx
Wp3KvWRWTdQGPgQn2D9lXCE2bZnqWyYo09iLrMYORELCNZLaos/aEN713Me8Qfry
xYwaEH1EujruF8i9+KvGboJNUzFWec8E
=h/Fx
-END PGP SIGNATURE-


Re: Trying to recover data from messed up MSDOS floppy

1998-10-23 Thread Tom Pfeifer
Yes there is one called lde which you can find in the utils directory on
your CD or the ftp site. It doesn't specifically support the FAT file
systems, but you can look at the raw sector by sector data.

For the FAT file system, Norton's Disk Editor is a very good tool. The
Linux dd command is also very useful for working with disks at a low
level.

Tom

Paul Rightley wrote:
> 
> We saved some important data from one of our experiments to a floppy
> in one of our digital oscilliscopes.  The o'scope can write to MSDOS
> formatted floppies only.  I usually then copy the data over to my Debian
> machine for processing.  However, this floppy turned out to have some
> bad areas (mostly in the FAT region of the disk).  I was wondering if
> there is a disk editor in Linux (which I would probably trust more than
> letting Norton mess with my disk)?  Any suggestions?
> 
> Thanks for any assistance,
> 
> Paul Rightley
> 
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null


Problems installing onto a scsi disk.

1998-10-23 Thread Jonathan Crowe
I recently added an Adeptec AIC-6X60 ISA single chip scsi
controler and 3 older external scsi drives to my system.
The scsi drives are ID'ed 0,4,&6.  I would like to install
Debian on the disks and dual boot with W95.

W95 is on the internal 800MB IDE drive. I was able to create
a couple of fat16 partitions on the scsi drives with no
problem (by the way... moving your W95 swap file to a scsi
disk of its own speeds things up nicely)

I have not been able to get the Debian install program to
see the scsi drives.

Following the suggestions I found on a Debian users web page
I have been trying to install using the boot parameters for
an Adaptec 151x, 152x   (ie. by typing in at the boot
prompt)

boot: linux aha152x=0x140[,11[,0[,reconnect]]]

The scsi card is jumpered to IRQ11 and the disk that I want
to install / and /usr to is jumpered id0

When I do this the system loads root.bin and linux fine but
when it gets to initallizing things I see the following:

ty=enabled, synchronous=disabled, delay=100, extended
translation=disabled
aha152x: trying software interrupt, ok
qlogicisp : PCI bios not present
eata_dma: No BIOS32 extensions present. This driver release
still depends on it.
  Skipping scan for PCI HBAs.
eata_pio: No BIOS32 extensions present. This driver release
still depends on it.
Skipping scan for PCI HBAs.
Failed initialization of WD-7000SCSI card!
ppa: Version 1.42
ppa: Probing port 03bc
ppa: Probing port 0378
ppa:SPP port present
ppa: Probing port 0278
scsi0 : Adaptec 152x SCSI driver : $Revision: 1.18 $
scsi : 1 host.
Vendor: SEAGATE Model: ST43400N   Rev: 0116
Type:
Direct-AccessANSI
SCSI revision:02
Detected scsi disk sda at scsi0, channel 0, id1, lun 0
Vendor: SEAGATEModel: ST43400NRev: 0116
Type:
Direct-AccessANSI
SCSI revision:02
Detected scsi disk sdb at scsi0, channel 0, id2, lun 0
Vendor: SEAGATEModel: ST43400NRev: 0116
Type:
Direct-AccessANSI
SCSI revision:02
Detected scsi disk sdc at scsi0, channel0, id3, lun0
---

At this point the system freezes and I have to cycle power.

Any suggestions would be greatly appreciated.

I could, i suppose, clear off a couple of hundred MB from
the internal IDE drive and install there but I really wanted
to use these scsi disks.

--

On another subject someone was asking how to make his laser
printer finish the print job.
On AIX systems when I run into this I go into lsvirprt and
set Z=+  ( this tells the queue to send an extra form feed
after each print job.)  I am sure that there is a way to
tell the queue daemon on a Linux system to send an extra
form feed after each print job.  I have never been able to
find a pattern as to which printers need this and which
don't but it seems to work.

Thanks
Jon
-

-bye for now-
Jonathan Crowe
[EMAIL PROTECTED]
http://www.eskimo.com/~jcrowe/



enscript problem

1998-10-23 Thread ANDREW
Hi Saisanthosh

There are two approaches that you can try to sort out your problem.

1) purge the package and reinstall it.
2) copy the .deb file to a temporary directory and unpack it. (I think this is
done with dpkg-deb, but I don't have access to my Debian system at the moment
so I can't check this) You can now extract the single file that you need and
copy it to where it belongs. Yoou can then remove the temporry directory with
rm -R.

Hope this helps you sort out your problem.

Regards Andrew.


Re: Security problem

1998-10-23 Thread M.C. Vernon

> At our school our system administrator (who is very good) was
> running Red Hat 5.1 and someone broke in and got root privileges.
> Since he had written a Lan watch, we think we know how it happened.
> 
> The Lan Watch showed someone form Israel send a very long
> packet to mountd.  Shortly after, two names were added to
> the password file with user id 0.  We suspect that 
> /etc was NFS mounted with write permission. Afterwards
> there were logins from the two added names and rsh was changed.

mounting anything NFS with write permission is just plain stupid.

Matthew

-- 
Elen sila lumenn' omentielvo

Steward of the Cambridge Tolkien Society
Selwyn College Computer Support
http://www.geocities.com/Area51/Chamber/8841/
http://www.cam.ac.uk/CambUniv/Societies/tolkien/
http://pick.sel.cam.ac.uk/


Re: Printer stops after half of page

1998-10-23 Thread M.C. Vernon

> my printer ( hp deskjet 500, debian hamm ) stops after a few lines and
> stays busy forever. I tried dvi and ps via magicfilter. Half of the
> page comes out, then the printer stops, busy light on, and nothing
> happens. lpq says no jobs. Does anyone know the problem ( and solution )?

If the busy light is on, perhaps it's `thinking' about the second half -
i.e. the computer has sent it to the printer, which does stuff to it
before printing. Have you tried slink magicfilter?

Matthew

-- 
Elen sila lumenn' omentielvo

Steward of the Cambridge Tolkien Society
Selwyn College Computer Support
http://www.geocities.com/Area51/Chamber/8841/
http://www.cam.ac.uk/CambUniv/Societies/tolkien/
http://pick.sel.cam.ac.uk/


Re: Why can't I execute a script??

1998-10-23 Thread E.L. Meijer \(Eric\)
> 
> 
> "Helge Hafting" wrote:
> 
> > You don't have "." in your path, so files are *not* considered executable
> > just because they are in the *current* directory.
> > 
> > This is a security feature.  (Some user could make a nasty script called
> > "ls"  or similiar in his home directoy.  If you try to look at his files
> > with ls the nasty script is invoked instead.)
> >
> > Ways of solving the problem:
> > 
> > 1. Create ~/bin and add that to your path. 
> >  This works well and has no security problems.
>
> 
> If some user is capable of putting a fake `ls' in a random directory where
> you might trip on it, that user is far more likely to put it in your ~/bin
> directory!  (Same privileges are required) 

If you set your ~/bin directory writable for anyone but yourself, you
get what you deserve.  If someone has root permissions, you cannot defend
yourself against their malicious attacks anyway.  `Random' directories
where trojan scripts are likely to live are /tmp, /var/spool/* and the
like.

Eric

-- 
 E.L. Meijer ([EMAIL PROTECTED])  | tel. office +31 40 2472189
 Eindhoven Univ. of Technology | tel. lab.   +31 40 2475032
 Lab. for Catalysis and Inorg. Chem. (TAK) | tel. fax+31 40 2455054


Re: Mounting /fd0 (Was Re: Base2_0.tgz missing man command.)

1998-10-23 Thread Ole J. Tetlie
*-Jim <[EMAIL PROTECTED]>
|
| Now, I find that when trying to mount /fd0 I get  the error "can't find  /fd0 
in /etc/mtab
| or /etc/fstab
| I have edited /etc/fstab to include this line...
| /dev/fd0   /floppyauto  noauto,sync 0 0
| as per the instructions I found at 
www.debian.org/~hp/tutorial/debian-tutorial.html
| however I get the same error message even after shutdown and reboot.

Try 'mount /floppy' or 'mount /dev/fd0' instead. They should both work.
There's no need to mess with /etc/mtab. It is written by mount and umount
as a log of which devices are currently mounted.

-- 
The only way tcsh "rocks" is when the rocks are attached to its feet
in the deepest part of a very deep lake. (Linus Torvalds)
[EMAIL PROTECTED]   [-: .elOle. :-]   [EMAIL PROTECTED]


Where do i put the sendmail HACKS?

1998-10-23 Thread trio
Hi,

   I'm spending a lot of time reading the stuff at sendmail.org. I've 
found all kinds of explanations of the check_rcpt HACK, but no 
explanation as to where i put it. Does it go in sendmail.cf somewhere? 
Where? Does it get listed in sendmail.mc? But then how do i get the .m4 
to relate to it?

   sendmail! argh

...
universero trio... [EMAIL PROTECTED] http://tio.net/~trio
Learn and use The International Language Esperanto! http://esperanto.org


Re: XDM and XDMCP

1998-10-23 Thread Michael Beattie
On Thu, 22 Oct 1998, Steve Rothanburg wrote:

> I've got it setup at work. All I've done is install the XDM package with 
> dselect and
> have it start automagicly. I use it on a few systems and connect from Win9x 
> machines
> running Xwin32.

If you say the host is already configured (Which is good), And win9x
clients can connect, How can I tell my X Server to connect to the remote
host? i.e. bring up a login screen on :1 when the host is available?

> Michael Beattie wrote:
> 
> > I would like to get XDM to work over my local network so that I can log
> > into my friends box when I need to do some admin work... As a learning
> > experience, I thought I'd try getting XDMCP working. Anybody use this?
> > Anybody able to help me? Are there any good FAQ's/HOWTO's on this?


   Michael Beattie ([EMAIL PROTECTED])

   PGP Key available, reply with "pgpkey" as subject.
 -
  WinErr: 00D Keyboard locked - Try anything you can think of.
 -
Debian GNU/Linux  Ooohh You are missing out!



RE: Waiting for scripts in /etc/ppp/ip-up.d

1998-10-23 Thread Michael Beattie
On Thu, 22 Oct 1998, Moore, Paul wrote:

> >From:Michael Beattie[SMTP:[EMAIL PROTECTED]
> >On Wed, 21 Oct 1998, mwb wrote:
> >> Although I haven't tried it, but you might try putting poff (or your
> >> query script) as the last item in ip-up.
> >
> >Exactly like what I would have suggested. Make a script such as 'zpoff' -
> >so the leading 'z' puts the file at the end of the directory listing.
> >'run-parts' runs the scripts alphabetically AFAIK. 
> 
> Does this imply that the ip-up.d scripts are run in sequence? That's a
> bit annoying - I was hoping to add a few mirrorring scripts in there
> which would run alongside my news download - would they wait for
> slrnpull to finish?


Use '&' to put them in the background, and pass control back to the
script. The script ends, and run-parts continues with the next script. I
use this for fetchmail:

( fetchmail ; bplay /usr/local/media/maildone.wav ) &

So I know when it is done.

   Michael Beattie ([EMAIL PROTECTED])

   PGP Key available, reply with "pgpkey" as subject.
 -
There is no snooze button on a cat who wants breakfast.
 -
Debian GNU/Linux  Ooohh You are missing out!



Re: Why can't I execute a script??

1998-10-23 Thread Michael Beattie
On Thu, 22 Oct 1998, Evan Van Dyke wrote:

> Peter S Galbraith wrote:
> > If some user is capable of putting a fake `ls' in a random directory where
> > you might trip on it, that user is far more likely to put it in your ~/bin
> > directory!  (Same privileges are required)
> > 
> > Just a thought.
> 
> Just make the . directory the _last_ part of your path, that way it will
> search /bin /usr/bin /usr/local/bin and
> all the rest of your path first.

As pointed out before, this does not catch misspellings of common
commands, such as 'sl'.

   Michael Beattie ([EMAIL PROTECTED])

   PGP Key available, reply with "pgpkey" as subject.
 -
   I've got places to go... People to annoy.
 -
Debian GNU/Linux  Ooohh You are missing out!



Re: what is the recommended way to downgrade?

1998-10-23 Thread Michael Beattie
On 22 Oct 1998, Stan Heckman wrote:

> What is the correct way to downgrade a package? 
> I can remove it and then reinstall, but removing xbase wants
> to remove an awful lot of other packages with it. (I want to
> downgrade xbase because, after installing Version: 3.3.2.3a-4, 
> I don't seem to have xset anymore.)
> 
> 
> $ dpkg --search xset
> xloadimage: /usr/X11R6/bin/xsetbg
> tk4.2: /usr/lib/tk4.2/demos/ixset
> tkstep8.0: /usr/lib/tkstep8.0/demos/ixset
> perl-tk: /usr/doc/perl-tk/examples/ixset.gz
> tetex-base: /usr/lib/texmf/fonts/source/public/cm/texset.mf
> tk8.0: /usr/lib/tk8.0/demos/ixset
> $ 


dpkg --force-downgrade -i 

I believe thats right... knowing my luck I will be missing something
important there. (You have to download the file yourself.. I have no idea
how to get apt or whichever to do it)

   Michael Beattie ([EMAIL PROTECTED])

   PGP Key available, reply with "pgpkey" as subject.
 -
BIT: Past tense of BYTE.
 -
Debian GNU/Linux  Ooohh You are missing out!



slink upg. error

1998-10-23 Thread Ian Keith Setford
Yo-

I decided to upgrade to "frozen" slink and I used dselect to to do it.
Now I am getting libncurses.so.4: cannot open shared object file: No
such object or directory.  Did a package not get installed or is my system
hosed now?  Sorry if this is an old question but I haven't had the need to
upgrade in a while.

Any help is greatly appreciated!

-Ian

__ 
Ian Setford  [EMAIL PROTECTED]

PGP = F2 92 50 E3 CD D7 A2 D9  C4 CE 08 A6 98 E0 0F 58


HELP: tetex .tfm file not found

1998-10-23 Thread Albert Hurd
 I am trying to use postscript fonts in plain TeX (I have no trouble in
LaTeX) and get the following message when tex'ing the .tex file:

! Font \times=Times not loadable: Metric (TFM) file not found.

   \par
l.9

?
! Emergency stop.

   \par
l.9

End of file on the terminal!

No pages of output.


 Can anyone tell me what to do? Thanks.

Albert Hurd


Help re x windows

1998-10-23 Thread Derek McCabe




Hi, people!
    I have a problem. I have 
tried to install Xwindows on my 486100, but it 'cannot find the packages'. I've 
used dpkg to... de-package the files but none of the resulting files run at all. 
I've tried doing it from my Win98 partition, but same result. I've used dselect, 
but again all I get is useless files. I have reinstalled, reformatted, and 
reinstalled, but no go. The machine in question has no internet access, and I 
don't have any idea on how to set up my internet account with Linux. I tried 
mounting my hard disk (vfat) but again, no go. I've tard and retard my files in 
a futile attempt to copy them to disk... I even created my own mini packages 
file. None of this works, and I have (gasp) almost given up hope. Other then 
lending out my hard disk to a friend who won't loan out the CD, what else can I 
do?
    Derek McCabe, 
Toronto


XDMCP fatal error

1998-10-23 Thread Gregory Green
Hi,

I have an Netgear ISDN router on a private subnet and everything works
fine except when I try and connect to the X server (from Win95 Xtra!X).
I keep getting a fatal XDMCP error complaining that it cannot export to
DISPLAY 192.168.0.2:0.0.  The ISP issues dynamic IP addresses so I have
to route to a bogus network.
Can XDM or the X Server be tweaked to handle this?

I have looked throught the Xtra!X documentation but cannot find anything
related.  Has anyone run into this?


Gregory Green




Re: ftp1.us.debian.org and FTP mirrors

1998-10-23 Thread Dirk Eddelbuettel

  Lukas>  Once someone posted this script to find the fastest debian mirror,
  Lukas> which could be used in some way in the postinst of apt:

IIRC Chris Lameter wrote this as part of one of his misc. utility packages.
I rewrote it in perl (and added a thing or two) as part of the mirror package
which installs it under the name 'debian-mirrors'. As it's short and sweet, I
include it here:


#!/usr/bin/perl
#
# debian-mirrorsmeasure ping time to all mirrors in README.mirrors
#
# downloads README.mirrors from ftp.debian.org (but not if a local file is
# pointed to), runs fping on all Debian mirrors, sorts the result by ping 
# time and output the 'n' (default is 20) fastest
#
# Written by Dirk Eddelbuettel <[EMAIL PROTECTED]> and released under the GPL
# $Id: debian-mirrors.pl,v 1.3 1998/02/19 02:12:02 edd Exp $

## Yes, Net::FTP is much cooler, but we don't want to depend on libnet-perl
## 'ftp.pl' is provided by the mirror package
unshift( @INC, "/usr/lib/mirror" );
require 'ftp.pl';

#use strict;# doesn't work with ftp.pl
use English;
use File::Basename;
use vars qw($opt_h $opt_f $opt_v);
use Getopt::Std;
use IPC::Open2;

my $tempfile = "/tmp/".$file."-".$$;
my $readfrom = $tempfile;
my $max = 20;
$PROGRAM_NAME =~ s|.*/||;   # strip everything before last slash

getopts('hf:n:v') or die("Try `$PROGRAM_NAME -h` for help screen.\n");

if ($opt_h or $#ARGV != -1) {
print "Usage:\n  $PROGRAM_NAME [options]\n";
print "Options:\n";
print "  -f file\tpoint to local version README.mirrors\n";
print "  -n max\tmaximum number of mirrors to show\n";
print "  -v\t\tverbose operation\n";
print "  -h\t\tshow this help\n";
exit 0;
}

$max = $opt_n if ($opt_n);
print "Max is set to $max\n" if $opt_v;

if ( ! $opt_f ) {
my $hostname = "ftp.debian.org";
my $account = "ftp";
my $password = "[EMAIL PROTECTED]";
my $directory = "/pub/debian";
my $filename = "README.mirrors";
print "Retrieving ", $filename, " for analysis.";
ftp::debug(1) if $opt_v;# for debugging output
ftp::open($hostname,21,0,1) or die "No ftp connection\n";   
ftp::login($account, $password) or die "Couldn't login\n";
ftp::cwd($directory) or die "Cannot cd to $directory\n";
ftp::get($filename, $tempfile, 0) or die "Could not get $file\n";
ftp::quit();
} else {
die "File $opt_f does not exist." unless -f $opt_f;
$readfrom = $opt_f;
}

print "Measuring ping times to all Debian mirror sites. " if $opt_v;
print "Please be patient.\n" if $opt_v;

my ($mirror,$path,$time);

open(DATA, $readfrom) or die "Cannot open $filename\n";

open2("PINGOUT", "PINGIN", "fping -ae") or die "Cannot start fping(1)\n";;

while () {
if (($mirror,$path) = ($ARG =~ m|^\s*(\S*\.\S*\.\S*.*):(/\S*)\s.*|)) {
print "Pinging $mirror \n" if $opt_v;
print PINGIN "$mirror\n"; # if ($mirror =~ m/.*\.edu$/);
}
}
close(DATA);
close(PINGIN);

open2("SORTOUT", "SORTIN", "sort -n") or die "Cannot start sort(1)\n";

while () {
($mirror,$time) = ($ARG =~ m|^(\S*)\s*\((\d*) msec\)|);
print "fping reports $time for $mirror\n" if $opt_v;
print SORTIN "$time $mirror\n";
}
close(SORTIN);
close(PINGOUT);

my $i=1;
while ()   {
print "$_"; 
last if ($i++ == $max);
}
close(SORTOUT);





-- 
Linux is not only free; it is, arguably, a better operating system, offering
a degree of stability and an ability to scale up that NT cannot match.
 -- The Economist, Oct 3, 1998


net error at boot time

1998-10-23 Thread Ionut Borcoman
Hi,

When I boot my machine I get these two error lines:

SIOCADDRT: invalid argument
SIOCADDRT: invalid argument

Can somebody please explain me the problem ?

With the present config I can browse the net. My computer is unreacheable from 
outside because the admin of the local net have changed my IP number but not my 
entry in the DNS database.

Can this be the problem ?

TIA,

Ionutz



Get free e-mail and a permanent address at http://www.netaddress.com/?N=1


Re: apt-get still won't work with local cdrom

1998-10-23 Thread John Forest
Anthony Campbell wrote:
> I thought I'd got apt-get to read my local cdrom but it seems I was wrong. It
> will update the packages but won't install anything. I have a Cheapbytes
> cdrom.
> 
> The entry in my sources.list is as follows:
> 
>   
>   deb file:/cdrom/debian  main/binary-i386/
> 
> The Packages file is read correctly. However, when I try to install a file I
> get an error message:
> 
>   Unable to stat /cdrom/debian/debian/binary-i386/...
> 
> In other words, an unwanted extra /debian/ gets into the path when apt-get
> tries to install a file.
> 
> Can anyone suggest a way round this?
> 
> Anthony

I might be totally wrong, flame me if I am, but...

I upgraded my kernel to 2.0.34 and somehow I was able to 'look' at joilet type
cd's.  Before the upgrade the links did not show.  This presented me with
similar problems.
So, perhaps you could upgrade to a newer kernel and it might resolve itself.

If not   alternate solution:

1- take a look with zless at /cdrom/debian/main/binary-i386/Packages.gz
   Each package is listed with a "Filename: " entry.
   This is partly the path apt will be looking for.
   deb file:/cdrom/debian  main/binary-i386/ <- from your sources.list

  This ^  will be added to the front of that filename.
   I suspect that the entry in filename is: debian/binary-i386/text/ (eg)
   from what you indicated.
2- Create a symbolic link: ln -s /cdrom/debian/main /usr/local/debian
   (first making sure you don't overwrite anything in /usr/local)
3- Change your entry in sources.lists to:
   deb file:/usr/local debian/binary-i386/
4- make sure you have the cdrom mounted before using apt.

That's the best I can do from here.  You will have to fill in the gaps. You
can also try to make your own Packages files.  That gives you control over
where you have it all located. The command is dpkg-scanpackages from
dpkg-dev.deb

John


Re: Help me setup dynamic DNS server address.

1998-10-23 Thread john
John writes:
> Write a script to go in ip-up.d that does something like:

Yes, I could do this, but I don't need to: my isp doesn't use 'dynamic
dns'.  

My interest is in helping new users whose isp's won't tell them the
nameserver ip's because they use dynamic dns.  Someone reminded me that
pppd is able to provide dynamic dns to Windows clients, so I can figure it
out from the source.

If I can't figure out how to provide a dynamic dns 'client' I can think of
several workarounds.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI


Re: Waiting for scripts in /etc/ppp/ip-up.d

1998-10-23 Thread john
I wrote:
> Are you saying that 'demand' now works in Linux?

Mitch Blevins writes:
> Don't use it.  I had assumed from the man page and a VagueMemory(tm)
> that I had heard of it working...

Actually, 'demand' purportedly does work in Linux but, according to the
documentation, filtering doesn't.  As demand dialing without filtering
seems rather useless, I've never experimented with it.  Also, it requires
that the kernel be patched, at least for the stable kernels.

I may take another look at it if it turns out to be supported in the 2.2
kernels.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI


debian.midco.net mirror

1998-10-23 Thread Nathan E Norman
Hi,

I'll be performing some work on the debian.midco.net mirror site tonight
(like , I already started :).  This means that there will be periods of
time when the archive will NOT be available.  Sorry for any
inconvenience.

On the bright side, if all goes as planned we'll go from an 18 G spool
to a 40 G spool, and have SMP for a little extra oomph on the processor
side.  The newer SCSI drivers may give a performance boost as well (I
hope so).

--
Nathan Norman
MidcoNet  410 South Phillips Avenue  Sioux Falls, SD
mailto:[EMAIL PROTECTED]   http://www.midco.net
finger [EMAIL PROTECTED] for PGP Key: (0xA33B86E9)



Re: Security problem

1998-10-23 Thread Nathan E Norman
On Thu, 22 Oct 1998, King Lee wrote:

 : Hello,
 : 
 : At our school our system administrator (who is very good) was
 : running Red Hat 5.1 and someone broke in and got root privileges.
 : Since he had written a Lan watch, we think we know how it happened.
 : 
 : The Lan Watch showed someone form Israel send a very long
 : packet to mountd.  Shortly after, two names were added to
 : the password file with user id 0.  We suspect that 
 : /etc was NFS mounted with write permission. Afterwards
 : there were logins from the two added names and rsh was changed.
 : 
 : 
 : Is Debian vulnerable?  Unfortunately, I haven't progressed
 : to the stage where I am comfortable looking at code.

This security hole, and the fix, were announced on debian-security a few
weeks ago.  I'll look for the announcement.

So yes, some systems are vulnerable, but there is a fix available.

--
Nathan Norman
MidcoNet  410 South Phillips Avenue  Sioux Falls, SD
mailto:[EMAIL PROTECTED]   http://www.midco.net
finger [EMAIL PROTECTED] for PGP Key: (0xA33B86E9)



Available packages

1998-10-23 Thread Cristov_Russell
I screwed things up.  I wanted to install E on my system but didn't want to go
the long route of finding every single file I did to update so I downloaded
chunks of slink with the package file and used the mounted option.  I had
previously installed from using the mountable option and merging the 3
Cheapbytes CD package files using dpkg -merge-avail (worked great!).  Now when I
try to use the mountable option to install I get a list that includes the slink
packages.  I tried using dpkg -clear-avail but that didn't work. Any ideas?

Thanks
Cristov Russell
[EMAIL PROTECTED]

TNF5172.TMP
Description: Unknown data type


Trying to recover data from messed up MSDOS floppy

1998-10-23 Thread Paul Rightley
We saved some important data from one of our experiments to a floppy
in one of our digital oscilliscopes.  The o'scope can write to MSDOS
formatted floppies only.  I usually then copy the data over to my Debian
machine for processing.  However, this floppy turned out to have some
bad areas (mostly in the FAT region of the disk).  I was wondering if
there is a disk editor in Linux (which I would probably trust more than
letting Norton mess with my disk)?  Any suggestions?

Thanks for any assistance,

Paul Rightley