Saturday, May 24, 2014

Fixed dns-name-server for Debian sid(maybe any)

Edit /etc/dhcp/dhclient.conf for don't use provided, comment out # domain-name, domain-name-servers. like a below.
Edit /etc/resolv.conf whatever as you like to use instead provided. like a below.
then

sudo /etc/init.d/networking restart

check

foo@sid$ dig www.google.com

; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> www.google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12306
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 4, ADDITIONAL: 4

;; QUESTION SECTION:
;www.google.com.            IN    A

;; ANSWER SECTION:
www.google.com.        95    IN    A    173.194.70.99
www.google.com.        95    IN    A    173.194.70.104
www.google.com.        95    IN    A    173.194.70.106
www.google.com.        95    IN    A    173.194.70.147
www.google.com.        95    IN    A    173.194.70.103
www.google.com.        95    IN    A    173.194.70.105

;; AUTHORITY SECTION:
google.com.        116728    IN    NS    ns4.google.com.
google.com.        116728    IN    NS    ns2.google.com.
google.com.        116728    IN    NS    ns3.google.com.
google.com.        116728    IN    NS    ns1.google.com.

;; ADDITIONAL SECTION:
ns1.google.com.        291989    IN    A    216.239.32.10
ns2.google.com.        292445    IN    A    216.239.34.10
ns3.google.com.        292445    IN    A    216.239.36.10
ns4.google.com.        292445    IN    A    216.239.38.10

;; Query time: 490 msec
;; SERVER: 89.233.43.71#53(89.233.43.71)
;; WHEN: Sat May 24 01:21:14 2014
;; MSG SIZE  rcvd: 264

dns name server is 89.233.43.71
Feel free to ask questions at any time, please.

Friday, May 03, 2013

BTSYNC ON ANDROID (ARMEL)

*WARNING* It may damage your property, doing under your responsibility.

Prepare:
  1. Using android phone (armel cpu, it means a bit old android).
  2. Rooted.
  3. Installed busybox and terminal app.
  4. mkdir chroot-btsync in sdcard dir at armel android.
  5. Download btsync armel pack; here
  6. Make run script; here
  7. Set up by URL http://localhost:8888 on your android.
If you anxious, please check MD5 hash of btsync binary and exchange libs from debian squeeze 2.6.36. Yet I did not sync any file, just see ps and see setting page on browser.
If you like it, please make dropbox account; here 

Thanks to Mr.Mathew
Feel free to ask questions at any time, please.

Sunday, March 18, 2012

Archlinux Burn CD,DVD by Ultra bay

cdrecord -v dev=/dev/sr0 foo.iso

wodim, cdrecord -checkdrive, -scanbus ain't work. It was tested on Archlinux X61 + Ultra bay.
Feel free to ask questions at any time, please.

Sunday, February 12, 2012

Sync gmail, contacts and calendar with Thunderbird and Evolution

There is solution for to sync gmail, contacts and calendar with Thunderbird and Evolution. But why need install that pims. We use browser already.同期にもcloud!

some solutions
gmail -> offlineimap -> dovecot -> Thunderbird
gmail -> offlineimap -> Evolution
easy solution
chromium + cloud magic
make account at cloud magic.
add extension to chromium.

Feel free to ask questions at any time, please.

Friday, February 10, 2012

Gmail + offlineimap + Mutt + MSMTP

I felt strange, when I knew off line imap. It is same like a pop3.
But not.オフラインimapを聞いたとき、pop3と何が違うのと思ったけど、全然違うわ

install software

debian kind.
  aptitude install offlineimap mutt msmtp
archlinux.
  pacman -S offlineimap mutt msmtp
config offlineimap
--.offlineimaprc--

This configure will not sync All Mail and Bin folders.
config mutt
--.muttrc--

config msmtp
--.msmtprc--

using

offlineimap
It will take long, also first run will not make ~/.mutt/mailboxes or need to wait until sync finish. anyway run offlineimap 2 times then,
mutt
Good luck. If you want to run offlineimap by cron, see here.
Feel free to ask questions at any time, please.