[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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
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.
Good Luck!
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.
...So finally, After a week's effort, I could solve my problem...So, to find out these 8 step, it took 8 days. But, now I have a smile that it is up and working.
Oh awesome! Way to go piyu_d!!!
There's a geek battle-cry for times like this;
w00t! w00t!
I'm ever so glad I could be of assistance.
Happy computing!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.