LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-25-2006, 11:56 PM   #1
Gzou
Member
 
Registered: Apr 2006
Location: Quebec, Canada
Distribution: Xubuntu, Zenwalk, Slax, Gentoo
Posts: 39

Rep: Reputation: 15
PPPoE problem, internet does not work


Hello everyone, I'm gzou

As the title of the post says, I have a problem with my internet connection when using Roaring penguin on Xubuntu and Slackware. Here's an explanation of the problem:

On my Computer presently I have 3 OSes installed :

-Windows XP
-XUbuntu 5.10
-Slackware 10.2 (just finished installing)

As for with Windows, Everything works fine. I installed the software, followed the instruction panphlet and everything works.
My problem is with Slackware and (partially) Xubuntu.

I live in Quebec, Canada and Subscribed to the Sympatico DSL internet service. What they did was to send me a box with (what I suppose is) A DSL modem that connects into my Ethernet port, A CD-ROM to install the drivers and software for Windows XP, and a manual of instructuons.

I installed The software and all that stuff on Windows XP and the internet connection works fine. My problem came when I wanted to make my internet connection work for Linux.

In Xubuntu, all I had to do was run a script called "pppoeconf", answer a few questions about my username, password, MRY clamping, and Voila ! I write "pon dsl-provider" in a console, start up Firefox and browse the web. So far so good, right ? Wrong !

What is a bit nagging is that each time I restart the computer un Xubuntu, do the pon dsl-provider trick, the internet connection fails. I have to re-execute the pppoeconf script everytime to make the connection work.

So I went browsing around the web a bit to find a solution and came upon the "Roaring penguin" software. I downloaded the source tarball, compiled it with no problems, configured it, typed pppoe-start, yet firefox won't work !

Here's what I did to check that my connection was working : I typed ifconfig ppp0, and from what i can tell the connection is up (I can see an IP andress, DNS Mask and it's the same than in Windows XP) but when I start up Firefox nothing shows up, the little circle keeps spinning on and "Looking for www.google.com" shows up at the bottom of the screen. So I type pppoe-stop, then go through pppoeconf, and suprisingly, Internet works again !

So, from what I can tell, when I connect through the pppoeconf script native to Ubuntu, Internet works. But when I try through Roaring penguin, It doesn't. I tried comparing the configuration files for Roaring penguin and pppoeconf (which isn't that easy since they're not written in the same format) and from what I can tell the only differences between the files is the "noipdefault" and "noauth" options(found in the pppoeconf config file) I also noticed that in pppoeconf they only ask for my username wether as in Roaring penguin they ask to add "@sympatico.ca" to the user name. I did try adding @sympatico.ca in roaring penguin, but it made no diffrence.

At first I thought "Oh well, I'll just have to run pppoeconf everytime I boot into linux" but that was a while ago. Now i'm interested in trying out new linux distros so I installed Slackware 10.2 from CD.

What do I discover ? Slackware uses Roaring penguin ! "oh gosh, I hope it won't do the same thing as in Ubuntu". Alas, even after running pppoe-conf, I get the same situation as In ubuntu: ifconfig shows an IP adress and all that, but Firefox just spins into the void.

I tried looking on google a bit but any relevant information wasn't really clear. So I thought of this Lovely Forum and all it's users

So, What I mainly want to know is :

1. What is the damn problem in all this ?
2. How Do I get PPPoE internet working in Slackware ? (using Roaring penguin if possible)
3. Is there a way to settle my problem with the pppoeconf script that I need to do every time I reboot Ubuntu ?

I'm sorry for the long post, But I tried to put any information that I thought relevant. I'm not posting any terminal output code in this post otherwise it'll be too long. But if ever you need me to copy info from configuration files, I'll be happy to

Thanks In advance !
 
Old 09-26-2006, 10:47 AM   #2
Galaxy_Stranger
Member
 
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 239

Rep: Reputation: 36
With DSL - no matter which OS you're using, the pppoe software has to log you in before you can get online. PPPOE is a popular method of user authentication for DSL. The reason you don't have to worry about reconnecting in XP is probably because of the way XP handles the connection. XP has PPPOE software built-in and doesn't like new PPPOE software by 3rd parties. You probably have XP configured to automatically open that network connection - which has your userID and password so it can connect. So, basically, XP treats it like any other network connection.

So, it would make sense that that process hasn't been automated for you in Linux. What you could do is have the script run on bootup, then you don't need to worry about aything.
 
Old 09-26-2006, 10:38 PM   #3
Gzou
Member
 
Registered: Apr 2006
Location: Quebec, Canada
Distribution: Xubuntu, Zenwalk, Slax, Gentoo
Posts: 39

Original Poster
Rep: Reputation: 15
Sorry if I seem a bit plain, but I don't understand too much...

Correct me if i'm wrong, but from my point of view, getting roaring penguin to start at bootup won't change anything. The connect script works fine, I type "pppoe-start", see a few dots and then "Connected !" and with ifconfig ppp0 I see the right IP adress. I checked both pppoe.conf and pap-secrets and they have the right same User Name and password that I use in XP and Ubuntu that work. So the connecting part seems fine. What isn't working is when I try to browse A site With Firefox or Mozilla: I enter a URL and nothing happens, not even any messages saying the it can't find the URL.

But thanks anyway for the input about the network connection

Any other ideas ?
 
Old 09-26-2006, 11:33 PM   #4
herofaith
LQ Newbie
 
Registered: Sep 2006
Location: Beijing China
Distribution: RedHat freeBSD solaris
Posts: 2

Rep: Reputation: 0
Maybe the problem is DNS resolving. Make sure your DNS server is working normally. Two files about DNS are /etc/resolv.conf and /etc/host.conf

Wish this is helpful to you.
 
Old 01-16-2007, 06:36 PM   #5
hope1
LQ Newbie
 
Registered: Nov 2006
Posts: 10

Rep: Reputation: 0
Firefox QWEST DSL problem

I am also having a Firefox browser, torrent, reppository "failure to connect problem; when I was in Colorado, the wireless worked flawlessly, (neighbor's unsecured wireless ESSID unknown) but I have Qwest DSL, I called they siad they don't support Linux. Not matter what I do, I get an error: "temporary failure resolving" torrent, DNS. When I ping I get 100% packet loss. What is strange, I can connect to my web mail. Would you be kind enough to explain what this means, & how to fix it?

TIA, Mike
 
Old 01-16-2007, 08:49 PM   #6
Galaxy_Stranger
Member
 
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 239

Rep: Reputation: 36
It means that, for whatever reason, you're not connected to anything. Many things can be the cause of this. Plus, PPPoE with DSL just complicates things.

To connect to DSL, you have a DSL modem that connects to your computer. Your computer then uses PPPoE client software that logs in to the service provider. Some DSL providers offer DSL modems that also act as a router, which may also contain the PPPoE software. If this is the case, then you simply need to connect your laptop to the router in order to access the internet.

As Herofaith mentions, it could easily be a DNS problem. In order to troubleshoot this at all, you'd need to include much more detailed information about your setup.
 
Old 01-16-2007, 08:57 PM   #7
walkerboh
LQ Newbie
 
Registered: Jan 2007
Location: Kansas
Distribution: Slackware 11.0
Posts: 7

Rep: Reputation: 0
It mainly sounds like the DNS servers aren't getting resolved when you make the PPPoE connection in Linux. One way you could check this for sure is after you connect in Linux do a couple ping tests. First start off with this:

ping 72.14.207.99

Did you get replies? If so congratulations you are connected and just pinged google.com Now if that worked go ahead and try

ping google.com

Depending on the failure such as "ping request could not resolve host" it's just a DNS issue, otherwise there are other possibilities as to what is going on.

Other thing, I know most DSL providers these days are handing out actual "routers" to customers (including the provider I work for). Most of the time you should be able to access the interface for the router through a browser ie. Firefox and manually configure your username and password for the PPPoE connection within the box itself. Then that would eliminate the need for having to deal with PPPoE software as it would be just like handling a normal network connection at that point in time.
 
Old 01-22-2007, 02:40 PM   #8
skannloh
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Rep: Reputation: 0
configure pppoe in ubuntu

My problem is with configuring pppoe in ubuntu 6.06. The message appears "but the access concentrator of you isp did not respond" How to work around that problem to get a connection. Ubuntu is installed alongside with winxp in my computer. I have also downloaded rp-pppoe on my winxp desktop but how to get it transfered to ubuntu is another problem for me. Any can help please?
 
Old 01-23-2007, 09:44 AM   #9
Gzou
Member
 
Registered: Apr 2006
Location: Quebec, Canada
Distribution: Xubuntu, Zenwalk, Slax, Gentoo
Posts: 39

Original Poster
Rep: Reputation: 15
when the access concentrator doesn't respond it's usually sign that your pppoe modem isn't well connected. Make sure that there aren't any wires that are loose, that your modem is well plugged into the phone line, that the modem is on, and that the "DSL" light (or equivalent) on your modem is there. If after checking all that it still gives you the same error then there are a few things you can do:

first, what is the configure script you are using ? ubuntu has its own pppoe configuring utility called pppoe-conf (or something like that, but I can't remember right now what it is, just open a terminal, type pppoe, then hit tab twice and it should show you a list of commands.) and you shouldn't need to install rp-pppoe from source.

secondly, you can try typing "ifconfig" in a terminal and look in the list to see if your ethernet card is active (if you have just one ethernet card then you look for eth0)

if it is, then try typing:

sudo ifconfig eth0 down
sudo ifconfig eth0 up

then try configuring your connection again.

another thing that could possibly mix up your connection is if you have a wireless card that's trying to connect to a wireless network at the same time.

Now, if you still insist on trying to transfer rp-pppoe from windows, then you can either copy rp-pppoe onto a diskette, burn it on a CD,or even copy it on a USB key. Personally, since I transfer a lot of documents between win XP and Linux I reduced my Linux partition a bit (using a program like Gparted, usr at your own risk) and made a FAT32 partition. Both Linux and Windows are able to see the FAT32 partition. Otherwise, Ubuntu, with a standard install, can read NTFS partitions, but it's more risky copying directly from NTFS to Ubuntu, and I don't recommend it.

Yet here again, if you really insist, you can go check in /media, maybe the NTFS partition is already mounted. Otherwise:

CAUTION !!!!! THIS IS VERY RISKY AND NOT RECOMMENDED, USE ONLY IF ABSOLUTELY NECESSARY

sudo fdisk -l (to see which hda windows is on, usually hda1)

sudo mkdir /media/windows
sudo mount -t ntfs /dev/hdax /media/windows ro (where x is the number of the hda where windows is)
 
Old 01-24-2007, 12:49 AM   #10
skannloh
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Rep: Reputation: 0
Thanks for the info.
I types sudo pppoeconf and the configuration problem detected the etho card ( I have only one ethernet card and no wireless setup). And then while the program scan access concentractor, it failed to find one so that is where the configuration ends.
I will try to follow your second part later.
 
Old 01-24-2007, 03:20 PM   #11
hope1
LQ Newbie
 
Registered: Nov 2006
Posts: 10

Rep: Reputation: 0
QWEST dose not support pppoe please advise

Still can not connect to Qwest DSL using a ACTIONTEC GT704-WG
Using a friends cable/dsl BRESNAN cable connects no problem, but with QWEST DSL, it shows 100% on eth1 (wireless), eth2 (wired). What setting with-in the modem/ router need to be changed, or is there some config. script that has to run? Please advise

TIA
 
Old 01-24-2007, 08:58 PM   #12
skannloh
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Rep: Reputation: 0
HI Gzou,
I follow the step by step suggestion to reconfigure my pppoe but I still get the same error message. It recongnize the eth0 all the time but just fail to pass the scanning (for access concentractor). The funny thing is I do it once with my adsl modem off and still with the same outcome. Any suggetion?
 
Old 02-02-2007, 02:53 AM   #13
skannloh
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Rep: Reputation: 0
I think I have to give up using ubuntu 6.06. This is my first attempt to use linux distro and hope that I can make the switch completely. Thanks to all those who have offered help.
 
Old 04-19-2007, 05:30 PM   #14
UhhMaybe
Member
 
Registered: Jul 2004
Location: Salt Lake City, Utah
Distribution: Absolute 12.0 Studio 64 1.3.0
Posts: 470

Rep: Reputation: 30
Cool

There are two types of ADSL. One is the original, PPPoE, around awhile...and Linux Distros include PPPoE in some flavors. The newer one is PPPoA, and some ISP's only, YES only, use PPPoA. The E is for Ethernet. The A is for ATM AAL5. Ubuntu is a Great Distro. It includes PPPoE. I run PPPoA, because my ISP only uses PPPoA. So I had to stop using Ubuntu. Check with YOUR ISP for details. They may not support Linux, but they will answer all YOUR questions about their services.
 
  


Reply

Tags
access, dsl, modem, pppoe, ubuntu


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
internet connection on pppoe viksd2kin Linux - Networking 3 09-17-2006 04:56 AM
Getting internet to work (PPPoE client on modem) BBB Linux - Networking 2 06-24-2006 05:31 AM
internet with pppoe behind a router mdk2k Linux - Hardware 1 04-25-2004 09:55 PM
internet sharing pppoe using 1 nic problem bashrc2 Linux - Networking 2 02-06-2004 04:17 AM
PPPoE: Can't connect to the internet chord1000 Fedora 10 12-02-2003 09:38 PM


All times are GMT -5. The time now is 05:54 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration