Ubuntu wont see internet with DHCP disabled on router

Asked by Jake Stockwin

we recently brought a NAS box for our home network.
We wanted to access this over the internet, however our internet setup is such that we have a box on the roof, which our ISP controlls, and a router downstairs. We had to reconfigure this, so that our router only acted as a switch/access point, and the box on the roof is the DHCP server and also sorts out the NAT. The ethernet cable that comes in from the box on the roof has to be put in a LAN slot of our router (1 of four which would normally be connected to computers)
Everything seemed to be working fine, our router is the same IP as the box on the roof, and is effectively invisible.
I am the only person using ubuntu in my house, and everyone elses computer works fine. However i cannot access the internet.

When i use another computer (win 7/xp) and type in 192.168.1.1, i get the interface of the box on the roof, which is what should happen. However on my laptop with ubuntu, i get the interface of the router downstairs. I can use our intranet problem free, but the internet just is not there on my laptop.
I have plugged my laptop in to the router downstairs, restarted everything and checked connections to no effect.
Any ideas?

thanks

jake

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-nettool Edit question
Assignee:
No assignee Edit question
Solved by:
Jake Stockwin
Solved:
Last query:
Last reply:
Revision history for this message
Jake Stockwin (jstockwin) said :
#1

Hi again

Just a quick update,

still having the same problem
however every now and again the internet will appear. I have no idea what i am doing, but it just seems to appear, and when i type in 192.168.1.1, i get the interface of the box on the roof as i should and it all works correctly
however later on it will be gone again.
Once i got the internet 5 mins after logging on, but once it was half an hour, and sometimes it never seems to

It all seems a bit strange to me, also my mobile when using WiFi never seems to connect, maybe there is just a wrong setting on the router? but then surely the other computers wouldnt work either?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Can you ping 8.8.8.8?

Revision history for this message
Federico Tello Gentile (federicotg) said :
#3

Maybe this is what you need.

http://kutuma.blogspot.com/2007/11/changing-default-gateway-using-network.html

You have to set up 192.168.1.1 as your default gateway.

Revision history for this message
Jake Stockwin (jstockwin) said :
#4

Hi guys

thanks for responses

i had to set the router and the box on the roof to different IPs, and then set my default gateway to the box on the roof

problem solved, probably wasn't particularly a linux thing, so sorry about that

thanks anyway

jake