public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] pppoe connect problem after updates
@ 2006-06-05  0:13 Philip Webb
  2006-06-05  2:15 ` fei huang
  2006-06-05 23:21 ` [gentoo-user] pppoe connect problem : more Philip Webb
  0 siblings, 2 replies; 3+ messages in thread
From: Philip Webb @ 2006-06-05  0:13 UTC (permalink / raw
  To: Gentoo User

I've just spent several hours trying permutations to get ADSL to connect
after updating to Baselayout-1.12.0 & Ppp-2.4.3 .
I've read  /etc/conf.d/net.example  & copied what seem the needed lines :

  config_eth0=( "192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255" )
  config_ppp0=( "ppp" )
  link_ppp0="eth0"
  plugins_ppp0=( "pppoe" )
  username_ppp0='user@isp'
  pppd_ppp0=( "updetach" "noauth" "defaultroute" "usepeerdns" "persist" )

I've also made the symlink : 'cd /etc/init.d ; ln -s net.lo net.ppp0'.

There are no boot error msgs, the "start eth0" line returns "ok"
& the "start ntpd" line also says "ok", but the connection isn't made.
The 1st "ok" comes back very quickly -- 2 - 3 seconds -- ,
whereas a successful connection normally takes 10 seconds.

I have no problem when I return to using Rp-pppoe-3.8
(after changing to my old version of 'net' & removing the symlink).

When I emerged Ppp-2.4.3 it gave warnings that I do not have
 CONFIG_PPP_DEFLATE  &  CONFIG_PPP_BSDCOMP  in my kernel (2.6.14).
Before I recompile the kernel, can anyone confirm that might be the problem ?

There's nothing useful on the Forum & I've exhausted my own thoughts:
does anyone have any other useful suggestions ?

-- 
========================,,============================================
SUPPORT     ___________//___,  Philip Webb : purslow@chass.utoronto.ca
ELECTRIC   /] [] [] [] [] []|  Centre for Urban & Community Studies
TRANSIT    `-O----------O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] pppoe connect problem after updates
  2006-06-05  0:13 [gentoo-user] pppoe connect problem after updates Philip Webb
@ 2006-06-05  2:15 ` fei huang
  2006-06-05 23:21 ` [gentoo-user] pppoe connect problem : more Philip Webb
  1 sibling, 0 replies; 3+ messages in thread
From: fei huang @ 2006-06-05  2:15 UTC (permalink / raw
  To: gentoo-user

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

On 6/5/06, Philip Webb <purslow@sympatico.ca> wrote:
>
> I've just spent several hours trying permutations to get ADSL to connect
> after updating to Baselayout-1.12.0 & Ppp-2.4.3 .
> I've read  /etc/conf.d/net.example  & copied what seem the needed lines :
>
>   config_eth0=( "192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
> )
>   config_ppp0=( "ppp" )
>   link_ppp0="eth0"
>   plugins_ppp0=( "pppoe" )
>   username_ppp0='user@isp'
>   pppd_ppp0=( "updetach" "noauth" "defaultroute" "usepeerdns" "persist" )
>
> I've also made the symlink : 'cd /etc/init.d ; ln -s net.lo net.ppp0'.


your config looks  not  correct,  I remember there should be  a line  like
something ( "adsl") in it, my config contains no more than three lines.
we might have different version though, just follow the gentoo guide
regarding to this topic, it really make sense.

There are no boot error msgs, the "start eth0" line returns "ok"
> & the "start ntpd" line also says "ok", but the connection isn't made.
> The 1st "ok" comes back very quickly -- 2 - 3 seconds -- ,
> whereas a successful connection normally takes 10 seconds.


I don't exactly know how that works, wrong parameters, I think.

I have no problem when I return to using Rp-pppoe-3.8
> (after changing to my old version of 'net' & removing the symlink).
>
> When I emerged Ppp-2.4.3 it gave warnings that I do not have
> CONFIG_PPP_DEFLATE  &  CONFIG_PPP_BSDCOMP  in my kernel (2.6.14).
> Before I recompile the kernel, can anyone confirm that might be the
> problem ?


I think  you must already have  chosen the  PPPOE option while compile the
kernel, otherwise, the previous version might not work properly either,
Nevertheless, you may check option within that warning in your kernel config
file to make sure.

There's nothing useful on the Forum & I've exhausted my own thoughts:
> does anyone have any other useful suggestions ?
>
> --
> ========================,,============================================
> SUPPORT     ___________//___,  Philip Webb : purslow@chass.utoronto.ca
> ELECTRIC   /] [] [] [] [] []|  Centre for Urban & Community Studies
> TRANSIT    `-O----------O---'  University of Toronto
> --
> gentoo-user@gentoo.org mailing list
>
>
good luck

daniel

[-- Attachment #2: Type: text/html, Size: 3652 bytes --]

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

* Re: [gentoo-user] pppoe connect problem : more
  2006-06-05  0:13 [gentoo-user] pppoe connect problem after updates Philip Webb
  2006-06-05  2:15 ` fei huang
@ 2006-06-05 23:21 ` Philip Webb
  1 sibling, 0 replies; 3+ messages in thread
From: Philip Webb @ 2006-06-05 23:21 UTC (permalink / raw
  To: Gentoo User

060604 Philip Webb wrote:
> I've just spent several hours trying permutations to get ADSL to connect
> after updating to Baselayout-1.12.0 & Ppp-2.4.3 .
> I've read  /etc/conf.d/net.example  & copied what seem the needed lines :
> 
>   config_eth0=( "192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255" )
>   config_ppp0=( "ppp" )
>   link_ppp0="eth0"
>   plugins_ppp0=( "pppoe" )
>   username_ppp0='user@isp'
>   pppd_ppp0=( "updetach" "noauth" "defaultroute" "usepeerdns" "persist" )
> 
> I've also made the symlink : 'cd /etc/init.d ; ln -s net.lo net.ppp0'.
> There are no boot error msgs, the "start eth0" line returns "ok"
> & the "start ntpd" line also says "ok", but the connection isn't made.
> The 1st "ok" comes back very quickly -- 2 - 3 seconds -- ,
> whereas a successful connection normally takes 10 seconds.
> I have no problem when I return to using Rp-pppoe-3.8
> (after changing to my old version of 'net' & removing the symlink).

I recompiled the Kernel (2.6.14) to add the  2  compression types
& still get no success connecting using PPP alone.
Syslog gives the following (omitting date + 'localhost') :

using PPP alone : fails

  16:08:32 kernel: ReiserFS: hda9: Using r5 hash to sort names
  16:08:36 kernel: skge eth0: enabling interface
  16:08:38 kernel: skge eth0: Link is up at 10 Mbps, half duplex, flow control none
  16:08:41 ntpd[4137]: ntpd 4.2.0a@1.1190-r Sat Feb  4 09:05:38 EST 2006 (1)
  16:08:41 ntpd[4137]: precision = 1.000 usec
  16:08:41 ntpd[4137]: Listening on interface wildcard, 0.0.0.0#123
  16:08:41 ntpd[4137]: Listening on interface eth0, 192.168.0.2#123
  16:08:41 ntpd[4137]: Listening on interface lo, 127.0.0.1#123
  16:08:41 ntpd[4137]: kernel time sync status 0040

using Rp-pppoe : succeeds : additional lines marked :

  16:13:03 kernel: ReiserFS: hda9: Using r5 hash to sort names
  16:13:07 kernel: skge eth0: enabling interface
>>16:13:07 pppd[3932]: pppd 2.4.3 started by root, uid 0
>>16:13:07 pppd[3932]: Using interface ppp0
>>16:13:07 pppd[3932]: Connect: ppp0 <--> /dev/pts/0
  16:13:09 kernel: skge eth0: Link is up at 10 Mbps, half duplex, flow control none
>>16:13:12 pppoe[3933]: PADS: Service-Name: ''
>>16:13:12 pppoe[3933]: PPP session is 6907 (0x1afb)
>>16:13:16 pppd[3932]: PAP authentication succeeded
>>16:13:16 kernel: PPP BSD Compression module registered
>>16:13:16 pppd[3932]: local  IP address 70.49.170.21
>>16:13:16 pppd[3932]: remote IP address 64.230.197.176
>>16:13:16 pppd[4070]: Can't open options file /etc/ppp/peers/noauth: No such file or directory
  16:13:20 ntpd[4310]: ntpd 4.2.0a@1.1190-r Sat Feb  4 09:05:38 EST 2006 (1)
  16:13:20 ntpd[4310]: precision = 1.000 usec
  16:13:20 ntpd[4310]: Listening on interface wildcard, 0.0.0.0#123
  16:13:20 ntpd[4310]: Listening on interface lo, 127.0.0.1#123
>>16:13:20 ntpd[4310]: Listening on interface ppp0, 70.49.170.21#123
  16:13:20 ntpd[4310]: kernel time sync status 0040

Before I submit a bug report, does anyone have any suggestions ?

-- 
========================,,============================================
SUPPORT     ___________//___,  Philip Webb : purslow@chass.utoronto.ca
ELECTRIC   /] [] [] [] [] []|  Centre for Urban & Community Studies
TRANSIT    `-O----------O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2006-06-05 23:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-05  0:13 [gentoo-user] pppoe connect problem after updates Philip Webb
2006-06-05  2:15 ` fei huang
2006-06-05 23:21 ` [gentoo-user] pppoe connect problem : more Philip Webb

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