Here are a couple of commands
here is my output for ifconfig | more the wlp3s0 is my WiFi
Code:
$ ifconfig | more
enp4s0f1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether a8:1e:84:ad:cf:76 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
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 3751 bytes 354974 (354.9 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3751 bytes 354974 (354.9 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::a39e:3636:a941:a574 prefixlen 64 scopeid 0x20<link>
ether 3c:95:09:d5:33:93 txqueuelen 1000 (Ethernet)
RX packets 34536 bytes 40067375 (40.0 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 19670 bytes 2399630 (2.3 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
These commands tell what your WiFi is doing between your machine and the WiFi router not from the WiFi to your ISP
you can use the ping command to check connectivity to website
To test your Speed in the terminal
Code:
wget -O /dev/null http://speedtest.wdc01.softlayer.com/downloads/test10.zip
The test basically downloads a 10MB dummy file using the wget command to pull a file from a remote server. The speed is displayed in the terminal when the file download has completed, so you know how fast your connection is running - if you want to test a larger file where it says /test10.zip change it to /test100.zip the will download a 100MB dummy file instead of a 10MB file
Here is my output from this
Code:
$ wget -O /dev/null http://speedtest.wdc01.softlayer.com/downloads/test10.zip
--2022-04-10 08:27:15-- http://speedtest.wdc01.softlayer.com/downloads/test10.zip
Resolving speedtest.wdc01.softlayer.com (speedtest.wdc01.softlayer.com)... 169.54.48.218
Connecting to speedtest.wdc01.softlayer.com (speedtest.wdc01.softlayer.com)|169.54.48.218|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11536384 (11M) [application/zip]
Saving to: ‘/dev/null’
/dev/null 100%[===================>] 11.00M 1.12MB/s in 9.9s
2022-04-10 08:27:25 (1.11 MB/s) - ‘/dev/null’ saved [11536384/11536384]
I only have a 9MB DSL Line where I live, but I live out in the country and have no cable TV lines so from this I am getting all I can get out of my DSL connection