On Tuesday 29 Nov 2011 11:41:57 Philip Webb wrote:

> A further question: since I had previously updated  /etc/conf.d/net ,
> I was given a router by my ISP & therefore started to use DHCP.
> The new  net.example  file suggests I might make further changes in 'net'
> & simplify my configuration files.  What I have now in 'net' is :
> 
> # For a static configuration use eg :
> # PP 111129 : drop Bash syntax to avoid start-up warning
> #config_eth0=( "192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
> ) config_eth0="192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
> # You need to create the PPP net script yourself:
> # do it via 'cd /etc/init.d ; ln -s net.lo net.ppp0'
> # We have to instruct ppp0 to actually use ppp
> config_ppp0=( "ppp" )

First of all you should not use brackets in the new format.

Second, why do you need PPP, unless this is a router that also authenticates 
into your ISP's adsl radius server?


> # Each PPP interface requires an interface to use as a "Link"
> link_ppp0="eth0"                      # PPPoE requires an ethernet interface

Ditto.


> # Specify what pppd plugins you want to use: available are:
> # pppoe, pppoa, capi, dhcpc, minconn, radius, radattr, radrealms, winbind
> plugins_ppp0=( "pppoe" )

No brackets in the new file format as previous message advised and as I said 
above, think again if you need PPP authentication performed by your Gentoo box 
(because your new router does this now).

> # PPP requires at least a username.
> # It will use the password specified in /etc/ppp/*-secrets
> username_ppp0='****@***'
> #pppd_ppp0=( "debug" "updetach" "noauth" "defaultroute" "usepeerdns"
> "persist" ) pppd_ppp0=( "updetach" "defaultroute" )

Don't need these at all.

HTH.

-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to