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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
12-15-2015, 02:11 PM
|
#1
|
Member
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 245
Rep:
|
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

|
|
|
12-15-2015, 03:40 PM
|
#2
|
Moderator
Registered: Aug 2002
Posts: 26,521
|
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 03:50 PM.
|
|
|
12-15-2015, 04:10 PM
|
#3
|
Member
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 245
Original Poster
Rep:
|
Quote:
Originally Posted by michaelk
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
|
|
|
12-15-2015, 04:36 PM
|
#4
|
Moderator
Registered: Aug 2002
Posts: 26,521
|
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?
|
|
|
12-15-2015, 07:06 PM
|
#5
|
Member
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 245
Original Poster
Rep:
|
Quote:
Originally Posted by michaelk
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 07:08 PM.
|
|
|
12-15-2015, 07:25 PM
|
#6
|
Moderator
Registered: Aug 2002
Posts: 26,521
|
Could be a driver problem. Post the output of the command:
lsmod | grep r8101
|
|
|
12-16-2015, 10:27 AM
|
#7
|
Member
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 245
Original Poster
Rep:
|
Quote:
Originally Posted by michaelk
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!..
|
|
|
12-16-2015, 10:39 AM
|
#8
|
Moderator
Registered: Aug 2002
Posts: 26,521
|
I did not see that you edited post 5. It is possible that you have a hardware problem.
|
|
|
12-16-2015, 10:56 AM
|
#9
|
Member
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 245
Original Poster
Rep:
|
Quote:
Originally Posted by michaelk
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!
|
|
|
12-16-2015, 11:11 AM
|
#10
|
Moderator
Registered: Aug 2002
Posts: 26,521
|
Anything is possible.
|
|
|
12-16-2015, 11:23 AM
|
#11
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep: 
|
Gremlins. Harumph!
|
|
|
All times are GMT -5. The time now is 03:10 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|