Results 1 to 8 of 8

Thread: Samba yes, FTP no

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2004
    Location
    Germany
    Posts
    7

    Samba yes, FTP no

    I'd like to run samba, but not the ftp-server. But when I disable the ftp-server using the web-interface, the USB-disk doesn't get mounted anymore.

    I have searched forums and played with the nvram set usb_storage_device=1 command, yet to no avail. How can I achieve this?

    I'm using 1.8.1.7-3.

    Thanks,
    -Udo.

  2. #2
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    mount disk manually.

  3. #3
    Join Date
    Nov 2004
    Location
    Germany
    Posts
    7
    Thanks Oleg, it works now. But you forgot to mention that the proper kernel modules have to be loaded before you can do a manual mount.
    Here is how my post-boot looks like:
    Code:
    #!/bin/sh
    
    /usr/sbin/smbd -D
    # /usr/sbin/nmbd -D
    
    insmod scsi_mod
    insmod sd_mod
    insmod usb-storage
    
    mkdir /tmp/harddisk
    mount -t vfat -o sync,rw /dev/discs/disc0/part1 /tmp/harddisk

  4. #4
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Why you don't start nmbd?

  5. #5
    Join Date
    Nov 2003
    Location
    Eindhoven
    Posts
    2,407
    Quote Originally Posted by Oleg
    Why you don't start nmbd?
    nmbd is not needed..

    I'm not using the hostname at all
    because I map it directly to a driveletter in windows.. thus an IP is enough

    also in my case, my second wl500g(2) is often setup as gateway meaning another subnet and will not resolve the samba server at my wl500g(1) but when using IP it goes all fine

    My little Asus Collection: Too much to fit inhere, my 2 babies:WL500w 1.9.2.7-10(OLEG) VX2SE Yellow Lamborghini notebook



    WL500g Forum Asus Files OpenDir

    Asusforum.NL -- Asusforum.DE -- Asusforum.RU -- Asusforum.PL -- Asusforum.NET -- Asusforum.EU -- Asusforum.BE -- Asusforum.ES -- Asusforum.INFO

  6. #6
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    This will probably cause problems with Win9x clients, which do not use DNS to resolve names...
    Also, wl500g will not appear in the Network Neighbourhood...
    Also, smbd is using nmbd to perform certain queries...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •