- Interfaces: Assignments » add igb[n]
- Interfaces: Other Types: Bridge » create Bridge
- Interfaces: [OPT(n)] » enable Device
- Interfaces: Other Types: Bridge » add member Device(s)
- Interfaces: Assignments » change LAN device to Bridge
- (add old LAN Interface to Bridge)
Category Archives: Uncategorized
Reply
Ubiquiti EdgeRouter X Firmware
VirtualBox mount Shared Folder in Debian
mount -t vboxsf -o umask=0755,gid=1000,uid=1000 SharedFolder /mount/path
uid und gid mit `id` herausfinden
Offline Wikipedia on Debian 7 Wheezy
install
aptitude install apache2 phpmyadmin mysql-server
cd /var/www/ wget -c http://releases.wikimedia.org/mediawiki/1.22/mediawiki-1.22.6.tar.gz
download wikipedia dump
wget -c http://dumps.wikimedia.org/dewiki/20140511/dewiki-20140511-pages-articles.xml.bz2
unpack to /var/www/
tar xvf mediawiki-1.20.6.tar.gz
bzip2 -kd dewiki-20130422-pages-articles.xml.bz2
browse to the local mediawiki and configure it
import Data
cd /var/www/mediawiki-1.20.6/maintenance/ php importDump.php < ../../dewiki-20060803-pages-articles.xml
else
php importDump.php --conf ../LocalSettings.php /path_to/dumpfile.xml.gz wikidb
set date and time on Debian / Ubuntu
install
aptitude install ntpdate
update
ntpdate ptbtime1.ptb.de
Server:
http://www.ptb.de/cms/fachabteilungen/abtq/fb-q4/ag-q42/zeitsynchronisation-von-rechnern-mit-hilfe-des-network-time-protocol-ntp.html
ptbtime1.ptb.de
ptbtime2.ptb.de
ptbtime3.ptb.de
http://www.pool.ntp.org/zone/de
0.de.pool.ntp.org
1.de.pool.ntp.org
2.de.pool.ntp.org
3.de.pool.ntp.org
update hardware clock
hwclock --systohc
Debian/Ubuntu automatic update notification
apticron
edit /etc/apticron/apticron.conf
and set EMAIL=”YourMail@domain.tld”
Linux Network monitoring tools
bmon
nload
ntop
etherape
wireshark
OpenSSL file encryption
Encrypt
openssl aes-256-cbc -in /path/to/infile.ext -out /path/to/encrypted.file.ext
Decrypt
openssl aes-256-cbc -d -in /path/to/encrypted.file.ext -out /path/to/decrypted.file.ext
hexdump binwalk file strings
openssl rand -hex 32
tcpdump
show avalible devices
tcpdump -D
listen on $device
tcpdump -i $device
ignore port 22
tcpdump -n not dst port 22 and not src port 22
diff ohne Kommentare
diff -u -B <(grep -vE '^\s*(#|$)' /path/to/file.1) <(grep -vE '^\s*(#|$)' /path/to/file.2)