Difference between revisions of "WiFi: HotSpot - DD-WRT File Sharing dengan SAMBA / Network Neighbourhood"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 1: | Line 1: | ||
+ | ==Siapkan USB Harddisk== | ||
+ | |||
+ | fdisk /dev/sd? | ||
+ | Command (m for help): d (deletes the partition) | ||
+ | Selected partition 1 | ||
+ | Command (m for help): p | ||
+ | Disk /dev/sdd: 8015 MB, 8015314944 bytes | ||
+ | 255 heads, 63 sectors/track, 974 cylinders | ||
+ | Units = cylinders of 16065 * 512 = 8225280 bytes | ||
+ | Disk identifier: 0x0006fe25 | ||
+ | Device Boot Start End Blocks Id System | ||
+ | Command (m for help): p | ||
+ | Disk /dev/sd?: 64 heads, 63 sectors, 621 cylinders | ||
+ | Units = cylinders of 4032 * 512 bytes | ||
+ | Command (m for help): n | ||
+ | Command action | ||
+ | e extended | ||
+ | p primary partition (1-4) | ||
+ | p | ||
+ | Partition number (1-4): 1 | ||
+ | First cylinder (1-621, default 1):<HIT ENTER> | ||
+ | Using default value 1 | ||
+ | Last cylinder or +size or +sizeM or +sizeK (1-621, default 621): +512M <HIT ENTER> | ||
+ | Command (m for help): n | ||
+ | Command action | ||
+ | e extended | ||
+ | p primary partition (1-4) | ||
+ | p | ||
+ | Partition number (1-4): 2 | ||
+ | First cylinder (197-621, default 197):<HIT ENTER> | ||
+ | Using default value 197 | ||
+ | Last cylinder or +size or +sizeM or +sizeK (197-621, default 621): +64M <HIT ENTER> | ||
+ | Command (m for help): n | ||
+ | Command action | ||
+ | e extended | ||
+ | p primary partition (1-4) | ||
+ | p | ||
+ | Partition number (1-4): 3 | ||
+ | First cylinder (197-621, default 197):<HIT ENTER> | ||
+ | Using default value 621 | ||
+ | Last cylinder or +size or +sizeM or +sizeK (197-621, default 621): +128M <HIT ENTER> | ||
+ | Command (m for help): n | ||
+ | Command action | ||
+ | e extended | ||
+ | p primary partition (1-4) | ||
+ | p | ||
+ | Partition number (1-4): 4 | ||
+ | First cylinder (197-621, default 197):<HIT ENTER> | ||
+ | Using default value 1 | ||
+ | Last cylinder or +size or +sizeM or +sizeK (197-621, default 621): <HIT ENTER> | ||
+ | Command (m for help): t | ||
+ | Partition number (1-4): 2 | ||
+ | Hex code (type L to list codes): 82 | ||
+ | Changed system type of partition 2 to 82 (Linux swap) | ||
+ | Command (m for help): p | ||
+ | Disk /dev/sd?: 64 heads, 63 sectors, 621 cylinders | ||
+ | Units = cylinders of 4032 * 512 bytes | ||
+ | Device Boot Start End Blocks Id System | ||
+ | /dev/sd?1 * 1 196 395104+ 83 Linux | ||
+ | /dev/sd?2 197 262 133056 82 Linux swap | ||
+ | /dev/sd?3 263 458 395136 83 Linux | ||
+ | Command (m for help): w | ||
+ | |||
+ | |||
+ | |||
==DD-WRT File Sharing dengan Slim Samba USB== | ==DD-WRT File Sharing dengan Slim Samba USB== | ||
Revision as of 08:16, 17 April 2010
Siapkan USB Harddisk
fdisk /dev/sd? Command (m for help): d (deletes the partition) Selected partition 1 Command (m for help): p Disk /dev/sdd: 8015 MB, 8015314944 bytes 255 heads, 63 sectors/track, 974 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x0006fe25 Device Boot Start End Blocks Id System Command (m for help): p Disk /dev/sd?: 64 heads, 63 sectors, 621 cylinders Units = cylinders of 4032 * 512 bytes Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-621, default 1):<HIT ENTER> Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-621, default 621): +512M <HIT ENTER> Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 2 First cylinder (197-621, default 197):<HIT ENTER> Using default value 197 Last cylinder or +size or +sizeM or +sizeK (197-621, default 621): +64M <HIT ENTER> Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 3 First cylinder (197-621, default 197):<HIT ENTER> Using default value 621 Last cylinder or +size or +sizeM or +sizeK (197-621, default 621): +128M <HIT ENTER> Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 4 First cylinder (197-621, default 197):<HIT ENTER> Using default value 1 Last cylinder or +size or +sizeM or +sizeK (197-621, default 621): <HIT ENTER> Command (m for help): t Partition number (1-4): 2 Hex code (type L to list codes): 82 Changed system type of partition 2 to 82 (Linux swap) Command (m for help): p Disk /dev/sd?: 64 heads, 63 sectors, 621 cylinders Units = cylinders of 4032 * 512 bytes Device Boot Start End Blocks Id System /dev/sd?1 * 1 196 395104+ 83 Linux /dev/sd?2 197 262 133056 82 Linux swap /dev/sd?3 263 458 395136 83 Linux Command (m for help): w
DD-WRT File Sharing dengan Slim Samba USB
Aktifkan USB di web-GUI dan set
Masuk ke Services -> USB
Core USB Support Enable USB 1.1 Support (UHCI) Enable USB 1.1 Support (OHCI) Enable USB 2.0 Support Enable USB Printer Support Enable USB Storage Support Enable ext2 / ext3 File System Support Enable FAT File System Support Enable Automatic Drive Mount Enable Run-on-mount Script Name Disk Mount Point /mnt
Referensi
- http://www.3iii.dk/linux/dd-wrt/slim-samba2-usb.tar.gz
- http://www.3iii.dk/linux/optware/v5install.HDsamba2
- http://www.dd-wrt.com/wiki/index.php/Slim_samba2
- http://www.dd-wrt.com/wiki/index.php/HDsamba2
- http://www.dd-wrt.com/wiki/index.php/Samba_Filesystem
- http://www.dd-wrt.com/wiki/index.php/Jffs#Directions_for_.28normal.29_users:_using_Web-GUI_Interface
- http://www.dd-wrt.com/wiki/index.php/How_to_-_Format_and_Partition_External_Storage_Device