Linux-Networking Digest #859, Volume #11         Sun, 11 Jul 99 09:13:48 EDT

Contents:
  PPP slows down ("John Simpson")
  Re: Can't mount using NFS!!! (Allen Ashley)
  Re: IP masquerading (Lindsay Powles)
  Re: NFS problems in Redhat Linux 6 ("Ricky J. Sethi")
  Re: Making an ICQ server (Sander)
  Re: Binding DHCPD to a particular interface in dhcpd.conf (Stuart R. Fuller)
  Telnet source code ("David Illsley")
  How to use smbmount? (Steven Wu)
  Re: Linux Win98 Networking Problems!! ([EMAIL PROTECTED])
  [HELP!] pppd locking up /dev/cua1 ("Kenneth J. Ingram")
  Re: Could Microsoft Cheat On The New Mindcraft Benchmark? (Anthony Ord)
  Re: Weird NFS problems with RH 6.0 ("Andreas Metzler")
  Re: local ppp no longer working with kernel 2.2.x ("Eric G. Stern")
  Re: Linux modem frame errors (Rob van der Putten)
  Re: NFS problems in Redhat Linux 6 ("Andreas Metzler")
  Re: Linux unable to ping HP JetDirect print server? ("pg")
  Re: Rejected protocols during ppp negotiation (Clifford Kite)
  /etc/ppp/peers/... permission denied (?) (Michael Steffens)

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

From: "John Simpson" <[EMAIL PROTECTED]>
Subject: PPP slows down
Date: Sat, 10 Jul 1999 17:28:40 +0100

Hi

PPP works fine...for about two minutes. Things then quickly slow down until
eventually... no response from my ISP.

Same with Netscape and lynx.

Ping reports failures to return packets. ifconfig also reports errors.

If I set PPPD to 9600 everything works fine all the time (but is of little
use).

I stole the modem (Hayes Accura 56k Speakerphone)initialisation strings from
Windows 98 (which works fine).

If I stop PPPD and restart immediately, the same problem immediately.
However, if I stop PPPD and wait for 5 minutes (or reboot), it again works
fine for two minutes...etc.

Something to do with error correction, buffering...?

Any ideas anyone?

Thanks

John Simpson



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

From: [EMAIL PROTECTED] (Allen Ashley)
Subject: Re: Can't mount using NFS!!!
Date: 11 Jul 1999 09:33:26 GMT

[EMAIL PROTECTED] (mike) writes:
>>> I'm root on both machines. Do I need to specify on the Slackware
>>> machine that I want to share the mnt/red directory? If so, how do
>>> I do that? Any other ideas?


Your exports file has to include no_root_squash along with the rw
to allow root access.


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

From: Lindsay Powles <[EMAIL PROTECTED]>
Subject: Re: IP masquerading
Date: Sun, 11 Jul 1999 05:23:23 +1000

    If you are a newbie chances are that the release of the kernel you are
using is 2.2.x, in which case I strongly suggest you ignore most of the current
HOW-TOs that tell you to use 'ipfwadm'. After hours trying to set up a firewall
utility I discover that in this new kernel release 'ipfwadm' has been scraped
and that you have to use 'ipchains'. I can not give you anymore information
about how to use 'ipchains' at this time as I have only just discovered it and
have not had the time to try to set it up.

    I hope this saves you the time and frustration I endured trying use
'ipfwadm' on a 2.2.x kernel. :-)

lito lampitoc wrote:

> I have 1 linux server should be connected to the internet and 5 windows box
>
> with different IP addresses, I want my windows box to get connected to the
>
> server and be able to surf. Can somebody help me with this, I need a very
>
> basic explanation coz Im really new with linux. I'll appreciate a response.
>
> ------------------  Posted via SearchLinux  ------------------
>                   http://www.searchlinux.com


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

From: "Ricky J. Sethi" <[EMAIL PROTECTED]>
Crossposted-To: comp.protocols.nfs,linux.redhat.misc
Subject: Re: NFS problems in Redhat Linux 6
Date: Sun, 11 Jul 1999 02:54:04 -0700


mike <[EMAIL PROTECTED]> wrote in message
news:W8Uh3.596$[EMAIL PROTECTED]...
> >exportfs: joriki.maru.org.uk:/: Function not implemented
> >rpc.nfsd: nfssvc: Function not implemented
>
> do rpcinfo -p and see if NFS daemon is started, if not, start it as root


Hey, I get the same problem... nfssvc is not implemented in nfs daemon.
I've also got RH 6 but I'm running 2.2.10

Adios,


Rick.





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

From: Sander <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: Making an ICQ server
Date: Sun, 11 Jul 1999 13:52:43 +0200

http://concepts.linuxberg.com/files/console/servers/gicqd-0.0.93.tar.gz

Paul Moore <[EMAIL PROTECTED]> wrote:
>Azfar Kazmi wrote:
>
>> Hi,
>>
>> Is there any ICQ daemon available? I looked at freshmeat.net but found
>> none stable. How can I make an ICQ box?
>>
>> I have provided a cache server to users and they connect to Internet
>> through that. Since they wish to use ICQ and Squid doesn't allow that
>> therefore I thought why I don't make my own box an ICQ server. Is that
>> possible? I have never used ICQ though. I even don't know how the clie=
nt
>> works.
>>
>> I am using Redhat 4.1 kernel 2.0.34
>>
>> --
>> Azfar Kazmi
>> [EMAIL PROTECTED]
>>
>> Sent via Deja.com http://www.deja.com/
>> Share what you know. Learn what you don't.
>
>Paul Anderson is right about ICQ having many security holes in it, and I=
CQ
>does not support secure transmition. I know of a non IQC compatible clon=
e
>(if that makes sense) called Teaser. The client is called Firecat. I don=
t
>know the URL so do a search on Freshmeat.


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

From: [EMAIL PROTECTED] (Stuart R. Fuller)
Subject: Re: Binding DHCPD to a particular interface in dhcpd.conf
Reply-To: [EMAIL PROTECTED]
Date: Sun, 11 Jul 1999 10:00:03 GMT

Andrew Crouse ([EMAIL PROTECTED]) wrote:
: Does anyone know how to bind Dhcpd to a particular interface within the
: dhcpd.conf file?  It is simple to do on the command line, but I usually
: start the server at boot up.
: 
: If there is no command for this, I see two ways of getting around the
: problem.  If I bring up the interface that I want dhcpd to run on before
: I bring up my other interface then DHCPD works fine.  Also, I guess I
: could modify the dhcpd script in init.d.  If this can't be done in
: dhcpd.conf, perhaps someone could comment on the relative merits of
: these two solutions or suggest another.

Here's what I did in my situation.  I have eth0 at 192.168.1.1 and eth1 at my
externally visible IP address.  dhcpd handles the 192.168.1 addresses, and
while it's defined in my dhcpd.conf, it just doesn't handle any addresses on
my cable modem port:

subnet 24.2.252.0    netmask 255.255.254.0 {
}
                                         
host momsys {
    hardware ethernet 48:54:E8:2A:0B:9C;
    fixed-address 192.168.1.40;
    option host-name "momsys";
...

        Stu

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

From: "David Illsley" <[EMAIL PROTECTED]>
Subject: Telnet source code
Date: Sun, 11 Jul 1999 10:39:56 +0100
Reply-To: "David Illsley" <[EMAIL PROTECTED]>

I am planning to create an encrypted telnet client and server program as a
school project, and, after a long search period, I have come to ask you
wonderful guru's if you know which source files contain the telnet server
and client.

Thanks in advance.
David Illsley



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

From: Steven Wu <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: How to use smbmount?
Date: Sun, 11 Jul 1999 09:57:59 GMT

Hi,

I can use smbclient to connect share directories on our nt server.  But
the smbmount command did not work. I use the following command:
  smbmount //ntserver/myshare -U steven -c 'mount /mnt -uid 0 -gid 0'
this command ask me input a password, after I typied it in, it returned
me a 'No such device'.  Then I used the following command parameters
instead:
  smbmount //ntserver/myshare -U steven
This time, smbmount also ask me to input a password, i in turn typied it
in again, everything looks fine, it bring me into a 'smb>' prompt, but I
can not input any command under this prompt!

Could anyone tell me what I have missed?  How can I mount a nt shared
directory to my linux box?

-Steven


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

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

From: [EMAIL PROTECTED]
Subject: Re: Linux Win98 Networking Problems!!
Date: Sun, 11 Jul 1999 10:36:22 GMT

I'm having a similar problem.
I'm using the tulip driver on my Kingmax GFA7000 PCI Ethernet card
I not the crossover cable is working because I dual boot between linux
and Win98 and the network is A-OK.
I also notice that when I display the ARP table the H/W mac address
displays "in-complete" what-ever that means.
This must be either a driver prob/bug and/or TCPIP config.
I find it hard to believe with a simple route table and IP config
that its not working.

How does one debug these problems?
Let us know of you find out what the problem is...
Paul

In article <[EMAIL PROTECTED]>,
  "Brendan O'Neill" <[EMAIL PROTECTED]> wrote:
> hi,
> I had exactly the same problem.
> I was using an SMC ehternet card. I swapped it with a 3com card and
the
> problem remained, but the 3com card allowed me to disable shared
memory.
> Once I did this, it worked fine.
> Good Luck
>
> Brendan
>
> Richard <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Rafo wrote:
> >
> > > Hello:
> > > I am attempting to network a win98 box with a linux system.  All
I am
> > > trying to do, is to run Apache HTTPD on the Linux box and access
it from
> > > the win98 system so I can  test CGI scripts.
> > >
> > > I am attempting to connect them using ethernet cards.  I have
assigned
> > > the following IP addresses:
> > > WIN98       IP:192.168.1.110    Mask:255.255.255.0
> > > Linux:          IP:192.168.1.100    Mask:255.255.255.0
> > >
> > > The linux system boots up with out a problem, it detected the
ethernet
> > > hardware ok.  I have the hosts file properly structured, netestat
looks
> > > ok.  At the linux box, when I ping for localhost and for
192.168.1.100
> > > there are no problems, all packet sent are received.  However,
when I
> > > ping for the win98 system (192.168.1.110) I get no reply.  At the
win 98
> > > system I can ping both localhost and 192.168.1.110 but I can't
ping the
> > > linux box.  In other words, the systems are not able to talk at
all.  I
> > > have connected them using a crossover (NULL) cable as suggested
in the
> > > Ethernet-HOWTO.
> > >
> > > This has to be a simple problem to fix.  Please, someone come to
the
> > > rescue!!
> > >
> > > Thanks in advance.
> > >
> > > RA
> >
> > hello,
> > have you tried going into network icon in control panel(on win98box)
> > clicking on file and printer sharing and checking both boxes????
then have
> > to hit ok and then ok again and click yes to restart.
> > i fought that on my linux/win98 hybrid network until it dawned on
me three
> > hours later, also make sure hard drive on win98 is shared.
> > if this doesnt work i have another idea. so email me back if it
doesnt
> > work...
> > [EMAIL PROTECTED]
> >
>
>


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

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

From: "Kenneth J. Ingram" <[EMAIL PROTECTED]>
Subject: [HELP!] pppd locking up /dev/cua1
Date: Sun, 11 Jul 1999 04:02:31 -0700
Reply-To: "Kenneth J. Ingram" <[EMAIL PROTECTED]>

Does anyone now what utilities, commands or tools can be used to
release or check the getty/mgetty devices for locks?

I have this problem whereby, the third or fourth consecutive time
I dial in to my ISP using "pppd connect chat ...." it kills the
getty/mgetty.

The su and login commands get locked up and the /dev/cua1 port is blocked.
My only recourse is to reboot the machine.

At some time during the reboot the cua1 port gets unblocked and the dialup
resumes as the machine shuts down.

If any one has tips on how to best track this down I would appreciate any
useful comments, advice or tips.

Thanks

Ken Ingram
[EMAIL PROTECTED]



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

From: [EMAIL PROTECTED] (Anthony Ord)
Crossposted-To: 
omp.os.ms-windows.nt.advocacy,comp.os.linux.advocacy,comp.infosystems.www.servers.unix,comp.os.linux.misc
Subject: Re: Could Microsoft Cheat On The New Mindcraft Benchmark?
Date: Sun, 11 Jul 1999 11:14:13 GMT

On 10 Jul 1999 14:17:58 GMT, [EMAIL PROTECTED] (Joseph T. Adams)
wrote:
>Anthony Ord ([EMAIL PROTECTED]) wrote:
>: >Another might be that the top X military and/or economic powers had to
>: >be involved.  It's a good bet that, even back then, the U.S. would be
>: >included there even for relatively small values of X.
>: 
>: What if all the top X military and economic powers were all
>: in Europe? According to your definition a European War would
>: then become a world war. 
>: 
>: But, let's go with your definition. 
>: 
>: Q. When was the First World War? 
>: 
>: A. Sometime in the Napoleonic Era.
>
>Nope.  Read about the Roman Republic and Empire.  Several of its
>conflicts, including the Punic Wars IIRC, were similar in scope, and
>even destructiveness to human life (adjusting for the smaller world
>population at the time), than WWI.  And this in spite of the fact that
>Rome was unchallenged, and unchallengable, by any single external
>power.  

China. The reason Rome and China never fought was due to
geographical distance. They simply could not get to each
other within a reasonable fraction of a year. Remember the
definition was that it was a World War if the top X
military/economic powers were fighting. Anything excluding
China therefore would not be a World War under that
definition.

I considered that China had fallen so far by the time of
Napoleon that it was not one of the top X military/economic
powers.

You may wish to dispute this and go for an earlier date like
(say) the Spanish Armada, whatever - the exact date of the
decline of China is a matter of conjecture. However this all
goes to prove that saying if X of the top military/economic
powers are fighting, then  that is a World War is utter
crap. I hope you see that even with your own example.

>Usually, opponents like Attila and Hannibal were able to
>profit from the extreme discontent of folks in conquered territories
>that Rome already considered to be under control. 
>
>Joe

Regards

Anthony
-- 
=========================================
| And when our worlds                   |
| They fall apart                       |
| When the walls come tumbling in       |
| Though we may deserve it              |
| It will be worth it  - Depeche Mode   |
=========================================

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

From: "Andreas Metzler" <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat,linux.redhat.install
Subject: Re: Weird NFS problems with RH 6.0
Date: 11 Jul 1999 11:20:42 GMT

In linux.redhat John Bell <[EMAIL PROTECTED]> wrote:
> The old behavior with unfsd allowed that, if "/" was exported, then
> all file systems under "/" including the root file system were
> exported. The new behavior under knfsd only exports the root
> file system if "/" is exported. If you have /usr, /var, etc. on
> separate file systems you will have to explicitly export them.

> There are plans to roll the "old style" unfsd export behavior into
> later versions of knfsd (it will probably become a compile-time
> option as to which behavior you want).
[deleted]
> Have fun,

hello!
there  _is_ an compile time option for this:
Emulate Sun NFS daemon
CONFIG_NFSD_SUN

        cu andreas

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

From: "Eric G. Stern" <[EMAIL PROTECTED]>
Subject: Re: local ppp no longer working with kernel 2.2.x
Date: Sun, 11 Jul 1999 06:46:25 -0500

I forgot to mention that I am running Debian 2.1 using ppp 2.3.7.  The
information I found on kernel.org at the time 2.2 came out indicated
that 2.3.5 was sufficient.

                                Eric Stern


Clifford Kite write:
> Software upgrades are sometimes necessary when the kernel changes.
> This is particularly true when the change is to a kernel in a new series.
> The linux/Documentation/Changes file in the kernel source tree is *must*
> reading in that case.
> 
> --
> Clifford Kite <kite@inet%port.com>                    Not a guru. (tm)
> /* Those who can't write, write manuals. */


Eric G. Stern wrote:
> 
> Hi,
> 
> I've had a ppp connections through a null modem cable between my linux
> since
> kernels 2.0.28 through 2.0.36.  When I tried to upgrade to the 2.2.x
> series
> of kernels I can't get the ppp link to come up.  Looking at logs on both
> sides, it appears that the connection is established, but 11 seconds
> later
> the Amiga sends a TermReq to the linux box and closes it's end of the
> ppp
> link.  There's nothing obvious in the log about the Amiga requesting any
> services or options in between that would make it want to terminate.
> The ppp
> link still works on the external modem to my ISP.
> 
> I haven't changed the Amiga end and the Linux end still works
> with kernel 2.0.36.  What changed?
> 
>                                 Thanks,
>                                 Eric Stern

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

From: Rob van der Putten <[EMAIL PROTECTED]>
Subject: Re: Linux modem frame errors
Date: 11 Jul 1999 13:43:03 +0200

Hi there


[EMAIL PROTECTED] wrote:

> What do you mean by "Check the modem"?

I mean flow control settings inside the modem itself.


Regards,
Rob

-- 
+------------------------------------------------------------------------+
|                Rob van der Putten, [EMAIL PROTECTED]                 |
|              http://www.sput.webster.nl/spam-policy.html               |
+------------------------------------------------------------------------+

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

From: "Andreas Metzler" <[EMAIL PROTECTED]>
Crossposted-To: comp.protocols.nfs
Subject: Re: NFS problems in Redhat Linux 6
Date: 11 Jul 1999 12:06:01 GMT

In comp.os.linux.networking Ricky J. Sethi <[EMAIL PROTECTED]> wrote:

> mike <[EMAIL PROTECTED]> wrote in message
> news:W8Uh3.596$[EMAIL PROTECTED]...
>> >exportfs: joriki.maru.org.uk:/: Function not implemented
>> >rpc.nfsd: nfssvc: Function not implemented
>>
>> do rpcinfo -p and see if NFS daemon is started, if not, start it as root

> Hey, I get the same problem... nfssvc is not implemented in nfs daemon.
> I've also got RH 6 but I'm running 2.2.10

> Adios,
> Rick.
hello!
on some machines its impossible to compile knfsd as module with a
vanilla 2.2.10 kernel. the redhat 2.2.5 kernelsources are patched
to allow this.
three possible solutions:
1) switch back to redhat's 2.2.5 
2) compile knfs into the kernel instead of as module
3) apply som patches (eg: alan cox's ac10)
     cu andreas
X-Posted with Followup-To: comp.os.linux.networking

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

From: "pg" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Linux unable to ping HP JetDirect print server?
Date: Sun, 11 Jul 1999 12:10:40 GMT


John H. Chauvin <[EMAIL PROTECTED]> wrote in message
news:7m81vg$[EMAIL PROTECTED]...
> I have been running Linux on my PC (actually a jaz
> cartridge) for the last few weeks. I have been unable to
> setup Linux to print to my HP 4000N printer which is
> connected to my PC via an ethernet connection using a Asante
> Ethernet hub. So my simple network consists of just my PC
> and the HP printer.
>
> I have setup all the configuration files, read all the HOWTO
> documents, and reviewed all the help documents on the HP
> website. All the settings have been checked on the HP4000N.
> The printer functions perfectly under Win98.
>
> The problem is my PC (running Linux) is unable to ping or
> telnet to the HP JetDirect print server. HP documents
> suggest I need to add the print server to the linux's
> routing table using a route add command. Unfortunately, the
> two version of the command I tried failed:
>
>                  hp4000n      pc
> route add host 192.0.0.192 127.0.0.1 0
>
> fails with:  host:Host name lookup failure
>
> and
>
> route add 192.0.0.192 127.0.0.1
>
> fails with: SIOCADDRT: No such device
>
> If I try to print using lpr, linux is unable to locate the
> IP address of the printer (192.0.0.192) on the network.
>
> Any suggestions?
>
> Thanks for the help,
>
> John Chauvin
> --
> John H. Chauvin [EMAIL PROTECTED]
> Netcom - Online Communication Services San Jose, CA
===============================

John,

                I am using a JetDirect (EX+) print server , so can tell you
it will work.  Is it possible that the IP address of the Jet Direct is not
192.0.0.192 (default) ?  I suggest doing a hard reset on the Jetdirect by
unplugging the unit's power cord, and pressing the test button for 5 seconds
or more. That will set it back to the default settings, and you should be
able to ping / telnet 192.0.0.192.

When I set up my unit, I did not have to set up a route for it - but I did
enter it's IP address (after changing it via telnet) in my hosts table.

PG



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

From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: Rejected protocols during ppp negotiation
Date: 10 Jul 1999 22:49:14 -0500

Bill Horne ([EMAIL PROTECTED]) wrote:

: I've attached a log file from a partially successful ppp
: negotiation:  I was able to get on the network and
: ping/telnet via IP #, but couldn't use the DNS.  Please tell
: me what the rejected/unrecognized protocols are in this log,
: and if they are the cause of the problem.

They are not the cause, although there are more protocols that pppd
doesn't understand or isn't configured for than are seen in most
PPP link negotiations.

The problem is usually a resolver issue.  Do you have _good_ nameservers
in /etc/resolv.conf and the syntax correct?  man 5 resolver.

: Thanks for your help.

: System:  AMD K6-230, 64MB Ram, RedHat 5.2.  Resolv.conf has DNS 
: IP numbers, and options file has both noauth and defaultroute entries.

: Bill

: --
: Bill Horne
: (Remove ".nouce" from address to reply via email. Sorry.)

: Starting test with chap-secrets populated
: (chat script snipped)
: Jul  8 21:03:43 localhost pppd[399]: Serial connection established.
: Jul  8 21:03:44 localhost pppd[399]: Using interface ppp0
: Jul  8 21:03:44 localhost pppd[399]: Connect: ppp0 <--> /dev/ttyS0
: Jul  8 21:03:44 localhost pppd[399]: sent [LCP ConfReq id=0x1 <magic
: 0x44ae0dad> <pcomp> <accomp>]
: Jul  8 21:03:47 localhost pppd[399]: sent [LCP ConfReq id=0x1 <magic
: 0x44ae0dad> <pcomp> <accomp>]
: Jul  8 21:03:48 localhost pppd[399]: rcvd [LCP ConfReq id=0x1 <mru 4542>
: <asyncmap 0xa0000> <auth 0xc027 01 00 00 02> <magic 0xa02bca9f>]

Shiva authentication protocol, aka SPAP.  A proprietary authentication
protocol used by Shivas and their friends.

: Jul  8 21:03:48 localhost pppd[399]: sent [LCP ConfNak id=0x1 <auth chap
: 05>]
: Jul  8 21:03:48 localhost pppd[399]: rcvd [LCP ConfAck id=0x1 <magic
: 0x44ae0dad> <pcomp> <accomp>]
: Jul  8 21:03:48 localhost pppd[399]: rcvd [LCP ConfReq id=0x2 <mru 4542>
: <asyncmap 0xa0000> <auth 0xc123 01 00 00 02> <magic 0xa02bca9f>]

Old Shiva authentication protocol, the one that used the illegal protocol
number c123 .

: Jul  8 21:03:48 localhost pppd[399]: sent [LCP ConfNak id=0x2 <auth chap
: 05>]
: Jul  8 21:03:48 localhost pppd[399]: rcvd [LCP ConfReq id=0x3 <mru 4542>
: <asyncmap 0xa0000> <auth chap 05> <magic 0xa02bca9f>]
: Jul  8 21:03:48 localhost pppd[399]: sent [LCP ConfAck id=0x3 <mru 4542>
: <asyncmap 0xa0000> <auth chap 05> <magic 0xa02bca9f>]
: Jul  8 21:03:48 localhost pppd[399]: rcvd [CHAP Challenge id=0x1
: <9453d7b57e6a2e4ac4>, name = "GW-HAL-208.212.172.x"]
: Jul  8 21:03:48 localhost pppd[399]: sent [CHAP Response id=0x1
: <527cbb8c4a037a046e7b84e9a043736e>, name = "myuserid"]
: Jul  8 21:03:48 localhost pppd[399]: rcvd [CHAP Success id=0x1 ""]
: Jul  8 21:03:48 localhost pppd[399]: sent [IPCP ConfReq id=0x1 <addr
: 0.0.0.0> <compress VJ 0f 01>]
: Jul  8 21:03:48 localhost pppd[399]: rcvd [IPCP ConfReq id=0x1 <addr
: 208.212.172.108> <compress VJ 0f 00>]
: Jul  8 21:03:48 localhost pppd[399]: sent [IPCP ConfAck id=0x1 <addr
: 208.212.172.108> <compress VJ 0f 00>]
: Jul  8 21:03:48 localhost pppd[399]: rcvd [IPXCP ConfReq id=0x1 <network
: 40826b3f> <node 0001cbc2d302> < 03 06 00 02 0f 00> <router proto 0>
: <router name "GW-HAL-208.212.172.x"> <complete>]
: Jul  8 21:03:48 localhost pppd[399]: Unsupported protocol (0x802b)
: received
: Jul  8 21:03:48 localhost pppd[399]: sent [LCP ProtRej id=0x2 80 2b 01
: 01 00 2b 01 06 40 82 6b 3f 02 08 00 01 cb c2 d3 02 03 06 00 02 0f 00 04
: 04 00 00 05 0d 4d 41 4d 41 52 32 35 31 4c 41 33 06 02]

Novell IPX Control Protocol

: Jul  8 21:03:48 localhost pppd[399]: rcvd [CCP ConfReq id=0x1 < 11 05 00
: 01 03>]
: Jul  8 21:03:48 localhost pppd[399]: sent [CCP ConfReq id=0x1]
: Jul  8 21:03:48 localhost pppd[399]: sent [CCP ConfRej id=0x1 < 11 05 00
: 01 03>]

Almost missed this one.  STAC LZS compression, proprietary.

: Jul  8 21:03:48 localhost pppd[399]: rcvd [proto=0x803f] 01 01 00 13 02
: 08 00 06 00 03 00 05 03 05 00 00 01 04 02
: Jul  8 21:03:48 localhost pppd[399]: Unsupported protocol (0x803f)
: received
: Jul  8 21:03:48 localhost pppd[399]: sent [LCP ProtRej id=0x3 80 3f 01
: 01 00 13 02 08 00 06 00 03 00 05 03 05 00 00 01 04 02]

NETBIOS Framing Control Protocol

: Jul  8 21:03:48 localhost pppd[399]: rcvd [proto=0xcf] ec 01 01 00 0c 01
: 08 00 80 d3 43 cb 40
: Jul  8 21:03:48 localhost pppd[399]: Unsupported protocol (0xcf)
: received
: Jul  8 21:03:48 localhost pppd[399]: sent [LCP ProtRej id=0x4 00 cf ec
: 01 01 00 0c 01 08 00 80 d3 43 cb 40]

PPP NLPID (Network Layer Protocol ID)  Identifies PPP protocol for the
medium (but pppd already knows that :).

: Jul  8 21:03:48 localhost pppd[399]: rcvd [IPCP ConfNak id=0x1 <addr
: 208.212.172.109>]
: Jul  8 21:03:48 localhost pppd[399]: sent [IPCP ConfReq id=0x2 <addr
: 208.212.172.109> <compress VJ 0f 01>]
: Jul  8 21:03:48 localhost pppd[399]: rcvd [CCP ConfAck id=0x1]
: Jul  8 21:03:48 localhost pppd[399]: rcvd [CCP ConfReq id=0x2]
: Jul  8 21:03:48 localhost pppd[399]: sent [CCP ConfAck id=0x2]
: Jul  8 21:03:48 localhost pppd[399]: rcvd [IPCP ConfAck id=0x2 <addr
: 208.212.172.109> <compress VJ 0f 01>]
: Jul  8 21:03:48 localhost pppd[399]: local  IP address 208.212.172.109
: Jul  8 21:03:48 localhost pppd[399]: remote IP address 208.212.172.108

: Jul  8 21:04:18 localhost pppd[399]: rcvd [LCP EchoReq id=0x1
: magic=0xa02bca9f]
: Jul  8 21:04:18 localhost pppd[399]: sent [LCP EchoRep id=0x1
: magic=0x44ae0dad]

: (above challenge/response was received/sent every 30 seconds for
: the rest of the session:  what function is this?)

Echo Request.  The ISP is checking to see whether the link is still
viable, and it is as long as it gets a Echo Reply from pppd.

: Jul  8 21:16:03 localhost pppd[399]: Terminating on signal 15.
: Jul  8 21:16:03 localhost pppd[399]: sent [LCP TermReq id=0x5 "User
: request"]
: Jul  8 21:16:03 localhost pppd[399]: rcvd [LCP TermAck id=0x5]
: Jul  8 21:16:03 localhost pppd[399]: Connection terminated.
: Jul  8 21:16:03 localhost pppd[399]: Exit.

--
Clifford Kite <kite@inet%port.com>                    Not a guru. (tm)
/* Speak softly and carry a +6 two-handed sword. */





















A *pox* on my blasted newserver and it's incredibly stupid algorithm to
reduce redundancy in newsgroup postings!!!

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

From: Michael Steffens <[EMAIL PROTECTED]>
Subject: /etc/ppp/peers/... permission denied (?)
Date: Sun, 11 Jul 1999 14:13:06 +0200

Hi all,

I'm having trouble setting up a PPP configuration,
where non-root users can establish a PPP connection
to an ISP. (A very usual task :-)

But first for my actual setup:

  Debian-2.1 with some Potato updates
  kppp from KDE-1.1.1
  pppd-2.3.7 or pppd-2.3.8 (tried both)

According to the recommendations of pppd's manpage
the "noauth" option for the ISP is not set in
/etc/ppp/options but in /etc/ppp/peers/netsurf.

After a fresh install of pppd I find the following
ownerships and permissions set:

  drwxr-x---  5 root dip   /etc/ppp
  drwxr-s---  2 root dip   /etc/ppp/peers
  -rw-r-----  1 root dip   /etc/ppp/peers/netsurf

The permissions of pppd and kppp are:

  -rwsr-xr-x  1 root root  /usr/X11R6/bin/kppp
  -rwsr-x---  1 root dip   /usr/sbin/pppd

Note that they are both suid root.
When a normal user tries to open the connection
via kppp, he receives the famous "pppd died
unexpectedly" message after dialling out.
/var/log/ppp.log is more specific:

  Can't open options file /etc/ppp/peers/netsurf:
  Permission denied

I can "fix" this temporarily by opening the path to
the options file for all users:

  drwxr-xr-x  5 root dip   /etc/ppp
  drwxr-sr-x  2 root dip   /etc/ppp/peers
  -rw-r--r--  1 root dip   /etc/ppp/peers/netsurf

The user can then open the connection successfully.
However, some (yet unidentified) security script
doesn't like these settings and restores the
original ones now and then at boot time. And I guess
it's right in doing so :-)

My question is: How can pppd, despite its suid bit
being set, have difficulties in reading the provider
specific options file? How can this be fixed?

Thanks in advance!
Michael

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


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