LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 08-14-2010, 11:36 PM   #1
piyu_d
LQ Newbie
 
Registered: Aug 2010
Location: Mumbai, India
Distribution: Ubuntu 10.04
Posts: 6

Rep: Reputation: 1
Not able to configure internet connection.


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 ?

Please help. Will be really thankful.

Piyush.
 
Old 08-15-2010, 02:08 AM   #2
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Greetingz!

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.
 
Old 08-15-2010, 02:11 AM   #3
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Visit this link it might be some help to solve you're problem
http://www.ubuntugeek.com/setting-up...in-ubuntu.html

Last edited by ronlau9; 08-15-2010 at 02:13 AM.
 
Old 08-15-2010, 05:05 AM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
pppoeconf is a commandline tool (available in at least 6.06 and 8.04; possible in later ubuntu versions as well)

If it's about pppoe, that's the program that your looking for; probably needs root permissions, so you need to use sudo.

It will scan the network ports for a modem and allow you to configure the required information.
 
Old 08-17-2010, 12:59 AM   #5
piyu_d
LQ Newbie
 
Registered: Aug 2010
Location: Mumbai, India
Distribution: Ubuntu 10.04
Posts: 6

Original Poster
Rep: Reputation: 1
Thanks Xeleema, ronlau9 and Wim Sturkenboom,

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.

Please help. Thanks for the support.
 
Old 08-17-2010, 12:58 PM   #6
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Quote:
Originally Posted by piyu_d View Post
...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'


Hell, if you get REALLY stuck, read this.

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.

Last edited by xeleema; 08-17-2010 at 01:03 PM.
 
Old 08-21-2010, 12:02 AM   #7
piyu_d
LQ Newbie
 
Registered: Aug 2010
Location: Mumbai, India
Distribution: Ubuntu 10.04
Posts: 6

Original Poster
Rep: Reputation: 1
Thumbs up

Thanks Xeleema

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.

Thank you all for the support.
 
Old 08-21-2010, 05:11 AM   #8
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Congratulations; not bad, one step per day on average ;-)

You can mark your thread as solved using the thread tools just above the first post
 
Old 08-21-2010, 05:27 PM   #9
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Quote:
Originally Posted by piyu_d View Post
...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!
 
  


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
how can i configure internet connection on ubuntu plateform lalitkumar Linux - Networking 1 03-26-2009 07:49 AM
How to permanently configure my internet connection? sashag Linux - Newbie 2 05-04-2008 01:30 PM
How can I configure internet connection vishudh Linux - Newbie 1 01-16-2008 02:43 AM
Cannot configure internet connection k1ll3r_x Linux - Hardware 4 02-13-2005 07:10 PM
configure dial up internet connection sanjaya Linux - Hardware 3 02-09-2004 12:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:00 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