X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml_tips;h=66f46a541a30d81d6dc2e36d540779e78c06ad58;hb=42d529ed4951169521e868ba6bd35abc70de8c1a;hp=ba9cbebe34c86dbc5963af46c10418f005182bfd;hpb=c6d9f7c7aeb21af70894983eab78009744f081da;p=grml-tips.git diff --git a/grml_tips b/grml_tips index ba9cbeb..66f46a5 100644 --- a/grml_tips +++ b/grml_tips @@ -2651,7 +2651,8 @@ See: man grml-terminalserver + http://grml.org/terminalserver/ -- Debugging SSL communications: -% openssl s_client -connect server.adress:993 +% openssl s_client -connect server.adress:993 > output_file +% openssl x509 -noout -text -in output_file or @@ -2941,7 +2942,7 @@ host.example.com. 3600 IN A 192.168.1.1 2. Configure dns2tcpd on host.example.com.: # cat /etc/dns2tcpd.conf -listen = 192.168.1.1 #the ip dnstun should listen on +listen = 192.168.1.1 #the ip dns2tcpd should listen on port = 53 #" port " " " " user = nobody chroot = /tmp @@ -2982,3 +2983,22 @@ user@host.example.com:~# Notice: using 'ssh -D 8080 ..' you will get a socks5-proxy listening on localhost:8080 which you can use to tunnel everything through your "dns-uplink". -- +Configure a MadWifi device for adhoc mode: + +Disable the autocreation of athX devices: +# echo "options ath_pci autocreate=none" > /etc/modprobe.d/madwifi + +Remove the autocreated device for now: +# wlanconfig ath0 destroy + +Configuration in /etc/network/interfaces: + +iface ath0 inet static + madwifi-base wifi0 + madwifi-mode adhoc + ... + +Hints: + - Do not use interface names without ending 0 (otherwise startup fails). + - Only chooss unique names for interfaces. +--