/[gentoo]/xml/htdocs/doc/en/home-router-howto.xml
Gentoo

Diff of /xml/htdocs/doc/en/home-router-howto.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.24 Revision 1.25
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.24 2005/04/29 22:16:26 vapier Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.25 2005/05/10 22:41:31 vapier Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
4 4
5<guide link="/doc/en/home-router-howto.xml"> 5<guide link="/doc/en/home-router-howto.xml">
6 6
7<title>Home Router Guide</title> 7<title>Home Router Guide</title>
13<abstract> 13<abstract>
14This document details how to turn an old Gentoo machine into a router 14This document details how to turn an old Gentoo machine into a router
15for connecting your home network to the internet. 15for connecting your home network to the internet.
16</abstract> 16</abstract>
17 17
18<version>1.4</version> 18<version>1.5</version>
19<date>2005-03-07</date> 19<date>2005-05-10</date>
20 20
21<chapter> 21<chapter>
22<title>Introduction</title> 22<title>Introduction</title>
23<section> 23<section>
24<body> 24<body>
202USER=vla9h924 202USER=vla9h924
203# <i>nano /etc/ppp/pap-secrets</i> 203# <i>nano /etc/ppp/pap-secrets</i>
204<comment># client server secret</comment> 204<comment># client server secret</comment>
205"vla9h924" * "password" 205"vla9h924" * "password"
206# <i>nano /etc/conf.d/net</i> 206# <i>nano /etc/conf.d/net</i>
207<comment>Add an entry for ifconfig_eth1 and set it to adsl:</comment> 207<comment>Add an entry for config_eth1 and set it to adsl:</comment>
208ifconfig_eth1=( "adsl" ) 208config_eth1=( "adsl" )
209# <i>ln -s net.eth0 /etc/init.d/net.eth1</i> 209# <i>ln -s net.eth0 /etc/init.d/net.eth1</i>
210# <i>rc-update add net.eth1 default</i> 210# <i>rc-update add net.eth1 default</i>
211# <i>/etc/init.d/net.eth1 start</i> 211# <i>/etc/init.d/net.eth1 start</i>
212</pre> 212</pre>
213 213
233<pre caption="Setting up eth1"> 233<pre caption="Setting up eth1">
234<comment>Dynamic IP Users:</comment> 234<comment>Dynamic IP Users:</comment>
235# <i>emerge dhcpcd</i> 235# <i>emerge dhcpcd</i>
236# <i>nano /etc/conf.d/net</i> 236# <i>nano /etc/conf.d/net</i>
237<comment>You'll need an entry like so:</comment> 237<comment>You'll need an entry like so:</comment>
238ifconfig_eth1=( "dhcp" ) 238config_eth1=( "dhcp" )
239 239
240<comment>Static IP Users:</comment> 240<comment>Static IP Users:</comment>
241# <i>nano /etc/conf.d/net</i> 241# <i>nano /etc/conf.d/net</i>
242<comment>You'll need entries like so:</comment> 242<comment>You'll need entries like so:</comment>
243ifconfig_eth1=( "66.92.78.102 broadcast 66.92.78.255 netmask 255.255.255.0" ) 243ifconfig_eth1=( "66.92.78.102 broadcast 66.92.78.255 netmask 255.255.255.0" )

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

  ViewVC Help
Powered by ViewVC 1.1.20