Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [Drivers / OpenRC / Kernel 6.0+] Crash on compiling driver for TLWN881ND. (Read 780 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[Drivers / OpenRC / Kernel 6.0+] Crash on compiling driver for TLWN881ND.

Heyo,

Recently I tried installing drivers for TP-Link TLWN881ND WiFi adapter V2 from the download page. Unfortunetly, running `make` command as root failed with log:
Code: [Select]
"******************************************"
"NO KSRC,we will use default KSRC"
"******************************************"
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.0.7-artix1-1/build M=/tplink  modules
make[1]: Entering directory '/usr/lib/modules/6.0.7-artix1-1/build'
"******************************************"
"NO KSRC,we will use default KSRC"
"******************************************"
  CC [M]  /tplink/core/rtw_cmd.o
In file included from /tplink/include/osdep_service.h:41,
                 from /tplink/include/drv_types.h:32,
                 from /tplink/core/rtw_cmd.c:22:
/tplink/include/osdep_service_linux.h: In function ‘_init_timer’:
/tplink/include/osdep_service_linux.h:267:15: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  267 |         ptimer->data = (unsigned long)cntx;
      |               ^~
/tplink/include/osdep_service_linux.h:268:9: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  268 |         init_timer(ptimer);
      |         ^~~~~~~~~~
      |         _init_timer
In file included from /tplink/include/drv_types.h:95:
/tplink/include/hal_com.h: At top level:
/tplink/include/hal_com.h:413:13: error: ‘file_path’ redeclared as different kind of symbol
  413 | extern char file_path[PATH_LENGTH_MAX];
      |             ^~~~~~~~~
In file included from ./include/linux/highmem.h:5,
                 from ./include/linux/bvec.h:10,
                 from ./include/linux/skbuff.h:17,
                 from ./include/net/net_namespace.h:43,
                 from ./include/linux/netdevice.h:38,
                 from /tplink/include/osdep_service_linux.h:35:
./include/linux/fs.h:3016:14: note: previous declaration of ‘file_path’ with type ‘char *(struct file *, char *, int)’
 3016 | extern char *file_path(struct file *, char *, int);
      |              ^~~~~~~~~
/tplink/core/rtw_cmd.c: In function ‘rtw_cmd_thread’:
/tplink/include/osdep_service_linux.h:151:31: error: implicit declaration of function ‘complete_and_exit’ [-Werror=implicit-function-declaration]
  151 |         #define thread_exit() complete_and_exit(NULL, 0)
      |                               ^~~~~~~~~~~~~~~~~
/tplink/core/rtw_cmd.c:735:9: note: in expansion of macro ‘thread_exit’
  735 |         thread_exit();
      |         ^~~~~~~~~~~
/tplink/core/rtw_cmd.c:737:1: error: control reaches end of non-void function [-Werror=return-type]
  737 | }
      | ^
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:249: /tplink/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1852: /tplink] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.0.7-artix1-1/build'
make: *** [Makefile:1696: modules] Error 2


OS Specification:
  • Linux Kernel 6.0.7-artix1-1
  • Linux Headers 6.0.7-artix1-1
  • Linux DKMS 6.0.7-artix1-1

Re: [Drivers / OpenRC / Kernel 6.0+] Crash on compiling driver for TLWN881ND.

Reply #1
looking down the list from the link, make and make clean are for deb systems, and having just run them, i got the same error (obs).  Is that what you tried as well, the ubuntu instructions?   Unfortunately, i see nothing to do with arch (not so much an artix issue as such, but basically tp doing what companies do best, not a lot when it comes to anything arch) , the closest i could see was on github, that might point you in a better direction:

https://gist.github.com/shavidzet/da5f6459c906c3cd9a21743687eb9ab5

or it appears to have a realtek 8192 chipset, for which a few are listed in AUR:

https://aur.archlinux.org/packages?O=0&SeB=nd&K=RTL819&outdated=&SB=p&SO=d&PP=50&submit=Go

Re: [Drivers / OpenRC / Kernel 6.0+] Crash on compiling driver for TLWN881ND.

Reply #2
After installing rtl8192eu-dkms package and rtl8192fu-dkms-git package, Linux kernel is now loading rtl8192ee driver.

Code: [Select]
cat /proc/modules | grep 'rtl8192'
rtl8192ee 143360 0 - Live 0xffffffffc166b000
btcoexist 221184 1 rtl8192ee, Live 0xffffffffc13bc000
rtl_pci 40960 1 rtl8192ee, Live 0xffffffffc116c000
rtlwifi 139264 3 rtl8192ee,btcoexist,rtl_pci, Live 0xffffffffc11a1000
mac80211 1298432 3 rtl8192ee,rtl_pci,rtlwifi, Live 0xffffffffc169a000

But for some reason, hostapd can't detect it. Why?

Re: [Drivers / OpenRC / Kernel 6.0+] Crash on compiling driver for TLWN881ND.

Reply #3
no idea, i don't use it (and i take it you verified that chip is in your card as manufacturers get a bit funky sometimes) - but i guess you have the init file for hostapd installed and verified enabled too for the init you're using.

Re: [Drivers / OpenRC / Kernel 6.0+] Crash on compiling driver for TLWN881ND.

Reply #4
Did you take a look at dmesg and syslog logs and see what hostpad said?

Re: [Drivers / OpenRC / Kernel 6.0+] Crash on compiling driver for TLWN881ND.

Reply #5
dmesg log at kernel startup:
Code: [Select]
[    9.342274] rtl8192ee: Using firmware rtlwifi/rtl8192eefw.bin
[    9.355473] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[    9.356173] rtlwifi: rtlwifi: wireless switch is on
[    9.357554] rtl8192ee 0000:04:00.0: enabling device (0100 -> 0103)
[    9.371955] rtl8192ee: Using firmware rtlwifi/rtl8192eefw.bin
[    9.383692] ieee80211 phy1: Selected rate control algorithm 'rtl_rc'
[    9.384362] rtlwifi: rtlwifi: wireless switch is on

Exactly I have 2 the same cards.

dmesg aren't showed anything while using command hostapd, but hostapd says:
Code: [Select]
Line 12: invalid/unknown driver 'rtl8192eu'
1 errors found in configuration file 'hostapd.conf'
Failed to set up interface with hostapd.conf
Failed to initialize interface

Here's the config:
Code: [Select]
interface=wlan0
ssid=WiFi
channel=6
wpa=2
wpa_passphrase=password123
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
driver=rtl8192eu
hw_mode=g
country_code=PL

Re: [Drivers / OpenRC / Kernel 6.0+] Crash on compiling driver for TLWN881ND.

Reply #6
Syslog shows nothing about network cards.

Re: [Drivers / OpenRC / Kernel 6.0+] Crash on compiling driver for TLWN881ND.

Reply #7
Same error occurs while switching driver to rtl8192ee:
Code: [Select]
Line 12: invalid/unknown driver 'rtl8192ee'
1 errors found in configuration file 'hostapd.conf'
Failed to set up interface with hostapd.conf
Failed to initialize interface

Re: [Drivers / OpenRC / Kernel 6.0+] Crash on compiling driver for TLWN881ND.

Reply #8
Code: [Select]
driver=nl80211
Unless the driver doesn't use default IEEE 802.11 calls, in which case you're pretty much screwed. Also, check the driver's/card's capabilities with <i>iw list</i> for something like "AP/VLAN"; if it's missing, forget any AP stuff.

Re: [Drivers / OpenRC / Kernel 6.0+] Crash on compiling driver for TLWN881ND.

Reply #9
Yeah, by default I was using that driver, but the speeds are x10 worse than offered. Sometimes there was some jumps to x5 worse than offered, but very rarely.
iw list:
Code: [Select]
Wiphy phy1
wiphy index: 1
max # scan SSIDs: 4
max scan IEs length: 2257 bytes
max # sched scan SSIDs: 0
max # match sets: 0
RTS threshold: 2347
Retry short limit: 7
Retry long limit: 4
Coverage class: 0 (up to 0m)
Device supports RSN-IBSS.
Supported Ciphers:
* WEP40 (00-0f-ac:1)
* WEP104 (00-0f-ac:5)
* TKIP (00-0f-ac:2)
* CCMP-128 (00-0f-ac:4)
* CCMP-256 (00-0f-ac:10)
* GCMP-128 (00-0f-ac:8)
* GCMP-256 (00-0f-ac:9)
* CMAC (00-0f-ac:6)
* CMAC-256 (00-0f-ac:13)
* GMAC-128 (00-0f-ac:11)
* GMAC-256 (00-0f-ac:12)
Available Antennas: TX 0 RX 0
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* monitor
* mesh point
* P2P-client
* P2P-GO
Band 1:
Capabilities: 0x186e
HT20/HT40
SM Power Save disabled
RX HT20 SGI
RX HT40 SGI
No RX STBC
Max AMSDU length: 7935 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 16 usec (0x07)
HT Max RX data rate: 300 Mbps
HT TX/RX MCS rate indexes supported: 0-15, 32
Bitrates (non-HT):
* 1.0 Mbps
* 2.0 Mbps
* 5.5 Mbps
* 11.0 Mbps
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
Frequencies:
* 2412 MHz [1] (20.0 dBm)
* 2417 MHz [2] (20.0 dBm)
* 2422 MHz [3] (20.0 dBm)
* 2427 MHz [4] (20.0 dBm)
* 2432 MHz [5] (20.0 dBm)
* 2437 MHz [6] (20.0 dBm)
* 2442 MHz [7] (20.0 dBm)
* 2447 MHz [8] (20.0 dBm)
* 2452 MHz [9] (20.0 dBm)
* 2457 MHz [10] (20.0 dBm)
* 2462 MHz [11] (20.0 dBm)
* 2467 MHz [12] (20.0 dBm)
* 2472 MHz [13] (20.0 dBm)
* 2484 MHz [14] (disabled)
Supported commands:
* new_interface
* set_interface
* new_key
* start_ap
* new_station
* new_mpath
* set_mesh_config
* set_bss
* authenticate
* associate
* deauthenticate
* disassociate
* join_ibss
* join_mesh
* remain_on_channel
* set_tx_bitrate_mask
* frame
* frame_wait_cancel
* set_wiphy_netns
* set_channel
* probe_client
* set_noack_map
* register_beacons
* start_p2p_device
* set_mcast_rate
* connect
* disconnect
* set_qos_map
* set_multicast_to_unicast
software interface modes (can always be added):
* AP/VLAN
* monitor
interface combinations are not supported
HT Capability overrides:
* MCS: ff ff ff ff ff ff ff ff ff ff
* maximum A-MSDU length
* supported channel width
* short GI for 40 MHz
* max A-MPDU length exponent
* min MPDU start spacing
Device supports TX status socket option.
Device supports HT-IBSS.
Device supports SAE with AUTHENTICATE command
Device supports low priority scan.
Device supports scan flush.
Device supports AP scan.
Device supports per-vif TX power setting
Driver supports full state transitions for AP/GO clients
Driver supports a userspace MPM
Device supports configuring vdev MAC-addr on create.
max # scan plans: 1
max scan plan interval: -1
max scan plan iterations: 0
Supported TX frame types:
* IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
Supported RX frame types:
* IBSS: 0x40 0xb0 0xc0 0xd0
* managed: 0x40 0xb0 0xd0
* AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* mesh point: 0xb0 0xc0 0xd0
* P2P-client: 0x40 0xd0
* P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* P2P-device: 0x40 0xd0
Supported extended features:
* [ RRM ]: RRM
* [ FILS_STA ]: STA FILS (Fast Initial Link Setup)
* [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
* [ SCAN_RANDOM_SN ]: use random sequence numbers in scans
* [ SCAN_MIN_PREQ_CONTENT ]: use probe request with only rate IEs in scans
* [ CONTROL_PORT_NO_PREAUTH ]: disable pre-auth over nl80211 control port support
* [ DEL_IBSS_STA ]: deletion of IBSS station support
* [ SCAN_FREQ_KHZ ]: scan on kHz frequency support
* [ CONTROL_PORT_OVER_NL80211_TX_STATUS ]: tx status for nl80211 control port support
Wiphy phy0
wiphy index: 0
max # scan SSIDs: 4
max scan IEs length: 2257 bytes
max # sched scan SSIDs: 0
max # match sets: 0
RTS threshold: 2347
Retry short limit: 7
Retry long limit: 4
Coverage class: 0 (up to 0m)
Device supports RSN-IBSS.
Supported Ciphers:
* WEP40 (00-0f-ac:1)
* WEP104 (00-0f-ac:5)
* TKIP (00-0f-ac:2)
* CCMP-128 (00-0f-ac:4)
* CCMP-256 (00-0f-ac:10)
* GCMP-128 (00-0f-ac:8)
* GCMP-256 (00-0f-ac:9)
* CMAC (00-0f-ac:6)
* CMAC-256 (00-0f-ac:13)
* GMAC-128 (00-0f-ac:11)
* GMAC-256 (00-0f-ac:12)
Available Antennas: TX 0 RX 0
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* monitor
* mesh point
* P2P-client
* P2P-GO
Band 1:
Capabilities: 0x186e
HT20/HT40
SM Power Save disabled
RX HT20 SGI
RX HT40 SGI
No RX STBC
Max AMSDU length: 7935 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 16 usec (0x07)
HT Max RX data rate: 300 Mbps
HT TX/RX MCS rate indexes supported: 0-15, 32
Bitrates (non-HT):
* 1.0 Mbps
* 2.0 Mbps
* 5.5 Mbps
* 11.0 Mbps
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
Frequencies:
* 2412 MHz [1] (20.0 dBm)
* 2417 MHz [2] (20.0 dBm)
* 2422 MHz [3] (20.0 dBm)
* 2427 MHz [4] (20.0 dBm)
* 2432 MHz [5] (20.0 dBm)
* 2437 MHz [6] (20.0 dBm)
* 2442 MHz [7] (20.0 dBm)
* 2447 MHz [8] (20.0 dBm)
* 2452 MHz [9] (20.0 dBm)
* 2457 MHz [10] (20.0 dBm)
* 2462 MHz [11] (20.0 dBm)
* 2467 MHz [12] (20.0 dBm)
* 2472 MHz [13] (20.0 dBm)
* 2484 MHz [14] (disabled)
Supported commands:
* new_interface
* set_interface
* new_key
* start_ap
* new_station
* new_mpath
* set_mesh_config
* set_bss
* authenticate
* associate
* deauthenticate
* disassociate
* join_ibss
* join_mesh
* remain_on_channel
* set_tx_bitrate_mask
* frame
* frame_wait_cancel
* set_wiphy_netns
* set_channel
* probe_client
* set_noack_map
* register_beacons
* start_p2p_device
* set_mcast_rate
* connect
* disconnect
* set_qos_map
* set_multicast_to_unicast
software interface modes (can always be added):
* AP/VLAN
* monitor
interface combinations are not supported
HT Capability overrides:
* MCS: ff ff ff ff ff ff ff ff ff ff
* maximum A-MSDU length
* supported channel width
* short GI for 40 MHz
* max A-MPDU length exponent
* min MPDU start spacing
Device supports TX status socket option.
Device supports HT-IBSS.
Device supports SAE with AUTHENTICATE command
Device supports low priority scan.
Device supports scan flush.
Device supports AP scan.
Device supports per-vif TX power setting
Driver supports full state transitions for AP/GO clients
Driver supports a userspace MPM
Device supports configuring vdev MAC-addr on create.
max # scan plans: 1
max scan plan interval: -1
max scan plan iterations: 0
Supported TX frame types:
* IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
Supported RX frame types:
* IBSS: 0x40 0xb0 0xc0 0xd0
* managed: 0x40 0xb0 0xd0
* AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* mesh point: 0xb0 0xc0 0xd0
* P2P-client: 0x40 0xd0
* P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* P2P-device: 0x40 0xd0
Supported extended features:
* [ RRM ]: RRM
* [ FILS_STA ]: STA FILS (Fast Initial Link Setup)
* [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
* [ SCAN_RANDOM_SN ]: use random sequence numbers in scans
* [ SCAN_MIN_PREQ_CONTENT ]: use probe request with only rate IEs in scans
* [ CONTROL_PORT_NO_PREAUTH ]: disable pre-auth over nl80211 control port support
* [ DEL_IBSS_STA ]: deletion of IBSS station support
* [ SCAN_FREQ_KHZ ]: scan on kHz frequency support
* [ CONTROL_PORT_OVER_NL80211_TX_STATUS ]: tx status for nl80211 control port support
There's AP/VLAN and AP params.

Re: [Drivers / OpenRC / Kernel 6.0+] Crash on compiling driver for TLWN881ND.

Reply #10
Update: I got it to work in by setting up basic routing. Although, still speeds are around 60 KB/s - 100 KB/s. Weirdly enough, at start there's 6 MB/s and it's dropping down quickly. After the drop, there's a low chance to receive a ping from the internet, although router (computer) can be pinged & pages from the router can can be opened.

Here's the commands output:

Code: [Select]
(ROUTER) [gameplayer@server ~]$ ping 192.168.1.2
PING 192.168.1.2 (192.168.1.2) 56(84) bytes of data.
64 bytes from 192.168.1.2: icmp_seq=1 ttl=64 time=6.92 ms
64 bytes from 192.168.1.2: icmp_seq=2 ttl=64 time=53.6 ms
64 bytes from 192.168.1.2: icmp_seq=3 ttl=64 time=77.0 ms
64 bytes from 192.168.1.2: icmp_seq=4 ttl=64 time=99.7 ms
64 bytes from 192.168.1.2: icmp_seq=5 ttl=64 time=19.5 ms
64 bytes from 192.168.1.2: icmp_seq=6 ttl=64 time=3.60 ms
64 bytes from 192.168.1.2: icmp_seq=7 ttl=64 time=166 ms
64 bytes from 192.168.1.2: icmp_seq=8 ttl=64 time=86.5 ms
64 bytes from 192.168.1.2: icmp_seq=9 ttl=64 time=109 ms
64 bytes from 192.168.1.2: icmp_seq=10 ttl=64 time=29.5 ms
64 bytes from 192.168.1.2: icmp_seq=11 ttl=64 time=51.8 ms
64 bytes from 192.168.1.2: icmp_seq=12 ttl=64 time=74.8 ms
64 bytes from 192.168.1.2: icmp_seq=13 ttl=64 time=96.4 ms
64 bytes from 192.168.1.2: icmp_seq=14 ttl=64 time=16.5 ms
64 bytes from 192.168.1.2: icmp_seq=15 ttl=64 time=39.8 ms
64 bytes from 192.168.1.2: icmp_seq=16 ttl=64 time=166 ms
64 bytes from 192.168.1.2: icmp_seq=17 ttl=64 time=87.7 ms
64 bytes from 192.168.1.2: icmp_seq=18 ttl=64 time=7.00 ms
64 bytes from 192.168.1.2: icmp_seq=19 ttl=64 time=29.8 ms
64 bytes from 192.168.1.2: icmp_seq=20 ttl=64 time=52.6 ms
64 bytes from 192.168.1.2: icmp_seq=21 ttl=64 time=21.9 ms
64 bytes from 192.168.1.2: icmp_seq=22 ttl=64 time=84.4 ms
64 bytes from 192.168.1.2: icmp_seq=23 ttl=64 time=19.4 ms
64 bytes from 192.168.1.2: icmp_seq=24 ttl=64 time=5.11 ms
64 bytes from 192.168.1.2: icmp_seq=25 ttl=64 time=64.6 ms
64 bytes from 192.168.1.2: icmp_seq=26 ttl=64 time=87.7 ms
64 bytes from 192.168.1.2: icmp_seq=27 ttl=64 time=8.64 ms
64 bytes from 192.168.1.2: icmp_seq=28 ttl=64 time=30.3 ms
64 bytes from 192.168.1.2: icmp_seq=29 ttl=64 time=155 ms
64 bytes from 192.168.1.2: icmp_seq=30 ttl=64 time=75.6 ms
^C
--- 192.168.1.2 ping statistics ---
30 packets transmitted, 30 received, 0% packet loss, time 29039ms
rtt min/avg/max/mdev = 3.598/60.889/166.238/46.492 ms

Code: [Select]
(DEVICE / LAPTOP) (~)$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=45.2 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=64.6 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=191 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=256 ms
64 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=953 ms
64 bytes from 192.168.1.1: icmp_seq=6 ttl=64 time=56.9 ms
64 bytes from 192.168.1.1: icmp_seq=7 ttl=64 time=182 ms
64 bytes from 192.168.1.1: icmp_seq=8 ttl=64 time=1028 ms
64 bytes from 192.168.1.1: icmp_seq=9 ttl=64 time=348 ms
64 bytes from 192.168.1.1: icmp_seq=10 ttl=64 time=122 ms
64 bytes from 192.168.1.1: icmp_seq=11 ttl=64 time=42.2 ms
64 bytes from 192.168.1.1: icmp_seq=12 ttl=64 time=65.7 ms
64 bytes from 192.168.1.1: icmp_seq=13 ttl=64 time=1011 ms
64 bytes from 192.168.1.1: icmp_seq=14 ttl=64 time=414 ms
64 bytes from 192.168.1.1: icmp_seq=15 ttl=64 time=27.5 ms
64 bytes from 192.168.1.1: icmp_seq=16 ttl=64 time=49.6 ms
64 bytes from 192.168.1.1: icmp_seq=17 ttl=64 time=1025 ms
64 bytes from 192.168.1.1: icmp_seq=18 ttl=64 time=4.44 ms
64 bytes from 192.168.1.1: icmp_seq=19 ttl=64 time=96.8 ms
64 bytes from 192.168.1.1: icmp_seq=20 ttl=64 time=16.7 ms
64 bytes from 192.168.1.1: icmp_seq=21 ttl=64 time=253 ms
64 bytes from 192.168.1.1: icmp_seq=22 ttl=64 time=881 ms
64 bytes from 192.168.1.1: icmp_seq=23 ttl=64 time=89.2 ms
64 bytes from 192.168.1.1: icmp_seq=24 ttl=64 time=6.97 ms
64 bytes from 192.168.1.1: icmp_seq=25 ttl=64 time=30.2 ms
64 bytes from 192.168.1.1: icmp_seq=26 ttl=64 time=52.9 ms
64 bytes from 192.168.1.1: icmp_seq=27 ttl=64 time=77.2 ms
64 bytes from 192.168.1.1: icmp_seq=28 ttl=64 time=1006 ms
64 bytes from 192.168.1.1: icmp_seq=29 ttl=64 time=20.6 ms
64 bytes from 192.168.1.1: icmp_seq=30 ttl=64 time=551 ms
64 bytes from 192.168.1.1: icmp_seq=31 ttl=64 time=64.5 ms
64 bytes from 192.168.1.1: icmp_seq=32 ttl=64 time=1029 ms
64 bytes from 192.168.1.1: icmp_seq=33 ttl=64 time=88.9 ms
64 bytes from 192.168.1.1: icmp_seq=34 ttl=64 time=6.80 ms
64 bytes from 192.168.1.1: icmp_seq=35 ttl=64 time=32.8 ms
64 bytes from 192.168.1.1: icmp_seq=36 ttl=64 time=785 ms
64 bytes from 192.168.1.1: icmp_seq=37 ttl=64 time=792 ms
64 bytes from 192.168.1.1: icmp_seq=38 ttl=64 time=98.7 ms
64 bytes from 192.168.1.1: icmp_seq=39 ttl=64 time=19.2 ms
64 bytes from 192.168.1.1: icmp_seq=40 ttl=64 time=838 ms
64 bytes from 192.168.1.1: icmp_seq=41 ttl=64 time=48.7 ms
64 bytes from 192.168.1.1: icmp_seq=42 ttl=64 time=88.7 ms
64 bytes from 192.168.1.1: icmp_seq=43 ttl=64 time=113 ms
64 bytes from 192.168.1.1: icmp_seq=44 ttl=64 time=30.6 ms
64 bytes from 192.168.1.1: icmp_seq=45 ttl=64 time=1029 ms
64 bytes from 192.168.1.1: icmp_seq=46 ttl=64 time=257 ms
64 bytes from 192.168.1.1: icmp_seq=47 ttl=64 time=281 ms
64 bytes from 192.168.1.1: icmp_seq=48 ttl=64 time=97.0 ms
64 bytes from 192.168.1.1: icmp_seq=49 ttl=64 time=17.8 ms
64 bytes from 192.168.1.1: icmp_seq=50 ttl=64 time=41.1 ms
64 bytes from 192.168.1.1: icmp_seq=51 ttl=64 time=65.0 ms
64 bytes from 192.168.1.1: icmp_seq=52 ttl=64 time=85.6 ms
64 bytes from 192.168.1.1: icmp_seq=53 ttl=64 time=108 ms
64 bytes from 192.168.1.1: icmp_seq=54 ttl=64 time=27.6 ms
64 bytes from 192.168.1.1: icmp_seq=55 ttl=64 time=51.5 ms
64 bytes from 192.168.1.1: icmp_seq=56 ttl=64 time=72.1 ms
64 bytes from 192.168.1.1: icmp_seq=57 ttl=64 time=96.8 ms
64 bytes from 192.168.1.1: icmp_seq=58 ttl=64 time=18.5 ms
64 bytes from 192.168.1.1: icmp_seq=59 ttl=64 time=1337 ms
64 bytes from 192.168.1.1: icmp_seq=60 ttl=64 time=360 ms
64 bytes from 192.168.1.1: icmp_seq=61 ttl=64 time=76.7 ms
64 bytes from 192.168.1.1: icmp_seq=62 ttl=64 time=96.5 ms
64 bytes from 192.168.1.1: icmp_seq=63 ttl=64 time=16.4 ms
64 bytes from 192.168.1.1: icmp_seq=64 ttl=64 time=39.7 ms
64 bytes from 192.168.1.1: icmp_seq=65 ttl=64 time=63.6 ms
64 bytes from 192.168.1.1: icmp_seq=66 ttl=64 time=88.9 ms
64 bytes from 192.168.1.1: icmp_seq=67 ttl=64 time=108 ms
64 bytes from 192.168.1.1: icmp_seq=68 ttl=64 time=27.5 ms
64 bytes from 192.168.1.1: icmp_seq=69 ttl=64 time=51.2 ms
64 bytes from 192.168.1.1: icmp_seq=70 ttl=64 time=72.7 ms
64 bytes from 192.168.1.1: icmp_seq=71 ttl=64 time=198 ms
64 bytes from 192.168.1.1: icmp_seq=72 ttl=64 time=14.3 ms
64 bytes from 192.168.1.1: icmp_seq=73 ttl=64 time=36.8 ms
64 bytes from 192.168.1.1: icmp_seq=74 ttl=64 time=36.5 ms
64 bytes from 192.168.1.1: icmp_seq=75 ttl=64 time=183 ms
64 bytes from 192.168.1.1: icmp_seq=76 ttl=64 time=104 ms
64 bytes from 192.168.1.1: icmp_seq=77 ttl=64 time=25.8 ms
64 bytes from 192.168.1.1: icmp_seq=78 ttl=64 time=148 ms
64 bytes from 192.168.1.1: icmp_seq=79 ttl=64 time=68.2 ms
64 bytes from 192.168.1.1: icmp_seq=80 ttl=64 time=92.2 ms
64 bytes from 192.168.1.1: icmp_seq=81 ttl=64 time=15.4 ms
64 bytes from 192.168.1.1: icmp_seq=82 ttl=64 time=36.0 ms
64 bytes from 192.168.1.1: icmp_seq=83 ttl=64 time=61.5 ms
64 bytes from 192.168.1.1: icmp_seq=84 ttl=64 time=81.9 ms
64 bytes from 192.168.1.1: icmp_seq=85 ttl=64 time=106 ms
64 bytes from 192.168.1.1: icmp_seq=86 ttl=64 time=127 ms
64 bytes from 192.168.1.1: icmp_seq=87 ttl=64 time=47.6 ms
64 bytes from 192.168.1.1: icmp_seq=88 ttl=64 time=70.5 ms
64 bytes from 192.168.1.1: icmp_seq=89 ttl=64 time=1282 ms
64 bytes from 192.168.1.1: icmp_seq=90 ttl=64 time=407 ms
64 bytes from 192.168.1.1: icmp_seq=91 ttl=64 time=26.8 ms
64 bytes from 192.168.1.1: icmp_seq=92 ttl=64 time=47.4 ms
64 bytes from 192.168.1.1: icmp_seq=93 ttl=64 time=69.9 ms
64 bytes from 192.168.1.1: icmp_seq=94 ttl=64 time=94.8 ms
64 bytes from 192.168.1.1: icmp_seq=95 ttl=64 time=8.44 ms
64 bytes from 192.168.1.1: icmp_seq=96 ttl=64 time=21.6 ms
64 bytes from 192.168.1.1: icmp_seq=97 ttl=64 time=34.1 ms
64 bytes from 192.168.1.1: icmp_seq=98 ttl=64 time=81.9 ms
64 bytes from 192.168.1.1: icmp_seq=99 ttl=64 time=105 ms
64 bytes from 192.168.1.1: icmp_seq=100 ttl=64 time=25.1 ms
64 bytes from 192.168.1.1: icmp_seq=101 ttl=64 time=49.4 ms
64 bytes from 192.168.1.1: icmp_seq=102 ttl=64 time=153 ms
64 bytes from 192.168.1.1: icmp_seq=103 ttl=64 time=93.4 ms
64 bytes from 192.168.1.1: icmp_seq=104 ttl=64 time=13.3 ms
64 bytes from 192.168.1.1: icmp_seq=105 ttl=64 time=37.0 ms
64 bytes from 192.168.1.1: icmp_seq=106 ttl=64 time=58.2 ms
64 bytes from 192.168.1.1: icmp_seq=107 ttl=64 time=80.8 ms
64 bytes from 192.168.1.1: icmp_seq=108 ttl=64 time=103 ms
64 bytes from 192.168.1.1: icmp_seq=109 ttl=64 time=24.7 ms
64 bytes from 192.168.1.1: icmp_seq=110 ttl=64 time=131 ms
64 bytes from 192.168.1.1: icmp_seq=111 ttl=64 time=67.9 ms
64 bytes from 192.168.1.1: icmp_seq=112 ttl=64 time=94.3 ms
64 bytes from 192.168.1.1: icmp_seq=113 ttl=64 time=12.9 ms
64 bytes from 192.168.1.1: icmp_seq=114 ttl=64 time=34.0 ms
64 bytes from 192.168.1.1: icmp_seq=115 ttl=64 time=57.8 ms
64 bytes from 192.168.1.1: icmp_seq=116 ttl=64 time=80.4 ms
64 bytes from 192.168.1.1: icmp_seq=117 ttl=64 time=103 ms
64 bytes from 192.168.1.1: icmp_seq=118 ttl=64 time=126 ms
64 bytes from 192.168.1.1: icmp_seq=119 ttl=64 time=1245 ms
64 bytes from 192.168.1.1: icmp_seq=120 ttl=64 time=257 ms
64 bytes from 192.168.1.1: icmp_seq=121 ttl=64 time=74.0 ms
64 bytes from 192.168.1.1: icmp_seq=122 ttl=64 time=96.8 ms
64 bytes from 192.168.1.1: icmp_seq=123 ttl=64 time=17.0 ms
64 bytes from 192.168.1.1: icmp_seq=124 ttl=64 time=39.4 ms
64 bytes from 192.168.1.1: icmp_seq=125 ttl=64 time=62.6 ms
64 bytes from 192.168.1.1: icmp_seq=126 ttl=64 time=84.7 ms
64 bytes from 192.168.1.1: icmp_seq=127 ttl=64 time=8.32 ms
64 bytes from 192.168.1.1: icmp_seq=128 ttl=64 time=27.2 ms
64 bytes from 192.168.1.1: icmp_seq=129 ttl=64 time=357 ms
64 bytes from 192.168.1.1: icmp_seq=130 ttl=64 time=73.2 ms
64 bytes from 192.168.1.1: icmp_seq=131 ttl=64 time=95.9 ms
64 bytes from 192.168.1.1: icmp_seq=132 ttl=64 time=17.0 ms
64 bytes from 192.168.1.1: icmp_seq=133 ttl=64 time=39.7 ms
64 bytes from 192.168.1.1: icmp_seq=134 ttl=64 time=62.7 ms
64 bytes from 192.168.1.1: icmp_seq=135 ttl=64 time=85.9 ms
64 bytes from 192.168.1.1: icmp_seq=136 ttl=64 time=313 ms
64 bytes from 192.168.1.1: icmp_seq=137 ttl=64 time=132 ms
64 bytes from 192.168.1.1: icmp_seq=138 ttl=64 time=257 ms
64 bytes from 192.168.1.1: icmp_seq=139 ttl=64 time=281 ms
64 bytes from 192.168.1.1: icmp_seq=140 ttl=64 time=55.7 ms
64 bytes from 192.168.1.1: icmp_seq=141 ttl=64 time=18.4 ms
64 bytes from 192.168.1.1: icmp_seq=142 ttl=64 time=39.9 ms
64 bytes from 192.168.1.1: icmp_seq=143 ttl=64 time=12.6 ms
64 bytes from 192.168.1.1: icmp_seq=144 ttl=64 time=85.9 ms
64 bytes from 192.168.1.1: icmp_seq=145 ttl=64 time=108 ms
64 bytes from 192.168.1.1: icmp_seq=146 ttl=64 time=28.5 ms
64 bytes from 192.168.1.1: icmp_seq=147 ttl=64 time=155 ms
64 bytes from 192.168.1.1: icmp_seq=148 ttl=64 time=73.3 ms
64 bytes from 192.168.1.1: icmp_seq=149 ttl=64 time=1175 ms
64 bytes from 192.168.1.1: icmp_seq=150 ttl=64 time=209 ms
64 bytes from 192.168.1.1: icmp_seq=151 ttl=64 time=27.6 ms
64 bytes from 192.168.1.1: icmp_seq=152 ttl=64 time=50.4 ms
64 bytes from 192.168.1.1: icmp_seq=153 ttl=64 time=276 ms
64 bytes from 192.168.1.1: icmp_seq=154 ttl=64 time=96.7 ms
64 bytes from 192.168.1.1: icmp_seq=155 ttl=64 time=16.3 ms
64 bytes from 192.168.1.1: icmp_seq=156 ttl=64 time=37.1 ms
64 bytes from 192.168.1.1: icmp_seq=157 ttl=64 time=333 ms
64 bytes from 192.168.1.1: icmp_seq=158 ttl=64 time=672 ms
64 bytes from 192.168.1.1: icmp_seq=159 ttl=64 time=653 ms
64 bytes from 192.168.1.1: icmp_seq=160 ttl=64 time=658 ms
64 bytes from 192.168.1.1: icmp_seq=161 ttl=64 time=1308 ms
64 bytes from 192.168.1.1: icmp_seq=162 ttl=64 time=650 ms
64 bytes from 192.168.1.1: icmp_seq=163 ttl=64 time=661 ms
64 bytes from 192.168.1.1: icmp_seq=164 ttl=64 time=615 ms
64 bytes from 192.168.1.1: icmp_seq=165 ttl=64 time=705 ms
64 bytes from 192.168.1.1: icmp_seq=166 ttl=64 time=586 ms
64 bytes from 192.168.1.1: icmp_seq=167 ttl=64 time=77.6 ms
64 bytes from 192.168.1.1: icmp_seq=168 ttl=64 time=103 ms
64 bytes from 192.168.1.1: icmp_seq=169 ttl=64 time=20.1 ms
64 bytes from 192.168.1.1: icmp_seq=170 ttl=64 time=43.0 ms
64 bytes from 192.168.1.1: icmp_seq=171 ttl=64 time=66.1 ms
64 bytes from 192.168.1.1: icmp_seq=172 ttl=64 time=1017 ms
64 bytes from 192.168.1.1: icmp_seq=173 ttl=64 time=1005 ms
64 bytes from 192.168.1.1: icmp_seq=174 ttl=64 time=26.8 ms
64 bytes from 192.168.1.1: icmp_seq=175 ttl=64 time=49.5 ms
64 bytes from 192.168.1.1: icmp_seq=176 ttl=64 time=72.0 ms
64 bytes from 192.168.1.1: icmp_seq=177 ttl=64 time=530 ms
64 bytes from 192.168.1.1: icmp_seq=178 ttl=64 time=118 ms
64 bytes from 192.168.1.1: icmp_seq=179 ttl=64 time=1130 ms
64 bytes from 192.168.1.1: icmp_seq=180 ttl=64 time=159 ms
64 bytes from 192.168.1.1: icmp_seq=181 ttl=64 time=184 ms
64 bytes from 192.168.1.1: icmp_seq=182 ttl=64 time=101 ms
64 bytes from 192.168.1.1: icmp_seq=183 ttl=64 time=999 ms
64 bytes from 192.168.1.1: icmp_seq=184 ttl=64 time=456 ms
64 bytes from 192.168.1.1: icmp_seq=185 ttl=64 time=172 ms
64 bytes from 192.168.1.1: icmp_seq=186 ttl=64 time=194 ms
64 bytes from 192.168.1.1: icmp_seq=187 ttl=64 time=217 ms
64 bytes from 192.168.1.1: icmp_seq=188 ttl=64 time=181 ms
64 bytes from 192.168.1.1: icmp_seq=189 ttl=64 time=57.8 ms
64 bytes from 192.168.1.1: icmp_seq=190 ttl=64 time=80.0 ms
64 bytes from 192.168.1.1: icmp_seq=191 ttl=64 time=590 ms
64 bytes from 192.168.1.1: icmp_seq=192 ttl=64 time=1004 ms
64 bytes from 192.168.1.1: icmp_seq=193 ttl=64 time=4.78 ms
64 bytes from 192.168.1.1: icmp_seq=194 ttl=64 time=70.1 ms
64 bytes from 192.168.1.1: icmp_seq=195 ttl=64 time=93.2 ms
64 bytes from 192.168.1.1: icmp_seq=196 ttl=64 time=492 ms
64 bytes from 192.168.1.1: icmp_seq=197 ttl=64 time=549 ms
64 bytes from 192.168.1.1: icmp_seq=198 ttl=64 time=60.4 ms
64 bytes from 192.168.1.1: icmp_seq=199 ttl=64 time=186 ms
64 bytes from 192.168.1.1: icmp_seq=200 ttl=64 time=541 ms
64 bytes from 192.168.1.1: icmp_seq=201 ttl=64 time=681 ms
64 bytes from 192.168.1.1: icmp_seq=202 ttl=64 time=34.8 ms
64 bytes from 192.168.1.1: icmp_seq=203 ttl=64 time=74.3 ms
64 bytes from 192.168.1.1: icmp_seq=204 ttl=64 time=1018 ms
64 bytes from 192.168.1.1: icmp_seq=205 ttl=64 time=1005 ms
64 bytes from 192.168.1.1: icmp_seq=206 ttl=64 time=24.3 ms
64 bytes from 192.168.1.1: icmp_seq=207 ttl=64 time=49.1 ms
64 bytes from 192.168.1.1: icmp_seq=208 ttl=64 time=69.5 ms
64 bytes from 192.168.1.1: icmp_seq=209 ttl=64 time=1074 ms
64 bytes from 192.168.1.1: icmp_seq=210 ttl=64 time=316 ms
64 bytes from 192.168.1.1: icmp_seq=211 ttl=64 time=133 ms
64 bytes from 192.168.1.1: icmp_seq=212 ttl=64 time=53.1 ms
64 bytes from 192.168.1.1: icmp_seq=213 ttl=64 time=486 ms
64 bytes from 192.168.1.1: icmp_seq=214 ttl=64 time=305 ms
64 bytes from 192.168.1.1: icmp_seq=215 ttl=64 time=24.1 ms
64 bytes from 192.168.1.1: icmp_seq=216 ttl=64 time=148 ms
64 bytes from 192.168.1.1: icmp_seq=217 ttl=64 time=41.5 ms
64 bytes from 192.168.1.1: icmp_seq=218 ttl=64 time=807 ms
64 bytes from 192.168.1.1: icmp_seq=219 ttl=64 time=115 ms
64 bytes from 192.168.1.1: icmp_seq=220 ttl=64 time=241 ms
64 bytes from 192.168.1.1: icmp_seq=221 ttl=64 time=674 ms
64 bytes from 192.168.1.1: icmp_seq=222 ttl=64 time=904 ms
64 bytes from 192.168.1.1: icmp_seq=223 ttl=64 time=110 ms
64 bytes from 192.168.1.1: icmp_seq=224 ttl=64 time=28.8 ms
64 bytes from 192.168.1.1: icmp_seq=225 ttl=64 time=51.9 ms
64 bytes from 192.168.1.1: icmp_seq=226 ttl=64 time=688 ms
64 bytes from 192.168.1.1: icmp_seq=227 ttl=64 time=202 ms
64 bytes from 192.168.1.1: icmp_seq=228 ttl=64 time=17.2 ms
64 bytes from 192.168.1.1: icmp_seq=229 ttl=64 time=142 ms
64 bytes from 192.168.1.1: icmp_seq=230 ttl=64 time=1004 ms
64 bytes from 192.168.1.1: icmp_seq=231 ttl=64 time=266 ms
64 bytes from 192.168.1.1: icmp_seq=232 ttl=64 time=105 ms
64 bytes from 192.168.1.1: icmp_seq=233 ttl=64 time=26.5 ms
64 bytes from 192.168.1.1: icmp_seq=234 ttl=64 time=412 ms
64 bytes from 192.168.1.1: icmp_seq=235 ttl=64 time=19.7 ms
64 bytes from 192.168.1.1: icmp_seq=236 ttl=64 time=94.8 ms
64 bytes from 192.168.1.1: icmp_seq=237 ttl=64 time=14.7 ms
64 bytes from 192.168.1.1: icmp_seq=238 ttl=64 time=460 ms
64 bytes from 192.168.1.1: icmp_seq=239 ttl=64 time=1049 ms
64 bytes from 192.168.1.1: icmp_seq=240 ttl=64 time=92.3 ms
64 bytes from 192.168.1.1: icmp_seq=241 ttl=64 time=97.5 ms
64 bytes from 192.168.1.1: icmp_seq=242 ttl=64 time=232 ms
64 bytes from 192.168.1.1: icmp_seq=243 ttl=64 time=147 ms
64 bytes from 192.168.1.1: icmp_seq=244 ttl=64 time=381 ms
64 bytes from 192.168.1.1: icmp_seq=245 ttl=64 time=8.65 ms
64 bytes from 192.168.1.1: icmp_seq=246 ttl=64 time=17.9 ms
64 bytes from 192.168.1.1: icmp_seq=247 ttl=64 time=196 ms
64 bytes from 192.168.1.1: icmp_seq=248 ttl=64 time=677 ms
64 bytes from 192.168.1.1: icmp_seq=249 ttl=64 time=86.6 ms
64 bytes from 192.168.1.1: icmp_seq=250 ttl=64 time=8.16 ms
64 bytes from 192.168.1.1: icmp_seq=251 ttl=64 time=244 ms
64 bytes from 192.168.1.1: icmp_seq=252 ttl=64 time=603 ms
64 bytes from 192.168.1.1: icmp_seq=253 ttl=64 time=76.7 ms
64 bytes from 192.168.1.1: icmp_seq=254 ttl=64 time=15.3 ms
64 bytes from 192.168.1.1: icmp_seq=255 ttl=64 time=293 ms
64 bytes from 192.168.1.1: icmp_seq=256 ttl=64 time=248 ms
64 bytes from 192.168.1.1: icmp_seq=257 ttl=64 time=275 ms
64 bytes from 192.168.1.1: icmp_seq=258 ttl=64 time=65.8 ms
64 bytes from 192.168.1.1: icmp_seq=259 ttl=64 time=112 ms
64 bytes from 192.168.1.1: icmp_seq=260 ttl=64 time=1024 ms
64 bytes from 192.168.1.1: icmp_seq=261 ttl=64 time=344 ms
64 bytes from 192.168.1.1: icmp_seq=262 ttl=64 time=163 ms
64 bytes from 192.168.1.1: icmp_seq=263 ttl=64 time=39.0 ms
64 bytes from 192.168.1.1: icmp_seq=264 ttl=64 time=106 ms
64 bytes from 192.168.1.1: icmp_seq=265 ttl=64 time=26.1 ms
64 bytes from 192.168.1.1: icmp_seq=266 ttl=64 time=48.6 ms
64 bytes from 192.168.1.1: icmp_seq=267 ttl=64 time=71.5 ms
64 bytes from 192.168.1.1: icmp_seq=268 ttl=64 time=94.0 ms
64 bytes from 192.168.1.1: icmp_seq=269 ttl=64 time=976 ms
64 bytes from 192.168.1.1: icmp_seq=270 ttl=64 time=38.5 ms
64 bytes from 192.168.1.1: icmp_seq=271 ttl=64 time=61.0 ms
64 bytes from 192.168.1.1: icmp_seq=272 ttl=64 time=84.8 ms
64 bytes from 192.168.1.1: icmp_seq=273 ttl=64 time=42.3 ms
64 bytes from 192.168.1.1: icmp_seq=274 ttl=64 time=17.9 ms
64 bytes from 192.168.1.1: icmp_seq=275 ttl=64 time=51.0 ms
64 bytes from 192.168.1.1: icmp_seq=276 ttl=64 time=72.2 ms
64 bytes from 192.168.1.1: icmp_seq=277 ttl=64 time=197 ms
64 bytes from 192.168.1.1: icmp_seq=278 ttl=64 time=15.3 ms
64 bytes from 192.168.1.1: icmp_seq=279 ttl=64 time=37.3 ms
64 bytes from 192.168.1.1: icmp_seq=280 ttl=64 time=60.1 ms
64 bytes from 192.168.1.1: icmp_seq=281 ttl=64 time=82.7 ms
64 bytes from 192.168.1.1: icmp_seq=282 ttl=64 time=106 ms
64 bytes from 192.168.1.1: icmp_seq=283 ttl=64 time=26.3 ms
64 bytes from 192.168.1.1: icmp_seq=284 ttl=64 time=10.3 ms
64 bytes from 192.168.1.1: icmp_seq=285 ttl=64 time=71.3 ms
64 bytes from 192.168.1.1: icmp_seq=286 ttl=64 time=93.8 ms
64 bytes from 192.168.1.1: icmp_seq=287 ttl=64 time=14.0 ms
64 bytes from 192.168.1.1: icmp_seq=288 ttl=64 time=121 ms
64 bytes from 192.168.1.1: icmp_seq=289 ttl=64 time=58.5 ms
64 bytes from 192.168.1.1: icmp_seq=290 ttl=64 time=80.9 ms
64 bytes from 192.168.1.1: icmp_seq=291 ttl=64 time=206 ms
64 bytes from 192.168.1.1: icmp_seq=292 ttl=64 time=25.9 ms
64 bytes from 192.168.1.1: icmp_seq=293 ttl=64 time=152 ms
64 bytes from 192.168.1.1: icmp_seq=294 ttl=64 time=175 ms
64 bytes from 192.168.1.1: icmp_seq=295 ttl=64 time=96.4 ms
64 bytes from 192.168.1.1: icmp_seq=296 ttl=64 time=16.9 ms
64 bytes from 192.168.1.1: icmp_seq=297 ttl=64 time=40.4 ms
64 bytes from 192.168.1.1: icmp_seq=298 ttl=64 time=62.4 ms
64 bytes from 192.168.1.1: icmp_seq=299 ttl=64 time=941 ms
64 bytes from 192.168.1.1: icmp_seq=300 ttl=64 time=7.33 ms
64 bytes from 192.168.1.1: icmp_seq=301 ttl=64 time=29.5 ms
64 bytes from 192.168.1.1: icmp_seq=302 ttl=64 time=156 ms
64 bytes from 192.168.1.1: icmp_seq=303 ttl=64 time=75.2 ms
64 bytes from 192.168.1.1: icmp_seq=304 ttl=64 time=74.0 ms
64 bytes from 192.168.1.1: icmp_seq=305 ttl=64 time=121 ms
64 bytes from 192.168.1.1: icmp_seq=306 ttl=64 time=42.1 ms
^C
--- 192.168.1.1 ping statistics ---
306 packets transmitted, 306 received, 0% packet loss, time 305560ms
rtt min/avg/max/mdev = 4.438/226.943/1337.361/310.685 ms, pipe 2

Code: [Select]
(DEVICE / LAPTOP) (~)$ ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 18283  bytes 1544642 (1.4 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 18283  bytes 1544642 (1.4 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC>  mtu 1500
        inet 192.168.1.2  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::16eb:b6ff:fe84:aefa  prefixlen 64  scopeid 0x20<link>
        ether xx:xx:xx:xx:xx:xx  txqueuelen 1000  (Ethernet)
        RX packets 32993  bytes 19108932 (18.2 MiB)
        RX errors 0  dropped 484  overruns 0  frame 0
        TX packets 24182  bytes 2788565 (2.6 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


Code: [Select]
[root@server ~]# ifconfig
cni-podman0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.2.1  netmask 255.255.255.0  broadcast 192.168.2.255
        inet6 fe80::50dd:95ff:fe00:b2d3  prefixlen 64  scopeid 0x20<link>
        ether xx:xx:xx:xx:xx:xx  txqueuelen 1000  (Ethernet)
        RX packets 926224  bytes 96927713 (92.4 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1231246  bytes 271233299 (258.6 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.3.1  netmask 255.255.255.0  broadcast 192.168.3.255
        ether xx:xx:xx:xx:xx:xx  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 48 

eth1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.4.1  netmask 255.255.255.0  broadcast 192.168.4.255
        ether xx:xx:xx:xx:xx:xx  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 49 

eth2: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.5.1  netmask 255.255.255.0  broadcast 192.168.5.255
        ether xx:xx:xx:xx:xx:xx  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 48 

eth3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.150  netmask 255.255.255.0  broadcast 0.0.0.0
        inet6 fe80::20a:f7ff:fe11:cc9f  prefixlen 64  scopeid 0x20<link>
        ether xx:xx:xx:xx:xx:xx  txqueuelen 1000  (Ethernet)
        RX packets 647614  bytes 326230158 (311.1 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 605643  bytes 231614212 (220.8 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 49 

eth4: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.6.1  netmask 255.255.255.0  broadcast 192.168.6.255
        ether xx:xx:xx:xx:xx:xx  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 18 

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 32056  bytes 208891568 (199.2 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 32056  bytes 208891568 (199.2 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.1  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::2e0:4cff:fe81:92e1  prefixlen 64  scopeid 0x20<link>
        ether xx:xx:xx:xx:xx:xx  txqueuelen 1000  (Ethernet)
        RX packets 3945  bytes 479929 (468.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2802  bytes 1765389 (1.6 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.7.1  netmask 255.255.255.0  broadcast 192.168.7.255
        inet6 fe80::16eb:b6ff:fecc:e3bb  prefixlen 64  scopeid 0x20<link>
        ether xx:xx:xx:xx:xx:xx  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 272  bytes 65576 (64.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Addionally default speeds of my internet (without connecting through sub-router):

Code: [Select]
(DEVICE / LAPTOP) (~)$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=116 time=924 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=116 time=42.0 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=116 time=42.3 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=116 time=47.8 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=116 time=46.9 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=116 time=38.3 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=116 time=27.6 ms
^C
--- 8.8.8.8 ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 6007ms
rtt min/avg/max/mdev = 27.641/166.926/923.545/308.950 ms

Iptables configuration:

Code: [Select]
*filter
:INPUT ACCEPT [5855:10176069]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [2960:177956]
-A INPUT -s 127.0.0.1 -p tcp -m multiport --dports 8101,9000,195,4567,637,6379,10000,1156 -j ACCEPT
-A INPUT -s 127.0.0.1 -p tcp -m multiport --dports 1178,4711,20,21,9977,9100,8443,8440 -j ACCEPT

-A INPUT -s 192.168.0.0/24 -p tcp -m multiport --dports 195,4567,137,138,139,445,389,901 -j ACCEPT
-A INPUT -s 192.168.0.0/24 -p tcp -m multiport --dports 8505 -j ACCEPT

-A INPUT -s 192.168.1.0/24 -p tcp -m multiport --dports 195,4567,137,138,139,445,389,901 -j ACCEPT
-A INPUT -s 192.168.1.0/24 -p tcp -m multiport --dports 8505 -j ACCEPT

-A INPUT -p tcp -m multiport --dports 8101,9000,195,4567,637,6379,10000,1156,8505 -j DROP
-A INPUT -p tcp -m multiport --dports 1178,4711,20,21,9977,9100,8443,8440,137,138,139,445,389,901 -j DROP

-A FORWARD -s 192.168.0.0/24 -p tcp -m multiport --dports 8505,20,21 -j ACCEPT
-A FORWARD -s 192.168.1.0/24 -p tcp -m multiport --dports 8505,20,21 -j ACCEPT
-A FORWARD -s 127.0.0.1 -p tcp -m multiport --dports 1178,1152 -j ACCEPT
-A FORWARD -p tcp -m multiport --dports 8505,20,21,1178,1152 -j DROP

-A INPUT -i eth3 -p tcp -m conntrack --ctstate NEW -m limit --limit 60/sec --limit-burst 20 -j ACCEPT
-A INPUT -i eth3 -p tcp -m conntrack --ctstate NEW -j DROP
-A INPUT -i eth3 -p tcp -m tcp --tcp-flags RST RST -m limit --limit 2/sec --limit-burst 2 -j ACCEPT
-A INPUT -i eth3 -p tcp -m tcp --tcp-flags RST RST -j DROP
-A INPUT -i eth3 -p tcp -m connlimit --connlimit-above 111 --connlimit-mask 32 --connlimit-saddr -j REJECT --reject-with tcp-reset
-A INPUT -i eth3 -p icmp -m icmp --icmp-type 8 -m limit --limit 30/min -j ACCEPT

COMMIT

*mangle
:PREROUTING ACCEPT [975477:1262794068]
:INPUT ACCEPT [403259:586179006]
:FORWARD ACCEPT [572218:676615062]
:OUTPUT ACCEPT [264480:41512267]
:POSTROUTING ACCEPT [836750:718137019]
-A PREROUTING -i eth3 -m conntrack --ctstate INVALID -j DROP
-A PREROUTING -i eth3 -p tcp -m tcp ! --tcp-flags FIN,SYN,RST,ACK SYN -m conntrack --ctstate NEW -j DROP
-A PREROUTING -i eth3 -p tcp -m conntrack --ctstate NEW -m tcpmss ! --mss 536:65535 -j DROP
-A PREROUTING -i eth3 -f -j DROP
-A PREROUTING -i eth3 -p tcp -m tcp --tcp-flags FIN,SYN FIN,SYN -j DROP
-A PREROUTING -i eth3 -p tcp -m tcp --tcp-flags SYN,RST SYN,RST -j DROP
-A PREROUTING -i eth3 -p tcp -m tcp --tcp-flags FIN,RST FIN,RST -j DROP
-A PREROUTING -i eth3 -p tcp -m tcp --tcp-flags FIN,ACK FIN -j DROP
-A PREROUTING -i eth3 -p tcp -m tcp --tcp-flags ACK,URG URG -j DROP
-A PREROUTING -i eth3 -p tcp -m tcp --tcp-flags PSH,ACK PSH -j DROP
-A PREROUTING -i eth3 -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG NONE -j DROP

COMMIT

*nat
:PREROUTING ACCEPT [73:9857]
:INPUT ACCEPT [73:9857]
:OUTPUT ACCEPT [53:7534]
:POSTROUTING ACCEPT [53:7534]

-A POSTROUTING -o wlan0 -j MASQUERADE
-A POSTROUTING -o wlan1 -j MASQUERADE
-A POSTROUTING -o eth0 -j MASQUERADE
-A POSTROUTING -o eth1 -j MASQUERADE
-A POSTROUTING -o eth2 -j MASQUERADE
-A POSTROUTING -o eth4 -j MASQUERADE
-A PREROUTING -p tcp --dport 53 -j REDIRECT --to-port 5353

COMMIT

Routing table:
Code: [Select]
(ROUTER) [root@server ~]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth3
127.0.0.0       127.0.0.1       255.0.0.0       UG    0      0        0 lo
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth3
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 wlan0
192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 cni-podman0
192.168.3.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.4.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
192.168.5.0     0.0.0.0         255.255.255.0   U     0      0        0 eth2
192.168.6.0     0.0.0.0         255.255.255.0   U     0      0        0 eth4
192.168.7.0     0.0.0.0         255.255.255.0   U     0      0        0 wlan1

dhcpd.conf:

Code: [Select]
# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#

# option definitions common to all supported networks...
option domain-name "gameplayer.tru.io";
option domain-name-servers 192.168.1.1;

default-lease-time 600;
max-lease-time 7200;

# Use this to enble / disable dynamic dns updates globally.
ddns-update-style none;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;

log-facility local7;

subnet 192.168.1.0 netmask 255.255.255.0 {
authoritative;
range 192.168.1.2 192.168.1.254;
option subnet-mask 255.255.255.0;
option routers 192.168.1.1;
option domain-name-servers 192.168.1.1;
default-lease-time 3600;
max-lease-time 7200;
}

subnet 192.168.3.0 netmask 255.255.255.0 {
authoritative;
range 192.168.3.2 192.168.3.254;
option subnet-mask 255.255.255.0;
option routers 192.168.3.1;
option domain-name-servers 192.168.3.1;
default-lease-time 3600;
max-lease-time 7200;
}

subnet 192.168.4.0 netmask 255.255.255.0 {
authoritative;
range 192.168.4.2 192.168.4.254;
option subnet-mask 255.255.255.0;
option routers 192.168.4.1;
option domain-name-servers 192.168.4.1;
default-lease-time 3600;
max-lease-time 7200;
}

subnet 192.168.5.0 netmask 255.255.255.0 {
authoritative;
range 192.168.5.2 192.168.5.254;
option subnet-mask 255.255.255.0;
option routers 192.168.5.1;
option domain-name-servers 192.168.5.1;
default-lease-time 3600;
max-lease-time 7200;
}

subnet 192.168.6.0 netmask 255.255.255.0 {
authoritative;
range 192.168.6.2 192.168.6.254;
option subnet-mask 255.255.255.0;
option routers 192.168.6.1;
option domain-name-servers 192.168.6.1;
default-lease-time 3600;
max-lease-time 7200;
}

subnet 192.168.7.0 netmask 255.255.255.0 {
authoritative;
range 192.168.7.2 192.168.7.254;
option subnet-mask 255.255.255.0;
option routers 192.168.7.1;
option domain-name-servers 192.168.7.1;
default-lease-time 3600;
max-lease-time 7200;
}

/etc/hostapd/wlan0.conf:
Code: [Select]
interface=wlan0
ssid=WiFi
channel=6
ieee80211n=1
wmm_enabled=1
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=password1234
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
driver=nl80211
hw_mode=g
country_code=PL

DNS is being served by PiHole from Podman.
Also I don't know, if should I go with it to even TP-Link forum or linux repository issues page.

 

Re: [Drivers / OpenRC / Kernel 6.0+] Crash on compiling driver for TLWN881ND.

Reply #11
The problem was related to using Ubuntu drivers instead of Arch-based drivers.
By default drivers for TLWN881ND are installed. No AUR package is needed.

The driver name is rtl8192ee.

But for hostapd there's an AUR package for rtl driver, which is called hostapd-rtl871xdrv.

The problem with the slow speeds might be related to power consumption.