Linux-Misc Digest #932, Volume #27 Wed, 23 May 01 23:13:01 EDT
Contents:
Re: Routing keystrokes through network connection (Michael Sims)
Re: Network Configuration mystery (peter pilsl)
fdisk help please (Dale Winters)
Re: XWindows desktop not fully coming up. Please help? ("Peter T. Breuer")
XTerm Question ("Buck Turgidson")
Re: Tandy Model 100 as linux terminal ("Anthony DeRobertis")
Re: Security Testing (John Hasler)
Re: XTerm Question (Bob Martin)
Re: XTerm Question (Robert A. Uhl)
Re: XWindows desktop not fully coming up. Please help? (Robert A. Uhl)
nfs mount degrades performance ([EMAIL PROTECTED])
MBR on a raid-5 array (Frank de Bot)
Re: IBM to let Linux fans use mainframe--for free ("fmc")
Re: RH 7.1 - lost panel in gnome! ("Wayne Osborn")
Re: usb canon powershot s10 camera (mark stephens)
Re: linux libraries (Richard)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Michael Sims)
Crossposted-To: alt.linux,alt.os.linux
Subject: Re: Routing keystrokes through network connection
Date: Thu, 24 May 2001 00:06:18 GMT
On Wed, 23 May 2001 19:47:17 +0100, "Michael Pye"
<[EMAIL PROTECTED]> wrote:
>I'm not overly familiar with the networking side of unix or linux, so I was
>wondering as follows
>
>Is there a way to manually open a TCP/IP connection and send (almost) all
>the communications manually. As in logging in to an FTP server and entering
>all commands yourself rather than using a client to parse them for you.
>After all, that's how it was originally done isn't it?
Just telnet to port 21 on the machine, use USER <username> and PASS
<passwd> to login, then send your commands. Hope you're really
familiar with FTP commands (such as PORT, CWD, LIST, PASV, the ones
your client makes transparent), because otherwise it'll be a bit
difficult.
=====================================================================
Michael Sims
mhsims at midsouth dot rr dot com
"The beatings will continue until morale improves."
=====================================================================
------------------------------
From: peter pilsl <[EMAIL PROTECTED]>
Subject: Re: Network Configuration mystery
Date: Thu, 24 May 2001 02:26:17 +0200
Sony Antony wrote:
>
> But I could not access the internet. Neither could I ping the any
> addresses outside our network.
> Then when I checked one of the office windows machine, I saw that they all
> have an IP address **outside our network** as the default gateway.
outside of network ? if they have a public IP the whole world is the
network ..
usual (and deadly) setup offered by some ISP:
internet,gateway----HUB------ client1
------ client2
------ clientx
needless to say that this is an security nightmare. Note that all clients
sit in the same networksegment and the gateway does not.
My ISP offers such solutions and when I set my nic to promiscous mode I see
a lot of stuff floating by that does not belong there ... :)
You can also have the following:
internet, isp-gate------router-------client1
-------client2
-------client3
where the router can also be a firewall or whatever. In that case the
clients have the router as gateway or (if bad configuration) the
isp-gateway.
In that case the router must allow the clients connections to the internet
and maybe this was your problem.
> Even
> this IP I could not ping from my Linux box. Needless to say that setting
> this as default gateway in my Linux box did not solve the problem.
Not needless :) You are sure, all routes were set proper ?
> My understanding about default gateway was
> 1. This is the IP address the request should be sent if the host does not
> know of any route to a destination.
no, this is the machines where packages are sent to next. In other words:
every route from inside to outside goes via gateway.
> 2. The defaul;t gateway should always be a member of the network.
>
iit should but it need not. you can set routes per interface or per
gateway. If set per gateway the specified gateway needs not to be reachable
via one hop.
> Also can anybody see how the windows machines were able to work
> mysteriously. The only other configuration I could see was for DNS ( which
> was also pointing to the same machine as the one set as default gateway -
> an outside the network host )
>
I think you have one of the above configurations but of course there are
some other mystical things that can take place here.
I would recommend reading the network-howto.
peter
--
peter pilsl
[EMAIL PROTECTED]
http://www.goldfisch.at
------------------------------
From: Dale Winters <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake,comp.os.linux
Subject: fdisk help please
Date: Wed, 23 May 2001 20:31:00 -0400
Am trying to change the partition Id on one of my linux part. I tried
using sfdisk with...... /sbin/sfdisk -c /dev/hda2 85 [83] --force....
85 is the Id it now has and I want to change it to 83. I tried lots of
other combo's but this came the closest to working.I get an error msg
something like "no partition 85".
Can someone please help with the correct syntax ?
Does it matter if this part. is set active or not ?
TIA, Dale
--
Stay open-minded, inquisitive, courageous, just, and compassionate,
.........and you've done a hard day's work.
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: XWindows desktop not fully coming up. Please help?
Date: Thu, 24 May 2001 02:17:31 +0200
LRW <[EMAIL PROTECTED]> wrote:
> The reason I asked why I asked why is because I'm confused about why
> this box works perfectly right out of installation without a .xinitrc
> when it sounds as though that file is necessary.
Necessary for what? Not for "working"! That file is only "necessary"
for forcing a menu choice automatically for a xdm-mediated login -
and even then only if it's mentioned that way in your systemwide
initrc. Lots of factors intervene.
> And I'm running as root because I'm having to do installations of
> packages left and right so I thought I might as well stay as root. I've
No, DON'T run as root. Use sudo.
> been so busy getting the machine set up right that I haven't had time
> yet to study up on user managing enough yet to create another account
This hardly requires study! That's like saying "I've been training so
hard that I haven't studied up on how to walk to the door of the
breakfast room". Edit /etc/passwd and give yourself an account. This
should absolutely be step zero in the use of any machine. How can you
possibly test any of your installations if you don't have any users
to test them?
> for myself that has all the benefits but none of the risks root has.
Peter
------------------------------
From: "Buck Turgidson" <[EMAIL PROTECTED]>
Subject: XTerm Question
Date: Thu, 24 May 2001 00:21:59 GMT
Sorry if this is a dumb question. Is there a way to run Xterm on a MS Windows
machine, so I can access a linux machine running X, kinda like PC Anywhere or
Reachout?
Thanks for any replies.
------------------------------
From: "Anthony DeRobertis" <[EMAIL PROTECTED]>
Crossposted-To: comp.sys.tandy,comp.os.linux.powerpc
Subject: Re: Tandy Model 100 as linux terminal
Date: Wed, 23 May 2001 20:46:08 -0400
In article <sBZN6.5192$[EMAIL PROTECTED]>, "Russell Filling"
<[EMAIL PROTECTED]> wrote:
> Hey is it possible to get lynx to work like that on a win98
> box so that u can null into com1 and lynx away on the m100 ?
I'd suggest a win98 newsgroup for asking this. You've asked on a Linux
(different OS) for PPC (different processor) ng.
f/u set.
------------------------------
From: John Hasler <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.setup
Subject: Re: Security Testing
Date: Wed, 23 May 2001 19:47:16 GMT
Michael Pye writes:
> [I]s asking a hacker not a bit risky.
No. Asking a hacker is not the least bit risky (execpt for the risk that
his fee might break your budget). Asking a _cracker_, on the other hand,
could involve taking a chance.
> I'd rather the temptation to fuck up the machine wasn't there...
If the machine is there, so is the temptation (For crackers, that is.
Hackers do not engage in such stupidities).
--
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI
------------------------------
From: Bob Martin <[EMAIL PROTECTED]>
Subject: Re: XTerm Question
Date: Wed, 23 May 2001 20:06:17 -0500
Buck Turgidson wrote:
>
> Sorry if this is a dumb question. Is there a way to run Xterm on a MS Windows
> machine, so I can access a linux machine running X, kinda like PC Anywhere or
> Reachout?
>
> Thanks for any replies.
Sure, you need some type of software that does xterm. All that I know are
commercial, Exceed is one that I have used before. There is VNC which is free,
but not exactly X. you run a vnc client on wintendoze which connects to a vnc
server on the linux box. The other neat thing about vnc is it works in the
opposite direction. I use a vnc client on my linux box at work to connect to a
vnc server on an NT box.
--
Bob Martin
------------------------------
From: [EMAIL PROTECTED] (Robert A. Uhl)
Subject: Re: XTerm Question
Date: Thu, 24 May 2001 01:07:46 -0000
Reply-To: [EMAIL PROTECTED]
On Thu, 24 May 2001 00:21:59 GMT,
Buck Turgidson <[EMAIL PROTECTED]> wrote:
>
> Sorry if this is a dumb question. Is there a way to run Xterm on a
> MS Windows machine, so I can access a linux machine running X, kinda
> like PC Anywhere or Reachout?
Not a dumb question. There is a product called exceed (which doesn't)
which provides this fuctionality. It's not the most fun to get
working, but it does work. If all you need is simple access, though,
SSH works great.
--
Robert Uhl <[EMAIL PROTECTED]>
One could spend *all day* customizing the title bar. Believe me. I speak
from experience. --Matt Welsh
------------------------------
From: [EMAIL PROTECTED] (Robert A. Uhl)
Subject: Re: XWindows desktop not fully coming up. Please help?
Date: Thu, 24 May 2001 01:09:31 -0000
Reply-To: [EMAIL PROTECTED]
On Thu, 24 May 2001 02:17:31 +0200,
Peter T. Breuer <[EMAIL PROTECTED]> wrote:
>
> Edit /etc/passwd and give yourself an account.
Even easier than that--on RedHat, simply type 'useradd -m <username>'.
The -m creates the user's home directory. Simplicity itself. But one
should definitely learn the /etc/passwd format--in some cases it can
save one's life.
--
Robert Uhl <[EMAIL PROTECTED]>
_Money_ is gold. Fiats are green. --Bryan J. Maloney
------------------------------
Date: Thu, 24 May 2001 11:26:07 +0930
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Subject: nfs mount degrades performance
In doing some benchmarking on some redhat 7.1 boxes, I discovered that
if I mount a remote nfs file system using the mount command and then run
my little benchmark (which just increments a counter), the test takes
three times as long. This occurs even though there is nothing using the
nfs mounted file system, i have not even done a cd to it. The are no
obvious resources being used, it's not swapping, there are no other
processes using significant cpu. I have tried every combination of
options on the nfs mount. Now what is really weird is that if the same
nfs file system is mount through the automounter rather than using the
mount command, there is no degregation on the performance. Anyone got
any clues?
--
David Bowler
Computing Services Manager
Department of Electrical and Electronic Engineering
The University of Adelaide
------------------------------
From: Frank de Bot <[EMAIL PROTECTED]>
Subject: MBR on a raid-5 array
Date: Thu, 24 May 2001 01:59:36 GMT
Hi,
I'm planning to create a raid-5 array of 3 18Gb scsi drives (not
important). As usual the devices are called sda,sbd and sdc. My question
is; what if the first disk,sda, (which contains the Master Boot record)
failes?! How am I supposed to get the MBR on the new disk I'll put in? It
would be pretty nasty if I couldn't boot my systeem anymore because of
this. Does anyone got a solutions to this? offcourse. I could run lilo
again, but what if the netpower suddenly fails? Maybe you don't count on
it, but it just might happen.
thanks in advanced,
Frank de Bot!
------------------------------
From: "fmc" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: IBM to let Linux fans use mainframe--for free
Date: Thu, 24 May 2001 02:54:31 GMT
"Aaron R. Kulkis" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> fmc wrote:
> >
> > <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]...
> > > I found this info at:
> > >
> >
http://dailynews.yahoo.com/h/zd/20010522/tc/ibm_to_let_linux_fans_use_mainfr
> > ame--for_free_1.html
> > >
> > > Anyone knows how to get this access?
> >
> > Yes, read this:
> >
> >
http://dailynews.yahoo.com/h/zd/20010522/tc/ibm_to_let_linux_fans_use_mainfr
> > ame--for_free_1.html
>
>
>
> When posting long URL's please adjust your line length so that they don't
> get fucked up
>
>
Javohl, Herr Commandante
>
>
http://dailynews.yahoo.com/h/zd/20010522/tc/ibm_to_let_linux_fans_use_mainfr
ame--for_free_1.html
>
>
> > fm
> >
> > >
> > > Zalek
>
>
> --
> Aaron R. Kulkis
> Unix Systems Engineer
> DNRC Minister of all I survey
> ICQ # 3056642
>
> L: This seems to have reduced my spam. Maybe if everyone does it we
> can defeat the email search bots. [EMAIL PROTECTED] [EMAIL PROTECTED]
> [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> K: Truth in advertising:
> Left Wing Extremists Charles Schumer and Donna Shalala,
> Black Seperatist Anti-Semite Louis Farrakhan,
> Special Interest Sierra Club,
> Anarchist Members of the ACLU
> Left Wing Corporate Extremist Ted Turner
> The Drunken Woman Killer Ted Kennedy
> Grass Roots Pro-Gun movement,
>
>
> J: Other knee_jerk reactionaries: billh, david casey, redc1c4,
> The retarded sisters: Raunchy (rauni) and Anencephielle (Enielle),
> also known as old hags who've hit the wall....
>
> I: Loren Petrich's 2-week stubborn refusal to respond to the
> challenge to describe even one philosophical difference
> between himself and the communists demonstrates that, in fact,
> Loren Petrich is a COMMUNIST ***hole
>
> H: "Having found not one single carbon monoxide leak on the entire
> premises, it is my belief, and Willard concurs, that the reason
> you folks feel listless and disoriented is simply because
> you are lazy, stupid people"
>
> G: Knackos...you're a retard.
>
>
> F: Unit_4's "Kook hunt" reminds me of "Jimmy Baker's" harangues against
> adultery while concurrently committing adultery with Tammy Hahn.
>
> E: Jet is not worthy of the time to compose a response until
> her behavior improves.
>
> D: Jet Silverman now follows me from newgroup to newsgroup
> ...despite (C) above.
>
> C: Jet Silverman claims to have killfiled me.
>
> B: Jet Silverman plays the fool and spews out nonsense as a
> method of sidetracking discussions which are headed in a
> direction that she doesn't like.
>
> A: The wise man is mocked by fools.
------------------------------
From: "Wayne Osborn" <[EMAIL PROTECTED]>
Subject: Re: RH 7.1 - lost panel in gnome!
Date: Thu, 24 May 2001 10:55:37 +0800
In article <[EMAIL PROTECTED]>, "Stan"
<[EMAIL PROTECTED]> wrote:
> Wayne Osborn wrote:
>
>> [snip]
>>
>> With Gnome running, open a temrinal window and type "panel".
>>
>> --
>> Wayne A. Osborn, SCADA Engineer.[dnar AT iinet DOT net DOT au]
>> Registered Linux User #212818. [2.2.16-22-Win4Lin-686] [i686]
>> 10:00am up 3 days, 7:21, 2 users, load average: 2.02, 2.06, 2.01
>> ..."But what we need to know is, do people want nasally-insertable
>> computers?"
>
> Well I couldn't do it because gnome was so hosed I could not get a
> terminal window (righ-click did not work at all).
>
> Uninstalling Mozilla didn't work... for some reason it never registered
> itself so it was not showing in "rpm -qa".
>
> So what I did was I created a new account and instead of logging in as
> root I logged in as that user. Once I logged in, to my surprise gnome
> was working just fine! I logged out and logged back in as root, and even
> though the panel still wasn't there, I was able to right-click, open a
> terminal window and type "panel". That restored the panel, with all my
> customizations.
>
> I'm curious though what happened :)
>
> Thanx to all who replied,
> Stan
>
> PS What is Registered Linux User # ?
>
Sometimes Gnome is a little flakey. It was a lot worse in RH6.
I find it Ok now I have everything else stable. The other day gmc went
fritz on me though! It crashed leaving a rouge task that could not be
removed. The rough task occupied much of the CPU time as well, I had to
re-nice it so I could use the system. In the end a restart was recessary
:-( That was the first time EVER I had to re-boot Linux :-(
gmc also screwed my /tmp in the process - lucky this is a seperate
partition - yep it pays to have multi-partion filesystem!!!
I'm sure there is a way of removing rough tasks - anyone?
--
Wayne A. Osborn, SCADA Engineer.[dnar AT iinet DOT net DOT au]
Registered Linux User #212818. [2.2.16-22-Win4Lin-686] [i686]
10:50am up 5 days, 8:11, 2 users, load average: 2.10, 2.10, 2.03
...Beware the new TTY code!
------------------------------
From: [EMAIL PROTECTED] (mark stephens)
Subject: Re: usb canon powershot s10 camera
Date: 23 May 2001 19:55:45 -0700
I had a few problems which I resolved ... one was that I didn't have
the hotplug scripts installed and the second and most important was
that I didn't have the usbdevfs filesystem enabled in the kernel.
After that I was able to use s10sh like a charm with my camera! WOW
... what a difference in speed. I can now transfer photos at about
350K/second.
"twamn" <[EMAIL PROTECTED]> wrote in message
news:<zuEO6.3311$[EMAIL PROTECTED]>...
> You could get a Card Reader. Your Compact Flash Card goes in to the reader
> and the reader attaches to your USB/Serial/PCMCIA of your PC. This will get
> the camera out of the loop. I would think someone makes Card Readers with
> drivers for Linux.
>
> tom
>
> "mark stephens" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > I'm trying to get my canon powershot s10 camera to work with Linux
> > 2.4.4 Redhat 7. I have a Gateway AMD 950 Mhz Athlon with the VIA
> > chipset. When I switch the camera to pc mode it doesn't say "PC" in
> > the lcd display on the camera. When I do this with windows2000 I can
> > transfer photos and see "PC" in the lcd display.
> >
> > When I switch the camera to pc mode I see the following in my
> > /var/log/messages:
> >
> > kernel: hub.c: USB new device connect on bus1/1 assigned device number
> > 7
> > kernel: usb.c: USB device 7 (vend/prod 0x4a9/0x3041 is not claimed by
> > any active driver.
> >
> > Is there a problem with my linux setup? Also s10sh doesn't recognize
> > the camera, it gives a camera not found error.
------------------------------
From: Richard <[EMAIL PROTECTED]>
Subject: Re: linux libraries
Date: Thu, 24 May 2001 03:08:20 GMT
Dave Uhring wrote:
>
> Lack Mr G M wrote:
>
> > In article <[EMAIL PROTECTED]>, Richard <[EMAIL PROTECTED]> writes:
> > |>
> > |> I am running RH 7.1 at work and here at home. I have had a problem with
> > |> a couple differnt programs trying to install or compile from source or
> > |> from rpm. It is asking for libcrypto.so.0 and libssl.so.0 .
> > |>
> > |> Now i have both of these files in /usr/lib. And also have the latest
> > |> (i
> > |> think) of these files in there, libcrypto.so.0.9.6 and
> > |> libssl.so.0.9.6.
> >
> > How did they get there? These are from OpenSSL.
> >
> > |> I have tried adding /usr/lib to my path
> >
> > That will have no effect. LD_LIBRARY_PATH is what affects dynamic
> > library finding, and /usr/lib is going to be searched anyway. However,
> > if you haven't rebooted the system since adding them you might neeed to
> > run:
> >
> > /sbin/ldconfig -v
> >
> > as root.
> >
>
> Red Hat 7.1 - XFS-SGI system, almost everything installed:
>
> /usr/lib/libcrypto.a
> /usr/lib/libcrypto.so
> /usr/lib/libcrypto.so.0.9.6
> /usr/lib/libcrypto.so.1
> /usr/lib/libcrypto.so.0.9.5a
> /usr/lib/libcrypto.so.0
>
> /usr/lib/libssl.a
> /usr/lib/libssl.so
> /usr/lib/libssl.so.0.9.6
> /usr/lib/libssl.so.1
> /usr/lib/apache/libssl.so
> /usr/lib/libssl.so.0.9.5a
> /usr/lib/libssl.so.0
Exactly. I have all of those files in those locations. Today i got it to
work for me at work by making symbolic links in the /lib directory.
Still cant get it to do it at home. Still get a dependency problem when
i try to run the rpm. Any other ideas?
rich
------------------------------
** 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
******************************