Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-02-2013, 02:33 PM
|
#1
|
Member
Registered: Oct 2013
Location: Kent, UK
Distribution: Debian
Posts: 63
Rep:
|
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.
|
|
|
11-02-2013, 03:17 PM
|
#2
|
Member
Registered: Oct 2013
Location: Kent, UK
Distribution: Debian
Posts: 63
Original Poster
Rep:
|
If it gives any clues I installed wpa_gui too and there's no change using it.
|
|
|
11-02-2013, 06:02 PM
|
#3
|
Member
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 893
Rep:
|
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.
|
|
|
11-02-2013, 09:02 PM
|
#4
|
Member
Registered: Oct 2013
Location: Kent, UK
Distribution: Debian
Posts: 63
Original Poster
Rep:
|
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
|
|
|
11-02-2013, 09:16 PM
|
#5
|
Member
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 893
Rep:
|
I'm glad its resolved, Pleaes mark the thread as solved so other can use this information for future references.
|
|
|
All times are GMT -5. The time now is 05:45 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|