LinuxQuestions.org
Visit Jeremy's Blog.
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-28-2010, 09:35 AM   #1
Orion721
LQ Newbie
 
Registered: Aug 2010
Posts: 3

Rep: Reputation: 0
Trouble with internet configuration


I'm having trouble configuring inernet on Linux. I'll explain the problem in detail. Here it is:

First, I'm using internet (DSL broadband) on windows and it's working perfectly fine but when I switch to Linux, it simply says there no wired connection.

I'm using Linux Ubuntu 9.10.

When I click on the internet connection, a list appears that I'm not very much aware of (using Linux for the first time). There is VPN connections, I went there and network connections box appear, with the tabs of "Wired", "Wireless", "Mobile BroadBand", "VPN", and "DLS". I clicked on DSL and create a connection with a name "Connection1" and configure it accordingly:

In the IPv4 setting tab, I went to manual setting (wasn't working on automatic setting) and I added Address, Network and Gateway addresses and the DNS server (same as in windows). There's another Search Domains option, what should I add there? What do I do? I'm in trouble!

And after doing this, there is still no internet connection.

How exactly should I configure? A detailed help would be highly appreciated.

Thanks.

P.S I've gone through a couple of older threads on this topic but they wouldn't help.
 
Old 08-28-2010, 10:48 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
"VPN" is "Virtual Private Network", which is not what you want at this stage, so you fell at the first hurdle.

If 9.10 didn't give you an internet connection at boot, when you had the ethernet cable plugged in, then it looks as though you are not physically connected to a router (which most of us are) as these will serve up all the information your PC needs to connect itself

My setup:

ISP--Phoneline---ADSLMODEM----Router-----LAN---PC1

What sort of box does the other end of your ethernet cable plug into? Does it have a name and model number? Who is your ISP?
 
Old 08-28-2010, 10:55 AM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Hi Orion and welcome,
Have you tried running (as root or use sudo) ifconfig from a terminal and see if you have an interface? If this is a wired connection then you should see something called "eth0". If you don't see it then could you post the contents of your /etc/network/interfaces file.
Cheers,
jdk
 
Old 08-28-2010, 12:31 PM   #4
Orion721
LQ Newbie
 
Registered: Aug 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for replies.

Ok, There is an Auto etho0 connection and I configured it and it also got connected. It says that wired connection active, but it's not browsing. What could be the problem? It's giving the information like speed 100 kpbs and all, but I can't browse. What going on now? When I switch to windows with the same connection it works perfectly well.
 
Old 08-28-2010, 05:09 PM   #5
Orion721
LQ Newbie
 
Registered: Aug 2010
Posts: 3

Original Poster
Rep: Reputation: 0
???
 
Old 08-29-2010, 12:31 AM   #6
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by Orion721 View Post
Thanks for replies.

Ok, There is an Auto etho0 connection and I configured it and it also got connected. It says that wired connection active, but it's not browsing. What could be the problem? It's giving the information like speed 100 kpbs and all, but I can't browse. What going on now? When I switch to windows with the same connection it works perfectly well.
You can now try
Code:
ifconfig eth0 up
as root or using sudo. This link may prove useful.
cheers,
jdk
 
Old 08-29-2010, 12:54 AM   #7
pkhera_2001
Member
 
Registered: Mar 2006
Location: New Delhi, India
Distribution: Fedora, CentOS, RHEL, Ubuntu
Posts: 67

Rep: Reputation: 18
Hi Orion, these steps might help you troubleshooting:
a. ping localhost : To verify your local host/network interface working status.
b. ping <default gateway IP address> : My default gateway ip address is 192.168.1.1 so i use ping 192.168.1.1 and i get the reply from
default gateway.
c. ping <google.com> : If above two steps works perfectly and you get response then you should look to ping some public/internet
address, i use to poing google.com.

These steps will help to analyze and identify the problem area. If it fails at step "a." then you need to check your Network Interface Card, it's drivers, configuration etc.
If it fails at step "b." then you need look into Netwrok Inteface Cards's IP, Netmask and default gateway configuration settings and check that your ADSL router is up and responding, also check physical connectivity, led light at your machine's NIC.
If it fails at steps "c." then you need to look at your ADSL modem/router's configuration, NAT/Bridge configuration of your ADSL Model/router, status of ADSL router etc.

Thanks,
 
Old 08-29-2010, 02:22 AM   #8
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Have you tried unplugging the power to the router to reset the default gateway? It removes the password from internet service. Either that or go to routerlogin.net.
 
Old 08-29-2010, 04:48 AM   #9
HardTech
LQ Newbie
 
Registered: Aug 2010
Posts: 4

Rep: Reputation: 0
You might have DNS problems. Try to use a public DNS such as that of OpenDNS or Google public DNS.

Open DNS
208.67.222.222
208.67.220.220

Google Public DNS
8.8.8.8
8.8.4.4

Last edited by HardTech; 08-29-2010 at 04:49 AM.
 
  


Reply


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
trouble with NIC configuration bryanlg2000 Fedora 4 10-20-2007 01:11 PM
X Configuration trouble. metalsam Linux - Desktop 2 09-26-2006 04:51 AM
Kernel Configuration Trouble insane_machine SUSE / openSUSE 9 07-05-2006 02:20 AM
Trouble with network configuration MANBREE Linux - Networking 9 03-28-2006 07:53 AM
ALSA Configuration Trouble gregwill Linux - Hardware 1 12-12-2004 12:30 PM


All times are GMT -5. The time now is 07:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration