Networking Forums

Networking Forums > Computer Networking > Linux Networking > Couldn't find interface ppp0: No such device

Reply
Thread Tools Display Modes

Couldn't find interface ppp0: No such device

 
 
abelard
Guest
Posts: n/a

 
      09-16-2007, 09:35 AM
when I run kppp and pushed the 'connect' button, I got the following
messages:
[root@localhost ~]# kppp
kbuildsycoca running...
ScimInputContextPlugin()
Opener: received OpenLock

Opener: received OpenDevice
Opener: received ExecPPPDaemon
In parent: pppd pid 4159
Couldn't find interface ppp0: No such device
Kernel supports ppp alright.
Couldn't find interface ppp0: No such device

at the same time, I got the following messages in the ppp log:

Sep 16 17:30:26 localhost pppd[4373]: pppd 2.4.3 started by root, uid
0
Sep 16 17:30:26 localhost pppd[4373]: Using interface ppp0
Sep 16 17:30:26 localhost pppd[4373]: Connect: ppp0 <--> /dev/ttyS3
Sep 16 17:30:56 localhost pppd[4373]: Terminating on signal 15
Sep 16 17:30:57 localhost pppd[4373]: Hangup (SIGHUP)
Sep 16 17:30:57 localhost pppd[4373]: Modem hangup
Sep 16 17:30:57 localhost pppd[4373]: Connection terminated.
Sep 16 17:30:57 localhost pppd[4373]: Exit.

what should I do?
any reply will be welcomed,thks a lot!

BEST REGARDS
crocodilian

 
Reply With Quote
 
 
 
 
Clifford Kite
Guest
Posts: n/a

 
      09-16-2007, 05:26 PM
abelard <(E-Mail Removed)> wrote:
> when I run kppp and pushed the 'connect' button, I got the following
> messages:
> [root@localhost ~]# kppp
> kbuildsycoca running...
> ScimInputContextPlugin()
> Opener: received OpenLock


> Opener: received OpenDevice
> Opener: received ExecPPPDaemon
> In parent: pppd pid 4159
> Couldn't find interface ppp0: No such device
> Kernel supports ppp alright.
> Couldn't find interface ppp0: No such device


It appears that kppp is confused.

> at the same time, I got the following messages in the ppp log:


> Sep 16 17:30:26 localhost pppd[4373]: pppd 2.4.3 started by root, uid
> 0
> Sep 16 17:30:26 localhost pppd[4373]: Using interface ppp0
> Sep 16 17:30:26 localhost pppd[4373]: Connect: ppp0 <--> /dev/ttyS3
> Sep 16 17:30:56 localhost pppd[4373]: Terminating on signal 15
> Sep 16 17:30:57 localhost pppd[4373]: Hangup (SIGHUP)
> Sep 16 17:30:57 localhost pppd[4373]: Modem hangup
> Sep 16 17:30:57 localhost pppd[4373]: Connection terminated.
> Sep 16 17:30:57 localhost pppd[4373]: Exit.


Best guess, the initial LCP request is repeated 10 times at intervals
of 3 seconds with no response forthcoming and pppd terminated. LCP is
short for "Link Control Protocol" which is used to negotiate certain
properties of a PPP link. This kind of "timeout" occurs when one side
or the other doesn't receive what is sent to it or what it receives
is broken in transit. Adding "debug" to /etc/ppp/options will likely
result in a log showing the LCP requests.

There are various things that might cause this to happen, mostly
at the serial/modem level. Unfortunately I know little about kppp
except the usual for such programs: when it works it's easy to use
and when it doesn't it's hard to debug.

> what should I do?


Provide more information. Does the modem appear to dial out and
connect? Is the number dialed correct? Is it a real modem or
a winmodem? (Good luck if it's a winmodem) Is /dev/ttyS3 correctly
configured for the actual UART, port number, and IRQ of the serial
device? (setserial -bg /dev/ttyS3, compare to serial device specs)

Configure kppp to log the modem initialization and the modem's line
negotiations if possible. Post.

Here is a logging recipe for pppd and chat (the program for making
the serial connection that comes with pppd). Dunno about kppp.

Add the line

daemon.*;local2.* /var/log/ppp.log

to /etc/syslog.conf, do "killall -HUP syslogd" to get syslogd to reread
that file, and temporary add the pppd option "debug" to /etc/ppp/options.
Then try to make a connection and post the resulting log file.

> any reply will be welcomed,thks a lot!


> BEST REGARDS
> crocodilian


Regards-
--
Clifford Kite


 
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
Couldn't find interface ppp0: No such device abelard Linux Networking 0 09-16-2007 09:09 AM
Bringing up interface ppp0 antalb Linux Networking 2 11-05-2004 11:21 PM
pppd does not set ppp0 interface miguelk Linux Networking 12 10-02-2004 10:00 PM
eth0: unknown interface: No such device tom Linux Networking 3 11-01-2003 11:34 PM
Re: basic question: eth0 ppp0, which interface? Ivan Marsh Linux Networking 0 06-23-2003 09:14 PM



1 2 3 4 5 6 7 8 9 10 11