LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-01-2011, 10:00 PM   #1
dma8hm1956
LQ Newbie
 
Registered: Jun 2008
Posts: 17

Rep: Reputation: 0
pppoe-start problem in Slackware-current (13.37.0)


Hi All,

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

}}}
 
Old 04-02-2011, 03:20 PM   #2
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware
Posts: 572

Rep: Reputation: 154Reputation: 154
Frankly, I do not know what is causing your problem and I am still on 13.1 here, but I had a look at my set-up. Perhaps you can have a look at your modem, open a web browser on its IP address and check DNS and DHCP settings. Try tweaking time-outs perhaps.

I hope this helps.

Chris
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware current x64 and KDE doesn't start? hsahin4 Slackware 6 02-02-2011 02:00 PM
Setting up pppoe over router on Slackware-Current Madlax22 Slackware 2 02-11-2010 10:35 AM
[SOLVED] Very Secure FTP (vsftpd) is refusing to start on Slackware Current WhisperiN Linux - Server 12 12-15-2009 12:29 AM
Firefox filing to start on slackware-current jam222 Slackware 5 02-22-2006 02:46 AM
slackware-current and nVidia drivers... X won't start mattlacey Slackware 9 05-31-2005 02:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration