Re: pppoe running as user?

2001-01-30 Thread A+B Frank
reiner wrote:
 
[snip]
 
 Here are the relevant output from ppp.log again:
 
 snip
 Jan 26 18:56:12 nathan pppd[10027]: Using interface ppp0
 Jan 26 18:56:12 nathan pppd[10027]: Connect: ppp0 -- /dev/pts/3
 Jan 26 18:56:12 nathan pppd[10027]: sent [LCP ConfReq id=0x1 mru 2400
 asyncmap 0x0 magic 0x616b5262 pcomp accomp]
 Jan 26 18:56:12 nathan pppd[10027]: write: warning: Input/output error
 (5)
 snip
 
 What is the reason for the warning message in the last line?
 
 greetings
 
 Reiner Stallknecht
 
 
Hi,
I don't know the reason for this warning. At my box I had the same
problems
with pppoe (from woody) too until I upgraded from potato to woody with
kernel 2.2.18pre21 --- the kernel 2.4.0test11 didn't start up correctly. 
Now all programs run perfectly.

Regards
Albrecht



Re: pppoe running as user?

2001-01-29 Thread reiner
A+B Frank wrote:


 Hi,
 I've got a question: which release of pppoe are you running?
 In my box runs 1.7.1 from woody and its started and stopped
 via /etc/init.d/pppoe by root. It's actually running as root.

 greetings
 Albrecht

pppoe -V shows this:

Roaring Penguin PPPoE Version 1.7

Here are the relevant output from ppp.log again:

snip
Jan 26 18:56:12 nathan pppd[10027]: Using interface ppp0
Jan 26 18:56:12 nathan pppd[10027]: Connect: ppp0 -- /dev/pts/3
Jan 26 18:56:12 nathan pppd[10027]: sent [LCP ConfReq id=0x1 mru 2400
asyncmap 0x0 magic 0x616b5262 pcomp accomp]
Jan 26 18:56:12 nathan pppd[10027]: write: warning: Input/output error
(5)
snip

What is the reason for the warning message in the last line?



greetings

Reiner Stallknecht





Re: pppoe running as user?

2001-01-28 Thread A+B Frank
reiner wrote:
 
 Hi all,
 
 Today i got my brand new ADSL-Toy :-)
 It works fast and without problems so far, but only root can start the
 connection
 via pon dsl (renamend dsl-provider to dsl).
 
 Kernel 2.2.18; Debian unstable; pppoe user space
 
 I get the following in var/log/ppp.log as root:
[snip]

Hi,
I've got a question: which release of pppoe are you running?
In my box runs 1.7.1 from woody and its started and stopped
via /etc/init.d/pppoe by root. It's actually running as root.

greetings
Albrecht



pppoe running as user?

2001-01-26 Thread reiner
Hi all,

Today i got my brand new ADSL-Toy :-)
It works fast and without problems so far, but only root can start the
connection
via pon dsl (renamend dsl-provider to dsl).

Kernel 2.2.18; Debian unstable; pppoe user space

I get the following in var/log/ppp.log as root:

Jan 26 17:37:39 nathan pppd[9713]: pppd 2.4.0 started by root, uid 0
Jan 26 17:37:39 nathan pppd[9713]: Using interface ppp0
Jan 26 17:37:39 nathan pppd[9713]: Connect: ppp0 -- /dev/pts/2

snip

Jan 26 17:41:43 nathan pppd[9713]: Terminating on signal 15.
Jan 26 17:41:43 nathan pppd[9713]: Modem hangup
Jan 26 17:41:43 nathan pppd[9713]: Connection terminated.
Jan 26 17:41:43 nathan pppd[9713]: Child process pppoe -I eth0 -T 80
(pid 9714) terminated with signal 15
Jan 26 17:41:43 nathan pppd[9713]: Connect time 4.1 minutes.
Jan 26 17:41:43 nathan pppd[9713]: Sent 2885 bytes, received 3311 bytes.

Jan 26 17:41:43 nathan pppd[9713]: Exit.

this is ok


and this as debianuser:

Jan 26 17:41:51 nathan pppd[9751]: pppd 2.4.0 started by debianuser, uid
1003
Jan 26 17:41:51 nathan pppd[9751]: Using interface ppp0
Jan 26 17:41:51 nathan pppd[9751]: Connect: ppp0 -- /dev/pts/2
Jan 26 17:41:51 nathan pppd[9751]: write: warning: Input/output error
(5)
Jan 26 17:41:51 nathan pppd[9751]: Modem hangup
Jan 26 17:41:51 nathan pppd[9751]: Connection terminated.
Jan 26 17:41:51 nathan pppd[9751]: Using interface ppp0
Jan 26 17:41:51 nathan pppd[9751]: Connect: ppp0 -- /dev/pts/2
Jan 26 17:41:51 nathan pppd[9751]: Modem hangup
Jan 26 17:41:51 nathan pppd[9751]: Connection terminated.
Jan 26 17:41:51 nathan pppd[9751]: Using interface ppp0
Jan 26 17:41:51 nathan pppd[9751]: Connect: ppp0 -- /dev/pts/2
Jan 26 17:41:51 nathan pppd[9751]: Modem hangup
Jan 26 17:41:51 nathan pppd[9751]: Connection terminated.
Jan 26 17:41:51 nathan pppd[9751]: Using interface ppp0
Jan 26 17:41:51 nathan pppd[9751]: Connect: ppp0 -- /dev/pts/2
Jan 26 17:41:51 nathan pppd[9751]: Modem hangup
Jan 26 17:41:51 nathan pppd[9751]: Connection terminated.
Jan 26 17:41:51 nathan pppd[9751]: Using interface ppp0
Jan 26 17:41:51 nathan pppd[9751]: Connect: ppp0 -- /dev/pts/2
Jan 26 17:41:51 nathan pppd[9751]: write: warning: Input/output error
(5)
Jan 26 17:41:51 nathan pppd[9751]: Modem hangup
Jan 26 17:41:51 nathan pppd[9751]: Connection terminated.
Jan 26 17:41:51 nathan pppd[9751]: Using interface ppp0
Jan 26 17:41:51 nathan pppd[9751]: Connect: ppp0 -- /dev/pts/2
Jan 26 17:41:51 nathan pppd[9751]: write: warning: Input/output error
(5)
Jan 26 17:41:51 nathan pppd[9751]: Modem hangup
Jan 26 17:41:51 nathan pppd[9751]: Connection terminated.
Jan 26 17:41:51 nathan pppd[9751]: Using interface ppp0
Jan 26 17:41:51 nathan pppd[9751]: Connect: ppp0 -- /dev/pts/2
Jan 26 17:41:51 nathan pppd[9751]: Modem hangup
Jan 26 17:41:51 nathan pppd[9751]: Connection terminated.
Jan 26 17:41:51 nathan pppd[9751]: Using interface ppp0
Jan 26 17:41:51 nathan pppd[9751]: Connect: ppp0 -- /dev/pts/2
Jan 26 17:41:51 nathan pppd[9751]: write: warning: Input/output error
(5)
Jan 26 17:41:51 nathan pppd[9751]: Modem hangup
Jan 26 17:41:51 nathan pppd[9751]: Connection terminated.
Jan 26 17:41:51 nathan pppd[9751]: Using interface ppp0
Jan 26 17:41:51 nathan pppd[9751]: Connect: ppp0 -- /dev/pts/2
Jan 26 17:41:51 nathan pppd[9751]: write: warning: Input/output error
(5)
Jan 26 17:41:51 nathan pppd[9751]: Modem hangup
Jan 26 17:41:51 nathan pppd[9751]: Connection terminated.
Jan 26 17:41:51 nathan pppd[9751]: Using interface ppp0
Jan 26 17:41:51 nathan pppd[9751]: Connect: ppp0 -- /dev/pts/2
Jan 26 17:41:51 nathan pppd[9751]: write: warning: Input/output error
(5)
Jan 26 17:41:51 nathan pppd[9751]: Modem hangup
Jan 26 17:41:51 nathan pppd[9751]: Connection terminated.
Jan 26 17:41:51 nathan pppd[9751]: Exit.

and with debug:

snip
Jan 26 18:56:12 nathan pppd[10027]: Using interface ppp0
Jan 26 18:56:12 nathan pppd[10027]: Connect: ppp0 -- /dev/pts/3
Jan 26 18:56:12 nathan pppd[10027]: sent [LCP ConfReq id=0x1 mru 2400
asyncmap 0x0 magic 0x616b5262 pcomp accomp]
Jan 26 18:56:12 nathan pppd[10027]: write: warning: Input/output error
(5)
Jan 26 18:56:12 nathan pppd[10027]: Modem hangup
Jan 26 18:56:12 nathan pppd[10027]: Connection terminated.
Jan 26 18:56:12 nathan pppd[10027]: Script pppoe -I eth0 -T 80 finished
(pid 10028), status = 0x7f00
Jan 26 18:56:12 nathan pppd[10027]: Using interface ppp0
Jan 26 18:56:12 nathan pppd[10027]: Connect: ppp0 -- /dev/pts/3
Jan 26 18:56:12 nathan pppd[10027]: sent [LCP ConfReq id=0x2 mru 2400
asyncmap 0x0 magic 0xcf630c71 pcomp accomp]
Jan 26 18:56:12 nathan pppd[10027]: Modem hangup
Jan 26 18:56:12 nathan pppd[10027]: Connection terminated.
Jan 26 18:56:12 nathan pppd[10027]: Script pppoe -I eth0 -T 80 finished
(pid 10029), status = 0x7f00
Jan 26 18:56:12 nathan pppd[10027]: Using interface ppp0
Jan 26 18:56:12 nathan pppd[10027]: Connect: ppp0 -- /dev/pts/3
Jan 26 18:56:12 nathan pppd[10027]: sent [LCP ConfReq id=0x3 mru 2400
asyncmap 0x0 magic 0x7704a0b pcomp accomp]
Jan 26