Linux-Networking Digest #312, Volume #11         Fri, 28 May 99 01:13:33 EDT

Contents:
  Re: My Modem Cablemodem has got a Hangup. Might just be the pppd... (Mahipal Virdy)
  Re: Modem sharing? (Mike Redan)
  Can't see server until server sees me (Scottaii)
  Linux 2.2 IP Masquerading ("Shamsuddin, Amir (EXCHANGE:MDN05:7E24)")
  slow telnet  and no ftp, but great http ("David S. Dewitt")
  Has unix a function in C to check if a child process is alive based on  (Enguang He)
  Re: SAMBA & Win95 Logon authentication ("W.A. Scheer")
  Re: linux ADSL setup - name resolution problem (somebody)
  NIS timeouts under heavy load? ([EMAIL PROTECTED])
  No loopback adapter, or neighbor table overflow ([EMAIL PROTECTED])

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

From: Mahipal Virdy <[EMAIL PROTECTED]>
Subject: Re: My Modem Cablemodem has got a Hangup. Might just be the pppd...
Date: Fri, 28 May 1999 03:14:21 GMT

Clifford Kite wrote:
> 
> [EMAIL PROTECTED] wrote:
> : In article <7iesgm$[EMAIL PROTECTED]>,
> :   kite@NoSpam.%inetport.com (Clifford Kite) wrote:
> : > [EMAIL PROTECTED] wrote:
> : >
> : > : OK. That above \d\c just locked up my ppp 2.3.7 now. Having
> : >upgraded.
> : >
> : > Post the chat script.

I got sidetracked trying to meet a deadline for my Prof. Work happens. Oye.

[The "oye" is me being funny -- even though there is no one else in the _room_.]

> : OK. I need to go run Linux and retreive them/it. I have many because I
> : tried ppp-on, ppp-go, ezppp, and others I've forgotten about. All of
> : them hangup. If it's just a matter of my typing the correct format for
> : the USERID/PASSWORD combination, I've literally exhausted all the
> : potential format combinations! The right one is the plain "USERID" and
> : "PASSWORD" in all caps. Nothing worked.
> 
> Some scripts are worst than others, some have lived past their prime.
> 
> : So, by tonight I ought post my chat script(s).
> 
> The pppd execution script and the pppd options would also help speed
> this to a conclusion.

Usenet speed! Which is fast, I estimate. I *myself* may be quite
;-) slow!

> : Fwiw, I do successfully connect to my other service provider via ezppp
> : only. I don't know why but only ezppp has made a successful connection.
> 
> The other provider apparently allows the chat scripted login/password
> (although the chat messages don't appear in the log), the one you're
> having trouble with doesn't.  It requires PAP or CHAP authentication;
> 
> I tried to describe the way to configure these in an earlier post.
> The log for the one that fails tells me you haven't done this yet - or
> that you have pppd options that prevent PAP or CHAP negotiation, such as
> refuse-pap, refuse-chap, or even the older -pap or -chap which still work.


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ppp-onfaq %%%%%%%%
#!/bin/sh
#
# Script to initiate a ppp connection. This is the first part of the
# pair of scripts. This is not a secure pair of scripts as the codes
# are visible with the 'ps' command.  However, it is simple.
#
# These are the parameters. Change as needed.
TELEPHONE=1301#######   # The telephone number for the connection
ACCOUNT=USERID          # The account name for logon (as in 'George Burns')
#ACCOUNT=expressnet\USERID              # The account name for logon (as in 'George 
Burns')
#ACCOUNT=expressnet/USERID              # The account name for logon (as in 'George 
Burns')
#ACCOUNT=expressnet\\USERID             # The account name for logon (as in 'George 
Burns')
#ACCOUNT=EXPRESSNET\USERID              # The account name for logon (as in 'George 
Burns')
#ACCOUNT=EXPRESSNET\\USERID             # The account name for logon (as in 'George 
Burns')
#ACCOUNT=EXPRESSNET/USERID              # The account name for logon (as in 'George 
Burns')

#ACCOUNT=userid         # The account name for logon (as in 'George Burns')
##ACCOUNT=userid\ex-pressnet            # The account name for logon (as in 'George 
Burns')
##ACCOUNT=ex-pressnet\userid            # The account name for logon (as in 'George 
Burns')
##ACCOUNT=expressnet\\userid            # The account name for logon (as in 'George 
Burns')
##ACCOUNT=expressnet/userid             # The account name for logon (as in 'George 
Burns')
PASSWORD=PASSWORD               # The password for this account (and 'Gracie Allen')
LOCAL_IP=0.0.0.0        # Local IP address if known. Dynamic = 0.0.0.0
#LOCAL_IP=24.239.19.90  # Local IP address if known. Dynamic = 0.0.0.0
REMOTE_IP=0.0.0.0       # Remote IP address if desired. Normally 0.0.0.0
NETMASK=255.255.255.240 # The proper netmask if needed
#
# Export them so that they will be available at 'ppp-on-dialer' time.
export TELEPHONE ACCOUNT PASSWORD
# 
# This is the location of the script which dials the phone and logs
# in.  Please use the absolute file name as the $PATH variable is not
# used on the connect option.  (To do so on a 'root' account would be
# a security hole so don't ask.)
#
DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
#
# Initiate the connection
# 
# I put most of the common options on this command. Please, don't
# forget the 'lock' option or some programs such as mgetty will not
# work. The asyncmap and escape will permit the PPP link to work with
# a telnet or rlogin connection. You are welcome to make any changes
# as desired. Don't use the 'defaultroute' option if you currently
# have a default route to an ethernet gateway.
#
#exec /usr/sbin/pppd debug lock modem crtscts /dev/ttyS0 38400 \
#       asyncmap 20A0000 escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
#       noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT

#exec /usr/sbin/pppd debug persist /dev/ttyS1 38400 0.0.0.0:0.0.0.0 \
#  connect "chat -v TIMEOUT 3 ABORT 'BUSY' ABORT 'NOANSWER' '' ATH \
#  TIMEOUT 30 'OK' ATDTTELEPHONE CONNECT ''"

#exec /usr/sbin/pppd debug /dev/ttyS1 38400 0.0.0.0:0.0.0.0 \
#    connect "chat -v TIMEOUT 3 ABORT 'BUSY' ABORT 'NOANSWER' '' ATH \
#    TIMEOUT 30 'OK' ATD1301####### CONNECT ''"

#exec /usr/sbin/pppd debug /dev/cua1 57600 0.0.0.0:0.0.0.0 \
#    connect $DIALER_SCRIPT

#exec /usr/sbin/pppd debug /dev/modem 57600 0.0.0.0:0.0.0.0 \
#    connect $DIALER_SCRIPT

#exec /usr/sbin/pppd debug /dev/ttyS1 57600 24.239.19.90:0.0.0.0 connect \d\c
#exec /usr/sbin/pppd debug /dev/ttyS1 57600 $LOCAL_IP:0.0.0.0 connect \d\c
#exec /usr/sbin/pppd debug /dev/ttyS1 57600 0.0.0.0:0.0.0.0 connect \d\c
#exec /usr/sbin/pppd debug /dev/cua1 57600 0.0.0.0:0.0.0.0 connect \d\c

exec /usr/sbin/pppd debug /dev/ttyS1 57600 0.0.0.0:0.0.0.0 \
    connect $DIALER_SCRIPT


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ppp-on-dialer %%%%%%%%
#!/bin/sh
#
# This is part 2 of the ppp-on script. It will perform the connection
# protocol for the desired connection.
#
exec chat -v                                            \
        TIMEOUT         3                               \
        ABORT           '\nBUSY\r'                      \
        ABORT           '\nNO ANSWER\r'                 \
        ABORT           '\nRINGING\r\n\r\nRINGING\r'    \
        ''              \rAT                            \
        'OK-+++\c-OK'   ATH0                            \
        TIMEOUT         30                              \
        OK              ATDT$TELEPHONE                  \
        CONNECT         ''                              \
        Username:       $ACCOUNT                        \
        Password:       $PASSWORD

I hope these two scripts don't rely on other scripts,
that I may or may not have set, along the way.

Mahipal "If any lines wrap, it maybe because your end ..." ;-) Virdy

Question: Running M-x gnus in emacs is locking up emacs! I've never seen such
behavior. Even the (setq debug-on-error t) is apparently sending no feedback?
Any advice? I've used gnus before and would love to be running it now. Tia.

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

From: [EMAIL PROTECTED] (Mike Redan)
Crossposted-To: comp.os.linux.misc
Subject: Re: Modem sharing?
Date: 28 May 1999 03:54:17 GMT

I'm assuming that you want to share an internet connection here...
if that is true, than what you want to do is setup IP Masqurading, and get
the newest IP chains software. There are various HOWTOs out there on
setting it up. You can get IPchains off of www.freshmeat.net.
Also you should probably grab masqdialer. Masqdialer will let you dial the
modem on your Linux box from any other computer on your network. There are
clients for masqdialer for just about every OS out there...it's pretty
easy to set up too. Again you can get masqdialer off of www.freshmeat.net.
Just use the search engine at the top of the page...if you have any
questions, feel free to email me.

cheers,
Mike

Samuel AU ([EMAIL PROTECTED]) wrote:
> Is it possible to share a modem in a Linux base network?  If yes, how
> to?
> Thanks in advance.
> Samuel


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

From: [EMAIL PROTECTED] (Scottaii)
Subject: Can't see server until server sees me
Date: 28 May 1999 04:03:15 GMT

I have an ethernet network of Windows clients and a Linux (Red Hat 5.2) server,
plus another RH5.2 machine. All the machines can ping each other, except none
can ping the server until the server pings them. I've set a script running to
ping each machine in turn, since after some time period of inactivity, the
server can't be pinged again. Is there something running on the server that
might be causing this?

TIA, Scott

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

From: "Shamsuddin, Amir (EXCHANGE:MDN05:7E24)" <[EMAIL PROTECTED]>
Subject: Linux 2.2 IP Masquerading
Date: Thu, 27 May 1999 15:18:28 +0100

Hi,

I want to set up a linux box to masquerade for a network. There will be
two modems, with different IP addresses. I can set up the routing table
so that some of  the traffic is routed through the first modem and the
default for the rest of the traffic is routed through the second modem.
I want to IP Masquerade both these interfaces, but I can't find and
documentation saying how this will work.
All the docs imply that masqueraded packets are given a new source
address of the computer doing it, but as we all know, IP addresses
belong to interfaces, not computers. Do all masqueraded packets get
given the IP address connected to the default route (as the docs seem to
imply), or are they given the IP address of the particular interface
they are routed through. I'm asking before I've had a chance to test it
because I want to get all the theory worked out before I start.
I hope this makes sense.

Thanks for any help,

Amir Shamsuddin
Amir(_at_)shams.demon.co.uk


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

From: "David S. Dewitt" <[EMAIL PROTECTED]>
Subject: slow telnet  and no ftp, but great http
Date: Thu, 27 May 1999 23:09:55 -0500

I am having no luck on getting ftpd and telnetd working correctly.
I hope someone may shed some light for me.
Quick overview:

I have 2 pc one for Linux and one with win98 connect via network

I am able to ping either way
If i set up a ftpserver on the win98 machine I have no problems.
When I http to the linux box  -- no problem at all everthing work fast and
great.
When I try to ftp to the linux box  -- no luck
When I try to telnet to the linux box it takes about 5 minutes to get a
login prompt.

I have been reading man pages, book after book.  I have yet to find a great
referance manual describing the configurations of possiblties of linux

I have filtered through the syslog called messages, which leaves me with
even more questions.  Where are a few lines that seam to be pertinent to
 the above problems  and a few line about lp1



May 27 19:36:22 tardis innd[425]: ME time 302239 idle 302237(2) artwrite
0(0) artlink 0(0) hiswrite 0(0) hissync 0(2)
May 27 19:36:48 tardis named[289]: ns_forw: sendto([192.112.36.4].53):
Network is unreachable
May 27 19:39:19 tardis innfeed[439]: decwrl can't resolve hostname:
news1.pa.dec.com : (Host name lookup failure)
May 27 19:40:05 tardis telnetd[1457]: ttloop:  peer died: Invalid or
incomplete multibyte or wide character
May 27 19:46:24 tardis innd[425]: ME time 302240 idle 302238(2) artwrite
0(0) artlink 0(0) hiswrite 0(0) hissync 0(2)
May 27 19:46:28 tardis ftpd[1703]: FTP session closed



May 27 20:16:42 tardis kernel: lp1 at 0x0378, (polling)
May 27 20:17:46 tardis kernel: lp1 at 0x0378, (polling)
May 27 20:18:51 tardis kernel: lp1 at 0x0378, (polling)
May 27 20:19:55 tardis kernel: lp1 at 0x0378, (polling)
May 27 20:20:59 tardis kernel: lp1 at 0x0378, (polling)
should this be happening?


Can someone give me a clue?

Thanks,
David DeWitt



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

From: Enguang He <[EMAIL PROTECTED]>
Subject: Has unix a function in C to check if a child process is alive based on 
Date: Thu, 27 May 1999 23:33:31 +0100

As title



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

Date: Thu, 27 May 1999 21:12:41 -0700
From: "W.A. Scheer" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: SAMBA & Win95 Logon authentication




Hi James.

Based on my recent experiences setting up SAMBA on a RHL 6.0 box, I'd
like to offer the following:

1) How are you starting the smb and nbd services? Are you adding the required line in 
netd.conf or are you starting the services manually?

2) It may be wise to not attempt the full-blown 'NT Domain' thing until after you get 
a basic 'user' or 'share' level setup working.

3) Which version of Win95 are you using? Certain OSR2 distributions require the use of 
encrypted passwords.

4) What SAMBA version / LINUX distribution are you using?

Hope I can help you get it working.

W.A. Scheer

James Dingwall wrote:

> Hi,
> I'm trying to set samba up to authenticate win 95 client logons.

.... etc. [snip]



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

From: [EMAIL PROTECTED] (somebody)
Crossposted-To: onenet.adsl,onenet.linux,comp.os.linux.setup,comp.dcom.xdsl
Subject: Re: linux ADSL setup - name resolution problem
Date: 28 May 1999 04:13:21 GMT

Hi

I think in the ifcfg-eth0 script (or whichever interface is connected to the 
adsl line) the BOOTPROTO should be "dhcp" if you want to use DHCP for the 
interface.

Harland

In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
>
>You need to put your nameserver addresses in /etc/resolv.conf
>No, you don't need to specify a DHCP server in Linux, but if you're
>using DHCP, you have to configure Linux to run the DHCP client.
>It's analagous to configuring Windows to 'get IP address
>automatically'.
>
>/RF
>On 18 May 1999 22:28:47 -0400, [EMAIL PROTECTED] (D.L.) wrote:
>
>>Hello World! :-)
>>
>>I just installed SuSE linux 6.1, with kernel 2.2.5, and am
>>trying to set it up for ADSL, but am encountering problems with
>>the setup.  I can ping my nameservers, but I can't resolve
>>names.  Even 'netstat -r' hangs at the header.
>>
>>Here's the information I got from Win98 (winipcfg) where
>>ADSL works fine:
>>
>>DNS Servers: 216.68.4.10
>>             216.68.5.10
>>
>>IP Addr:         10.0.0.2
>>Default Gateway: 10.0.0.1
>>Subnet Mask:     255.255.255.0
>>
>>Do I need to specify a DHCP server in linux?  I did not need to
>>when I set up Solaris 7 on the same computer.
>>
>>Here's what I'm using to set up the network:
>>
>># ifconfig eth0 10.0.0.2 netmask 255.255.255.0 up
>># route add default gw 10.0.0.1 eth0
>>
>>And here's the pertinent files and config from my system:
>>
>>havok:~ # cat /etc/hosts
>>
>>#
>>
>># IP-Address  Full-Qualified-Hostname  Short-Hostname
>>
>>#
>>
>>
>>10.0.0.2        havok.zoomtown.com      havok
>>
>>127.0.0.1       localhost
>>
>>
>>havok:~ # ifconfig -a
>>
>>eth0      Link encap:Ethernet  HWaddr 00:10:5A:0E:24:79
>>
>>          inet addr:10.0.0.2  Bcast:10.0.0.255  Mask:255.255.255.0
>>
>>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>
>>          RX packets:12 errors:0 dropped:0 overruns:0 frame:0
>>
>>          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
>>
>>          collisions:0 txqueuelen:100
>>
>>          Interrupt:10 Base address:0x300
>>
>>
>>lo        Link encap:Local Loopback
>>
>>          inet addr:127.0.0.1  Mask:255.0.0.0
>>
>>          UP LOOPBACK RUNNING  MTU:3924  Metric:1
>>
>>          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
>>
>>          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
>>
>>          collisions:0 txqueuelen:0
>>
>>
>>havok:~ # netstat -nr
>>
>>Kernel IP routing table
>>
>>Destination     Gateway         Genmask         Flags   MSS Window  irtt 
Iface
>>
>>10.0.0.0        0.0.0.0         255.255.255.0   U         0 0          0 eth0
>>
>>127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
>>
>>0.0.0.0         10.0.0.1        0.0.0.0         UG        0 0          0 eth0
>>
>>
>>#
>>
>># /etc/resolv.conf
>>
>>#
>>
>>search zoomtown.com
>>
>>nameserver 216.68.4.10
>>
>>nameserver 216.68.5.10
>>
>>
>>havok:~ # cat /etc/host.conf                         
>>
>>#
>>
>># /etc/host.conf
>>
>>#
>>
>>#
>>
>>#
>>
>>order hosts,bind
>>
>>multi on
>>
>>
>>
>>
>>havok:~ # cat /etc/nsswitch.conf
>>
>>passwd: files
>>
>>group:  files
>>
>>hosts:  files dns
>>
>>networks:       files dns
>>
>>services:       db files
>>
>>protocols:      db files
>>
>>rpc:    db files
>>
>>ethers: db files
>>
>>netmasks:       files
>>
>>netgroup:       files
>>
>>bootparams:     files
>>
>>automount:      files
>>
>>aliases:        files               
>>
>>
>>If you need any more info - please let me know.
>>
>>TIA,
>>D.L.
>>-- 
>>D.L. Sharp/NU8H      [EMAIL PROTECTED]        Cincinnati, Ohio
>>Kindred Spirits Hearth - http://w3.one.net/~dls/kspirits
>>[EMAIL PROTECTED]
>
>
>rfries at pacbell dot net
>



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

From: [EMAIL PROTECTED]
Subject: NIS timeouts under heavy load?
Date: Fri, 28 May 1999 04:44:59 GMT
Reply-To: [EMAIL PROTECTED]

I'm running into an NIS related problem on a RedHat LINUX 5.2 network.
The network has one NIS master which services 64 workstations
connected together as a cluster.  The problem is that when there is
heavy network activity among the cluster nodes, we get these error
messages from the clients:

node01: yp_all: clnt_call: RPC: Unable to receive; errno = Connection
reset by peer

It seems as if the NIS server is not able to respond to queries fast
enough or something.  We usually get these errors when all 64 nodes
are making network connections either at the same time, or one right
after the other.  Does anyone know what this error means and how to
address it?  Your help would be deeply appreciated as it is causing us
many problems.  Thank-you.

We are using the ypserv/ypbind that came with RedHat 5.2:
  ypbind version 3.3-glibc3
  ypserv - NYS YP Server version 1.3.5 (with tcp wrapper)



Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: [EMAIL PROTECTED]
Crossposted-To: linux.redhat.misc,comp.os.linux.hardware,linux.redhat.install
Subject: No loopback adapter, or neighbor table overflow
Date: Fri, 28 May 1999 04:54:08 GMT

Hello! I seem to have a problem with my PCMCIA nic and redhat 6.0.  When
I start my machine at work, where it is connected to the network, and is
a server there, it runs just fine.  When I have the network cable
disconnected, or when I have it plugged into a different network at
home, I get neighbor table overflows.  I can boot if I take the nic out,
but if I put it back into the machine at home, it begins giving me
errors.  Something that may or may not be related.  When I start the
machine at work, it does NOT automatically start the loopback adapter.
I have to start it manually.  However, when I remove the NIC from the
machine and boot it, the lo adapter starts.  Anybody have any ideas?
   Greg


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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


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