WiFi: HotSpot - DD-WRT File Sharing dengan SAMBA / Network Neighbourhood

From SpeedyWiki

Jump to: navigation, search

Contents

[edit] Siapkan USB Harddisk

Ganti kata /dev/sd? dengan device yang sebenarnya

fdisk /dev/sd?
  • Delete semua partisi
  • buat satu partisi ext3
  • write partisi tersebut


[edit] DD-WRT File Sharing dengan Slim Samba USB

[edit] 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

[edit] Download / Install slim-samba2-usb

mount /dev/sde1 /mnt/usb1
  • Download slim-samba2-usb.tar.gz di komputer
wget http://www.3iii.dk/linux/dd-wrt/slim-samba2-usb.tar.gz
cp slim-samba2-usb.tar.gz /mnt/usb1
  • Login menggunakan ssh ke DD-WRT
  • Colok USB harddisk yang sudah di partisi ke DD-WRT (1 partisi saja)
  • Lakukan di shell DD-WRT
cd /mnt
tar xvzf slim-samba2-usb.tar.gz 
./samba2.usb

[edit] Ubah Nama Workgroup

samba2.cwg

[edit] Start Samba

/mnt/samba2.usb

[edit] Stop Samba & Unmout USB Harddisk

sh /tmp/unplug.usb

[edit] Akses Menggunakan Firefox di Linux


[edit] Copy File yang akan di sharing dari PC ke USB harddisk

  • Colok USB Harddisk ke PC
  • copy file yang akan di sharing
cp -Rf /folder/yang/di/sharing /media/usbharddisk/data/

[edit] Referensi

[edit] Pranala Menarik

Personal tools