Re: xisp and kppp and gnome-ppp and ...

2000-06-22 Thread Martin Bialasinski
* Alberto == Alberto Meroni [EMAIL PROTECTED] wrote:

Alberto Here is the log file generated by plog. It seem that the
Alberto problem is with authentication,

Yes.

Alberto I noticed that as user caeyme I cannot read and execute
Alberto /etc/ppp. Maybe xisp shold be set user id ? 

pppd itself is setuid root. Or it should be.

$ ls -l /usr/sbin/pppd
-rwsr-x---1 root dip183504 Apr  4 09:52 /usr/sbin/pppd*

Furthermore, I don't think using pon and poff as the user would work in this 
case.

The /etc/ppp and /etc/ppp/peers directories should be readable by
group dip. pap-secrets is mode 600. Are you sure you selected pap
authentication in xisp?

Ciao,
Martin

PS: Your From address bounces.



Re: xisp and kppp and gnome-ppp and ...

2000-06-18 Thread Alberto Meroni
On Wed, Jun 14, 2000 at 09:21:25PM +0200, Martin Bialasinski wrote:
 * Alberto == Alberto Meroni [EMAIL PROTECTED] wrote:
 
 Alberto I added the user to the group dialout and dip and the user
 Alberto can log to the provider with pon and logout with poff but...
 
 OK, this is good. He should then also be able to use any other pppd
 frontend.
 
 Alberto He cannot read the log file fo a problem of permissions.  Is
 Alberto there a clean way to solve the situation?
 
 Any user in the adm group can read (all) logfiles (remember to relogin
 after adding the user to the group). For now, you can just su to root
 in a xterm.
 
 Alberto And if the same user tries to use xisp or kppp or gnome-ppp
 Alberto it does not work apparently pppd get a modem hangup. I
 Alberto installed the peer file and so on but I have no idea for the
 Alberto solution (of course I could do it as root but...)
 
 Well, first thing would be posting the relevant logfile parts.
 
 Start xisp as xisp -debug and try to connect. Then check the logs.
 Also mention what kind of connection this is (terminal login or direct 
 PPP or such).
 
 Ciao,
 Martin
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 
Here is the log file generated by plog. It seem that the problem is with 
authentication, I selected pap-secrets and my pap-secrets file contains
username and password for the connection. I noticed that as user caeyme
I cannot read and execute /etc/ppp. Maybe xisp shold be set user id ?
It is now 
-rwxr-xr-x   1 root root   240492 Oct 27  1998 /usr/bin/X11/xisp
Thak you very much.
Alberto Meroni
Jun 18 15:25:18 Mandrake pppd[32738]: pppd 2.3.5 started by caeyme, uid 1001
Jun 18 15:25:53 Mandrake pppd[32738]: Serial connection established.
Jun 18 15:25:54 Mandrake pppd[32738]: Using interface ppp0
Jun 18 15:25:54 Mandrake pppd[32738]: Connect: ppp0 -- /dev/ttyS0
Jun 18 15:25:54 Mandrake pppd[32738]: sent [LCP ConfReq id=0x1 asyncmap 0x0 
magic 0x4d3c16c9 pcomp accomp]
Jun 18 15:25:56 Mandrake pppd[32738]: rcvd [LCP ConfReq id=0x24 asyncmap 
0xa auth pap magic 0x391d68e8 pcomp accomp]
Jun 18 15:25:56 Mandrake pppd[32738]: sent [LCP ConfRej id=0x24 auth pap]
Jun 18 15:25:56 Mandrake pppd[32738]: rcvd [LCP ConfReq id=0x25 asyncmap 
0xa auth pap magic 0x391d68e8 pcomp accomp]
Jun 18 15:25:56 Mandrake pppd[32738]: sent [LCP ConfRej id=0x25 auth pap]
Jun 18 15:25:56 Mandrake pppd[32738]: rcvd [LCP ConfReq id=0x26 asyncmap 
0xa auth pap magic 0x391d68e8 pcomp accomp]
Jun 18 15:25:56 Mandrake pppd[32738]: sent [LCP ConfRej id=0x26 auth pap]
Jun 18 15:25:57 Mandrake pppd[32738]: rcvd [LCP ConfReq id=0x27 asyncmap 
0xa auth pap magic 0x391d68e8 pcomp accomp]
Jun 18 15:25:57 Mandrake pppd[32738]: sent [LCP ConfRej id=0x27 auth pap]
Jun 18 15:25:57 Mandrake pppd[32738]: rcvd [LCP ConfReq id=0x28 asyncmap 
0xa auth pap magic 0x391d68e8 pcomp accomp]
Jun 18 15:25:57 Mandrake pppd[32738]: sent [LCP ConfRej id=0x28 auth pap]
Jun 18 15:25:57 Mandrake pppd[32738]: sent [LCP ConfReq id=0x1 asyncmap 0x0 
magic 0x4d3c16c9 pcomp accomp]
Jun 18 15:25:57 Mandrake pppd[32738]: Hangup (SIGHUP)
Jun 18 15:25:57 Mandrake pppd[32738]: Modem hangup
Jun 18 15:25:57 Mandrake pppd[32738]: Connection terminated.
Jun 18 15:25:58 Mandrake pppd[32738]: Exit.


Re: xisp and kppp and gnome-ppp and ...

2000-06-14 Thread Martin Bialasinski
* Alberto == Alberto Meroni [EMAIL PROTECTED] wrote:

Alberto I added the user to the group dialout and dip and the user
Alberto can log to the provider with pon and logout with poff but...

OK, this is good. He should then also be able to use any other pppd
frontend.

Alberto He cannot read the log file fo a problem of permissions.  Is
Alberto there a clean way to solve the situation?

Any user in the adm group can read (all) logfiles (remember to relogin
after adding the user to the group). For now, you can just su to root
in a xterm.

Alberto And if the same user tries to use xisp or kppp or gnome-ppp
Alberto it does not work apparently pppd get a modem hangup. I
Alberto installed the peer file and so on but I have no idea for the
Alberto solution (of course I could do it as root but...)

Well, first thing would be posting the relevant logfile parts.

Start xisp as xisp -debug and try to connect. Then check the logs.
Also mention what kind of connection this is (terminal login or direct 
PPP or such).

Ciao,
Martin



xisp and kppp and gnome-ppp and ...

2000-06-12 Thread Alberto Meroni
I am trying to make these packages working for a non root user.
I added the user to the group dialout and dip and the user
can log to the provider with pon and logout with poff but...
He cannot read the log file fo a problem of permissions.
Is there a clean way to solve the situation?
And if the same user tries to use xisp or kppp or gnome-ppp
it does not work apparently pppd get a modem hangup. I installed
the peer file and so on but I have no idea for the solution
(of course I could do it as root but...)
Thank you very much
Alberto