LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-24-2015, 03:28 PM   #1
AlaricWood
LQ Newbie
 
Registered: Apr 2014
Posts: 28

Rep: Reputation: Disabled
Iceweasel


I run Debian 6 on an intel i3 chip with integrated graphics. I now have three web sites that won't work on Iceweasel and they are all essential to me. The Debian forum tells me I need to change the user agent string but no one seems willing to tell me where to find it or what string I need to insert. Someone suggested the useragent add on but it is not available for my version of Iceweasel which appears to be up to date.

When I asked for more info I was told if I couldn't do that I shouldn't be using Linux. Since I have used it successfully for about fifteen years I thought that was a bit unkind.

Where do I find the string and what do I replace it with.

I used one of the suggested programmes to find out what string my browser is using but it doesn't tell me where to find the string. The current string is quite long. It starts with Mozilla 5/ and then contains a lot more including Iceweasel and then Mozilla branch in brackets.

I can't upgrade to Jessie until I have time to do a major upgrade of my machine as the i3 graphics won't handle any Debian version or derivative or for that matter Susie or Fedora.

Thanks

Alaric
 
Old 10-24-2015, 03:30 PM   #2
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Rep: Reputation: Disabled
Try adding general.useragent.override under about:config.
 
Old 10-24-2015, 04:56 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,090

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
install the FF mozilla plugin "user agent switcher "

if you told us WHAT sites then maybe we could help

for example
Microsofts Hotmail required InternetExplorer 8 and windows7
"user agent switcher " plugin can be set to report that


https://addons.mozilla.org/en-us/fir...gent-switcher/

but "squeeze" is getting a bit old
this coming February is the END of the long term support and LTS security updates
-- less than 4 months

and IS your rebuild of firefox( iceweasel) the current one ?
ff-38 esr is the current long term support

Last edited by John VV; 10-24-2015 at 05:03 PM.
 
Old 10-24-2015, 05:50 PM   #4
AlaricWood
LQ Newbie
 
Registered: Apr 2014
Posts: 28

Original Poster
Rep: Reputation: Disabled
Thanks. The sites ar internet banking on BNZ, Xero and Computershare. The useragent plugin will not install. It asks if I trust it and when I answer yes it tells me that it can't be installed.
 
Old 10-24-2015, 06:07 PM   #5
AlaricWood
LQ Newbie
 
Registered: Apr 2014
Posts: 28

Original Poster
Rep: Reputation: Disabled
Sorry, I lost the reply somehow half way through.

I know Wheezy is old but I can't run Jessie or any Debian deriviative on an i3. Suse crashes in the same way and Fedora won't install.
 
Old 10-24-2015, 08:59 PM   #6
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, Fedora & Arch mostly.
Posts: 2,339

Rep: Reputation: 631Reputation: 631Reputation: 631Reputation: 631Reputation: 631Reputation: 631
Quote:
Originally Posted by AlaricWood View Post
I know Wheezy is old but I can't run Jessie or any Debian deriviative on an i3. Suse crashes in the same way and Fedora won't install.
Why? I have Jessie on a machine that's FAR weaker than an i3 (celeron N2840). What makes it unable to run?
 
Old 10-24-2015, 09:14 PM   #7
rokytnji
LQ 5k Club
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 17 , ChromeOS
Posts: 5,076
Blog Entries: 20

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
This one
Code:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.<OS build number>
Makes it look like I am running Windows 10 while posting Iceweasel.
 
Old 10-24-2015, 09:17 PM   #8
rokytnji
LQ 5k Club
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 17 , ChromeOS
Posts: 5,076
Blog Entries: 20

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
This one
Code:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.1
Makes it look like I am running Windows 7 in Iceweasel.
 
Old 10-25-2015, 03:44 AM   #9
AlaricWood
LQ Newbie
 
Registered: Apr 2014
Posts: 28

Original Poster
Rep: Reputation: Disabled
Sorry, you have lost me. Typing about:com in the location bar brings up articles about it in Mozilla Zine. It does not bring up a list of preferences.

I have read through the list of options under my default profile. None of them seem to include the string which appears from the help menu if I select 'about'. Is my default profile where I should add the suggested string?

Regarding use of Jessie on an i3, I do not know why it won't work. I only know that the system runs for a variable period and then the display crashes and brings xorg down so there is no longer any input from keyboard or mouse and a power reset is needed.

I have tried all the Debian derivatives I know about, Suse, Fedora, Centos, Arch Linux and the same thing happens though Suse and Mint ran longer than anything else.

Xubuntu ran with an Nvidia card plugged in but crashed as soon as I tried to add another piece of software. Fedora runs the install programme but crashes when it asks me to restart the system. I haven't tried Mageia.

The Debian forum could not help me over the display problem though someone on it suggested that SandyBridge and i3 were new and might not be supported by the kernal.

Alaric
 
Old 10-25-2015, 04:34 AM   #10
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 5,802

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
alaric,
don't panic.

first of all, it's a little difficult because we don't know which iceweasel version you're running.
might be a bit old if you're running wheezy.
(and i, too, agree that your computer should be able to run a current distro)

open a new tab and type "about:addons" in the url bar.
then put "useragent" into the search field.
try to install "User-Agent Switcher".
get familiar with it.
next time a web page doesn't load, try to override the user agent with one of the strings provided in this thread by e.g. rokytnji.

if that doesn't work:

open a new tab and type "about:config" in the url bar.
do what rinndalir suggested in post #2, with one of the strings suggested by e.g. rokytnji.

disclaimer:
right now this is just a suspicion about what's wrong with your browser or those web pages.
actual links would be good for troubleshooting!
also your iceweasel version.
 
Old 10-25-2015, 07:33 AM   #11
cynwulf
Senior Member
 
Registered: Apr 2005
Location: Walsall, England
Distribution: OpenBSD
Posts: 1,919
Blog Entries: 5

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
Quote:
Originally Posted by AlaricWood View Post
The Debian forum tells me I need to change the user agent string but no one seems willing to tell me where to find it or what string I need to insert.
Sorry about that. It's likely because no one knows how - posting put downs, snark and chastisement in order to appear clever is what passes for experience over there. Was once a great forum, not any more.

First close the browser completely - make sure there are no running instances.

Open a terminal and:
Code:
$ cd ~/.mozilla/firefox/
$ ls -1
("firefox directory may be called "iceweasel", can't remember)

You should see two objects - a directory and a config file:
Code:
<random alphanumerics>.default/
profiles.ini
Next enter the following*
Code:
$ cd <random alphanumerics>.default
*Where "<random alphanumerics>" instead type the name of the directory.

Finally, using the user agent string for windows 7/firefox posted by rokytnji as an example, enter:
Code:
$ echo '/* user agent string override*/\nuser_pref("general.useragent.override", "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.1");' >> user.js
Restart the browser and visit a site like this just to check it's working: https://duckduckgo.com/?q=useragent&ia=answer

Last edited by cynwulf; 10-25-2015 at 07:47 AM. Reason: typos
 
Old 10-25-2015, 05:58 PM   #12
AlaricWood
LQ Newbie
 
Registered: Apr 2014
Posts: 28

Original Poster
Rep: Reputation: Disabled
Thanks I have copied it down and will try it. Iceweasel is 3.5.16 according to the help menu.

With regard to the graphics problem, when it first happened I thought it was a fault in the monitor. I have Dell monitor S2009 W which came with an Acer box which cooked two days after the guarantee expired. It was in a cheap and too small case and I assume overheated as it melted down.

I tried this idea on the forum and was told it wasn't the monitor. However Wheezy does not recognize it and uses a generic driver. Jessie does recognize it and I suspect uses the wrong driver. I can't see any other explanation if the i3 is capable of running Jessie, I might have another go at running Xorg -configure. I think I will need to set up the keyboard to use ^ alt backspace to kill xorg as configure won't run if xorg is up and running.

One suggestion was to change the driver from vesa to intel

Alaric
 
Old 10-25-2015, 06:41 PM   #13
rokytnji
LQ 5k Club
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 17 , ChromeOS
Posts: 5,076
Blog Entries: 20

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
Just some little teaching

Code:
$ apt-cache policy iceweasel
iceweasel:
  Installed: 42.0~b7-1
  Candidate: 42.0~b7-1
  Version table:
 *** 42.0~b7-1 0
        500 http://mozilla.debian.net/ experimental/iceweasel-beta i386 Packages
        100 /var/lib/dpkg/status
     38.2.1esr-1~deb8u1 0
        500 http://ftp.us.debian.org/debian/ testing/main i386 Packages
     22.0~b1-1~bpo70+1 0
        500 http://antix.daveserver.info/testing/ testing/main i386 Packages
$ cat /etc/debian_version
stretch/sid
This netbook I am posting from is a touchscreen (but single core atom n270 instead of I3).

Code:
$ lspci -nnk | grep -i VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GSE Express Integrated Graphics Controller [8086:27ae] (rev 03)
$ cat /proc/bus/input/devices
<snip to remove uneeded readout that takes up code tag space>
I: Bus=0003 Vendor=22b9 Product=0006 Version=0101
N: Name="eTurboTouch eTurboTouch"
P: Phys=usb-0000:00:1d.3-1/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.0/0003:22B9:0006.0001/input/input2
U: Uniq=
H: Handlers=mouse0 event1 
B: PROP=0
B: EV=1b
B: KEY=c01 0 0 0 0 0 0 0 0 0 0
B: ABS=3
B: MSC=10

I: Bus=0003 Vendor=22b9 Product=0006 Version=0101
N: Name="eTurboTouch eTurboTouch"
P: Phys=usb-0000:00:1d.3-1/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.0/0003:22B9:0006.0001/input/input3
U: Uniq=
H: Handlers=mouse1 event2 js0 
B: PROP=0
B: EV=1b
B: KEY=70000 0 0 0 0 0 0 0 0
B: ABS=3
B: MSC=10
<snip above not to be confused with the touchpad below>
I: Bus=0011 Vendor=0002 Product=0007 Version=01b1
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input15
U: Uniq=
H: Handlers=mouse2 event15 
B: PROP=1
B: EV=b
B: KEY=420 0 3000f 0 0 0 0 0 0 0 0
B: ABS=11000003
<snip no more relevant readout needed here>
You won't have this next command in Vanilla Debian.

Code:
harry@antix1:~
$ inxi -zv7
System:    Host: antix1 Kernel: 3.16.0-4-686-pae i686 (32 bit gcc: 4.8.4)
           Desktop: IceWM 1.3.8+githubmod+20150914+fa3fdef dm: slim
           Distro: antiX-15-beta1-V_386-full Killah P 16 March 2015
Machine:   System: Intel product: Intel powered classmate PC v: 3rd Gen
           Mobo: QCI model: Intel powered classmate PC v: 3rd Gen
           Bios: Phoenix v: HP94510A.86A.0035.2009.0427.2020 date: 04/27/2009
CPU:       Single core Intel Atom N270 (-HT-) cache: 512 KB
           flags: (nx pae sse sse2 sse3 ssse3) bmips: 3192
           clock speeds: min/max: 800/1600 MHz 1: 800 MHz 2: 1600 MHz
Memory:    Using dmidecode: you must be root to run dmidecode
Graphics:  Card: Intel Mobile 945GSE Express Integrated Graphics Controller
           bus-ID: 00:02.0 chip-ID: 8086:27ae
           Display Server: X.Org 1.17.2 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1024x600@60.00hz
           GLX Renderer: Mesa DRI Intel 945GME x86/MMX/SSE2
           GLX Version: 2.1 Mesa 10.6.8 Direct Rendering: Yes
Audio:     Card Intel NM10/ICH7 Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0 chip-ID: 8086:27d8
           Sound: Advanced Linux Sound Architecture v: k3.16.0-4-686-pae
Network:   Card-1: Realtek RTL8101E/RTL8102E PCI Express Fast Ethernet controller
           driver: r8169 v: 2.3LK-NAPI port: 2000
           bus-ID: 02:00.0 chip-ID: 10ec:8136
           IF: eth0 state: down mac: <filter>
           Card-2: Ralink RT2870/RT3070 Wireless Adapter
           driver: rt2800usb v: 2.3.0 usb-ID: 001-004 chip-ID: 148f:3070
           IF: wlan0 state: N/A mac: N/A
           WAN IP: <filter> IF: eth0 ip: N/A ip-v6: N/A
           IF: wlan0 ip: <filter> ip-v6: <filter>
Drives:    HDD Total Size: 60.0GB (26.4% used)
           ID-1: /dev/sda model: TOSHIBA_MK6028GA size: 60.0GB serial: Y8EMW5AWW
           Optical: No optical drives detected.
Partition: ID-1: / size: 15G used: 6.3G (47%) fs: ext4 dev: /dev/sda1
           label: antiX15root uuid: 66edc50e-9cb4-4d92-a5a0-0ac3c1c6a84c
           ID-2: /media/_data size: 37G used: 4.8G (14%) fs: ext4 dev: /dev/sda5
           label: /data uuid: e3728887-6e16-4261-b727-4772665997e9
           ID-3: swap-1 size: 4.24GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
           label: N/A uuid: 382f5510-30a9-4453-abf2-ed218834396d
RAID:      No RAID data: /proc/mdstat missing-is md_mod kernel module loaded?
Unmounted: No unmounted partitions detected
Sensors:   System Temperatures: cpu: 44.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 116 Uptime: 1:47 Memory: 372.4/2012.9MB
           Init: SysVinit v: 2.88 runlevel: 5 default: 5
           Gcc sys: 5.2.1 alt: 4.8/4.9
           Client: Shell (bash 4.3.421 running in roxterm) inxi: 2.2.28 
harry@antix1:~
$ inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list.d/antix.list
           deb http://antix.daveserver.info/testing/ testing main nosystemd
           Active apt sources in file: /etc/apt/sources.list.d/debian.list
           deb http://ftp.us.debian.org/debian/ testing main contrib non-free
           deb http://security.debian.org/ testing/updates main contrib non-free
           Active apt sources in file: /etc/apt/sources.list.d/liquorix.list
           deb http://liquorix.net/debian/ sid main
           Active apt sources in file: /etc/apt/sources.list.d/opera-developer.list
           deb http://deb.opera.com/opera-developer/ stable non-free
           Active apt sources in file: /etc/apt/sources.list.d/siduction.list
           deb http://packages.siduction.org/base/ unstable main contrib non-free
           Active apt sources in file: /etc/apt/sources.list.d/various.list
           deb http://mozilla.debian.net/ experimental iceweasel-beta
           deb http://debs.slavino.sk/ testing main non-free
But it sure makes posting specs easy.
http://www.binarytides.com/inxi-syst...rmation-linux/
 
Old 10-26-2015, 03:58 AM   #14
cynwulf
Senior Member
 
Registered: Apr 2005
Location: Walsall, England
Distribution: OpenBSD
Posts: 1,919
Blog Entries: 5

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
Also, I forgot to mention, you must upgrade to the version of iceweasel in the backports repository. It's old but not as old as the version in Debian squeeze repositories.

http://backports.debian.org/Instructions/

If you get no luck with that and the user agent change, then the next step is to purge iceweasel and just install and use binary firefox.

Alternatively you could upgrade to wheezy and get a much newer iceweasel version (and use the same user agent change).
 
Old 10-26-2015, 01:25 PM   #15
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 5,802

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Quote:
Originally Posted by AlaricWood View Post
Iceweasel is 3.5.16 according to the help menu.
i have a wheezy-based distro in a vm, and its iceweasel version is 31.4.0
so something seriously doesn't compute here.
 
  


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
[SOLVED] iceweasel repo qrange Debian 10 09-07-2012 04:04 AM
LXer: If you’re running Iceweasel 4.0.1 from mozilla.debian.net, change your sources to Iceweasel 5. LXer Syndicated Linux News 0 06-23-2011 01:40 AM
The open with dialog in iceweasel is not opening iceweasel! ck_at_work Linux - General 6 11-09-2010 01:49 AM
iceweasel since1993 Linux - Newbie 2 08-28-2009 11:31 PM
Iceweasel 3.5 craigevil Debian 1 07-09-2009 05:21 AM


All times are GMT -5. The time now is 01:23 PM.

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