Linux - NetworkingThis 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.
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.
I'm new to this forum and new to Linux. I'm not sure if this is the right forum for my problem, but I think it will fit in here best.
My problem is that I can't connect to the internet using Linux.
It's a wired connection. My computer is connected to a router and the router to the internet. OS is Lubuntu. I've read using Lubuntu and a router will automaticly configurate the right settings and stuff but somehow the internet doesn't work. I also tried the network manager thing that comes with Lubuntu. I also read something about using the command line to fix the problem or figure out what the actual problem is. And that brings me to the problem I have. I don't know what to do with the command line and how to fix my issue. The router and cable itself should not be the problem, since I'm using them on my current computer and they work fine.
To access the terminal in Lubuntu, go to Menu --> Accessories --> LXTerminal or press Ctrl+Alt+T on your keyboard.
When you are able, please open the terminal in Lubuntu and post (by copying and pasting) the results of these commands...
Code:
lspci -nnk | grep -i net -A2
Code:
lsmod
Code:
ifconfig -a
These will help us determine the manufacturer and model of your adapter.
However, if this is something that you're not comfortable with, another option would be to either take your system to a computer repair shop or technician that is knowledgeable with Linux or contact a local Linux User's Group (LUG) and see if they would be willing to help.
Regards...
Last edited by ardvark71; 03-19-2016 at 01:39 PM.
Reason: Added information/Corrections.
I installed Lubuntu to my hdd. I don't know how many adapters there are. It has a shut down wi-fi that I don't use and won't use, then it has a RJ45 ethernet and a RJ11 modem plug. Ethernet is connected to my router, and the router is connected to the internet. Btw I'm using a laptop.
Last edited by BobbyBob; 03-19-2016 at 02:26 PM.
Reason: Adding information
Well, nothing obvious (to me) stands out. I'm guessing everything works ok in Windows. If so, I highly doubt it would be a hardware issue, perhaps an address, driver or some other software issue.
If you would, try the commands mentioned here and report back.
Also, are does your adapter have RX/TX lights on back where you plug in the ethernet cable? If so, are they on and perhaps flashing on occasion?
I tried to ping my router and some websites, but it didn't work.
Do you think its a hardware issue?
Something else that was weird, yesterday when I plugged the cable into the computer the first time, the network manager recognized "Last Used" "X Minutes ago". But since I couldn't connect to the internet and deleted and added new connections it always says "Last Used" "never". Could there be some loose connection? In the past I had some other issues where I opened the laptop and did stuff. Its far over 8+ years old. Could it be that some cable cause loose connection, or is the adapter total broken?
On Ubuntu systems you should be able to open a terminal from the GUI by:
holding CTRL & ALT then pressing 't'.
What's the output of:
Code:
$ ip a
$ nmcli nm status
$nm-tool
I will say, Ubuntu's network manager is a mess... You are pretty much forced to use the GUI. If you are not familiar with the CLI, I would stick to using nm-connection-editor ( or press System Settings -> Network) to modify connections or you'll be wasting a lot of time. Trust me, I have been there....
On Ubuntu systems you should be able to open a terminal from the GUI by:
holding CTRL & ALT then pressing 't'.
What's the output of:
Code:
$ ip a
$ nmcli nm status
$nm-tool
I will say, Ubuntu's network manager is a mess... You are pretty much forced to use the GUI. If you are not familiar with the CLI, I would stick to using nm-connection-editor ( or press System Settings -> Network) to modify connections or you'll be wasting a lot of time. Trust me, I have been there....
Hi,
Code:
$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether 00:00:39:11:16:eb brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether 00:02:2d:6f:98:ad brd ff:ff:ff:ff:ff:ff
$ nmcli nm status
RUNNING STATE WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN
running disconnected enabled disabled enabled enabled
$ nm-tool
NetworkManager Tool
State: disconnected
- Device: eth1 -----------------------------------------------------------------
Type: 802.11 WiFi
Driver: orinoco_cs
State: unavailable
Default: no
HW Address: 00:02:2D:6F:98:AD
Capabilities:
Wireless Properties
WEP Encryption: yes
WPA Encryption: yes
Wireless Access Points
- Device: eth0 -----------------------------------------------------------------
Type: Wired
Driver: e100
State: unavailable
Default: no
HW Address: 00:00:39:11:16:EB
Capabilities:
Carrier Detect: yes
Wired Properties
Carrier: off
I'm not sure why or if this even the problem but I've noticed on more than report that, for some reason, Lubuntu seems to be defaulting to "Loopback" or "lo." Here is some information concerning this. From what I'm seeing so far, this is pointing to a loose or non-existent connection. Check your cable connections and unplug and plug them back in and see if that helps...
At the same time, does the same connection and setup work fine in Windows?
Regards...
Last edited by ardvark71; 03-19-2016 at 06:13 PM.
Reason: Added question.
I'm not sure why or if this even the problem but I've noticed on more than report that, for some reason, Lubuntu seems to be defaulting to "Loopback" or "lo." Here is some information concerning this. From what I'm seeing so far, this is pointing to a loose or non-existent connection. Check your cable connections and unplug and plug them back in and see if that helps...
At the same time, does the same connection and setup work fine in Windows?
Regards...
I unplugged and plugged it several times, I also tried another cable. Like I said before my Windows computer works with the same settings without any issues.
I unplugged and plugged it several times, I also tried another cable. Like I said before my Windows computer works with the same settings without any issues.
Quote:
Originally Posted by BobbyBob
Lights don't work, not even flashing.
Hi...
Thank you for the clarification and for looking (at the lights) and trying out the cables. If that's the case, then it sounds like it's some kind of issue with Lubuntu.
Does running this command produce any results?
Code:
ifup eth0
Regards...
Last edited by ardvark71; 03-19-2016 at 10:29 PM.
Reason: Deleted request.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.