LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-15-2010, 09:45 AM   #1
OscarBunson
LQ Newbie
 
Registered: Dec 2010
Posts: 6

Rep: Reputation: 0
cannot access internet and cannot download firefox 3.6.12 - help!


Totally new to linux so any help appreciated. I have an acer aspire one notebook (I gather firefox 2 is interwoven on the system?!?!). Anyway, keep pressing firefox icon and it churns over put nothing happens. I found the following advice on another site: (Sorry this is so long, but I wanted to give you as much info for you to help me)

Press Alt+F2 to show the Run program window. Check Run in terminal, leave the input field blank, and click Run to open a terminal. If you're not familiar with the Linux command line just follow the instructions step by step. The easiest way is to simply paste the commands into the terminal with Ctrl+Shift+V. Most of them will only give feedback if an error occurs.

The first command uses wget to download Firefox 3.6 from an official mirror. You can edit the lang variable at the end, in this case en-US, if you'd like another language. All available languages are listed here, just hover over the download link to get the language code from the status bar.

wget -N "http://download.mozilla.org/?product=firefox-3.6&os=linux〈=en-US"

The next step extracts the just downloaded file and modifies a link to point to it. In a few cases a connection refused error message may be triggered by sudo, which is not an error but a bug in sudo and can be safely ignored.

sudo tar -jxf firefox-3.6.tar.bz2 --directory /opt
sudo chown user -R /opt/firefox
sudo ln -fs /opt/firefox/firefox /usr/bin/firefox

The next step links all plug-ins (not to be confused with extensions) to it.

sudo ln -s /usr/lib/mozilla/plugins/* /opt/firefox/plugins

Launch the profile manager using the command below. Create a new profile, name it anything you like and select it. If you want to keep your bookmarks export them via the bookmark manager first. You can then delete the old default profile.

firefox -profilemanager -no-remote

As a bonus you can also change the icon to the official Firefox icon.

sudo sed '/Icon/ s/acs_//' -i /usr/share/applications/linpus-web.desktop

Finally reboot the AA1 to make the desktop aware of the new icon and browser location.



However when I try the above I get the following responses at each point:

--14:19:11-- http://download.mozilla.org/?product...E2%8C%A9=en-US
=> `index.html?product=firefox-3.6&os=linux�%8C�=en-US'
Resolving download.mozilla.org... 63.245.209.58, 63.245.209.58
Connecting to download.mozilla.org|63.245.209.58|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
14:19:11 ERROR 404: Not Found.


2nd response: [user@localhost ~]$ sudo tar -jxf firefox-3.6.tar.bz2 --directory /opt
tar: firefox-3.6.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
[user@localhost ~]$ sudo chown user -R /opt/firefox
chown: cannot access `/opt/firefox': No such file or directory
[user@localhost ~]$ sudo ln -fs /opt/firefox/firefox /usr/bin/firefox

3rd response: [user@localhost ~]$ sudo ln -s /usr/lib/mozilla/plugins/* /opt/firefox/plugins
ln: target `/opt/firefox/plugins' is not a directory
[user@localhost ~]$

4th response: [user@localhost ~]$ firefox -profilemanager -no-remote
bash: firefox: command not found


I do now have a new icon on the desktop! but still no internet. Any help would be greatly appreciated.
 
Old 12-15-2010, 10:03 AM   #2
BryanM77
LQ Newbie
 
Registered: Oct 2008
Posts: 9

Rep: Reputation: 1
You will find it easier to get help if you say which Linux variety you are using. The major ones are Ubuntu, Fedora and OpenSUSE. You do not need to use the command line to install Firefox on these distributions because they all have package managers which do the job for you.
BryanM77
 
1 members found this post helpful.
Old 12-15-2010, 10:04 AM   #3
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Arch
Posts: 3,013

Rep: Reputation: 1225Reputation: 1225Reputation: 1225Reputation: 1225Reputation: 1225Reputation: 1225Reputation: 1225Reputation: 1225Reputation: 1225
You have a typo in the url of wget command, it should be

Code:
wget -N "http://download.mozilla.org/?product=firefox-3.6&os=linux&lang=en-US"
 
1 members found this post helpful.
Old 12-15-2010, 12:28 PM   #4
OscarBunson
LQ Newbie
 
Registered: Dec 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Oh my goodness, thank you ntubski - its works. And I was even then able to install 3.6.13 because 3.6.12 is already out of date! The firefox page did however say that I should now download Adobe flash player. I clicked on the drop down menu and selected .tar.gz (I have no idea what this means at all but it was the same ending as the stuff for firefox). So I've now got the flash thing in my 'downloads' but I don't know what to do next through the 'run programme window'.

Any further help would be appreciated.

Last edited by OscarBunson; 12-15-2010 at 12:29 PM.
 
Old 12-23-2010, 05:07 PM   #5
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Arch
Posts: 3,013

Rep: Reputation: 1225Reputation: 1225Reputation: 1225Reputation: 1225Reputation: 1225Reputation: 1225Reputation: 1225Reputation: 1225Reputation: 1225
tar.gz is sort of like a zip file, to extract the contents you can run
Code:
tar -vxzf file.tar.gz
There should be a README or INSTALL file with instructions inside.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox cannot access INTERNET from FEDORA11 dazzyrock Linux - Newbie 8 09-08-2009 11:16 AM
Firefox error messagewhen try to access internet witchcat Linux - Newbie 7 07-29-2009 01:50 PM
Firefox can not access the internet sharkus Linux - Software 8 07-30-2007 01:57 AM
download restriction over internet access using squid (proxy server) pankajkarde Linux - Server 4 03-21-2007 02:04 AM
Download clogs up the internet access max_sipos Linux - General 2 08-03-2004 11:07 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration