Category: networking

19.12.2017

tested on: hostnamectl Static hostname: DebianLaptop Icon name: computer-laptop Chassis: laptop Operating System: Debian GNU/Linux 8 (jessie) Kernel: Linux 3.16.0-4-686-pae Architecture: x86 i assume you have your laptop/pc LAN connected to a switch/router and your default network card is eth0. […]

Wifi Accesspoint that connects to another Wifi Accesspoint (Client-Bridge) – TP-Link can do that – WLAN AdHoc Client Bridge with tp-link tl-wr841nd v11 – use wifi router as wifi usb adapter – Multiple Operation Modes – Wireless Client Mode – Bridge Mode – Bridge with AP Mode – Repeater (Range Extender) Mode
09.11.2017

Wifi Modes of an Access point: DLink has painted a nice overview over the possible different modes of an Accesspoint: cybersec: from great wifi modes that allow bridging two wifi networks, it would be GREAT if vendors test their products […]

20.06.2017

per default debian is not configured to forward traffic. on server/router/gateway: ping yahoo.de; # make sure internet connection works ifconfig eth0:0 192.168.1.1 netmask 255.255.255.0 up; # add additional ip vim /etc/sysctl.conf # Uncomment the next line to enable packet forwarding […]

20.06.2017

what service/program is using what port: https://dwaves.de/2015/06/16/linux-list-all-open-ports-and-listening-services/ IPTraf, Iftop, vnstat, bwm-ng, ifconfig -a graphical: gives you overall statistics the blue stuff on the left: iptraf manpage: iptraf-ng.man.txt you probably want to let it run in a screen session, in order […]

20.06.2017

show the ARP cache every network interface card (NIC)/LAN network card has a unique-as-possible vendor-asigned MAC address in the format 00:15:5d:00:07:08 this address is changeable like this: ip link set dev eth0 down; ip link set dev eth0 address 00:15:5d:00:07:09; […]

IPv4 CIDR Subnet Mask Notation
19.06.2017

IPv4 CIDR Subnet Mask Notation The CIDR number comes from the number of 1’s in the subnet mask when converted to binary. The common subnet mask 255.255.255.0 is 11111111.11111111.11111111.00000000 in binary. This adds up to 24 1’s, or /24 (pronounced […]

19.06.2017

Private IPv6 address range If you have multiple locations/sites/networks, you should assign each one a different “Subnet ID”, but use the same “Global” ID for all of them. The IPv6 address space is so huge (2128) that everyone should be […]

19.06.2017

IPv6: Goodbye to broadcast, say hello to Multicast » IPv6 while broadcast sends the traffic to all computers in the network – multicast follows a “subscribe to service” model. broadcast -> a computer using ARP sends a packet to FF:FF:FF:FF:FF:FF […]

03.05.2017

you can check your machine’s current ip with: ip addr show to modify your network interface address setting simply use the nmtui tool: this failed me once with “no Update2” method… so let’s move on to the… manual way: terminal […]

Debian Linux Wifi connect config setup from Bash Terminal WEP and WPA2
18.03.2017

one-liner: su – root ip -c a; # what is wifi nic name service NetworkManager stop iwconfig wlp3s0 essid ‘HotelWifiWithNoPassword’ iwconfig wlp3s0 essid ‘HotelWifi’ key ‘password’ dhclient wlp3s0 if wifi has no password set wpa_passphrase will complain and thus can […]

31.01.2017

Hardware Assembly: (i think 512MByte should be enough, 1GByte probably pretty good) Software Installation: including squid-proxy and web advertisement-filtering in the next part: OpenVPN 🙂 Thanks man! Amazing tutorials! by https://internetz.me Related Links: https://www.howtoforge.com/pfsense-squid-squidguard-traffic-shaping-tutorial http://www.shallalist.de/Downloads/shallalist.tar.gz

31.01.2017

ip address add 192.168.100.200/24 dev eth0 will add ip 192.168.100.200 to your eth0 / LAN, in case you need to access more subnets than the default DHCP-subnet. please also checkout this amazingly cool youtube video tutorial on how to build […]

To Freifunk Firmware and Back on TP-Link TL-WR841N v11
18.01.2017

FOR SECURITY REASONS, KEEP ROUTER FIRMWARE UPDATED! Freifunk updates its router firmware and closes a critical security vulnerability that could allow attackers to install their own firmware on the devices. (src: heise.de) welcher router/welche hardware verwenden/zukunftstauglich? (ändert sich von Jahr […]

16.11.2016

http://mirror.switch.ch/ftp/mirror/zeroshell/ZeroShell-3.6.0.iso -> fire this up in a VirtualBox machine… using “Generic Linux” settings. explanation later. as seen on: http://www.pcwelt.de/ratgeber/DSL-Optimierung_-_So_tunen_Sie_Ihr_Netzwerk-Multi-WAN_und_Co.-8913906.html Firewall Router Zeroshell is a Linux distribution for servers and embedded devices aimed at providing the main network services a LAN […]

GNU Linux -> List all open ports and listening services /etc/services
16.06.2015

what service/program is using what port: # list all open ports and listening services/programs lsof -i -P -n; web gui based -> https://dwaves.de/2018/04/04/monitoring-your-network/ watch traffic on terminal -> https://dwaves.de/2017/06/20/linux-bash-terminal-monitor-watch-network-traffic-in-real-time/ resource monitoring -> https://dwaves.de/2017/07/17/debian9-stretch-basic-web-based-ressource-monitoring-with-basic collectd/ nmap returns a nice overview… but […]