Difference between pages "PPPoE" and "Gentoo Ecosystem"

From Funtoo
(Difference between pages)
Jump to: navigation, search
(Funtoo Linux network setup)
 
m
 
Line 1: Line 1:
This page expains how to setup and configue '''PPPoE''' connection with rp-pppoe and Funtoo Linux network.
+
This page is intended to describe the Gentoo Ecosystem -- everything Gentoo-related, including Gentoo Linux.
== Kernel options ==
+
Make sure following kernel options are enabled in <tt>/usr/src/linux/.config</tt>:
+
  
<pre>
+
== Gentoo ==
CONFIG_PPP=m
+
CONFIG_PPP_BSDCOMP=m
+
# CONFIG_PPP_DEFLATE is not set
+
CONFIG_PPP_FILTER=y
+
CONFIG_PPP_MPPE=m
+
CONFIG_PPP_MULTILINK=y
+
CONFIG_PPPOE=m
+
CONFIG_PPP_ASYNC=m
+
CONFIG_PPP_SYNC_TTY=m
+
</pre>
+
  
Next, we configure and install {{Package|net-dialup/rp-pppoe}}:
+
See [[Gentoo Linux]].
<console>
+
###i## emerge rp-pppoe
+
###i## pppoe-setup
+
</console>
+
Configuration is straightforward: setup username, password and ethernet interface to use. In our example it is <code>eth2</code>.
+
  
== Funtoo Linux network setup ==
+
== Funtoo ==
Funtoo openrc does not provide a default template for ppp connections. We will create a custom template.
+
<console># ##i##cd /etc/netif.d/</console>
+
Create a file called <code>interface-pppoe</code>:
+
  
<pre>
+
See [[History]].
#!/bin/sh
+
netif_pre_up() {
+
pppoe-connect >/var/log/pppoe.log 2>&1 &
+
}
+
netif_pre_down() {
+
pppoe-stop
+
}
+
</pre>
+
Now, we will create a <code>eth2</code> interface:
+
<console>
+
# ##i##cd /etc/init.d
+
# ##i##ln -s netif.tmpl netif.eth2
+
</console>
+
Then create a <code>/etc/conf.d/netif.eth2</code> configuration file that will specify a pppoe template in the <code>/etc/netif.d</code> directory:
+
  
<pre>
+
== Calculate ==
template="interface-pppoe"
+
description="Your ISP"
+
</pre>
+
To complete configuration, add an interface to the default runlevel:
+
<console>
+
###i## rc-update add netif.eth2 default
+
</console>
+
  
[[Category:Networking]]
+
http://distrowatch.com/table.php?distribution=calculate
[[Category:HOWTO]]
+
 
 +
== Pentoo ==
 +
 
 +
http://distrowatch.com/table.php?distribution=pentoo
 +
 
 +
== UTUTO ==
 +
 
 +
http://distrowatch.com/table.php?distribution=ututo
 +
 
 +
== Toorox ==
 +
 
 +
http://distrowatch.com/table.php?distribution=toorox
 +
 
 +
== Litrix ==
 +
 
 +
http://distrowatch.com/table.php?distribution=litrix
 +
 
 +
== Sabayon ==
 +
 
 +
http://distrowatch.com/table.php?distribution=sabayon
 +
 
 +
== Liberté ==
 +
 
 +
http://distrowatch.com/table.php?distribution=liberte
 +
 
 +
== Planet Larry ==
 +
 
 +
== sysrescuecd ==
 +
 
 +
See [http://www.sysresccd.org].
 +
 
 +
== Google Chrome OS ==
 +
 
 +
http://www.internetnews.com/skerner/2010/02/google-goes-with-gentoo-portag.html
 +
 
 +
 
 +
Note: The Google Chrome OS Wikipedia Page needs updating to reflect that they are now using Gentoo Linux: [[wikipedia:Google_Chrome_OS]]
 +
 
 +
[[Category:Featured]]

Latest revision as of 18:58, 15 September 2013

This page is intended to describe the Gentoo Ecosystem -- everything Gentoo-related, including Gentoo Linux.

Gentoo

See Gentoo Linux.

Funtoo

See History.

Calculate

http://distrowatch.com/table.php?distribution=calculate

Pentoo

http://distrowatch.com/table.php?distribution=pentoo

UTUTO

http://distrowatch.com/table.php?distribution=ututo

Toorox

http://distrowatch.com/table.php?distribution=toorox

Litrix

http://distrowatch.com/table.php?distribution=litrix

Sabayon

http://distrowatch.com/table.php?distribution=sabayon

Liberté

http://distrowatch.com/table.php?distribution=liberte

Planet Larry

sysrescuecd

See [1].

Google Chrome OS

http://www.internetnews.com/skerner/2010/02/google-goes-with-gentoo-portag.html


Note: The Google Chrome OS Wikipedia Page needs updating to reflect that they are now using Gentoo Linux: wikipedia:Google_Chrome_OS