Registered Member
|
I have a laptop that practically never moves from my desktop so it connects over wired.
I had to take it away and now when restoring all connections it absolutely refuses to connect over wired, it only detects the wireless connection. I tried everything: resetting router to default, clearing device list, rebooting router and computer and still no luck. It works the same with wicd or plasma-nm, the wired connection is connected but it shown no traffic. I tried setting up a new wired connection, in the Connection editor, because there was nothing there, and cloned MAC address to the MAC address of the network card, it does show but there is no way to activate it. |
Registered Member
|
I don't think that it has to do with OS, and I am not a fan of closed source like MAC.
I have wicd on a smaller 32-bit netbook, it works flawlessy, upon connecting the same wire that the problem computer hooks into, it automatically switches to wired connection and disconnects wlan0, upon disconnecting ethernet it switches back to wireless seamlessly. So there must be something in the problem computer, the ethernet cable and socket work, the OS correctly detects the wired connection when it is plugged or unplugged, but there is no connection to the internet. I uninstalled plasma-nm and network manager and still have same issue with wicd installed, cannot connect to wired network. Tried cli as root: ip link set eth0 up and ip link set dev eth0 up, no luck. Reset router to defaults, cleared device list, disconnected all the network, restarted router and reconnected devices one by one, still same old problem. Utterly bewildered. |
Registered Member
|
A notebook PC that has been accessing the internet may suddenly lost the connection. This problem may be accompanied by a browser error like, "Cannot find Server." Possible causes may be:
The router or modem fails The device driver is missing or corrupted The Internet Service Provider (ISP) service or network fails
Last edited by hermantowawan on Mon Dec 15, 2014 10:26 am, edited 2 times in total.
I Am Still Learning About KDE
|
Administrator
|
Please post the output of "ifconfig" (may need to be run as root) with both the ethernet cable connected and disconnected.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Thanks for all posts, now posting output.
Wire disconnected.
Wire connected.
Now a more extensive test: disconnected wireless, stopped samba, wire connected, using ifupdown utility.
Cable and router should be disregarded as causes because a netbook with same configuration connects seamlessly to wired and goes back to wireless when unplugged on same cable. I think that this issue it not related to KDE but to a broken ethernet transceiver, that connection was never reliable, it worked like a false contact, maybe a jolt during transport finally broke it. |
Administrator
|
It does appear to be detecting the presence of the cable - the state of the connection changes.
It is possible that certain other pairs of the cable are degraded though. Can you check the output of "dmesg" to see if any complaints concerning the adapter are made? Also, please provide the output of the following, with the cable both connected and disconnected.
It might also be worth it to try another cable...
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Thank you Mr. Cooksley for your support.
I did try another cable, and I don't think that is the issue because same cable works flawlessly with a netbook. My cable tester gave up, I already threw it to the garbage, did not get another one yet. Let me ask you a few questions: 1. Laptop is now connected over wireless, should I disconnect wireless to perform tests? 2. Please let me know what would be syntax for dmesg, just the command as root? 3. I don't use sudo much, just issue commands as root, will check if my user is in the sudoers group. Thanks again. |
Registered Member
|
The only difference between connected and disconnected is in the last line, yes and no.
Dmesg has a very large output but everything related to ethernet connections looks good. However...this laptop will not work over a wired connection.
|
Administrator
|
Hmm, a fault with the connector isn't likely if it managed to auto-negotiate a 100mbit full-duplex link.
Could you use another machine with Wireshark to see if the DHCP packets are being sent?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Thanks for answer Mr. Cooksley.
I don't have a machine ready with WIreshark, can install though, it will take some time. However, I can give you a quick reply: knemo shows connected, but the Traffic tab shows 0. Will test later with wireshark installed. |
Registered Member
|
@ Mr. Cooksley,
Installed wireshark on both computers. Connected wire to problem computer, knemo shows connected with 0 traffic. Wireshark says that there are no interfaces to capture, refreshing interfaces is of no avail. Connected working computer and it came up instantly connected through wire, flawless. I still don't know how to capture or what it is that you would like to test. Thank you. |
Global Moderator
|
What is it with the eht0:avahi? Funny that has an ip but not eth0 - haven't seen that before.
Could you post the contents of your /etc/network/interfaces? If it looks different to
please back up your old version and replace it with the above. Restart networking or your computer and things may just work.
Debian testing
|
Registered Member
|
Thanks for answer. Here is my old interfaces file
This exact same file works fine with no- problem computer In problem computer I added line auto eth0 just above line 9, saved, restarted computer, kernel read the changes, plugged in wire. Upon GUI loading, I attempted connection via wire, no luck, now connected over wireless |
Manager
|
note: thread was set to solved so I reverted it back to unsolved
|
Global Moderator
|
My next guess would be that your access point is fixed on giving you a certain ip that has already been given to another device or is otherwise blocked.
Try assigning a manual ip in your /etc/network/interfaces. Something like
should do the trick (hopefully). Again, restart networking or the computer.
Debian testing
|
Registered users: Bing [Bot], Evergrowing, Google [Bot]