LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-11-2016, 03:12 PM   #1
TBotNik
Member
 
Registered: May 2016
Location: Greenville, TX
Distribution: Kubuntu 18.04
Posts: 796

Rep: Reputation: Disabled
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

Last edited by TBotNik; 05-11-2016 at 03:18 PM.
 
Old 05-11-2016, 03:37 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,791

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
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.
 
Old 06-09-2016, 05:23 PM   #3
TBotNik
Member
 
Registered: May 2016
Location: Greenville, TX
Distribution: Kubuntu 18.04
Posts: 796

Original Poster
Rep: Reputation: Disabled
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

Last edited by TBotNik; 06-09-2016 at 05:26 PM.
 
Old 06-09-2016, 06:07 PM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,791

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
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
 
Old 10-18-2016, 06:52 PM   #5
TBotNik
Member
 
Registered: May 2016
Location: Greenville, TX
Distribution: Kubuntu 18.04
Posts: 796

Original Poster
Rep: Reputation: Disabled
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
 
Old 10-18-2016, 07:58 PM   #6
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,791

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
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.
 
  


Reply



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] Thunderbird 17.0.3 & Firefox 19.0 Issue Mobile1 Slackware 9 02-21-2013 05:17 PM
UMUC WebTyco Issue with Firefox & JS1.5 cwej Ubuntu 9 01-04-2008 01:30 PM
Firefox&Java Issue jimmydgeek DamnSmallLinux 3 11-19-2005 08:10 PM
Wine & A networking Issue xrekonx Fedora 3 03-29-2004 07:17 PM
Linux & Windows Networking Issue Stephanie Linux - Networking 4 08-22-2001 11:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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