[SOLVED] Not able to configure internet connection.
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I am new to Linux. Just installed Ubuntu 10.04 few days back. The problem I am having is not able to connect to internet. Mine is direct cable connection using CAT5 cable terminted to my ethernet card. and I connect to the net using a dial-up connection. I think other end of the cable is terminated to a common switch.
I have tried searching it over net. The only thing I could figure out is that I have to do some configuration on pppoe (am i right?)
Are there any commands I have to enter or anything like we used to do in windows ?
Okay, I'm not exactly sure what kind of Internet connection you have. You mention "dial-up" and "Cat5" in the same sentance, so I'm assuming you have some sort of ADSL setup.
If that's the case, then I would suggest you look at how your Windows configuration is setup;
1) Do you have to launch any sort of custom software to connect to the Internet?
If so, then it's probably a PPPoE connection manager. There are many ways to setup a PPPoE connection, however I'm not an Ubuntu user myself.
It would be a good idea to ground yourself in the basics first, so hit up the Wikipedia article on PPPoE first.
2) If you don't need to launch a custom application to connect to the Internet, then check you're web browser's settings.
There's a chance it has a connection setup to use by default (I know it's possible to do that with Internet Explorer)
On the flip side, there may be a way to configure your ADSL modem to "listen" for a connection request, and do all the connection-building for you.
One more tip; Ubuntu seems to have a wizard or GUI setup for almost *everything*. Be sure to check the documentation for the Operating System.
P.S: If this helps, feel free to click the "Thanks" button on the bottom-right of this post.
I am not using any third party software or modem for connection. I connect using a dial up connection made by my ISP guy; putting ISP server name in dialling number.
I guess it is something to do with pppoeconf. I have tried configuring it and following the steps to create a connection. But while connecting I get the error of CHAP authetication failed. Is it something to do with chap-secret file?
Also, in windows, apart from username and paasword, there was field for dialling number. I used to put ISP server name there. I couldn't find such field here in linux. I think i need to configure my ISP server name somewhere.
...not using any third party software or modem for connection...
Ah! This is starting to sound more and more like a PPPoE setup!
Which is strange, because you mentioned that you think the other end of the Cat5 termintes at a switch. Connected to that switch should be an ADSL modem.
Is this a "Home" or "Office" setup? I would really suggest that you try to map-out and get a feel for the layout of your networking infrastructure. Mainly because, if there's an ADSL modem somewhere, and you have the only computer, then you should be A-OK.
Just to be on the safe side, pop open a command prompt and run 'ifconfig -a' and tell us the names of the NICs you have (eth0, eth1, lo, sip0, etc) and what IPs they have.
Note: if you get "command not found", then switch to root. If you still get "command not found" run 'updatedb && locate ifconfig | grep bin'
Don't forget to click the "Thank You" button on the bottom right-hand of any helpful posts.
(Other people's posts, not your posts) Everytime someone clicks it, a SysAdmin let's another HelpDesk monkey live.
So finally, After a week's effort, I could solve my problem. Following are things I did.
1. Run pppoeconf and followed the steps.
2. pppoe-discovery to get my ISP's ACNAME & SERVICENAME
3. pppoe-setup and followed the steps.
During this setup it gave the error of missing pppoe.conf file.
4. I downloaded a sample pppoe.conf file from a web site
5. again pppoe-setup and followed the steps.
6. Edit pppoe.conf to enter my ISP's ACNAME & SERVICENAME
7. pppoe-start to start my connection.
8. pppoe-stop to stop my connections.
So, to find out these 8 step, it took 8 days. But, now I have a smile that it is up and working.