WRT160NL and HDSamba2 problem...

Post new topic   Reply to topic    DD-WRT Forum Index -> Hardware basado en Atheros
Author Message
Nextor123
DD-WRT Novice


Joined: 04 Feb 2011
Posts: 16

PostPosted: Mon Feb 14, 2011 16:20    Post subject: WRT160NL and HDSamba2 problem... Reply with quote
Hello!

I new in this and i have a problem with install HDSamba2 on my WRT160NL!

I have latest BrainSlayer (DD-WRT v24-sp2 (12/24/10) std - build 15962) firmware!

Partition is 100% correct!
    First - ext3 (Optware)
    Second - linux swap
    Third - ext3 - (NAS)
    Forth - ext3 - (JFFS)


if i use automount, i get next diskinfo...



USB & JFFS settings in GUI is OK!




i use clean jffs function!

i try install HDSamba2 script with telnet...

    DD-WRT v24-sp2 std (c) 2010 NewMedia-NET GmbH
    Release: 12/24/10 (SVN revision: 15962)

    ROUTER login: root
    Password:
    ==========================================================

    ____ ___ __ ______ _____ ____ _ _
    | _ \| _ \ \ \ / / _ \_ _| __ _|___ \| || |
    || | || ||____\ \ /\ / /| |_) || | \ \ / / __) | || |_
    ||_| ||_||_____\ V V / | _ < | | \ V / / __/|__ _|
    |___/|___/ \_/\_/ |_| \_\|_| \_/ |_____| |_|

    DD-WRT v24-sp2
    http://www.dd-wrt.com

    ==========================================================


    BusyBox v1.13.4 (2010-12-24 08:05:00 CET) built-in shell (ash)
    Enter 'help' for a list of built-in commands.

    root@ROUTER:~# cd /tmp
    root@ROUTER:/tmp# wget http://www.3iii.dk/linux/optware/v5install.HDsamba2
    Connecting to www.3iii.dk (193.202.110.52:80)
    wget: can't open 'v5install.HDsamba2': File exists
    root@ROUTER:/tmp# sh /tmp/v5install.HDsamba2
    Welcome to HDsamba v5.00
    ---------------------------------------------------------
    Confirm Hard Drive Partitions....
    ---------------------------------------------------------
    .
    First, please make sure you have at least 3 partition available
    on an USB-Drive. This version supports ext3 and vfat filesystems
    but it is _strongly_ recommended to use ext3. And I will
    describe things for ext3. For accessing ext3 filesystems with
    Windows use the driver from
    >>>>> ---------------------------------------------------- <<<<<<
    >>>>> http://www.fs-driver.org/ or http://www.ext2fsd.com/ <<<<<<
    >>>>> ---------------------------------------------------- <<<<<<
    The three partition should be formated as follows:
    First - ext3 - approx. 500MB to 1GB (Optware and extra router software...)
    Second - linux swap - approx. 128MB to 256MB (Swap partition for the router)
    Third - ext3 - biggest you get (NAS data, this is the space that Samaba will sh
    are)
    .
    If you want to relocate /jffs to an USB-Drive you need a forth partition
    forth - ext3 - approx. 500MB to 1GB ( for jffs )
    You can manually add further partition after successfull installation.
    .
    ---------------------------------------------------------
    If your hard drive meets these requirements, press ENTER

    .
    ---------------------------------------------------------
    Confirm Router is running a late version...
    ---------------------------------------------------------
    .
    Now, let's talk about the router itself.
    For your convinience you should install ekos big build
    (newer Build Numbers) or ekos mega build (older Build Numbers)
    You can also use BS MEga build but it is likly that you need an
    extra partition to relocate /jffs to an USB-drive
    .
    http://www.dd-wrt.com/dd-wrtv3/dd-wrt/downloads.html
    .
    Try under / others / eko / V24_TNG /
    or
    Try under / others / eko / BrainSlayer-V24-preSP2 /
    I've always had good results with the latest build.
    .
    ---------------------------------------------------------
    If you've completed the DD-WRT firmware upgrade, press ENTER

    .
    ---------------------------------------------------------
    Set up the Router's GUI
    ---------------------------------------------------------
    .
    There are some things we need to take care of in the web GUI
    So point your browser to 192.168.1.1, or the new address if you
    changed your router's IP...
    .
    First, Set a Time Server
    This helps stop e2fsck from running disc checks when
    there is no reason.
    http://www.pool.ntp.org/ can help
    .
    Next, configure JFFS support
    We need a small JFFS to run disc checks from, as repairs are best run
    on unmounted disks.
    .
    WARNING: If you make changes to the web gui now, the router may reboot...
    ---------------------------------------------------------
    If you have taken care of these two items press ENTER

    .
    Finally under Services/USB in the GUI, make sure the following are enable:
    Core USB Support
    USB Storage Support
    USB 2.0 (or the version your HD supports)
    ext2/ext3 Support
    .
    *THERE IS NO NEED TO SPECIFY AN AUTOMOUNT, OR STARTUP SCRIPTS*
    THIS IS BECAUSE AUTOMOUNT RUNS A SCRIPT BEFORE SOME ELEMENTS
    OF THE ROUTER BOOT UP SO LET HDsamba2 HANDLE IT FOR NOW...
    .
    *HDsamba2 will also automatically configure your shutdown script
    to unmount cleanly.
    .
    WARNING: If you make changes to the web gui now, the router may reboot...
    ---------------------------------------------------------
    If you have all this configured, press ENTER

    .
    ---------------------------------------------------------
    Install HDsamba2
    ---------------------------------------------------------
    .
    ---------------------------------------------------------
    TASK 1: Waiting for Router to register a useable date...
    Router is connected to a valid time server!
    TASK 1: Done
    ---------------------------------------------------------
    .
    ---------------------------------------------------------
    TASK 2: Setup and Test JFFS....
    .
    You can relocate JFFS to an USB-Drive. This script
    will make the necessary adjustment for you. If you are
    unsure weather you need to relocate, deny the question
    and see weather the installation completes without
    relocating JFFS.
    .
    Also note that as part of relocating you need to reboot.
    You will need to start this installation script again.
    This script will detect that JFFS is now on an USB-Drive
    and will not ask you again.

    Do you want to relocate JFFS to a USB-Drive?
    It would probably be a good idea so disable it as a radio control
    in the web GUI if you choose this option.
    Type 'YES' in capitals to do so, anything else cancels this option.
    .
    YES
    .
    JFFS will now be relocated to an USB-Drive
    .
    Filesystem detection will not be supported
    Please enter partition id for JFFS:
    0.4
    sh: Yes: unknown operand
    sh: 0x0b: unknown operand
    sh: 0x0B: unknown operand
    sh: 0x83: unknown operand
    Please enter partition id for JFFS:
    0.4
    sh: Yes: unknown operand
    sh: 0x0b: unknown operand
    sh: 0x0B: unknown operand
    sh: 0x83: unknown operand
    Please enter partition id for JFFS:
    0.4
    sh: Yes: unknown operand
    sh: 0x0b: unknown operand
    sh: 0x0B: unknown operand
    sh: 0x83: unknown operand
    mount: mounting /dev/scsi/host0/bus0/target0/lun0/part4 on /jffs failed: No such
    device
    The jffs partition has been successful relocated.
    A Reboot lik in previous version of HDsamba2 is not needed
    any more. You should see a your jffs partition pointing to your USB-Driv
    e
    rootfs on / type rootfs (rw)
    /dev/root on / type squashfs (ro,relatime)
    proc on /proc type proc (rw,relatime)
    sysfs on /sys type sysfs (rw,relatime)
    ramfs on /tmp type ramfs (rw,relatime)
    none on /dev type tmpfs (rw,relatime,size=512k)
    devpts on /dev/pts type devpts (rw,relatime,mode=600)
    devpts on /proc/bus/usb type usbfs (rw,relatime)
    /dev/sda1 on /mnt type ext2 (rw,relatime,errors=continue)
    Press any key to continue installation of HDsamba2

    .
    mkdir: cannot create directory '/jffs/etc': Read-only file system
    mkdir: cannot create directory '/jffs/etc/config': No such file or directory
    ERROR: Failed to detect /jffs...
    ERROR: Did you enable JFFS in the router's GUI?
    TERMINATING SCRIPT IMMEDIATELY
    root@ROUTER:/tmp#


wtf i doing wrong? :(

Please help!
Sponsor
Nextor123
DD-WRT Novice


Joined: 04 Feb 2011
Posts: 16

PostPosted: Mon Feb 14, 2011 23:39    Post subject: Reply with quote
Anybody? :cry:

I try many stuff but don't work nothing...

Just point me to the right way please! Rolling Eyes
ricardo345
DD-WRT Novice


Joined: 08 May 2011
Posts: 6

PostPosted: Sun May 08, 2011 7:35    Post subject: Reply with quote
same problem here....
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Hardware basado en Atheros All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum