Saturday, January 22, 2011

FTP Server Setup via command line (ubuntu)


FTP Server

File Transfer Protocol (FTP) is a TCP protocol for uploading and downloading files between computers. FTP works on a client/server model. The server component is called an FTP daemon. It continuously listens for FTP requests from remote clients. When a request is received, it manages the the login and sets up the connection. For the duration of the session it executes any of commands sent by the FTP client.
Access to an FTP server can be managed in two ways:
  • Anonymous
  • Authenticated
In the Anonymous mode, remote clients can access the FTP server by using the default user account called 'anonymous" or "ftp" and sending an email address as the password. In the Authenticated mode a user must have an account and a password. User access to the FTP server directories and files is dependent on the permissions defined for the account used at login. As a general rule, the FTP daemon will hide the root directory of the FTP server and change it to the FTP Home directory. This hides the rest of the file system from remote sessions.

vsftpd - FTP Server Installation

vsftpd is an FTP daemon available in Ubuntu. It is easy to install, set up, and maintain. To install vsftpd you can run the following command:
sudo apt-get install vsftpd 

vsftpd - FTP Server Configuration

You can edit the vsftpd configuration file, /etc/vsftpd.conf, to change the default settings. By default only anonymous FTP is allowed. If you wish to disable this option, you should change the following line:
anonymous_enable=YES
to
anonymous_enable=NO
By default, local system users are not allowed to login to FTP server. To change this setting, you should uncomment the following line:
#local_enable=YES
By default, users are allowed to download files from FTP server. They are not allowed to upload files to FTP server. To change this setting, you should uncomment the following line:
#write_enable=YES
Similarly, by default, the anonymous users are not allowed to upload files to FTP server. To change this setting, you should uncomment the following line:
#anon_upload_enable=YES
The configuration file consists of many configuration parameters. The information about each parameter is available in the configuration file. Alternatively, you can refer to the man page, man 5 vsftpd.conf for details of each parameter.
Once you configure vsftpd you can start the daemon. You can run following command to run the vsftpd daemon:
sudo /etc/init.d/vsftpd start 

Friday, January 21, 2011

iPhone 5 Concepts HD


Disassembly instructions for LaCie 301304U "Design by Neil Poulton" external hard drive


Neil Poulton may be an award winning "industrial designer," but he's not an engineer. This thing is
a bit tricky to disassemble.
The black shiny plastic top is a single piece cover over a metal bottom plate. It is held in place by
plastic bumps on the inside edges of the cover that fit into slots in the metal bottom's vertical walls.
There are no screws.
There are two bumps along each of the long edges of the plastic cover, and two similar ones on the
short side with the LED light underneath. There are two smaller bumps placed closer together on
the power/USB/switch side of the drive, and between those is another sort of vertical grapple that
holds the cover down more firmly on that side.
First, here is what the top (plastic) part of the casing looks like, turned upside down. The various
snappy things are hilighted. We will release the BLUE ones first, then the GREEN ones, and finally
the rear RED ones.



To open the case:

1. Use a thin plastic or metal thing (like a putty knife) to pry the plastic away from the metal 
bottom on one of the long sides. Insert a CD or a credit card that you don’t care about into the 
gap to hold it open.

2. Do the same thing with the other side. Your enclosure should now look like this:



(The masking tape isn't related to this procedure; I just like to 
note the voltage and polarity of the power supply on devices 
that don't come with such a label.
[12 volts 2 amps, + on the inside, - outside for this drive.])


3. Pry the side with the blue LED light under it (not the side with the power and USB connectors); 
you should be able to get the drive to fall partway out of the cover on this side if you hold it 
close to vertical and gently pry & rock the casing back & forth. Like this:



4. Carefully wiggle the cover around until it comes free of the back part. The power switch, USB 
port, and power connector are not attached to the top cover, but you should still be very careful 
not to break them. Eventually the middle post/grapple thing should let go and the cover will 
come off completely. Be careful not to drop the drive!

5. Remove the screws and the LED connector.


6. Gently, and very slowly, slide the drive forward away from the SATA connector. The connector 
is soldered onto the board, so if it breaks you’ll need to re-solder a lot of tiny connections. 
Remember to put the four screws back in when you reassemble the drive, otherwise the 
only thing holding it in will be the SATA connector and it will probably break from the 
stress!




Tuesday, January 18, 2011

How to activate windows 7 / Windows Activation / RemoveWAT v2.2.6

Windows 7 RemoveWAT v2.2.6


RemoveWAT v2.2.6
All Windows 7 versions are supported.
Windows Server 2008 R2 Editions supported.
Fully protects against WAT, and disables trial time bomb in evaluation ISOs.
RemoveWAT removes WAT (Windows Activation Technologies) completely from the OS, whilst still retaining OS genuine status and receiving all updates.
You will still pass the genuine check (WGA).
Disables activation completely but does nothing to the validation.
There will be no windows activation section in control panel.
Windows Activation Technologies will be gone.

Click Here to Download

How to FIX Fake 32 GB Kingston Pendrive (Thumb Drive)

fIXING Fake 32 GB Kingston Pendrive (Thumb Drive)

Yesterday I purchased a 32 GB Kingston Pendrive Which I found out to be fake one.
It shows & formats (32 GB Full Capacity) in Windows Explorer (windows xp, Vista)
wihout any error.

In order to fix it & know its Actual Capacity I ran some programes.
Now the problem is : It only shows 8 MB and windows cannto format it.


I googled and found some tools but thet didnt work :

Tools Used :
PDx8_2k_v327.exe (PortFree Production Program version 3.27. [Flash Disk test.zip]) - Which actual did bad i think.

MPTool-2007103-Fix-Usb-key :- Did not detect the pendrive
UdTools1.0.4.6_20081010 :- Did not detect the pendrive

ChipGenius.exe :- Gave the following result :
Device Name: +[J:]+USB Mass Storage Device(Generic Flash Disk 2.0 USB Device)

PnP Device ID: VID = 2000 PID = 2008
Serial Number: 6&&C7FC0C7&&0&&2
Revision: 2.80

Device Type: Standard USB device - USB2.0 High-Speed

Chip Vendor: micov(???)
Chip Part-Number: MXT6208

Product Vendor: Generic
Product Model: Flash Disk 2.0

Tools on Web: http://bbs.mydigit.cn/read.php?tid=16769


I also opned the USB Pendrive Plastic Case & found the following Chip Number (Controler Number I think) : - HUC2168
HISUN
IPL04803.3
08HT0724
The number is different than the one shown by CHIPGENIUS.

Now How do I fix it :
1) Either to its Original State 32 GB (showed & formated well)
2) Or to its ACTUAL CAPACITY (Which is for shore >= 1 GB)

Format Large Partitions on FAT32

If you get runtime error, try debug version.

download
debug version

How to fix "fake" pendrives


  1. Click here to download PortFree Production Program version 3.27.
  2. Extract it and run it. You can use 7-zipIZArc or the latest version of WinRAR to decompress 7-zip.
  3. The interface is kinda **** but that's because it's translated (badly) from chinese or something. It should show a list of all USB flashdrives connected to your computer. Don't click on "Check Flash" or it will disconnect the pendrive, instead, click on "OPTION"
  4. Clink on the "Flash Test" tab. Check only the box "Low Level Format" and set Mode to "All Blocks".
  5. Click on the "Capacity Adjust" tab. Here you'll set the real size of your flash drive. Fake pendrives are usually 128 to 256 MB flash drives with that report a fake capacity that's way bigger. This fixes this. Try a higher capacity FIRST.
  6. Click on the "Others" tab. Check "Removable"
  7. Click "OK" and you'll be back at the main window. Click "RUN" and the process will begin.
  8. Wait until it ends.
Now you'll have a pendrive that, despite being smaller than advertised, will work like a normal pendrive.

Monday, January 17, 2011

Units of virtual storage space

8 Bits = 1 Byte 
1024 bytes =  1 Kilo byte
1024 Kilo byte = 1 mega byte
1024 mega byte = 1 giga byte
1024 giga byte = 1 tera byte
1024 tera byte = 1 peta byte
1024 peta byte = 1 exa byte
1024 exa byte = 1 zetta bytes
1024 zetta bytes = 1 yotta bytes
1024 yotta bytes = 1 bronto byte
1024 bronto byte = 1 geo byte
1024 geo byte = 1 sagan byte
1024 sagan byte = 1 Pija byte
1024 Pija byte = 1 alpha byte
1024 alpha byte = 1 kryabyte
1024 kryabyte = 1 amos byte
1024 amos byte = 1 pectrol byte