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 18: | Line 18: | ||
fdisk /dev/sd? | fdisk /dev/sd? | ||
− | Command (m for help): d (deletes the partition) | + | Command (m for help): '''d''' (deletes the partition) |
Selected partition 1 | Selected partition 1 | ||
− | Command (m for help): p | + | Command (m for help): '''p''' |
Disk /dev/sdd: 8015 MB, 8015314944 bytes | Disk /dev/sdd: 8015 MB, 8015314944 bytes | ||
255 heads, 63 sectors/track, 974 cylinders | 255 heads, 63 sectors/track, 974 cylinders | ||
Line 26: | Line 26: | ||
Disk identifier: 0x0006fe25 | Disk identifier: 0x0006fe25 | ||
Device Boot Start End Blocks Id System | Device Boot Start End Blocks Id System | ||
− | Command (m for help): p | + | Command (m for help): '''p''' |
Disk /dev/sd?: 64 heads, 63 sectors, 621 cylinders | Disk /dev/sd?: 64 heads, 63 sectors, 621 cylinders | ||
Units = cylinders of 4032 * 512 bytes | Units = cylinders of 4032 * 512 bytes | ||
− | Command (m for help): n | + | Command (m for help): '''n''' |
Command action | Command action | ||
e extended | e extended | ||
p primary partition (1-4) | p primary partition (1-4) | ||
− | p | + | '''p''' |
− | Partition number (1-4): 1 | + | Partition number (1-4): '''1''' |
− | First cylinder (1-621, default 1):<HIT ENTER> | + | First cylinder (1-621, default 1):'''<HIT ENTER>''' |
Using default value 1 | Using default value 1 | ||
− | Last cylinder or +size or +sizeM or +sizeK (1-621, default 621): +512M <HIT ENTER> | + | Last cylinder or +size or +sizeM or +sizeK (1-621, default 621): '''+512M <HIT ENTER>''' |
− | Command (m for help): n | + | Command (m for help): '''n''' |
Command action | Command action | ||
e extended | e extended | ||
p primary partition (1-4) | p primary partition (1-4) | ||
− | p | + | '''p''' |
− | Partition number (1-4): 2 | + | Partition number (1-4): '''2''' |
− | First cylinder (197-621, default 197):<HIT ENTER> | + | First cylinder (197-621, default 197):'''<HIT ENTER>''' |
Using default value 197 | Using default value 197 | ||
− | Last cylinder or +size or +sizeM or +sizeK (197-621, default 621): +64M <HIT ENTER> | + | Last cylinder or +size or +sizeM or +sizeK (197-621, default 621): '''+64M <HIT ENTER>''' |
− | Command (m for help): n | + | Command (m for help): '''n''' |
Command action | Command action | ||
e extended | e extended | ||
p primary partition (1-4) | p primary partition (1-4) | ||
− | p | + | '''p''' |
− | Partition number (1-4): 3 | + | Partition number (1-4): '''3''' |
− | First cylinder (197-621, default 197):<HIT ENTER> | + | First cylinder (197-621, default 197):'''<HIT ENTER>''' |
Using default value 621 | Using default value 621 | ||
− | Last cylinder or +size or +sizeM or +sizeK (197-621, default 621): +128M <HIT ENTER> | + | Last cylinder or +size or +sizeM or +sizeK (197-621, default 621): '''+128M <HIT ENTER>''' |
− | Command (m for help): n | + | Command (m for help): '''n''' |
Command action | Command action | ||
e extended | e extended | ||
p primary partition (1-4) | p primary partition (1-4) | ||
− | p | + | '''p''' |
− | Partition number (1-4): 4 | + | Partition number (1-4): '''4''' |
− | First cylinder (197-621, default 197):<HIT ENTER> | + | First cylinder (197-621, default 197):'''<HIT ENTER>''' |
Using default value 1 | Using default value 1 | ||
− | Last cylinder or +size or +sizeM or +sizeK (197-621, default 621): <HIT ENTER> | + | Last cylinder or +size or +sizeM or +sizeK (197-621, default 621): '''<HIT ENTER>''' |
− | Command (m for help): t | + | Command (m for help): '''t''' |
− | Partition number (1-4): 2 | + | Partition number (1-4): '''2''' |
− | Hex code (type L to list codes): 82 | + | Hex code (type L to list codes): '''82''' |
Changed system type of partition 2 to 82 (Linux swap) | Changed system type of partition 2 to 82 (Linux swap) | ||
− | Command (m for help): p | + | Command (m for help): '''p''' |
Disk /dev/sd?: 64 heads, 63 sectors, 621 cylinders | Disk /dev/sd?: 64 heads, 63 sectors, 621 cylinders | ||
Units = cylinders of 4032 * 512 bytes | Units = cylinders of 4032 * 512 bytes | ||
Line 76: | Line 76: | ||
/dev/sd?2 197 262 133056 82 Linux swap | /dev/sd?2 197 262 133056 82 Linux swap | ||
/dev/sd?3 263 458 395136 83 Linux | /dev/sd?3 263 458 395136 83 Linux | ||
− | Command (m for help): w | + | 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:29, 17 April 2010
Siapkan USB Harddisk
Untuk Harddisk <=40 GB
- /opt 256 Mb
- swap 32 Mb
- /jffs 128 Mb
- data sisanya
Untuk Harddisk =< 40 GB
- /opt 512 Mb
- swap 64 Mb
- /jffs 256 Mb
- data sisanya
Partisi menggunakan fdisk
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