[RP-PPPoE] pppoe-start problem in Slackware-current (13.37.0)

Hossein Movahhedian dma8hm1956 at gmail.com
Mon Apr 4 02:32:40 EDT 2011


     Hi All,

     I have already discussed this problen on Linuxquestions.org but as
I couldn't fix the problem I decided to ask for help here.

    Recently I have upgraded to Slackware-current (13.37.0) (fresh and
full installation). In Slackware-13.0 I used the following command to
bring up the ADSL connection:

`ifconfig eth0 down; pppoe-start /etc/ppp/pppoe.conf'

But in Slackware-current with the above command I cannot get name
resolution from the server. So after searching and some trial and
error I noticed that to bring up the ADSL connection in
Slackware-current I have to invoke `pppoe-start' twice as follows:

`ifconfig eth0 down; pppoe-start /etc/ppp/pppoe.conf'
`pppoe-start /etc/ppp/pppoe.conf.ORG'

where `pppoe.conf' is linked to `pppoe.conf.ORG'

    Any help would be gratefully appreciated.

    Thanks

My `/etc/ppp/options' contains: {{{

asyncmap 0
crtscts
lock
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
defaultroute
usepeerdns

}}}

and my `/etc/ppp/pppoe.conf' contains: {{{

ETH='eth0'
USER='ADSL_user'
DEMAND=no
DNSTYPE=SERVER
PEERDNS=yes
DNS1=
DNS2=
DEFAULTROUTE=yes
CONNECT_TIMEOUT=30
CONNECT_POLL=2
ACNAME=
SERVICENAME=
PING="."
CF_BASE=`basename $CONFIG`
PIDFILE="/var/run/$CF_BASE-pppoe.pid"
SYNCHRONOUS=no
CLAMPMSS=1412
LCP_INTERVAL=20
LCP_FAILURE=3
PPPOE_TIMEOUT=80
FIREWALL=STANDALONE
LINUX_PLUGIN=
PPPOE_EXTRA=""
PPPD_EXTRA=""

}}}

After the first run of `pppoe-start': {{{

$ ifconfig -a

eth0 Link encap:Ethernet HWaddr 00:14:85:EF:59:32
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::214:85ff:feef:5932/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:22 errors:0 dropped:1 overruns:0 frame:0
TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1863 (1.8 Kb) TX bytes:2087 (2.0 Kb)
Interrupt:21

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:419 errors:0 dropped:0 overruns:0 frame:0
TX packets:419 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:55053 (53.7 Kb) TX bytes:55053 (53.7 Kb)

ppp0 Link encap:Point-to-Point Protocol
inet addr:188.159.138.220 P-t-P:188.158.88.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:54 (54.0 b) TX bytes:61 (61.0 b)

$ cat /etc/resolve.conf

# Generated by dhcpcd from eth0
# /etc/resolv.conf.head can replace this line
nameserver 192.168.1.1
# /etc/resolv.conf.tail can replace this line

}}}

After the second run of `pppoe-start': {{{

$ ifconfig -a

eth0 Link encap:Ethernet HWaddr 00:14:85:EF:59:32
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::214:85ff:feef:5932/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:164 errors:0 dropped:1 overruns:0 frame:0
TX packets:159 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:98975 (96.6 Kb) TX bytes:16543 (16.1 Kb)
Interrupt:21

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:419 errors:0 dropped:0 overruns:0 frame:0
TX packets:419 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:55053 (53.7 Kb) TX bytes:55053 (53.7 Kb)

ppp0 Link encap:Point-to-Point Protocol
inet addr:188.159.138.220 P-t-P:188.158.88.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:105 errors:0 dropped:0 overruns:0 frame:0
TX packets:114 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:91453 (89.3 Kb) TX bytes:10185 (9.9 Kb)

ppp1 Link encap:Point-to-Point Protocol
inet addr:188.158.92.221 P-t-P:188.158.88.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:106 (106.0 b) TX bytes:61 (61.0 b)

$ cat /etc/resolve.conf

nameserver 89.165.40.13
nameserver 89.165.0.14

}}}


More information about the RP-PPPoE mailing list