Re: [gentoo-user] Re: pppd and adsl

2006-04-26 Thread Mrugesh Karnik
On Wednesday 26 April 2006 18:40, Sven Köhler wrote:
> > Ummm, could you please explain those settings? Or could you please
> > point me the appropriate documentation where they're explained?
>
> which settings?
>
> well, "man pppd" should show you all the funny pppd options.

Okies, thanks :)

-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net



pgpojv1rScDsf.pgp
Description: PGP signature


[gentoo-user] Re: pppd and adsl

2006-04-26 Thread Sven Köhler
> Ummm, could you please explain those settings? Or could you please point 
> me the appropriate documentation where they're explained?

which settings?

well, "man pppd" should show you all the funny pppd options.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: pppd and adsl

2006-04-24 Thread Mrugesh Karnik
On Monday 24 April 2006 22:38, Sven Köhler wrote:
> > Anyway, so a related query.. My internet connection has a habit of
> > getting disconnected every six hours. Does the kernel mode PPPoE
> > automatically reconnect properly? Well, if it doesn't, how do I
> > start and stop the connection at will? Restart the init script?
>
> config_ppp9=( "ppp" )
> plugins_ppp9=( "pppoe" )
> link_ppp9="eth1"
> username_ppp9="XXX"
> pppd_ppp9=(
> "noauth"
> "defaultroute"
> "holdoff 0"
> )
>
> That works perfectly for me. It reconnects automatically.
>
>
> To start/stop the connection at will:
> yes, you have to start/stop the init.d-script.

Ummm, could you please explain those settings? Or could you please point 
me the appropriate documentation where they're explained?

Thanks,
Mrugesh


pgpQMpG8ueFi1.pgp
Description: PGP signature


[gentoo-user] Re: pppd and adsl

2006-04-24 Thread Sven Köhler
> Anyway, so a related query.. My internet connection has a habit of 
> getting disconnected every six hours. Does the kernel mode PPPoE 
> automatically reconnect properly? Well, if it doesn't, how do I start 
> and stop the connection at will? Restart the init script?

config_ppp9=( "ppp" )
plugins_ppp9=( "pppoe" )
link_ppp9="eth1"
username_ppp9="XXX"
pppd_ppp9=(
"noauth"
"defaultroute"
"holdoff 0"
)

That works perfectly for me. It reconnects automatically.


To start/stop the connection at will:
yes, you have to start/stop the init.d-script.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: pppd and adsl

2006-04-24 Thread maxim wexler


--- Chen Yufei <[EMAIL PROTECTED]> wrote:

> First thanks!
> 
> As Mrugesh mentioned rp-pppoe-3.8, I took a look in
> the rp-pppoe
> ebuild file and found this,
> 
> "Gentoo is moving toward common configuration file
> for all network
> interfaces. Please use baselayout adsl module for
> configuring your
> network using rp-pppoe or, better yet, use generic
> PPP support
> available in baselayout-1.12."
> 
> I unemerged rp-pppoe and still succeed to connect.
> In fact I found
> there is a file "rp-pppoe.so" in the directory
> /usr/lib/pppd/2.4.3/ so
> I think rp-pppe is not necessary for adsl connect.
> 
> In the ppp ebuild file,
> 
> "Pon, poff and plog scripts have been supplied for
> experienced users.
> ... The old /etc/init.d/net.ppp0 script has gone!
> The new way of
> handling PPP connections of any kind (PPPoE, PPPoA,
> etc) is through
> the baselayout's pppd net module."
> 
> I've set the /etc/conf.d/net, but what is the new
> way to make PPP
> connections up/off without pon/poff? pon/poff need
> to edit
> /etc/ppp/peer/provider and this is not the "common
> configuration
> file".

Precisely! See the thread on emerge wvdial issues. Why
do we now need _two_files /etc/conf.d/net _and_
../peers/provider?



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: pppd and adsl

2006-04-24 Thread Mrugesh Karnik
On Sunday 23 April 2006 22:45, Sven Köhler wrote:
> > (1) Why rp-pppoe is deprecated?
>
> ppp included the pppoe-plugin known from rp-pppoe. the pppoe-plugin
> uses the kernel-mode PPPoE. There is no need for rp-pppoe anymore,
> because ppp offers everything needed.

Aah I see! Thanks for correcting me. :)

Anyway, so a related query.. My internet connection has a habit of 
getting disconnected every six hours. Does the kernel mode PPPoE 
automatically reconnect properly? Well, if it doesn't, how do I start 
and stop the connection at will? Restart the init script?

Thanks,
Mrugesh


pgp5KCL1QUvO3.pgp
Description: PGP signature


[gentoo-user] Re: pppd and adsl

2006-04-23 Thread Chen Yufei
First thanks!

As Mrugesh mentioned rp-pppoe-3.8, I took a look in the rp-pppoe
ebuild file and found this,

"Gentoo is moving toward common configuration file for all network
interfaces. Please use baselayout adsl module for configuring your
network using rp-pppoe or, better yet, use generic PPP support
available in baselayout-1.12."

I unemerged rp-pppoe and still succeed to connect. In fact I found
there is a file "rp-pppoe.so" in the directory /usr/lib/pppd/2.4.3/ so
I think rp-pppe is not necessary for adsl connect.

In the ppp ebuild file,

"Pon, poff and plog scripts have been supplied for experienced users.
... The old /etc/init.d/net.ppp0 script has gone! The new way of
handling PPP connections of any kind (PPPoE, PPPoA, etc) is through
the baselayout's pppd net module."

I've set the /etc/conf.d/net, but what is the new way to make PPP
connections up/off without pon/poff? pon/poff need to edit
/etc/ppp/peer/provider and this is not the "common configuration
file".

For Farhan's question, my situation is that I don't add eth0 and wlan0
to any run level, but they start up after my system starts up.
However, the start up message shows only lo is started. Though
confusing about this, it's Ok... I don't know if my situation has
something in common with yours.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: pppd and adsl

2006-04-23 Thread Sven Köhler
> (1) Why rp-pppoe is deprecated?

ppp included the pppoe-plugin known from rp-pppoe. the pppoe-plugin uses
the kernel-mode PPPoE. There is no need for rp-pppoe anymore, because
ppp offers everything needed.

> (2) Every time I call /etc/init.d/net.ppp0 there is a warning saying
> that "net.ppp0 is started but is inactive" This is my /etc/conf.d/net
> 
> modules=( "iproute2")
> 
> config_eth0=( "192.168.0.2/24" )
> 
> config_ppp0=( "ppp" )
> link_ppp0="eth0"
> plugins_ppp0=( "pppoe" )
> username_ppp0='xxx'
> password_ppp0='xxx'
> pppd_ppp0=( "updetach" "defaultroute" "usepeerdns")
> 
> Any suggestion?

I have no clue what's wrong here.

But i have to tell you, that my net.ppp0 was provided by net-dialup/ppp
instead of baselayout. So i symlinked net.lo to net.ppp9 and used
net.ppp9 instead. (I'm using ~x86 baselayout with x86 ppp)


Greetings
  Sven



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Re: pppd and adsl

2006-04-23 Thread Sven Köhler
> Gentoo does use rp-pppoe to connect. It just does it when bringing up 
> eth0 directly.

No, since baselayout-1.12*, gentoo uses ppp and ppp's pppoe-plugin.

rp-pppoe is not needed anymore!

--
gentoo-user@gentoo.org mailing list