It surprises me that there’s a lot of people out there who know about WOL (wake on lan), the ability to
Remotely turn on your pc/server via the network card. But doesnt know that you can do it from the Internet, and not just on your home network.
Archive for category linux
Heres a small text on how to set up OpenVPN on linux debian, nothing fancy at all, and most likely missing a lot of small things. but that will be updated later on when i got time. Any suggestions are of course welcome. This is however, just as much a little reminder for myself since i got a memory as a goldfish with alzheimer’s.
Lets start with installing OpenVPN. for this we need ->
Read the rest of this entry »
So here we are again…Trying to patch eggdrop with ssl, but as expected, i run into annoying problems, which most likely is caused by me not reading the instructions properly(or reading at all)
OpenSSL is installed, its there..its working…finally i come the conclusion that its probably the -dev files which is needed. Now, i expect it to be called something like “ssh-dev,openssl-dev” or something easy and similar………..and I’m wrong again.
apt-cache search openssl dev
is so friendly to tell me that what I’m most likely looking for is
libssl-dev – SSL development libraries, header files and documentation
so after installing it, everything runs smooth yet again…. now i can only wait for the next annoying thing to come and bite my large ass
So your trying to compile som random stuff (in my cause eggdrop) and ./configure yells at me ->
checking for C compiler default output file name.. configure: error: C compiler cannot create executables
gcc is fully installed as expected, but after a small google search, and help from apt-cache search, it looks like we need
apt-get install libglib2.0-0 libglib2.0-dev libc6 libc6-dev
horay, problem solved, (was probably mentioned in the readme/install file which i as usual never get to read)
Ever wanted to extract e-mail adresses from eg. log files, or multiple files for later examination? this could be usefull if in a case where you need all valid email adresses� from a file that might contain invalid/fake adresses.
anyway, that was my case, so i thougt i’d share an easy way that extract email adresses� that contains upper and lowercase a-z, from 0-9 digit, dot (.), underscore (_) and hyphen (-), and finally, a 2-3 character tld.
it will also sort the output, and then only output multiple entries once.
egrep -oi ‘\b[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}’ mail.log |sort |uniq > final_result.txt
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY xxx
Oct 11
While upgrading Debian, you might experience difficulties like
# apt-get update
Get:1 http://ftp.dk.debian.org lenny Release.gpg [189B]
Ign http://ftp.dk.debian.org lenny/main Translation-en_DK
Hit http://ftp.dk.debian.org lenny Release
Hit http://ftp.dk.debian.org lenny/main Packages/DiffIndex
Hit http://ftp.dk.debian.org lenny/main Sources/DiffIndex
Fetched 1B in 4s (0B/s)Reading package lists… Done
W: GPG error: http://ftp.dk.debian.org lenny Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY D5642BC86823D007
W: You may want to run apt-get update to correct these problems
occasionally apt decides to fuck with me (surprise) and this time, it complained about invalid signatures from what sounded a bit weird since it had been running smooth lately.
anyway, the error message that appears after trying to do a simple update was.
W: GPG error: http://ftp.se.debian.org/debian/ lenny Release: The following signatures were invalid: BADSIG
A70DAF536070D3A1 Debian Archive Automatic Signing Key (4.0/etch
to my luck, (as in, me being lazy) the solution was to use another mirror (in this case, dk instead of se) so it looks like the mirror was acting crappy.. and if i have had just a little more patience..it would probably had solved it self by now..