Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Improve Network Speed¶
软路由让你的翻墙速度快十倍!LEDE软路由v2ray对比梅林固件(v2ray
https://
https://
一个U盘优盘就翻墙 免费拥有VPN翻墙路由器的两种方法 Openwrt/LEDE软路由U盘优盘的制作 ButterflyVPN评测
QR Code for WiFi¶
WiFi Card print a QR code for connecting to your WiFi (wificard.io)
VPN/Proxy¶
https://
Reverse Proxy¶
Expose Local Web Services to Public¶
Please refer to Expose Local Service to Public or detailed discussions.
General Tips¶
Use the same wireless network name and password so that your laptop and phone recognize it automatically. This makes things much more convenient.
Debugging Network Issues¶
Check whether you have block some services in /etc/hosts.allow or iptables, etc.
http://192.168.0.1/ is the router address
Turn off wireless router and moderm. Start wireless router and wait for 30 seconds, and then start the moderm.
Permanent Change to the File /etc/resolv.conf¶
Notice that the content of /etc/resolv.conf is dynamically managed.
Content of the file might change after the host machine is rebooted.
Below are some ways to make changes to the file /etc/resolv.conf permanent.
(Notice that below are solutions for Linux machines only.
Do NOT use any of the solutions below when you are building a Docker image
as Docker has its own way of handling DNS.)
Make
/etc/resolv.confimmutable.Update the file
/etc/dhcp/dhclient.confuse
resolvconfmore ...
https://
https://
https://
https://
https://
List Network Cards¶
lspci | egrep -i --color 'network|ethernet'Or you can use
lshw -class networkIP Address¶
To get the your public ip address, use the following simple command.
:::bash curl ifconfig.meOr you can use https://
www .ipify .org/ which provides A Simple Public IP Address API. :::bash curl https://api.ipify.org?format=jsonTo scan for all ips in a local network, you can use the following command.
arp-scan -lYou can specify an device to scan by the option
-I.arp-scan -l -I devwhere “dev” is the device name of your net card. For example, if you use wireless network, “dev” is probably “wlan0”.
Network Monitoring¶
vnStatis a console-based tool for monitoring network traffic bandwidth usage. It uses the network interface statistics provided by the kernel as information source. This means that vnStat won’t actually be sniffing any traffic and also ensures light use of system resources.Tcpdump is a network sniffer tool.
References¶
http://
https://
https://
https://
https://