PPP-server using Linux 1.2.13

PPP-server using Linux 1.2.13

Post by Van Schaik Willem Anthon Joha » Sun, 23 Mar 1997 04:00:00



Hi there,

I'm working on setting up a Linux based PPP server, to enable people
to dial-in and have access to the net. I'm using Linux 1.2.13 / Redhat
3.0.3 (Rembrandt). I see after login in the ppp account and after
starting pppd an AT on the next line and not a continuous (unreadable)
byteflow, as I think should be normal.

My /var/log/messages shows:
Mar 22 23:52:56 mht3 login: DIALUP ttyS1, ppp
Mar 22 23:52:56 mht3 pppd[27069]: pppd 2.1.2 started by ppp, uid 506
Mar 22 23:52:56 mht3 kernel: ppp: channel ppp0 mtu = 1500, mru = 1500
Mar 22 23:52:56 mht3 kernel: ppp: channel ppp0 open
Mar 22 23:52:56 mht3 kernel: ppp: channel ppp0 closing.
Mar 22 23:52:56 mht3 pppd[27069]: ioctl(PPPIOCSINPSIG): Operation not permitted
Mar 22 23:52:56 mht3 pppd[27069]: ioctl(PPPIOCGDEBUG): Operation not permitted
Mar 22 23:52:56 mht3 pppd[27069]: Exit.

So for me it looks that the kernel has ppp compiled in, and that pppd does
start up. But what are those ioctl problems?

Who recognizes this (probably from his/her own wrestling) and can shine
some light on it.

Thanks for your help,
Willem


 
 
 

PPP-server using Linux 1.2.13

Post by B.A.McCau.. » Wed, 26 Mar 1997 04:00:00



Quote:

>I'm working on setting up a Linux based PPP server, to enable people
>to dial-in and have access to the net. I'm using Linux 1.2.13 / Redhat
>3.0.3 (Rembrandt). I see after login in the ppp account and after
>starting pppd an AT on the next line and not a continuous (unreadable)
>byteflow, as I think should be normal.

This means you have a modem chat connect script specified in the ppp options.
Obviously you don't want this on a server.

--

 .  _\\__[oo       from       | Phones: +44 121 471 3789 (home)

.  l___\\    /~~) /~~[  /   [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
 # ll  l\\  ~~~~ ~   ~ ~    ~ | http://wcl-l.bham.ac.uk/~bam/


 
 
 

PPP-server using Linux 1.2.13

Post by Allan Jens » Wed, 26 Mar 1997 04:00:00




Quote:>Mar 22 23:52:56 mht3 pppd[27069]: ioctl(PPPIOCSINPSIG): Operation not permitted
>Mar 22 23:52:56 mht3 pppd[27069]: ioctl(PPPIOCGDEBUG): Operation not permitted
>Mar 22 23:52:56 mht3 pppd[27069]: Exit.

>So for me it looks that the kernel has ppp compiled in, and that pppd does
>start up. But what are those ioctl problems?

As far as I rememember, it's because pppd does not have permissions to
switch the modem to IP traffic.
You must grant the PPP user access to the modem by, for instance,
chown'ing the /dev/modem (or whatever :-) to group modem, and make
the user account which you use to log PPP in with, a member of the
same group.

Quote:>Who recognizes this (probably from his/her own wrestling) and can shine
>some light on it.

Believe me, I had a *LOT* of 'fun' trying to figure the same thing
out!

---------------------------------------------------------------
Allan Jensen                            Call Center Europe A/S
Systems Programmer                      Ellegaardvej 23A

Web:   http://www.callcentereurope.dk        Phone: +45 74 18 18 18
                                        FAX:   +45 74 18 18 19
---------------------------------------------------------------

 
 
 

1. strange problems 1.2.13 --> 2.0.0 --> 1.2.13

Hi,

I have some strange problems with the new kernel source tree...

after the installation of the new sysvinit-2.62 the linux-2.0.0 kernel
complains sh:/bin/bash cannot execute...
with 1.99.7 this works fine
and at least I'm totally unable to recompile the 1.2.13 source tree due
some strange asm errors in main occurring in asm/io.h referenced by
bugs.h  (also within the asm tree). Of course I checked the appropriate
links to for the linux source tree /usr/include/linux
                                                asm

Please help....
 Michael

-------------------------------------------------------------------------------
        Michael Rietz                   |       Office: 13

        Werner Heisenberg Institut      |       phone:+49-(0)89-32354-242,
        Foehringer Ring 6               |                             415,411
        D-80805 Muenchen                |       fax:    +49 (0)89 3226704
                                        |
                            is there anybody OUT there...
-------------------------------------------------------------------------------

2. Jserv caching woes

3. Compiling ppp-2.2.0c using gcc 2.7.0 (aout) and kernel 1.2.13

4. Secure network-backup via nfs?

5. How to make my Kernel 1.2.13 to support ISDN for the PPP/Slip server ?

6. TP760 CD and ethercard not found

7. How to make the kernel 1.2.13 to support ISDN for the PPP/Slip server ?

8. PPP on SunOS 4.1.3 / Solaris 2.4

9. PPP 2.2.0e + Linux 1.2.13

10. PPP on Linux 1.2.13 Can dial up but then it's over

11. Hanging file transfers (ppp,linux 1.2.13)

12. ppp-2.2.0e / linux 1.2.13

13. Linux 1.2.13 and PPP 2.2.0c