kernel panic: VFS: unable to mount root fs

1999-10-19 Thread T.V.Gnanasekaran
hello,
I am trying to install kernel 2.2.12. I compiled as documented in the
README of the kernel source distribution.  I edited lilo.conf and exec
lilo and added. My root dev=/dev/sda3 (extend partition) boot=/dev/sda
But when I tried booting the new kernel, I got 

VFS: Cannot open root device 08:06
Kernel Panic: VFS: Unable to mount root fs on 08:06

what should I do now?

-gnana



Re: modprobe errors return

1999-10-19 Thread Pollywog

On 18-Oct-99 Martin Fluch wrote:
> By the way, at every boottime a depmod is executet (perhaps you have seen
> the 'Updating modules...' message at boottime.
> 
> If you get ever again such an message (and want to get rid of it) just run
> a
> 
>depmod -a

I had done that, to no avail.  I have not seen the error since recompiling the
kernel.  modules.deb?  or is it modules.dep ?


thanks

--
Andrew


Re: apache + cgi

1999-10-19 Thread Pere Camps
Nathan,

> If you want to limit by actual clock time, you could use alarm and catch
> the signal (I know how to do it in Perl; I'd have to stumble a bit to do
> the same thing in C :)

The problem is that I have an 'untrusted' user base I everything
has to be implemented by the parent process or by the system itself. I
have no way of making the users behave themselves (in fact, they misbehave
for the fun of it) with good cgi programming.

For example, today an user executed the C program I posted before
and almost made the machine stop. Thanks God I was logged and I could kill
all the processes. I took the ExecCGI permission from the user and told
him a couple of things...

> For further ideas I'd have to grab my APUE by Stevens (an excellent
> book!)

Apache United Enterprise? ;)

-- p.


Re: Which IPs for Which Devices?

1999-10-19 Thread Art Lemasters
On Mon, Oct 18, 1999 at 07:31:59PM -0400, Greg Wooledge wrote:
> Art Lemasters ([EMAIL PROTECTED]) wrote:
[...] 
> > I want to connect it with a router (routing PPP) via one 
> > ethernet card (eth0).  Should all three devices (Linux system, ethercard
> > and router) have the same IP address...
> 
> I don't understand this part.  What is this router, exactly?

Oops.  I should have been more clear on this.  The "router" is a
Cisco 675 modem/router (does a little of both).  You'll hear quite
a bit of this soon, as US West is offering DSL service at very low
rates this way.  The ethernet card (3Com 905TX) is connected to the
external modem/router through a CAT 5 line and a "command interface"
(serial line from serial port two).

> 
> Do you have other computers on a local area network with which you would
> like to use the Internet?  If so, you can have your Linux box work as
> a router.

 Yes, and if possible, I will continue to use the Linux box as a
router after the "modem/router" properly forwards traffic both ways.
Otherwise,...  By the way, the Cisco 675 and DSL will reportedly (by
Cisco & Megabit services) work with Linux in either bridging or routing
mode.

> 
> > I've found so far only addresses nets with a whole range of IP addresses,
> > but I only have _one static IP_. 
> 
> If you want multiple computers to share a single IP address then you need
> to use IP masquerading (or just use a traditional proxy configuration).

Thanks.  :-)  But according to the docs (Net How-To's, etc.), the ethernetf
interface and "router" still need their own IPs.  Or do they...?  And if so,
can their IPs be "private" IPs (even though the "router" is the link between
this machine and the Internet)?  

> 
> Read the IP Masquerading mini-howto.

OK.  :-)

> 
> And be forewarned: you may not be able to get the slink ipmasq package
> to work; I found it much better to configure IP masquerading by hand.

Thanks.  ...made it through setting up Bind, so this should be possible.

Art


Re: apache + cgi

1999-10-19 Thread Nathan E Norman
On Tue, 19 Oct 1999, Pere Camps wrote:

 : Nathan,

[ snip ]

 : > For further ideas I'd have to grab my APUE by Stevens (an excellent
 : > book!)
 : 
 :  Apache United Enterprise? ;)

Advanced Programming in the UNIX Environment.

I'm very interested in your problem since I see that to some degree I
have the same problem :)

--
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: apache + cgi

1999-10-19 Thread Pere Camps
Nathan,

>  :Apache United Enterprise? ;)
> Advanced Programming in the UNIX Environment.

Don't have that one. Myself: K&R C 2nd edition, man pages and
looking at tons of .c files.

> I'm very interested in your problem since I see that to some degree I
> have the same problem :)

I guess the only true solution will come with ture PAM integration
and then limiting the resources of the www-data user.

-- p.


Installation problems

1999-10-19 Thread Mark N. Wrigley
Dear Sirs,

I am experiencing problems installing Debian version 2.1 (Slink) on my
computer.  The first time I tried to install the OS everything went fine I
had no problems at all.  The problems started when I tried to to reload the
OS after I made some mistakes loading Gnome.  I went through the
installation program again and everything went smooth until I had to reboot
with the boot disk.  I received a " CRC error.  I know that this means there
is a media error with the floppy, so I go through the installation 4 more
times with four different floppies with the same error.  The next day I try
the installation again but received a different error, the program wouldn't
allow me to add a user.  The program kept voiding the new user  and asking
for a new user in a endless loop.  This happen 5 more times then back to the
"CRC error. I don't know what to do now   I know how to load the
software but it won't allow be to complete the installation.  Thank you in
advance for any help you can give me with this problem.

   Mark N. Wrigley





Re: apache + cgi

1999-10-19 Thread Pere Camps
Brian,

> Perhaps you can set the ulimit manually (don't ask me how to do
> this from C...).

And make Apache use those values for every son with user www-data
that it breeds? ... too much work. :-/

> This is only read (AFAIK) by /bin/login. It doesn't even work for ssh
> logins (I could be out-of-date now, with the increased usage PAM -
> anyone know for certain?).

You're not out of date. Both ssh & ssh2 don't use /etc/limits.
Thanks for pointing that out.

It's a pity that slink doesn't implement PAM. I hope potato does
for all of this stuff..

> Another package you may want to look at is lshell. This will help fix
> the problem with sshd, but I am not sure if it will work for your
> situation.

I only have one shell available (bash) and only two user bases
(the good ones -ie, two people + me- and the rest of the world)... if [
$USER in /etc/profile is enough for me. Thanks for point the package out
anyway.

-- p.


Re: Installation problems

1999-10-19 Thread John Miskinis

Hi,

If you must install from floppies, I would use different ones.
When I need a floppy for something, I format it under windows
95, check the "full format" and "no label" option.  After it
formats, be SURE to check the number of BAD bytes in the info
dialog that appears when the format is done.

If the number of bytes in bad sectors is greater than 0, I
always yell "damn", walk into the kitchen and throw the floppy
in the trash.

Good Luck,

John

__
Get Your Private, Free Email at http://www.hotmail.com


Re: [Fwd: Re: InterScan Virus Alert]

1999-10-19 Thread Matthew Dalton
"T.V.Gnanasekaran" wrote:
> 
> Ya, true. I saw happy99.exe virus just now. But why anyone would use
> windoze to send mails? what is this interscan anyway?
> 

Well, I have to use NT at work, so of course I'm reading/posting with
windows.


Re: slink->potato and missing packages

1999-10-19 Thread Eric G . Miller
On Mon, Oct 18, 1999 at 07:39:37AM -0400, Michael Stenner wrote:
> So I'm upgrading from slink to potato (while it's still unstable so i
> can call myself adventurous) and there are a number of packages
> missing (from the ftp site, according to apt).  Some of them look
> rather important (tcpd, etc).

  It may be that some of those packages have been moved around to
  different packages with different names. Persist on the upgrade and
  it'll probably sort itself out. Sometimes you have to play around with
  holding certain packages through one iteration of the upgrade, and
  then getting them on the next go 'round.
-- 
++
| Eric G. Milleregm2@jps.net |
| GnuPG public key: http://www.jps.net/egm2/gpg.asc  |
++


Re: /var/log/ppp.log

1999-10-19 Thread John Hasler
pplaw writes:
> tcgetattr:  input/output error(5)

Often means you have the wrong serial port.

> connect:  ppp0 <--> /dev/tty1

/dev/tty1 is not a serial port.  What do your /etc/ppp/peers/provider and
/etc/chatscripts/provider look like?


-- 
John HaslerThis posting is in the public domain.
[EMAIL PROTECTED]Do with it what you will.
Dancing Horse Hill Make money from it if you can; I don't mind.
Elmwood, Wisconsin Do not send email advertisements to this address.


Re: Graphic interface to PostgreSQL

1999-10-19 Thread Eric G . Miller
On Mon, Oct 18, 1999 at 06:01:34PM +0100, Pedro Quaresma de Almeida wrote:
> Hi
> 
> Are there any Graphic interface to PostgreSQL?
> 
  I haven't seen anything too usefull. There's the Tk PgAccess which is
  probably the most feature rich, but sorely lacking IMHO. There are a
  couple GTK or KDE query interfaces, but they aren't very useful.
  However, with a little Python or Perl programming, you can create a
  www interface to your database... psql is one of the better command
  line interfaces I've used, though. 
-- 
++
| Eric G. Milleregm2@jps.net |
| GnuPG public key: http://www.jps.net/egm2/gpg.asc  |
++


RE: SIOCADDRT

1999-10-19 Thread Bryan Scaringe

1) dmesg only covers kernel messages.  There are other messages
   that get printed to the screen when the system starts up that
   don't get shown by dmesg.  To see these, I just hold down
and use  and  to scroll through
   the messages.  Probably not the most scientific approach, but
   it works for me.

2) As for SIOCADDRT:  your /etc/init.d/network (or is it networks)
   file has a line to add a route for local network traffic through
   the loopback interface.  As of Kernel 2.2.0, you need to have
   a netmask on that line.  Debian Slink is designed for 2.0.x
   kernels which don't really need this parameter.  I have mailed
   the maintainers about this problem.  Until this gets changed,
   change the line:
route add -net 127.0.0.0
   to:
route add -net 127.0.0.0 netmask 255.255.255.0 lo


Hope this helps,
Bryan


On 11-Oct-99 Bryan Scaringe wrote:
> 
> - Begin Included Message -
> 
> From [EMAIL PROTECTED] Mon Feb  8 02:33 EST 1999
> Date: Mon, 08 Feb 1999 07:18:41 +
> From: Paul Rogers <[EMAIL PROTECTED]>
> X-Accept-Language: en,ja,ko
> MIME-Version: 1.0
> To: Linux Newbie 
> Subject: Start up Messages
> Content-Transfer-Encoding: 7bit
> X-Loop: [EMAIL PROTECTED]
> X-Orcpt: rfc822;linux-newbie-outgoing
> 
> Dear All
> 
> Can any one tell me how to review the output generated on startup?  I
> know about DMesg but would like to see the messages from the point that
> dmesg stops.  I'm sure I've read here that by pressing  before
> (after?) the initial logon I am able to view the various messages, but I
> can't remember what  is.
> 
> Secondly can anyone tell me / point me in the direction of any info as
> to what the following startup message means?
> 
> SIOCADDRT:invalid argument
> 
> 
> Many thanks in advance
> 
> 
> Paul
> 
> 
> 
> - End Included Message -



- End Included Message -

--End of forwarded message-


Re: ipupload

1999-10-19 Thread Eric G . Miller
On Tue, Oct 19, 1999 at 02:17:39AM +0530, T.V.Gnanasekaran wrote:
> Hello,
> 
> I am connecting and disconnecting to the net over a modem line. My ISP
> gives dynamic IPs.
> I want to upload the IP that I get from my ISP to a website so that my
> friends can come to know if I am online. I also want to upload the

I don't know if that's such a good idea...How tight is your security?

> file to my website. But when I disconnect I can execute another script
> in ip-down.d because I use 'kill `cat /var/run/ppp0.d`' which is not a
> proper downing of route ppp0. 

  Since the ip-down script run *after* the link goes down, you obviously
  can't put the script there. I have something similar, so I can ftp
  files to/from my machine at work. I wrote wrapper scripts around pon
  and use a cron job's to automatically start and stop the links during
  business hours. You'll probably want a wrapper script to ftp that
  you're no longer online that *waits* for the job to finish and then
  brings down the connection.
-- 
++
| Eric G. Milleregm2@jps.net |
| GnuPG public key: http://www.jps.net/egm2/gpg.asc  |
++


RE: SIOCADDRT

1999-10-19 Thread Bryan Scaringe

1) dmesg only covers kernel messages.  There are other messages
   that get printed to the screen when the system starts up that
   don't get shown by dmesg.  To see these, I just hold down
and use  and  to scroll through
   the messages.  Probably not the most scientific approach, but
   it works for me.

2) As for SIOCADDRT:  your /etc/init.d/network (or is it networks)
   file has a line to add a route for local network traffic through
   the loopback interface.  As of Kernel 2.2.0, you need to have
   a netmask on that line.  Debian Slink is designed for 2.0.x
   kernels which don't really need this parameter.  I have mailed
   the maintainers about this problem.  Until this gets changed,
   change the line:
route add -net 127.0.0.0
   to:
route add -net 127.0.0.0 netmask 255.255.255.0 lo


Hope this helps,
Bryan


On 11-Oct-99 Bryan Scaringe wrote:
> 
> - Begin Included Message -
> 
> From [EMAIL PROTECTED] Mon Feb  8 02:33 EST 1999
> Date: Mon, 08 Feb 1999 07:18:41 +
> From: Paul Rogers <[EMAIL PROTECTED]>
> X-Accept-Language: en,ja,ko
> MIME-Version: 1.0
> To: Linux Newbie 
> Subject: Start up Messages
> Content-Transfer-Encoding: 7bit
> X-Loop: [EMAIL PROTECTED]
> X-Orcpt: rfc822;linux-newbie-outgoing
> 
> Dear All
> 
> Can any one tell me how to review the output generated on startup?  I
> know about DMesg but would like to see the messages from the point that
> dmesg stops.  I'm sure I've read here that by pressing  before
> (after?) the initial logon I am able to view the various messages, but I
> can't remember what  is.
> 
> Secondly can anyone tell me / point me in the direction of any info as
> to what the following startup message means?
> 
> SIOCADDRT:invalid argument
> 
> 
> Many thanks in advance
> 
> 
> Paul
> 
> 
> 
> - End Included Message -



- End Included Message -

--End of forwarded message-


RE: Diamond 770 & X Window

1999-10-19 Thread Bryan Scaringe
Enjoy!


On 18-Oct-99 Joe Block wrote:
> Does anyone have a working config file for the Diamond Viper 770?
> 
> I'm running slink if it matters.
> 
> jpb
> -- 
> Joe Block <[EMAIL PROTECTED]>
> CREOL System Administrator
> 
> Social graces are the packet headers of everyday life.
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] <
> /dev/null



XF86Config
Description: XF86Config


Re: scaling on print for starcalc 5.1 (and nuking desktop)

1999-10-19 Thread Eric G . Miller
  There's a gradebook program floating about that I saw mentioned
  somewhere. Perhaps a search on freshmeat? Don't know what your
  particular needs are, but a text output piped to a2ps might do you
  okay. You could probably work up something pretty good with postgresql
  if you want to go that route.
-- 
++
| Eric G. Milleregm2@jps.net |
| GnuPG public key: http://www.jps.net/egm2/gpg.asc  |
++


Dselect Trouble

1999-10-19 Thread Rik Burt
I am having problems with the apt part of Dselect.  I can get it to
access an ftp site but as it is updating it gives a segmentation fault
in apt update.  What gives?

I am trying to install the stable (slink) version but I tried the potato
version and I had the same problem.   When I helped a friend install it
on his computer everything went fine.


Re: ipupload

1999-10-19 Thread John Hasler
T.V.Gnanasekaran wrote:
> But when I disconnect I can execute another script in ip-down.d because I
> use 'kill `cat /var/run/ppp0.d`' which is not a proper downing of route
> ppp0.

Of course it is (and ppp0 is an interface, not a route).  pppd takes down
the route when it receives the signal.  killing pppd is the normal way to
bring down a ppp connection.  Look inside poff.  It's just a wrapper around
kill.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI


Re: ipupload

1999-10-19 Thread Bart Szyszka
> I am connecting and disconnecting to the net over a modem line. My ISP
> gives dynamic IPs.
> I want to upload the IP that I get from my ISP to a website so that my
> friends can come to know if I am online. 

Why don't you and your friends use a program like ICQ? The site for
the Windows version (and I think Mac and a Java version) is at:
http://www.icq.com/

For Linux-based ICQ programs, go to:
http://www.portup.com/~gyandl/icq/

I also found this a second ago:
http://www.portup.com/~gyandl/icq/chart.html

I'm not sure how complete or accurate it is yet.

-- 
Bart Szyszka [EMAIL PROTECTED] ICQ:4982727
B Grafyx http://www.bgrafyx.com
L.J.R. Engineering http://www.ljreng.com
PHP Interest Group http://www.gigabee.com/pig/


Admin group?

1999-10-19 Thread Bryan Scaringe
Ok,
I'd like to create a admin group (adm), and have some
questions.  But first, my goals:

Ultimately, I want to have 2 accounts for myself (1 being root,
the other being a normal user.)  I also would like to create
a few accounts for friends.  My normal user account will
be added to the member of the "adm" group.

Questions:

1) What is the best way to prevent other users (except for my
   normal user) from running programs like dmesg?  I suppose
   I could always chgrp the programs to "adm", and change 
   permissions to -rwxr-x---.  Is this the recommended way?

2) How does Debian's package management system deal with this?
   Am I going to have to reset my permissions/groups after
   every "apt-get upgrade"?

3) Some versions are said to "not support the wheel group".
   how is this possible?  If I've set the group of the file
   to "wheel" (or "adm" in this case), and the permissions
   to -rwxr-x---, then how can the su executable get around this?

4) What binaries do you suggest putting in the "adm" group?


thanks in advance,
Bryan


dselect is killing me

1999-10-19 Thread jh
Hi. As anyone who has followed any of my posts knows, I'm totally green. At
this point I have debian installed. (from floppy) I now have access to my
cdrom. What I would like to do is install the x-window manager, as well as
some other things like joe. (some kind of text editor) I also want to
install the manual pages. Anyway, I go into dselect and mark the things I
want to install, I take care of the conflicts (that is I generally press
enter and let dselect figure it out) I go out of that screen and install
the packages that I marked. The message comes back:

Iso9660 extensions: Microsoft Joliet level 3
Unable to load NLS Charset iso8859-1(nls_iso8859_1)
Get currently installed package versions …
got 71 installed/pending packages
scanning available packages…cannot open
var/lib/dpkg/methods/multicd/available: no such file or directory

Does anyone know what this means? How can I get some things installed?

Thanks for your assistance,   

Jeff







can I list just the directories, executables?

1999-10-19 Thread jh
Hi. I would like to know if there is a command that will list just
directories? 

Also, is there a command that will list executable files. I just got debian
installed from floppy so there is not too much on my system. The only
fairly interesting program that I have discovered is ae (I think it stands
for anthony's editor) I have not figured out how to use it, it's pretty
arcane. 

Thanks for any suggestions,

Jeff


Re: no pon/wvdial

1999-10-19 Thread Brad
-BEGIN PGP SIGNED MESSAGE-

On Mon, 18 Oct 1999, pplaw wrote:

> pon used to work until i downloaded lots of files from the site and
> then installed wvdial, which seems to start the pppd.  i switch tty's
> and ping the isp.  nothing happens.
>
> here's /var/log/ppp.log:
> 
> pppd 2.3.5 started by root, uid 0
> using interface ppp0
> cannot determine ethernet address for proxy arp
> local ip address 208.205.225.177
> remote ip address 207.204.247.206
> 
> 
> 1.  what is wvdial  supposed to do or look like after the pppd
> starts?; (or, what do need to do to connect to my isp?);

I've never extensively used it, but it remains in the foreground for the
duration of the connection. There are others on this list who do use it,
they can certainly tell you more.
 
> 2.  why would wvdial "disable" pon?;

$ ls -l /usr/bin/pon
- -rwxr-xr-x   1 root root   45 Oct 11 18:30 /usr/bin/pon

If the above command doesn't give you output similar to that above, you
may want to consider reinstalling the ppp package. i've had both pon and
wvdial installed at the same time, and pon never stopped working for me.

> 3.  is there a log for pon (or does /var/log/ppp.log only apply to
> wvdial)?

/var/log/ppp.log does apply to pon. Although it could be different on
different distros... (a RedHat box i was working on at one point logged it
all to /var/log/messages).

> 4.  in the ppp.log, the remote ip address is foreign to me.  ...never
> heard of it.  my isp ip addy is 207.76.102.250.  so, how do i change
> 207.204.247.206 to 207.76.102.250?

Are you sure? The remote address is the address of the machine you're
connecting to at the ISP, which is not necessarily the same machine they
use for email, web hosting, or anything else. In fact, for most ISPs i'd
be mildly surprised if it were.

> a. in what file is the "remote ip address" being stored?

No file. It's maintained in a data structure in memory that is normally
erased when the connection goes down. Furthermore, if you did somehow
change this, you would no longer be able to reach the internet, because
you wouldn't be talking to the computer you're supposed to be talking to.


- -- 
  finger for PGP public key.


-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: noconv

iQCVAwUBOAvS6L7M/9WKZLW5AQGmZQP/Xr3jAq2PrbllyE+sdV+Le06n+6RAKz5M
2Mq8IlFfBTB+X1g/KPQMrlYMRm3JN/OkwJjGWD2Qvl4HVgS9fxP/6fx30PG6SJa/
Vdc9g48fErCdSUeekByvtjcb7wCq4fnv9M/Gy8Z+09V9X5j1Es97WZ70SrNWZg3R
kM8rEXFhUys=
=LwUU
-END PGP SIGNATURE-


seg faults while building kernel

1999-10-19 Thread Jacob Schmude
Hello

When I try to build a kernel the debian way, I get a seg fault. On my previous 
linux system this never happened. I'm trying to build a custom 2.0.36 kernel 
but may switch to 2.2 if that will help. The error is:

make: *** [first/rule] Segmentation fault
make: *** [first/rule] error 2

I'm able to reproduce this problem every time by doing the following:
cd /usr/src/linux/kernel-source-2.0.36
/usr/sbin/make-kpkg clean
/usr/sbin/make-kpkg --revision=custom.1.1 kernel-image

Then it happens. Any ideas? At the moment I'm using debian 2.1r3(slink) but 
will probably update to the snapshot of the potato version as it will fix some 
other problems I'm having with my sound card and sox.

Jacob


Re: Admin group?

1999-10-19 Thread Phil Brutsche
A long time ago, in a galaxy far, far way, someone said...

> Ultimately, I want to have 2 accounts for myself (1 being root,
> the other being a normal user.)  I also would like to create
> a few accounts for friends.  My normal user account will
> be added to the member of the "adm" group.
> 
> Questions:
> 
> 1) What is the best way to prevent other users (except for my
>normal user) from running programs like dmesg?  I suppose
>I could always chgrp the programs to "adm", and change 
>permissions to -rwxr-x---.  Is this the recommended way?

Generally, yes, that's close to the preferred way (many people with a BSD
tradition like to use the group wheel).

> 4) What binaries do you suggest putting in the "adm" group?

su, dmesg, and anything you don't feel comfortable with other people
running; the first two being some of the most important.

-- 
--
Phil Brutsche   [EMAIL PROTECTED]

"There are two things that are infinite; Human stupidity and the
universe. And I'm not sure about the universe." - Albert Einstein


Re: Newt0.30 in potato

1999-10-19 Thread Brad
-BEGIN PGP SIGNED MESSAGE-

On Mon, 18 Oct 1999, Robert Rati wrote:

> There was a posting on here a while ago about a fix for newt0.30 
> dependency problmes a little while ago, but the message archives don't
> seem to have caught up yet.  Does anyone remember what the solution was?
> I know where to get the package to fix the problem?  It's starting to get
> annoying not being able to upgrade some of these packages.  TIA.

newt0.30 has been replaced by libnewt0. i can't even find newt0.30 on the
mirrors i use (http.us.debian.org mostly) anymore. Also, the only package
on the mirrors i find that depends on any newt besides libnewt0 is
boot-floppies, which IIRC is still being massively hacked on ;)


- -- 
  finger for PGP public key.


-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: noconv

iQCVAwUBOAvUWL7M/9WKZLW5AQGCHgP9FpMhFKXQkHG0PFysQbz+tg4xLDQsZk9j
D95h1atsLXIA+/GdKGHu5Lko5C22YMfx76Mkeqsry7kBVmUY8D8PyjO4dVfvtq9h
pey7m34FRLrFvev91DnSE7E0/7cAvlxaHSrXVnXMIrQZAqdusxGypQeiPvdcSiEC
0QrGZ5MRYTo=
=iDA0
-END PGP SIGNATURE-


Re: Admin group?

1999-10-19 Thread Pollywog

On 19-Oct-99 Phil Brutsche wrote:
> A long time ago, in a galaxy far, far way, someone said...
> 
>> Ultimately, I want to have 2 accounts for myself (1 being root,
>> the other being a normal user.)  I also would like to create
>> a few accounts for friends.  My normal user account will
>> be added to the member of the "adm" group.
>> 
>> Questions:
>> 
>> 1) What is the best way to prevent other users (except for my
>>normal user) from running programs like dmesg?  I suppose
>>I could always chgrp the programs to "adm", and change 
>>permissions to -rwxr-x---.  Is this the recommended way?
> 
> Generally, yes, that's close to the preferred way (many people with a BSD
> tradition like to use the group wheel).

That is what I do with 'su', who, and other programs I don't want others to be
able to run.

--
Andrew


gcc in potato

1999-10-19 Thread Christopher J. Morrone

I am not sure where to complain about this...it probably isn't Debian's
problem, it is probably the new gcc.  The newest gcc in potato:

gcc version 2.95.2 19990906 (prerelease)

Seems to be pretty damn buggy.  There is a great store of code I have that
compiled under the last one I used:

gcc version egcs-2.91.66 Debian GNU/Linux (egcs-1.1.2 release)

That won't compile under the new one.  For instance, this assembly
function won't compile under 2.95.2, but is fine under 2.91.66:

/*  Read the pentium Time Stamp Counter register  */
unsigned long long read_TSC()
{
static union {
unsigned long dw[2];
unsigned long long counter;
} tc;

__asm__ __volatile__ (
".byte 0x0f, 0x31\n"
:"d=" (tc.dw[1]), "a=" (tc.dw[0]):
:"%eax", "%edx"
);

return tc.counter;
}

And I get this error:

arch.c: In function `read_TSC':
arch.c:30: warning: output constraint `=' for operand 0 is not at the
beginning
arch.c:30: warning: output constraint `=' for operand 1 is not at the
beginning
arch.c:30: Invalid `asm' statement:
arch.c:30: fixed or forbidden register 0 (ax) was spilled for class AREG.
make: *** [arch.o] Error 1

Should I just give up and use the gcc272 package?


Re: Admin group?

1999-10-19 Thread Brad
-BEGIN PGP SIGNED MESSAGE-

On Mon, 18 Oct 1999, Bryan Scaringe wrote:

> 3) Some versions are said to "not support the wheel group".
>how is this possible?  If I've set the group of the file
>to "wheel" (or "adm" in this case), and the permissions
>to -rwxr-x---, then how can the su executable get around this?

The way wheel works is that any user can use su, but only users in the
wheel group are allowed to su to root (uid 0). Your suggestion will not
let any user besides those in adm use su at all (which may be what you
want).

The programs that don't support wheel then are ones that don't have the
code for checking the group membership.


- -- 
  finger for PGP public key.


-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: noconv

iQCVAwUBOAvYCb7M/9WKZLW5AQHvEgP8DbbRsPI4cztoyODTDQdxI9ybIMsLp5PV
TAYg/gA47uXUkYg5FDrZ91Q9/TOVMZY+gyF2m5g+Nz6PkaNW7kxEccz8ULf8SZAP
mbukIieW4G90UJU3fedkbzLymMH7AWOmCLkYsZI+XiCDHPZ8NyOPRctZynlWWj9y
a2iOcHIi/aQ=
=rGij
-END PGP SIGNATURE-


qt2 packages?

1999-10-19 Thread Robert Rati
The qt2 packages in potato seem to have been replaced with libqt2
packages, but when I unpack them, I get an error saying:

dpkg: error processing /var/cache/apt/archives/libqt2_2.0.2-0.1_i386.deb
(--unpack):
 trying to overwrite `/usr/lib/libqimgio.so.0', which is also in package
qt1g

Is there a way around this conflict or is it going to be fixed soon?

Rob

[EMAIL PROTECTED]   1999-00 |
Aka Khyron the Backstabber  |   LI  NN N  U U  X X  O
ICQ# 2325055|   LI  N NN  U U   X
|   LLL  I  N  N  UUU  X X  O
"Shackles cannot keep me bound  |  Those who can, do.
 forever.  I'm outta here." |


Re: Admin group?

1999-10-19 Thread Christopher J. Morrone
On Tue, 19 Oct 1999, Pollywog wrote:

> On 19-Oct-99 Phil Brutsche wrote:
> > A long time ago, in a galaxy far, far way, someone said...
> > 
> >> Ultimately, I want to have 2 accounts for myself (1 being root,
> >> the other being a normal user.)  I also would like to create
> >> a few accounts for friends.  My normal user account will
> >> be added to the member of the "adm" group.
> >> 
> >> Questions:
> >> 
> >> 1) What is the best way to prevent other users (except for my
> >>normal user) from running programs like dmesg?  I suppose
> >>I could always chgrp the programs to "adm", and change 
> >>permissions to -rwxr-x---.  Is this the recommended way?

dmesg is not suid root...so the users can get that information themselves
without dmesg, or compile their own copy of dmesg.  There isn't much point
in changing the permissions on dmesg.

It is only on binaries that are suid and provide some special priveledges
that this is useful.


ALSA sound modules not loading

1999-10-19 Thread Marshal Wong
I'm using the latest potato right now.  The ALSA source compiled fine.
I used make-kpkg to install the modules.  But for some reason the
module won't start.  Every time I run /etc/init.d/alsa start, I get
the following.

Starting sound driver: snd-card-interwave /etc/init.d/alsa: line 10:  7070 
Segmentation fault  /sbin/modprobe $line >/dev/null 2>&1
failed.

To get this, I had to edit the file /etc/init.d/alsa to awk
/etc/modules.conf as opposed to conf.modules, since the new potato has
finally removed the old style conf.modules.  

a lsmod right after gives:
Module  Size  Used by
snd-cs4231 16876   0  (unused)
snd-mixer  24768   0  [snd-cs4231]
snd-pcm1   16604   0  [snd-cs4231]
snd-timer   7772   0  [snd-cs4231 snd-pcm1]
snd-midi   12524   0  (unused)
snd-pcm 8844   0  [snd-cs4231 snd-pcm1]
snd33612   0  [snd-cs4231 snd-mixer snd-pcm1 snd-timer 
snd-midi snd-pcm]
soundcore   2340   0  [snd]
ppp20012   0  (unused)
slhc4280   0  [ppp]
ne2k-pci4040   1 
83906068   0  [ne2k-pci]
parport_pc  5700   1  (autoclean)
lp  5092   0 
parport 7048   1  [parport_pc lp]
vfat8956   0  (unused)
fat28768   0  [vfat]

I can manually "modprobe snd-card-interwave" and it gives me no error,
so I have no idea what's going on.  

Any help would be appreciated.  Thanks.

Marshal


Re: Admin group?

1999-10-19 Thread Pollywog

On 19-Oct-99 Christopher J. Morrone wrote:
> dmesg is not suid root...so the users can get that information themselves
> without dmesg, or compile their own copy of dmesg.  There isn't much point
> in changing the permissions on dmesg.
> 
> It is only on binaries that are suid and provide some special priveledges
> that this is useful.

Thanks, I had wondered about that.

--
Andrew


-
GnuPG Public KeyID: 0x48109681
*we all live downstream*


Re: need a linux book

1999-10-19 Thread shaul
> Just a brief question. Do you guys think it is necessary to buy a debian
> specific book on linux or just a linux book in general? Do regular linux
> books cover topics like dselect? I live in a very small community and will
> need to buy online, so I can't browse.
> 
> Thanks, Jeff
> 

If you can browse the web then I believe that you can find a reasonably good 
online versions of both Linux and Debian specific books. As far as I know most 
regular linux books do not covers topics like dselect, but books that have 
some more details about specific Linux distro probably do cover it.
BTW: If dselect is what you are currently most interested in then I would read 
the debian FAQ and the dselect article that can be found on debian CDs where 
the various diskette images are found.


RE: dselect is killing me

1999-10-19 Thread Bryan Scaringe
Did you, by chance, re-compile your kernel?
I assume not, but there is a kernel module for reading NLS Charset
iso8859-1.  It should be automagically loaded for you.

Let me know.

Bryan

On 19-Oct-99 jh wrote:
> Hi. As anyone who has followed any of my posts knows, I'm totally green. At
> this point I have debian installed. (from floppy) I now have access to my
> cdrom. What I would like to do is install the x-window manager, as well as
> some other things like joe. (some kind of text editor) I also want to
> install the manual pages. Anyway, I go into dselect and mark the things I
> want to install, I take care of the conflicts (that is I generally press
> enter and let dselect figure it out) I go out of that screen and install
> the packages that I marked. The message comes back:
> 
> Iso9660 extensions: Microsoft Joliet level 3
> Unable to load NLS Charset iso8859-1(nls_iso8859_1)
> Get currently installed package versions …
> got 71 installed/pending packages
> scanning available packages…cannot open
> var/lib/dpkg/methods/multicd/available: no such file or directory
> 
> Does anyone know what this means? How can I get some things installed?
> 
> Thanks for your assistance,   
> 
> Jeff
> 
> 
> 
> 
> 
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] <
> /dev/null


Re: motif qt and gtk

1999-10-19 Thread Bryan Scaringe
I haven't used them myself, but they exist, according to www.gtk.org.


On 18-Oct-99 zhaoway wrote:
> Bryan Scaringe wrote:
>> Just to clarify:
>> 
>> GTK is C based, but language bindings/wrappers exist for several languages
>> (check http://www.gnome.org) , including C++.  The C++ wrapper is called
>> GTK--.
> 
> What 'bout the Perl/Python Gtk/Tk/Qt/KDE bindings? Just curious.
> I use Perl/Tk to develope small GUI programs for personal amusement.
> 
> -- 
> zhaoway
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] <
> /dev/null


Re: ALSA sound modules not loading

1999-10-19 Thread flonesaw
Marshal,

There is a Seg fault problem with the ALSA drivers.

I have a Creative Ensoniq PCI64 (ens1371) soundcard and the ALSA
drivers do the same thing to me.  This is on a S.u.S.E. system with
kernel 2.2.5.

What I do is to put the modprobe command in a script in my /root/bin
directory and run it manually until the driver "catches" and doesn't
segfault.  Then, everything works fine.

Since I almost never reboot my machine, this works well for me.

I have reported this to the ALSA people.  They responded that it was a
S.u.S.E. problem.  Apparently it isn't.  I would recommend you go to
the ALSA site and report it yourself.

Regards,

Arne

> I'm using the latest potato right now.  The ALSA source compiled fine.
> I used make-kpkg to install the modules.  But for some reason the
> module won't start.  Every time I run /etc/init.d/alsa start, I get
> the following.
> 
> Starting sound driver: snd-card-interwave /etc/init.d/alsa: line 10:  7070 
> Segmentation fault  /sbin/modprobe $line >/dev/nul
l 2>&1
> failed.
> 
> To get this, I had to edit the file /etc/init.d/alsa to awk
> /etc/modules.conf as opposed to conf.modules, since the new potato has
> finally removed the old style conf.modules.  
> 
> a lsmod right after gives:
> Module  Size  Used by
> snd-cs4231 16876   0  (unused)
> snd-mixer  24768   0  [snd-cs4231]
> snd-pcm1   16604   0  [snd-cs4231]
> snd-timer   7772   0  [snd-cs4231 snd-pcm1]
> snd-midi   12524   0  (unused)
> snd-pcm 8844   0  [snd-cs4231 snd-pcm1]
> snd33612   0  [snd-cs4231 snd-mixer snd-pcm1 snd-timer 
> snd-midi snd-pcm]
> soundcore   2340   0  [snd]
> ppp20012   0  (unused)
> slhc4280   0  [ppp]
> ne2k-pci4040   1 
> 83906068   0  [ne2k-pci]
> parport_pc  5700   1  (autoclean)
> lp  5092   0 
> parport 7048   1  [parport_pc lp]
> vfat8956   0  (unused)
> fat28768   0  [vfat]
> 
> I can manually "modprobe snd-card-interwave" and it gives me no error,
> so I have no idea what's going on.  
> 
> Any help would be appreciated.  Thanks.
> 
> Marshal
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null


RE: dselect is killing me

1999-10-19 Thread jh
At 10:41 PM 10/18/99 -0400, you wrote:
>Did you, by chance, re-compile your kernel?
>I assume not, but there is a kernel module for reading NLS Charset
>iso8859-1.  It should be automagically loaded for you.
>
>Let me know.
>
>Bryan

I did not recompile. I may have done something to hurt the kernel though I
don't know what. I messed around a little in root doing things like ls /*
just to list the files (It makes me feel like I'm doing something) Not much
seems to happen automagically in debian. I'ts like the difference between
manual and stick shift. Now if I could just keep from killing the engine.

Jeff



Re: ALSA sound modules not loading

1999-10-19 Thread Brad
-BEGIN PGP SIGNED MESSAGE-

On Mon, 18 Oct 1999, Marshal Wong wrote:

> I'm using the latest potato right now.  The ALSA source compiled fine.
> I used make-kpkg to install the modules.  But for some reason the
> module won't start.  Every time I run /etc/init.d/alsa start, I get
> the following.
> 
> Starting sound driver: snd-card-interwave /etc/init.d/alsa: line 10:  7070 
> Segmentation fault  /sbin/modprobe $line >/dev/null 2>&1
> failed.

i can get this too, but only if ALSA's isapnp module is already loaded
when i do the modprobe. If i rmmod that isapnp module before
i /etc/init.d/alsa start, it all loads fine. Also, if i do the modprobe a
second time (after the segfault) it all works fine.

A patch is attached that'll remove the isapnp module on /etc/init.d/alsa
stop. As root, cd to /etc/init.d and "cat patch | patch -p1".

> To get this, I had to edit the file /etc/init.d/alsa to awk
> /etc/modules.conf as opposed to conf.modules, since the new potato has
> finally removed the old style conf.modules.  

Yeah, i noticed that too. Looks like someone already filed the bug report
though.


- -- 
  finger for PGP public key.

-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: noconv

iQCVAwUBOAvmdr7M/9WKZLW5AQG2jwQAhgaeYEe/guVEz96bZ/953r8r7z58HLDY
CVBWApt2rsSL68Vz5AQ3zzYZBqGExKre6D/qDAhicGk+uSlCFWDBY74vB9IdEAiP
ZP2WdWg7xnn10zSKxJ8mtLarmHFg/hLF4fmvlSQ/BziE5w3M6T9GQ/ezy0W8PWpq
0KEv0JUBdzE=
=7cem
-END PGP SIGNATURE-
diff -u old/alsa new/alsa
--- old/alsaMon Oct 18 22:24:10 1999
+++ new/alsaMon Oct 18 22:25:03 1999
@@ -37,8 +37,8 @@
   #
   # Note: configuration actually lives in /etc/modutils/alsa,
   # however, since modprobe knows nothing about that, we use
-  # /etc/conf.modules instead.
-awk '/^alias +snd-card-[0-9]/ {print $3}' /etc/conf.modules | \
+  # /etc/modules.conf instead.
+awk '/^alias +snd-card-[0-9]/ {print $3}' /etc/modules.conf | \
 while read line; do
   echo -n "Starting sound driver: $line "
   if /sbin/modprobe $line >/dev/null 2>&1; then
@@ -64,6 +64,8 @@
   /sbin/lsmod | grep -E "^snd" | while read line; do \
  /sbin/rmmod `echo $line | cut -d ' ' -f 1` >/dev/null 2>&1 || true; \
   done
+  # Remove the isapnp module, if possible
+  /sbin/rmmod isapnp >/dev/null 2>&1 || true
   # remove the 2.2 soundcore module (if possible)
   /sbin/rmmod soundcore >/dev/null 2>&1 || true
 }


es1371 sound

1999-10-19 Thread Dave Blears
Hi

am having problems with getting an es1371 sound card going and am in need
of some collective wisdom!

dmesg shows the card there
 
es1371: found adaptor at io 0xef00 irq 5

but i get the following errors and no sound :P

es1371: dma timed out??

any clue appreciated!

-- 

Best Regards

Dave

---
Closer To Home Systems * Shop 6, 44 King Street * Caboolture, Qld, 4510
Ph 07 5499 3000 * Fax 07 5499 1822 * Mob 0416 173 522 * [EMAIL PROTECTED]
ICQ 1955906 * We Specialise in Computing Solutions and Personal Support
New Systems * Upgrades * Repairs * Small Business Networking * Software
---


enlightenment problem

1999-10-19 Thread Stephan Vachon
I just switched from slink to potato, so I could get XFree68 3.3.4, which
supports the millenium G400.

After setting up all the files, and running xf86config, I could get Window
Maker to run. However, when I tried enlightenment, I got the error
message:

>Enlightenment is unable to initialise Imlib.
>
>This is unusual. Unable to continue.
>Exiting.

I've tried both the stable and unstable versions of Enlightenment, and get
the same error each time. Any help would be appreciated. 

Thanks,
Stephan Vachon


Sudo and other root-based security issues

1999-10-19 Thread David J. Kanter
>From what I've read, I'm relatively pertrified to use my root account unless
absolutely necessary, like configuring X or setting up my MTA. (There are
only two users here, me and root.)

But since some commands require root access, and it's a pain to su root all
the time, how secure is it to run sudo on something like wvdial or slrnpull?

I'm generally under the impression that once logged on as root and on-line
with the Internet, anyone can crack into my system. This has got to be
wrong, right?

Thanks.
-- 
David J. Kanter
[EMAIL PROTECTED]
Debian 2.1 


problems with sendmail on new potato laptop

1999-10-19 Thread Michael Perry
Hi all-

I had a recurring problem getting the latest sendmail to work today on a new
potato laptop.  IT continually bombed trying to find a required file; namely
the aliases file that lives on my desktop in /etc.  I tried numerous
reinstalls of the latest sendmail in the instable tree but it would not
succeed until I copied another alias file and then reinstalled.  IT still
wanted three other optional databases which I have no idea what they are. 
Another thing, now when I write a fetchmailrc file, it wants a mda statement
in the file.  I dont recall this behavior before.  I know that debian uses
procmail as the local delivery agent.  Without a mda line, mail is received
but just disappears to some unknown location...

The aliases file appears to be built by any number of mail agents like exim
but none of these would build one when I attempted to install them.  Pretty
wierd.  I built the potato laptop from hand after installing a base system
from floppy diskettes and a nfs mount.

-- 
Michael Perry   
[EMAIL PROTECTED]
--


Re: Emacs20 install error

1999-10-19 Thread Carl Greco
Ian, Thanks for your help.  I have the
/usr/share/emacs/19.34/lisp/debian-rundir.elc
file but not the .el one which, I suspect, is the problem.  Install
script is probably looking for *.el to byte compile it for emacs20.
Unless I hear otherwise, my next step will be to purge both emacs19
and 20 and start over.

> On Sat, Oct 16, 1999 at 01:55:41PM -0500, Carl Greco wrote:
> > I am attempting to replace emacs-19.34 with emacs-20.3 on a Slink
> > system with the following steps:
> > 
> > 1) Remove emacs19:  dpkg -r emacs19
> >[leaving emacsen-common (1.4.8) installed]
> > 
> > 2) Install emacs:  apt-get install emacs20
> > 
> >Emacs installs but fails to configure with the following error
> >message: 
> > 
> >Cannot open load file: debian-rundir
> >emacs-install: /usr/lib/emacsen-common/packages/install/emacsen-common 
> > emacs20 failed at /usr/lib/emacsen-common/emacs-install line 28.
> >dpkg: error processing emacs20 (--configure):
> >subprocess post-installation script returned error exit status 29
> >Errors were encountered while processing:
> >emacs20
> >E: Sub-process returned an error code
> > 
> > 
> > Also attempted to install emacs20 with dpkg with similar results.
> > Could not find "debian-rundir" on disk or distribution CD.  Where do I
> > get "debian-rundir"?
> > 
> 
> I'm not sure I can be much help but as no one else has replied...  On my
> system where I have both emacs19 and emacs20 installed and working I get
> 
> $ locate debian-rundir
> /usr/share/emacs/19.34/lisp/debian-rundir.el
> /usr/share/emacs/19.34/lisp/debian-rundir.elc
> 
> and
> 
> $ dpkg -L emacs20 |grep debian-rundir
> $ 
> 
> I had a quick scan of the install scripts for emacs20 (package version
> 20.3-7) in /var/lib/dpkg/info and saw no mention of debian-rundir
> which is kinda odd, so what package version are you trying to install?
> I remember I had problems when first installing Debian (hamm) and had
> to install emacs19 to get emacs20 to install properly.  Maybe you
> should try installing emacs20 first and *then* remove emacs19.  Either
> way if emacs20 needs emacs19 stuff to install it's a bug and you
> should probably file a bug report.
> 
> Probably not much help but there you go...
> 
> Ian.
> 


-- 
Carl Greco
[EMAIL PROTECTED]


Re: apache + cgi

1999-10-19 Thread Mojahedul Hoque Abul Hasanat
On Tue, Oct 19, 1999 at 12:42:10AM +0200, Pere Camps wrote:

> Hi!
>
> Is there any way to limit the execution time/child processes
> of an CGI executed by apache?

Use the directives RLimitCPU, RLimitNPROC, RLimitMEM, etc in the
apache config file.  See the docs for details.

Alternatively you could use the cgiwrap utility.  Look at:

  http://wwwcgi.umr.edu/~cgiwrap/

-- 
Mojahed


X won't start

1999-10-19 Thread Bob Nielsen
I just installed lesstif-bin on my potato system (apt also installed
lesstif1 and removed lesstifg) and now I can't start X.  I get the
message:

Fatal server error:
could not open default font 'fixed'

I don't see any connection between lesstif and a missing font.  Does
anyone know what might have happened?

-- 
Bob Nielsen Internet: [EMAIL PROTECTED]
Tucson, AZ  AMPRnet:  [EMAIL PROTECTED]
DM42nh  http://www.primenet.com/~nielsen


Re: Upgrade and floppy

1999-10-19 Thread Bob Nielsen
The floppy will still boot the same kernel, but it will be compatible. 
If you upgrade to a newer kernel at some time, you should prepare a new
boot floppy (if it is a .deb kernel image package, you will be asked
whether you want to make a floppy).

You might consider installing LILO for the ability to boot either Win95
or LILO from the hard drive.

On Sun, Oct 17, 1999 at 01:06:04AM +0200, David Jardine wrote:
> As an inexperienced debian user, I rashly followed some instructions
> I read somehwere to do an update/upgrade from the slink version I
> installed from a couple of CDs that fell off the back of a magazine.
> 
> I have a debian/win95 system with a debian boot floppy.  I boot to
> one or the other system by having the bios set to boot A:C and
> putting the debian floppy in the drive if I want debian.  Now I
> realise that the only way to boot debian is with the old version on
> my floppy disk.
> 
> I don't actually know if I achieved anything with my apt-get dist-
> upgrade, apt-get update and apt-get install libc6, but I do have
> the feeling that I'll only get to debian with the old version on my
> floppy disk anyway.
> 
> How do I find out what sort of state my system is in now? And is
> there a way to get the new system (if I've got it) on to the floppy
> disk?
> 
> I'm only subscribed to the digest list, so it might take some time
> for me to read any replies, but I'd be most grateful anyway.
> 
> David
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 

-- 
Bob Nielsen Internet: [EMAIL PROTECTED]
Tucson, AZ  AMPRnet:  [EMAIL PROTECTED]
DM42nh  http://www.primenet.com/~nielsen


Re: RAM Problems....

1999-10-19 Thread Brant Wells

Hi All... Thanks for the replies...

I finally got the 2.2.1 kernel booted... It did solve the problem :)

Thanx ,

Brant Wells; [EMAIL PROTECTED]

__
Get Your Private, Free Email at http://www.hotmail.com


potato boot-floppies

1999-10-19 Thread Onno
Marcel had last friday some new potato boot-floppies compiled and
made available at http://pandora.debian.org/~marcel/attic/boot-floppies/

The boot-floppies aren't there anymore...
Does anyone have a copy of them on the net???

Thanks,

Onno



Network Card on PCMCIA...

1999-10-19 Thread Brant Wells

Howdy Y'all

I'm doing an installation of Debian for a friend.  He's got an IBM Thinkpad 
360Cs w/8 megs of ram & a 165 meg hard drive.


I need to get the TrendNet PCMCIA network card going, so I can mount the 
Debian CD that's on My linux box...  Help!


Thanx

Brant Wells

"As for me and my house, we will serve the Lord."
Joshua 24:15

__
Get Your Private, Free Email at http://www.hotmail.com


RE: Sudo and other root-based security issues

1999-10-19 Thread Bryan Scaringe
Actually, how a cracker will typically try to get in is by exploiting
security holes in deamons that listen to network ports.  These programs
USUALLY run as root.  Logging in as root presents little-to-no
additional risk.  If your system security is weak, logging-in as root
wont cause much additional risk.  If it's strong, you generally worry.

That said, if you are going to bring your machine on-line,
it would be worth your while to chech into the debia site every few days
to check for security advisories.

You also want to read the security howto, the ipchains howto, and look into
tripwire.

The real reason use of the root account is discuraged is that one poorly
typed command can really screw up your system.  For example, try this:

ls a*

now try:

ls a *

one misplaced space makes a world of difference.  Glad that wasn't "rm"
instead of "ls"?

Bryan


On 19-Oct-99 David J. Kanter wrote:
> From what I've read, I'm relatively pertrified to use my root account unless
> absolutely necessary, like configuring X or setting up my MTA. (There are
> only two users here, me and root.)
> 
> But since some commands require root access, and it's a pain to su root all
> the time, how secure is it to run sudo on something like wvdial or slrnpull?
> 
> I'm generally under the impression that once logged on as root and on-line
> with the Internet, anyone can crack into my system. This has got to be
> wrong, right?
> 
> Thanks.
> -- 
> David J. Kanter
> [EMAIL PROTECTED]
> Debian 2.1 
> 


dpkg: error processing /var/cache/apt/archives/dnsutils_1%3a8.2.1-7_i386.deb

1999-10-19 Thread shaul
1) What am I doing wrong ?
2) Is it possible to intsall unstable's bind without having problems with 
commercial software ?

[07:30:43 /tmp]# apt-get install dnsutils
Reading Package Lists... Done
Building Dependency Tree... Done
1 packages upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
Need to get 0B/421kB of archives. After unpacking 395kB will be used.
(Reading database ... 34813 files and directories currently installed.)
Preparing to replace dnsutils 1:8.1.2-5 (using .../dnsutils_1%3a8.2.1-7_i386.de
b) ...
Unpacking replacement dnsutils ...
dpkg: error processing /var/cache/apt/archives/dnsutils_1%3a8.2.1-7_i386.deb 
(--unpack):
 trying to overwrite `/usr/bin/dnsquery', which is also in package bind
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/dnsutils_1%3a8.2.1-7_i386.deb
E: Sub-process returned an error code (1)
[07:31:19 /tmp]#


Re: modprobe errors return

1999-10-19 Thread Christian Dysthe
On 18 Oct, Pollywog wrote:
> Those odd modprobe errors have returned after I did an apt upgrade today.
> 
> Oct 18 21:43:46 lilypad modprobe: Note: /etc/modules.conf is more recent than
> /lib/modules/2.2.12/modules.dep
> Oct 18 21:43:53 lilypad insmod: Note: /etc/modules.conf is more recent than
> /lib/modules/2.2.12/modules.dep
> Oct 18 21:43:53 lilypad insmod: Note: /etc/modules.conf is more recent than
> /lib/modules/2.2.12/modules.dep
> Oct 18 21:44:40 lilypad modprobe: Note: /etc/modules.conf is more recent than
> /lib/modules/2.2.12/modules.dep
> 
> Could it be a problem with a package?
> 
> --
> Andrew
> 
> 
> -
> GnuPG Public KeyID: 0x48109681
> *we all live downstream*
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
I still get this when I do depmod -a. I have recompiled my kernel

depmod: *** Unresolved symbols in /lib/modules/2.2.9/misc/aten.o
depmod: *** Unresolved symbols in /lib/modules/2.2.9/misc/bpck.o
depmod: *** Unresolved symbols in /lib/modules/2.2.9/misc/comm.o
depmod: *** Unresolved symbols in /lib/modules/2.2.9/misc/dstr.o
depmod: *** Unresolved symbols in /lib/modules/2.2.9/misc/epat.o
depmod: *** Unresolved symbols in /lib/modules/2.2.9/misc/epia.o
depmod: *** Unresolved symbols in /lib/modules/2.2.9/misc/fit2.o
depmod: *** Unresolved symbols in /lib/modules/2.2.9/misc/fit3.o
depmod: *** Unresolved symbols in /lib/modules/2.2.9/misc/friq.o
depmod: *** Unresolved symbols in /lib/modules/2.2.9/misc/frpw.o
depmod: *** Unresolved symbols in /lib/modules/2.2.9/misc/kbic.o
depmod: *** Unresolved symbols in /lib/modules/2.2.9/misc/ktti.o
depmod: *** Unresolved symbols in /lib/modules/2.2.9/misc/on20.o
depmod: *** Unresolved symbols in /lib/modules/2.2.9/misc/on26.o
depmod: *** Unresolved symbols in /lib/modules/2.2.9/misc/pcd.o
depmod: *** Unresolved symbols in /lib/modules/2.2.9/misc/pd.o
depmod: *** Unresolved symbols in /lib/modules/2.2.9/misc/pf.o
depmod: *** Unresolved symbols in /lib/modules/2.2.9/misc/pg.o
depmod: *** Unresolved symbols in /lib/modules/2.2.9/misc/pt.o

This also shows up when I boot. Weird. I am still hoping it will go
away by itself just like it started by itself :)


--

Regards,
Christian Dysthe
E-mail: [EMAIL PROTECTED]
Web: http://oddbird.dyndns.org/cdysthe/
ICQ 3945810
Powered by Debian GNU/Linux

   
"Clones are people two"


Re: slink and potato

1999-10-19 Thread Todd Suess


On Mon, 18 Oct 1999, Dave Baker wrote:

> On Sun, 17 Oct 1999, Todd Suess wrote:
> 
> > I was brave, I just did apt-get dist-upgrade and waiting about 10 hours
> > for it to download everything and upgrade.  Have had very little trouble
> > with it.
> > 
> > -Todd
> > 
> > ps. for this to work, you of course have to have apt installed and
> > a entry in sources.list pointing to an unstable archive.
> > 
> 
> Having just spent some of the weekend fighting with this, I wonder if I
> can throw out a few Qs.
> 
> 1) did you have gnome installed?  I had to uninstall practically all of
> gnome by hand before apt-get would continue due to dependencies.

Nope, I did not have gnome installed.

> 
> 2) did you have emacs installed?  same deal as above.  Also some conflicts
> with bind and dnsutils stepping on each other during the upgrade (had to
> uninstall manually, then reinstall after it was done).  

Yes, emacs was installed, didn't really have any problems with it tho.
> 
> 3) when you add unstable sources in sources.list, do you first remove the
> stable ones?  I wonder if this could have caused some of my probs.

No, my sources.list still has stable and unstable entries, mainly because
I was too lazy to remove them, but once I upgraded since it goes by
version numbers everything I install now comes from unstable, so I guess
I could take the stable portions out, doesn't really matter.

> 
> 4) at what point does your kernel get upgraded to 2.2.x (or 2.3.x)?  Mine
> is sitting at 2.0.36 still and I'm in the process of using kernel-package
> to go to 2.2.12 - I had expected this to be done through the dist-upgrade
> but it didn't ...

I recompiled my kernel right from 2.0.36 to 2.2.12-3, but I did it after
my system was almost completely potato.  No problems compiling, and I have
compiles several more times since with no trouble.

> 5) I had to restart the apt-get dist-upgrade five or six times (or more)
> because it kept being killed by packages that didn't install correctly.

Interesting, I didn't have a problem with this, but if I did have a
package that didn't want to install correctly (such as dependancy
overwrite problems, etc) I just made a note of it and used dpkg -i --force
overwrite on those.

> 
> My debian install was a fairly fresh 2.1r2 with gnome and kde updates
> through apt.  Since I had a pretty awful time fighting through it, perhaps
> it can be of use to help the old stable -> new stable upgrade process go
> smoother for everyone else ...
> 
> -dave
> 
> 
> --
>| oOOooO   /  
>  --|oOobodoO/   [EMAIL PROTECTED]
>  --| ooOoOo   /
>|   II   / The wise man tells you where you have fallen
>|   II /  and where you may fall - Invaluable secrets.
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> 


Re: enlightenment problem

1999-10-19 Thread John Miskinis

Hi Stephan,

I have only seen the enlightenment on the slink CD.  But when I
checked it out, I think I got around the same problem by running
a program called imlib_config (or something close).

If you type imlib at the prompt, you should see it.

Hope this helps,

John

P.S.  I never got enlightment-conf to run, something about needing
 a newer lib6.  Enlightenment looked real nice, made cool
 sounds, but I couldn't get it to do anything useful for me :(

__
Get Your Private, Free Email at http://www.hotmail.com


Re: need a linux book

1999-10-19 Thread Raghavendra Bhat
jh is kooking for a hand to hold:

> Just a brief question. Do you guys think it is necessary to buy a debian
> specific book on linux 
>

There is a recent Debian specific book from O' Reilley and it is 
available online too.

Do a 'wget -r --no-parent www.ora.com/catalog/debian/chapter'



ragOO, VU2RGU. PGP Key 1024/1A747CB1 
Fingerprint: 61 CD 0F 96 7A 94 4F F6 F0 42 1B 6D C0 A4 24 CF 
-- 
Keeping the Air-Waves FREE.Amateur Radio
Keeping the W W W FREE..Debian GNU/Linu


How to find the ethernet add of NIC

1999-10-19 Thread ZEN MYSTIC

hi ..anyone knows how to find the ethernet add of NIC

pls .

bye..

=
" If making love is an Art, I'm an Artist"--->ZEN MYSTIC
__
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com


Re: kernel panic: VFS: unable to mount root fs

1999-10-19 Thread Mirek Kwasniak
On Mon, Oct 18, 1999 at 05:09:13PM -0700, T.V.Gnanasekaran wrote:
> hello,
> I am trying to install kernel 2.2.12. I compiled as documented in the
> README of the kernel source distribution.  I edited lilo.conf and exec
> lilo and added. My root dev=/dev/sda3 (extend partition) boot=/dev/sda
> But when I tried booting the new kernel, I got 
> 
> VFS: Cannot open root device 08:06
> Kernel Panic: VFS: Unable to mount root fs on 08:06
> 
> what should I do now?

Compiled ext2 filesystem as module? Make it permanent.

Mirek


Re: hda: irq timeout

1999-10-19 Thread E.L. Meijer \(Eric\)
On Mon, Oct 18, 1999 at 04:58:56PM +0200, Peter Weiss wrote:
> 
> Hello,
> 
> running kernel 2.2.12 on a new machine I found the following kernel
> messages in the syslog file with decreasing time intervalls:
> 
> Oct 18 16:28:38 Winona kernel: ide0: reset: success 
> Oct 18 16:30:45 Winona kernel: hda: irq timeout: status=0xd0 { Busy } 
> Oct 18 16:30:47 Winona kernel: ide0: reset: success 
> Oct 18 16:33:15 Winona kernel: hda: irq timeout: status=0xd0 { Busy } 

Ouch!

[...]

> Does anybody have ideas/ suggestions?

Make backups quickly!  I have seen this kind of messages three times
now, and each time they came from a dying hard disk.  Especially the
fact that it occurs at decreasing intervals is alarming.  Try to backup
valuable data first, and then do a fsck on the disk.  If you find a lot
of errors, it is almost certain the disk is failing.

The problem could also be in the hard disk controller or the
motherboard.  Maybe reseating the connectors helps.

Good luck,
Eric

-- 
 E.L. Meijer ([EMAIL PROTECTED])
 Eindhoven Univ. of Technology
 Lab. for Catalysis and Inorg. Chem. (SKA)


Warning - ipmasq

1999-10-19 Thread Art Lemasters
 I installed ipmasq and lost connectivity to the Internet
with its default configuration.  ...another lesson to read before
I install.   ;-)

Art

 


Re: hda: irq timeout

1999-10-19 Thread Peter Weiss
> On Tue, 19 Oct 1999 09:05:17 +0200, "E.L. Meijer \(Eric\)" <[EMAIL 
> PROTECTED]> said:

Eric> On Mon, Oct 18, 1999 at 04:58:56PM +0200, Peter Weiss wrote:
>>
>> Hello,
>>
>> running kernel 2.2.12 on a new machine I found the following kernel
>> messages in the syslog file with decreasing time intervalls:
>>
>> Oct 18 16:28:38 Winona kernel: ide0: reset: success
>> Oct 18 16:30:45 Winona kernel: hda: irq timeout: status=0xd0 { Busy }
>> Oct 18 16:30:47 Winona kernel: ide0: reset: success
>> Oct 18 16:33:15 Winona kernel: hda: irq timeout: status=0xd0 { Busy }

Eric> Ouch!

Eric> [...]

>> Does anybody have ideas/ suggestions?

Eric> Make backups quickly!  I have seen this kind of messages three times
Eric> now, and each time they came from a dying hard disk.  Especially the
Eric> fact that it occurs at decreasing intervals is alarming.  Try to backup
Eric> valuable data first, and then do a fsck on the disk.  If you find a lot
Eric> of errors, it is almost certain the disk is failing.

Eric> The problem could also be in the hard disk controller or the
Eric> motherboard.  Maybe reseating the connectors helps.

Eric> Good luck,

Thanks, but the hardware is just about 4 weeks old... and there are no
other probs than these. Fsck works with no big errors and the time
decreasing intervalls seem to be temperature related (van etc checked of
course).


   Peter

--
--
Peter Weiss, Baldestraße 14, 80469 München, Tel. 089/ 20232434
--
---The foolish ones taught more to me than the wise ones ever could---
--


Re: How to find the ethernet add of NIC

1999-10-19 Thread Patrick Kirk
First load the module, then ifconfig to give IP info to card and then route
add -n xxx.xxx.xxx.0 dev eth1

- Original Message -
From: ZEN MYSTIC <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, October 19, 1999 7:40 AM
Subject: How to find the ethernet add of NIC


>
> hi ..anyone knows how to find the ethernet add of NIC
>
> pls .
>
> bye..
>
> =
> " If making love is an Art, I'm an Artist"--->ZEN MYSTIC
> __
> Do You Yahoo!?
> Bid and sell for free at http://auctions.yahoo.com
>
>
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] <
/dev/null
>
>


Re: mktemp segfaults

1999-10-19 Thread Bernhard Rieder
Bernhard Rieder wrote:

Thank You for all your answers. Maybe the glib info-files
are better than the html documentation.


Re: hda: irq timeout

1999-10-19 Thread Phillip Deackes
"E.L. Meijer \(Eric\)" <[EMAIL PROTECTED]> wrote:
> 
> Make backups quickly!  I have seen this kind of messages three times
> now, and each time they came from a dying hard disk.  Especially the
> fact that it occurs at decreasing intervals is alarming.  Try to
> backup
> valuable data first, and then do a fsck on the disk.  If you find a
> lot
> of errors, it is almost certain the disk is failing.
> 
> The problem could also be in the hard disk controller or the
> motherboard.  Maybe reseating the connectors helps.

About 18 months ago I upgraded my hard drive and was plagued with these
messages. I got a Quantum Bigfoot and ended up taking it back and
swapping it for something else. To cut a long story short, I went
through a few drives before I found one which did not exhibit the
errors. 

I still don't really know what caused the problem. I have seen *many*
postings about it on the 'net and no real answers. I suppose people
don't usually try half a dozen disk drives and log the problems
encountered with each. I do suspect it does not necessarily mean a
failing drive since it occurs with brand new drives too. Have a look at
whether you are using Ultra DMA and try disabling it.

I have had few problems with drives bought in the last year - my current
drive, a Quantum Fireball EX 6.4 GB, has behaved flawlessly. Maybe it is
the interaction between motherboard and hard drive?


--
Phillip Deackes
Debian Linux (Potato) 


Re: Newbie guides on new site

1999-10-19 Thread Patrick Kirk
I have a public IP number at 212.19.67.118 that I'd be happy to make
available for this site...

Patrick
- Original Message -
From: Muhammad Yusuf <[EMAIL PROTECTED]>
To: 
Sent: Monday, October 18, 1999 9:22 PM
Subject: Newbie guides on new site


> Hi all. I've put a very basic and brief guide to using Debian for newbies
on
> my site at http://gnulinuxguides.tripod.com/
> It may be of some use. If any of you have any comments or suggestions, I'd
> welcome them. I plan to add more, time willing.
> Thanx.
>
> __
> Get Your Private, Free Email at http://www.hotmail.com
>
>
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] <
/dev/null
>
>


Re: seg faults while building kernel

1999-10-19 Thread Andrew Hately
"Jacob Schmude
> 
> Hello
> 
> When I try to build a kernel the debian way, I get a seg fault. On my 
> previous linux system this never happened.

Was the previou s linux system on this or other hardware?
If other, then I suspect your current hardware. Read the Sig11 faq.
Often a go-faster option that is enabled pushes the machine into instability
that is clearly evident when the machine is compiling a kernel and less
obvious at other times; another cause can be a bug in the motherboard.
A slow process of elimination is required to determine the precise cause of
the problem; I had trouble with one motherboard which I traced to the bios
option "NA# asserted" _or_ to having more than 64MB of ram fitted. Great,
eh?

Andrew
-- 
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=45690


Re: dpkg: error processing /var/cache/apt/archives/dnsutils_1%3a8.2.1-7_i386.deb

1999-10-19 Thread Jean-Yves BARBIER
On Tue, Oct 19, 1999 at 07:34:11AM +0200, shaul wrote:
>  trying to overwrite `/usr/bin/dnsquery', which is also in package bind
> dpkg-deb: subprocess paste killed by signal (Broken pipe)

Hi Shaul,

I had the same PB with a package from KDE;
I used "dpkg -i --force-overwrite "
to overwrite the existing file which causes the problem

JY
-- 
Jean-Yves F. Barbier <[EMAIL PROTECTED]>
 Different all twisty a of in maze are you, passages little.


Network problem-->cannot resolve the ip to dns

1999-10-19 Thread ZEN MYSTIC

hi...
 i have sort of network problem here..
 recently i have changed my ip add..and was  previouly
running apache and ws-ftp...now i could'nt ping and
access the machine by typing it's dns(the name of the
machine following by its domain name) but if i type
the ip i could get access...

pls help..how to solve this problemmm

=
" If making love is an Art, I'm an Artist"--->ZEN MYSTIC
__
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com


Re: hda: irq timeout

1999-10-19 Thread Jean-Yves BARBIER
On Tue, Oct 19, 1999 at 09:05:17AM +0200, E.L. Meijer Eric" wrote:
> On Mon, Oct 18, 1999 at 04:58:56PM +0200, Peter Weiss wrote:
> > 
> > Hello,
> > 
> > running kernel 2.2.12 on a new machine I found the following kernel
> > messages in the syslog file with decreasing time intervalls:
> > 
> > Oct 18 16:28:38 Winona kernel: ide0: reset: success 
> > Oct 18 16:30:45 Winona kernel: hda: irq timeout: status=0xd0 { Busy } 
> > Oct 18 16:30:47 Winona kernel: ide0: reset: success 
> > Oct 18 16:33:15 Winona kernel: hda: irq timeout: status=0xd0 { Busy } 

Hi Eric,

I had the same with an overclocked board: the PCI speed was too high
and it gave this kind of errors; actually, I've a board on which
clock is 105Mhz => PCI=35MHz, and I still have this kind of error,
from time to time. 

The only PB it leads was about udma33 HD's speed: if I don't use
hdparm (in the hwtools package), which has an "hwtools" executable
in /etc/rc.boot; when this error occurs, the speed falls to 4MB/s
instead of 14.8MB/s.

As the data are not corrupted at all, I don't really care.

JY
-- 
Jean-Yves F. Barbier <[EMAIL PROTECTED]>
 Different all twisty a of in maze are you, passages little.


Re: Network problem-->cannot resolve the ip to dns

1999-10-19 Thread Jean-Yves BARBIER
On Tue, Oct 19, 1999 at 01:50:18AM -0700, ZEN MYSTIC wrote:
> 
> hi...
>  i have sort of network problem here..
>  recently i have changed my ip add..and was  previouly
> running apache and ws-ftp...now i could'nt ping and
> access the machine by typing it's dns(the name of the
> machine following by its domain name) but if i type
> the ip i could get access...
> 
> pls help..how to solve this problemmm

Hi Mastic Zan,

This is normal: as the dns can't find the LAN adresses from root servers
(of course :)) it *must* have them in a file, so called /etc/hosts, which
contains the relation between the names and the IPs adresses; 
*AND* have records in it configuration files (in /var/named), in order
to know who is qualified to ask it for DNS queries.

So, if you changed the IP of your machine, you also have to change the content
of /etc/hosts, and the DNS records.

JY
-- 
Jean-Yves F. Barbier <[EMAIL PROTECTED]>
 Different all twisty a of in maze are you, passages little.


Re: Flow chart drawing program

1999-10-19 Thread shaul
> > I am looking for a program to make flow chart, mainly for drawing
> > dependencies for program design.
> > Any good programs available for the job?
>  
> Xcircuit is intended for schematic design, but I find that it works 
> well for many types of graphs. 
> 

It also has a nice tutorial. Look at its home page.



Re: Mutt and From: line in mail

1999-10-19 Thread Damon Muller
On Fri, Oct 15, 1999 at 11:32:18PM -0700, Wade Curry was heard to state:
> export QMAILINJECT=f
> 
> The f is the problem.  Get rid of it.  Look at qmail-inject
> and qmail-headers for a detailed explanation of what f
> and the other switches do.  The values in the first 2 variables
> are what is used to rewrite the From: line -- when necessary.
> 2 hitches... 1. you can't put your real name in there.  
> 2. The f forces qmail-inject to overwrite the From: line regardless.

D'oh!

Yes, this was the problem! I too had it in one of my bash startup files,
I removed it, reset the QMAILINJECT environment variable, and tested it
again, and it now again uses the correct From: line.

The reason that I had set this in the first place was that I had been
sending some email to a mate of mine and the mails were being rejected
because of the Return-Path header line -- the hostname in it (my own
hostname appended to my ISPs hostname) didn't exist.

Fortunately, it seems that having QMAILUSER and QMAILHOST defined is
enough to set the Return-Path line, without having QMAILINJECT as f.

Glad to have that one finally sorted out!

Cheers,

damon

-- 
Damon Muller ([EMAIL PROTECTED]) /  It's not a sense of humor.
* Criminologist /  It's a sense of irony
* Webmeister   /  disguised as one.
* Linux Geek  / - Bruce Sterling 


Bug in gnuplot in the pslatex.trm still exists :-(

1999-10-19 Thread Wojciech Zabolotny
Dear gnuplot developers,

I'm very amused, that the old bug, which I've found ca one year ago (and
reported to you) still exists.
Below I attach my bug report. The line numbers has changed in the new
version, but the bug's nature and the cure is still the same.
I attach the gnuplot_bug.tgz file, which demonstrates the problem.
It is really tiring to change the gnuplot source and recompile it after each
upgrade :-(.

Below follows the bug description and the fix: 

Subject: SOLVED !!! Problems with "pslatex" terminal in gnuplot beta347 
(pre3.6) in Debian Linux 2.0 (hamm)
From: Wojciech Zabolotny;[EMAIL PROTECTED];
Date: Sun, 2 Aug 1998 01:12:29 +0200
Hi All!
I've just solved the problem desribed in my previous message. 
It was not related to debian. There is really a bug in the gnuplot
source. I've sent my solution to the gnuplot team, but I would like to
forward it to this group too (and to package's mantainer), to allow for
correction of debian gnuplot package.

Wojtek Zabolotny
[EMAIL PROTECTED]

-- Forwarded message --
Date: Sun, 2 Aug 1998 01:01:58 +0200 (EEST)
From: Wojciech Zabolotny <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Problems with "pslatex" terminal in gnuplot beta347 (pre3.6) in Debian 
Linux 2.0 (hamm) (SOLVED !!!)

Hello gnuplot developers!

I have performed some additional experiments with the gnuplot, and my
data. I've linked the gnuplot with "electric-fence" library to find the 
instruction which overwrites the memory.
Below I present the output given by gdb after the failure:

gnuplot> set term pstex auxfile
Terminal type set to 'pstex'
Options are 'monochrome dashed rotate auxfile'
gnuplot> set output "phd_w4_s3_l10_wzneur.nsts.tex"
gnuplot> load "phd_w4_s3_l10_wzneur.nsts.gnuplot"

Program received signal SIGSEGV, Segmentation fault.
0x80a7cae in PSLATEX_init () at term/pslatex.trm:204
204 strcpy(PSLATEX_psfile + (dotIndex-outstr) + 1,"ps");
(gdb) bt
#0  0x80a7cae in PSLATEX_init () at term/pslatex.trm:204
#1  0x808f7ae in term_init () at term.c:325
#2  0x80552b4 in do_plot (plots=0x40120fb8, pcount=3) at graphics.c:1165
#3  0x80779c2 in eval_plots () at plot2d.c:1335
#4  0x80743a7 in plotrequest () at plot2d.c:332
#5  0x804b84f in command () at command.c:539
#6  0x804afd1 in do_line () at command.c:287
#7  0x807209c in load_file (fp=0x4011af98,
name=0xb96c "phd_w4_s3_l10_wzneur.nsts.gnuplot", can_do_args=0)
at misc.c:1042
#8  0x804bd70 in command () at command.c:624
#9  0x804afd1 in do_line () at command.c:287
#10 0x804af4f in com_line () at command.c:262
#11 0x8073c25 in main (argc=1, argv=0xbda0) at plot.c:439

When I've analyzed the source in pslatex.trm, I've found following lines:

PSLATEX_psfile = gp_alloc(dotIndex - outstr + 3, "pslatex aux filename"); 
 if (PSLATEX_psfile) {
strncpy(PSLATEX_psfile, outstr, dotIndex-outstr+1); /*including .*/
strcpy(PSLATEX_psfile + (dotIndex-outstr) + 1,"ps");

The problem is, that "strcpy" instruction writes three bytes: 'p','s' and
\0. The last byte is written after the end of PSLATEX_psfile buffer,
overwriting another variable... :-(
I have changed the 201st line in pslatex.trm in the following way:

PSLATEX_psfile = gp_alloc(dotIndex - outstr + 4, "pslatex aux filename");

Now everything works fine ! :-)

Wojciech Zabolotny
[EMAIL PROTECTED]
-- 
  Wojciech M. Zabolotny
http://www.ise.pw.edu.pl/~wzab  <--> [EMAIL PROTECTED]

http://www.gnupg.org  Gnu Privacy Guard - protect your mail & data
  with the FREE cryptographic system


gnuplot.bug.tgz
Description: GNU Unix tar archive


cron'ed, at'ed, exim'ed user limits

1999-10-19 Thread Pere Camps
Hi!

How can I set user resource limits a la /etc/limits for the
programs executed by cron, at and exim's .forward?

This is to avoid possible DoS by massive resource grabbing by
untrusted users.

Thanks in advance for your help.

-- p.


Re: Bug in gnuplot in the pslatex.trm still exists :-(

1999-10-19 Thread Lars Hecking

 This bug in the pslatex driver should be fixed in the latest beta.

Wojciech Zabolotny writes:
> Dear gnuplot developers,
> 
> I'm very amused, that the old bug, which I've found ca one year ago (and
> reported to you) still exists.
> Below I attach my bug report. The line numbers has changed in the new
> version, but the bug's nature and the cure is still the same.
> I attach the gnuplot_bug.tgz file, which demonstrates the problem.
> It is really tiring to change the gnuplot source and recompile it after each
> upgrade :-(.
> 
> Below follows the bug description and the fix: 
> 
> Subject: SOLVED !!! Problems with "pslatex" terminal in gnuplot beta347 
> (pre3.6) in Debian Linux 2.0 (hamm)

[...]


passing parameters to a SSI in apache

1999-10-19 Thread Robert Varga

How can I pass parameters to an SSI (server-side include)?

I invoke the SSI file from a server-parsed html file:

test.shtml:

...
<--#exec cmd="cginame" -->

What I would like to be able to do is to either to set environment
variables for the cgi invoked, or set command line parameters for it.

I cannot give command line parameters in the cmd attribute since it is
used by suexec to stat() the file, and of course it cannot find a file
since it tries to stat() a file named "cginame parameters".

Please help,

Robert Varga



netscape, arena etc in root

1999-10-19 Thread Antonio Rodriguez
After installing the system from zero for the 4th time, I made the
mistake of running a few browsers as root from root, so I ended up with
a few arena. lynx and so on directories there, which I deleted thinking
contained only cache or so. Any way, now they run with trouble, i.e.,
don't run good.
1. What exactly shoud I do, and how?
Thanks,
Antonio


Re: can I list just the directories, executables?

1999-10-19 Thread Colin Marquardt
* jh  <[EMAIL PROTECTED]> writes:

> Hi. I would like to know if there is a command that will list just
> directories? 

Do a 

  man ls

There, press / (for searching in the manual).

Type -d (the text to search).
Type n twice (for next occurence of the searchtext).

See? The option -d is it.

> Also, is there a command that will list executable files. I just got debian
> installed from floppy so there is not too much on my system. The only
> fairly interesting program that I have discovered is ae (I think it stands
> for anthony's editor) I have not figured out how to use it, it's pretty
> arcane. 

If your shell is the bash (as I suppose), just press the TAB key
twice. You´ll get a big list of executables in your path. (You can
see what your path is by typing "echo $PATH" (without the quotes).

HTH,
  Colin

PS: And get a book on Linux. www.oreilly.com should have a pointer
to the free version of their latest Debian book.

-- 
Colin Marquardt <[EMAIL PROTECTED]>


terminfo for solaris

1999-10-19 Thread Aaron Stromas


greetings,
while logging to a solaris box and setting back the display to my
debian linux box vi misbehaves. some time ago i stumbled upon a fix - there
is a terminfo entry that needs to be compiled and the TERMINFO environment
variable has to be set to point to it. unfortunately, i lost the reference.
can someone that have it send it to me? tia,
-a
--
Aaron Stromas |   "Tick-tick-tick!!!...
ja, Pantani is weg"
Oracle Corp.  | 
BRTN commentator,
+1 703 708 6821   | 
L'Alpe d'Huez, 1995 Tour de France
 
begin:vcard 
n:Stromas;Aaron 
tel;fax:+1 703-708 7922
tel;home:+1 301 493 4933
tel;work:+1 703 708 6821
x-mozilla-html:TRUE
url:http://www.oracle.com
org:Oracle;Advanced Technology Solutions
adr:;;196 Van Buren Street;Herndon;VA;22070;USA
version:2.1
email;internet:[EMAIL PROTECTED]
title:Senior Principal consultant
x-mozilla-cpt:;0
fn:Stromas, Aaron 
end:vcard


retail set

1999-10-19 Thread tf
Hey guys,

I was curious if the upcoming retail debian set will "wait" for potato?

I was gonna get a potato CD anyway, once they are available.  I may as
well spend a little more, and support the team.

(when can I start putting "Debian/GNU Linux" in my sig line?)
-- 


-t


Re: Admin group?

1999-10-19 Thread Mojahedul Hoque Abul Hasanat
On Mon, Oct 18, 1999 at 09:59:42PM -0400, Bryan Scaringe wrote:

> Ok, I'd like to create a admin group (adm), and have some
> questions.  But first, my goals:

You might want to have a look at sudo.  'man sudo' and 'man
sudoers'.

-- 
Mojahed


[Linux: SCSI-Controller] LILO with aha152x

1999-10-19 Thread Michelle Konzack
Hello and nice afternoon.

OK, now I was able to get my 'stupid' SCSI-Controller running
but only from my Rescue-Disk.  :-((

If I start with my Rescue-Disk and I use the following parameter

linux aha152x=0x340,11

it finds my Sony-CD-Rom at ID4.

But if I bot from harddisk the aha152x is not there.

Please can anyone tell me, how I get the prompt at LILO ???

Anyone told me, I must edit /etc/lilo.conf, insert 'prompt' and 
then run LILO.

Nothing has changed, but Linux cry for a WD-SCSI-Controller, 
but it does not exist.

Oh yes, I have the same problem with ALL distributions like 
DLD, RedHat, Debian, SuSe, DosLinux, Slackware, ...

I get tired from this...

Thanks for your Help
Michelle


/dev/audio

1999-10-19 Thread Mary Honeycutt
Hi,

  I'm receiving messages in .xsession-errors, stating:
"sox: unable to open /dev/audio.  Device or resource busy."

  All sounds still play, however, everytime a sound file is run, 
a new error msg is generated.

  How can I find out what is using /dev/audio?

Thanks,

MaryK


Re: [Linux: SCSI-Controller] LILO with aha152x

1999-10-19 Thread Nathan E Norman
On Tue, 19 Oct 1999, Michelle Konzack wrote:

 : Hello and nice afternoon.
 : 
 : OK, now I was able to get my 'stupid' SCSI-Controller running
 : but only from my Rescue-Disk.  :-((
 : 
 : If I start with my Rescue-Disk and I use the following parameter
 : 
 : linux aha152x=0x340,11
 : 
 : it finds my Sony-CD-Rom at ID4.
 : 
 : But if I bot from harddisk the aha152x is not there.
 : 
 : Please can anyone tell me, how I get the prompt at LILO ???

You need to hit one of the shift keys as soon as you see the "LILO:"
prompt.  

 : Anyone told me, I must edit /etc/lilo.conf, insert 'prompt' and 
 : then run LILO.

This parameter controls how long LILO waits for a keystroke in tenths of
a second (e.g. "prompt=20" waits two seconds).

I think you really want an "appends" line instead.  Try this line in
your /etc/lilo.conf:

  append="aha152x=0x340,11"

Run lilo as root, and reboot.

--
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: /dev/audio

1999-10-19 Thread Nathan E Norman
On Tue, 19 Oct 1999, Mary Honeycutt wrote:

 : Hi,
 : 
 :   I'm receiving messages in .xsession-errors, stating:
 : "sox: unable to open /dev/audio.  Device or resource busy."
 : 
 :   All sounds still play, however, everytime a sound file is run, 
 : a new error msg is generated.
 : 
 :   How can I find out what is using /dev/audio?

try `fuser /dev/audio'

--
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: [Linux: SCSI-Controller] LILO with aha152x

1999-10-19 Thread Andrew Hately
...
> If I start with my Rescue-Disk and I use the following parameter
>
> linux aha152x=0x340,11

Are you using a VLbus card with one of these built in? A something-or-other
VL300?
If so what is the ide controller chipset? (other than hopeless)

> But if I boot from harddisk the aha152x is not there.

in /etc/lilo.conf
add this:

append="aha152x=0x340,11"

If there is already an append statement, modify it thus:

append="whatever_was_there_before aha152x=0x340,11"

then run lilo, then reboot.

Andrew


Re: /dev/audio

1999-10-19 Thread Hwei Sheng TEOH

On Tue, 19 Oct 1999, Mary Honeycutt wrote:

> Hi,
> 
>   I'm receiving messages in .xsession-errors, stating:
> "sox: unable to open /dev/audio.  Device or resource busy."
> 
>   All sounds still play, however, everytime a sound file is run, 
> a new error msg is generated.
> 
>   How can I find out what is using /dev/audio?

fuser /dev/audio

will display the PID (process ID) of the process that is using /dev/audio.
To find out what exactly that process is, enter
ps lw 
where  is the numerical PID displayed by fuser.


T


Re: netscape, arena etc in root

1999-10-19 Thread Andrei Ivanov
> 
> After installing the system from zero for the 4th time, I made the
> mistake of running a few browsers as root from root, so I ended up with
> a few arena. lynx and so on directories there, which I deleted thinking
> contained only cache or so. Any way, now they run with trouble, i.e.,
> don't run good.
> 1. What exactly shoud I do, and how?
> Thanks,
> Antonio
> 

Reinstall them. You can not reconstruct the .directory by hand, at least
it's not an efficient way.
Andrew

-
 Andrei S. Ivanov  
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 UIN 12402354  
 http://scorpio.myip.org<--All the pages bundled together.
-
-BEGIN PGP PUBLIC KEY BLOCK-
Version: 2.6.2

mQCNAzfWpdQAAAEEAMzkmzLbsfl+etaUcsbQtIL51PmO17r6hasF/FsXVXHjfDac
GtmQ81XlhWXNp0+u4d2818g3ue5wqMv9NOIAn/rV4WgWv3p8dpcwIAPCw0p3DM68
RpuTGKDSkQcFwzobva/qP+64PS/RF7EDlKHqd454Hk281CbLlPbozTjTC9fxAAUR
tAdTY29ycGlv
=znD+
-END PGP PUBLIC KEY BLOCK-



How to setup a printer?

1999-10-19 Thread peter karlsson
What program do I use to configure printers on a Debian system?

I installed 'printtool' (mainly because it's the only Linux program I've
ever used before to set up printers, on a RedHat system), but it just
complains about "startup encoding not set", and that doesn't help me much.

-- 
\\//
peter - http://www.softwolves.pp.se/


Re: [Linux: SCSI-Controller] LILO with aha152x

1999-10-19 Thread David Natkins
Look at the append parameter for LILO.

Michelle Konzack wrote:
> 
> Hello and nice afternoon.
> 
> OK, now I was able to get my 'stupid' SCSI-Controller running
> but only from my Rescue-Disk.  :-((
> 
> If I start with my Rescue-Disk and I use the following parameter
> 
> linux aha152x=0x340,11
> 
> it finds my Sony-CD-Rom at ID4.
> 
> But if I bot from harddisk the aha152x is not there.
> 
> Please can anyone tell me, how I get the prompt at LILO ???
> 
> Anyone told me, I must edit /etc/lilo.conf, insert 'prompt' and
> then run LILO.
> 
> Nothing has changed, but Linux cry for a WD-SCSI-Controller,
> but it does not exist.
> 
> Oh yes, I have the same problem with ALL distributions like
> DLD, RedHat, Debian, SuSe, DosLinux, Slackware, ...
> 
> I get tired from this...
> 
> Thanks for your Help
> Michelle
> 
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

-- 
David Natkins   
Email to: [EMAIL PROTECTED]
Fax to: (718) 488-1780
Phone:  (718) 403-2474


Re: How to setup a printer?

1999-10-19 Thread David Z. Maze
peter karlsson <[EMAIL PROTECTED]> writes:
PK> What program do I use to configure printers on a Debian system?

Probably the easiest thing to do is to install the 'lpr' and
'magicfilter' packages; the installation scripts of the latter will
prompt you for all of the crucial data about your printer it needs to
know.

-- 
David Maze [EMAIL PROTECTED]  http://donut.mit.edu/dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
-- Abra Mitchell


Re: modprobe errors return

1999-10-19 Thread Pollywog

On 19-Oct-99 Christian Dysthe wrote:
>> 
>> -
>> GnuPG Public KeyID: 0x48109681
>> *we all live downstream*
>> 
>> 
>> -- 
>> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] <
>> /dev/null
>> 
> I still get this when I do depmod -a. I have recompiled my kernel
> 
> depmod: *** Unresolved symbols in /lib/modules/2.2.9/misc/aten.o
> depmod: *** Unresolved symbols in /lib/modules/2.2.9/misc/bpck.o

Mine are gone after recompiling, but before I recompiled, I got rid of
everything under /lib/modules/2.2.12/

Oh yes, I have rebooted :)

--
Andrew


Re: /dev/audio

1999-10-19 Thread Mary Honeycutt
Hwei Sheng TEOH wrote:
> 
> On Tue, 19 Oct 1999, Mary Honeycutt wrote:
> 
> > Hi,
> >
> >   I'm receiving messages in .xsession-errors, stating:
> > "sox: unable to open /dev/audio.  Device or resource busy."
> >
> >   All sounds still play, however, everytime a sound file is run,
> > a new error msg is generated.
> >
> >   How can I find out what is using /dev/audio?
> 
> fuser /dev/audio
> 
> will display the PID (process ID) of the process that is using /dev/audio.
> To find out what exactly that process is, enter
> ps lw 
> where  is the numerical PID displayed by fuser.
> 
> T


  Sorry, I should have said that I tried 'fuser' and got no output.
Something must be runnning, since I'm getting an error msg, however, 
I can't figure out what.

MaryK


Off bit question

1999-10-19 Thread Rajesh Mittal

Hi friends ,

  I am really sorry for posting an offbeat  question on this mailing list.

  I want to give facility of dial in on my sun machine.I am using solaris 2.6

 What all I have to enable it.


Thanks a lot.

Rajesh Mittal

There are two things that are infinite
Human stupidity and the universe.
And I'm not sure about the universe.
- Albert  Einstein

Rajesh Mittal, E-mail: [EMAIL PROTECTED]
Tel: +44 (0)1628 580600 direct no - +44 (0)1628 580623
Fax:+44 (0)1628 580610 Resi  no - +44 (0)1628 778481
InfoGain Limited, 1 Bell St, Maidenhead, Berkshire, SL6 1BU. U.K.
URL: www.infogain.com

"


libapt?

1999-10-19 Thread Aaron Solochek
I am trying to install gnome-apt, but it says its dependent on
libapt-pkg2.5, which is not avalible.  Where is this package?  How can
I get it?

-Aaron Solochek
 [EMAIL PROTECTED]


runlevel management and netbase

1999-10-19 Thread Ethan Benson

hello,

I am switching to debian from redhat land and have come across a 
couple things that I have not been able to find complete answers to:


in redhat land the preferred way to manage the rc?.d symlinks was 
with chkconfig (more typing but works right) or ntsysv (don't work 
right most of the time) which allow you to set a service to be 
stopped or started at specified runlevels, this was accomplished by 
changing a K to a S and vise versa...


I have found and RTFM on update-rcd but it does not seem to be really 
equivalent to chkconfig (only works to add a symlink not change 
existing ones nor list the status of a service for a specified 
runlevel...)


the way I see it to stop a service from running on a runlevel I could 
a) rm the service symlink from the appropriate rc?.d  or b) mv Sblah 
Kblah (tedious)


the problem with a is switching runlevels will only start new 
services not kill services that are not set to run in that runlevel 
(unless going to 1 and back)


also I am wondering if debian leaves the runlevels function to the 
sole discretion of the admin?  I see that after a install 2345 are 
all exactly the same (ie start every service in existence and X too) 
I think I will probably setup the runlevels like redhat does 2 -> 
multiuser no/minimal network stuff, 3 -> full multiuser networked 
mode, 5 -> same as 3 plus X.  does this violate any debian 
conventions that would cause me annoyance in the future?  (redhat is 
riddled with traps like this...)


another oddity I noticed is there is a netbase script which appears 
to start telnet and about a dozen other services that are also run 
out of inetd, why? should both netbase and inetd not be run at the 
same time?  looking at the netbase script it appears to do a couple 
other things as well but mostly it just seems to make sure your 
running as many services as possible :)


is there a migrate from redhat faq anywhere? I don't remember seeing 
one, if not maybe I will write one after I get to know debian better 
if people think something like that would be useful.


I am running potato btw.

thanks for reading this long message...


Best Regards,
Ethan Benson
To obtain my PGP key: http://www.alaska.net/~erbenson/pgp/


Limiting cgi resource usage (was Re: apache + cgi)

1999-10-19 Thread Joe Block
On Tue, Oct 19, 1999 at 02:08:02AM +0200, Pere Camps wrote:
> Nathan,
> > If you want to limit by actual clock time, you could use alarm and catch
> > the signal (I know how to do it in Perl; I'd have to stumble a bit to do
> > the same thing in C :)

This unfortunately relies on good coding practices by the user, which you
can't depend on.
 
>   The problem is that I have an 'untrusted' user base I everything
> has to be implemented by the parent process or by the system itself. I
> have no way of making the users behave themselves (in fact, they misbehave
> for the fun of it) with good cgi programming.

Use cgiwrap.  You can configure exactly how much cpu they get to use.
I used it on a solaris machine that we were teaching a course on digital
media on, and magically the load problems disappeared.

jpb
-- 
Joe Block <[EMAIL PROTECTED]>
CREOL System Administrator

Social graces are the packet headers of everyday life.


mc, strange ftp behaviour

1999-10-19 Thread Ingo Reimann
Hi folks,

i found some strange behaviour with lovely mc.

I use two (identical?) potato-systems, one of them two months old, the other
just installed from scratch - was formerly a SuSE6.1. I saved the /home from
the latter, and now maybe have some struggle with old config-files in my
HOMEDIR.

The problem:

If i open an ftp link on the fresh installed machine, a lot of error
messages appear, beginning with a
 
|Could not parse:|
||
|^M  |
 

this happenes for every folder one the remote machine.
After that, i get a 

> More parsing errors will be ignored. (sorry)

and then

> File exists but can not be stat-ed: /welcome.msg No such file or directory 

This messages appeares for every file. The content of the remote dir is
shown, but i see for every folder one line

>/..

The vfs is not correctly mapped. It seems, that there happenes a translation
mistake for CR, LF or whatever.

Has anybody some suggestions?

Greetings,

Ingo


I. Reimann   [EMAIL PROTECTED]
Inst. fuer Angew. Physik +49 251 83-33527 (fon)
Correnstr. 2-4   +49 251 83-33513 (fax)
D-48149 Muenster
Germany



  1   2   >