Is LTE solving Internet access problem in rural regions?

In the rural regions there is limited choice for Internet service providers (ISP). In my region, there is only one choice for cable connection… Therefore, I have decided to try widely advertised LTE. I have chosen one of the providers based on the closest LTE stations.

The real speed (20Mbps / 4Mbps) is far from the advertised 150Mbps, but it’s way better than my current cable connection (10Mbps / 1Mbps). Unfortunately, the station is some 3km away. I have obtained 30Mbps / 4.3Mbps by placing the modem outdoor, but this seems to be max in my region.

But still, the problem with data transfer limit remains… Hopefully, the competition between LTE providers will withdraw those limits as it happened in the early years with ADSL providers.

Limit rsync bandwitdh

Especially useful if you share Internet connection with devoted gamers and you prefer to stay safe when they play CS;)
# limit rsync bandwith to 500 KB/s
rsync -avz –bwlimit=500 remoteHost:remoteDir ~/localDir
I have noticed rsync is using double --bwlimit (in this case 1000 KB/s), so if you truly want to limit the bandwidth to 500 KB/s, use --bwlimit=250.

Inspired by HowToGeek.

Testing connection speed between two computers

I’ve expanded my home network with new switch and I wanted to test the connection speed between different computers. At first, I ran rsync, but I’ve quickly realised it’s limited by source/destination read/write speeds.
I found better way of measuring connection speed using netcat:

# start listening on one computer ie
nc -vvlnp 12345 < /dev/null

# start broadcasting ~100MB from another computer
dd if=/dev/zero bs=1M count=100 | nc -vvn 12345
## 104857600 bytes (105 MB) copied, 8.89602 s, 11.8 MB/s

You can use more sophisticated tools for the same purpose ie. iperf:

# install on both boxes
sudo apt-get install iperf

# start server in one computer
iperf -s

# measure connection speed from client(s)
iperf -c server_IP
##[  5]  0.0-10.0 sec   112 MBytes  94.1 Mbits/sec

Inspired by AskUbuntu.