LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Trouble with internet configuration (https://www.linuxquestions.org/questions/linux-newbie-8/trouble-with-internet-configuration-829007/)

Orion721 08-28-2010 09:35 AM

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.

tredegar 08-28-2010 10:48 AM

"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?

jdkaye 08-28-2010 10:55 AM

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

Orion721 08-28-2010 12:31 PM

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.

Orion721 08-28-2010 05:09 PM

???

jdkaye 08-29-2010 12:31 AM

Quote:

Originally Posted by Orion721 (Post 4080814)
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

pkhera_2001 08-29-2010 12:54 AM

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,

EDDY1 08-29-2010 02:22 AM

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.

HardTech 08-29-2010 04:48 AM

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


All times are GMT -5. The time now is 07:02 PM.