Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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 :
-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
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.
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
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?
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.
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:
Did you get replies? If so congratulations you are connected and just pinged google.com Now if that worked go ahead and try
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.
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?
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)
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.
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
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?
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.