cancel
Showing results for 
Search instead for 
Did you mean: 

Laptop won`t connect via ethernet cable.

FIXED
Dan_the_Van
Hero
Posts: 3,008
Thanks: 1,451
Fixes: 90
Registered: ‎25-06-2007

Re: Laptop won`t connect via ethernet cable.

@shutter 

Please ignore @Mr_Paul last input, all TP-Link device use 192.168.1.1 for the router. default gateway and dns

If the IP Address entry is red there is something wrong with it. 

Edit: So in a cli for command ip add what do you see?

 

shutter
Community Veteran
Posts: 22,293
Thanks: 3,811
Fixes: 66
Registered: ‎06-11-2007

Re: Laptop won`t connect via ethernet cable.

@Dan_the_Van  ok... Thanks...  have done an edit to my response  !.. mucho mistakes !.

 

here is the result of ip add

 

ip add terminal.png

 

Interestingly..... I did a reboot, prior to the above.... and on start up, got the message  "you are now connected to Wired Connection 1...   ( as would be expected)

but when I tried to browser search fo Plusnet.... got the Server Not Found message ... and clicking on the listings "wired connection 1" resulted in the connected/disconnected   as before.

 

 

Going out now for an hour or more.... so will continue after lunch 13:00 ish.

Thanks to all for the help and input... I really do appreciate it . Thank You.

 

 

Dan_the_Van
Hero
Posts: 3,008
Thanks: 1,451
Fixes: 90
Registered: ‎25-06-2007

Re: Laptop won`t connect via ethernet cable.

@shutter 

netstat -r in a cli will detail the default gateway.

Can you ping anything on your network, like your laptop or the TP-Link router?

I am off out now, so going offline until much later.

Dan.

 

 

shutter
Community Veteran
Posts: 22,293
Thanks: 3,811
Fixes: 66
Registered: ‎06-11-2007

Re: Laptop won`t connect via ethernet cable.

OK @Dan_the_Van   back online on main ASUS again.... Toshiba is also running but still not properly connected. so I have to copy things from and to.

here is the result of your request for netstat -r

 

netstat -r terminal.png

 

 

 

Interesting to see 192.168.1.0  

 

As an experiment.. I changed the previous manual from .50 to .0 to see if that would make a permanent connection on the wired connection...but, alas, no. still the same, instant connected/disconnected messages

 

Rebooted after changing the manual setting... now CWCOM is showing my IP address as 192.168.1.102 ( on the Toshiba) (Showing 192.168.1.111 on the ASUS)

 

Haven`t got a clue how to "ping" anything ! or anyone ! .

 

The router is showing as enp3s0 for the Toshiba.....but is showing as enp3s0f1 for the ASUS

Mr_Paul
Seasoned Pro
Posts: 708
Thanks: 227
Fixes: 12
Registered: ‎07-06-2022

Re: Laptop won`t connect via ethernet cable.

@shutter 

"Haven`t got a clue how to "ping" anything ! or anyone ! ."

In the Linux Mint Terminal, type ping (space) then the IP address of the device that you want to "ping", then return.

For example this is what I see when I ping my Plusnet Hub2: (It keeps going until you close the Terminal).

 

Screenshot from 2023-03-15 13-22-00.png

archerry
Aspiring Pro
Posts: 110
Thanks: 40
Fixes: 3
Registered: ‎15-06-2013

Re: Laptop won`t connect via ethernet cable.

@shutter 

You can set the number of pings to run thus:

ping -c# [IP_Address]

where # is the number of pings required. - I normally set to 4.
or you may press 'ctrl + C' to stop the command.

(type: 'man ping' for the full manual text. Then type 'q' to quit the manual.)

 

Regards,

Alistair

Mr_Paul
Seasoned Pro
Posts: 708
Thanks: 227
Fixes: 12
Registered: ‎07-06-2022

Re: Laptop won`t connect via ethernet cable.

@archerry @shutter 

I think that there should be a space between the "c" and "#"?

eg ping -c 4 192.168.1.1

 

 

Dan_the_Van
Hero
Posts: 3,008
Thanks: 1,451
Fixes: 90
Registered: ‎25-06-2007

Re: Laptop won`t connect via ethernet cable.

@shutter 

We need to rewind back a bit to when you set the laptop IP Address, suggest you use these settings. I do not think a DNS Address was added.

IP Address - 192.168.1.50

Mask - 24, which is 255.255.255.0

Gateway - 192.168.1.1

DNS - 192.168.1.1

Also, it could be the laptop will only allow for a active wireless or wired connection, but maybe not both at the same time. So I would disable the wireless interface while setting up the wired interface.

Let us know how you get on.

Note:-

A network consists of a range of IP Address, this is dependant on the network mask being used, for most domestic networks a class C network is employed.

For your LAN you get the following

Screenshot 2023-03-15 151853.png

Devices can be allocated IP Addresses manually or automatically via DHCP. DHCP is the preferred method.

The router has a DHCP server and it is here you setup the DHCP pool. (The range of IP that are allocated by the DHCP server)

Hope that makes sense

 

 

shutter
Community Veteran
Posts: 22,293
Thanks: 3,811
Fixes: 66
Registered: ‎06-11-2007

Re: Laptop won`t connect via ethernet cable.

@Dan_the_Van   Ok... done a ping . from the Toshiba to the ASUS both were running WIFI to the router at the time

ping 111 FROM TOSHIBA TO ASUS.png

 

When trying to connect via the "Wired Connection 1"   I do disable the wifi, just to be sure that any positive connection can onlly be by the wired connection.

 

Have reverted to your suggestions on the IP address and hope that I have put the DNS ip in the correct place

 

added dns to editing.png

 

Done a reboot,... still the same  although it shows the two cable plugs as "connected" and , indeed it shows the Wired Connection 1  as connected... still not able to access the internet through Google search.

 

 

Dan_the_Van
Hero
Posts: 3,008
Thanks: 1,451
Fixes: 90
Registered: ‎25-06-2007

Re: Laptop won`t connect via ethernet cable.

@shutter 

Can you confirm the following using a terminal on the Tosh with a wired connection to your router

1) ip -4 add

2) ip route

3) ping -c 3 192.168.1.1

4) nslookup www.bbc.co.uk

Hopefully the output from all four commands should fit in the same terminal window

 

 

shutter
Community Veteran
Posts: 22,293
Thanks: 3,811
Fixes: 66
Registered: ‎06-11-2007

Re: Laptop won`t connect via ethernet cable.

@Dan_the_Van 

As requested.

 

1.     dan 1 ip -4 add.png

 

 

2.

dan 2 ip route.png

 

3.

dan 3 pin -c 3.png

 

4.

 

dan 4 bbc.png

Dan_the_Van
Hero
Posts: 3,008
Thanks: 1,451
Fixes: 90
Registered: ‎25-06-2007

Re: Laptop won`t connect via ethernet cable.

@shutter 

192.168.1.50 "Destination host unreachable" means the ping command is not getting a reply from your router/defaultgateway 

nslookup fails for the same reason, you laptop can not see the router.

What if you ping the other laptop from the Tosh, do you get "Destination host unreachable". If you do this might suggest there is an issue with the wired network interface.

So please try these commands using a wired connection on the Tosh.

1) ping -c 3 192.168.1.50

2) ping -c 3 <ip address of your other laptop>

Does the TP-Link router show the Tosh as a connected on the status page for wired devices?

shutter
Community Veteran
Posts: 22,293
Thanks: 3,811
Fixes: 66
Registered: ‎06-11-2007

Re: Laptop won`t connect via ethernet cable.

@Dan_the_Van  Going backwards on your list !

No.. the Toshiba does not show as a "wired connection" ont eh TP Link router

Ping result from the Toshiba to the Asus    see message 24 above.

 

Pings as per pic below...

 

dan 5 more pings.png

 

Dan_the_Van
Hero
Posts: 3,008
Thanks: 1,451
Fixes: 90
Registered: ‎25-06-2007

Re: Laptop won`t connect via ethernet cable.

@shutter 

everything is pointing to the Tosh laptop wired network interface not working, to prove this can you move the network cable to the other laptop, turn it's wireless adapter off and perform these tests. I am expect the IP Address to change from 192.168.1.111

1) ip -4 add

2) ip route

3) ping -c 3 192.168.1.1

4) nslookup www.bbc.co.uk

Thanks

I ignored the result from post 24 as you had an invalid IP Address of 192.168.1.0

 

shutter
Community Veteran
Posts: 22,293
Thanks: 3,811
Fixes: 66
Registered: ‎06-11-2007

Re: Laptop won`t connect via ethernet cable.

OK @Dan_the_Van 

 

Disabled wifi on the ASUS... connected the same cable to the ASUS...  got this

dan 6 new wired connection.png

 

 

Interesting to note the driver is the r8169 on the above Connection Information

Here are the pings as requested.

 

 

dan 7 terminals.png