LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-01-2017, 12:49 AM   #1
gunghang
Member
 
Registered: Sep 2013
Location: Inner Mongolia
Distribution: Linux Mint 17, Peppermint 6, others
Posts: 34

Rep: Reputation: Disabled
No ethernet connection on Lubuntu 17.04 - message says I'm connected


I just now got Lubuntu 17.04 to install, boot, and run on UEFI.

My ecstasy was short-lived.

I ran Firefox and it will not connect to anything.

I set up a DSL connection. The computer says I'm connected.

I tethered the computer to my phone. The computer says that Wired Connection 2 is active.

I'm ready to use my netbook as a Frisbee.

I would download lubuntu restricted extras, but, I can't get online.

Any ideas, anyone?
 
Old 06-01-2017, 01:32 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
What says ifconfig -a ?

Can you update your system?
 
Old 06-01-2017, 01:39 AM   #3
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by gunghang View Post
Any ideas, anyone?
Hi...

Can you ping out? Please open a terminal post the results of...

Code:
ping google.com
Also, please post the results of these commands, as well...

Code:
lspci -nnk | grep -i net -A2
Code:
ifconfig -a
Code:
sudo lshw -C display
Code:
dmesg | grep -iC 3 "eth0"
This will give us additional information concerning your ethernet device and possibly help us find a solution to your issue. You can simply save the results to a text file and then move the file to a thumb drive. Then you can transfer the file to a computer that has an internet connection.

Disclaimer: Be careful with commands that are prefaced with "su" or "sudo." They will essentially allow root access to your system. Mistakes could possibly damage or even destroy your OS.

Regards...

Last edited by ardvark71; 06-01-2017 at 01:43 AM. Reason: Added information.
 
Old 06-01-2017, 01:47 AM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Have you tried using network-manager to manage your network. Also, if your connecting to a router or WAP, it will say you have a connection even if you don't have an Internet connection.
 
Old 06-01-2017, 05:27 AM   #5
gunghang
Member
 
Registered: Sep 2013
Location: Inner Mongolia
Distribution: Linux Mint 17, Peppermint 6, others
Posts: 34

Original Poster
Rep: Reputation: Disabled
I was able to ping bing.com
The Great Firewall of China precludes Google.

I was also able to connect to bing.com for a few minutes, though not to any of the sites I tried outside of China.

I tried the ifconfig -a command and was told to get net tools. I could not connect.

I'll try again from time to time with the terminal commands.

I've installed Mint 17 and that has worked. I'm now 2 out of 7. Perhaps I'll just wind up using Mint instead of Lubuntu.

Sincere thanks for all the helpful responses. I hope to be able to put back one day.
 
Old 06-01-2017, 06:13 AM   #6
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
Quote:
I tethered the computer to my phone. The computer says that Wired Connection 2 is active.
So Firefox could be telling the truth; the computer is connected... To the phone. (i.e. It can "see" the modem in the phone) Perhaps it's something to do with the interconnection between computer, phone and your phone service?

Just my

Play Bonny!

 
Old 06-04-2017, 03:54 AM   #7
gunghang
Member
 
Registered: Sep 2013
Location: Inner Mongolia
Distribution: Linux Mint 17, Peppermint 6, others
Posts: 34

Original Poster
Rep: Reputation: Disabled
My two concerns du jour:

I now get a message showing that (my phone) is not connected when it is connected.
When I connect the USB cable to the computer from my phone, the "Wired Connection 2" message appears.
Also, the name of my phone (Huawei) appears. Also, the word "disconnected" appears.
All this appears faint and cannot be clicked. It all vanishes when I remove the USB cable.

I downloaded exfat-utils and net-tools deb packages using another OS. I copied them into my ailing Lubuntu installation.
When I use synaptic or software manager in Lubuntu, both programs acknowledge the packages but neither program will install either of the packages.
I don't know if this is relevant, but the installer crashed when I installed Lubuntu. It was unable to install GRUB2 and the install process halted. (I boot Lubuntu with a menu entry in Mint Rosa.)
I have no idea if this is related to my two headaches with Lubuntu.

Last edited by gunghang; 06-04-2017 at 09:47 AM.
 
Old 06-04-2017, 04:47 PM   #8
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
I don't think it's related. It was probably an installer bug. Check whether or not the phone is recognized as a modem or USB storage:
Code:
$ lsusb
Add -v for more info.
 
Old 06-05-2017, 11:59 PM   #9
gunghang
Member
 
Registered: Sep 2013
Location: Inner Mongolia
Distribution: Linux Mint 17, Peppermint 6, others
Posts: 34

Original Poster
Rep: Reputation: Disabled
The phone is seen as a modem.

I've copied the net-tools and exfat-utils packages from Linux Mint (/var/cache/apt/archive) and I finally stumbled upon dpkg -i *.deb and installed them. I was able to run the laundry list of terminal commands suggested by Ardvark71.

I've thought of one thing that might be sabotaging my phone. I use a DSL connection, and the DSL connections seems to be used automatically, whether I connect to the land line or to the phone. The DSL is for the land line, so it works, albeit poorly. The phone doesn't connect at all.

I just tested the theory by booting a live USB. It has never had the DSL connection. Both the phone and land line showed. I disconnected the land line. It still showed I was connected to the phone. I was able to use Firefox, all sites.

You wouldn't believe what other convoluted paths I've been down.

Again, thanks for the responses.

Last edited by gunghang; 06-06-2017 at 06:33 AM. Reason: updating
 
  


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
Lubuntu won't detect my wifi or my ethernet when plugged in via cable. juliashmoolia Linux - Networking 3 02-16-2016 08:30 PM
network manager shows connected to wifi but ifconfig show connected to ethernet mia_tech Linux - General 10 12-16-2015 10:23 AM
Ethernet connection not working after installing lubuntu 13.10 (Saucy Salamander) knightlife Linux - Newbie 4 02-16-2014 03:12 PM
[SOLVED] Dial-up internet connection unavailable if ethernet connected to LAN router LittleOldLady Linux - Newbie 3 12-19-2013 04:03 AM
Ethernet, Connected but not Connected! charl^e Linux - Networking 5 07-24-2007 03:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:12 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