Results 1 to 9 of 9

Thread: Mount a Cisco-connected network drive

  1. #1
    Join Date
    Nov 2010
    Beans
    39

    Question Mount a Cisco-connected network drive

    I have a very specific problem to solve. I've read a few how-tos explaining how to mount a network drive and I can't seem to get it working.

    I have a network drive connected directly into a Cisco router. I need to mount this drive permanently. That is, I need it to be available after each restart.

    I started by creating a directory to mount the drive at.
    Code:
    mkdir /media/Yssecure
    I then installed smbfs.
    Code:
    sudo apt-get install smbfs
    Then I entered the following line into /etc/fstab.
    Code:
    //Yssecure /media/Yssecure smbfs username 0 0
    Where "Yssecure" is the share name in the router admin settings.

    Then tried to mount it.
    Code:
    sudo mount -a
    I get the following error.
    Code:
    mount error: could not resolve address for Yssecure: Unknown error
    I tried to change it to the IP address of the drive. This is where I have run into some trouble - I can't seem to figure out what the IP address is. This might be a Cisco specific problem. I essentially just pointed it to the IP address of the router but it didn't work.

    First I changed the fstab entry.
    Code:
    //192.168.1.254 /media/Yssecure smbfs username 0 0
    Then I tried to mount again and it's asking for a password. I believe it's asking me for the admin password to the router - but I can't be sure about that.

    Has anyone had this problem before? Any suggestions to fix the problem?

  2. #2
    Join Date
    May 2008
    Location
    SoCal
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Mount a Cisco-connected network drive

    I have a network drive connected directly into a Cisco router.
    What model is this network drive ?

    If it is a network drive (NAS) it should have an IP address of its own and servers running (NFS and SNB/CIFS). You as a client can use these servers to mount the remote share on you local file system (/media/Yssecure)

    You need to set up the share. It can be the entire disk if you like. But you need to configure the share it before you can mount it.
    -BAB1

  3. #3
    Join Date
    Nov 2010
    Beans
    39

    Re: Mount a Cisco-connected network drive

    Quote Originally Posted by bab1 View Post
    What model is this network drive ?

    If it is a network drive (NAS) it should have an IP address of its own and servers running (NFS and SNB/CIFS). You as a client can use these servers to mount the remote share on you local file system (/media/Yssecure)

    You need to set up the share. It can be the entire disk if you like. But you need to configure the share it before you can mount it.
    The model is SAMSUNG HD204UI.

    There is already a share setup through the router and we can easily see it available on the Windows boxes throughout the office.

    I cannot find any information about it's IP address through the router or properties info on the Windows boxes.

    Where do I go from here?

  4. #4
    Join Date
    May 2008
    Location
    SoCal
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Mount a Cisco-connected network drive

    Quote Originally Posted by ricomoss View Post
    The model is SAMSUNG HD204UI.
    This appears to be a bare hard drive (no network intelligence at all).

    There is already a share setup through the router and we can easily see it available on the Windows boxes throughout the office.

    I cannot find any information about it's IP address through the router or properties info on the Windows boxes.

    Where do I go from here?
    The drive itself has no IP address. it is probably mounted to the cisco Router and shared via that device. What name (//SERVER/share) appears (is available) on the Windows hosts?

    Have you tried mounting the share as //SERVER/share. Have you tried using Nautilus to mount the shares (ALT-l smb://Server. The IP address should be the LAN side IP address of the cisco host.

    From the Ubuntu host what do you get with this
    Code:
    smbtree -d3
    Edit: Just realized you are using kubuntu. Do you have Gigilo and gvfs-backends installed?
    Last edited by bab1; May 1st, 2012 at 09:06 PM.
    -BAB1

  5. #5
    Join Date
    Nov 2010
    Beans
    39

    Re: Mount a Cisco-connected network drive

    Quote Originally Posted by bab1 View Post
    This appears to be a bare hard drive (no network intelligence at all).
    The drive itself has no IP address. it is probably mounted to the cisco Router and shared via that device. What name (//SERVER/share) appears (is available) on the Windows hosts?

    Have you tried mounting the share as //SERVER/share. Have you tried using Nautilus to mount the shares (ALT-l smb://Server. The IP address should be the LAN side IP address of the cisco host.

    From the Ubuntu host what do you get with this
    Code:
    smbtree -d3
    Ok, I went into the Dolphin folder browsing interface (I assume that's what Nautilus is?). I dug around on the Network icons and finally found it!

    Clearly the computer can see the drive but now I need to mount it. Is there information available here that I can use to mount the drive?

    I can't see any obvious paths or anything. Under properties it just shows the location as...
    Code:
    /(smb)
    Thank you so much for the help, bab1!

  6. #6
    Join Date
    May 2008
    Location
    SoCal
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Mount a Cisco-connected network drive

    Quote Originally Posted by ricomoss View Post
    Ok, I went into the Dolphin folder browsing interface (I assume that's what Nautilus is?). I dug around on the Network icons and finally found it!

    Clearly the computer can see the drive but now I need to mount it. Is there information available here that I can use to mount the drive?

    I can't see any obvious paths or anything. Under properties it just shows the location as...
    Code:
    /(smb)
    Thank you so much for the help, bab1!
    The SMB/CIFS resource is //SERVER/SHARE. Not a path. In Dolphin, smb:// is the protocol; then add the //SERVER/SHARE (as smb://server/share or smb://IP_Address/share)

    This WILL MOUNT the share at /home/your_login/.gvfs (or the Dolphin equivalent). You can control where it mounts from the command line with
    Code:
    sudo mount -t cifs //SERVER/SHARE /your/mount
    This will mount the share as owned by root. If this works I can dig up the rest of the options so that it will mount with you as the owner.
    Last edited by bab1; May 1st, 2012 at 09:29 PM.
    -BAB1

  7. #7
    Join Date
    Nov 2010
    Beans
    39

    Re: Mount a Cisco-connected network drive

    Quote Originally Posted by bab1 View Post
    The SMB/CIFS resource is //SERVER/SHARE. Not a path. In Dolphin smb:// is the protocol; then add the //SERVER/SHARE (as smb://server/share or smb://IP_Address/share)

    This WILL MOUNT the share at /home/your_login/.gvfs (or the Dolphin equivalent). You can control where it mounts from the command line with
    Code:
    sudo mount -t cifs //SERVER/SHARE /your/mount
    This will mount the share as owned by root. If this works I can dig up the rest of the options so that it will mount with you as the owner.
    I apologize but you are going to have to be a little more verbose with me. I'm not sure what you are talking about.

    Are you saying that I need to literally have smb://server/share or that I need to find out what "//server/share" needs to be?

    I hate to sound dumb but I actually have no idea what is going on right now.

  8. #8
    Join Date
    Nov 2010
    Beans
    39

    Re: Mount a Cisco-connected network drive

    OMGOMGOMG...I just got it to work! Thank you so much!

    So for posterity I'll put my exact steps so this might be useful for others.

    Start by creating a directory where you want to mount the drive:
    Code:
    mkdir /path_to_where/you_want_to_mount/your_drive
    Then install smbfs:
    Code:
    sudo apt-get install smbfs
    Now determine "where" this network is located. This was the difficult part (for me). I was trying to find a hard drive connected directly to a Cisco router. I was able to go into the admin panel of the router and find the disk information under the "Storage" tab. Look for the "Display Name" for the "Shared Folder" of the device you are wanting to mount. You should also notice an IP associated with the drive (this is what I was missing).

    Now connect that information to create an entry for your fstab file. Enter the following into the fstab with sudo permissions.
    Code:
    //ip_associated_with_the_drive/display_name_found_in_router_admin_panel /path_to_where/you_want_to_mount/your_drive smbfs your_username 0 0
    Now mount it.
    Code:
    sudo mount -a
    I was able to do a simple ls command to see everything I wanted.
    Code:
    ls -l /path_to_where/you_want_to_mount/your_drive
    Glorious day!
    Last edited by ricomoss; May 1st, 2012 at 09:41 PM. Reason: Adding useful details for others.

  9. #9
    Join Date
    May 2008
    Location
    SoCal
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Mount a Cisco-connected network drive

    Quote Originally Posted by ricomoss View Post
    OMGOMGOMG...I just got it to work! Thank you so much!

    So for posterity I'll put my exact steps so this might be useful for others.
    I guess you found that //server/share is based on whatever you named the host and the share.

    For example I have a host (the server) named rincon and a share I named public so they would be located by smb://rincon/public.

    Edit: I believe that you should be able to browse the shares available using Dolphin, just like in Windows. Look for something like Places>>Network
    Last edited by bab1; May 1st, 2012 at 09:44 PM.
    -BAB1

Tags for this Thread

Bookmarks

Posting Permissions

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