LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-11-2024, 06:17 PM   #1
babydr
Member
 
Registered: Aug 2015
Location: Fairbanks , Alaska
Distribution: Slackware-14.2 & 15.0
Posts: 229

Rep: Reputation: 45
Any suggestions of being able to set up pppoe connections in rc.inet1.conf also asking if others have already done so


Hello All , I'd really like to stream line the connection to a DSL provider thru a bridged modem via pppoe , without having to edit rc.inet1 & .conf .

Present connection device is a Zotac minipc device . Running 15.0 at present , Until Pat & All decide to export 15.1 ;-) .

I've not found any examples of others doing so .

So I am asking here to see if someone else may have done so .

My present method is working OK , Just hoping for a more inclusive & streamlined approach .

Tia , JimL
 
Old 04-12-2024, 11:17 AM   #2
Markus Wiesner
Member
 
Registered: Mar 2016
Distribution: Slackware
Posts: 146

Rep: Reputation: 237Reputation: 237Reputation: 237
I let init handle that. Put the following line either in /etc/inittab or create a new file called /etc/inittab.d/dsl.tab

Code:
dsl:345:respawn:/usr/sbin/pppd call myprovider eth2.7
with all necessary options except the interface (VLAN 7 tagged in my case) in /etc/ppp/peers/myprovider. You may also put everything in /etc/ppp/options and do without call myprovider.

Make sure to put nodetach in the options!

Afterwards reboot or let init re-read the inittab with:

Code:
telinit q
This has also the advantage that pppd is automatically restarted when it exits or dies.

Last edited by Markus Wiesner; 04-12-2024 at 11:20 AM.
 
1 members found this post helpful.
  


Reply



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
[SOLVED] (bug sw15) rc.inet1 / rc.inet1.conf - a couple of vlan issues when using vlan name Mr.Gadgets Slackware 2 01-02-2023 07:34 AM
duplicate/backup init files - i.e. rc.inet1 and rc.inet1.orig krakanut Slackware 3 08-07-2020 02:45 PM
Modifications to rc.inet1, rc.inet1.conf and rc.wireless hba Slackware 1 12-07-2014 03:57 AM
Missing /var/run/pppoe.conf-pppoe.pid.pppoe file acraig Debian 2 11-02-2010 07:24 PM
rc.inet1 and rc.inet1.conf edafe Slackware 0 02-16-2005 09:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:33 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
Open Source Consulting | Domain Registration