Networking Forums

Networking Forums > Computer Networking > Linux Networking > ISP connexion kppp ppp pppd

Reply
Thread Tools Display Modes

ISP connexion kppp ppp pppd

 
 
Philippe ROUBACH
Guest
Posts: n/a

 
      02-11-2004, 09:09 AM
Hello

1.When i connect to internet with kppp i have this result :

- dialing works
- modem negociation works(V90,V44,LAPM,49333)
- then there is no more exchange and there is no login dialog.
- finally i have a ppd error "...signal 15"
- under Windows 98 SE , mdk 9.0 and 9.1 that worked fine
-WVDIAL does not work also

2. My config : Mandrake 9.2

- Mandrake 9.2(kernel 2.4.22.10 or 2.4.22.26)
- a OLITEC Speedcom V92 Ready (serial db9) modem
- a BELKIN adapter serial-usb F5U103F
- my modem is connected to the PC via the adapter
- the link /dev/ttyUSB0(generated by the OS) is used by kppp
- All parameters have default value
- all necessary modules are installed usbcore,usbserial,belkin_sa etc
- hardrake2 does not see the Belkin adapter but it is installed(that were
the case under 9.0 and 9.1)
- usbview see the Belkin adapter and the hotplug and hot unplug work fine

3. The log files :
3.1 lsmod result

++++++++++++++++++++++++++++++++++++++++++++++
Module Size Used by Not tainted
udf 88736 0 (autoclean)
lp 8160 0 (autoclean) (unused)
parport 34472 0 (autoclean) [lp]
i810 61436 12
agpgart 48292 7 (autoclean)
i810_audio 25692 0 (unused)
ac97_codec 15828 0 [i810_audio]
soundcore 6340 0 [i810_audio]
af_packet 14856 0 (autoclean)
sr_mod 19384 0 (autoclean)
floppy 55932 0
mod_quickcam 102912 0
videodev 7936 1 [mod_quickcam]
usbmouse 2936 0 (unused)
keybdev 2756 0 (unused)
mousedev 5428 1
hid 24164 0 (unused)
usbkbd 4472 0 (unused)
input 5696 0 [usbmouse keybdev mousedev hid usbkbd]
belkin_sa 6680 0 (unused)
usbserial 21724 0 [belkin_sa]
nls_iso8859-15 4060 1 (autoclean)
nls_cp850 4284 1 (autoclean)
vfat 11820 1 (autoclean)
fat 38040 0 (autoclean) [vfat]
supermount 84032 2 (autoclean)
ide-cd 33956 0
cdrom 32608 0 [sr_mod ide-cd]
ide-scsi 11376 0
scsi_mod 106176 2 [sr_mod ide-scsi]
printer 8576 1
usb-uhci 25136 0 (unused)
usbcore 74988 1 [mod_quickcam usbmouse hid usbkbd
belkin_sa usbserial printer usb-uhci]
rtc 9004 0 (autoclean)
ext3 60048 2
jbd 39264 2 [ext3]

++++++++++++++++++++++++++++++++++++++++++++++++++ ++

3.2 pppd logfile

++++++++++++++++++++++++++++++++++++++++++++++++++ ++
Nov 4 13:36:49 localhost pppd[2145]: pppd 2.4.1 started by root, uid 0
Nov 4 13:37:18 localhost pppd[2145]: Terminating on signal 15.
Nov 4 13:37:18 localhost pppd[2145]: Couldn't set tty to PPP discipline:
Interrupted system call
Nov 4 13:37:18 localhost pppd[2145]: tcsetattr: No such device
Nov 4 13:37:18 localhost pppd[2145]: Exit.
++++++++++++++++++++++++++++++++++++++++++++++++++ ++

3.3 Console file

the messages sent to the console during the connexion
-see the STRANGE MESSAGES "Couldn't find interface ppp0: No such device" and
"insmod ppp0 failed"

++++++++++++++++++++++++++++++++++++++++++++++++++ ++
[root@localhost root]# kppp
Loading required GL library /usr/X11R6/lib/libGL.so.1.2
Opener: received SetSecret
Opener: received SetSecret
Opener: received OpenLock

Opener: received OpenDevice
Opener: received ExecPPPDaemon
In parent: pppd pid 2237
Couldn't find interface ppp0: No such device
Kernel supports ppp alright.
Couldn't find interface ppp0: No such device
----------------------------------------------------------------------------
-
Couldn't find interface ppp0: No such device
----------------------------------------------------------------------------
--
--------------------cut by me (it is very long)
Couldn't find interface ppp0: No such device
Opener: received KillPPPDaemon
In killpppd(): Sending SIGTERM to 2237
It was pppd that died
pppd exited with return value 1
Sending 2193 a SIGUSR1
Opener: received RemoveSecret
Opener: received RemoveSecret
Opener: received OpenResolv
Opener: received OpenResolv
Opener: received RemoveLock
Opener: received OpenSysLog
Jan 19 18:06:54 localhost kernel: CSLIP: code copyright 1989 Regents of the
University of California
Jan 19 18:06:54 localhost insmod: insmod: a module named slhc already exists
----------------------------------------------------------------------------
---
Jan 19 18:06:54 localhost modprobe: modprobe: insmod ppp0 failed
----------------------------------------------------------------------------
---
Jan 19 18:06:54 localhost kernel: PPP generic driver version 2.4.2
Jan 19 18:06:54 localhost pppd[2237]: pppd 2.4.1 started by root, uid 0
Jan 19 18:07:24 localhost pppd[2237]: Terminating on signal 15.
Jan 19 18:07:24 localhost pppd[2237]: Couldn't set tty to PPP discipline:
Interrupted system call
Jan 19 18:07:24 localhost pppd[2237]: tcsetattr: No such device
Jan 19 18:07:24 localhost pppd[2237]: Exit.
++++++++++++++++++++++++++++++++++++++++++++++++++ ++

If anyone has an idea i would appreciate.

Thanks

Philippe




 
Reply With Quote
 
 
 
 
Clifford Kite
Guest
Posts: n/a

 
      02-11-2004, 01:38 PM
Philippe ROUBACH <(E-Mail Removed)> wrote:

> 1.When i connect to internet with kppp i have this result :


> - dialing works
> - modem negociation works(V90,V44,LAPM,49333)
> - then there is no more exchange and there is no login dialog.
> - finally i have a ppd error "...signal 15"
> - under Windows 98 SE , mdk 9.0 and 9.1 that worked fine
> -WVDIAL does not work also


....

> ++++++++++++++++++++++++++++++++++++++++++++++++++ ++
> Nov 4 13:36:49 localhost pppd[2145]: pppd 2.4.1 started by root, uid 0
> Nov 4 13:37:18 localhost pppd[2145]: Terminating on signal 15.
> Nov 4 13:37:18 localhost pppd[2145]: Couldn't set tty to PPP discipline:
> Interrupted system call
> Nov 4 13:37:18 localhost pppd[2145]: tcsetattr: No such device
> Nov 4 13:37:18 localhost pppd[2145]: Exit.
> ++++++++++++++++++++++++++++++++++++++++++++++++++ ++


> 3.3 Console file


> the messages sent to the console during the connexion
> -see the STRANGE MESSAGES "Couldn't find interface ppp0: No such device" and
> "insmod ppp0 failed"


My *guess* is that the kernel module ppp.o is missing.

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
 
Reply With Quote
 
Philippe ROUBACH
Guest
Posts: n/a

 
      02-15-2004, 03:50 PM
Thank you for your answer.
As you see in the new lsmod log below the modules ppp_sync and ppp_generic
are present.
One of them replaces the module ppp ?
Then the problem is somewhere else isn'it ?

Philippe

++++++++++++++++++++++++++++++++++++++++++++++++++ ++++
Module Size Used by Not tainted
lp 8160 0 (autoclean) (unused)
parport 34472 0 (autoclean) [lp]
i810 61436 12
agpgart 53508 7 (autoclean)
i810_audio 25788 0 (unused)
ac97_codec 15828 0 [i810_audio]
soundcore 6340 0 [i810_audio]
ppp_async 9312 0 (unused)
ppp_generic 24292 0 [ppp_async]
slhc 6564 0 [ppp_generic]
af_packet 14856 0 (autoclean)
sr_mod 17016 0 (autoclean)
floppy 55932 0
usbmouse 2936 0 (unused)
keybdev 2756 0 (unused)
mousedev 5428 1
hid 24164 0 (unused)
usbkbd 4472 0 (unused)
input 5696 0 [usbmouse keybdev mousedev hid usbkbd]
belkin_sa 6680 0 (unused)
usbserial 21724 0 [belkin_sa]
nls_iso8859-15 4060 1 (autoclean)
nls_cp850 4284 1 (autoclean)
vfat 11820 1 (autoclean)
fat 38040 0 (autoclean) [vfat]
supermount 84032 2 (autoclean)
ide-cd 34052 0
cdrom 32608 0 [sr_mod ide-cd]
ide-scsi 11376 0
scsi_mod 105792 2 [sr_mod ide-scsi]
printer 8576 1
usb-uhci 25136 0 (unused)
usbcore 74988 1 [usbmouse hid usbkbd belkin_sa usbserial
printer usb-uhci]
rtc 9228 0 (autoclean)
ext3 60048 2
jbd 39296 2 [ext3]
++++++++++++++++++++++++++++++++++++++++++++++++++ +++
Clifford Kite <(E-Mail Removed)> a écrit dans le message :
(E-Mail Removed)...
> Philippe ROUBACH <(E-Mail Removed)> wrote:
>
> > 1.When i connect to internet with kppp i have this result :

>
> > - dialing works
> > - modem negociation works(V90,V44,LAPM,49333)
> > - then there is no more exchange and there is no login dialog.
> > - finally i have a ppd error "...signal 15"
> > - under Windows 98 SE , mdk 9.0 and 9.1 that worked fine
> > -WVDIAL does not work also

>
> ...
>
> > ++++++++++++++++++++++++++++++++++++++++++++++++++ ++
> > Nov 4 13:36:49 localhost pppd[2145]: pppd 2.4.1 started by root, uid 0
> > Nov 4 13:37:18 localhost pppd[2145]: Terminating on signal 15.
> > Nov 4 13:37:18 localhost pppd[2145]: Couldn't set tty to PPP discipline:
> > Interrupted system call
> > Nov 4 13:37:18 localhost pppd[2145]: tcsetattr: No such device
> > Nov 4 13:37:18 localhost pppd[2145]: Exit.
> > ++++++++++++++++++++++++++++++++++++++++++++++++++ ++

>
> > 3.3 Console file

>
> > the messages sent to the console during the connexion
> > -see the STRANGE MESSAGES "Couldn't find interface ppp0: No such device"

and
> > "insmod ppp0 failed"

>
> My *guess* is that the kernel module ppp.o is missing.
>
> --
> Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
> PPP-Q&A links, downloads: http://ckite.no-ip.net/



 
Reply With Quote
 
Clifford Kite
Guest
Posts: n/a

 
      02-15-2004, 07:02 PM
Philippe ROUBACH <(E-Mail Removed)> wrote:
> Thank you for your answer.
> As you see in the new lsmod log below the modules ppp_sync and ppp_generic
> are present.


I think you meant ppp_async, not ppp_sync.

> One of them replaces the module ppp ?


Both are needed.

> Then the problem is somewhere else isn'it ?


Those modules weren't in the first lsmod output you posted. Is the
problem still the same as before? Those modules mean that the kernel
shouldn't still be asking for ppp0, which is apparently the name for
the PPP code in some kernels (?) for the module ppp.o. I don't do module
autoloading so I can't be firm in what I say concerning it, thus the (?).

One thing to check is whether /dev/ppp exists. If it doesn't exist then
create it with

mknod /dev/ppp c 108 0
chmod 600 /dev/ppp

Do "modprobe -c|less" and see if both of these appear in the output:

alias tty-ldisc-3 ppp_async
alias char-major-108 ppp_generic

If they are not there then upgrade modprobe.

Another thought is to add the two alias lines above, exactly as shown,
to /etc/modules.conf and comment out any reference to ppp0 that may be
in that file. And also make sure the module dependences are up to date
with "depmod -a".

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
 
Reply With Quote
 
Philippe ROUBACH
Guest
Posts: n/a

 
      02-16-2004, 03:42 PM
1. Yes this is ppp_async as seen in the lsmod log
2. Yes the problem was exactly the same before
3. Yes /dev/ppp does exist with
- user rw
- group no right
- others no right
4. Your statements does exist in modprobe -c(see a part of the log)
5. Here is my module.conf
alias sound-slot-0 i810_audio
probeall scsi_hostadapter ide-scsi
probeall usb-interface usb-uhci
options i810fb xres=800 hsync1=32 hsync2=48 vsync1=50 vsync2=70 vram=2
bpp=16 accel=1 mtrr=1 hwcur=1 xcon=4
above snd-intel8x0 snd-pcm-oss

6. The result is the same with your statements added
- that does not work
- the console messages are exactly the same
7. I wonder if Mandrake has its own way to configurate a connexion

Clifford Kite <(E-Mail Removed)> a écrit dans le message :
(E-Mail Removed)...
> Philippe ROUBACH <(E-Mail Removed)> wrote:
> > Thank you for your answer.
> > As you see in the new lsmod log below the modules ppp_sync and

ppp_generic
> > are present.

>
> I think you meant ppp_async, not ppp_sync.
>
> > One of them replaces the module ppp ?

>
> Both are needed.
>
> > Then the problem is somewhere else isn'it ?

>
> Those modules weren't in the first lsmod output you posted. Is the
> problem still the same as before? Those modules mean that the kernel
> shouldn't still be asking for ppp0, which is apparently the name for
> the PPP code in some kernels (?) for the module ppp.o. I don't do module
> autoloading so I can't be firm in what I say concerning it, thus the (?).
>
> One thing to check is whether /dev/ppp exists. If it doesn't exist then
> create it with
>
> mknod /dev/ppp c 108 0
> chmod 600 /dev/ppp
>
> Do "modprobe -c|less" and see if both of these appear in the output:
>
> alias tty-ldisc-3 ppp_async
> alias char-major-108 ppp_generic
>
> If they are not there then upgrade modprobe.
>
> Another thought is to add the two alias lines above, exactly as shown,
> to /etc/modules.conf and comment out any reference to ppp0 that may be
> in that file. And also make sure the module dependences are up to date
> with "depmod -a".
>
> --
> Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
> PPP-Q&A links, downloads: http://ckite.no-ip.net/





 
Reply With Quote
 
Clifford Kite
Guest
Posts: n/a

 
      02-16-2004, 04:46 PM
Philippe ROUBACH <(E-Mail Removed)> wrote:
> 1. Yes this is ppp_async as seen in the lsmod log
> 2. Yes the problem was exactly the same before
> 3. Yes /dev/ppp does exist with
> - user rw
> - group no right
> - others no right


1, 2 and 3 - okay.

> 4. Your statements does exist in modprobe -c(see a part of the log)


All I could find is that the ppp_generic and ppp_async modules are
present in the lsmod output. They can be inserted into the kernel
but still not be present in modprobe -c. But autoloading may depend
on modprobe and those aliases being present in it - I'm not sure
about that.

> 5. Here is my module.conf
> alias sound-slot-0 i810_audio
> probeall scsi_hostadapter ide-scsi
> probeall usb-interface usb-uhci
> options i810fb xres=800 hsync1=32 hsync2=48 vsync1=50 vsync2=70 vram=2
> bpp=16 accel=1 mtrr=1 hwcur=1 xcon=4
> above snd-intel8x0 snd-pcm-oss


> 6. The result is the same with your statements added
> - that does not work
> - the console messages are exactly the same


Okay.

> 7. I wonder if Mandrake has its own way to configurate a connexion


I guess you tried "depmod -a" and I'm pretty much run out of ideas at
this point. The only other thing that comes to mind is that bringing
up the PPP interface must depend on the modem, the USB-Serial Adapter,
and the device file /dev/ttyUSB0 all working together correctly. I've
had no experience with such an arrangement.

(Since I don't use Mandrake I can't comment on anything specific to
that distribution.)

As a last resort you might try a pppd/chat script instead of kppp.
The "Pppd-secrets script" at the web site in my signature.

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/

 
Reply With Quote
 
Philippe ROUBACH
Guest
Posts: n/a

 
      02-17-2004, 09:36 AM
1. WVDIAL does not work also
-dialing works
- modem negociation works
and that's all, there is no login

exactly same as kppp and pppd.

I think there is an error in the implementation of the belkin and usb and
serial. It's actually disappointing because with Mdk 9.0 and Mdk 9.1 .that
was working well.The soft is here but the installation made by the tools is
wrong.

Thank you for your help

Clifford Kite <(E-Mail Removed)> a écrit dans le message :
(E-Mail Removed)...
> Philippe ROUBACH <(E-Mail Removed)> wrote:
> > 1. Yes this is ppp_async as seen in the lsmod log
> > 2. Yes the problem was exactly the same before
> > 3. Yes /dev/ppp does exist with
> > - user rw
> > - group no right
> > - others no right

>
> 1, 2 and 3 - okay.
>
> > 4. Your statements does exist in modprobe -c(see a part of the log)

>
> All I could find is that the ppp_generic and ppp_async modules are
> present in the lsmod output. They can be inserted into the kernel
> but still not be present in modprobe -c. But autoloading may depend
> on modprobe and those aliases being present in it - I'm not sure
> about that.
>
> > 5. Here is my module.conf
> > alias sound-slot-0 i810_audio
> > probeall scsi_hostadapter ide-scsi
> > probeall usb-interface usb-uhci
> > options i810fb xres=800 hsync1=32 hsync2=48 vsync1=50 vsync2=70 vram=2
> > bpp=16 accel=1 mtrr=1 hwcur=1 xcon=4
> > above snd-intel8x0 snd-pcm-oss

>
> > 6. The result is the same with your statements added
> > - that does not work
> > - the console messages are exactly the same

>
> Okay.
>
> > 7. I wonder if Mandrake has its own way to configurate a connexion

>
> I guess you tried "depmod -a" and I'm pretty much run out of ideas at
> this point. The only other thing that comes to mind is that bringing
> up the PPP interface must depend on the modem, the USB-Serial Adapter,
> and the device file /dev/ttyUSB0 all working together correctly. I've
> had no experience with such an arrangement.
>
> (Since I don't use Mandrake I can't comment on anything specific to
> that distribution.)
>
> As a last resort you might try a pppd/chat script instead of kppp.
> The "Pppd-secrets script" at the web site in my signature.
>
> --
> Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
> PPP-Q&A links, downloads: http://ckite.no-ip.net/
>



 
Reply With Quote
 
Clifford Kite
Guest
Posts: n/a

 
      02-17-2004, 12:30 PM
Philippe ROUBACH <(E-Mail Removed)> wrote:

> I think there is an error in the implementation of the belkin and usb and
> serial. It's actually disappointing because with Mdk 9.0 and Mdk 9.1 .that
> was working well.The soft is here but the installation made by the tools is
> wrong.


It's quite possible there's a bug in the belkin_sa or usbserial module.

Using diff, it's clear that the BELKIN driver changed a lot from the
2.4.18 to the 2.4.22 kernel. But from the 2.4.22 to the 2.4.24 kernel
there were no changes.

The USB SERIAL driver also had many changes from the 2.4.18 to the 2.4.22
kernel, and there are a few more from the 2.4.22 to the 2.4.24 kernel.

These are standard kernel sources obtained from ftp.kernel.org, not
Mandrake kernels, which may well have been modified. (From your first
post: Mandrake 9.2(kernel 2.4.22.10 or 2.4.22.26)

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenSuse 11.1 Kinternet error: "pppd[0] died: pppd options error (exit code 2) Trevor Linux Networking 4 04-22-2009 06:31 PM
W2K RAS Connexion Trouble Pierre BOLOT Windows Networking 0 10-09-2006 07:18 PM
Help on connexion in london kingdaveone Broadband 1 09-30-2006 10:40 AM
kppp works wvdial doesn't for pppd (logs included) Cat Linux Networking 9 07-23-2004 04:32 AM
PPPD server routing problem? Mandrake/mgetty/pppd/D-link router martin02 Linux Networking 17 10-06-2003 03:06 PM



1 2 3 4 5 6 7 8 9 10 11