gnome-ppp working only under root

M

Matesax

Guest
If I try detect modem under root:

Code:
GNOME PPP: STDOUT: Editing `/dev/null'.
GNOME PPP: STDOUT:
GNOME PPP: STDOUT: Scanning your serial ports for a modem.
GNOME PPP: STDOUT:
GNOME PPP: STDERR: ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
GNOME PPP: STDERR: ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
GNOME PPP: STDERR: ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
GNOME PPP: STDERR: Modem Port Scan<*1>: S1  S2  S3 
GNOME PPP: STDERR: ttyUSB0<*1>: ATQ0 V1 E1 -- OK
GNOME PPP: STDERR: ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK
GNOME PPP: STDERR: ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- OK
GNOME PPP: STDERR: ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
GNOME PPP: STDERR: ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
GNOME PPP: STDERR: ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
GNOME PPP: STDERR: ttyUSB0<*1>: Modem Identifier: ATI -- Manufacturer: QUALCOMM INCORPORATED
GNOME PPP: STDERR: ttyUSB0<*1>: Speed 9600: AT -- OK
GNOME PPP: STDERR: ttyUSB0<*1>: Max speed is 9600; that should be safe.
GNOME PPP: STDERR: ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
GNOME PPP: STDERR: ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
GNOME PPP: STDERR: ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
GNOME PPP: STDERR: ttyUSB1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
GNOME PPP: STDERR: ttyUSB2<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
GNOME PPP: STDERR: ttyUSB2<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
GNOME PPP: STDERR: ttyUSB2<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
GNOME PPP: STDOUT:
GNOME PPP: STDOUT: Found a modem on /dev/ttyUSB0.
GNOME PPP: STDOUT: Modem configuration written to /dev/null.
GNOME PPP: STDERR: ttyUSB0<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

And connection working. Under normal user:

Code:
GNOME PPP: STDOUT: Scanning your serial ports for a modem.
GNOME PPP: STDOUT:
GNOME PPP: STDERR: ttyS0<Info>: Device or resource busy
GNOME PPP: STDERR: Modem Port Scan<*1>: S0 
GNOME PPP: STDERR: ttyS1<Info>: Device or resource busy
GNOME PPP: STDERR: Modem Port Scan<*1>: S1 
GNOME PPP: STDERR: ttyS2<Info>: Device or resource busy
GNOME PPP: STDERR: Modem Port Scan<*1>: S2 
GNOME PPP: STDERR: ttyS3<Info>: Device or resource busy
GNOME PPP: STDERR: Modem Port Scan<*1>: S3 
GNOME PPP: STDERR: ttyUSB0<Info>: Device or resource busy
GNOME PPP: STDERR: Modem Port Scan<*1>: USB0
GNOME PPP: STDERR: ttyUSB1<Info>: Device or resource busy
GNOME PPP: STDERR: Modem Port Scan<*1>: USB1
GNOME PPP: STDERR: ttyUSB2<Info>: Device or resource busy
GNOME PPP: STDERR: Modem Port Scan<*1>: USB2
GNOME PPP: STDOUT:
GNOME PPP: STDOUT:
GNOME PPP: STDOUT: Sorry, no modem was detected!  Is it in use by another program?
GNOME PPP: STDOUT: Did you configure it properly with setserial?
GNOME PPP: STDOUT:
GNOME PPP: STDOUT: Please read the FAQ at http://alumnit.ca/wiki/?WvDial
GNOME PPP: Připojování...
GNOME PPP: STDERR: --> Ignoring malformed input line: ";Do NOT edit this file by hand!"
GNOME PPP: STDERR: --> WvDial: Internet dialer version 1.61
GNOME PPP: STDERR: --> Cannot open /dev/ttyUSB0: Device or resource busy
GNOME PPP: STDERR: --> Cannot open /dev/ttyUSB0: Device or resource busy
GNOME PPP: STDERR: --> Cannot open /dev/ttyUSB0: Device or resource busy

ttyS* ttyUSB* and normal user are in the uucp group... But connection is available only for root... How can I connect to internet as normal user?
 


You should use GTK PPP instead of dead GNOME PPP: gtk-ppp from sourceforge
 

Staff online

Members online


Top