Mounting External USB Drive on DNS-323 with Readonly NTFS

I recently bought a DNS-323 NAS and I also bought a 2TB Seagate, manage to get the disk working but the problem is I have 500GB extra disk full of data.

I began copying my the data from the extra 500GB disk to my WD My Book 1TB, since DNS-323 will always need to format new inserted disk to it, and my plan is to make this disk to store all the fun_plug and some extra hack that I plan for my DNS-323 :)

Setting up fun_plug was easy just follow the guide from here wiki.dns323.info/howto:ffp

After FFP installed we need to ssh to it, first we need 2 modules to make DNS-323 can use usb storage and read ntfs files system

usb-storage.ko
ntfs.ko

I copy them to /mnt/HD_a2/.bootstrap/

next we need to load the modules:

insmod ntfs.ko
insmod usb-storage.ko

then time to plug-in my usb disk dmesg should show my disk is detected

SCSI device sdc: 1953525168 512-byte hdwr sectors (1000205 MB)
sdc: assuming drive cache: write through
SCSI device sdc: 1953525168 512-byte hdwr sectors (1000205 MB)
sdc: assuming drive cache: write through
sdc: sdc1
Attached scsi disk sdc at scsi2, channel 0, id 0, lun 0
Attached scsi generic sg2 at scsi2, channel 0, id 0, lun 0,  type 0
usb-storage: device scan complete

now I need to mount it so I can get access to all those data and copy it over to my 2TB disk on the NAS

mkdir -p /mnt/usb
mount -t ntfs /dev/sdc1 /mnt/usb

NOTE: please bare in mind ntfs read-write support is buggy I only use it for read only not write so you the modules with your risk!

after I done copying need to umount it

umount /mnt/usb

Done!

reference:
fun_plug 0.5: wiki.dns323.info/howto:ffp
ntfs.ko: forum.dsmg600.info/viewtopic.php?pid=30039#p30039
usb-storage.ko: dev.skcserver.de/dns323/modules_v1.03/kernel/drivers/usb/storage/

Sony Malaysia Buat lawak?

Petang tadi dalam pukul 3 lelebih la dpt email dari sony malaysia berikut adalah sedutan email tu la:

Dear Nor idzuwan,

Congratulations!

You have been selected as one of our lucky winners for participating in our Sony Panel Cyber-Shot camera survey!

You have won yourself an exclusive Cyber-shot Travelling premium gift.

To redeem your gift, kindly email your personal details along with your unique PIN number to CIC@sony.com.my with the following:

Email Subject: RE: Sony Cyber-shot Customer Survey
Name (as per I.C):
Address:
Contact Number:
Your unique PIN number:

Please reply by Friday, 6th May 2011 with the above details.

Your gift will be sent to the designated address provided upon verification.

Thank you for your valuable feedback and time participating in our customer survey.
 
Yours sincerely,

My Sony Team
Sony (Malaysia) Sdn Bhd

wah dalam hati ada taman tapi di sebabkan baru bangun tido time baca email tu biar je la dulu jab2 lagi baru buat nyer, akan tetapi selang beberapa puluh minit selepas itu blekberi duk alert email baru dari sony malaysia:

Dear Sir/Madam,
You may have received an email entitled, 'My Sony Cyber-shot Customer Survey' that was sent out on 28/4/2011.

We are currently investigating this incident. Please ignore the email receieved prior to this one.

We sincerely apologize for the inconvenienced caused.
 

Yours sincerely,

My Sony Team
Sony (Malaysia) Sdn Bhd

apa ke jadah nyer ini? boleh lak cam tu? systems dah fakaped ke? atau ada org buat dajal? dah la tengah kecoh pasal PSN server kene compromised tambah lak ni? mmg EPIC PHAIL sony cam ni

:30: :11: :01:

Daily Log: remove user password in linux/for change password

Q. How do I delete user Password and for user under Linux?

A. All user encrypted passwords are stored in /etc/shadow file. The quick way to remove/delete a user password is pass –delete option to passwd command.

First, login in as a root user. Command to delete user password under Linux

Type the following command to delete a user password:

# passwd --delete username

OR

# passwd -d username

Above command delete a user’s password (make it empty). This is a quick way to disable a password for an account. It will set the named account passwordless. User will not able to login. but if the user still have his/her ssh public keys he/she can still login to the accounts to disable the account permanently do:

# usermod -s /sbin/nologin username

NOTE: this also useful to force user to change their password at login (those that have ssh public keys auth enabled) with chage command combined, example

# passwd -d alba
# chage -d 0 alba

command above will delete the user password and he/she will required to set a new password when connecting via ssh without needing to enter the old password, good for resseting forgotten user password :)

Nokia N103 haha

Nokia is going to bring down Blackberry & Iphone 4 with their Newly Launched Nokia N103. Will be exclusively Launching in Dubai GITEX 2011

Specification of N 103 : X_X
32 GB Memory Card
1 GB Internal Memory
100 Meters Bluetooth Coverrage :s
Equipped with Nokia Maps
Nokia Messenger just like BBM
18.1 Megapixels Camera With 80X optical Zoom.
Extra memory slot for camera for long hours recording.
Shockproof No matter how hard you throw it on the floor.
15 Days Battery Life.

Initial Price 1150 US $

Say Goodbye to your Blackberry:(

Plz check out the pic

www.mm11mm.com/up/folder1/mm11mm_t7kxr8Ephb.jpg

GIT + SSH passwordless auth on windows

Getting Git to use Plink for SSH on Windows somehow by default it wont :20:

You need to create a system variable in Windows for GIT_SSH:

1. Go to System Properties > Advanced Settings
2. Click the button for Environment Variables
3. Click ‘New’ to add a new system variable
4. Under variable name, call it ‘GIT_SSH’
5. Under variable value, put in the path to your Plink executable: ‘C:\Program Files\PuTTY\plink.exe’ (or where ever your plink are)

6. Click all the OK until you are out of System Properties
7. Git should now able to use Plink for SSH