Posts with the category Networks
I paid £30.00 for the Huawei E5332 Unlocked Mobile Wi-Fi Modem on Amazon UK.
It has a TS9 antenna connector (source).
There's an Android app to control/monitor it: HUAWEI Mobile WiFi 3
- Default address: http://192.168.1.1/html/home.html
- Username / Password:
The website of the router makes extensive use of...
Login / Web Interface
- Web UI Address:
- Web UI IP Address:
- Default Admin Password:
- Web address for shared microSD card: http://aircard.hotspot/dav//
- Supports up to 100 Mbps download, up to 50 Mbps upload (LTE Category 3)
- LTE 800/1800/2100/2600
- HSPA+/HSPA 900/2100 MHz
- Dual band 2G
- WiFi 802.11 b/g/n
- Dimensions: 97.5 mm x 57 mm x 15.7...
By default, the OpenWrt images ship with only US regdomains for WiFi. This is annoying if you live anywhere outside the United States. Here are two different ways to fix this:
- Patch an OpenWrt installation of an official binary distribution of OpenWrt: http://luci.subsignal.org/~jow/reghack/
- Compile your own image and set
Using Samba (or SMB) shares on Linux is not difficult but you should know some tricks.
First of all, you can use
smbclient to probe your Samba-Server and try to connect to it. You can then mount an SMB-share locally.
In addition, I wrote a tool to synchronize a local directory with...
Details about how a recent Linux sees the card: Intel Gigabit ET Dual Port Server Adapter on Arch Linux (Kernel v3.16)
NIC Bonding on Arch Linux
Simple bonding setup as described in the Arch Wiki:
sudo pacman -Sy ifenslave cp /etc/netctl/examples/bonding /etc/netctl/bonding vim /etc/netctl/bonding # -------- content: ---------- Description="Bonded...
This post is based on my previous blog post, Updating DNS Entries (with nsupdate or alternative implementations) – Run Your Own DDNS, and on Cédric Félizard's post "Your Own Dynamic DNS".
Running your own DynDNS (DDNS) server is easy when you have your own domain registered and an own...
- SoC: Lantiq GRX388 - Feature-rich SoC for 2x2/3x3 WLAN, 3xGE Gateway
- Modem: Lantiq VRX318 - ADSL2/2+/VDSL Transceiver and Line Drive
- WiFi: Qualcomm Atheros QCA9880 - 3-stream 802.11ac radio solution
Network Call Monitor
Activate the feature by calling:
#96*5* activate call monitor support #96*4* deactivate call monitor support
from ipaddress import IPv4Network, IPv6Network a = IPv4Network('192.168.0.0/24') b = IPv4Network('192.168.1.0/24') c = IPv4Network('127.0.0.1') x = IPv6Network('2000::/64') y = IPv6Network<span...
The Raspberry Pi colocation costs 36 EUR incl. VAT per year, see here. If you spend this amount of money for energy only, it's:
Yearly Energy = 36 EUR/year / 0.27 kWh/EUR * 1000 Wh/kWh = 133 333 Wh / year # to enter it more quickly in your calculator: 36...
ip addr su ethtool enp1s0f0 ethtool enp1s0f1 ethtool -s enp1s0f0 wol g ethtool enp1s0f0
g or the other options mean is stated here (source):
p Wake on phy activity
u Wake on unicast messages
m Wake on multicast messages
b Wake on broadcast messages
a Wake on ARP
If you encounter problems like these:
dhcpcd: eth0: broadcasting for a lease dhcpcd: eth0: offered 192.168.1.64 from 192.168.1.1 dhcpcd: eth0: reject NAK via 192.168.1.1
Online you will find a lot of old threads suggesting things like commenting out the line
require dhcp_server_identifier in the file
dhcpcd.conf. Didn't help in my case.
Instead of this one I would buy an Intel ET Server, 2x 1000Base-T, PCIe x4 for ~130 EUR including SR-IOV support. I have another blog post for that card: Intel Gigabit ET Dual Port Server...
Here are a couple of packages I install whenever I upgrade to a new trunk version of OpenWrt. I do this because the ability to install all those packages will only last for a couple of days until there will be a new trunk version with a different kernel. So...
The TL-WDR4900 is a Gigabit router made by the Chinese network equipment producer TP-Link.
|P1014||16MB||128MB||4x1 GigE||1x1 GigE||x2 v2.0||Yes|
The most important chips:
- CPU: Freescale Semiconductor P1014
- Switch: Atheros AR8327N
- 2.4 GHz: Atheros AR9381
- 5 GHz: Atheros AR9580
The power supply of this device has...
OK, here is how to start ssh on system startup (this is the content of the systemd .service configuration file
[Unit] Description=AutoSSH service for a reverse tunnel from some.example.com to localhost After=network.target [Service] ExecStart=/usr/bin/autossh -M 0 -q -N -o "ServerAliveInterval 60"...
ptbtime1.ptb.de ptbtime2.ptb.de ptbtime3.ptb.de
Find more NTP servers on:
This is somehow a follow up of the older post IPv6: Dynamic Routing with Quagga and ospf6d (OSPFv3).
TODO: Write a script to ping all the IPs and find the best (fastest). Put it online as a gist on GitHub.
Level3 / AT&T
- 188.8.131.52 - Orange DNS (ISP)
- 184.108.40.206 - DNS Advantage
How To Find Out Who's Operating a DNS Server
whois on the IP:
philipp@lion:~$ whois 220.127.116.11
Google Incorporated LVLT-GOOGL-1-8-8-8...
This is a really compact and cheap router to take with you to hotels etc. to secure your internet access via VPN or redistribute a network.
I put some photos I made of...
When I had to create a reverse DNS zone file for my Bind name server I wanted it to be as flexible as possible and thus created a Python script that generates the Bind zone file. This makes renumbering the network really easy.
The script is available as a gist...
The RFC 2217 standardizes the transmission of serial connection data via Ethernet, allowing to change remote serial port parameters (such as speed, parity, stop bits) over TCP using NVT (Network Virtual Terminal).
Connection between your serial device and the Ethernet
- YPort - a hardware and software solution (microcontroller AVR ATmega based...
To query a DNS entry for a domain name, here
www.example.com run this command on the Windows PowerShell:
And the opposite, get a hostname from an IP address:
Defined in RFC 5156
::1/128is the loopback address
::/128is the unspecified address
::FFFF:0:0/96are the IPv4-mapped addresses (indicating devices that are not IPv6-capable)
::<ipv4-address>/96are the IPv4-compatible addresses, deprecated!
fe80::/10are the link-local unicast addresses
fc00::/7are the unique-local addresses
2001:db8::/32are the documentation addresses. They are used for documentation purposes such as user manuals,...
The goal of this article is to describe how to setup your own DNS server to serve the domain name service entries for a TLD (
example.com). In the last part of the article I describe how to increase the speed of the system and the security in...
Suppose we have the following setup:
- A Computer with Ubuntu installed and two physical network interfaces (might also be virtual, but that's advanced)
- We have an internet connection on this computer set up and working. Internet traffic goes out (and in) on the network interface
- We want to create a private subnet
Installation on Ubuntu:
sudo aptitude install ipwatchd-gnotify
if configured correctly (true by default) it will show you graphical warnings for IP conflicts as well as create log entries in
/var/log/syslog (check for log messages containing
Advanced configuration options are described and have to be set in the file
/etc/ipwatchd.conf. This could...
You can use tcpdump to debug TCP/IP connections.
How it works
1st console run tcpdump:
philipp@lion:~$ sudo tcpdump -i lo tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on lo, link-type EN10MB (Ethernet), capture size 96 bytes 09:55:05.968006 IP lion > lion: ICMP echo request, id 5745, seq 1,...