LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Telnet SMTP

Posted 05-04-2021 at 02:14 AM by ted_chou12

Code:
openssl s_client -connect smtp.gmail.com:465 -crlf -ign_eof
> EHLO localhost
> AUTH PLAIN base64(username@gmail.comPa$$w0rd)
> MAIL FROM: <username@gmail.com>
> RCPT TO: <ted.chou@linuxquestions.org>
> DATA
> Subject: Testing123
hello...
hey
quit
.
> quit
Member
Posted in Uncategorized
Views 590 Comments 1 ted_chou12 is offline
Old

Generating Private Public Key

Posted 11-28-2019 at 08:16 AM by ted_chou12

Downloaded OpenSSL from:
https://developer.xero.com/documenta...licprivate-key
Windows version.
Code:
openssl genrsa -out privatekey.pem 1024
Code:
openssl req -new -x509 -key privatekey.pem -out publickey.cer -days 1
Quote:
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you
...
Member
Posted in Uncategorized
Views 791 Comments 3 ted_chou12 is offline
Old

Squid3.5

Posted 11-26-2019 at 06:23 PM by ted_chou12

Code:
sudo apt-get install build-essential sharutils ccze libzip-dev libssl-dev
sudo apt-get install devscripts build-essential fakeroot
sudo apt-get install libssl-dev libcrypto++-dev  libssl1.0-dev
sudo apt source squid3
cd squid3-3.5.xxx
vi debian/rules
# add the lines
# --enable-ssl \
# --enable-ssl-crtd \
./configure
fakeroot debian/rules binary
make
make install
Member
Posted in Uncategorized
Views 4158 Comments 3 ted_chou12 is offline
Old

sendmail slows down boot time

Posted 09-08-2013 at 01:52 PM by ted_chou12

change /etc/hosts file:
Code:
127.0.0.1		SERVER.localdomain SERVER
To speed up sendmail load time during boot.
Ted
Member
Posted in Uncategorized
Views 920 Comments 0 ted_chou12 is offline
Old

Cups reports "/usr/lib/cups/backend/hp failed"

Posted 05-26-2013 at 07:28 AM by ted_chou12

Hello ,
today I just set up an HP_LaserJet_M1005 ,
which was a USB multi-function printer and scanner.
It was unable to print anything , and says ,
"usr/lib/cups/backend/hp failed"
I turned the cups log level to "debug" and saw:
Feb 16 22:24:46 hp[6227]: io/hpmud/musb.c 1108: unable to open hp:/usb/HP_LaserJet_M1005?serial=KJ242KT
Feb 16 22:24:46 hp[6227]: prnt/backend/hp.c 745: ERROR: open device failed stat=12: hp:/usb/HP_LaserJet_M1005?serial=KJ242KT...
Member
Posted in Uncategorized
Views 3602 Comments 0 ted_chou12 is offline

  



All times are GMT -5. The time now is 04:50 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration