Posts with the tag home network
This is largely based on http://unquietwiki.com/tinc_quagga_ipv6.html.
Enabling Quagga and Its Daemons
The installation of Quagga and ospf6d is different on Debian/Ubuntu and on OpenWrt systems. The configuration files can be the same (in structure).
/etc/quagga/daemons (Debian/Ubuntu systems)
zebra=yes bgpd=no ospfd=no ospf6d=yes ripd=no ripngd=no isisd=no
Configuration of OSPF6d
password PASSWORD !! adapter setup : <span...
Product Name: JetStream™ 8-Port Gigabit L2 Lite Managed Switch with 2 SFP Slots
Product Code: TL-SG3210
This is a cheap 8-port Gigabit switch if you consider its capabilities. It can be configured in many ways via the web interface or (in an automated way) via a CLI interface (Telnet / SSH like)....
A (reverse) SSH tunnel can help you being reachable from outside a NATed network or behind a firewall.
Keeping the tunnel open when your IP address changes or Internet connection is shaky can be taken care of by
autossh. See below for the instructions.
On Ubuntu / Debian:
sudo apt-get update...
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...
ENUM can be used to find out if you can call someone via VoIP instead of a regular call when all you have is the phone number. It works by sending a DNS like query for the phone number.
Possible ENUM servers are:
- e164.arpa official!
+43 780 004711 on e164.arpa run:
We need gcc, g++ and some libraries:
sudo apt-get install build-essential libxml2-dev ncurses-dev
Get the source, compile and install
cd ~/Downloads # get the source code wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-18.104.22.168.tar.gz # untar it tar -xf asterisk-22.214.171.124.tar.gz cd asterisk-126.96.36.199 # clean the build directory (of crap from previous runs) make distclean # configure and compile Asterisk: ./configure make # install Asterisk...
A quite new and powerful alternative to the TP-Link TL-WR1043ND running OpenWrt is the Buffalo WZR-HP-AG300H.
About the Hardware
The Buffalo WZR-HP-AG300H contains a powerful set of hardware, maybe the strongest for SOHO routers currently on the market:
|Atheros AR7161@680MHz (MIPS)||128MB||32MB||4+1 using an Atheros AR8316 Gigabit Ethernet switch||2x -...|
cd ~/Downloads curl -C - -O http://synergy.googlecode.com/files/synergy-1.4.5-MacOSX107-x86_64.dmg open synergy-1.4.5-MacOSX107-x86_64.dmg cd /Volumes/Synergy/ cp -r Synergy.app /Applications/
Start the server:
synergys -f --config ~/synergy.conf
# sample synergy configuration file # # comments begin with the # character and continue to the end of line. # comments may appear anywhere the syntax...
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,...
I was using an Asus wl-500g Premium router (hardware revision #1) running DD-WRT (I think it was version v24 preSP2 [Beta] Build 14311 mini). I decided to switch over to OpenWrt. The installation was dead simple. I just downloaded the .trx firmware image for the brcm47xx target (linux 2.6) from...
Mobile IP / Mobile IPv6 / mip6d seems to be quite dead at the moment:
- Have a look at the dates of the drafts of the IPv6 Mobility working group: http://tools.ietf.org/wg/mip6/index.pyht?sort=3&reverse=1.
- As Martin F. Krafft says in th section Mapping names to laptops of its IPv6 with Debian blog post,...
Hurricane Electric provides free IPv6 tunnels via the 6in4 protocol on the website tunnelbroker.net. After signing up, one can create up to 5 tunnels. When settings up a standard tunnel, one has to provide one's endpoint IPv4 address which may change from time to time (moving around or 24-hour...
About the Hardware
The TP-Link TL-WR1043ND contains a great set of hardware for its price:
|Atheros AR9132@400MHz (MIPS)||32MB||8MB||4+1||Yes||1 x 2.0||Yes||Yes|
Please refer to http://wiki.openwrt.org/toh/tp-link/tl-wr1043nd#hardware for further details on the hardware.
My hardware version is (DE)v1.0.
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
sudo aptitude install openvpn # open port 1194 (as shown here for the ufw firewall interface): sudo ufw allow 1194
Become an Certificate Authority
sudo mkdir /etc/openvpn/easy-rsa/ sudo cp -R /usr/share/doc/openvpn/examples/easy-rsa/2.0/* /etc/openvpn/easy-rsa/ sudo chown -R $USER /etc/openvpn/easy-rsa/ cat << EOF...
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...
My network interface is a Intel PRO/1000 PT Dual-Port-Server-Adapter (PCIe x4) (chipset: Intel 82571GB). It provides two physical links that I use both: One for my private subnet and one as the public interface to the public network (Internet via 100Mbit Ethernet at KHG, University of Frankfurt am Main). I...
This blog post has grown to large. Please refer to the more detailed posts on IPv6 tagged with ipv6:
DNS entries for IPv6 ready web sites
Arecord: normal domain to ip address resolution
MXrecord: email server lookup, must resolve to a server address that is resolved to an IP...
WOL – Wakeup Computers via LAN
to wake up the computers on the homenetwork use the following commands (execute on the router) connect to the router first:
And wake up the computer with the network interface with the MAC
00:11:24:xx:yy:zz (assuming it is in the network 192.168.1.1/24):
NetworkManager has a DBUS API, so other applications can use DBUS to communicate with it and change its settings. I found three different ways to do this on the command line using a CLI (command line interface):
As of 2010-12-18 the most actively maintained project is nmcli: http://fedoraproject.org/wiki/Features/NetworkManagerCmdline.
With the very small tool
x2x you can move your mouse to the left edge of your local screen and will continue to move over to the remote desplay. Your keyboard works on both computers as well, and you can even copy-paste between the two computers. It looks like the...
Set Up Public/Private Key Authentication for SSH to Connect from Laptop ↔ Desktop Without a Password Prompt
On both Linux/Unix computers you have to make sure they have a public key
~/.ssh/id_rsa.pub. If it is not there yet, run:
ssh-keygen -t rsa -b 4096
The desktop should be able to connect to the laptop with no password: (we work on the desktop here):
scp ~/.ssh/id_rsa.pub philipp@laptop:~/tmp-key.pub ssh philipp@laptop cat...
sudo aptitude install ddclient
Now configure the program:
sudo gedit /etc/ddclient.conf
Enter your DynDNS account data and computer setup:
pid=/var/run/ddclient.pid protocol=dyndns2 use=if, if=eth2 # the mode and network interface # DynDNS account: server=members.dyndns.org login=philippk password='sdf1dpw' philippk.ath.cx
And set ddclient to run automatically on startup:
sudo gedit /etc/default/ddclient
Set the mode of ddclient...
Install the package ethtool:
sudo aptitude install ethtool
Add the ethtool command to your nic using its configuration in
/etc/network/interfaces (last line):
iface eth0 inet static address 192.168.100.90 netmask 255.255.255.0 gateway 192.168.100.1 pre-down /usr/sbin/ethtool -s eth0 wol...