I have just loaded UBUNTU OS and I cannot get firefox to browse

I have loaded UBUNTU onto a PC. I am not in any way familar with linux. The OS is using firefow as a browser. I have attached the PC to a router which is running DCHP. The network within UBUNTU is picking up a correct IP address and dns. The router has an ip of 192.168.1.1, the PC has ip of 192.168.1.2 with subnet 255.255.255.0.
I can ping any url eg bbc.co.uk, or google.com etc. I cannot browse to bbc.co.uk or any other url. I can however go to google home page by entering its ip address (66.264.93.104 or 64.233.186.99, but cannot browse to bbc.co.uk using 212.58.224.131 or any variation of bbc.co.uk. Also if i search google for bbc it displays the search results but wont let me browse to these. This is true for all sites I have tried.
wmccourtAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
andylockranConnect With a Mentor Commented:
You've been sensible in downloading a LTS release, however, there was new one released at the beginning of may - Hardy Heron 8.04 LTS.

It'll be better if you do a fresh install, as the upgrade path is via all the intermediate versions.

www.ubuntu.com has the latest news and information.  Also 'loco' teams (localised community support) are fantastically helpful, and I'm a member of #ubuntu-uk to pass back the help they gave me.

Keep me updated on how you're getting on.
0
 
nociSoftware EngineerCommented:
From your description i gather that your name resolution is not working.

You might need to setup your modem as a DNS client correctly or you still need to add the DNS to your ubuntu config.

The first depends on your modems configuration options & capabilities. (I assume that if it is setup correctly it will transport the data throught DHCP.)

If the data is not setup by DHCP, then you can configure the setup yourself:

1) Use the modem as DNS server ...

edit /etc/resolv.conf to contain:
---8<---
domain yourprivate.domain       # or local
search 192.168.1.1
---8<---

2) Setup the DNS
---8<---
domain yourprivate.domain       # or local
search <dns.server1.addr.ess>
search <dns.server2.addr.ess>
---8<---

Where <dns.serverX.addr.ess> is replaced with the IP address that your
provider issued.

If this doesn't work out, please provide the original content of these files.
...

You can check the workings of DNS resolution through the 'dig' tool.

dig google.com          - should provide the dns answer & query data.
dig -x 66.264.93.104 - should provide the backward translation.
0
 
wmccourtAuthor Commented:
Hi Noci

Thanks for taking the time to reply to my question. I have tried to take your advice - however the text editor tells me I do not have write permissions to alter the resolve.conf file. I have tried to change these permissions however the owner is set to 'root'. I have tried logging in as 'root' but dont know the UBUNTU default password for root.
Any ideas?
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
owensleftfootCommented:
Just use the sudo command and your own password ie sudo gedit, when it asks for a password put in your own. Thats the way it works for root access in ubuntu.
0
 
wmccourtAuthor Commented:
Hi All,

The sudo command did the trick. However still cant browse. Will take me to google.com using the ip but not the name. No other web site available by name. I can browse to the router address for maintnenance.

Contents of resolve.conf is:-
domain mccnet
search 212.85.249.148
search 212.85.249.130 (these are ip of my ISP dns servers)
nameserver 192.168.1.1 (my router IP)

The original contents of this file were as above but without the 'search' lines
I have attached the results of the dig command below.
ubuntu.txt
0
 
nociSoftware EngineerCommented:
Please note the name is: resolv.conf
NOT resolve.conf (it's a leftover from the time when names had to be short....)


0
 
wmccourtAuthor Commented:
Sorry, just a typo
0
 
andylockranCommented:
wmccourt.

Now that you have resolv.conf set up correctly - try running the dig tool again.

dig www.google.com

any luck?
0
 
wmccourtAuthor Commented:
Hi All,
see attached file of dig results. Also content of resolv.conf. (Both attached files are txt files showing contents). I can receive e-mail, but not sednd, I can ping bbc.co.uk but not browse, i can ping google.com, but not browse, I can browse to googles ip adress and even search on it, but not browse to any resulting sites. I can use firefox to browse to my router and make changes to it. By the way the router also acts as my router on a separate windows sbs network and is fine.

help!!
dig-stuff.txt
resolv.conf.txt
0
 
andylockranCommented:
Ok, so the dig command makes it look like DNS is working properly.

In Firefox 3 that's:

Edit>Preferences>Advanced>Network>Settings>Auto-detect Network Settings.

Let me know if you can't find the same settings in your version.
0
 
wmccourtAuthor Commented:
hi andylockran
It appears I have V1.5.0.5 of firefox.
Under edit - preferences-general-connection settings,
I have the following choices -
direct internet connection
auto-detect proxy settings for this network,
or
manual proxy settings.
I have tried the 1st two with no luck.
0
 
andylockranCommented:
Which version of ubuntu are you running?  It would appear that you are quite far behind if you're still on version 1 (as version 3.0beta is the current version).

Perhaps it'd be better if you'd upgrade the whole system  - that may go some way to resolving your problem.

If you want help on doing this, feel free to contact me directly.
0
 
wmccourtAuthor Commented:
Hi andylockran

I'm using version 6.06lts which I downloaded about a week ago. should I look for a more recent version and if so what version number.

Thanks
0
 
wmccourtAuthor Commented:
Ok. I'm downloading V8.04 as we speak. How do I contact you again?. You get the points by way.
I'll close this when I get your contact info.
Thanks

Willy McCourt.
0
 
andylockranCommented:
email ubuntu@zrmt.com
0
 
wmccourtAuthor Commented:
Thanks

I'll get back to you

0
All Courses

From novice to tech pro — start learning today.