morphil.blogg.se

How to connect ethernet cable to pc
How to connect ethernet cable to pc










how to connect ethernet cable to pc how to connect ethernet cable to pc

If you need to delete an ip address cause you made a mistake To find out which network interfaces you have and which are working Hence no routes and the network does not work. Notice the /32 which effectively is saying that is the only computer that exists on a network of one computer.

how to connect ethernet cable to pc

You need add the address again using /24 subnet syntax. If you don't see some thing like above in the route table but see some thing like this when you use ip ad. You should see some thing similar to this usingġ0.0.0.0/24 dev eth0 proto kernel scope link src 10.0.0.20 This set ups the routes that the computer / network has available to it. It is similar to saying netmask 255.255.255.0. 24 tells the computers that the last 8 bits of the 32 bit ip address can change. The rest of this post is to help trouble shoot if there are problems.ġ0.0.0.xx is the ip address of the computers. Provided that a cable is connecting the two computers and the network interface on both of them is enabled and called eth0 this should work. You would need to update the below command to use different dev enp1s0 etc. Look for something with similar names to en being ethernet / wl being wireless. On newer version of Linux the network card names have changed. Some old computers will require a crossover cableĬommand line example cause it is so quick and simple. (*) Most modern computers can use a normal cable instead of a crossover.

  • click add to add IP address on both Computer A and B.Įxample for computer A address | netmask | gatewayĮxample for computer B address | netmask | gateway.
  • Link/ether 98:e7:f4:5d:59:90 brd ff:ff:ff:ff:ff:ffģ: wlp2s0: mtu 1500 qdisc mq state UP group default qlen 1000 $ ip a lĢ: enp1s0: mtu 1500 qdisc fq_codel state DOWN group default qlen 1000 Look for some thing with similar names to en being ethernet / wl being wireless. The ifconfig command can show you what the mac address is: $ ifconfigĮth0 Link encap:Ethernet HWaddr 00:30:1b:b9:53:94Ģ.1. Put the mac address of the interface you will be configuring. right click on the network manager applet in the Then, you need to manually assign IP address in the same range. To physically connect the computers you will either need a switch, a hub or a crossover cable(*). If you are using two computers with no router to connect them.












    How to connect ethernet cable to pc