Archive for April 28th, 2009
Testing email server with telnet
by z3n on Apr.28, 2009, under Tips & Hints
I keep forgeting about this so i decided to write a post.
Problem:
An easy way to test a pop3 email server.
Solution:
telnet mail.server.com 110
user username
pass yourpassword
list to list messages
stat to show status of your mailbox
retr # to show the message
dele # to delete a message
Source:
CanoScan N640P on Linux
by z3n on Apr.28, 2009, under Linux Happyness
Problem:
Configuring my old school CanoScan N640P on linux.
Solution:
Install sane pack.
Edit /etc/sane.d/dll.conf, comment everything but canon_pp
Edit /etc/sane.d/canon_pp.conf, uncomment force-nibble
use xsane or scanimage (CLI) to scan your stuff!
Full Story:
There’s 2 options, with SANE or using this old project.
With sane it’s easier, you just need to make sure you uncomment the canon_pp from your /etc/sane.d/dll.conf
the documentation is a bit obscure and errors as well, specially when you’re doing this on CLI.
After uncommenting the dll.conf (canon_pp) you can open xsane, and then it will detect the scanner correctly.
For me, xsane worked better than the sane-find-scanner, wich, even with the -p switch never detected anything.
There’s another way to detect it on the command line, by scanimage -L, wich will list the detected scanners using a different method, you can also do the whole scan process using scanimage, not good as xscan but an alternate.
xsane was able to calibrate my scanner, however, when i tried to scan i got a kernel fail, not sure if this scanner is too old or it’s something with the LPT buffer, after the kernel crash scanner stopped working correctly, it only scans a part of the image, apparently until the LPT buffer is full, but data never reaches the computer, scanner gets stuck in the middle of it’s job waiting for the machine return (apparently :P). Scanimage has an option to change the LPT buffer, i tried it out by scanimage -T -B -p -v, but nothing it still getting stuck in the middle.
After some more research i figured out that uncomenting force-nibble at canon_pp.conf did the work.
Sources:
Bluetooth audio on Fedora 10
by z3n on Apr.28, 2009, under Unsolved
Problem:
Link my HT-820 headphones with my bluetooth device using fedora.
I’ve searched many places, but nothing worked, I’m able to pair the headphone with hcitool, however there’s no option anywhere to output the audio using the bluetooth.
I also tried to configure sound with ALSA and nothing.
Using a this usefull bluetooth script, i was able to go a little further on the issue, with the error:
Error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Apparently this seemed for me as a SELinux issue, it would be blocking something, but even with SELinux disabled the error persists.
Gnome’s bluetooth applet works good on detecting and pairing the device, however, there’s no place where i can list the services or even connect with them, it only allows me to send or receive files from it. I also tried KDE bluetooth applet, slightly better, but yet, no other pairing options.