PDA

View Full Version : [ubuntu] Problems Accessing Internet



nslatter
July 1st, 2011, 07:24 PM
I'm having some issues connecting to the internet with my newly installed ubuntu server 11.04. I can actually access the server from my internal network (I'm able to connect to it via ftp as well as ssh) but when I attempt to nslookup google.com, I get the error


;; connection timed out; no server could be reached.

/etc/network/interfaces

auto eth0
iface eth0 inet static
address 192.168.1.150
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

/etc/resolve.conf

nameserver 192.168.1.1

I'm just not sure what to attempt next.

Thanks in advance for any help.

collisionystm
July 1st, 2011, 07:27 PM
I'm having some issues connecting to the internet with my newly installed ubuntu server 11.04. I can actually access the server from my internal network (I'm able to connect to it via ftp as well as ssh) but when I attempt to nslookup google.com, I get the error


;; connection timed out; no server could be reached./etc/network/interfaces

auto eth0
iface eth0 inet static
address 192.168.1.150
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

/etc/resolve.conf

nameserver 192.168.1.1

I'm just not sure what to attempt next.

Thanks in advance for any help.

After you set your /etc/network to static, did you restart your networking services?


sudo /etc/init.d/networking restart

nslatter
July 1st, 2011, 07:32 PM
I did... a few times actually... :D

Thanks for the reply.

nslatter
July 1st, 2011, 10:12 PM
I ended up reinstalling the OS. This worked so I must have messed something up in the original install.