Linux-Networking Digest #824, Volume #9 Sat, 9 Jan 99 05:13:43 EST
Contents:
Re: MacIP gateway for linux? (Matt Kressel)
Re: nt linux routing probs (Lew Pitcher)
Re: How many filedescriptors ? (Matt Kressel)
SecureCRT 2.3 + SSH Version 2.0.11 (Athan)
Re: export /proc using nfs? ([EMAIL PROTECTED])
routing problem? - help needed ("me")
Why can't a SUN nfs mount when LINUX can? (Harald Michael Fuchs)
Re: How to build chat room with in Linux? (Bryan)
Re: SecureCRT 2.3 + SSH Version 2.0.11 (Chris Clark)
Re: . Pop3 HELP! ("Bruce Fischer")
Displaying System Resources ([EMAIL PROTECTED])
Re: [HELP] use PPP with minicom ("Robert Pfister")
Commands ("J.A Nothling")
Re: Telneting as "root" ("Andy Lyttle")
Re: Hot to setup POP3 on RedHat 5,2 ? ("Jonas")
Re: Fetchmail/POP3 ("Jonas")
Re: How to upgrade my kernel ? (Vik Olliver)
[HELP] use PPP with minicom (Lei Zheng)
Re: cant connect to apache (Paul Branston)
Re: Networking Linux to Win95 (Paul Branston)
Re: Telneting as "root" ("Earth")
----------------------------------------------------------------------------
Crossposted-To: linux.redhat.misc
From: Matt Kressel <[EMAIL PROTECTED]>
Subject: Re: MacIP gateway for linux?
Date: Fri, 8 Jan 1999 18:17:23 GMT
Brendan Hoar wrote:
> However, I got it into my head that a MacIP gateway could be set up on the
> Linux box. Is there a MacIP gateway for Linux? How about one that
> doesn't require the linux box to have the Localtalk card in it, but looks
> for Ethertalk packets that contain IP information coming over the Ethernet
> port?
>
I'm not a Mac expert, but isn't Ethertalk, AppleTalk over Ethernet? If
so, Linux will not route those packets to the best of my knowledge.
However, if MacIP wants to be compatible with the rest of the world,
which it probably is, then it is using standard IP packets. Linux will
route them. Look into IP forwarding, routing, and masquerading. If IP
is all you are interested in (with the data embedded in the IP packet)
then Linux will work.
-Matt
--
Matthew O. Kressel | INTERNET: [EMAIL PROTECTED]
+--------- Northrop Grumman Corporation, Bethpage, NY ---------+
+--------- TEL: (516) 346-9101 FAX: (516) 346-9740 ------------+
------------------------------
From: [EMAIL PROTECTED] (Lew Pitcher)
Subject: Re: nt linux routing probs
Reply-To: [EMAIL PROTECTED]
Date: Fri, 08 Jan 1999 16:43:31 GMT
On Fri, 8 Jan 1999 16:20:11 -0000, "Joerg Landsiedel"
<[EMAIL PROTECTED]> wrote:
>We have two networks connected by an NT Server (primary domain controller).
>The routing seemed to be ok until we connected a Linux machine to our
>network.
>
>Except the Linux machine every computer in network 1 can see and interact
>with any computer in network 2 and vice versa.
>
>The linux machine can only see (ping) the computers in the same network.
>
>Is there a difference between routing Linux to routing NT machines via an NT
>Server???
Linux doesn't natively support the NOS used by MS Windows machines (Microsoft
Windows Network). This NOS protocol is called SMB (for Server Message Block),
and can be provided on Linux through a third-party daemon called Samba.
Samba is free, and available at ftp://samba.anu.edu.au/pub/samba. There's lots
of documentation available; check out the Samba-HOWTO.
Lew Pitcher
System Consultant, Integration Solutions Architecture
Toronto Dominion Bank
([EMAIL PROTECTED])
(Opinions expressed are my own, not my employer's.)
------------------------------
From: Matt Kressel <[EMAIL PROTECTED]>
Subject: Re: How many filedescriptors ?
Date: Fri, 8 Jan 1999 18:09:21 GMT
[EMAIL PROTECTED] wrote:
>
> Anyone know how to determine how many file descriptors a particular
> process is currently using? I have a few processes running all the time
> and I'd like to run a cron job to keep track of how many file descriptors
> they are using at various times of the day, etc etc. I imagine it would be
> somewhere in /proc/PID somewhere but I can't find any reference to it.
>
> Or even better a FAQ/HOWTO etc with fairly detailed lists of the info I
> can dig out of /proc ?
Subtract 1 from the output of
%ls -l /proc/####/fd | wc -l
Where #### is the process number you are looking at. When run on a
current bash, I get 5 (or 4 open descriptors).
-Matt
--
Matthew O. Kressel | INTERNET: [EMAIL PROTECTED]
+--------- Northrop Grumman Corporation, Bethpage, NY ---------+
+--------- TEL: (516) 346-9101 FAX: (516) 346-9740 ------------+
------------------------------
From: Athan <[EMAIL PROTECTED]>
Subject: SecureCRT 2.3 + SSH Version 2.0.11
Date: Fri, 08 Jan 1999 18:42:21 +0000
Reply-To: [EMAIL PROTECTED]
A friend asked me
"How can I connect to an ssh with SecCRT ??"
Any one done it ??
Thank you
Athan.
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.questions
Subject: Re: export /proc using nfs?
Date: Fri, 08 Jan 1999 18:35:56 GMT
In article <[EMAIL PROTECTED]>,
Juho Cederstrom <[EMAIL PROTECTED]> wrote:
> Joe wrote:
> > mount -t nfs node2:/proc /tmp/cluster_proc/node2) I get "Mount failed -
> > reason given by server was permission denied".
>
> Have you restarted mountd and nfsd ?
>
> --
> -- [ juhoc ] - [Red Hat Linux 5.2] -- >
> --
>
Yes - forgot to mention I did "killall -HUP rpc.nfsd rpc.mountd" after
changing /etc/exports and before attempting the mount command.
Joe
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: "me" <[EMAIL PROTECTED]>
Subject: routing problem? - help needed
Date: 8 Jan 1999 18:19:36 GMT
I don�t know if this a routing problem or something else.
I had a working network setup using diald and ppp. Recently I have upgraded
my machine, new hard disk, mother
board and modem and since then my network connection with my ISP has not
worked fully. I put the new modem in the same place as the old one (i.e.
same com port and DMA) and a move the location of Linux around from one
disk to another.
The problem is this: I can�t get any web or email connection. I have a
ppp-on script that uses chat and that works OK. I can start it up with
ppp-on and ping my ISP but Netscape complain �no such domain� whenever I
enter any web address. Other applications also give errors like �unknown
host� and fetchmail gives �connecting to host: Connection refused�. I get
the error message instantly like it did not even attempt to connect to my
ISP even if the ppp link is up. Diald gives no error messages and tcpdump
show that the only network activity is on lo nothing on the default slip
interface for diald.
I�ve checked the network files a number of times and can see not obvious
errors. This is to me a bit odd as all the files are the same as they were
when it all worked before I upgraded. Somewhere along the lines I must have
failed to copy something or altered something but I can�t see what. In some
ways it sounds to me like there is no default route set up but route says
there is or something else is wrong with the routing. I include some of the
results from ifconfig and netstat if that helps:
netstat -i
Kernel Interface table
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR
Flags
lo 3584 0 173 0 0 0 173 0 0 0
BLRU
eth0 1500 0 0 0 0 0 38 0 0 0 BRU
sl0 1500 0 0 0 0 0 0 0 0 0 PRU
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
194.213.74.1 * 255.255.255.255 UH 1 0 0 sl0
MyDomain * 255.255.255.0 U 0 0 4 eth0
loopback * 255.0.0.0 U 0 0 5 lo
default * 0.0.0.0 U 1 0 0 sl0
ldconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:174 errors:0 dropped:0 overruns:0
TX packets:174 errors:0 dropped:0 overruns:0
eth0 Link encap:10Mbps Ethernet HWaddr 00:60:8C:DF:31:B5
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:39 errors:0 dropped:0 overruns:0
Interrupt:5 Base address:0x210
sl0 Link encap:Serial Line IP
inet addr:192.168.0.1 P-t-P:194.213.74.1 Mask:0.0.0.0
UP POINTOPOINT RUNNING MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:0 errors:0 dropped:0 overruns:0
The Ethernet interface is a 3Com Ethernet card. It has been in my machine
for a while but I haven�t finished building a second computer for it to
talk to. It was there when my network was working.
The host file is setup with the localhost and my machine and domain. The
host.conf file just has order hosts in it.
I have nag and the normal HOWTOs but they have not been of much help. Most
of the problems I have had with Linux I have fixed my self but this one I
am at a bit of a loss. Any help appreciated.
Thanks for your time.
Andrew Wallace
------------------------------
From: Harald Michael Fuchs <[EMAIL PROTECTED]>
Subject: Why can't a SUN nfs mount when LINUX can?
Date: 8 Jan 1999 18:23:15 GMT
i have a few linux boxes around here and also a sun (solaris 2.5.1).
i use kernel 2.2pre4 with knfsd and kmountd. i export e.g.
/home sun.my.domain(options)
/home linux.my.domain(same options)
i can mount it without problems from any of the other linux stations but
not from the sun. the sun gives the error message:
nfs mount: linux: NFS service not responding
nfs mount: retrying: /home
but on the linux box (the nfs server), the message in the logfile reads:
linux mountd[66]: authenticated mount request from sun.my.domain:672
so it seems to be accepted. what's the difference between sun and linux
mounts?
thanx in advance,
Harry
/\_/\ Harald M. Fuchs <[EMAIL PROTECTED]> | Finger
( o.o ) http://oeh.tu-graz.ac.at/~harry | me 4 my
> ^ < private phone: +43 (316) 84 72 73 | public
Sally business phone: +43 (316) 873 5843, fax: 873 5805 | PGP Key
------------------------------
Date: Fri, 08 Jan 1999 10:43:34 -0700
From: Bryan <[EMAIL PROTECTED]>
Crossposted-To: comp.infosystems.www.servers.unix,comp.os.linux.misc
Subject: Re: How to build chat room with in Linux?
If you're really adept at this Linux stuff, set up an IRC server. You
can download ircd from Redhat's contrib site.
Christian Marcelo C Pinheiro wrote:
>
> There is a lot of free chat services on the net, or you can install a chat
> server either.
> Try finding the MAGMA Chatserver in Yahoo...
>
> [EMAIL PROTECTED] wrote:
>
> > I'd like to know this as well. Anyone?
> >
> > Thanks!
> >
> > James
> >
> > >
> > > I have a home server with RH 5.1 and I'm running apache on it. I would
> > > like to setup a chatroom for my friends to chat in my server. Does
> > > anyone know where I can grab some info about this topic?
> > >
> > > Kelvin
> > >
> >
> > -----------== Posted via Deja News, The Discussion Network ==----------
> > http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
-- Bryan Scott
-- CTR Online Systems Administration (www.ctronline.com)
------------------------------
From: Chris Clark <[EMAIL PROTECTED]>
Subject: Re: SecureCRT 2.3 + SSH Version 2.0.11
Date: 08 Jan 1999 12:05:22 -0700
Athan <[EMAIL PROTECTED]> writes:
> "How can I connect to an ssh with SecCRT ??"
>
> Any one done it ??
I regularly use SecureCRT to connect to sshd version 1.2.26. It works
remarkably well. I've never used sshd 2.x though.
Cheerio,
Chris
------------------------------
From: "Bruce Fischer" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.help
Subject: Re: . Pop3 HELP!
Date: Fri, 8 Jan 1999 12:11:51 -0600
I did not think that RH 5.1 included a POP server. 5.2 may not either.
[EMAIL PROTECTED] wrote in message
<76rqel$a8t$[EMAIL PROTECTED]>...
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>I just installed RedHat 5.2 on a new computer. I added some users and
>everything seems to be working just fine. But when I try to connect to
>the server using a pop3 client (outlook express) I keep getting error
>messages like this one.
>
>"Your server has unexpectedly terminated the connection. Possible
>causes for this include server problems, network porblems, or a long
>period of inactivity. Account: 'pmi.netmagicu.com', Server:
>'pmi.netmagicu.com;',Protocol: POP3, Port: 110, Secure(SSL) No, Error
>Number: 0x800CCC0F:"
>
>I have almost gone crazy trying to figure this out. Any help would be
>greatly appreciated.
>
>Thanks
> Max Clark
>[EMAIL PROTECTED]
>
>-----BEGIN PGP SIGNATURE-----
>Version: PGP 6.0.2
>
>iQA/AwUBNpFsQUTs2GJkspS/EQIr7wCguYywFVOTU/gJ289ZD3AtEYwZIs8AoJQC
>edwwLjimZOuJa5ehpAdhAcCG
>=cELK
>-----END PGP SIGNATURE-----
>
>
>
>
------------------------------
From: [EMAIL PROTECTED]
Subject: Displaying System Resources
Date: Sat, 09 Jan 1999 07:53:54 GMT
Hello,
Is there a UNIX commandline utility for monitoring system resources? I'm
writing a program that I want to optimize based on system resources such as
network card throughput, cpu usage, memory usage...etc. In particular, I
would think that the NIC would be the bottleneck in this application so some
good numbers on outbound/inbound and general load nic would be great. I could
live with getting the rest of the info from proc.
Thanks,
Mike Allen
[EMAIL PROTECTED]
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: "Robert Pfister" <[EMAIL PROTECTED]>
Subject: Re: [HELP] use PPP with minicom
Date: Fri, 08 Jan 1999 20:03:24 GMT
I do this all the time.
<ctrl>-a then 'q' ---- leaves minicom
then from the shell
# /usr/sbin/pppd /dev/modem 115200 default route
(115200 is the baud rate I connect at, it can be any baud rate, but must
match the minicom setting you dialed at)
Good luck
Robb
Lei Zheng wrote in message <775nv9$clv$[EMAIL PROTECTED]>...
>Sorry for post such a dumb qustion here. I am a newbie.
>I try to dial out to my school using minicom. Everything is
>fine until I get local>. Then I type in "ppp" just as in Windows.
>I get the same garbage ppp string as in Window. In windows, I would
>press "continue" button (or F7) and the ppp is all set. But there
>is no equivalent in minicom. I can use telnet from "local>" though.
>Please help me out.
>
>Lei
>PS: please send email to [EMAIL PROTECTED]
------------------------------
From: "J.A Nothling" <[EMAIL PROTECTED]>
Subject: Commands
Date: Sat, 9 Jan 1999 10:53:18 +0200
Hi there,
I am very new to Linux, can anybody tell me how to access disk drives like
my CD-ROM and so forth in linux?
It is a easy question, to which I am having a bit of trouble. I am probably
looking in all the wrong places!
Regards
J.A Nothling
------------------------------
From: "Andy Lyttle" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Telneting as "root"
Date: Sat, 09 Jan 1999 01:40:20 -0700
In article <[EMAIL PROTECTED]> , Ingo Wichmann
<[EMAIL PROTECTED]> wrote:
> A.G. wrote
>
>> I can remotely telnet to any of the machines, but not as root to either.
>> Just as a regular user.
>>
>> Is this normal or I have misconfigured smth?
>
> This is standart on many computers. To do things as root change to
> superuser mode by typing su.
> The login as regular user is made for security reasons: That way you
> know who has loged in as root.
>
> ingo
>
> wichmann at uni-wuppertal dot de
That sounds reasonable. I'm running Slackware 3.5.0 and my system lets me
telnet in as root. How can I set it to disallow that? I'm trying to
discourage myself from logging in as root.
Also, Samba allows root to connect from a Win95 box with Microsoft
Networking. I don't do that, but I tried it once and it worked. Any
suggestions on how to change that, while I'm on the subject?
The FTP and AppleShare servers do deny root logins.
- Andy Lyttle
[EMAIL PROTECTED]
http://www.bigfoot.com/~phroggy/
------------------------------
From: "Jonas" <[EMAIL PROTECTED]>
Subject: Re: Hot to setup POP3 on RedHat 5,2 ?
Date: Fri, 8 Jan 1999 20:26:39 +0100
Install imap rpm
/Jonas
------------------------------
From: "Jonas" <[EMAIL PROTECTED]>
Subject: Re: Fetchmail/POP3
Date: Fri, 8 Jan 1999 20:43:41 +0100
I've just cracked this nut myself with some help from this NG
create a .fetchmailrc file.
#BOF
poll pop.server.com proto pop3
user popuserid, with password secret, is local-user here;
#EOF
fetchmail -f /root/.fetcmailrc
in the .fetcmailrc file just repeat the two lines and change userid,
password and local userid.
fetchmail stores the incomming mail in local-userid's /~.
Then just use pop3 to collect mail from your server to the clients. If you
are using RedHat remember to install imap rpm.
/jonas
------------------------------
From: Vik Olliver <[EMAIL PROTECTED]>
Subject: Re: How to upgrade my kernel ?
Date: Sat, 09 Jan 1999 09:41:08 +1300
I'm doing the same thing myself with RH 5.0 and a 2.0.32 kernel. The
problem is that I don't seem to have my stdio.h file or sys/*.h files
anywhere on the hard drive, let alone in the /usr/include directory.
Where do I get these header files from?
Vik :v)
Jayasuthan [VorHacker] : wrote:
> Good thing..... ok here is the easy step:
>
> cp kernel.2.0.*.tar.gz /usr/src/
> uncompress it
> tar vxf kernel.2.0.*.tar.gz
> cd linux
> make menuconfig [ in commandline ] or make xconfig [ in xterm ] or make config
> make zImage
> make zlilo
>
> You have your self new kernel....
------------------------------
From: [EMAIL PROTECTED] (Lei Zheng)
Subject: [HELP] use PPP with minicom
Date: 8 Jan 1999 19:57:29 GMT
Sorry for post such a dumb qustion here. I am a newbie.
I try to dial out to my school using minicom. Everything is
fine until I get local>. Then I type in "ppp" just as in Windows.
I get the same garbage ppp string as in Window. In windows, I would
press "continue" button (or F7) and the ppp is all set. But there
is no equivalent in minicom. I can use telnet from "local>" though.
Please help me out.
Lei
PS: please send email to [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Paul Branston)
Subject: Re: cant connect to apache
Date: 7 Jan 1999 21:09:51 GMT
Reply-To: [EMAIL PROTECTED]
On Wed, 6 Jan 1999 00:41:59 +1100, Matt Chipman
<[EMAIL PROTECTED]> appeared to write:
>Hi all
>
>just a begginer to linux.
>
>i have set up linux and networking. I cant ping both machines (win95) and
>Linux from each other. I can telnet from w95 to linux and can ftp from each
>other. Problem is the web browser cant find the server on Linux. Keeps
>telling me the server connection could not be established. Have i missed a
>simple step? I noticed in the users there is no alias or group for http ...
>should there be one? ftp and telnet etc do.
>
Try to invoke the webserver locally with (assuming port 80)
telnet localhost 80
if you get a connected message enter a character and you should see
a HTML version message.
Paul.
------------------------------
From: [EMAIL PROTECTED] (Paul Branston)
Subject: Re: Networking Linux to Win95
Date: 7 Jan 1999 21:07:23 GMT
Reply-To: [EMAIL PROTECTED]
On 5 Jan 1999 16:05:06 GMT, Robert Barnette
<[EMAIL PROTECTED]> appeared to write:
>Can you ping the Linux ip address from the Linux Box?
>Can you ping the Windows ip address from the Windows Box?
Yes to both
>255.255.255.0 for each box.
I'll try that.
>
>Check your /etc files like "hosts" ".allow" and ".deny" to see if there is
>anything obviously wrong in there.
hosts.allow allows everything for the moment.
>
>I had a box that could ping itself, but not anything else. I stripped out
>all the networking and reinstalled it. It worked, and the only reason I
>did it the "Windows Way" was because I did not have time to troubleshoot
>it.
I've reloaded the win95 driver several times via the instaler.
>
>If you only have two boxes talking to each other, you can also use a
>crossover cable. It switches the TX-RX / RX-TX connections like the hub
>does, but it only works for two NICs talking to each other. It works like
>a laplink cable for ethernet.
I've tried that as well.
Thanks for the help.
Cheers,
Paul.
------------------------------
From: "Earth" <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc,comp.os.linux.setup
Subject: Re: Telneting as "root"
Date: Fri, 8 Jan 1999 17:53:18 +0100
A.G. ha scritto nel messaggio <773kl8$8nu$[EMAIL PROTECTED]>...
>I have just configured two ethernet cards to connect two linux machines.
>
>I can remotely telnet to any of the machines, but not as root to either.
>Just as a regular user.
>
>Is this normal or I have misconfigured smth?
>
>Thanx a lot!
>
>A.G.
>
>
I know that is possible connecting as root !
But the root user must be able to do it, it must be configure "ad hoc" to
connecting via telnet.
I bought ( ??? it's write in right way? BOH!!! ) a book called Linux RH all
and more, i think it's the italian version of Secret of Linux RH or
Unleashed Linux, the editor is SAMS, there are how to solve this kind of
problems...
if you have time i search it for you in my book, but you must wait until
monday...
The Penguin Breaks The Window...
------------------------------
** 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.networking) 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-Networking Digest
******************************