LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Ubuntu internet connection problem (https://www.linuxquestions.org/questions/ubuntu-63/ubuntu-internet-connection-problem-421333/)

cubbuk 03-03-2006 02:18 PM

Ubuntu internet connection problem
 
Hi,
I am connecting to internet through cable connection, I am using also a router, I can connect to internet with Windows and Pardus(linux based OS), I start to use Ubuntu 5.10, and I can ping my internet providers address(192.168.1.1) but can't connect to any other page, what should I do for repairing the connection? Thanks.

satinet 03-03-2006 02:36 PM

is dns working okay

do

"sudo nslookup www.google.com"

if that doesnt work then there is a problem....

cubbuk 03-03-2006 03:16 PM

Output of nslookup
;; reply from unexpected source: 195.175.37.14#53, expected 192.168.1.1#53
...
;; connection timed out, no servers could be reached

What could be the problem?

satinet 03-03-2006 03:18 PM

well there you go..

are you using dhcp~?

cubbuk 03-03-2006 03:23 PM

yes I try to conect with dhcp at least I should connect with dhcp

satinet 03-03-2006 03:26 PM

do the other OS's still work ok or are you only using ubuntu now?

sounds like your isp is having a problem with its dns, or more likely the settings are wrong on your dhcp server (a modem/firewall thing??)

cubbuk 03-03-2006 03:30 PM

Well I am usin g cable modem and distribujte it with a accesspoint( router) for my desktop and laptop on Windows and Pardus another linux based OS connection works fine but in Ubuntu it just doesn't work

satinet 03-03-2006 03:33 PM

hmm, wierd. have you tried a static address instead?

not sure why that would be.

did you do something wierd in netconfig?

cubbuk 03-03-2006 03:36 PM

no I didn't do anything, it just seem I am connected to net but can't ping anything different than 192.168.1.1

satinet 03-03-2006 03:39 PM

what is the output of "sudo netstat -nr"

check your gateway...

cubbuk 03-03-2006 03:41 PM

Destination Gateway
192.168.1.0 0.0.0.0
0.0.0.0 192.168.1.1

satinet 03-03-2006 03:44 PM

show the full output

personally i would try to reconfigure networking on that system, re run the scripts - go to ubuntu forums to check it out

cubbuk 03-03-2006 03:49 PM

Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

milan858 04-01-2006 12:58 PM

I saw that you said you could only ping 192.168.1.1

Do you have a Linksys router by any chance?

I do, and that is the default IP for their routers. It seems to me that you're pinging the router. But I can't be sure.

milan858 04-01-2006 01:38 PM

I'm currently running windows, trying to find a way to get online with linux.

I had a problem connecting using the router as well. Look on your wireless router and find the make/model and look for the manual online.
Also, open your web browser on the computer to which the router is wired and enter 192.168.1.1 into the address bar. If this is a Linksys, as I assume it is, a login box will pop up. Leave the username field blank and enter "admin" as the password. You will be brought to the router's configuration "site", you might call it. On the first page will be fields in which to type your internet login information. There are several types of connection to choose from (call your ISP to find out which you are). choose the correct one and enter the username and password you use to log in. It should then work, along with any other computers receiving a signal from the router.


All times are GMT -5. The time now is 01:29 AM.