Re: [gentoo-user] pppd and adsl

2006-04-23 Thread Farhan Ahmed
Chen Yufei wrote:
> 
>
> (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've configured my adsl connection bit diffrently. I've my adsl
connection settings in /etc/conf.d/net file. Here's the contents of that
file

config_eth0=( "adsl" )
adsl_user_eth0=""

also the contents of /etc/ppp/chap-secrets :
""*   ""

I bring up my adsl connection up by, '/etc/init.d/net.eth0 start'.. No
problems or warnings for me. I've added net.eth0 to default level..

Also i dont know whether this post is right to ask my question, but
recently when i updated my system (~x86), the network (eth0) came up
before the default (level 3) gets started, i.e., even before my firewall
starts!!!.. I checked my rc-update, but net.eth0 is still in default
level.. Any pointers as to why this happening? Earlier it used to start
in default level, but now it seems it starts in boot level..

Bye,
Farhan Ahmed
-- 
Place   :  Bangalore, Karnataka, India
GPG Key :  8BE90E98
WengoPhone ID   :  farhanahmed
IRC Nick:  farhanahmed / farhanahmed06 (irc.freenode.net)


pgpN14Z8dvExt.pgp
Description: PGP signature


Re: [gentoo-user] pppd and adsl

2006-04-23 Thread Farhan Ahmed
Chen Yufei wrote:
> 
>
> (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've configured my adsl connection bit diffrently. I've my adsl
connection settings in /etc/conf.d/net file. Here's the contents of that
file

config_eth0=( "adsl" )
adsl_user_eth0=""

also the contents of /etc/ppp/chap-secrets :
""*   ""

I bring up my adsl connection up by, '/etc/init.d/net.eth0 start'.. No
problems or warnings for me. I've added net.eth0 to default level..

Also i dont know whether this post is right to ask my question, but
recently when i updated my system (~x86), the network (eth0) came up
before the default (level 3) gets started, i.e., even before my firewall
starts!!!.. I checked my rc-update, but net.eth0 is still in default
level.. Any pointers as to why this happening? Earlier it used to start
in default level, but now it seems it starts in boot level..

Bye,
Farhan Ahmed
-- 
Place   :  Bangalore, Karnataka, India
GPG Key :  8BE90E98
WengoPhone ID   :  farhanahmed
IRC Nick:  farhanahmed / farhanahmed06 (irc.freenode.net)


pgpBTMvjDods4.pgp
Description: PGP signature


Re: [gentoo-user] pppd and adsl

2006-04-23 Thread Mrugesh Karnik
On Sunday 23 April 2006 12:57, Chen Yufei wrote:
> I use adsl to connect to the internet and I use rp-pppoe in the past.
> But I found in the /etc/conf.d/net.example that the  rp-pppoe module
> "is being deprecated in favour of the PPP module". So I tried to use
> ppp to dialup the adsl connection and succeeded. But I have 2
> questions now.
>
> (1) Why rp-pppoe is deprecated?
>
> (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?

Yeah, I upgraded to rp-pppoe-3.8 yesterday. I had to change 
my /etc/conf.d/net file to look like this:

config_eth0=( "adsl" )
adsl_user_eth0="username"

Here's where I found the relevant information:

http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=4&chap=3#doc_chap4

Gentoo does use rp-pppoe to connect. It just does it when bringing up 
eth0 directly.

HTH,
Mrugesh


pgpiUechhtOSZ.pgp
Description: PGP signature


[gentoo-user] pppd and adsl

2006-04-23 Thread Chen Yufei
I use adsl to connect to the internet and I use rp-pppoe in the past.
But I found in the /etc/conf.d/net.example that the  rp-pppoe module
"is being deprecated in favour of the PPP module". So I tried to use
ppp to dialup the adsl connection and succeeded. But I have 2
questions now.

(1) Why rp-pppoe is deprecated?

(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?

-- 
gentoo-user@gentoo.org mailing list