Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Blogs
User Name



sendmail slows down boot time

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

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

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

Posted 05-26-2013 at 08: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...
Posted in Uncategorized
Views 1815 Comments 0 ted_chou12 is offline

bluetooth how to, hcitool, obexftp, rfcomm

Posted 03-03-2013 at 08:05 AM by ted_chou12

Hi, I am trying to figure out how to connect a phone by bluetooth thru terminal. I am just posting my progress here:
First! I Don't know how Ive got it working, but there must be something that I have done correctly to ensure the connection was successfully made. Secondly, this is going to be a mess and you are warned. Third, there is really not much info on this and quite a lot of them are specific issues rather than guides. I will make this as helpful and informative as I can:
Posted in Uncategorized
Views 2272 Comments 1 ted_chou12 is offline

sync folder script

Posted 02-18-2013 at 10:19 PM by ted_chou12

Hi, not posting for quite a while. I was thinking of synchronizing my portable music mplayers directory with the music directory on the server. But I dont want all the music files, if all the files were synchronized then I would have no space on the player. So I was trying to come up with how I want it to be.
1) I want to synchronize by modify date of the LATEST, that means latest files come first in priority.
2) I want to limit a total file size on the files. NOT the number of files...
Posted in Uncategorized
Views 1810 Comments 1 ted_chou12 is offline

parallel port with cups (LPT)

Posted 10-16-2012 at 06:07 AM by ted_chou12

Hi, I am tired of USB port so I went ahead and tried to use a parallel port to connect my printer:
First check if the lp mod is added:
lsmod | grep par
if not:
parport_pc 22292 1
parport 29012 2 parport_pc,lp
Then do:
modprobe lp
Make sure you add this to /etc/rc.d/rc.local, to ensure the code runs everytime during boot.
Now check again:
lsmod | grep par
"lp" should now already be displayed....
Posted in Uncategorized
Views 1793 Comments 0 ted_chou12 is offline


All times are GMT -5. The time now is 11:51 AM.

Main Menu

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