public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] pppoe-start problem
@ 2006-09-26  8:18 Stephen Liu
  2006-09-26 13:29 ` Boyd Stephen Smith Jr.
  0 siblings, 1 reply; 7+ messages in thread
From: Stephen Liu @ 2006-09-26  8:18 UTC (permalink / raw
  To: gentoo-user

Hi folks,

Gentoo_amd64
gnome-light

Frequently on running;

# pppoe-start
... Connected.

# ifconfig
only showing 2 sections
lo        Link encap:Local Loopback
ppp0      Link encap:Point-to-Point Protocol

"eth0      Link encap:Ethernet  HWaddr 00:13:D4:FE:DA:87" disappeared

Internet can't be browsed.  I have to run;

# pppoe-stop

then ran again;
# pppoe-start
at least 4 trials before ISP can be connected.

# ifconfig
this time showing 3 sections
eth0      Link encap:Ethernet  HWaddr 00:13:D4:FE:DA:87
lo        Link encap:Local Loopback
ppp0      Link encap:Point-to-Point Protocol

Please advise how to fix this problem.  TIA

Furthermore it comes to my notice that recently browsing Internet is rather slow, click -> sit back -> wait, taking a while before another page popup.  The PC is connected to 1.5M broadband.

Please advise how to check the problem and fix it.  Tks.

B.R.
SL


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] pppoe-start problem
  2006-09-26  8:18 [gentoo-user] pppoe-start problem Stephen Liu
@ 2006-09-26 13:29 ` Boyd Stephen Smith Jr.
  2006-09-26 15:01   ` Stephen Liu
  0 siblings, 1 reply; 7+ messages in thread
From: Boyd Stephen Smith Jr. @ 2006-09-26 13:29 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1026 bytes --]

On Tuesday 26 September 2006 03:18, Stephen Liu <satimis@yahoo.com> wrote 
about '[gentoo-user] pppoe-start problem':
> Hi folks,
>
> Gentoo_amd64
> gnome-light
>
> Frequently on running;
>
> # pppoe-start

Hrm, are we still using pppoe-start?  I thought the new baselayout handled 
pppoe (and other ppp connections) just like normal connections:
1. Configure in /etc/conf.d/net
2. Symlink net.$IFACE to net.lo
3. Start/Stop/Query via /etc/init.d/net.$IFACE

I could be thinking about testing (since I run ~amd64) and this may not 
apply to stable, but have a look at /etc/conf.d/net.example and make sure 
your configuration is correct.

If you think it is correct, please provide the output of:
/etc/init.d/net.eth0 start
and
grep -Ev '^[[:space:]]*(#|$)' /etc/conf.d/net

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] pppoe-start problem
  2006-09-26 13:29 ` Boyd Stephen Smith Jr.
@ 2006-09-26 15:01   ` Stephen Liu
  2006-09-26 15:17     ` [gentoo-user] " Marc Blumentritt
  2006-09-26 15:18     ` [gentoo-user] " Boyd Stephen Smith Jr.
  0 siblings, 2 replies; 7+ messages in thread
From: Stephen Liu @ 2006-09-26 15:01 UTC (permalink / raw
  To: gentoo-user

Hi Boyd,

Tks for your advice.

> I thought the new baselayout handled 
> pppoe (and other ppp connections) just like normal connections:
> 1. Configure in /etc/conf.d/net

/etc/conf.d/net is a file

# cat /etc/conf.d/net
config_eth0=( "192.168.0.2 netmask 255.255.255.0 brd 192.168.0.255" )
routes_eth0=( "default gw 192.168.0.1" )
config_eth0=( "dhcp" )

> 2. Symlink net.$IFACE to net.lo
net.lo is on /etc/init.d/

What is "net.$IFACE"?  Tks.


B.R.
SL


3. Start/Stop/Query via /etc/init.d/net.$IFACE

I could be thinking about testing (since I run ~amd64) and this may not 
apply to stable, but have a look at /etc/conf.d/net.example and make sure 
your configuration is correct.

If you think it is correct, please provide the output of:
/etc/init.d/net.eth0 start
and
grep -Ev '^[[:space:]]*(#|$)' /etc/conf.d/net



-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user]  Re: pppoe-start problem
  2006-09-26 15:01   ` Stephen Liu
@ 2006-09-26 15:17     ` Marc Blumentritt
  2006-09-26 15:18     ` [gentoo-user] " Boyd Stephen Smith Jr.
  1 sibling, 0 replies; 7+ messages in thread
From: Marc Blumentritt @ 2006-09-26 15:17 UTC (permalink / raw
  To: gentoo-user

Hi Stephen,

Stephen Liu schrieb:
>> I thought the new baselayout handled 
>> pppoe (and other ppp connections) just like normal connections:
>> 1. Configure in /etc/conf.d/net
> 
> /etc/conf.d/net is a file
> 
> # cat /etc/conf.d/net
> config_eth0=( "192.168.0.2 netmask 255.255.255.0 brd 192.168.0.255" )
> routes_eth0=( "default gw 192.168.0.1" )
> config_eth0=( "dhcp" )
> 
>> 2. Symlink net.$IFACE to net.lo
> net.lo is on /etc/init.d/
> 
> What is "net.$IFACE"?  Tks.
> 

I read in the last weeks some of your posts and I have to ask: Did you
ever read once the Gentoo Handbook [1]? A lot of your questions you
could have answered yourself, if you have read it, like setting up your
network. Please read it completly. It is written for beginners in Gentoo
 and as a reference!

No insult intended.
Marc

[1] http://www.gentoo.org/doc/en/handbook/index.xml

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] pppoe-start problem
  2006-09-26 15:01   ` Stephen Liu
  2006-09-26 15:17     ` [gentoo-user] " Marc Blumentritt
@ 2006-09-26 15:18     ` Boyd Stephen Smith Jr.
  2006-09-27 10:18       ` Stephen Liu
  1 sibling, 1 reply; 7+ messages in thread
From: Boyd Stephen Smith Jr. @ 2006-09-26 15:18 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1411 bytes --]

On Tuesday 26 September 2006 10:01, Stephen Liu <satimis@yahoo.com> wrote 
about 'Re: [gentoo-user] pppoe-start problem':
> # cat /etc/conf.d/net
> config_eth0=( "192.168.0.2 netmask 255.255.255.0 brd 192.168.0.255" )
> routes_eth0=( "default gw 192.168.0.1" )
> config_eth0=( "dhcp" )

Yeah, this doesn't have any configuration for your ppp0 device.  Please 
read /etc/conf.d/net.example for how to properly configure your pppoe 
connection using the new baselayout.

> > 2. Symlink net.$IFACE to net.lo
>
> net.lo is on /etc/init.d/
>
> What is "net.$IFACE"?  Tks.

$IFACE stands in for the interface (IFACE) name.  E.g. lo, eth0, or ppp0.

On my computer:
$ ls /etc/init.d/net.* -l
lrwxrwxrwx 1 root root     6 Aug 27 01:17 /etc/init.d/net.br0 -> net.lo
lrwxrwxrwx 1 root root     6 Sep 15 21:17 /etc/init.d/net.eth0 -> net.lo
lrwxrwxrwx 1 root root     6 Aug  2 02:11 /etc/init.d/net.eth1 -> net.lo
-rwxr-xr-x 1 root root 30341 Sep 15 23:00 /etc/init.d/net.lo

I belive you'll need to have a net.eth0 that is a symlink to net.lo as well 
as a net.ppp0 that is a symlink to net.lo.

Before we go any further, what version of baselayout are you using?

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] pppoe-start problem
  2006-09-26 15:18     ` [gentoo-user] " Boyd Stephen Smith Jr.
@ 2006-09-27 10:18       ` Stephen Liu
  2006-09-27 20:01         ` Boyd Stephen Smith Jr.
  0 siblings, 1 reply; 7+ messages in thread
From: Stephen Liu @ 2006-09-27 10:18 UTC (permalink / raw
  To: gentoo-user

Hi Boyd,

Gentoo_amd64
gnome-light

> I belive you'll need to have a net.eth0 that is a symlink to net.lo as well 
> as a net.ppp0 that is a symlink to net.lo.

> Before we go any further, what version of baselayout are you using?

# equery l baselayout
[ Searching for package 'baselayout' in all categories among: ]
 * installed packages
[I--] [  ] sys-apps/baselayout-1.12.5 (0)
* * *  end   * * * 

Not installed.

B.R.
SL






-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] pppoe-start problem
  2006-09-27 10:18       ` Stephen Liu
@ 2006-09-27 20:01         ` Boyd Stephen Smith Jr.
  0 siblings, 0 replies; 7+ messages in thread
From: Boyd Stephen Smith Jr. @ 2006-09-27 20:01 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 961 bytes --]

On Wednesday 27 September 2006 05:18, Stephen Liu <satimis@yahoo.com> wrote 
about 'Re: [gentoo-user] pppoe-start problem':
> > Before we go any further, what version of baselayout are you using?
>
> # equery l baselayout
> [ Searching for package 'baselayout' in all categories among: ]
>  * installed packages
> [I--] [  ] sys-apps/baselayout-1.12.5 (0)
> * * *  end   * * *
>
> Not installed.

???

Your output clearly shows that sys-apps/baselayout-1.12.5 is installed.  
So, you are using version 1.12.5 of baselayout.

In that case my advices are correct.  Please configure your ppp0 device 
in /etc/conf.d/net following the documentation in /etc/conf.d/net.example 
are respond with any specific questions.

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-09-27 20:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-26  8:18 [gentoo-user] pppoe-start problem Stephen Liu
2006-09-26 13:29 ` Boyd Stephen Smith Jr.
2006-09-26 15:01   ` Stephen Liu
2006-09-26 15:17     ` [gentoo-user] " Marc Blumentritt
2006-09-26 15:18     ` [gentoo-user] " Boyd Stephen Smith Jr.
2006-09-27 10:18       ` Stephen Liu
2006-09-27 20:01         ` Boyd Stephen Smith Jr.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox