LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-18-2016, 09:35 PM   #1
luofeiyu
Member
 
Registered: Aug 2015
Posts: 167

Rep: Reputation: Disabled
How to close pppd in init step?


No need to dial via pppoe, my pc is connected with router,the router will dial and connect to internet.

journalctl -xb > /tmp/init.tx
cat /tmp/init.txt
AT the end of the file.

Aug 19 09:43:27 hwy pppd[496]: Timeout waiting for PADO packets
Aug 19 09:43:27 hwy pppd[496]: Unable to complete PPPoE Discovery
Aug 19 09:44:32 hwy pppd[496]: Timeout waiting for PADO packets
Aug 19 09:44:32 hwy pppd[496]: Unable to complete PPPoE Discovery
Aug 19 09:45:37 hwy pppd[496]: Timeout waiting for PADO packets
Aug 19 09:45:37 hwy pppd[496]: Unable to complete PPPoE Discovery
Aug 19 09:46:42 hwy pppd[496]: Timeout waiting for PADO packets
Aug 19 09:46:42 hwy pppd[496]: Unable to complete PPPoE Discovery
Aug 19 09:47:47 hwy pppd[496]: Timeout waiting for PADO packets
Aug 19 09:47:47 hwy pppd[496]: Unable to complete PPPoE Discovery
Aug 19 09:48:52 hwy pppd[496]: Timeout waiting for PADO packets
Aug 19 09:48:52 hwy pppd[496]: Unable to complete PPPoE Discovery
Aug 19 09:48:52 hwy pppd[496]: Exit.

How to close pppd in init step?
 
Old 08-20-2016, 11:27 AM   #2
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: Debian, Crux, LFS, AntiX, NuTyX
Posts: 1,113

Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
As you clearly have systemd, you will need to find out the name of the service (it's probably called pppd.service) and disable it with systemctl. You will need to be root to do this. Disabling a service simply takes the link to the service file out of the requirements for the active runlevel targets. Next time you boot, it won't start again.

man systemctl will give you the syntax for the disable command.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Step By Step Ubuntu 16.04 (Xenial Xerus) LAMP Server Setup LXer Syndicated Linux News 0 05-05-2016 02:30 PM
pppd timeout before pppd interface could start! bioagentice Linux - Software 6 03-27-2005 11:24 AM
pppd died: pppd options error (exit code 2 taveirac Linux - Networking 1 02-12-2004 10:17 AM
how to keep pppd on during x-server close?? wr3ck3d Linux - Software 2 03-27-2003 09:58 AM
pppd died: pppd options error (exit code 2) ianwest Linux - Newbie 2 07-31-2002 08:29 AM


All times are GMT -5. The time now is 11:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration