Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

PPPoE and LAN over single NIC [Solved]

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
SDraconis
n00b
n00b
Posts: 53
Joined: Wed Apr 20, 2005 1:33 am

PPPoE and LAN over single NIC [Solved]

  • Quote

Post by SDraconis » Wed Aug 30, 2006 12:28 am

I'm trying to set up the same kind of connection I had in Windows. That is, the ADSL modem linked via crossover to a hub, and my Gentoo box connected to that hub. (The idea is to have LAN access to other machines in the house, but still be able to connect to ADSL using only a single NIC).

I've emerged ppp, but not rp-pppoe as I read not to with the new baselayout.

Here's my /etc/conf.d/net so far:

Code: Select all

config_eth0=( "192.168.0.22 netmask 255.255.255.0" )

config_ppp0=( "ppp" )
link_ppp0="eth0"
plugins_ppp0=("pppoe")
username_ppp0='username@domain.net'
password_ppp0='secret'
pppd_ppp0=("defaultroute" "usepeerdns")
As per the new baselayout, I've got net.ppp0 and net.eth0 symlinked to net.lo in /etc/init.d. When I try to bring up ppp0 (after eth0 of course), I get the following error:

Code: Select all

 * Starting ppp0
 *   Bringing up ppp0
 *     ppp
 *       Running pppd ...
/usr/sbin/pppd: unrecognized option 'eth0'
I tried following some information found in the forums and added another interface config. I added a net.eth1 link to net.eth0, put config_eth1=("null") into /etc/conf.d/net and changed link_ppp0="eth0" to link_ppp0="eth1". This time, the error message was that eth1 didn't exist (which makes sense, since I only have one NIC). Any ideas?
Top
SDraconis
n00b
n00b
Posts: 53
Joined: Wed Apr 20, 2005 1:33 am

  • Quote

Post by SDraconis » Wed Aug 30, 2006 2:24 am

Figured out the problem after looking into /var/log/messages. Turns out I forgot "make modules_install" when I was recompling my kernel with PPPoE support. Major oops on my part.
Top
Post Reply

2 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy