LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-02-2013, 02:33 PM   #1
tpprynn
Member
 
Registered: Oct 2013
Location: Kent, UK
Distribution: Debian
Posts: 63

Rep: Reputation: 0
Firefox (Iceweasel) only reaches sites if launched with sudo


Debian 7.2 64 bit, 'standard' iso plus DWM Window Manager (I also decided to forego inputting a password for 'su' during install in favour of sudo).

I am using /etc/network/interfaces to connect via wireless as I'm using the minimal window manager DWM. I am in the middle of a visit to family and have put the right details I think into /etc/network/interfaces

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0

iface wlan0 inet dhcp
wpa-ssid xxxx
wpa-psk xxxx

At first it seemed Iceweasel wasn't working, that the wireless wasn't working. I randomly tried starting the browser with sudo iceweasel and lo and behold I could use sites. What's gone wrong here? There were a bewildering number of setups and I've stuck with this one as it almost works. The owner of the broadband here uses a Vista laptop using WPA2-Personal (AES not TKIP) as you can see. My netbook has no ethernet.

If permissions are relevant, ls -l for this file gives:

-rw-r--r-- 1 root root 154 Nov 2 18:04 /etc/network/interfaces

Iceweasel has been working fine with my mobile broadband dongle for a couple of weeks, without sudo.

groups [myname] gives:

[myname]: [myname] cdrom floppy sudo audio dip video plugdev scanner netdev bluetooth fuse

I should also say my other browser, the text-based Lynx, behaves the same - no go except with a sudo start, which I don't intend to adopt as a habit obviously.

"Iceweasel can't find the server at www..."

Thanks.

Last edited by tpprynn; 11-02-2013 at 02:46 PM.
 
Old 11-02-2013, 03:17 PM   #2
tpprynn
Member
 
Registered: Oct 2013
Location: Kent, UK
Distribution: Debian
Posts: 63

Original Poster
Rep: Reputation: 0
If it gives any clues I installed wpa_gui too and there's no change using it.
 
Old 11-02-2013, 06:02 PM   #3
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 893

Rep: Reputation: 119Reputation: 119
Can you ping a website or ip address from the user account?

Also check if the user has read permission for /etc/resolv.conf

From https://support.mozilla.org/en-US/kb...r-browsers-can

Quote:
IPv6

Firefox supports IPv6 by default, which may cause connection problems on certain systems. To disable IPv6 in Firefox:

In the Location bar, type about:config and press Enter.
The about:config "This might void your warranty!" warning page may appear. Click I'll be careful, I promise! to continue to the about:config page.
In the Search field, type network.dns.disableIPv6.
In the list of preferences, double-click network.dns.disableIPv6 to set its value to true.

DNS Prefetching

Firefox attempts to speed up loading new websites by using DNS Prefetching, which can cause page load errors with some system configurations. To disable DNS Prefetching:

In the Location bar, type about:config and press Enter.
The about:config "This might void your warranty!" warning page may appear. Click I'll be careful, I promise! to continue to the about:config page.
Right-click in the list of preferences, select New, and then select Boolean.
In the Enter the preference name window, enter network.dns.disablePrefetch and click OK.
Select true when prompted to set the value and click OK.

Last edited by jmc1987; 11-02-2013 at 06:12 PM.
 
Old 11-02-2013, 09:02 PM   #4
tpprynn
Member
 
Registered: Oct 2013
Location: Kent, UK
Distribution: Debian
Posts: 63

Original Poster
Rep: Reputation: 0
This is thankfully solved, and yes did involve disabling ipv6 but system-wide. See my last post here:

http://forums.debian.net/viewtopic.php?f=5&t=108609
 
Old 11-02-2013, 09:16 PM   #5
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 893

Rep: Reputation: 119Reputation: 119
I'm glad its resolved, Pleaes mark the thread as solved so other can use this information for future references.
 
  


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
Iceweasel: trouble viewing some sites JosephS Linux - Software 10 10-18-2012 01:27 AM
debian iceweasel: problem displaying sites on LQ crts LQ Suggestions & Feedback 2 06-01-2011 03:03 PM
why do some web sites seem not to work with iceweasel/firefox agasson Linux - Newbie 1 10-05-2009 10:57 AM
LXer: Qt Apps Community Sites Launched LXer Syndicated Linux News 0 04-28-2007 10:01 PM
LXer: Firefox reaches 20% market share in Europe LXer Syndicated Linux News 0 01-16-2006 01:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:45 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
Open Source Consulting | Domain Registration