Linux-Misc Digest #110, Volume #27 Wed, 14 Feb 01 14:13:02 EST
Contents:
Re: Win4Lnx (Dave Martel)
Re: IPTables doesn't work (nor IPCHAINS) for kernel 2.4.1 (bill davidsen)
Re: soundcard under debian! (Peter B. Steiger)
keep connection alive ("doug edmunds")
Printing graphics on non-Postscript printers? (Vlad)
Cannot umount, ZIP questions (Gary)
Re: Printing graphics on non-Postscript printers? (Yvan Loranger)
Re: debian 2.2 unstable ("Peter T. Breuer")
Re: RH7/3Com and 3Com Mini PCI Ethernet adapter (A transfinite number of monkeys)
How to forward external requests to internal machine? (Warren Bell)
Re: debian 2.2 unstable (John Hasler)
Re: MS to Enforce Registration - or Else (John Hasler)
Re: Win4Lnx (Harold Stevens ** PLEASE SEE SIG **)
Re: ksh script problem: pwd works differently for ksh then linux binary file
("Harlan Grove")
Re: Can't delete file ("Doug Forbush")
Re: exec hangs from .bash_profile ("Harlan Grove")
Re: keep connection alive ("Doug Forbush")
Re: Intruder (Silviu Minut)
rsync problems (Tom Reed)
Software RAID on ReiserFS (?) (Donovan Rebbechi)
Redirecting Serial port input to a file (John C Bahr)
Re: RH7/3Com and 3Com Mini PCI Ethernet adapter ([EMAIL PROTECTED])
Simple Question on File Extension (George Bell)
Re: How to forward external requests to internal machine? (Napnap)
Re: Simple Question on File Extension (Lew Pitcher)
Re: Intruder (Chris Webster)
Re: netcrap locks me up (Chris Webster)
----------------------------------------------------------------------------
From: Dave Martel <[EMAIL PROTECTED]>
Subject: Re: Win4Lnx
Date: Wed, 14 Feb 2001 10:05:24 -0700
On 14 Feb 2001 13:13:28 GMT, [EMAIL PROTECTED] (BobNWL) wrote:
>
>I want to use Linux as my desktop on my job but I need to be careful cause they
>are a big windows shop. I thought it would be easier and less trouble
>(especially if the so-called pc people come by) to just install Mandrake 7.2
>Win4Lnx and then when I knwo they are comming I can jsut boot into windows real
>quick.
Just run KDE, stick some MS wallpaper on it, and tell them you're
beta-testing NT6. :-D
------------------------------
From: [EMAIL PROTECTED] (bill davidsen)
Crossposted-To: comp.os.linux.networking,comp.os.linux.security
Subject: Re: IPTables doesn't work (nor IPCHAINS) for kernel 2.4.1
Date: 14 Feb 2001 17:21:39 GMT
In article <[EMAIL PROTECTED]>,
Tim Haynes <[EMAIL PROTECTED]> wrote:
| "Danny Wijsman" <[EMAIL PROTECTED]> writes:
| > The gcc compiler which comes with RH7 (2.96 I think) isnt a good one.
| > Instead use one version earlier.
|
| I've never yet fallen foul of the compiler version, and not using RH, I
| have no intention of falling foul of it any time soon ;)
|
| But for those of you stuck with it, edit Makefile to use `kgcc' instead of
| `gcc' and you should be away with the fairies.
Having built 2.4.1 with gcc (2.96) and having it run, I'm not sure
just what bug this issue raises. I intend to rebuild with kgcc just as a
precaution, but I don't see any problems, I'm just paranoid.
--
bill davidsen <[EMAIL PROTECTED]> CTO, TMR Associates, Inc
At LinuxExpo Sun was showing Linux applications running on Solaris.
They don't get it, the arrow points the other way. There's a reason why
there's no SolarisExpo, Solaris is a tool; Linux is a philosophy, a
religion, a way of life, and only incidentally an operating system.
------------------------------
From: [EMAIL PROTECTED] (Peter B. Steiger)
Crossposted-To: comp.os.linux.hardware
Subject: Re: soundcard under debian!
Date: Wed, 14 Feb 2001 17:35:57 GMT
On Mon, 12 Feb 2001 13:16:03 -0500, Nicolas Bouche sez:
>Here is the output of cat /dev/nsdstat:
>Installed drivers:
>Type 26: MPU-401 (UART)
>Type 2: Sound Blaster
>Type 29: Sound Blaster PnP
>Type 7: SB MPU-401
>
>Card config:
>(Sound Blaster at 0x220 irq 7 drq 1,5)
>(SB MPU-401 at 0x330 irq 1 drq 0)
>
>Audio devices:
>
>Synth devices:
>
>Midi devices:
>
>Timers:
>0: System clock
>
>Mixers:
What options did you compile in to get the MPU and SB drivers? My
"Installed Drivers" section has nothing in it... although my Midi
devices and Mixers sections both show the PAS16. I'm asking because
I can't get playmidi to recognize that I have a MIDI device.
Peter B. Steiger
Cheyenne, WY
----
If you reply by email, send it to pbs at com dot
canada (or vice-versa). All advertisements will be
returned to your postmaster, eh!
------------------------------
Reply-To: "doug edmunds" <[EMAIL PROTECTED]>
From: "doug edmunds" <[EMAIL PROTECTED]>
Subject: keep connection alive
Date: Wed, 14 Feb 2001 09:35:17 -0800
My isp disconnects for inactivity
apparently not recognizing that I=20
am trying to do a large unattended
download. Are there any 'connection keeper'
programs that will work for linux?
-- doug edmunds
14 Feb 2001
Now that google has eaten deja, let us hope
that micro$oft doesn't eat google.
------------------------------
Date: Wed, 14 Feb 2001 20:40:53 +0300
From: Vlad <[EMAIL PROTECTED]>
Reply-To: vlad <[EMAIL PROTECTED]>
Subject: Printing graphics on non-Postscript printers?
Greetings.
Are there any tools that could help printing the postscript and
graphics files on non-Postscript printers (matrix etc) ?
Thanks in advance.
------------------------------
From: Gary <[EMAIL PROTECTED]>
Subject: Cannot umount, ZIP questions
Date: Wed, 14 Feb 2001 13:40:11 -0500
I'm using RH 7.0, and after mounting a CDROM, or ZIP drive,
I cannot
unmount it or eject the media without doing a shutdown. I
tried the -f
switch without luck, does anyone have a suggestion on how to
force
an unmount? Perhaps something like unmount /dev/cdrom
-RIGHT_NOW :-)
Also, depending on the file system on parallel ZIP disk, my
/dev/sda# is
different, sda1, or sda4. This makes it necessary to know
the
filesystem of the disk before mounting, OR try mount
/dev/sda1
and mount /dev/sda4. I "thought" that the device assignments
were
physical, not logical, this appears to not be the case am I
missing
something?
Regards,
Gary
------------------------------
From: [EMAIL PROTECTED] (Yvan Loranger)
Subject: Re: Printing graphics on non-Postscript printers?
Date: 14 Feb 2001 17:42:39 GMT
Reply-To: [EMAIL PROTECTED] (Yvan Loranger)
Vlad ([EMAIL PROTECTED]) writes:
> Greetings.
>
> Are there any tools that could help printing the postscript and
> graphics files on non-Postscript printers (matrix etc) ?
>
> Thanks in advance.
>
>
Ghostscript, surely on your distro.
--
Merci.........................Yvan Pour le plein air: Club Vertige
[EMAIL PROTECTED] http://www.ncf.ca/vertige
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: debian 2.2 unstable
Date: Wed, 14 Feb 2001 18:24:55 +0100
Gerald Willmann <[EMAIL PROTECTED]> wrote:
> On Wed, 14 Feb 2001, Peter T. Breuer wrote:
>> This is obviously a EBCK. You just have to find it.
> what's EBCK ???
Error Between Chair and Keyboard.
Peter
------------------------------
From: [EMAIL PROTECTED] (A transfinite number of monkeys)
Crossposted-To: comp.os.linux.hardware,comp.os.linux.advocacy,redhat.networking.general
Subject: Re: RH7/3Com and 3Com Mini PCI Ethernet adapter
Date: Wed, 14 Feb 2001 17:48:41 GMT
On Tue, 13 Feb 2001 18:04:24 -0800, Guillermo Auad <[EMAIL PROTECTED]> wrote:
: I have RHat 7.0 installed on my IBM thinkpad and when I type
:
: % ifconfig eth0 (or eth1)
:
: it does not find the card. The card, a 3Com 10/100 PCI Mini Ethernet
: adapter works properly when I boot Windows 2000 on the same laptop.
You really mean, "...adapter works properly when I boot Windows 2000
and LOAD THE DRIVER on the same laptop."
I've got the exact same card in my ThinkPad T20, and it works fine, once
you install the driver you need, regardless of Win2000 or Linux.
Go to google, search on "3c556 linux". Any of those links will help. In
fact, the kernel 2.2.17 and later include support for that card in the
3c59x driver.
:
: Any ideas? please, reply to [EMAIL PROTECTED]
: thx.
:
: Guillermo.
:
:
--
Jason Costomiris <>< | Technologist, geek, human.
jcostom {at} jasons {dot} org | http://www.jasons.org/
Quidquid latine dictum sit, altum viditur.
My account, My opinions.
------------------------------
From: Warren Bell <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake
Subject: How to forward external requests to internal machine?
Date: Wed, 14 Feb 2001 09:52:40 -0800
I'm running Mandrake 7.2 with ipchains as a firewall. I want to forward
any requests to a certain port to an internal machine on the local
network allowing it through. I've been looking around but can't find
how to do this. The only thing I've found is that you can't do it with
ipchains. What program can I use to do this?
------------------------------
From: John Hasler <[EMAIL PROTECTED]>
Subject: Re: debian 2.2 unstable
Date: Wed, 14 Feb 2001 16:39:56 GMT
Peter T. Breuer writes:
> Well, it's obviously not debian, since it's stable. Must be your power
> supply or ventilator.
Another possibility is a corrupted libc.
--
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI
------------------------------
From: John Hasler <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: MS to Enforce Registration - or Else
Date: Wed, 14 Feb 2001 16:46:49 GMT
I wrote:
> How do theists explain God?
Stefan writes:
> I'd like to know that too.. but they usually don't.
Thus they multiply their hypotheses needlessly.
--
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin
------------------------------
From: [EMAIL PROTECTED] (Harold Stevens ** PLEASE SEE SIG **)
Subject: Re: Win4Lnx
Date: Wed, 14 Feb 2001 18:02:09 GMT
In <[EMAIL PROTECTED]>, Dave Martel:
[Snip...]
|> Just run KDE, stick some MS wallpaper on it, and tell them you're
|> beta-testing NT6. :-D
I recall some penguinistas in a similar Dozedroid shop decided that fvwm95
(IIRC) had enough "Look'NFeel" to decoy pointyhairs with nothing better to
do than ensure politically correct GUIs were in place everywhere. :)
--
Regards, Weird (Harold Stevens) * IMPORTANT EMAIL INFO FOLLOWS *
Pardon the bogus email domain (dseg etc.) in place for spambots.
Really it's (wyrd) at raytheon, dotted with com. DO NOT SPAM IT.
Standard Disclaimer: These are my opinions not Raytheon Company.
------------------------------
From: "Harlan Grove" <[EMAIL PROTECTED]>
Subject: Re: ksh script problem: pwd works differently for ksh then linux binary file
Date: Wed, 14 Feb 2001 18:03:12 GMT
Shai Kedem <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
...
>I tried that solution but still get the same result: $PWD will give the
>resolved symbolic name when run from a ksh script, and the symbolic link
>name when run from ksh interactive mode.
>If there is a way to force ksh script to use the alias, it will be best.
>any suggestion are welcome
So for example, if you cd to /a/b/c, which is a symbolic link to /x/y/z,
interactively the ksh command
echo $PWD
gives /a/b/c but when run from a script it gives /x/y/z ? Even if you cd
/a/b/c interactively, run echo $PWD to show /a/b/c, then run the simple
script
#!/bin/ksh
echo $PWD
and it shows /x/y/z ? Weird. If this is the case, it appears that ksh itself
is resolving the symbolic link (hard to figure out why, leaving the working
directory unchanged, the value of PWD would change between an interactive
shell and a noninteractive child shell). You can try tricking the shell into
thinking it's interactive with the command set -i but I'm not sure it'll
work. Do you have any other shells with which you could test this behavior?
------------------------------
From: "Doug Forbush" <[EMAIL PROTECTED]>
Subject: Re: Can't delete file
Date: 14 Feb 2001 18:16:52 GMT
Eric Ho <[EMAIL PROTECTED]> wrote:
: I am trying to delete a file, but got this error :
: bash-2.03# rm plusnode.gif
: rm: cannot remove `plusnode.gif': Value too large for defined data type
: bash-2.03#
how bout
rm -f plusnode.gif
the -f means to be <f>orceful and delete it no matter what..
doug
------------------------------
From: "Harlan Grove" <[EMAIL PROTECTED]>
Subject: Re: exec hangs from .bash_profile
Date: Wed, 14 Feb 2001 18:17:33 GMT
David Efflandt <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>On Mon, 12 Feb 2001, Mark Winsor <[EMAIL PROTECTED]> wrote:
>>I have an ncurses program being "execed" from the user's .bash_profile.
When
>>execed, it hangs and doesn't allow keyboard input. When it is just run
from
>>the profile, it works.
>>
>>menu {works}
>>exec menu {doesn't work}
...
>exec executes a command and never returns. Therefore your login
>terminates there. Is that really what you want to do?
Looks like the OP wants to use a menu front end rather than a shell.
Presumably this menu front end can't run scripts, so ~/.bash_profile is
still needed. If the goal is to use bash as the login shell but replace it
with the menu system to prevent the user from seeing the shell at all,
consider using
menu
exit
rather than exec menu. You may need to supplement this with trap commands to
handle user attempts to avoid returning to login after the menu front end
finishes.
------------------------------
From: "Doug Forbush" <[EMAIL PROTECTED]>
Subject: Re: keep connection alive
Date: 14 Feb 2001 18:18:54 GMT
doug edmunds <[EMAIL PROTECTED]> wrote:
: My isp disconnects for inactivity
: apparently not recognizing that I
: am trying to do a large unattended
: download. Are there any 'connection keeper'
: programs that will work for linux?
If all you need is ANY network activity, then set up a cron job to ping
some arbitrary host every 5 min's..
doug
------------------------------
From: Silviu Minut <[EMAIL PROTECTED]>
Subject: Re: Intruder
Date: Wed, 14 Feb 2001 13:15:35 -0500
What distribution were you running?
rc wrote:
> I had someone FTP intp the system with a userid Jim and then the messages
> log file said he su'd to ro0t, not root. How could he do that and what is
> ro0t?
>
> Thanks,
>
> --
> Roberto
------------------------------
From: Tom Reed <[EMAIL PROTECTED]>
Subject: rsync problems
Date: Wed, 14 Feb 2001 10:22:41 -0800
Hi all --
Sorry if this has been asked before, but I couldn't find anything in Deja
(I'm still learning my way 'round Google's new interface, so maybe I
missed it). Anyway here's the problem:
I'm running out of space on my (Red Hat) Linux box (ip: 10.128.80.4), so I
set up another (ip: 10.128.80.14) as an NFS server, etc. I'm trying to
sync up the password info with rsync, but it's just not working. The
rsyncd.conf file on the second machine looks like this:
[sysfiles]
path = /etc
secrets file = /etc/rsyncd.secrets
hosts allow = 10.128.80.4
I'm starting rsync out of inetd.conf, with this line:
rsync stream tcp nowait root /usr/bin/rsync --daemon
And, yes I remembered to send inetd a HUP signal.
However, when I execute the following command (as root) from the first
machine:
rsync -goptv --password-file=/etc/rsyncd.pwd /etc/passwd 10.128.80.14::sysfiles
Nothing happens. Sometimes (*sometimes*) I get a 'connection reset by
peer' message.
/etc/rsyncd.pwd on the first machine contains:
password
and /etc/rsyncd.secrets on the second contains:
root:password
where password is the same string in both cases.
I can telnet to port 873 and rsync does respond, but it just prints a help
message.
the command:
rsync 10.128.80.14::
(which - I think - should list the available modules shows nothing).
So... what am I missing?
Thanks in advance.
Tom R. [EMAIL PROTECTED]
"The best book on programming for the layman is Alice in Wonderland,
but that's because it's the best book on anything for the layman."
--Alan Perlis
------------------------------
From: [EMAIL PROTECTED] (Donovan Rebbechi)
Crossposted-To: comp.os.linux.setup
Subject: Software RAID on ReiserFS (?)
Date: 14 Feb 2001 18:29:10 GMT
I'm wondering if anyone's tried configuring a software RAID on ReiserFS.
We're currently using software RAID (5) with 4 IDE drives. The problem
with putting the RAID on ext2 is that it takes forever to boot up
if there's a power outage (it causes about 2 hours of downtime)
I'd be interested to know if anyone's done this.
Also, does Mandrake 7.2 include support for ReiserFS ?
--
Donovan Rebbechi * http://pegasus.rutgers.edu/~elflord/ *
elflord at panix dot com
------------------------------
From: John C Bahr <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Redirecting Serial port input to a file
Date: Wed, 14 Feb 2001 11:37:48 -0700
Hi,
I am trying to test serial throughput in Linux. I have two machines
connected with a null modem serial cable and have successfully tested
communication via minicom. (FWIW: Source machine is a i686 running
Redhat 7.0 and the target machine is an ARM running an embedded version
of Royal Linux)
I have read the Advanced Bash Scripting HOWTO's section on I/O
Redirection and
I am sending an ASCII text file (100 lines with the numbers 1 through
100 on their respective line) from the source computer like so:
cat sent.txt > /dev/ttyS0
I am attempting, from bash, to redirect the serial port data coming into
the target to a text file. I have tried all of the following on the
target:
1) Take standard input from a file and direct standard input back to a
file:
exec < /dev/ttyS0 > received.txt (This causes the lines in the
file to be "executed" as commands, a blank received.txt to be received,
and my session logs out.)
2) cat /dev/ttyS0 > received.txt (This causes 3 or 4 lines
to be placed in received.txt : blank, some number, some greater number
and then the file is closed and I get a prompt back.)
3) Run, from within a shell script:
exec cat /dev/ttyS0 > received.txt (This has the same effect as
case 2 above be the script exits.)
You can't, of course, just do a /dev/ttyS0 > received.txt.
I am running at a mere 9600 baud. Could I be seeing receive buffer full
overruns? Why would that cause case 2 and 3 to exit from their
environment?
"exec" seems to be what I need since without it, the command completes.
"exec" seems to cause the statement to keep redirecting the input.
I know I could write two little programs to do this but I thought since
redirection is so powerful...
This is all slightly complicated by the fact that sometime I can't break
out of a running task, and have to reboot the target, thus flushing my
RAM disk. :-(
Has anyone done this kind of thing before?
Thanks,
John Bahr
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.hardware,comp.os.linux.advocacy,redhat.networking.general
Subject: Re: RH7/3Com and 3Com Mini PCI Ethernet adapter
Reply-To: [EMAIL PROTECTED]
Date: Wed, 14 Feb 2001 18:53:47 GMT
On Wed, 14 Feb 2001 04:11:20 GMT, J Sloan <[EMAIL PROTECTED]> wrote:
>
>The Red Hat web site has excellent documentation
>on this, as does the install guide that comes with RH.
Get out the Visine.
>If in doubt, consult one of the linux help groups -
Because chances are good nobody else can make it work either.
Typical Linux.
>jjs
Flatfish
Why do they call it a flatfish?
Remove the ++++ to reply.
------------------------------
From: George Bell <[EMAIL PROTECTED]>
Subject: Simple Question on File Extension
Date: Wed, 14 Feb 2001 13:59:38 -0500
Hi,
My linux is a little rusty. I've come across a linux/unix type file
with a .sh extension. That is, the file is called "somefile.sh"
Can anyone please tell me what kind of file this is? Is it a script
file, a log file, ???
Thanks,
George
--
**********************
The Truth is Out There
------------------------------
From: Napnap <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake
Subject: Re: How to forward external requests to internal machine?
Date: Wed, 14 Feb 2001 20:00:37 +0100
Warren Bell a �crit :
>
> I'm running Mandrake 7.2 with ipchains as a firewall. I want to forward
> any requests to a certain port to an internal machine on the local
> network allowing it through. I've been looking around but can't find
> how to do this. The only thing I've found is that you can't do it with
> ipchains. What program can I use to do this?
You should use a port forwarder. I think there's at least on at
www.linuxdownloads.org in the security section
By
--
Webmaster @
http://www.linuxdownloads.org : Download center for Linux users
Mail : [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Lew Pitcher)
Subject: Re: Simple Question on File Extension
Reply-To: [EMAIL PROTECTED]
Date: Wed, 14 Feb 2001 19:09:04 GMT
On Wed, 14 Feb 2001 13:59:38 -0500, George Bell
<[EMAIL PROTECTED]> wrote:
>Hi,
>
> My linux is a little rusty. I've come across a linux/unix type file
>with a .sh extension. That is, the file is called "somefile.sh"
>Can anyone please tell me what kind of file this is? Is it a script
>file, a log file, ???
It's likely a shell script file.
I say 'likely' because Linux, like Unix, doesn't depend on 'file
types' to delimit the type of file. somefile.sh could be a "SHared"
file under some user's off-beat naming convention.
Lew Pitcher
Information Technology Consultant
Toronto Dominion Bank Financial Group
([EMAIL PROTECTED])
(Opinions expressed are my own, not my employer's.)
------------------------------
From: Chris Webster <[EMAIL PROTECTED]>
Subject: Re: Intruder
Date: Wed, 14 Feb 2001 12:02:45 -0700
> The only advice ANYONE can give you after you've been cracked is...
> backup important files such as /etc and /home.
> Wipe the hard disk, and reinstall.
Take the disk out, put another in, re-install. Now you have time to
look over what happened on the old disk.
--Chris
------------------------------
From: Chris Webster <[EMAIL PROTECTED]>
Subject: Re: netcrap locks me up
Date: Wed, 14 Feb 2001 12:06:16 -0700
Mladen Gavrilovic wrote:
>
> Sorry, I have to stick this in every time I see netscape getting
> bashed...
>
> I've had no problems with netscape on a variety of systems (Red Hat 5,
> 6, 7) and a variety of netscape versions. There is the occasional
> crash, but certainly nothing more than once every 2 months or so...
Wow, I dream of that few crashes. I have definatly tied it to specific
sites. There is one I visit that constantly crashes, I have to make
sure not to move the mouse too fast over the screen on that site, and
make sure it's completely loaded before moving the mouse at all.
--Chris
------------------------------
** 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 by posting to comp.os.linux.misc.
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
******************************