X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=grml_tips;h=9972eef6854804eb6dfd52569a18d8aeedf6df7b;hb=b90b7d7c4405083bf772a1c67e68760cb72fb5ac;hp=c38d67ba7916118bf4b5f6aa1a35da9d36a55ca4;hpb=554b79e05aafbbb54c96c8b135a65ad81a2a4059;p=grml-tips.git diff --git a/grml_tips b/grml_tips index c38d67b..9972eef 100644 --- a/grml_tips +++ b/grml_tips @@ -1311,6 +1311,10 @@ product ID when loading the usbserial module. Usage example: Bus 004 Device 008: ID 1199:6813 Sierra Wireless, Inc. # modprobe usbserial vendor=0x1199 product=0x6813 + +To get a list of available providers execute: + +# gcom -s -d /dev/ttyUSB0 /usr/share/doc/gcom/examples/operator -- hdparm - get/set hard disk parameters @@ -2651,7 +2655,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 +2946,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 @@ -2966,7 +2971,7 @@ nameserver 172.16.42.1 Available connection(s) : ssh # dns2tcpc -r ssh -l 2222 -z dnstun.example.com 172.16.42.1 & -Listenning on port : 2222 +Listening on port : 2222 # ssh localhost -p 2222 user@host.example.com:~# @@ -2978,4 +2983,26 @@ Available connection(s) : Listenning on port : 2222 # ssh localhost -p 2222 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. --