1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need to rename "DISK 1" to "disk 1"

Discussion in 'Cisco/Linksys Network Storage Devices' started by cbex, Feb 16, 2005.

  1. cbex

    cbex Network Guru Member

    I have been trying to find a way to convert the default disk names to lowercase.

    My problem: I am trying to use my NSLU2 to host my simple website. When I have my domain forwarded to my ip address, the person surfing to my domain name will see the NSLU2 web interface as the homepage. I want them to see "/DISK 1/index.html" My domain registrar supports web forwarding. So the solution seems simple: use "web forwarding" to redirect to "http://xxx.xxx.xxx/DISK 1/index.html"

    But what really happens is that the "web forwarding" service translates that to ALL lowercase characters which are not recognized by the NSLU2. I have asked my domain registrar to allow uppercase characters, but to no avail.

    So..... does anybody have an idea how I can rename "DISK 1" to "disk 1" (and disk 2 as well)?

    My experience with Linux is zero, but I am capable enough to figure out how to telnet in, or install the unslung firmware, etc., if required.

  2. RoMe0610

    RoMe0610 Network Guru Member

    Not a solution but a workaround:

    Why not creating a new share 'web' at the same base as 'DISK 1' and use this share?

    Advantage is also to avoid spaces within the name, which could also be a problem.

  3. cbex

    cbex Network Guru Member

    I created a share called "web" and directed my domain name to it @

    This would be an easy solution, but now it prompts for a username and password because the share "web" is considered to be in "DISK 1(private data)" I can move the share "web" to "DISK 1(public data)" without need for user/pass, but now the url is:
    http://xxx.xxx.xxx.xxx/DISK 1/web/index.html

    ....and I'm back to square one with the capital letters.

    On another note, I am now running the unslung firmware if that might help.

    I can't realistically give usernames/passwords to all of the visitors to my site. Any more suggestions?

  4. RoMe0610

    RoMe0610 Network Guru Member

    Hi, seems to be two different problems, 1. the location and 2. the access rights.

    Create a new share:

    Name: web
    ( ) Default folder
    (X) Specify: /web

    Set Access:
    Grant 'everybody' R/W access

    Don't forget to save the new entries! :wink:

    Now you can reach your little box via http://<IP or something>/web/index.html

    See also the very first posting in this forum ('My discoveries with the NLSU2 & new forum needed for NLSU2').

    Well, the R/W access is a major drawback for a web server, but your decribed check for login/password is very logical, because the NLSU2 must differ between a 'normal' user with read only access an the administrator with r/w access.

  5. cbex

    cbex Network Guru Member

    Thanks for your help Roland. I have a better understanding of how the nslu2 works now.

    I'm going to continue my search for a way to access my html pages via HTTP on an "all lowercase" URL without having to login.

  6. cbex

    cbex Network Guru Member

    O.K., I've finally found a solution after many hours (days) of searching. But, in the end I had to install 3rd party firmware.

    -I installed the uNSLUng firmware
    -then i used puttytel.exe to telnet into the nslu2
    -realized that I knew nothing about linux, so I took a simple online tutorial
    -then I updated busybox (don't know if this was required)
    -with the regular web interface, I changed the HTTP server to use port 8080
    -back into telnet and I created another instance of the HTTP server (it is called thttpd) to use port 80

    ~and voila, my goal is complete.
    when the nameserver directs to my ip, my index.html is automatically loaded, and the nslu2 web interface still lives on at port 8080 if I need to access it.


    p.s. I could only complete these steps via a lot of googling and reading tutorial pages. But now I know my way around linux and my nslu2.

    If anybody is trying to do the same thing, I can point you to the pages I used. cjbex (at) hotmail (dot) com
  7. Toxic

    Toxic Administrator Staff Member

    well at least you found out the problem m8, glad you sorted it, this thread should be good for all NSLU2 owners out there.

Share This Page