Linux-Misc Digest #348, Volume #24 Wed, 3 May 00 02:13:05 EDT
Contents:
Re: inetd, named, httpd when to start and stop. (Herb Stein)
Do 2.3.99-prexx kernels boot? ([EMAIL PROTECTED])
Re: how to move DHCP info to ipchains? (Bo Forslund)
Re: Linux and SCO (Bill Vermillion)
Re: ftp (David Efflandt)
ViaVoice (John Hunter)
Re: how to move DHCP info to ipchains? (MrJack)
best location to load parport.o and parport_pc.o ([EMAIL PROTECTED])
Re: IRQs - can someone give the definitive answer please? (Vladimir Florinski)
Re: libsafe and WordPerfect (Russell Perkins)
adduser -p glitch (Rick)
What is ssh ([EMAIL PROTECTED])
Re: Sorry, need help with simple linux questions from a newbie (Damon)
Re: What is ssh ("jeff")
backspace probrlem ("yoo")
Re: "tail" stops tailing?
Re: backspace probrlem (Hal Burgiss)
Re: KDE vs Gnome? ("Michael Westerman")
Re: how to move DHCP info to ipchains? (Steven Yap)
X configuration
Re: Interested in purchasing a Linux OS ("Michael Westerman")
Re: Gnome Problem ([EMAIL PROTECTED])
Re: how to move DHCP info to ipchains? (MrJack)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Herb Stein)
Subject: Re: inetd, named, httpd when to start and stop.
Date: Wed, 03 May 2000 01:02:00 GMT
Edit /etc/rc.d/rc.local and tack them on the bottom. Unless you really have a
wild hair to run them under inetd.
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Villy Kruse) wrote:
>On Tue, 02 May 2000 03:37:51 GMT,
> Thaddeus L. Olczyk <[EMAIL PROTECTED]> wrote:
>
>
>>Question is simple enough. THese weren't setup to start at boot by my
>>instal, so is there a place where the "standard" way of setting up the
>>startup scripts should be written?
>
>
>Can't tell without knowing which distribution and version. Probably
>can't tell anyway, but someone else might when given enough information.
>
>
>Villy
--
Herb Stein
The Herb Stein Group
www.herbstein.com
[EMAIL PROTECTED]
314 215-3584
------------------------------
From: [EMAIL PROTECTED]
Subject: Do 2.3.99-prexx kernels boot?
Crossposted-To: linux.dev.kernel
Reply-To: [EMAIL PROTECTED]
Date: 3 May 2000 01:18:07 GMT
The last dozen or so 2.3.xx kernels have not worked
on my PC usually giving the "no setup signature found"
message. Has anyone been having luck with these
kernels or is it just me?
--
Fred
------------------------------
From: Bo Forslund <[EMAIL PROTECTED]>
Subject: Re: how to move DHCP info to ipchains?
Date: Wed, 03 May 2000 03:20:24 +0200
I've been using ipchains ( and before that ipfwadmin ) for several years
on a box that is connected via dhcp to masquerade a small network. I don't
understand Your questions, but I'm sure You will find the answer in the
IPCHAINS-HOWTO.
MrJack wrote:
> Hi,
>
> I have DHCP via roadrunner-
>
> I'm installing ipchains, and have run into the problem of
> getting the IPADDR etc into ipchains.
>
> The info I need is laid out very nicely in
> /etc/dhcp/dhcpc-eth0.info (may not have gotten that
> exactly right since I'm in W98 now).
>
> How do get that info into ipchains, and make sure it gets updated as it
> changes?
>
> Thanks very much-
>
> James
> [EMAIL PROTECTED]
------------------------------
Crossposted-To: comp.unix.sco.misc
From: [EMAIL PROTECTED] (Bill Vermillion)
Subject: Re: Linux and SCO
Date: Wed, 3 May 2000 01:20:50 GMT
In article <GwIP4.20314$[EMAIL PROTECTED]>,
T.E.Dickey <[EMAIL PROTECTED]> wrote:
>In comp.os.linux.misc Bill Vermillion <[EMAIL PROTECTED]> wrote:
^^^^^^^^^^ Hm. Hadn't notice that before I'm posting
in comp.unix.sco.misc. That's an invalid
newsgroup here. (private news feed so it's
not selected)
>> Actually that is control caret - up-arrow is typically associated
>We called it up-arrow when I first encountered it in the 70's because
>that was the way it printed on a DECWriter.
I remember those - an old Unix client had one of those as the
control terminal on an Onyx. A Z8000 based System III. But my
close encounter was more like 1985.
>
>> with a keypad/arrow controls and is usually an escape sequence
>> though Wyse 50's programmed the left-arrow to be Control H as well
>> as backspace to be control H, and that broke such things as spread
>> sheets which expected both keyb to generated different codes.
>
>> control ^ (aka shift 6) generates 0036/0x1e/30d/ - or 'rs'. Don't
>
>I mainly use it in vi (toggles between current and alternate buffers)
>
>--
>Thomas E. Dickey
>[EMAIL PROTECTED]
>http://www.clark.net/pub/dickey
--
Bill Vermillion bv @ wjv.com
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Crossposted-To: comp.os.linux.networking
Subject: Re: ftp
Date: 3 May 2000 01:55:08 GMT
Reply-To: [EMAIL PROTECTED]
On Sat, 29 Apr 2000, Martin Lemenu <[EMAIL PROTECTED]> wrote:
>
>I'm trying to run a script that can ftp a file to a server. To automate
>this, I use the .netrc file. However, I now have to ftp different files
>to different accounts on this server and the .netrc is insufficient. I'd
>like to make a macro file for each job I want to ftp to the server. I
>see refrences in the man page for macros and macdef, but I haven't been
>able to find any documentation on how to actualy use it. Essentially I'd
>like somthing in the form of:
>
>ftp macro1
>ftp macro2
>ftp macro3
>...
>
>Can anyone tell me a way to do this or a site that explains how to do
>this?
I don't know how familiar you are with Perl, but you might want to try the
Net::FTP module. Install the libnet modules (available on a CPAN mirror
or http://www.perl.com/ ) then type 'perldoc Net::FTP' in the console.
Note that capitalization is important when typing the module name.
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/ http://cgi-help.virtualave.net/
------------------------------
Subject: ViaVoice
From: John Hunter <[EMAIL PROTECTED]>
Date: 02 May 2000 21:29:40 -0500
I have just finished installing IBM's ViaVoice SDK for linux and am
running it with xvoice. I find the accuracy on the dictation is
appalling, and there is no way to train the algorithm under Linux.
The cureadme.txt explains how to transfer user speech files from
ViaVoice Millenium under windows where you can do the training into
Linux for use with the SDK. I am wondering if anyone has done this
and to what extent the accuracy improves.
Or even if you haven't done the transfer to Linux, can anyone speak to
the quality of the dictation of trained speech files from the
Millenium windows edition?
Thanks,
John Hunter
------------------------------
From: MrJack <[EMAIL PROTECTED]>
Subject: Re: how to move DHCP info to ipchains?
Date: Wed, 03 May 2000 02:48:48 GMT
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
>
> I've been using ipchains ( and before that ipfwadmin ) for several years
> on a box that is connected via dhcp to masquerade a small network. I don't
> understand Your questions, but I'm sure You will find the answer in the
> IPCHAINS-HOWTO.
Thanks, but I have that how-to right here with me and can't seem to find
or perhaps understand what I need.
The HOWTO has references to re-initializing the firewall script from the
shell variable assignments in dhcpcd-eth0.info, but sadly my head starts
to swin about that point. I think this is what I need, but this is heavy
stuff for not-really-programmers.
It's additionally confusing because of the references to old and new DHCP
and to redhat's use of 'pump'.
I use mandrake 7.0-.
If you can simplify my Linux life at all, I'll be very grateful!!
James
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED]
Subject: best location to load parport.o and parport_pc.o
Date: Wed, 03 May 2000 02:41:35 GMT
Hi all,
I was wondering what is the best location to load the parallel port
driver (parport.o and parport_pc.o)? Currently I am doing it in
rc.sysinit just after it loads the soundcard drivers. Is there any
reason for putting it in an alternative place?
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Vladimir Florinski <[EMAIL PROTECTED]>
Subject: Re: IRQs - can someone give the definitive answer please?
Date: Tue, 02 May 2000 20:13:09 -0700
[EMAIL PROTECTED] wrote:
>
> All,
>
> I have gone around and around the IRQ issue for years now and I keep
> reading and seeing different answers to the same question: The PC
> architecture allows for eight expansion slots but has a very limited
> number of IRQs free. Once you take out the real time clock IRQ, the
> serial lines (COM 1 and 2), keyboard, cascade, two for IDE and the
> parallel printer, along with a modem, the diaplay adaptor, sound card,
> games controller and the floppy disk (etc - get the pciture?), you're
> normally left with, at best, IRQs 10, 11, 12 and maybe 6 or 7.
>
> If you then want to add a scanner (SCSI card), network card and, as I
> have, and ISDN card - well, you're suddenly out of IRQs and added to
> this, you have to fight with PnP on PCI which, it seems, we have no
> control over. So you end up juggling IRQs with ISA cards using the pnp
> tools for Linux and trying to force the PCI card settings into something
> sensible by juggling the BIOS settings.
>
You forgot IRQ9. While a video card may claim it, it isn't really used. The BIOS
will not probably assign it to another card - so just do a setpci on a card
(sound or network) before the corresponding module gets loaded.
--
Vladimir
------------------------------
From: Russell Perkins <[EMAIL PROTECTED]>
Subject: Re: libsafe and WordPerfect
Date: Tue, 02 May 2000 20:18:37 -0700
Bob Tennent wrote:
>
> Just a warning to those interested in trying libsafe from bell-labs.
> I installed the libsafe rpm today on a RedHat 6.2 box. Everything seemed
> to work OK until my daughter fired up WordPerfect: it immediately segfaults
> without leaving a trace in the log file. After uninstalling libsafe, WP is
> back to normal.
>
> Bob T.
Seems xview is doing the same thing on my machine.
--
------------------------------
From: Rick <[EMAIL PROTECTED]>
Subject: adduser -p glitch
Date: Wed, 03 May 2000 03:30:05 GMT
adduser -p <password> <username> is supposed to create a new account and
assign the given password. However, when using shadowed passwords, this
command writes the new password in plain text to /etc/shadow and the new
user cannot log in.
I remember seeing a reference to this in the past stating that the author
of the adduser command has written a script that will correct this.
Anyone seen this script or know of another fix?
Thanks,
Rick
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED]
Subject: What is ssh
Date: Wed, 03 May 2000 03:30:39 GMT
Hi everybody,
I 'd like to set up ssh in my system, but I don't know where to
download it, and where I can get documentary about this program. Please
direct me .
Thanks for any help.
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Damon <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.setup,alt.uu.comp.os.linux.questions
Subject: Re: Sorry, need help with simple linux questions from a newbie
Date: Wed, 03 May 2000 11:55:24 +0800
Hi Joachim,
I didn't mount the floppy. When i used mcopy, there was no error messages, but
the LED lights for drive A did not blink as when you copy a file to a floppy
either.
I got a dos partition on one of my three harddisk that has a mount point in
Linux, so i suppose i got fat support in my kernel. Funny thing is that i can
see the file in /mnt/floppy when i do a ls after mcopy even though it is not
physically copied to the floppy!
Regards
Damon
Joachim Feise wrote:
> Damon wrote:
> >
> > Thanks Joachim,
> >
> > But i don't know why mcopy didn't work. When i go to /mnt/floppy and do a
> > ls, i can see the file but it's just not on the floppy diskette.
>
> When using the mtools, *don't* mount the floppy.
> And your kernel of course needs to have fat support compiled in, but I think
> all distros have their kernel built this way.
>
> -Joe
------------------------------
From: "jeff" <[EMAIL PROTECTED]>
Subject: Re: What is ssh
Date: Tue, 2 May 2000 21:00:09 -0700
http://www.ssh.org/ reveals all.
-jeff
<[EMAIL PROTECTED]> wrote in message news:8eo6h0$ngj$[EMAIL PROTECTED]...
> Hi everybody,
> I 'd like to set up ssh in my system, but I don't know where to
> download it, and where I can get documentary about this program. Please
> direct me .
> Thanks for any help.
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
------------------------------
From: "yoo" <[EMAIL PROTECTED]>
Subject: backspace probrlem
Date: Wed, 3 May 2000 00:19:24 -0400
I have a problem with the backspace key it doesn't work properly as matter
of fact it doesn't do anything when I hit it, although it works fine when I
switch to Windows OS.
*I have red hat 6.1*
------------------------------
From: <[EMAIL PROTECTED]>
Subject: Re: "tail" stops tailing?
Date: Wed, 03 May 2000 04:30:04 GMT
Hi, Matt.
The rotating of the log files disconnects tail from the file being tailed.
To keep tail going in this situation you can run tail with the --follow and
--retry options:
tail --follow=name --retry /var/log/messages
Hope this helps.
Bob
Matt Siemens wrote:
>
> Hi,
>
> Here's what I'm trying to do:
>
> I'm using tail to output the system log (/var/log/messages) to
> /dev/tty12 via the /etc/rc.d/rc.local startup script. I'm using the
> command "tail -f /var/log/messages >/dev/tty12 &" which outputs the
> system log to tty12 nicely and everything seems to work fine for a few
> days... But eventually what always happens is that the tail command
> stops tailing the log file. If I hit ALT-F12 to look at the log, the
> last date displayed will be from a few days ago and tail stops tailing
> the log until I kill it and run it again. Why does this happen?? Is
> there a better way to do this, other than using tail?
>
> Any info on this would be very much appreciated!
>
> Thanks,
>
>
> --Matt
>
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED] (Hal Burgiss)
Subject: Re: backspace probrlem
Reply-To: [EMAIL PROTECTED]
Date: Wed, 03 May 2000 04:43:31 GMT
On Wed, 3 May 2000 00:19:24 -0400, yoo <[EMAIL PROTECTED]> wrote:
>I have a problem with the backspace key it doesn't work properly as
>matter of fact it doesn't do anything when I hit it, although it works
>fine when I switch to Windows OS.
>
>*I have red hat 6.1*
http://www.ibbnet.nl/~anne/keyboard.html
--
Hal B
[EMAIL PROTECTED]
--
------------------------------
From: "Michael Westerman" <[EMAIL PROTECTED]>
Subject: Re: KDE vs Gnome?
Date: Wed, 3 May 2000 15:19:37 +1000
if you use a wheel mouse the version of gnome i got with my distn allows you
to scroll windows with it but kde (in my distn) dosn't.
i use kde though as on my system it is more stable
Pal Dahle <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Can anyone please inform me what the differences between KDE and Gnome
> *really* are? What are the advantages/disadvantages of either system.
> Which one should I use as a newbie or as an experienced user? Is either
> one better for development etc?
>
> --
> -----------------------------------------------
> Please remove the x:es from my address to reply
>
>
------------------------------
Subject: Re: how to move DHCP info to ipchains?
From: Steven Yap <[EMAIL PROTECTED]>
Date: Wed, 03 May 2000 05:16:17 GMT
MrJack <[EMAIL PROTECTED]> writes:
> Hi,
>
> I have DHCP via roadrunner-
>
> I'm installing ipchains, and have run into the problem of
> getting the IPADDR etc into ipchains.
>
> The info I need is laid out very nicely in
> /etc/dhcp/dhcpc-eth0.info (may not have gotten that
> exactly right since I'm in W98 now).
>
Unless you're doing Network Address Translation (aka IP Masquerading),
I don't see how the information in /etc/dhcp/dhcpc-eth0.info would be
of use to your firewall scripts.
If you're doing NAT and wants to update your firewall rules if your
assigned IP changes, here's what you need to do:
1. If you're running kernel 2.2.x, then all you need to do is make a
script /etc/dhcpc/dhcpcd-<interface>.exe, and have something like
the following:
# Source /etc/dhcpc/dhcpcd-<interface>.info
# so that we get the new address info.
. /etc/dhcpc/dhcpcd-<interface>.info
#
# Not sure if the following is needed or not
#
export IPADDR
export NETMASK
export NETWORK
export BROADCAST
export GATEWAY
export HOSTNAME
export DOMAIN
export DNS
export DHCPSIADDR
export DHCPSHADDR
export DHCPSNAME
export LEASETIME
export RENEWALTIME
export REBINDTIME
# Now call the firewall setup script
#
/etc/init.d/rc.firewall
replacing <interface> with the network interface in questions
(e.g. eth0).
2. If you're running kernel 2.0.x, then you do the same thing except
that you need to modify the script that calls dhcpcd to pass on a
command line parameter like so:
dhcpcd -c /etc/dhcpc/dhcpcd-<interface>.exe -h <name> <interface>
replacing <interface> with the network interface in questions
(e.g. eth0).
In your firewall script, you can now access the information in
/etc/dhcpc/dhcpcd-<interface>.info like any other environment
variable.
Mind you, I haven't done this before and my information comes
strainght from the dhcpcd-* man pages.
Steven
------------------------------
Date: Wed, 3 May 2000 01:20:14 -0400
From: <[EMAIL PROTECTED]>
Subject: X configuration
I'm trying to get X windows up and running on
my machine. I've installed Debian 2.1 from the
Cheap Bytes single CD version. When I enter
the 'xf86config' command, I get a 'command not
found' response. What additional steps need to
be taken to configure X?
Greg
------------------------------
From: "Michael Westerman" <[EMAIL PROTECTED]>
Subject: Re: Interested in purchasing a Linux OS
Date: Wed, 3 May 2000 15:26:14 +1000
Ctrl + Alt + Bksp will pul down X (kde or gnome)
rm core
(thememory dump).
then shut it down.
while in kde you can press ctrl + alt + f1 - f4 to get to a terminal.
ctrl + alt + f7 or f8 will return you to kde or other Window manager.
Peter T. Breuer <[EMAIL PROTECTED]> wrote in message
news:8en7rp$iot$[EMAIL PROTECTED]...
> Bob <[EMAIL PROTECTED]> wrote:
>
> :> Don't bother. If you "can't access KDE" then you messed up bad, pure
> :> and simple., and you should fix it.
> :>
> :> Just answer these questions:
> :>
> :> 1) can you log in at the console (give the parameter "2" at the lilo
> :> boot. E.g "linux 2")?
> :>
> :> 2) once at the console, can you run X (type /usr/X11R6/bin/XF86_VGA16)?
> :>
> :> 3) can you run X using the correct server (type
> :> /usr/X11R6/bin/XF86_SVGA or whatevever)?
> :>
> :> 4) can you run X using the symlink to the correct server (type X)?
> :>
> :> 5) can you run X and start the kde services on top of it
> :> (edit .xinitrc to contain the word startkde, make it executable
> :> with chmod, and type startx)?
>
> : I apologize - I guess I didn't explain my problem real well.
> : I installed SuSE 6.4 using their YaST2 tool. This tool nicely automates
> : the install procedure. At the end of the install, you have to log in to
>
> Log in as WHO? Root? Some user you created?
>
> : the KDE desktop. This worked fine and everything seemed functional. I
> : then exited out of KDE and did a 'shutdown'.
>
> : But...after I re-booted and attempted to log in again, the KDE desktop
did
>
> Log in as WHO?
>
> : not show any icons (as if my system configuration was lost) and my mouse
>
> That's no problem. No icons just means that kfm didn't start up. That's
> a no-brainer. Start it. It's pretty delicate and liable to die at
> any malformation of the config files under .kde/.... .
>
> : was useless (note that after the install the mouse worked and the icons
>
> That's also trivial. Don't worry about it. Escape to text mode
> (ctrl-alt-f1, or some other f key). Log in normally. Read the
> Mouse-HOWTO until you fix it. Likely you have a MS intellimouse
> in a PS/2 socket and you need to change the mouse type in
> /etc/X11/XF86Config to "PS/2". Without any data from you I can't tell.
>
> : I haven't tried to login again for fear the same thing will happen.
>
> Why? What's to lose? You're not going to fix it by doing nothing. And
> you can't look with your eyes shut!
>
>
> Peter
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Gnome Problem
Date: Wed, 03 May 2000 05:31:16 GMT
I've almost finished except for the tasklist. How do I
> launch it, run it? 5D93ECBD570C1E21FD7769A3--
>
right click on panel / add to panel / applet / utilities / tasklist
------------------------------
From: MrJack <[EMAIL PROTECTED]>
Subject: Re: how to move DHCP info to ipchains?
Date: Wed, 03 May 2000 05:50:23 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> >
>
> Unless you're doing Network Address Translation (aka IP Masquerading),
> I don't see how the information in /etc/dhcp/dhcpc-eth0.info would be
> of use to your firewall scripts.
Thank you very much, Steven!
I have barely begun to get into this scripting business and wasn't even
aware for a while that that's how ipchains "runs"! I thought it was a
program that one installed, fed some rules to, and then forgot about.
I think I can manage it now, again, thank you for the great examples.
I have also begun collecting other ipchains script examples.
James
[EMAIL PROTECTED]
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************