Reputation
420
Top tag
Next privilege 500 Rep.
Access review queues
Badges
3 13
Newest
 Organizer
Impact
~147k people reached

Jan
23
comment Configuring Rsyslog To Stop The Logging Of Certain Messages
Please clarify. As far as I know, it is if ... then stop or & stop. Never seen a $stop variable mentioned anywhere. Did I miss something?
Jan
2
comment How can I compare an ntp server's time to my server's time?
@Phil Hollenback : ntpdate may be "deprecated", but it works. ntpq -p often does not. Possibly because ISPs are blocking it? Or because of the server configuration?
Nov
19
comment How to remove Private Key Password from pkcs12 container?
@Koen : yes. Apparently, keytool (and probably other Java applications?) refuses to list certs in a pkcs12 container which was created with an empty export password. But I understand that OpenVPN doesn't care. So it just means: if you made it with an empty password, check that it actually works in your application.
Nov
18
comment How to remove Private Key Password from pkcs12 container?
Some tools require a password. For example keytool -v -list -storetype pkcs12 -keystore unprotected.p12 will emit a warning and will NOT list the certificate. So it may work for OpenVPN, but not for something else.
Jul
18
comment What is the preferred method to restart networking in Ubuntu and Debian
That doesn't seem to do stop && start. Anyway, it didn't for me in Debian Wheezy. Maybe it does in some other distro.
Jun
16
comment How to get system locale in Windows 7 cmd?
@Ogrish Man : This seems to be a Powershell command, but it gives me no output. Maybe because the headers are not in English. systeminfo.exe by itself works, as does gWaldo's answer in PS
Jun
11
comment Ubuntu 14.04.2 LTS - RSysLog 8.8.0 - omusrmsg not working
I tried this on Linux Mint 17.1, which I understand is a repackaging of Ubuntu 14 LTS. Have you checked that your rsyslog really runs as user syslog, and your tty belongs to group tty? And is your terminal group-writable?
Jun
7
comment Why hasn't rsync caught on in the Windows world?
@Pacerier : "Command line is command line" ? You are either extremely tolerant, or you only know one and not the others. For any normal person who knows Bash in Linux/Mac (or any of the other Unix shells), cmd.exe is so crippled that saying it is "tedious at best" is still an understatement.
May
17
comment Do entries in local 'hosts' files override both forward and reverse name lookups?
When using the ISC host utility, one may get the impression that editing /etc/hosts has no effect. host 10.0.0.1 will do a DNS query and ignore the hosts file. This allows checking the system resolver: perl -MSocket -le '$a=inet_aton(shift); $_=gethostbyaddr $a, AF_INET; print' 10.0.0.1
Jul
6
comment How to see on Linux what network interface and source IP address is used for a route to a specific destination host?
And to get only the interface: ip -o route get $ipaddress | perl -nle 'if(/dev\s+(\S+)/) {print $1}'
Jul
6
comment How do I verify the speed of my NIC?
For Debian based systems, ethtool is not installed by default. But mii-tool is, as part of the essential "net-tools" package. So this was the best solution for me.
Jan
29
comment Detect if remote host is running Windows or Samba
-sV does indeed make it extremely slow as you warned. It does display "Samba..." reliably in my networks, but unfortunately, it doesn't differentiate Macs from Win7 machines.
Dec
30
comment Conditional DNS forwarding with named on Linux
Thanks. I also needed to replace dnssec-validation auto; with dnssec-validation no; in named.conf.options.
Nov
16
comment What is a good solution for an adaptive iptables daemon?
In 12.04LTS, ipset is in the universe repository. sudo apt-get install ipset.
Nov
16
comment Managing iptables rules in Linux
This forum thread has a few examples of scripts using ipsets: forums.gentoo.org/viewtopic-t-863121.html
Nov
16
comment Howto use ipset and iptables on Ubuntu 12.04 to block lots of IPs
Unfortunately, most lists at ipdeny.com seem to be empty. Not sure if it's a temporary problem or if the site is abandoned.
Jul
7
comment Does the OS X DHCP client support classless static routes (RFC3442)?
Using ipconfig with 10.7, the classless routing options are not shown. There seems to be no way to get them in the Mac. Or does the Mac only request certain options and the dhcp server only sends the requested ones?
Jul
7
comment Change gateway on windows 7 from command line
You can replace "add" with "change": route change 0.0.0.0 mask 0.0.0.0 192.168.0.1. That is only active until the next DHCP lease renewal or reboot. For a permanent change you need netsh with the correct interface name.
Jan
9
comment Wake on lan hosts file
No need for a custom file and script. etherwake uses /etc/ethers by default. Populate that file, and you can run etherwake myhostname.
Jan
2
comment How to setup a simple self-hosted dynamic DNS server
If you just need your DHCP server to update your zone, look here. If you also need external machines to update their dynamic IP, this worked for me.