Mounting Read/Write NTFS Partition in Linux (openSUSE)

Leave a comment

NTFS partition able to mounted automatically in Linux but if you see the partition properties the type of NTFS partition is read only (view contents only). This is the way how to mount the NTFS partition to be able to both read and write in Linux operating system, in this case I’m using openSUSE 10.2 and 11.

Requirements:
gcc compiler installed in your Linux machine
fuse and ntfs-3g (if you using openSUSE 11, these package already installed)

fuse & ntfs-3g Installation
Open Konsole, type tar xfvz fuse-2.xxx.tar.gz to extract the zipped files
Change directory to fuse-2.xxx folder, type cd fuse-2.xxx/
Config pre-installation by typing ./configure –enable-kernel-module (if you cannot run this step, try to log on as root in you Konsole by typing su then input your root password, you don’t need to open a new Konsole window, just type su in your current Konsole window)
Compile and install by typing make && make install if there are no errors reported
After fuse installed, continue by typing tar xfvz ntfs-3g-xxx.tgz
Change directory to ntfs-3g-xxx by typing cd ntfs-3g-xxx/
Configure ntfs-3g pre-installation, type ./configure
Compile and install by typing make && make install if there are no errors reported

Mounting Process
tobecontinued

Make-up Your Computer Into a Useful PC Router (Windows)

Leave a comment

This is a simple step by step in how to make a PC Router, I’m using Windows (Server and NT) and I do not know for sure if this setting could be implemented in Windows 98 operating system.

My Samba Configuration

Leave a comment

Here is my default samba configuration, i will complete and explain it more later

[global]
log file = /var/log/samba/log.%L
admin users = root
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8129
create mask = 777
domain master = yes
username map = /etc/samba/user.map
null passwords = yes
time server = yes
logon home = \%L\profiles%u
writebale = yes
usershare max shares = 100
server string = File Server – Samba %v on %L
invalid users = bin,daemon,sys,man,postfix,mail,ftp
password server = root
logon path = \%L\profiles%u
workgroup = backupserver
os level = 65
directory mask = 777
add machine script = /usr/bin/useradd -d /dev/null -g samba-clients -s /bin/false -M %u
domain logons = yes
log level = 2

[profiles]
path = /srv/samba/profiles
create mask = 0700
directory mask = 0700
browseable = no

[homes]
comment = Home Directories
browseable = no
read only = no

[netlogon]
path = /srv/samba/netlogon
browseable = no
public = no
writeable = no

[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/
[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775

[CustomSharedFolder]
writeable = yes
path = /path-folder-that-you-want-to-share
write list = user-a, user-b, user-c, root
revalidate = yes
valid users = user-a, user-b, user-c, root
user = user-a, user-b, user-c, root
create mode = 777
directory mode = 777

Backup Files Using RSync (Linux, openSUSE)

Leave a comment

I’m using RSync for two operations, backup my files into local harddisk and backup my files into another computer storage in LAN. For the second reason, we don’t need to type a password to make a connection with destination computer 🙂

Copy files into secondary storage in one computer

Just open a Konsole, then type rsync -avzp –delete /source-folder/ /destination-folder/

Copy files into secondary storage in another LAN computer

  1. Open a Konsole, type ssh-keygen -t rsa then push Enter/Return 3 times
  2. Type ssh-copy-id -i ~/.ssh/id_rsa.pub username@remote_host (I’m using root as username, ex: root@192.168.2.2)
  3. Enter your password for username on remote host (I’m using the same root password on the remote host computer/destination computer)
  4. Type rsync -e ‘ssh -p 22’ -avzp –delete /source-folder/ remote_host:/destination-folder/ (ex: rsync -e ‘ssh -p 22’ -avzp –delete /source-folder/ 192.168.2.2:/destination-folder/)

Explanation of these script will be explain soon 🙂

IP Conflict, With Who..?

Leave a comment

There’s a simple way how to know with who your IP is conflict wen the balloon warning message is appear on your right-bottom-corner side

  1. Go to Start – Control Panel – Administrative Tools – Event Viewer
  2. In the Event Viewer tree, select System and you eill find Warning Type system event named IP Conflict
  3. Double click that event then you will find out the MAC Address that using the same IP with yours

Save Your Outlook Express’ Mail

Leave a comment

Sometimes you need to re-fresh install your Windows OS, or you buy a new PC but you still want to keep your Outlook Express mail and move them into your new PC. Here is the way how to save your Outlook Express mail:

  1. Open Windows Explorer
  2. Click Tools – Folder Options – View, choose button ‘Show hidden files and folders’, OK
  3. Go to directory C:\Documents and Settings\[this is your account name folder]\Local Settings\Application Data\Identities\{FF27BA89-70CA-410A-8C71-C4CA1D348394}\Microsoft\Outlook Express ( ** )
  4. Copy files inside Outlook Express folder to another save folder or to a new Outlook Express folder in your new PC (the same directory as a step 3 and pay attention to your account name that you use)

**

[this is your account name folder] this folder name depend on your account that you use, ex: Administrator, John, Andy, etc.

{FF27BA89-70CA-410A-8C71-C4CA1D348394} this hexa-value could be different in every computer and every account

Notes: make sure that account that you want to use in your new/other PC is not using Outlook Express as its default mail client!

Yahoo! Messenger unable to connect through Squid (under Windows)

Leave a comment

It is a little bit strange for me but a quite big problem for many users! Hahaha… Maybe it happen to you: your Yahoo! Messenger (YM) cannot connect through your Squid proxy server machine. Why? I don’t know for sure, because i used to configure Squid in the past and without configuring any special script there were no problem at all with YM.. I hope this amateur-made troubleshooting could help you a lot 🙂 Correct me if i’m wrong

  1. Turn off your store and access log in your Squid configuration script ( * )
  2. Add a few safe ports in the acl tag body and don’t forget to allow http access of these ports ( ** )
  3. Restart the Squid service
  4. If you have YM installed before, uninstall it and clean your registry using registry cleaner (I’m using CCleaner) to clean your YM configuration and registered server in your registry
  5. Uninstall any Firewall Application (kind of Comodo, Zone Alarm, etc.), restart your computer
  6. Install your YM back and set the connection preferences, choose ‘Use Proxies’ then click ‘Enable HTTP Proxy, fill the IP Address proxy server machine and its port
  7. Sign in and you need to wait longer than usual because of delay operation when you use squid

*

#access_log c:/squid/var/logs/access.log squid
#cache_log c:/squid/var/logs/cache.log
cache_store_log none

**

#acl Safe_ports port 1920 5050 5222 5223 1272 9443 20 23 25 119 5050 8001 8002 5100 5010
#acl YM port 1920 5050 5222 5223 1272 9443 20 23 25 119 5050 8001 8002 5100 5010

http_access allow CONNECT YM

Not clear enough guys? hehehe… sorry my english and this tutorial is very bad, i will correct it very soon 🙂

Older Entries