Android on iPhone
Posted by Mr. IT Guy | Filed under Android, Howto, IT in General, Linux, Microsoft, Review, iPhone
To spare typing and posting time, I’ll post the link to the guide that I followed:
http://www.idroidproject.org/wiki/Installing_iDroid_(Linux)
That link is actually for a Linux, so I uses VirtualBox and a Linux (Ubuntu) image file. From there I followed most part of the guide.
However I’ll post my observation (on 2G):
- It’s running way too sluggish
- Call sometimes doesn’t work (stuck at the calling, but not really dialing)
- Phone becomes really warm and battery drain is too much
- There’s not enough button
- Overall condition is not really usable for daily use
Couple notes:
- If Wifi connects but browser not going anywhere, try the DNS fix
- All “adb” type commands require the download of SDK
- If Virtual Box can’t connect to the iPhone when doing the ‘./oibc’ portion, you may need to shut down and restart your virtual machine (including the Virtual Box itself)
- Going to Apple’s recovery mode (for upgraders) from the openiboot would require you to hold the “Menu” button after choosing the iPhone mode
Post comments for questions and help on how to install iDroid.
SMTP Auth on Ubuntu with Postfix Problem
Posted by Mr. IT Guy | Filed under IT in General, Linux
Problem: postfix/smtpd[12563]: warning: unknown[192.168.1.126]: SASL PLAIN authentication failed: authentication failure
Solution: Change the line that says
MECHANISMS="pam"
in /etc/default/saslauthd to
MECHANISMS="shadow"
Problem: postfix/smtpd[16619]: warning: SASL authentication failure: Password verification failed
Solution: Change /etc/init.d/saslauthd line from
PIDFILE=$RUN_DIR/saslauthd.pid
to
PIDFILE="/var/spool/postfix/var/run/${NAME}/saslauthd.pid"
and set ownership to group sasl then put ther user postfix in group sasl
HOWTO: Log Apache to MySQL on Ubuntu 8.04 (Hardy Heron)
Posted by Mr. IT Guy | Filed under Howto, Linux, Operating System
Installing the Software
Run the following commands in terminal:
sudo apt-get update sudo apt-get install libapache2-mod-log-sql-mysql libapache2-mod-log-sql libapache2-mod-log-sql-ssl
Create DB & User
Run the following commands in MySQL:
CREATE DATABASE apachelogs; GRANT INSERT,CREATE ON apachelogs.* TO apachelogger@localhost IDENTIFIED BY 'insert_passwd_here'; FLUSH PRIVILEGES;
Add Entry to apache2.conf
Add the following entry to apache2.conf before the VirtualHost settings (commonly before
Include /etc/apache2/sites-enabled/):
LogSQLLoginInfo mysql://apachelogger:insert_passwd_here@localhost/apachelogs
LogSQLCreateTables on
LogSQLDBParam socketfile /var/run/mysqld/mysqld.sock
LogSQLTransferLogFormat AabfHhmRSsTUuvIModify Each Virtual Host
For each virtual host that you want to log to SQL, add the following line:
LogSQLTransferLogTable this_site_com
where access_log is replaced by any table name; to differentiate many different virtual host, you can use the name of each virtual host here by replacing each dot (‘.’) with underscore (‘_’)