LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-15-2015, 01:11 PM   #1
mia_tech
Member
 
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 245

Rep: Reputation: 16
network manager shows connected to wifi but ifconfig show connected to ethernet


my network manager shows connection through wifi, but my network manager shows connection through ethernet.
Code:
jorge@buntop:~$ ifconfig -a
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:35107 errors:0 dropped:0 overruns:0 frame:0
          TX packets:35107 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:7866693 (7.8 MB)  TX bytes:7866693 (7.8 MB)

wlp5s0    Link encap:Ethernet  HWaddr 88:9f:fa:79:0d:5c  
          inet addr:192.168.1.68  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: 2602:306:cfd5:cda0::3e9/128 Scope:Global
          inet6 addr: 2602:306:cfd5:cda0:8a9f:faff:fe79:d5c/64 Scope:Global
          inet6 addr: 2602:306:cfd5:cda0:393b:8b9c:2292:210b/64 Scope:Global
          inet6 addr: fe80::8a9f:faff:fe79:d5c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:312758 errors:0 dropped:0 overruns:0 frame:0
          TX packets:211660 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:273299701 (273.2 MB)  TX bytes:28534042 (28.5 MB)
when I clcik on disconnect on my wifi settings (network manager) the ethernet interface all of a sudden looses it's ipv4 configuration...

Code:
jorge@buntop:~$ ifconfig -a
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:57285 errors:0 dropped:0 overruns:0 frame:0
          TX packets:57285 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:25464633 (25.4 MB)  TX bytes:25464633 (25.4 MB)

wlp5s0    Link encap:Ethernet  HWaddr 88:9f:fa:79:0d:5c  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:366896 errors:0 dropped:0 overruns:0 frame:0
          TX packets:247013 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:328749836 (328.7 MB)  TX bytes:34994102 (34.9 MB)
here's a screenshot of network manager and my desktop
 
Old 12-15-2015, 02:40 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
wlp5s0 is your wireless device ID regardless if the output of ifconfig prints "Link encap:Ethernet". If your computer was wired to an ethernet port your connected device ID would start with an em or p.

Look at the output of the command
ip addr show
or
ifconfig -a

By the way the ifconfig command is depreceated, use ip instead. The output of the ifconfig -a should of printed a listing for your wired ethernet port assuming it is enabled. Did you post the entire output?

https://en.wikipedia.org/wiki/Consis..._Device_Naming

Last edited by michaelk; 12-15-2015 at 02:50 PM.
 
Old 12-15-2015, 03:10 PM   #3
mia_tech
Member
 
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 245

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by michaelk View Post
wlp5s0 is your wireless device ID regardless if the output of ifconfig prints "Link encap:Ethernet". If your computer was wired to an ethernet port your connected device ID would start with an em or p.

Look at the output of the command
ip addr show
or
ifconfig -a

By the way the ifconfig command is depreceated, use ip instead. The output of the ifconfig -a should of printed a listing for your wired ethernet port assuming it is enabled. Did you post the entire output?

https://en.wikipedia.org/wiki/Consis..._Device_Naming
I used ifconfig -a, and my ethernet card is no where to be found.... needless to say, it has a cable connected to it
 
Old 12-15-2015, 03:36 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
Post the output of the command:

lspci | grep Ethernet

If the network adapter is not enabled, recognized or the module is not loading it will not be displayed in the output of the config display. Are you sure your actually connected via wired and not wireless?
 
Old 12-15-2015, 06:06 PM   #5
mia_tech
Member
 
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 245

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by michaelk View Post
Post the output of the command:

lspci | grep Ethernet

If the network adapter is not enabled, recognized or the module is not loading it will not be displayed in the output of the config display. Are you sure your actually connected via wired and not wireless?
Code:
jorge@buntop:~$ lspci | grep Ethernet
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 02)
I just started my laptop and ethernet interface is showing up. It's like is loosing its setting and goes away
Code:
jorge@buntop:~$ ifconfig -a
enp6s0    Link encap:Ethernet  HWaddr 1c:75:08:67:bd:2e  
          inet addr:192.168.1.72  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: 2602:306:cfd5:cda0:1e75:8ff:fe67:bd2e/64 Scope:Global
          inet6 addr: 2602:306:cfd5:cda0::3eb/128 Scope:Global
          inet6 addr: fe80::1e75:8ff:fe67:bd2e/64 Scope:Link
          inet6 addr: 2602:306:cfd5:cda0:6944:8e8f:e72b:4bbe/64 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:47106 errors:0 dropped:0 overruns:0 frame:0
          TX packets:39143 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:37903397 (37.9 MB)  TX bytes:13210669 (13.2 MB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:163351 errors:0 dropped:0 overruns:0 frame:0
          TX packets:163351 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:79241865 (79.2 MB)  TX bytes:79241865 (79.2 MB)

wlp5s0    Link encap:Ethernet  HWaddr 88:9f:fa:79:0d:5c  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:594845 errors:0 dropped:0 overruns:0 frame:0
          TX packets:398629 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:524804626 (524.8 MB)  TX bytes:82030575 (82.0 MB)

Last edited by mia_tech; 12-15-2015 at 06:08 PM.
 
Old 12-15-2015, 06:25 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
Could be a driver problem. Post the output of the command:
lsmod | grep r8101
 
Old 12-16-2015, 09:27 AM   #7
mia_tech
Member
 
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 245

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by michaelk View Post
Could be a driver problem. Post the output of the command:
lsmod | grep r8101
Ok, I just opened my laptop, and the lspci command that yesterday display an ethernet card, today is not displaying anythign
Code:
jorge@buntop:~$ lspci | grep Ethernet
jorge@buntop:~$ lsmod | grep r8101
I've never seen anything like this!..
 
Old 12-16-2015, 09:39 AM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
I did not see that you edited post 5. It is possible that you have a hardware problem.
 
Old 12-16-2015, 09:56 AM   #9
mia_tech
Member
 
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 245

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by michaelk View Post
I did not see that you edited post 5. It is possible that you have a hardware problem.
I've never seen this... I've always seen a case where, hardware either gets detected by the OS or not... but this intermittent stuff... never!
 
Old 12-16-2015, 10:11 AM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
Anything is possible.
 
Old 12-16-2015, 10:23 AM   #11
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Gremlins. Harumph!
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can not connected to a AP use Slackware 14.1 network manager zw963 Slackware 6 11-16-2013 05:20 AM
Connected to open Wifi network in ubuntu using commandline. atulsvasu Linux - Wireless Networking 1 06-10-2011 01:40 PM
User is connected to network, but doesn't show up in DHCP leases... slingshot-dave Linux - Networking 4 07-13-2010 08:40 AM
Fedora 8 connected to network, but doesn't show it MyHeartPumpsFreon Linux - Networking 1 11-30-2007 10:22 PM
connected to wifi network but no internet connection? mr.gizm0 Linux - Wireless Networking 3 03-21-2005 03:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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