Re: still can't start ppp, even as root

1998-05-21 Thread Jens B. Jorgensen
Hamish Moffatt wrote:

> On Thu, May 21, 1998 at 02:28:57PM -0400, [EMAIL PROTECTED] wrote:
> > I modified the ppp.chatscript and ppp.options_out files along with
> > chap-secrets to reflect my ISP.  Since I want to use my COM2 port to
> > connect to the modem I created a symbolic link from /dev/modem->/dev/ttys1.
> > Now when logged in as root I issue pon I still get the message this kernel
> > does not have PPP support.  In compiling the kernel I built the PPP support
> > in, IE: it is NOT a module.  The kernel source came from 2.0.33-7.deb
> > (which added some tcp/ip fixes for teardrop attack and also the FAT32
> > patches, I got this from the hamm area on the FTP server, but built it
> > under 1.3.1 r6)  It was mentioned that pppd has to be setuid root.  How to
> > do this?  Setuid is a system call not a command?
>
> /dev/ttys1 is NOT a serial port, it is a virtual terminal. When you ask

/dev/ttys1 is NOT a virtual terminal, it is a pseudo terminal (just so nobody
gets confused)

> ppp to run on a virtual terminal, it tells you the kernel does not have
> PPP support, which isn't helpful at all but that's the way it is.
>
> You want /dev/ttyS1, which IS a serial port.
>
> Hamish
> --
> Hamish Moffatt, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
> Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
> CCs of replies from mailing lists are welcome.   http://hamish.home.ml.org
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



--
Jens B. Jorgensen
[EMAIL PROTECTED]



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: still can't start ppp, even as root

1998-05-21 Thread Hamish Moffatt
On Thu, May 21, 1998 at 03:05:24PM -0700, The Gecko wrote:
> On 21-May-98 Shaleh wrote:
> > Check the permissions on the /dev/tty device.  This is a LARGE cause of
> > the "ppp support" error.  You can also try making your own kernel.  PPP
> > is installed setuid so unless you changed anything it should be done. 
> > setuid means that the bit is set so that when a program is started it
> > sets its uid (who runs it) to the user who owns it.  So if it is a root
> > setuid app it is owned by root and had permission like srwxr-xr-x <--
> > the 's' indicates setuid.
> I know this is just a type but it needs to be cleared...
> 
> setuid is -rwsr-xr-x   

Of course, probably a bigger problem is that it was the wrong port,
rather than wrong permissions on pppd.


Hamish
-- 
Hamish Moffatt, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome.   http://hamish.home.ml.org


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: still can't start ppp, even as root

1998-05-21 Thread Hamish Moffatt
On Thu, May 21, 1998 at 02:28:57PM -0400, [EMAIL PROTECTED] wrote:
> I modified the ppp.chatscript and ppp.options_out files along with
> chap-secrets to reflect my ISP.  Since I want to use my COM2 port to
> connect to the modem I created a symbolic link from /dev/modem->/dev/ttys1.
> Now when logged in as root I issue pon I still get the message this kernel
> does not have PPP support.  In compiling the kernel I built the PPP support
> in, IE: it is NOT a module.  The kernel source came from 2.0.33-7.deb
> (which added some tcp/ip fixes for teardrop attack and also the FAT32
> patches, I got this from the hamm area on the FTP server, but built it
> under 1.3.1 r6)  It was mentioned that pppd has to be setuid root.  How to
> do this?  Setuid is a system call not a command?

/dev/ttys1 is NOT a serial port, it is a virtual terminal. When you ask
ppp to run on a virtual terminal, it tells you the kernel does not have
PPP support, which isn't helpful at all but that's the way it is.

You want /dev/ttyS1, which IS a serial port.


Hamish
-- 
Hamish Moffatt, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome.   http://hamish.home.ml.org


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: still can't start ppp, even as root

1998-05-21 Thread The Gecko

On 21-May-98 Shaleh wrote:
> Check the permissions on the /dev/tty device.  This is a LARGE cause of
> the "ppp support" error.  You can also try making your own kernel.  PPP
> is installed setuid so unless you changed anything it should be done. 
> setuid means that the bit is set so that when a program is started it
> sets its uid (who runs it) to the user who owns it.  So if it is a root
> setuid app it is owned by root and had permission like srwxr-xr-x <--
> the 's' indicates setuid.
I know this is just a type but it needs to be cleared...

setuid is -rwsr-xr-x   

--
http://benham.net/index.html
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCS d+(-) s:+ a29 C++$ UL++> P+++$ L++> E? W+++$ N+(-) o? K- w+++$(--)
O M-- V- PS-- PE++ Y++ PGP++ t+ 5 X R+ !tv b
 DI+++ D++ G++>G+++ e h+ r* y+
--END GEEK CODE BLOCK--
--


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


RE: still can't start ppp, even as root

1998-05-21 Thread The Gecko
Have you looked at /var/log/messages to see that ppp is actually initialized..??
On 21-May-98 [EMAIL PROTECTED] wrote:
> I modified the ppp.chatscript and ppp.options_out files along with
> chap-secrets to reflect my ISP.  Since I want to use my COM2 port to
> connect to the modem I created a symbolic link from /dev/modem->/dev/ttys1.
> Now when logged in as root I issue pon I still get the message this kernel
> does not have PPP support.  In compiling the kernel I built the PPP support
> in, IE: it is NOT a module.  The kernel source came from 2.0.33-7.deb
> (which added some tcp/ip fixes for teardrop attack and also the FAT32
> patches, I got this from the hamm area on the FTP server, but built it
> under 1.3.1 r6)  It was mentioned that pppd has to be setuid root.  How to
> do this?  Setuid is a system call not a command?

--
http://benham.net/index.html
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCS d+(-) s:+ a29 C++$ UL++> P+++$ L++> E? W+++$ N+(-) o? K- w+++$(--)
O M-- V- PS-- PE++ Y++ PGP++ t+ 5 X R+ !tv b
 DI+++ D++ G++>G+++ e h+ r* y+
--END GEEK CODE BLOCK--
--


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: still can't start ppp, even as root

1998-05-21 Thread Shaleh
Check the permissions on the /dev/tty device.  This is a LARGE cause of
the "ppp support" error.  You can also try making your own kernel.  PPP
is installed setuid so unless you changed anything it should be done. 
setuid means that the bit is set so that when a program is started it
sets its uid (who runs it) to the user who owns it.  So if it is a root
setuid app it is owned by root and had permission like srwxr-xr-x <--
the 's' indicates setuid.

[EMAIL PROTECTED] wrote:
> 
> I modified the ppp.chatscript and ppp.options_out files along with
> chap-secrets to reflect my ISP.  Since I want to use my COM2 port to
> connect to the modem I created a symbolic link from /dev/modem->/dev/ttys1.
> Now when logged in as root I issue pon I still get the message this kernel
> does not have PPP support.  In compiling the kernel I built the PPP support
> in, IE: it is NOT a module.  The kernel source came from 2.0.33-7.deb
> (which added some tcp/ip fixes for teardrop attack and also the FAT32
> patches, I got this from the hamm area on the FTP server, but built it
> under 1.3.1 r6)  It was mentioned that pppd has to be setuid root.  How to
> do this?  Setuid is a system call not a command?
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
---
How can you see, when your mind is not open?
How can you think, when your eyes are closed?
- Jason Bonham Band, "Ordinary Black and White"
---


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


still can't start ppp, even as root

1998-05-21 Thread Kenneth . Scharf
I modified the ppp.chatscript and ppp.options_out files along with
chap-secrets to reflect my ISP.  Since I want to use my COM2 port to
connect to the modem I created a symbolic link from /dev/modem->/dev/ttys1.
Now when logged in as root I issue pon I still get the message this kernel
does not have PPP support.  In compiling the kernel I built the PPP support
in, IE: it is NOT a module.  The kernel source came from 2.0.33-7.deb
(which added some tcp/ip fixes for teardrop attack and also the FAT32
patches, I got this from the hamm area on the FTP server, but built it
under 1.3.1 r6)  It was mentioned that pppd has to be setuid root.  How to
do this?  Setuid is a system call not a command?



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]