Re: Installed kppp despite VoIP and played with [

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Wolfgang,

Your latest kppp run looks for /etc/kde4rc which it successfully finds.
Can you remove and then reinstall kppp ? Something looks weird.

Also from a root account would you be so kind as to:
# cp -R /home/junker/.kde .kde/
# chown -R root:root .kde/

Finally you have this environment varaiable set when kppp starts:
QT_PLUGIN_PATH=/home/junker/.kde"

Can you check your env ? On my side, I have:
[philippe@victor ~]$ env
XDG_VTNR=7
SSH_AGENT_PID=28418
XDG_SESSION_ID=103
HOSTNAME=victor.vouters.dyndns.org
SMTPMAIL_EDITOR=vi
IMSETTINGS_INTEGRATE_DESKTOP=yes
GLADE_PIXMAP_PATH=:
GPG_AGENT_INFO=/home/philippe/.gnupg/S.gpg-agent:28450:1
SHELL=/bin/bash
TERM=rxvt
XDG_MENU_PREFIX=xfce-
XDG_SESSION_COOKIE=3b8fec14ab09b90cf43b6e0045b02426-1331108004.379167-2124440545
HISTSIZE=1000
WISECONFIGDIR=/usr/share/wise2/
WINDOWID=37748742
GNOME_KEYRING_CONTROL=/tmp/keyring-f28Bqf
QTDIR=/usr/lib/qt-3.3
QTINC=/usr/lib/qt-3.3/include
IMSETTINGS_MODULE=none
USER=philippe
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35
:*.flv=01
;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:*.pdf=00;33:*.ps=00;33:*.ps.gz=00;33:*.txt=00;33:*.patch=00;33:*.diff=00;33:*.log=00;33:*.tex=00;33:*.xls=00;33:*.xlsx=00;33:*.ppt=00;33:*.pptx=00;33:*.rtf=00;33:*.doc=00;33:*.docx=00;33:*.odt=00;33:*.ods=00;33:*.odp=00;33:*.xml=00;33:*.epub=00;33:*.abw=00;33:*.html=00;33:*.wpd=00;33:
GLADE_MODULE_PATH=:
SSH_AUTH_SOCK=/tmp/ssh-zJFKhcw28280/agent.28280
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/28459,unix/unix:/tmp/.ICE-unix/28459
USERNAME=philippe
XDG_CONFIG_DIRS=/etc/xdg
PATH=/usr/lib/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/real/RealPlayer:/home/philippe/bin:/opt/real/RealPlayer:/home/philippe/bin
DESKTOP_SESSION=xfce
MAIL=/var/spool/mail/philippe
QT_IM_MODULE=xim
PWD=/home/philippe
XMODIFIERS=@im=none
GNOME_KEYRING_PID=28276
LANG=C
KDE_IS_PRELINKED=1
MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles
KDEDIRS=/usr
LOADEDMODULES=
GDMSESSION=xfce
HISTCONTROL=ignoredups
COLORFGBG=15;0
HOME=/home/philippe
XDG_SEAT=seat0
SHLVL=3
SIGNATURE=/home/philippe/Philippe.signature
GDL_PATH=+/usr/share/gnudatalanguage
LOGNAME=philippe
CVS_RSH=ssh
QTLIB=/usr/lib/qt-3.3/lib
XDG_DATA_DIRS=/usr/local/share:/usr/share
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-HnxK4qyRk5,guid=bfb1cf25d249353e3e7976960000c156
MODULESHOME=/usr/share/Modules
LESSOPEN=||/usr/bin/lesspipe.sh %s
WINDOWPATH=7
DISPLAY=:0.0
XDG_RUNTIME_DIR=/run/user/philippe
RUBYOPT=-rubygems
LIBGLADE_MODULE_PATH=:
GLADE_CATALOG_PATH=:
COLORTERM=rxvt-xpm
XAUTHORITY=/var/run/gdm/auth-for-philippe-bhR31s/database
module=() {  eval `/usr/bin/modulecmd bash $*`
}
_=/usr/bin/env


Philippe

Le 06/03/2012 23:44, Wolfgang Junker a écrit :
Dear Philippe,

unfortunately, things seem to be weird:

I had found your suggestion to put in /etc/sysconfig/network/config

NETCONFIG_DNS_POLICY="STATIC_FALLBACK ppp* NetworkManager"

also in the internet some days ago. Some people report success with the
following

NETCONFIG_DNS_POLICY="ppp* NetworkManager"

Both of these settings make my wvdial work, but none of them has made my
kppp work. Moreover, starting my computer today, kppp doesn't work as it
did yesterday: It says again "Modem ready" and then "Modem doesn't
answer", although I am doing kppp as su, the kppprc in
/root/.kde4/share/config is still there and I defined the variable
export $(dbus-launch), everything as yesterday.
So again I did the
strace -v -e trace=all -f -o kppp.log kppp
and append the kppp.log to this mail.

Yours sincerely
Wolfgang




On Tue, 6 Mar 2012, Philippe Vouters wrote:

Dear Wolfgang,

You ought to be able to check whether my reply on 06/03/2012 12:34 is
correct. It is recalled hereafter. For this test you do not need to
change ppp0 to ppp* in your /etc/sysconfig/network/config. Just start
up kppp without strace and the DNS settings failing:

Then you issue:

$ ifconfig -a

If ppp shows up different that ppp0, then I should be fully right.

Best,
Philippe

Le 06/03/2012 12:34, Philippe Vouters a écrit :
Dear Wolfgang,

If I summarize the URL link previously sent, you should have rather set:
NETCONFIG_DNS_POLICY="STATIC_FALLBACK ppp* NetworkManager"
instead of:
NETCONFIG_DNS_POLICY="STATIC_FALLBACK ppp0 NetworkManager"
in your /etc/sysconfig/network/config

This way both wvdial and kppp ought to correctly work with the
/etc/resolv.conf correctly set up.

Best regards,
Philippe

Le 05/03/2012 23:11, Wolfgang Junker a écrit :
Philippe,

here is the /var/log/messages-output:

Mar 5 23:08:16 linux pppd[12796]: pppd 2.4.5 started by root, uid 0
Mar 5 23:08:16 linux pppd[12796]: using channel 5
Mar 5 23:08:16 linux pppd[12796]: Using interface ppp0
Mar 5 23:08:16 linux pppd[12796]: Connect: ppp0 <--> /dev/536ep
Mar 5 23:08:16 linux pppd[12796]: sent [LCP ConfReq id=0x1 <asyncmap
0x0> <magic 0x95826dc4> <pcomp> <accomp>]
Mar 5 23:08:16 linux modem-manager: (net/ppp0): could not get port's
parent device
Mar 5 23:08:18 linux pppd[12796]: sent [LCP ConfReq id=0x1 <asyncmap
0x0> <magic 0x95826dc4> <pcomp> <accomp>]
Mar 5 23:08:18 linux pppd[12796]: rcvd [LCP ConfReq id=0x67 <asyncmap
0xa0000> <auth chap MD5> <magic 0xc8a76a1c> <pcomp> <accomp>]
Mar 5 23:08:18 linux pppd[12796]: sent [LCP ConfAck id=0x67 <asyncmap
0xa0000> <auth chap MD5> <magic 0xc8a76a1c> <pcomp> <accomp>]
Mar 5 23:08:18 linux pppd[12796]: rcvd [LCP ConfAck id=0x1 <asyncmap
0x0> <magic 0x95826dc4> <pcomp> <accomp>]
Mar 5 23:08:18 linux pppd[12796]: sent [LCP EchoReq id=0x0
magic=0x95826dc4]
Mar 5 23:08:18 linux pppd[12796]: rcvd [CHAP Challenge id=0xb6
<1d2280a6b1fb254acf434d2a01dfab90>, name = "dialoutuser"]
Mar 5 23:08:18 linux pppd[12796]: sent [CHAP Response id=0xb6
<b97bdbc4a82131f851883ac5303e226e>, name = "arcor"]
Mar 5 23:08:19 linux pppd[12796]: rcvd [LCP EchoRep id=0x0
magic=0xc8a76a1c]
Mar 5 23:08:19 linux pppd[12796]: rcvd [CHAP Success id=0xb6 ""]
Mar 5 23:08:19 linux pppd[12796]: CHAP authentication succeeded
Mar 5 23:08:19 linux pppd[12796]: CHAP authentication succeeded
Mar 5 23:08:19 linux pppd[12796]: sent [CCP ConfReq id=0x1 <deflate 15>
<deflate(old#) 15> <bsd v1 15>]
Mar 5 23:08:19 linux pppd[12796]: sent [IPCP ConfReq id=0x1
<compress VJ
0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
Mar 5 23:08:19 linux pppd[12796]: rcvd [IPCP ConfReq id=0x1 <addr
145.253.1.233>]
Mar 5 23:08:19 linux pppd[12796]: sent [IPCP ConfAck id=0x1 <addr
145.253.1.233>]
Mar 5 23:08:19 linux pppd[12796]: rcvd [LCP ProtRej id=0x1 80 fd 01 01
00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
Mar 5 23:08:19 linux pppd[12796]: Protocol-Reject for 'Compression
Control Protocol' (0x80fd) received
Mar 5 23:08:19 linux pppd[12796]: rcvd [IPCP ConfRej id=0x1
<compress VJ
0f 01>]
Mar 5 23:08:19 linux pppd[12796]: sent [IPCP ConfReq id=0x2 <addr
0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
Mar 5 23:08:19 linux pppd[12796]: rcvd [IPCP ConfNak id=0x2 <addr
145.254.253.231> <ms-dns1 195.50.140.248> <ms-dns2 145.253.2.203>]
Mar 5 23:08:19 linux pppd[12796]: sent [IPCP ConfReq id=0x3 <addr
145.254.253.231> <ms-dns1 195.50.140.248> <ms-dns2 145.253.2.203>]
Mar 5 23:08:19 linux pppd[12796]: rcvd [IPCP ConfAck id=0x3 <addr
145.254.253.231> <ms-dns1 195.50.140.248> <ms-dns2 145.253.2.203>]
Mar 5 23:08:19 linux pppd[12796]: local IP address 145.254.253.231
Mar 5 23:08:19 linux pppd[12796]: remote IP address 145.253.1.233
Mar 5 23:08:19 linux pppd[12796]: primary DNS address 195.50.140.248
Mar 5 23:08:19 linux pppd[12796]: secondary DNS address 145.253.2.203
Mar 5 23:08:19 linux pppd[12796]: Script /etc/ppp/ip-up started (pid
12802)
Mar 5 23:08:20 linux pppd[12796]: Script /etc/ppp/ip-up finished (pid
12802), status = 0x0
Mar 5 23:09:42 linux pppd[12796]: Terminating on signal 15
Mar 5 23:09:42 linux pppd[12796]: Connect time 1.4 minutes.
Mar 5 23:09:42 linux pppd[12796]: Sent 0 bytes, received 0 bytes.
Mar 5 23:09:42 linux pppd[12796]: Script /etc/ppp/ip-down started (pid
12953)
Mar 5 23:09:42 linux pppd[12796]: sent [LCP TermReq id=0x2 "User
request"]
Mar 5 23:09:43 linux pppd[12796]: Script /etc/ppp/ip-down finished (pid
12953), status = 0x0
Mar 5 23:09:44 linux pppd[12796]: sent [LCP TermReq id=0x3 "User
request"]
Mar 5 23:09:44 linux pppd[12796]: rcvd [LCP TermReq id=0x3 "User
request"]
Mar 5 23:09:44 linux pppd[12796]: sent [LCP TermAck id=0x3]
Mar 5 23:09:44 linux pppd[12796]: rcvd [LCP TermAck id=0x3]
Mar 5 23:09:44 linux pppd[12796]: Connection terminated.
Mar 5 23:09:44 linux avahi-daemon[1373]: Withdrawing workstation
service
for ppp0.
Mar 5 23:09:44 linux pppd[12796]: Exit.


Wolfgang



On Mon, 5 Mar 2012, Philippe Vouters wrote:

Dear Wolfgang,

The code correctly starts up if-up:
10346 execve("/etc/ppp/ip-up", ["/etc/ppp/ip-up", "ppp0",
"/dev/536ep", "57600", "212.144.133.153", "145.253.1.100"],
["ORIG_UID=0", "PPPLOGNAME=root", "DEVICE=/dev/536ep",
"PPPD_PID=10340", "SPEED=57600", "IFNAME=ppp0",
"IPLOCAL=212.144.133.153", "IPREMOTE=145.253.1.100",
"DNS1=195.50.140.248", "DNS2=145.253.2.203", "USEPEERDNS=1"]) = 0

It opens:
10357 open("/var/run/netconfig//ppp0/",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 5
which succeed

Then it activates:
10362 execve("/etc/netconfig.d//dns-resolver",
["/etc/netconfig.d//dns-resolver"], ["PPPD_PID=10340",
"PPPLOGNAME=root", "TERM=raw", "SPEED=57600",
"IPREMOTE=145.253.1.100", "IFNAME=ppp0", "DNS2=145.253.2.203",
"DNS1=195.50.140.248", "PWD=/", "SHLVL=2", "DEVICE=/dev/536ep",
"USEPEERDNS=1", "ORIG_UID=0", "IPLOCAL=212.144.133.153",
"_=/etc/netconfig.d//dns-resolver"]) = 0
With DNS1 and DNS2 which should be provided by your ISP.

Then it opens:
10362 open("/etc/sysconfig/network/config", O_RDONLY|O_LARGEFILE) = 5
10362 fstat64(5, {st_dev=makedev(253, 1), st_ino=272660,
st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=32, st_size=12830, st_atime=2012/03/05-17:08:31,
st_mtime=2012/02/29-23:32:58, st_ctime=2012/02/29-23:32:58}) = 0
which succeeds.

So the best place where to look is now /var/log/messages.

Before you run kppp from a root account, can you create a new terminal
and issue tail -f /var/log/messages and check what pppd says ?

Then rerun kppp normally (i.e.: without strace)

Philippe
Le 05/03/2012 22:32, Wolfgang Junker a écrit :
Philippe,

to put kppprc into /root/.kde4/share/config was really the right
point!
Having done this and trying $kppp as su it still crashes, but with
the
hint to first set

export $(dbus-launch).

So I did this (whatever it means...), and kppp runs under su *and*
under
user! It connects to my internet provider, but I don't get any
throughput, ping says

Network is unreachable

and ssh says

Could not resolve hostname

so this seems to be the old DNS-problem. I did again a
strace -v -e trace=all -f -o kppp.log kppp (this time as su)
and append the kppp.log (it is rather long, sorry for the spam to all
others...).

I can't try efax as a user, because it sits in my
root-directory... And
here the rights of my /dev/536ep0:

crw------- 1 root root 240, 1 5. Mär 20:05 536ep0

Wolfgang



On Mon, 5 Mar 2012, Philippe Vouters wrote:

Dear Wolfgang,

Now when executed as root, kppp attempts to open
/root/.kde4/share/config/kppprc and does not find it.
6841 stat64("/root/.kde4/share/config/kppprc", 0x8141d1c) = -1
ENOENT
(No such file or directory)
6841 lstat64("/root/.kde4/share/config/kppprc", 0xbfdfc170) = -1
ENOENT (No such file or directory)

You should really do the the following:

$ sudo mkdir /root/.kde4
$ sudo mkdir /root/.kde4/share
$ sudo mkdir /root/.kde4/share/config
$ sudo cp /home/junker/.kde4/share/config/kppprc
/root/.kde4/share/config/kppprc
Then from a root account:
# kppp
or from a user account:
$ sudo kppp
or identically from a user account:
$ su -c 'kppp'

Yours truly,
Philippe

Le 05/03/2012 20:34, Wolfgang Junker a écrit :
Dear Philippe,

this is right, I am doing kppp as user. For this I have changed the
rights of /usr/bin/kppp to

-rwsr-xr-x 1 root root 554352 22. Feb 2011 kppp

(This is how it worked for SUSE 10.3). If I do kppp as root, the
program
crashes rightaway. The "Permission denied" must somehow be an
artefact
of strace, I didn't get these messages before, and, as I said, I
did
already get an internet connection with kppp (up to the DNS-issue)
with
precisely the present configuration. E.g. the rights of /dev/modem
are
as follows:

lrwxrwxrwx 1 root root 10 5. Mär 20:05 modem -> /dev/536ep
crw-rw-rw- 1 root dialout 240, 1 5. Mär 20:05 536ep

I tried now the $strace -v -e trace=all -f -o kppp.log kppp
as root, but, as I said, the program crashes. I append the
kppp.log-file
which was created.

Wolfgang




On Mon, 5 Mar 2012, Philippe Vouters wrote:

Dear Wolfgang,

As far as it seems you start kppp from your user account and not
from
a root account. This explains why you get all these
/etc/ppp/chap-secrets* "Permission denied".

You have this:

[philippe@victor ~]$ grep /etc/ppp/chap-secrets kppp.log
12745 open("/etc/ppp/chap-secrets.new",
O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = -1 EACCES
(Permission
denied)
12745 unlink("/etc/ppp/chap-secrets.old") = -1 ENOENT (No such
file or
directory)
12745 rename("/etc/ppp/chap-secrets",
"/etc/ppp/chap-secrets.old") =
-1 EACCES (Permission denied)
12745 rename("/etc/ppp/chap-secrets.new",
"/etc/ppp/chap-secrets") =
-1 ENOENT (No such file or directory)
12745 access("/etc/ppp/chap-secrets.old", F_OK) = -1 ENOENT (No
such
file or directory)

Next you have:

12745 open("/dev/modem", O_RDWR|O_NOCTTY|O_NONBLOCK|O_LARGEFILE)
= -1
EACCES (Permission denied)
12745 write(2, "error opening modem device !\n", 29) = 29

Looks very strange if efax from a user account is able to open
/dev/modem ! Check for /dev/modem permissions. You might have
change
the /dev/modem permissions for hylafax operations.

On my Fedora 16 computer, I have:

[philippe@victor ~]$ ls /usr/bin/kppp
/usr/bin/kppp
[philippe@victor ~]$ ls -l /usr/bin/kppp
lrwxrwxrwx. 1 root root 13 Mar 5 04:29 /usr/bin/kppp ->
consolehelper
[philippe@victor ~]$ ls -l /usr/sbin/kppp
-rwxr-xr-x. 1 root root 749004 Dec 3 07:28 /usr/sbin/kppp

If, from my user account, I:
$ strace -v -e trace=all -f -o kppp.vouters.log /usr/sbin/kppp
I see on my screen first that I am not allowed to run pppd
unless it
the SUID bit (Capture 19:22:22.png)
Next a dialog to configure kppp (Capture 19:17:21.png).

In conclusion and under Fedora, the usual way is to call
/usr/bin/kppp
which activate a dialog prompting for root password (consolehelper
role), next activating /usr/sbin/kppp from a root context.

Your problem comes from you do not activate kppp from a root
context.
Hence all the permission denied.

Kind regards,
Philippe

Le 05/03/2012 18:47, Wolfgang Junker a écrit :
Dear Philippe,

my configuration file for kppp is .kde4/share/config/kppprc and
looks as
follows:

pppdArguments=

[Account0]
AccountingEnabled=0
AccountingFile=
Authentication=4
AutoDNS=1
AutoName=0
BeforeConnect=
BeforeDisconnect=
CallbackPhone=
CallbackType=0
Command=
DNS=145.253.2.11
DefaultRoute=0
DisconnectCommand=
Domain=
ExDNSDisabled=0
Gateway=0.0.0.0
IPAddr=0.0.0.0
Name=Arcor
Password=internet
Phonenumber=01920787
ScriptArguments=
ScriptCommands=
StorePassword=1
SubnetMask=0.0.0.0
Username=arcor
VolumeAccountingEnabled=0
pppdArguments=debug

[General]
DefaultAccount=Arcor
DefaultModem=Modem
NumberOfAccounts=1
NumberOfModems=1
PPPDebug=0
ShowLogWindow=1

[Graph]
Background=255,255,255
Enabled=true
InBytes=0,0,255
OutBytes=255,0,0
Text=0,0,0

[Modem0]
AnswerResponse=CONNECT
AnswerString=ATA
BusyResponse=BUSY
BusyWait=0
ConnectResponse=CONNECT
DLPResponse=DIGITAL LINE DETECTED
Device=/dev/modem
DialString=ATDT
Enter=CR/LF
EscapeGuardTime=50
EscapeResponse=OK
EscapeString=+++
FlowControl=Hardware [CRTSCTS]
HangUpResponse=OK
HangupString=+++ATH
InitDelay=50
InitResponse=OK
InitString=ATZ
InitString1=
Name=Modem
NoCarrierResponse=NO CARRIER
NoDialToneDetection=ATX3
NoDialToneResp=NO DIALTONE
PreInitDelay=50
RingResponse=RING
Speed=57600
Timeout=60
ToneDuration=70
UseLockFile=0
Volume=2
VolumeHigh=M1L3
VolumeMedium=M1L1
VolumeOff=M0L0
WaitForDialTone=1

[Modem1]
AnswerResponse=
AnswerString=
BusyResponse=
BusyWait=
ConnectResponse=
DLPResponse=
Device=
DialString=
Enter=
EscapeGuardTime=
EscapeResponse=
EscapeString=
FlowControl=
HangUpResponse=
HangupString=
InitDelay=
InitResponse=
InitString=
InitString1=
Name=
DLPResponse=
Device=
DialString=
Enter=
EscapeGuardTime=
EscapeResponse=
EscapeString=
FlowControl=
HangUpResponse=
HangupString=
InitDelay=
InitResponse=
InitString=
InitString1=
Name=
NoCarrierResponse=
NoDialToneDetection=
NoDialToneResp=
PreInitDelay=
RingResponse=
Speed=
Timeout=
ToneDuration=
UseLockFile=
Volume=
VolumeHigh=
VolumeMedium=
VolumeOff=
WaitForDialTone=

[WindowPosition]
WindowPositionConWinX=247
WindowPositionConWinY=0
WindowPositionStatWinX=567
WindowPositionStatWinY=0
.......................................................................





I append the result of $strace -v -e trace=all -f -o kppp.log
kppp
to this mail.

Sincerely
Wolfgang


On Mon, 5 Mar 2012, Philippe Vouters wrote:

Dear Jacques, Wolfgang,

I just downloaded the adequate RPM for Fedora 16 containing
kppp.
From
a root account, I ran strace over kppp. Because there are
numerous
open calls, I edited the file and searched for the "kppp"
string.

First kppp attempts to open /root/.kde/share/config/kppprc. From
this
it knows what it must do, therefore directly proposing for me a
connection my old tiscali provider. Next as I previously
specified
/dev/modem in this configuration, it opens /dev/modem and
tries to
connect. Because the modem is no longer connected to an analog
phone
line, kppp fails with a NO DIALTONE. So its sounds so far very
sane.

Yours truly,
Philippe

[root@victor ~]# cat /root/.kde/share/config/kppprc
[Account0]
AccountingEnabled=0
AccountingFile=
Authentication=4
AutoDNS=1
AutoName=0
BeforeConnect=
BeforeDisconnect=
CallbackPhone=
CallbackType=0
Command=
DNS=
DefaultRoute=1
DisconnectCommand=
Domain=
ExDNSDisabled=0
Gateway=0.0.0.0
IPAddr=0.0.0.0
Name=tiscali
Password=100556
Phonenumber=0860015555
ScriptArguments=
ScriptCommands=
StorePassword=1
SubnetMask=0.0.0.0
Username=pvou0030@xxxxxxxxxx
VolumeAccountingEnabled=0
pppdArguments=debug

[General]
DefaultAccount=tiscali
DefaultModem=536EP
NumberOfAccounts=1
NumberOfModems=1
PPPDebug=0
QuitOnDisconnect=1
ShowLogWindow=0
pppdTimeout=60

[Graph]
Background=255,255,255
Enabled=true
InBytes=0,0,255
OutBytes=255,0,0
Text=0,0,0

[Modem0]
AnswerResponse=CONNECT
AnswerString=ATA
BusyResponse=BUSY
BusyWait=52
ConnectResponse=CONNECT
DLPResponse=DIGITAL LINE DETECTED
Device=/dev/modem
DialString=ATDT
Enter=CR/LF
EscapeGuardTime=255
EscapeResponse=OK
EscapeString=+++
FlowControl=Hardware [CRTSCTS]
HangUpResponse=OK
HangupString=+++ATH
InitDelay=73
InitResponse=OK
InitString=AT&F E0 Q0 X4 S0=0 &D2 &C1 &S0 V1 W2
InitString1=AT+GCI=3D
Name=536EP
NoCarrierResponse=NO CARRIER
NoDialToneDetection=ATX3
NoDialToneResp=NO DIALTONE
PreInitDelay=53
RingResponse=RING
Speed=115200
Timeout=12
ToneDuration=36
UseLockFile=0
Volume=2
VolumeHigh=M1L3
VolumeMedium=M1L1
VolumeOff=M0L0
WaitForDialTone=1

[WindowPosition]
WindowPositionConWinX=5
WindowPositionConWinY=24
WindowPositionStatWinX=279
WindowPositionStatWinY=354

--
Philippe Vouters (Fontainebleau/France)
URL: http://vouters.dyndns.org/

--
Philippe Vouters (Fontainebleau/France)
URL: http://vouters.dyndns.org/


[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux