LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 08-24-2006, 06:56 PM   #1
grautu
Member
 
Registered: Jul 2005
Posts: 142

Rep: Reputation: 15
PPPoE strange behaviour


Hi!
Since changing my Internet provider, I've reconfigured the connection, from static IP, to PPPoE protocol. Now my Debian box works fine, but something goes wrong wiht my Slackware.
-------
Namely, after successfully configuring with pppoe-setup and then getting "Connected!" answer to pppoe-start command, no browser and no other software device can access the Internet. I mean the following:
(a) Neither Firefox nor Konquerror can open any web page (although my firewall is completely disabled);
(b) The ping command only get "unreacheable" answer.
(c) The traceroute command only get "unknown host" answer.
-------
However, the pppoe-status command produces a quite satisfactory answer. Here it is:
Code:
pppoe-status: Link is up and running on interface ppp0
              Link encap:Point-to-Point Protocol
              inet addr:xx.xxx.xx.xxx P-t-P:10.0.0.1 Mask 255.255.255.255
              UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
              RX packets:15 errors:0 dropped:0 overruns:0 frame:0
              TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0
              RX bytes:916 (916.0 b) TX bytes:69 (69.0 b)
It's critically important to mention that the concrete sequence "xx.xxx.xx.xxx" from above is just the IP address which my provider dynamically alocated to me at that moment (I know very well what I'm saying by this).
-------
Now I simply have no idea to go arround. Could anybody please help me anyway?
Grateful thanks in advance!
 
Old 08-24-2006, 09:51 PM   #2
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
Code:
P-t-P:10.0.0.1
That is strange. That means your ISP's ppp server is having a non valid network address. Anyhow, that might not be your problem.

Check whether your gateway is set properly. Use :
Code:
route
 
Old 08-24-2006, 10:10 PM   #3
whitesuit
LQ Newbie
 
Registered: Aug 2006
Distribution: Debian
Posts: 8

Rep: Reputation: 0
Have you tried

# route del default
# route add default ppp0

?
 
Old 08-25-2006, 05:32 AM   #4
grautu
Member
 
Registered: Jul 2005
Posts: 142

Original Poster
Rep: Reputation: 15
Hi!
Thanks carboncopy and whitesuit! I now have serious resons to hope that the problem will be solved thanks to your hints.
-------
The # route command (under Slackware box!) produced the following IP routing table:
Code:
Destination  Gateway      Genmask          Flags  Metric  Ref  Use  Iface
10.0.0.1        *         255.255.255.255   UH     0       0    0    ppp0
localnet        *         255.255.255.0     U      0       0    0    eth0
loopback        *         255.0.0.0         U      0       0    0    lo
default      yy.yyy.yy.y  0.0.0.0           UG     1       0    0    eth0
CRUCIAL REMARK: The concrete string "yy.yyy.yy.y" from above is clearly wrong since being the static Gateway provided to me by my former Internet provider (when I was its customer). Therefore the default route in my IP routing table is wrong. In order to see a functional default route I've run # route under my Debian box.
-------
Here is the (fully functional) IP routing table under my Debian box:
Code:
Destination  Gateway  Genmask          Flags  Metric  Ref  Use  Iface
10.0.0.1        *     255.255.255.255   UH     0       0    0    ppp0
10.10.0.0       *     255.255.252.0     U      0       0    0    eth0
default      10.0.0.1  0.0.0.0          UG     0       0    0    ppp0
-------
Now clearly I must run
Code:
# route del default
(under Slackware) and then run a suitable version
Code:
# route add default ????? !!!!! ppp0
where ????? should produce the 10.0.0.1 address as a gateway and consequent 0.0.0.0 Genmask, while !!!!! should tell that the next ppp0 string is the interface. Any way, I do have serious other reasons to guess that the 10.0.0.1 string from above is not an IP in the very sense of the word but a kind of "internal reading" imposed by my Internet provider.
Am I wrong? If not, could anybody please tell me the right ????? and !!!!! strings?
Thanks!
 
Old 08-25-2006, 12:12 PM   #5
grautu
Member
 
Registered: Jul 2005
Posts: 142

Original Poster
Rep: Reputation: 15
Solved!
The solution consisted in editing the configuration file /etc/ppp/pppoe.conf so as to have the following line
Code:
DEFAULTROUTE=yes
instead of "DEFAULTROUTE=no".
Thanks again for the useful hints I started with!
 
  


Reply



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
strange behaviour marsques Slackware 11 02-15-2006 06:05 PM
Strange Behaviour! joshuarowley LQ Suggestions & Feedback 1 12-08-2005 03:36 PM
Strange behaviour Anmol SUSE / openSUSE 2 10-27-2005 11:05 PM
Strange USB behaviour powadha Slackware 0 12-20-2003 03:24 PM
Strange Behaviour mikeyt_3333 Linux - General 4 08-06-2001 03:07 PM

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

All times are GMT -5. The time now is 09:22 PM.

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