Linux-Networking Digest #473, Volume #10         Fri, 12 Mar 99 17:13:35 EST

Contents:
  working ppp questions (ben)
  Re: Need PPP log interpreter!!! (Clifford Kite)
  Re: atalk problem? (Creede  Lambard)
  =?iso-8859-2?Q?Re:_Packet_Filtering_with_dynamic_IP=B4s?= ("John Hardin")
  Slightly Off Topic?? Cisco 2511 and Packet Filters? (Ken Plumbly)
  IP Masquerading & mrouted (James Nedila)
  Newbie Questions General (Bobby Alexander)
  Re: Machine name themes - what do you use? (Jerrold Heyman)
  cannot add route to local host through loopback (Ian Piumarta)
  dhcpcd fails to lease IP address ("Nadeem Ahmed")
  Re: Linux ppp server and Win98 client ("David Travers")
  Re: Modem setup problems - no DTR except in MINICOM ("K.A. Steensma")
  Re: How do I boot Monitor-less 486 without a login and then... ? (Job Eisses)

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

From: ben <[EMAIL PROTECTED]>
Subject: working ppp questions
Date: Fri, 12 Mar 1999 13:53:47 -0600

Hi,

I have ppp up and working as a gateway from my network to an ISP.  I
have a static IP number and am hosting a web site for my company.  No
problems at all; it works great.  I do have two questions however...

1.  How do I get my modem to reconnect when my ISP drops me?

2.  Is there anyway I can find out info about my connection- connection
speed, bytes in, bytes out, duration of the connection, ... ?

I am using Slackware with Kernel 2.0.36.

Thanks for the help in advance,
Ben



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

From: [EMAIL PROTECTED] (Clifford Kite)
Subject: Re: Need PPP log interpreter!!!
Date: 12 Mar 1999 11:47:19 -0600

Marco Fonseca ([EMAIL PROTECTED]) wrote:

: I think you're on the right track. Here's a sample of the script
: used by Win98 (provided by my ISP itself) to log on to my ISP ppp server.

Here is what you're missing:

:    ; This is the prompt once your password is verified

:    string szPrompt = "ts>"

:    ; This is the command to send to establish the
:    ; connection.  This script assumes you only need

:    string szConnect = "ppp^M"

....

   ; Wait for the prompt

   waitfor szPrompt

   transmit szConnect

The equivalent chat expect/send would be

'ts>'   ppp

or perhaps

'ts>'   ppp\\r

since I'm not sure whether a carriage return is sent without a \r .
The quoting is necessary for the   ts>   prompt because   >   is used
for shell redirection.

The `~' expect/send in your current chat script may be unnecessary, but
the new one above should either be inserted just before it, or should
replace it.

: That's it. What do think? In light of this script, what changes
: should I make, especially in in linuxconf or the etc/ppp files (or both?),
: to get this
: thing working?

I've never seen linuxconf, it wasn't around when I started with Linux PPP.
The /ect/ppp files aren't applicable to chat scripting although there is
usually a /etc/ppp/scripts where ppp startup scripts can be found.  These
are not universal and can vary from distribution to distribution.

--
Clifford Kite <[EMAIL PROTECTED]>                       Not a guru. (tm)

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

From: [EMAIL PROTECTED] (Creede  Lambard )
Subject: Re: atalk problem?
Date: 12 Mar 1999 21:00:41 GMT

In article <7c8mna$3rn$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
>Stuff like this has been showing up in kernmsg
>
>protocol 9b80 is buggy, dev eth0
>protocol 0008 is buggy, dev eth0
>protocol 0008 is buggy, dev eth0
>protocol 0400 is buggy, dev eth0
>protocol 0008 is buggy, dev eth0
>
>This seems to happen when I start up the netatalk services(using kernel
>2.2.1). has anyone experienced any simaler problems?
>
>-----------== Posted via Deja News, The Discussion Network ==----------
>http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

I'm having similar problems. I get the message about protocol 0400 being
buggy -- that's the only message I get, but I get it a lot. This started
happening after I moved to kernel 2.2.3 with netatalk 1.4b2+asun2.1.3, both
straight out of the RPM. (I tried compiling the source also. No luck there
either.)

Ever since this started happening netatalk has refused to see my AppleTalk
network, telling me I'm basically my own little one-machine network out
there. Interestingly enough, ADP over TCP/IP works just fine. I can't see my
machine in the chooser on a local Mac, but then again I've never been able
to get that to work yet, even back when I was seeing things like zone lists.

Any help would be welcomed. Thanks in advance.

-- Creede

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

From: "John Hardin" <[EMAIL PROTECTED]>
Subject: =?iso-8859-2?Q?Re:_Packet_Filtering_with_dynamic_IP=B4s?=
Date: Fri, 12 Mar 1999 10:21:45 -0800


Folker Wendt wrote in message <[EMAIL PROTECTED]>...
> I have my LAN connected to the Internet over a Linux-Gateway using ISDN
> (ippp0). Everything works fine with masquerading. Now I want to set up
> packetfiltering when the link goes up.


Have a look at http://www.wolfenet.com/~jhardin/ipfwadm.html

It's a GUI around ipfwadm, and there are instructions for setting up a
dynamic-IP firewall if you follow the "Invoking the firewall script" link.

--
 John Hardin KA7OHZ                               [EMAIL PROTECTED]
 pgpk -a finger://gonzo.wolfenet.com/jhardin    PGP key ID: 0x41EA94F5
 PGP key fingerprint: A3 0C 5B C2 EF 0D 2C E5  E9 BF C8 33 A7 A9 CE 76
=======================================================================
  If you spend any time administering Windows NT, you're far too
  familiar with the Blue Screen of Death (BSOD) ...
                            - "MSDN Flash" email newsletter, 2/9/1999



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

From: Ken Plumbly <[EMAIL PROTECTED]>
Subject: Slightly Off Topic?? Cisco 2511 and Packet Filters?
Date: Fri, 12 Mar 1999 10:24:48 -0700

Hi, I know this isn't totally concerned with Linux
but I hope someone else has run into the same thing
as I have.
We are running two Cisco 2511 routers with USR
MP 16 modem pools.  We are also running three
netserver 16 units. We authenticate with Cistron
Radius.  I need to figure out how to set up packet filters
on the two Cisco units,  the documentation isn't exactly
the easiest to navigate.
With the Netservers the filter creation is a simple process.

Any Ideas
Ken
[EMAIL PROTECTED]


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

From: James Nedila <[EMAIL PROTECTED]>
Subject: IP Masquerading & mrouted
Date: Fri, 12 Mar 1999 13:03:44 -0800

I am setting up a new tunnel to the mbone, so I am installing mrouted.

That in itself is easy.
I would like to know beforehand, if ip masquerading will affect the
multicast packets?

The machine I am installing mrouted on, is masquerading packets for an
entire intranet, and I would like to keep it that way, without any major
changes...

Anyone have any thoughts on this?
Thanks


-- 
James Nedila                       Communications Programmer
[EMAIL PROTECTED] PolyMath Development Group
http://www.cecm.sfu.ca/~ned        CECM
Tel. 291-5617                      Simon Fraser University

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

From: Bobby Alexander <[EMAIL PROTECTED]>
Subject: Newbie Questions General
Date: Fri, 12 Mar 1999 18:45:17 +0000

Hi all,

I have a 2 PC setup home network setup on which both PCs were running
Win95 and sharing a DSL connection using Wingate as a proxy server on
PC1.  This setup worked well for a while but it seemed to be getting
less and less stable, until last Saturday something on PC1 got corrupted
by a blue screen of death and I was unable to reconfigure networking to
again work.

To make a long story short, I dumped the hard drive of PC1 onto PC2 and
installed RedHat 5.2 on PC1.  I've spent this week trying to figure
everything out and have made some good progress I think, but I am not
where I need to be yet.  Right now, I'm set up so that either machine
can use the DSL line by switching the plug from one to the other.

PC1 is a P150 with 96mb ram, 1 gig HD, 2NICs (3C509B and NE2000) which
are both now working.  I have a static IP address for PC1 which is
assigned to the 3C509B and the NE2000 is 192.168.0.1.  The static IP
address has a name to go with it assigned by my ISP
(dsl-southpaw.abc.primenet.com).  Does this have to be PC1's name as far
as linux is concerned?  

Do I need to use some little name for my private network like
mynetwork.com?

Should there be a name affiliated with 192.168.0.1?


Where do I need to go in order to replicate the setup I had using Win95
alone?  I played some with samba going but have not yet succeeded in
using it to access PC1 from PC2. I have downloaded the latest RPM for it
and installed it but haven't yet gotten it configured.  The physical
networking is ok, as I can ping from one to the other just fine (On the 
Win95 PC it only works if I ping by number), but that's about all I've
been able to do so far.

What else will I need to do?  Scanning the messages here it sounds like
I need to set up IP Masquerading.  Or is there separate proxy server
software I should use?  What about security as well.  Someone sent me
towards squid but that looks to me like a web caching program, is that
right?

I'd be grateful for whatever pointers you all can provide, thanks a lot.

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

From: [EMAIL PROTECTED] (Jerrold Heyman)
Crossposted-To: 
vmsnet.networks.misc,microsoft.public.windowsnt.domain,comp.unix.solaris,comp.os.os2.networking.server,comp.os.ms-windows.nt.admin.networking,comp.infosystems.www.servers.unix,comp.protocols.tcp-ip.domains
Subject: Re: Machine name themes - what do you use?
Date: 12 Mar 1999 20:13:31 GMT
Reply-To: [EMAIL PROTECTED]

Since I find networking similar hardware/OSes not very interesting, I
tend to name things by hardware/OS.  My home currently has:

  amiga (Amiga A3000), macos8 (PowerMac 7200), linux52 (Cyrix 6x86-PR200+), 
  sco505 (Cyrix 6x86-PR200+), and win98 (Cyrix MediaGX)

I'm hoping to add solaris7, but I can't get the damn thing to boot once I
install it.

jerry
-- 
Jerry Heyman            | Tivoli Systems              |"Software is the 
[EMAIL PROTECTED] | 3039 Cornwallis Rd          | difference between
Phone: 919.543.2141     | RTP, NC 27709  USA          | hardware and reality"
                     http://www.cs.stedwards.edu/u/heyman

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

From: Ian Piumarta <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.portable
Subject: cannot add route to local host through loopback
Date: 12 Mar 1999 19:17:44 +0100

Dear Gurus,

I recently upgraded from RHL4.1/2.1.24 to RHL5.2/2.2.3 (with the very
latest net-tools RPM, pcmcia recompiled from current sources, etc.)
and can no longer configure my local routing correctly.  I use PCMCIA
to run a 3Com564D net/modem card, and I'd like the machine to know how
to route packets to its real inet address even when the card is
absent.

By default (with no network card inserted) I have the loopback route.
When I ping the real inet address I get the usual "network
unreachable".

Previously I was able to run a static route through "lo" to my
machine's actual inet address:

        route add -host 128.93.52.7 dev lo

This used to make the ping to the real address work.  (For various
reasons I have to run X to this address, so this is a very necessary
capability for me.)

Since upgrading this no longer works.  "ping" sends the packet, and
then sits waiting for a response that never arrives.  What's even more
bizarre is that the output from ping implies that the sender field in
the packet is not being set correctly.

After the above route command I have:

    Destination     Gateway    Genmask     Flags Metric Ref Use Iface
    clotho.inria.fr *          255.255.0.0 UH    0      0     0 lo
    localhost.inria *          255.255.0.0 UH    0      0     0 lo

(the contents of /proc/net/route imply identical gw/flags/iface too).
When I "ping -v -d -R -c 1 localhost" I get something reasonable:

    PING localhost.inria.fr (127.0.0.1): 56 data bytes
    64 bytes from localhost.inria.fr (127.0.0.1): Echo Request
    
    RR:     localhost.inria.fr (127.0.0.1)
            localhost.inria.fr (127.0.0.1)
    64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=3.2ms
    RR:     localhost.inria.fr (127.0.0.1)
            localhost.inria.fr (127.0.0.1)
            localhost.inria.fr (127.0.0.1)
            localhost.inria.fr (127.0.0.1)
  
    --- localhost.inria.fr ping statistics ---
    1 packets transmitted, 1 packets received, 0% packet loss

When I "ping -v -d -R -c 1 128.93.52.7" I get something that appears
to be just plain wrong:

    PING clotho.inria.fr (128.92.52.7): 56 data bytes
    64 bytes from 0.0.0.0: Echo Request
    
    RR:     0.0.0.0
            clotho.inria.fr (128.92.52.7)

[...10 second pause...]
    --- clotho.inria.fr ping statistics ---
    1 packets transmitted, 0 packets received, 110% packet loss

I suspect the 0.0.0.0 is what's causing the problem.

If I insert the card (without any real net connection) and "ifconfig
eth0" properly then the ping works perfectly, and continues to do so
even after removing the net route to 128.93.0.0 through eth0 and
adding the static route through "lo".  (!)

This is driving me crazy.  Can anyone help?

FWIW, here are some relevant snippets of my kernel config.

    #
    # General setup
    #
    CONFIG_NET=y
    CONFIG_SYSCTL=y
    #
    # Networking options
    #
    CONFIG_PACKET=y
    CONFIG_NETLINK=y
    CONFIG_RTNETLINK=y
    CONFIG_NETLINK_DEV=y
    # CONFIG_FIREWALL is not set
    # CONFIG_FILTER is not set
    CONFIG_UNIX=y
    CONFIG_INET=y
    # CONFIG_IP_MULTICAST is not set
    # CONFIG_IP_ADVANCED_ROUTER is not set
    # CONFIG_IP_PNP is not set
    # CONFIG_IP_ROUTER is not set
    # CONFIG_NET_IPIP is not set
    # CONFIG_NET_IPGRE is not set
    # CONFIG_IP_ALIAS is not set
    # CONFIG_SYN_COOKIES is not set
    # CONFIG_INET_RARP is not set
    CONFIG_SKB_LARGE=y
    #
    # Network device support
    #
    CONFIG_NETDEVICES=y
    # CONFIG_ARCNET is not set
    CONFIG_DUMMY=y
    # CONFIG_EQUALIZER is not set
    CONFIG_NET_ETHERNET=y
    # CONFIG_NET_VENDOR_3COM is not set
    # CONFIG_LANCE is not set
    # CONFIG_NET_VENDOR_SMC is not set
    # CONFIG_NET_VENDOR_RACAL is not set
    # CONFIG_NET_ISA is not set
    # CONFIG_NET_EISA is not set
    # CONFIG_NET_POCKET is not set
    # CONFIG_FDDI is not set
    # CONFIG_DLCI is not set
    # CONFIG_PLIP is not set
    CONFIG_PPP=y

Many thanks,

Ian
=============================== projet SOR ===============================
Ian Piumarta, INRIA Rocquencourt,          Internet: [EMAIL PROTECTED]
BP105, 78153 Le Chesnay Cedex, FRANCE         Voice: +33 1 39 63 52 87
======================= Systemes a Objets Repartis =======================

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

From: "Nadeem Ahmed" <[EMAIL PROTECTED]>
Subject: dhcpcd fails to lease IP address
Date: Fri, 12 Mar 1999 15:42:12 -0500

Hi,
I have a dual booting PII 333 MHz/128 MB machine running Windows NT
Workstation 4.0/Redhat 5.1. When booted up as an NT machine my Windows NT
machine is able to lease an IP address from the DHCP server. I have also
configured Linux to use DHCP on boot to lease an IP address. But when booted
as Linux DHCP reports as error that it has failed on eth0 and coninues to
load without an IP address.
My network card is 3C905B-TX, a 3Com card.

Appreciate if anybody would tell me why this is happening. I have been stuck
for a few days not able to access the network or try anything on Linux.
Nadeem






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

From: "David Travers" <[EMAIL PROTECTED]>
Crossposted-To: comp.protocols.ppp,nl.comp.os.linux
Subject: Re: Linux ppp server and Win98 client
Date: Thu, 11 Mar 1999 23:22:53 -0000

Check that you have IP Forwarding enabled.

This will have to be compiled into the kernel (if you haven't already done
so) and that it is enabled.

In SuSE to enable/disable

echo 1 > /proc/sys/net/ipv4/ip_forward    to switch on
echo 0 > proc/sys/net/ipv4/ip_forward    to switch off

(Note may not be exact syntax, doing from memory).

Note have you created the files

/etc/ppp/options.ttyS0
/etc/ppp/options.ttyS1    and so on

ttyS0 relates to COM1, ttyS1 relates to COM2

these should contain the following the following <linux_box_ip_address> :
<dial_up_ip_address>

e.g 192.168.0.50:192.168.0.100

or    linuxbox:192.169.0.100        if you have linuxbox defined in
/etc/hosts

Note, for this also to work they must be on the subnet (I think, correct me
if wrong), so the first three numbers of the IP addresses should be the same
in the above files.

Finally you may want to add +pap -chap to your configuration file, and
create a /etc/ppp/pap-secrets file.

This will enable you to enable/disable accounts irrespective of you Linux
box logins.

Hope this info helps, as I spent a good solid three weeks on our Linux PPP
server to getting it working perfectly.

David Travers

Ronald Hovens wrote in message <7c83bv$i76$[EMAIL PROTECTED]>...
>I have a linux desktop and a win98 laptop. Thru samba, they work together
>perfectly in my small home-lan.
>I also can dial up into my linux box via a win comm. program that dials my
>linux server, which uses mgetty to listen for activity on my modem.
>
>I want to give my dial-up users network functionality as if they were
>working on my local lan (map windows drives to linux folders, use linux
>printers from win client etc.). For this purpose I tried to setup my linux
>box as a ppp-server. I followed all the instructions in the ppp-howto (v3.0
>mar 1997) and created a dial-up connection on my win 98 laptop of
servertype
>PPP:Internet, windows NT server, windows 98.
>
>This SEEMS to work: I get no errormessages after succesfull connection by
>using a valid username/password pair.
>
>However, I cannot ping nor telnet my linux box once the link is up.
>Furthermore, when I use a 'net use' statement from windows I get a message
>that the computername cannot be found on the network.
>
>My /etc/ppp/options file looks like this (derived from the ppp howto
pages):
>
>netmask 255.255.255.0
>proxyarp
>lock
>crtscts
>
>
>What can I do? Many thanks in advance.
>
>
>
>
>
>
>
>
>





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

From: "K.A. Steensma" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.questions,comp.os.linux.setup
Subject: Re: Modem setup problems - no DTR except in MINICOM
Date: Fri, 12 Mar 1999 21:30:48 GMT

It sounds like your ISP is using PAP.  What do you see on the screen when you
connect with Minicom?

Deus wrote:

> Last night it worked, seemingly out of the blue.  I went into the network
> configurator and activated the PPP port, and it dialed up my ISP. I did the
> same thing several times the night before, but it never got through to the
> modem.  And, no, it's an external modem connected to my com1 port.
>
> However, I still can't logon to my ISP.  It dials and connects, but I never
> get a logon prompt in MINICOM, so I imagine the script in the network
> configurator isn't going through either.  Tonight I'll try the SLIP
> connection.
>
> K.A. Steensma wrote in message <[EMAIL PROTECTED]>...
> >Forgive my ignorance.  Is the modem external?  If not, does it have jumper
> or
> >switch setting to allow it to be addressed as comm 1-4?  KAS
> >
> >Deus wrote:
> >
> >> I'm trying to set up my 3 COM Impact IQ.  It works fine in Win 98, but
> now
> >> I'm trying to set it up in RH.  I went through all the steps in Network
> >> Configurator and in the edit PPP page, but when I go to "connect", I get
> >> nothing.
> >>
> >> However, when I pull up MINICOM, I can dial and get a connection (however
> I
> >> still don't get a Login: prompt from my ISP).  I know there are problems
> >> getting the Impact IQ to use both channels, etc.  But my first concern is
> >> getting Linux to recognize the modem in the first place.
> >>
> >> Any suggestions?
> >


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

Date: Fri, 12 Mar 1999 22:36:20 +0100
From: Job Eisses <[EMAIL PROTECTED]>
Subject: Re: How do I boot Monitor-less 486 without a login and then... ?

IanP wrote:
> 
> Peck R. Wood wrote:
> 
> > IanP wrote:
> > >
> > > I have a shiny new PII with two hard disks, the first with windows 98
> > > and the second with Redhat 5.1. networking (soon) with my faithful old
> > > 486.  I want the 486 to boot without asking for a login and password,
> > > being monitorless.
> >
> > Once you set up the networking to where you boot the 486 and access it
> > from win98 the way you want, you can unplug the monitor, keyboard and
> > mouse.  You can set up whatever services you want on the 486, samba,
> > apache, etc. and they will all run without you having to login.  Once
> > you can telnet to the box, you can even reboot it remotely and wait for
> > it to come back up so you can telnet in.  There are some programs that
> > require the console (monitor, keyboard, etc.) but there are equivalent
> > programs that don't for most of them.
> >
> >  The purpose being that I want to telnet (or if there
> > > is something better...?) from Windows on the PII to a minimal Linux
> > > installtion on the 486 which will have the PII's Linux partitions
> > > mounted on it allowing me to use the programs on the PII.
> >
> > Not sure what you mean here.  If you can mount the partitions using nfs
> > (is there nfs for win98?), you still wouldn't be able to use programs
> > for linux under win98. This would be no problem (not as much of a
> > problem) when you boot up the redhat partition on the PII.
> 
> There is a read only ext2 driver for win98 but it maps partitions to drive
> letters as you would expect.  I can telnet to the 486, and samba just needs a
> couple of tweaks.  I want to know if there is a way, while running
> win98(PII),  with telnet session to Linux(486), to mount the linux
> partitions(PII) on the 486, and thus have all linux partitions available under
> a linux(486) telnet session on the PII; to actually be able to execute
> programs on the PII Linux partition from the 486 telnet session under win98.
> Phew!

Perhaps you are the first ever to try that; put that ext2 driver in w98,
share the drive, smbmount it on the 486 - nifty if it works
                                               -job

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


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