Thursday, June 9, 2011
Mount NTFS on CentOS
1. Config Yum Repos
vi /etc/yum.repos.d/CentOS-Base.repo (enable some repos here)
2. Install fuse components
yum install fuse fuse-ntfs-3g
3. Mount[root@meister ~]# mount.ntfs-3g /dev/sda9 /mnt/temp
Reconfigure Postfix
dpkg-reconfigure postfix
Wednesday, June 8, 2011
Hacking Win7 Access
- Boot using linux live CD
- mount to win partition
- enter system32 folder
- rename Utilman.exe
- copy cmd.exe to Utilman.exe
- reboot to windows
- on login page, click down left icon. cmd will shows
- type: net user /add newuser newuser
- net localgroup administrators newuser /add
- reboot system, done
- mount to win partition
- enter system32 folder
- rename Utilman.exe
- copy cmd.exe to Utilman.exe
- reboot to windows
- on login page, click down left icon. cmd will shows
- type: net user /add newuser newuser
- net localgroup administrators newuser /add
- reboot system, done
Monday, June 6, 2011
Getting folders using FTP (?)
unfortunately it can't..
so use scp..
scp -r user@host:/the/path/ .
Friday, May 27, 2011
Practical Use Note of Gammu
# Installing Gammu
apt-get install gammu
after the modem is plugged in,
find that the modem is detected with: dmesg | grep tty
ussually if the interface is USB, it'll shows ttyUSB0 and ttyS0 for serial, you'll need this for configuring gammu next..
# Configure Gammu
vi /etc/gammu-smsdrc
# Check It
please make sure that gammu service is not active.
root@pcsimv:~# gammu --identify
Device : /dev/ttyS0
Manufacturer : Wavecom
Model : unknown (MULTIBAND 900E 1800)
Firmware : 657e09gg.Q24PL002 1961548 103107 17:56
IMEI : 353044020053022
SIM IMSI : 510104242000009
# Starting the Service
root@pcsimv:~# /etc/init.d/gammu-smsd0 start
* Starting Gammu SMS Daemon gammu-smsd0 Log filename is "/var/log/smsdlog"
[ OK ]
# Checking log
vi /var/log/smsdlog
Tuesday, May 24, 2011
Delete Local Storage Repository on xenServer
While this can be done by XenCenter (see XenCenter's help section), there are other way to do it:
1. First, you have to determine the Storage-Repository-UUID:
xe sr-list
-> write down / take note of SR-UUID of the SR to delete
2. Find the correspond
xe pbd-list sr-uuid=yo
-> write down / take note of PBD-UUID of the PBD to unplug and delete
3. Unplug the PBD:
xe pbd-unplug
4. Delete PBD:
xe pbd-destro
5. Delete the associatio
xe sr-forget uuid=your-
Subscribe to:
Posts (Atom)