LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Networking & Firefox issue (https://www.linuxquestions.org/questions/linux-software-2/networking-and-firefox-issue-4175579549/)

TBotNik 05-11-2016 03:12 PM

Networking & Firefox issue
 
All,

I run Kubuntu 14.04 on all my machines (8 desktops, 2 servers, 1 laptop), but recently my keyboard wiped out on my laptop, requiring a replacement.

Before the replacement, the keyboard was sometimes not firing when keys were pressed or otherwise sending strange characters.

Somewhere it sent characters that caused 2 problems:
  1. Networking is disabled,
  2. Firefox, when networking is up, can not see any "home" or index.* pages.

I can manually bring up networking but nothing sticks, that is on reboot, back to no network.

Thinking the networking issue might be a permissions thing as changes to the files do not seem to stick or are overwritten on reboot.

Not sure what file or config to look at in FireFox to fix that issue. Loaded Chrome Browser to prove that problem is isolated to just FF.

All help appreciated!

TBNK

ferrari 05-11-2016 03:37 PM

Are you using NetworkManager? Wireless or wired connectivity? Commands and output would give us a better picture. So, after you have booted but BEFORE you manually bring up the network, what is shown by the following

Code:

ip addr
Code:

ip route
If using NetworkManager, show
Code:

nmcli g
Code:

nmcli c
If it is just that your FF browser is not browse online content, check that File > Work Offline is not enabled.

TBotNik 06-09-2016 05:23 PM

ferrari,

I'm on eth0 wired for connection, but also must have wifi enabled as this is on my laptop, but bootup gives the "waiting 60 seconds for network, msg but does not connect on bootup. After 10-15 min network finally comes up, without the manual intervention, where I can ping, but the browser issue does not let me browse unless I know a specific non-home page.

Running ifconfig I get the following:

eth0 IP: 192.168.1.198

eth0:0 IP: 192.168.3.200

wlan0 nothing since not currently connected

nmcli g Gives an error of Object g unknown

nmcli c Give the last 2 wifi successful connects

Oh laptop is an Acer Aspire 7739 running Kubuntu 14.04!

Sorry for not answering sooner, had other issues of higher priority to deal with!

Cheers!

TBNK

ferrari 06-09-2016 06:07 PM

Okay, so you have two IP addresses assigned to eth0? Is that deliberate? Are they statically assigned? Gateway assigned? Can you ping it?

As well as the questions above, show
Code:

ip route

TBotNik 10-18-2016 06:52 PM

All,

OK found out that if the file:
/etc/network/interfaces
Contain a startup for WIFI (auto wlan0), then you always get the following 2 messages:

Waiting for Networking

Waiting another 60 seconds for Networking

and networking never comes up.

If you only have the default auto eth0 then networking comes up fine even if you are not using it and using WIFI instead.

To fix this I wrote this bash script:

***************************************************************************
Code:

#! /bin/bash

echo "Starting wLAN0!";
service networking restart;
service network-manager restart;

ifconfig wlan0 down;
wpa_supplicant -B -iwlan0 -c/etc/wpa_supplicant.conf -Dwext;
ifconfig wlan0 up;
iwconfig wlan0 ap {my MAC addr};
iwconfig wlan0 essid "My Wireless";
iwconfig wlan0 freq 2.412;

echo "Starting DHClient!"
dhclient wlan0;
ping -c 3 www.google.com;
echo "Wifi Connected!";

***************************************************************************

So this part solved and since I opened the part on the browser at:

http://www.linuxquestions.org/questi...nk-4175591291/

I'm marking this solved, but still pursuing the browser issue.

Cheers!

TBNK

ferrari 10-18-2016 07:58 PM

Yes, if NetworkManager is supposed to be controlling a given interface, then there should not be an entry for that interface in /etc/network/interfaces.


All times are GMT -5. The time now is 12:13 PM.