Linux-Misc Digest #317, Volume #24 Sun, 30 Apr 00 14:13:03 EDT
Contents:
Re: VT102 or VT220 emulation (Bit Twister)
Re: Linux Journal Python supplement (Allen Ashley)
Re: Linux printer driver for HP laserjet III in PCL (Sean Akers)
Re: Caldera 1.3 vs Caldera 2.3 (Jerry McBride)
Re: Executing own program fails - command not found (Herb Stein)
Re: sshd from inside a firewalled net. Wierd problem (Chetan Ahuja)
Problems Launching X Applications from Desktop Terminal Window (mike)
Kernel compile results in HD: unable to get major 3 (Nobody)
Re: Problems Launching X Applications from Desktop Terminal Window ("Peter T.
Breuer")
Re: changing root username ([EMAIL PROTECTED])
Linux ps (Galen Menzel)
Re: lost link - Windows 98 on linux ("Jon")
Re: sshd from inside a firewalled net. Wierd problem (root)
X locks up solid, what can I do ?! HELP !!! (Dave Phillips)
Re: Linux ps ("Peter T. Breuer")
Re: VPN server for linux (root)
Re: Difference between Mandrake 7.0 and RedHat 6.2 ("David ..")
where is com5 in Linux ? (Bob Koss)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Bit Twister)
Subject: Re: VT102 or VT220 emulation
Reply-To: This_news_group
Date: Sun, 30 Apr 2000 16:03:58 GMT
Some xterm setttings require the nunlock on
an pf1-pf4 will be on f1-f4
Be sure to export TERM=vt100 in .bash_profile
On Fri, 28 Apr 2000 23:53:48 -0500, Clifton T. Sharp Jr.
> <[EMAIL PROTECTED]> wrote:
>Wife needs either VT102 or VT220 emulation for her real estate comms.
>Seems like all the 'term' things (xterm, gnome-term, rxvt, etc.) sport at
>least VT102, but:
>
>* only rxvt will print on the requested command (KP-period);
>* only gnome-terminal gives a consistent PF4 for shift-F4 key
>* NONE seems to have any documentation on keyboard mappings
>
>As things stand, I have to boot MS-DOS so she can use her special app
>to access stuff, and do lots of other aggravating tricks on command.
>It would be SO nice if I could just open a terminal window and have her
>work there. Help!
>
>--
>+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>| Cliff Sharp | "light jazz" is to jazz as "rubber band" is to orchestra. |
>| WA9PDM | |
>+-+-+-+-+-+-+-+-+-+- http://www.spamfree.org/ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
--
The warranty and liability expired as you read the message.
If the above breaks your system, it's yours and you keep both pieces.
Practice safe computing. Backup the file before you change it.
Do a, man every_command_here, before doing anything or running a script.
------------------------------
From: [EMAIL PROTECTED] (Allen Ashley)
Subject: Re: Linux Journal Python supplement
Date: 30 Apr 2000 16:22:06 GMT
John Scudder <[EMAIL PROTECTED]> writes:
>Yes, I thought that was a little unusual for Linux Journal...
>In keeping with the general Monty Python theme..the cover is from the 70's TV
>series opening where a similarly attired Michael Palin said " It's...." and
>then the Monty Python theme started.
My recollection is the piano player was Terry Jones.
------------------------------
From: Sean Akers <[EMAIL PROTECTED]>
Subject: Re: Linux printer driver for HP laserjet III in PCL
Date: Sun, 30 Apr 2000 15:49:48 +0100
On Sun, 30 Apr 2000 07:35:55 GMT, Michael Iwaki <[EMAIL PROTECTED]> wrote:
>I have a HP Laserjet III printer printing in PCL mode (without the
>Postscript cartridge). Does Linux support printing on a Laserjet III in
>PCL mode?
>
>Michael Iwaki
Linux supports this printer very well. My old Laserjet III has been
running with Linux for two years, no problem. Linux uses a piece of
software called Ghostscript to turn Postscript output into PCL
commands that the Laserjet understands. Try using apsfilter to set
things up for you and all will be well.
Sean.
------------------------------
From: [EMAIL PROTECTED] (Jerry McBride)
Subject: Re: Caldera 1.3 vs Caldera 2.3
Date: Sat, 29 Apr 2000 23:18:42 -0400
In article <8dterk$hsj$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Shahram Mehdian) wrote:
>I was thinking of installing Caldera 1.3 on my system. Is Caldera 2.3 a major
>upgrade worth considering or not?
>
Absolutely... 2.30 is a FAR better distro than 1.30... In fact, the just
released last month eDesktop 2.40 is even better than 2.30. You can grab a copy
of the "lite" version off the caldera ftp site... or ask me nicely and I'll
burn you a copy for $1.00 plus shipping...
>Also how difficult is the installation of Caldera1.3 for a double boot system?
>
It was failer easy for me. I used Boot Manager from my other operating system.
It all worked perfectly. Since that time has passed... I'm now running 2.40
and it's lightyears more "pleasing" than 1.30 ever hoped to be... :')
>My system is a very generic pentium200 and I don't know much about Linux
>(actually I dont know anything about Linux).
>
You're starting off with a better machine than I ahve right now... I'm running
a computer that I built from "left-overs" from various internet wholesalers...
I've got a Micronics hi54-10pm that sports a 166mhz Pentium and 128meg...
Surprisignly it's still a good performer with linux and only cost me a little
over $50.00 for the motherboard with memory and cpu... ;')
--
*******************************************************************************
Dyslexics of the world, untie!
*******************************************************************************
* NetRexx - The onramp to the Internet - http://www2.hursley.ibm.com/netrexx *
*******************************************************************************
------------------------------
From: [EMAIL PROTECTED] (Herb Stein)
Subject: Re: Executing own program fails - command not found
Date: Sun, 30 Apr 2000 16:33:03 GMT
>From a security standpoint, I would NOT recommend putting "." in your PATH.
Rather put you program in a directory that is in your PATH, like
/usr/local/bin
In article <[EMAIL PROTECTED]>, Michael Kelly
<[EMAIL PROTECTED]> wrote:
>On Sun, 30 Apr 2000 15:25:37 +0200, Karsten Wutzke
><[EMAIL PROTECTED]> wrote:
>
>>Can anyone tell me what's wrong?
>
>Unlike Dos and Windows, in Linux, the current directory is not in the
>path. So, to execute stuff in the current directory do
>../command
>
>The '.' refers to the current directory.
>If you find this onerous, you can append
>'.' to the PATH variabel in one of your
>startup scripts. For instance, if you use
>bash shell, your .bashrc file can have
>this line
>export PATH=dir:dir2:dir3
>where each directory is separated by a colon ':'
>(not a semicolon like in Windows or Dos.)
>
>If you want to add on to the existing path, try
>export PATH=mydir:$PATH
>or
>export PATH=$PATH:mydir
>
>
>
>Mike
>
--
Herb Stein
The Herb Stein Group
www.herbstein.com
[EMAIL PROTECTED]
314 215-3584
------------------------------
From: Chetan Ahuja <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: sshd from inside a firewalled net. Wierd problem
Date: 30 Apr 2000 16:55:08 GMT
In comp.os.linux.misc Jason <[EMAIL PROTECTED]> wrote:
> I will go with the assumption you have an ipchains firewall with a default
> deny rule..
> In this scenario if the host you are sshing from is not able to
> access port 16000 it can't be redirected in the first place..
Well... it's ipmasq ( kernel 2.0.36 from LRP). And no, port
16000 is not closed on the firewall... otherwise there's no way I
could EVER connect to the inside sshd. But I can; under a certain
set of conditions ( when I'm ssh'ing out of my in-host to out-host
and then ssh'ing from the out-host back to in-host).
But I can't connect while attempting a direct ssh connection from the
outside ( i.e. when I'm physically located outside the home ) That's
the weird part.
> I would also
> make sure that the internal linux machine doesn't have a firewall configured
> on it as well.. Firewalls usually cause most of these type problems.
Well.. no. The internal machine is not firewalled. There's no such
problem. So any other possibilities ?
Chetan
> "Chetan Ahuja" <[EMAIL PROTECTED]> wrote in message
> news:8efbhf$2bk6$[EMAIL PROTECTED]...
>> Hi,
>> Wierd ssh problem. Connecting to an sshd server running
>> inside an ipmasqed network.
>>
>> I have the following setup:
>>
>> in-host
>> running sshd----firewall running ipmasq ----- out-host
>> (kernel 2.0) (ssh-client)
>>
>>
>> First of all, I can run the ssh client on the in-host (to connect
>> to sshd on out-host) just fine. This is part of the problem statement.
>>
>> I have a fulltime internet connection at home (DSL). I want
>> to be able to get inside my home network through ssh. I run sshd only
>> on one computer inside my subnet and want to "punch a hole" through
>> the firewall to allow that. I have succeeded partially. Using the
>> following scheme:
>>
>> On the firewall, I use the following rule:
>>
>> ipautofw -A -r tcp 16000 16000 -h 10.0.0.3
>>
>> where 10.0.0.3 is the in-host, sshd runs on port
>> 16000 ( via setting in sshd_config on in-host)
>>
>> Also, I have setup RSA authentication stuff as explained in the
>> manual. I generate a public key on my out-host and place it in
>> authorised_keys file on the in-host etc etc.. ( if any more details
>> needed, plase ask.)
>>
>> OK. Now I want to test the connection. I am sitting at home, so I
>> just ssh out to the outhost. Then try to ssh back to my in-host from
>> there. Works beautifully. No problem. Just to make things doubly
>> sure, I ssh out to some completely different host on the internet,
>> then telnet from there into out-host. And THEN ssh from out-host
>> into my home network. Works again. So far so good.
>>
>>
>> Here's the Wierd part. Now when I am physically out of the house,
>> Login to out-host from its own subnet. And now try to ssh into my
>> home network ( that was the whole point ) No go. The ssh client just
>> waits for something... never connects. No messages... I wait and
>> wait... then just ctrl-C it. I try it many different times, on
>> different days... just doesn't work. The home DSL connection is up
>> (I can ping the firewall.)
>>
>> This is a quite baffling. Can anybody throw some light on what could
>> be going on... or at least where I can start some diagnosis
>> procedures... On solution might be to run sshd on the firewall itself
>> but that is a slow old diskless computer running off of a floppy and
>> it's not a very appealing solution for me. Besides, the mystery still
>> remains... What could be happening here??
>>
>> Chetan
>>
>>
>>
>>
>>
>>
>>
>>
------------------------------
From: mike <[EMAIL PROTECTED]>
Subject: Problems Launching X Applications from Desktop Terminal Window
Date: Sun, 30 Apr 2000 13:05:36 -0400
When I try to launch an X app via an xterm, I get a messsage:
can't open screen or connect to a TransSocket. Some other
terminals will do it. I think rxvt in Redhat 5.1. In Redhat 6.1
I can launch the apps via doing Start | Run and then type in
the app to launch.
Why can't X apps be launched from any terminal screen. What
are the issues.
Mike
------------------------------
From: [EMAIL PROTECTED] (Nobody)
Subject: Kernel compile results in HD: unable to get major 3
Date: Sun, 30 Apr 2000 17:15:26 GMT
Okay, I'm a semi-newbie. I've run Linux for about 3 months on dial-up
and now got ADSL so I'm reconfiguring for some specific things.
First, I downlaoded RH 6.2 and installed fresh (had screwed up my
partition sizes last time) and got it working.
Next, I downloaded 2.3.99 PRE 6 and configured. Compiled okay... set
up LILO to select from my old or new kernel (thank goodness!)
When I boot 2.3.99 I get "HD: unable to get major 3 for hard disk". I
thought at first I had neglected to compile in an IDE driver, so I
recompiled with all optional IDE and HD drivers to no avail.
My hardware specs are as follows:
486 120 Mhz
VLB ide card
two small hard drives - 602MB and 327MB
2x CD-ROM (disconnected it once to see if it was the problem)
Two NE network cards (works fine)
WD VLB video card
I don't know where else to look for the problem. It will still boot
my old kernel fine which is a stock RH 6.2.
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Problems Launching X Applications from Desktop Terminal Window
Date: 30 Apr 2000 17:12:48 GMT
mike <[EMAIL PROTECTED]> wrote:
: When I try to launch an X app via an xterm, I get a messsage:
: can't open screen or connect to a TransSocket. Some other
: terminals will do it. I think rxvt in Redhat 5.1. In Redhat 6.1
: I can launch the apps via doing Start | Run and then type in
: the app to launch.
: Why can't X apps be launched from any terminal screen. What
: are the issues.
setenv DISPLAY :the_right_number
Peter
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: changing root username
Crossposted-To: comp.os.linux.setup,comp.os.linux.security
Date: Sun, 30 Apr 2000 17:19:53 GMT
In comp.os.linux.security GC <[EMAIL PROTECTED]> wrote:
> Can be done. Shouldn't be any detrimental side effects (assuming you
> keep the uid as 0). However, it is a bit of a waste of time, being
> security through obscurity and whatnot (many canned exploits create a
> user (e.g. rewt) with a uid of 0 during the crack of a box.)
Will blow up most of your mail aliases. Will mess up some group-based
permission schemes on some systems. Will completely hose pam-based
console owensership handling. Will break /etc/crontab on many
systems. Will break large numbers of inetd run processes. May break
older applications that expect to find an entry for root. Other than
that, side effects may be light. ;)
If you _really_ want to do this, there are definately better
ways. However, it's difficult to suggest anything without knowing
exactly why you want to change it.
--
Matt Gauthier <[EMAIL PROTECTED]>
------------------------------
From: Galen Menzel <[EMAIL PROTECTED]>
Subject: Linux ps
Date: Sun, 30 Apr 2000 11:26:34 -0500
Anyone out there know why linux's ps command chops off its output if you
send it through a pipe? ps's output stops at 80 characters per line
when sent through a pipe, making greping for processes with long names
impossible. Using ps with pagers is also pretty useless. Any ideas?
Thanks.
galen
------------------------------
From: "Jon" <[EMAIL PROTECTED]>
Subject: Re: lost link - Windows 98 on linux
Date: Sun, 30 Apr 2000 12:31:08 -0500
I searched deja and I think I found what you are looking for. It is called
Win4Lin. go to http://www.trelos.com/ and they have a little bit of info on
it.
Yan Seiner wrote in message <[EMAIL PROTECTED]>...
>There was mention here a few weeks ago of a product for linux that would
>allow installation of WIndows 9x under linux. Not vmware, but a
>user-space program that would allow the installation of windows and
>require a windows license.
>
>It was priced at about $47 if I remember right.
>
>I can't find the link, bookmark, or mention anymore.
>
>Please help!
>
>--Yan
------------------------------
From: root <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: sshd from inside a firewalled net. Wierd problem
Date: Sun, 30 Apr 2000 13:19:22 -0500
I had a similar problem. If you look at the messages log, the box that
sshd is running on is probably complaining about attempting to connect
from a privilaged port. For me the problem was solved with the -P
option to ssh:
ssh -P -l mylogin myserver.abc123.com
which forces ssh to use non-privaledged port. This will help in
masquerading situations where port numbers are not always the ones that
client applications open (in fact they almost never are.)
Chetan Ahuja wrote:
>
> Hi,
> Wierd ssh problem. Connecting to an sshd server running
> inside an ipmasqed network.
>
> I have the following setup:
>
> in-host
> running sshd----firewall running ipmasq ----- out-host
> (kernel 2.0) (ssh-client)
>
>
> First of all, I can run the ssh client on the in-host (to connect
> to sshd on out-host) just fine. This is part of the problem statement.
>
> I have a fulltime internet connection at home (DSL). I want
> to be able to get inside my home network through ssh. I run sshd only
> on one computer inside my subnet and want to "punch a hole" through
> the firewall to allow that. I have succeeded partially. Using the
> following scheme:
>
> On the firewall, I use the following rule:
>
> ipautofw -A -r tcp 16000 16000 -h 10.0.0.3
>
> where 10.0.0.3 is the in-host, sshd runs on port
> 16000 ( via setting in sshd_config on in-host)
>
> Also, I have setup RSA authentication stuff as explained in the
> manual. I generate a public key on my out-host and place it in
> authorised_keys file on the in-host etc etc.. ( if any more details
> needed, plase ask.)
>
> OK. Now I want to test the connection. I am sitting at home, so I
> just ssh out to the outhost. Then try to ssh back to my in-host from
> there. Works beautifully. No problem. Just to make things doubly
> sure, I ssh out to some completely different host on the internet,
> then telnet from there into out-host. And THEN ssh from out-host
> into my home network. Works again. So far so good.
>
>
> Here's the Wierd part. Now when I am physically out of the house,
> Login to out-host from its own subnet. And now try to ssh into my
> home network ( that was the whole point ) No go. The ssh client just
> waits for something... never connects. No messages... I wait and
> wait... then just ctrl-C it. I try it many different times, on
> different days... just doesn't work. The home DSL connection is up
> (I can ping the firewall.)
>
> This is a quite baffling. Can anybody throw some light on what could
> be going on... or at least where I can start some diagnosis
> procedures... On solution might be to run sshd on the firewall itself
> but that is a slow old diskless computer running off of a floppy and
> it's not a very appealing solution for me. Besides, the mystery still
> remains... What could be happening here??
>
> Chetan
>
>
>
>
>
>
------------------------------
From: Dave Phillips <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: X locks up solid, what can I do ?! HELP !!!
Date: Sun, 30 Apr 2000 13:42:35 -0400
Greetings:
First, apologies for the cross-post, but I believe it was necessary.
Periodically, while on the network (PPP connection to my ISP), X will
lock my machine solid, requiring a complete power down to get it running
again. Here's the situation:
This problem has accurred sporadically for the past year or so. It
happens irregularly, and /var/log/messages reports this right before the
freeze:
Apr 29 15:44:04 localhost modprobe: can't locate module char-major-108
Apr 29 15:44:04 localhost pppd[5601]: pppd 2.3.10 started by root, uid 0
Apr 29 15:44:04 localhost pppd[5601]: Using interface ppp0
Apr 29 15:44:04 localhost pppd[5601]: Connect: ppp0 <--> /dev/ttyS3
Apr 29 15:44:13 localhost kernel: PPP BSD Compression module registered
Apr 29 15:44:13 localhost kernel: PPP Deflate Compression module
registered
Apr 29 15:44:13 localhost pppd[5601]: local IP address 209.143.26.110
Apr 29 15:44:13 localhost pppd[5601]: remote IP address 209.143.26.103
Apr 29 15:44:14 localhost modprobe: no dependency information for
module: "/d
ev/ttyS3"
Then the crash happens.
I'm using a USR 56K internal modem, it's not a PnP card or a
Winmodem. This lockup has occurred through at least two separate
installations, so I strongly suspect the modem, but I have no idea what
I can do to eradicate the problem. The modem is set to use IRQ3. There
are no apparent conflicts.
I have been told that this will happen when running X as root (I'm
not), or when running Netscape (almost always happens then, but not
always). My machine is a 550 PIII with 256 MB RAM. I also have a SB
PCI128 soundcard installed and use the commercial 4Front drivers. Video
card is an ATI 8 MB Xpert@Play (AGP).
Please let me know (via email as well as on the newsgroup) if more
details are required. I would dearly love to resolve this once and for
all. Any serious advice will be *vastly* appreciated !!!
Best regards,
== Dave Phillips
http://www.bright.net/~dlphilp/index.html
http://www.bright.net/~dlphilp/linuxsound/
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Linux ps
Date: 30 Apr 2000 17:34:21 GMT
Galen Menzel <[EMAIL PROTECTED]> wrote:
: Anyone out there know why linux's ps command chops off its output if you
: send it through a pipe? ps's output stops at 80 characters per line
: when sent through a pipe, making greping for processes with long names
: impossible. Using ps with pagers is also pretty useless. Any ideas?
Man ps? The "w" option?
Peter
------------------------------
From: root <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.admin,comp.os.linux.networking,comp.os.linux.setup
Subject: Re: VPN server for linux
Date: Sun, 30 Apr 2000 13:23:24 -0500
I run PPP over SSH, and it works great for creating a VPN over the
internet. There is a howto on it that guided me, got it from
linuxdocs.org.
If you have pppd and sshd, no more software to buy.
"H.T. Sun" wrote:
>
> Hi,
>
> Does anyone know of any VPN (Virtual Private Network) server
> applications for Linux ? Any info. will be very helpful.
>
> Thanks a million
------------------------------
From: "David .." <[EMAIL PROTECTED]>
Subject: Re: Difference between Mandrake 7.0 and RedHat 6.2
Date: Sun, 30 Apr 2000 12:46:35 -0500
Leonard Evens wrote:
>
> Michael Iwaki wrote:
> >
> > I see many auctions for Mandrake 7.0 and RedHat 6.2 linux distributions
> > on ebay.
[snip]
>
> Since you can get RH6.2 (and possibly Mandrake) from Cheapbytes
> for $.89 + shipping or you can download the iso image for free,
> what is there to auction?
You can download both of them for free, why buy at an auction?
--
Registered with the Linux Counter. http://counter.li.org
ID # 123538
------------------------------
Subject: where is com5 in Linux ?
From: Bob Koss <[EMAIL PROTECTED]>
Date: Sun, 30 Apr 2000 18:01:06 GMT
I just installed a new pcmcia ethernet/modem card in my
laptop. Ethernet worked fine right out of the box.
In Win98, the modem is listed under com5. What do I link /dev/modem to
in linux to make it work? tty's stop at /dev/ttyS3, which I belive is
com4.
--
Robert Koss, Ph.D. | Object Mentor, Inc. | Tel: (800) 338-6716
Senior Consultant | 14619 N Somerset Cr | Fax: (847) 918-1023
[EMAIL PROTECTED] | Green Oaks IL 60048 | www.objectmentor.com
------------------------------
** 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
******************************