My router ip is 192.168.5.**
I tried to ping the other machine while both machines are connected to the internet through the router.
Code:
sudo lshw -C network
*-network
description: Wireless interface
product: AR242x / AR542x Wireless Network Adapter (PCI-Express)
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:01:00.0
logical name: wlp1s0
version: 01
serial: 00:1f:3a:37:59:b6
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath5k driverversion=4.4.0-21-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bg
resources: irq:16 memory:91300000-9130ffff
*-network
description: Ethernet interface
product: RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 1
bus info: pci@0000:02:01.0
logical name: enp2s1
version: 10
serial: 00:1b:38:fc:e0:8e
size: 100Mbit/s
capacity: 100Mbit/s
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=full ip=192.168.5.33 latency=64 link=yes maxlatency=64 mingnt=32 multicast=yes port=MII speed=100Mbit/s
resources: irq:16 ioport:1000(size=256) memory:91200000-912000ff
Code:
sudo ifconfig -a
enp2s1 Link encap:Ethernet HWaddr 00:1b:38:fc:e0:8e
inet addr:192.168.5.33 Bcast:192.168.5.255 Mask:255.255.255.0
inet6 addr: fe80::ce64:95ee:535f:3dde/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:255666 errors:0 dropped:0 overruns:0 frame:0
TX packets:228167 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:225407922 (225.4 MB) TX bytes:30798735 (30.7 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:32420 errors:0 dropped:0 overruns:0 frame:0
TX packets:32420 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:4320093 (4.3 MB) TX bytes:4320093 (4.3 MB)
wlp1s0 Link encap:Ethernet HWaddr 00:1f:3a:37:59:b6
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
And Bashing-om, Hi, yes my primary purpose is sharing files between the machines and looking into that link too, thanks
Bookmarks