Linux-Networking Digest #999, Volume #11         Sun, 25 Jul 99 06:13:43 EDT

Contents:
  how to change startup config? (Sam Bruskin)
  Majordomo difficulties ("Skemot")
  telnet timeout: win9x -> linux -> remote host (ryan)
  using Condor checkpointing on linux.... (Pratap Arangil)
  Re: TCP/IP problem (Glenn Valenta)
  Re: Automounter problem (Felix Radensky)
  Re: Apache 1.3.6 and CGI ("PiotrCF")
  Pliiiiiiz (Luis Amezcua)
  Re: IP address (WIBII)
  ppp-compress? (WIBII)
  Re: weird ping ("R.K.Aa")
  Re: netscape (Lew Pitcher)
  Re: ncp-ipx problem: network number collision? (Felix Radensky)
  Re: Cannot set guest privileges (Felix Radensky)
  Re: Remote File System Mount Problems (Felix Radensky)
  Re: win 95 connection problem to Samba ("Fastlink News")
  Re: ipchains port forwarding problems. (geoff)

----------------------------------------------------------------------------

From: [EMAIL PROTECTED] (Sam Bruskin)
Subject: how to change startup config?
Date: Sun, 25 Jul 1999 07:00:36 GMT

in the process of trying to connect ppp, i re-installed and loaded
everything . now when i look at my chat scripts to follow the HowTo
methods i find lots of things running, i think they are servers, like
"http" and others.
is thre some equivalent of the dare i say windoze "startup folder" by
which i could reduce the things that load a t startup?

or is this what is meant by <shudder> "recompiling the kernel"
</shudder>

i would ask to excuse my ignorance but i notice i am not alone in my
initial encounters with what i expect to be the beginning of a long
friendship.

thanks for assistance

sam

------------------------------

From: "Skemot" <[EMAIL PROTECTED]>
Subject: Majordomo difficulties
Date: Sun, 25 Jul 1999 07:37:43 GMT

I've installed majordomo and seem to have everything configured correctly.
Ran the configuration scripts, and everything came out normal. Edited the
majordomo.cf file. The weird thing that is happening is that when I send a
command to majordomo via email like 'lists' it will only respond to the
local machines users.  I can email majordomo locally from my user account on
the machine with 'lists' and it responds within a matter of seconds. I went
home and tried to email majordomo on the server with the same command and I
never got a reponse from majordomo. I sent various other commands like help
or info to see If I would get anything back, but same thing.

I did check the majordomo.cf file and was curious if this had anything to do
with it.
# $sendmail_command = "/usr/lib/sendmail";
$sendmail_command = "/usr/sbin/sendmail";

I currently use SuSE Linux 6.1 and have sendmail in both sbin and lib.
Anyone have any suggestions as to why majordomo only reponds to local users?
TIA

#) skemot



------------------------------

From: ryan <[EMAIL PROTECTED]>
Subject: telnet timeout: win9x -> linux -> remote host
Date: Sun, 25 Jul 1999 00:55:26 -0700


Hello, I've got a small, rather odd question. I've a RedHat 5.2 system
hooked up to my DSL, routing all network traffic to the rest of my lan
(Win 98 & 95 mostly). It all works just fine. However, while telnetted
into a remote server from a Win9x box (whether having first telnetted
into my linux box, then out to the remote server, or directly to the
remote server) and I let the session sit (which I am VERY used to doing)
I get timeouts. I know for a fact that it's not the remote server (cuz
from other locations I'm able to let the session sit untouched for
hours). I've been going through the config files and havn't been able to
figure out if there's some keep-alive that's not turned on (or a timeout
setting) somewhere in my Linux box. I'm able to telnet into my Linux box
and it doesn't timeout ever. ??? Kinda lost on where/what to look for on
this one. (please excuse if it's a simple solution, not a *nix
power-user, and have been looking for this problem for many an hour...
brain... loosing... power.... ugh).

Thanks in advance for any help.

Ryan...


------------------------------

From: Pratap Arangil <[EMAIL PROTECTED]>
Subject: using Condor checkpointing on linux....
Date: Sun, 25 Jul 1999 03:47:22 -0400

Hello everybody,
        I'd like to know if anybody has used Condor to checkpoint an MPI
application on linux 2.0.32. I'm trying to use the standalone
checkpointing feature offered by Condor but I'm unable to use
condor_compile to compile an MPI application. In other words I'm not able
to use condor_compile with mpicc. I've read most of the manual but I have
not come across any information regarding this feature. If anybody has
used Condor with MPI please let me know your experiences.  Otherwise, if
anybody has any ideas or pointers on how to checkpoint an MPI application
I'm all ears.

Pratap

===========================================================================
"He who does not hope to win has already lost"



------------------------------

From: Glenn Valenta <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: TCP/IP problem
Date: Sun, 25 Jul 1999 06:18:23 GMT

supradave wrote:
> 
> To replay to my e-mail, please remove NOSPAM.
> 
> I have a problem with my networking and RedHat 6.0.
> 
> Let me give a breakdown of my hardware.  Asus P2B-F, Int PII450, ATI
> Rage Fury, Netgear 10/100 PCI, SB Live!, 128MB, 20GB HD.
> 
> My problem is that I cannot telnet to my machine, either from the
> machine or over the network.  I can, however, telnet to the loopback
> address.  The same problem exists with ftp.  I can ping, traceroute,
> etc. and can ping the IP address (192.168.1.3 if that helps, not that it
> should matter).
> 
> I recompiled the kernel (2.2.5-15) and made sure that I only had the
> driver for the DEC Tulip card selected.  When it boots, eth0 reports
> OK.  ifconfig gives ?proper? information (UP BROADCAST RUNNING MULTICAST
> ...).
> 
> This also leads me to believe that this same problem is occuring with my
> PPP connection.
> 
> Any help would be appreciated
> 
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.

This may sound stupid but I need to say this. You can't telnet or rlogin to the
root account of a linux machine. 


-- 
Glenn Valenta   Engineering @ http://www.coloradostudios.com
[EMAIL PROTECTED]   http://ouray.cudenver.edu/~gavalent/
[EMAIL PROTECTED]              Personal mail
[EMAIL PROTECTED]     Work mail

------------------------------

From: Felix Radensky <[EMAIL PROTECTED]>
Subject: Re: Automounter problem
Date: Sat, 24 Jul 1999 22:18:31 +0300

Hi,
If you want to use your NIS server automount maps, turn your linux
host into a NIS client. Basicly you should run ypbind. On Slackware
you need to uncomment NIS related stuff in /etc/rc.d/rc.inet2 and
create /etc/defaultdomain file to contain your NIS domain name.

Simon Burley wrote:

> I wanted to set the automounter to mount machines onto /hosts, then
> under the machine name I wanted to have the exported directories; ie.
> /hosts/machine1/export1,  /hosts/machine1/export2.
> The man pages refer to needing a host map; but all our SGIs do this
> without one. We're using an NIS server.
> Is there a simple way to do this?
>
> Simon
> --
> /* "C makes it easy to shoot yourself in the foot.  C++ makes */
> /* it harder, but when you do, it blows away your whole leg." */
> /*   -- Bjarne Stroustrup                                     */
> /* Simon Burley, Double Negative Ltd, London.                 */


------------------------------

From: "PiotrCF" <[EMAIL PROTECTED]>
Subject: Re: Apache 1.3.6 and CGI
Date: Sun, 25 Jul 1999 11:18:58 +0200

OK, it works now. It was the suexec, which didn't let
my scripts run...

PF



------------------------------

From: Luis Amezcua <[EMAIL PROTECTED]>
Subject: Pliiiiiiz
Date: Sun, 25 Jul 1999 05:34:26 -0400

I have too many comps...

I just got a pentium 100 and a 486 (40 bucks for both 8-)) both with 16
megs of
RAM and about 800 MB HDD. That is in addition to a AMD 233 and a
imac ( my wifes)
Now I want to play around with a network ( I have 3 cards and a hub)
I just connected the P100 and the AMD 233 and I can ping them etc.
I want to add the 486 and the mac. I do not know what would be the
best configuration (probably the 486 as a router)

The main pourpose of the network would be share files-printers
and also test some PERL. OK Ok Maybe some games

Any suggestions would be greatly appreciated!


------------------------------

From: WIBII <[EMAIL PROTECTED]>
Subject: Re: IP address
Date: Sat, 24 Jul 1999 16:42:02 +0200

On Sat, 24 Jul 1999, Brian Savacool wrote:
>does any one know how the network command to view their
>IP address
>like "winipcfg" in Windows 9x?
>thanks
>--
>Brian "Savo" Savacool
>[EMAIL PROTECTED]
>:-)

hi

try ifconfig from root

cu
--
(WIBII =:)
(mailto:[EMAIL PROTECTED])
(http://members.tripod.de/WIBII)


------------------------------

From: WIBII <[EMAIL PROTECTED]>
Subject: ppp-compress?
Date: Sat, 24 Jul 1999 16:43:19 +0200

hi,

every time i connect to the internet (via 'kppp') i get three warn messages:
modprobe: modprobe: Can't locate module ppp-compress-21
modprobe: modprobe: Can't locate module ppp-compress-26
modprobe: modprobe: Can't locate module ppp-compress-24.

there are no such modules in ther kernel except 'bsd_comp'. i tried to load it
and it worked but the the messages still appear.

can someone tell, where these messages come from - ISP / kernel/ kppp?

thx
--
(WIBII =:)
(mailto:[EMAIL PROTECTED])
(http://members.tripod.de/WIBII)


------------------------------

From: "R.K.Aa" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: weird ping
Date: Sun, 25 Jul 1999 10:42:32 +0200

ryan wrote:
> 
> Daniele Vian wrote:
> 
> > Hi all,
> >
> > I can't ping -s 55 localhost or to any other host... Any other packet
> > sizes would work, but not 55 bytes! MOreover, doing ping -R localhost,
> > the answer is
> > RR: localhost (127.0.0.1)
> >         localhost (127.0.0.1)
> >         localhost (127.0.0.1)
> >         localhost (127.0.0.1)
> > why 4 entries and not 2 (just one hop)??? My routing table is very
> > basic, only the entries for localhost and the default gateway, that's
> > it.
> > I'm running Linux 2.2.7 (redhat6) on two machines (128.197.22.24 netmask
> > 255.255.255.128 and 128.197.22.150 netmask 255.255.255.128 - so in two
> > different subnets) connected via a 3com 35000 router.
> > I have a lot of problems with other programs, and I guess that this
> > weird behavior might be the reason.
> > Anyone has an explanation to this fact?
> >
> > Thank you very much,
> >
> > daniele
> 
> That is wierd.  However, it isn't your network.  I thought I'd try the ping
> on my network and I got the same repsonses!  A packet size of 55bytes just
> gets lost and the ping -R localhost shows 4 entries.  I have dug through
> all the ping info and documentation I can find, but haven't found an
> answer.
> 
> I will keep looking.  Post if you figure this one out.

Check the errata. (netkit_base and traceroute)

http://www.redhat.com/corp/support/errata/rh60-errata-general.html

There's an error in ping - "ping fails at odd bytes" - bug #3284:

"On all platforms, ICMP checksums were incorrectly computed for packets
containing an odd number of bytes. In addition, "ping -f localhost" does
not drop packets."

K.

-- 
                        --  To E-mail, delete "spam" --

------------------------------

From: Lew Pitcher <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.x
Subject: Re: netscape
Date: Sun, 25 Jul 1999 00:49:59 -0400

Michel Catudal wrote:
> 
> James Stafford wrote:
> >
> > > >
> > >
> > > try this site
> > >
> > > http://www.bluemountainarts.com
> > >
> > > choose the birthday cards
> > >
> > > then you go to the second page and choose "Happy birthday to you"
> > >
> > > Have fun!
> > >
> > > --
> > > use OS/2 for a crash proof work environment
> > > use Linux for safe and quick internet access
> > > use Winblows to test the latest viruses
> > > http://www.netonecom.net/~bbcat/
> > > We have software, food, music, news, search,
> > > history, electronics and genealogy pages.
> >
> > Well, I just went there and besides complaining about not having an
> > x-audio plug-in everything worked alright. Is this what was supposed to
> > happen? Now, I would like to take the time for turning me on to this
> > great card sight! I love to make my own greeting cards, and doing so is
> > just about the only thing I have to use something other than Linux for.
> >
> > Again thanks a lot,
> >
> > jamess
> > --
> 
> Mine uses midi and after the midi starts I don't seem to be able
> to stop it. But then it seems to crash as it is trying to load
> a big font. There is potentially two problems here.

Netscape 4.51 running under Linux 2.0.36 kernel and X 3.3
(Slackware 3.3 distro upgraded kernel).

For me, all this does is play a (loud) version of "Happy Birthday to You"
and show some badly animated lo-res large-type font messages.
P'haps you've got another problem?

> 
> Under RedHat 6.0 netscape 4.51 and up would make Netscape go
> into a black hole while under SuSE it crashes Netscape. With
> Netscape 4.5 I never got it to crash under this with RedHat 6.0
> but it does crash sometime under SuSE if I have another netscape
> window open. It works ok most of the time.
> 
> --
> use OS/2 for a crash proof work environment
> use Linux for safe and quick internet access
> use Winblows to test the latest viruses
> http://www.netonecom.net/~bbcat/
> We have software, food, music, news, search,
> history, electronics and genealogy pages.

-- 
Lew Pitcher

Master Codewright and JOAT-in-training

------------------------------

From: Felix Radensky <[EMAIL PROTECTED]>
Subject: Re: ncp-ipx problem: network number collision?
Date: Sat, 24 Jul 1999 20:59:28 +0300

You should configure your ipx interface first. Try

 ipx_interface add eth0 -p EtherII

before mounting. Using

ipx_cofigure --auto_interface=on --auto_primary=on

does not always work if you have Windoze computers
on your network. Refer to IPX HOWTO if you still
have problems.


"G. Pollack" wrote:

> I've been trying, without success, to mount a novell server on my linux
> system (RedHat 5.2; kernel 2.2.2; ncpfs package 2.0.11-5). I have obht
> ipx and ncps modules loaded, and when I do slist I see a listing of
> servers. When I issue the ncpmount command I am prompted for a password
> and, when I enter it, I get the message "mount failed". In
> /var/log/messages I see the following:
>
> Jul 22 10:00:28 jiminy kernel: IPX: Network number collision 84cee200
> Jul 22 10:00:28 jiminy kernel:         eth0 EtherII and eth0 802.2
>
> From what I've been able to discern from scanning other messages in this
> newsgroup, network collision suggest that the network is overloaded. But
> I don't think that's the case here; I can reliably log onto the network
> when running Windows, but I never can from linux.
>
> Any suggestions will be appreciated.
>
> --
> Gerald Pollack
> Dept. of Biology, McGill University


------------------------------

From: Felix Radensky <[EMAIL PROTECTED]>
Subject: Re: Cannot set guest privileges
Date: Sat, 24 Jul 1999 21:20:48 +0300

Hi,
You've created account for user "test", so try ftp as "test", not
as anonymous. "Anonymous" user is the same as "ftp" user, not
"test".

Hemingway wrote:

> I am running linux 5.2 Ker 2.0.36 wu-ftp2.5.0(1).
>
> I am setting it up to do anonymous ftp uploads. I followed all the good
> instructions and made all basic configs i.e.
>
> Edited /etc/shells and added /etc/ftponly entry for ftp user's shell
> to prevent them from access account with telnet.
>
> Created /etc/ftponly file with following entry. Not really needed but
> what the hell :) It simply displays a message when someone tries to
> telnet into the box with an ftp account.# /etc/ftponly
> # ftponly shellecho " "
> echo " "echo "Access Denied!"echo " "
> echo "Updating Log with Connection Source..."exit 0
>
> Edited /etc/group and added following entry
> ftpers::50:
> Created a test ftp account in /etc/passwd
> test:9efSXXT1EYmxI:500:50::/home/ftp/./:/etc/ftponly
>
> chown root.ftpers /home/ftp/incomingchmod 777 /home/ftp.incoming
> Edited /ftpaccess and made the following changes
> class     remote  real,guest my.ip.went.here *
> upload  /home/ftp/incoming/*     yes     root    ftpers  0777 dirs
> guestusers ftpers
>
> When I try to ftp as anonymous in the /var/log/messages I get
>      LOGIN FAILED (cannot set guest privileges) for
> (users.ip.address),ftp
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.


------------------------------

From: Felix Radensky <[EMAIL PROTECTED]>
Subject: Re: Remote File System Mount Problems
Date: Sat, 24 Jul 1999 21:39:48 +0300

Hi,
In order to be able to run programs from mounted directories, add exec
option
to your /etc/exports on Slack, like this:
/mnt/red your.redhat.machine(rw,no_root_squash,exec).

To mount something from RedHat machine, check that yo have rpc.mountd
and rpc.nfsd running. On Slack they run by default, I'm not sure about RH.

Felix.



Mike Kerr wrote:

> Hey guys,
>
> I've got two linux machines: A Red Hat 5.1 (kernel 2.0.34-0.6) and a
> Slackware '96 (kernel 2.0.0) I'm able to mount a directory called
> /mnt/red from the Slackware
> machine under a Red Hat directory called /home/SlackShare. And, of
> course, I have edited my Slackware exports file to it knows to allow the
>
> RedHat sharing
> priveledges. Now, I can access the /mnt/red directory from
> /home/SlackShare. I've given the Red Hat machine no_root_squash access
> to the /mnt/red directory so I
> can edit files. And THAT is where my first problem is... I wrote a
> little C program in the /mnt/red directory. It consists of one printf
> statement and all it does is say
> "This is the shared Slackware directory." It runs fine from the
> Slackware machine, but when I try to run it from the Red Hat, the
> console freezes and not even Ctrl-c
> will halt it. All I get is a ?. I also wrote a similar program on the
> Red Hat machine under /home/SlackShare, which is the /mtn/red Slackware
> 96 directory. I can
> compile this program(It looks like a can, at least) but the program
> makes the console freeze. I try ctrl-c but, again, get a ? instead.
>
> So, bottom line is I can't seem to run programs from other machines, I
> can only read and write to files.
>
> The other problem is that besides the /mnt/red directory i haven't been
> able to share any other directories on either machine. When I try to
> mount a directory called
> /mnt/Slack onto the Slackware directory home/RedShare from the Red Hat I
>
> get the message:
>
> mount clntudp_create: RPC: Port mapper failure - RPC: Unable to recieve.
>
> Can anyone help me? Please? I'm desperate!
>
> Thanks. Mike.


------------------------------

From: "Fastlink News" <[EMAIL PROTECTED]>
Subject: Re: win 95 connection problem to Samba
Date: Sun, 25 Jul 1999 17:48:04 +1000

What ip range are you using ? have you configured samba to allow access from
all of those ip addresses ?

Windows does not automatically refresh the network neighbourhood, you need
to go in and press f5 to refresh

Why don't you configure all the pc's the use the same master browser or set
it to automatic

Regards

Andrew Kenna

[EMAIL PROTECTED]


Roger Pang <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hello
>
> Our company has approx. 100 PCs running Win 95 / 98; 4 Novell 3.12
servers;
> 1 Intel Internet Station which also act as DHCP and DNS server. I set up a
> Linux server running Samba with fixed IP address.
>
> My problem is only some (but not all) PCs can see the Linux box in
'Network
> Neighbourhood'.
>
> I've checked / done the followings :
> - All PCs are using DHCP to obtain IP address from the Intel Internet
> Station
> - All PCs have installed TCP/IP, IPX, and Netbeui with same workgroup
> - All PCs can see each other on the 'Network Neighbourhood'
> - In the Linux box, I ping the Win95 PC which can't find the Linux box -
> successful
> - In the Win95 PC which can't find the Linux box, I ping the Linux box -
> successful
> - All PCs and servers are on the same sub-net mask.
> - I don't understand but I found the 'Network Neighbourhood still showing
> the name of some PCs which I switched off for an hour already.
>
> I guess the problem may come from different PCs using different Master
> Browser List because :
> - for PCs which successfully connected to Linux, it takes more than 5
> seconds to wait in order to obtain to the browse list
> - for PCs which failed connected to Linux, it takes only 2 seconds to
obtain
> the browse list
> - the 'successful and the 'failed' PC are connected to the same hub
>
> Anyone can help ?
>
>



------------------------------

From: [EMAIL PROTECTED] (geoff)
Subject: Re: ipchains port forwarding problems.
Reply-To: [EMAIL PROTECTED]
Date: Sun, 25 Jul 1999 10:08:20 GMT

On Sun, 25 Jul 1999 08:24:56 GMT, Andrea Borgia <[EMAIL PROTECTED]>
wrote:

>On 22 Jul 1999 12:41:14 PDT,
>in article <7n7s4q$[EMAIL PROTECTED]>,
>"Mike" <[EMAIL PROTECTED]> wrote:
>
>
>>My problem is that I can not access my HTTP server on the inside from the
>>outside. I have searched through the newsgroups and websites for clues as to
>>what may be the problem, but I am still clueless???
>
>You need to configure the kernel for port-forwarding (may be a module)
>and to use ipmasqadm to tell your box what you want to be forwarded.
>
>Command line is (from memory):
>ipmasqadm portfw -a -P tcp -L <your_external_IP> 80 -R
><your_internal_www_IP> 80
>
>Hope this helps.

This is from a post i wrote a couple of days ago...BTW this does work.


=====

I just set this up tonite....*seems* to work.  here is what I did...(I'm using
RedHat6)

in the /etc/rc.d/rc.firewall script

/sbin/ipchains -I forward -p tcp -s <external ip/subnetmask> <external port> -j
MASQ

/usr/sbin/ipmasqadm portfw -a -P tcp -L <external ip> <external port> -R
<internal ip> <internal port>


Example:
 My ip to the outside world is 201.201.201.201 with a 24 bit subnet (class
C)...my internal subnet is on the 10.0.0.* range with a class C as well. I want
to forward all port 2000 traffic to my internal masqed ftp server at 10.0.0.50.


/sbin/ipchains -I forward -p tcp -s 201.201.201.201/24 2000 -j MASQ

/usr/sbin/ipmasqadm portfw -a -P tcp -L 201.201.201.201 2000 -R 10.0.0.50 21


ok this seems to work BUT, it will *NOT* work from the router *OR* any of the
masqed machines.. you /must/ test this from the "outside world". 


geoff

geoff
-- 
Who is this Unix guy anyway?

------------------------------


** 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
******************************

Reply via email to