Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: HowTo: remotely connect with ubuntu/linux

Hybrid View

  1. #1
    Junior Member
    Join Date
    Sep 2009
    Posts
    22

    HowTo: remotely connect with ubuntu/linux


    Hello!


    I notice the documentation talks about using windows machines to connect to VB but nothing about linux/ubuntu machines.


    So, go to a terminal and type:



    ssh root@IP ADDRESS OF VB



    'root' being the username it will connect with, it will then prompt you for the password you entered when you installed VB. When you are done type 'logout'. So I'm sure lots of folk already know this but I thought it might help someone


    If I may, +1 for a wiki for VB!


    Cheers,


    Chris.


  2. #2
    Senior Member
    Join Date
    Mar 2009
    Posts
    201

    HowTo: remotely connect with ubuntu/linux


    Hi Chris




    This is also my command line way 'in' to my vortexbox via my laptop running Ubuntu, I can't remember where I picked it up from but it does the job very well.




    In addition I have certain folders from the server mapped on my fstab file so they are available on the desktop, I have 5 folders mapped I think for


    - music


    - pictures


    - documents


    - bittorrant


    - movies




    As per the standard /storage set-up on vortexbox.




    One thing I still have on my to-do list is a way of accessing files on my server when outside of my LAN, anyone got any good tips for this ?




    Thanks


    Ian


  3. #3
    Administrator andrew's Avatar
    Join Date
    Nov 2008
    Location
    New Hampshire
    Posts
    3,612

    HowTo: remotely connect with ubuntu/linux



    socistep said:




    One thing I still have on my to-do list is a way of accessing files on my server when outside of my LAN, anyone got any good tips for this ?





    I use hamachi for this.


  4. #4
    Junior Member
    Join Date
    Sep 2009
    Posts
    22

    HowTo: remotely connect with ubuntu/linux


    Hi Ian,


    Thanks for your comments. Thus far, I've been using the 'connect to server' with SSH option to navigate my VB on Ubuntu (logging in as root). Could you detail your method? I'm assuming you do some sort of:



    sudo mount VB_IP local_folder_for_mount



    I've been trying to mount some other NFS shares with little luck. I'm happy to write some more instructions if you point me in the right direction.






    On another note, I followed Andrew's instructions for adding a drive last night:



    Note: You can mount the new disk directly on /storage. This will work well for add a large drive to an old system. Just make sure to get everything you need out of /storage first. You will no longer be able to access it once you mounted your new drive to it.



    I wanted to ask about the above comment. Consider the following scenario, I install VB on a 80GB drive and quickly run out of space, so I add another drive and want it to combine with my current music folder, is the above saying I can just mount it in the same place? ..Or is the above saying you will lose access to the old drive?


    Otherwise, great instructions Andrew--I had never formatted a drive with linux before, they worked a treat!


    Cheers,


    Chris.


  5. #5
    Administrator andrew's Avatar
    Join Date
    Nov 2008
    Location
    New Hampshire
    Posts
    3,612

    HowTo: remotely connect with ubuntu/linux


    you can create a volume sets and span all your drives together. You can only mount one drive on each mount point. You can create symbolic links to other drives.




    The easiest is to start with a 1TB drive




  6. #6
    Junior Member
    Join Date
    Sep 2009
    Posts
    22

    HowTo: remotely connect with ubuntu/linux


    Oh okay, thanks Andrew. So it sounds like the note above meant you could mount the new disk in the same location as the old but you would lose access to the old stuff.




    I've also found this symbolic links too)




    A 1TB drive is certainly tantalising but given that I have lots of smaller drives lying about it seems a waste not to use them (I'm also a bit worried my motherboard won't recognise such large drives).


  7. #7
    Administrator andrew's Avatar
    Join Date
    Nov 2008
    Location
    New Hampshire
    Posts
    3,612

    HowTo: remotely connect with ubuntu/linux


    If you have an old motherboard you can boot from a small drive or even a flash drive. Then you can mount your large drive. Linux will bypass your BIOS an read the drive even if the BIOS dosn't see it. You only need the BIOS to boot.


  8. #8
    Junior Member
    Join Date
    Sep 2009
    Posts
    22

    HowTo: remotely connect with ubuntu/linux



    chris said:


    Post edited 6:09 pm – September 21, 2009 by chris




    I'm assuming you do some sort of:



    sudo mount VB_IP local_folder_for_mount




    Hm, this doesn't work. I get the following error:



    mount: special device VB_IP_ADDRESS/storage/music does not exist



    Thoughts Ian?




    Re: using big drives on old systems.


    Andrew, thanks for the tip -- I was unaware that Linux could do that! Will certainly keep it in mind when I start to run out of space.


  9. #9
    Senior Member
    Join Date
    Mar 2009
    Posts
    201

    HowTo: remotely connect with ubuntu/linux


    Hi Chris,




    I'm away from home at the moment and haven't got access to server (need to get that Hamchi installed...), when I get back I'll paste in here my fstab file and the process for editing if you need it.




    Thanks


    Ian


  10. #10
    Senior Member
    Join Date
    Mar 2009
    Posts
    201

    HowTo: remotely connect with ubuntu/linux


    Hi Chris




    I edited my fstab file (/etc/fstab) on my laptop so that on boot the following drives are mounted (when in my LAN)




    #NFS for Server
    192.168.0.2:/storage/music /media/Music nfs rw,hard,intr 0 0
    192.168.0.2:/storage/movies /media/Movies nfs rw,hard,intr 0 0
    192.168.0.2:/storage/pictures /media/Pictures nfs rw,hard,intr 0 0
    192.168.0.2:/storage/documents /media/Documents nfs rw,hard,intr 0 0
    192.168.0.2:/storage/bittorrant /media/Bittorrant nfs rw,hard,intr 0 0




    these were added to the end of the file, this brings up the folders on the desktop and I navigate from there.




    What I would also like to do is have access to these whilst on WAN but not got round to investigating this.




    Was this what you were looking for ?




    Thanks


    Ian




    Edit - You might need to install nfs on your ubuntu install if not already done


Similar Threads

  1. Accessing a VBA remotely
    By paltomare in forum General
    Replies: 20
    Last Post: 03-27-2013, 04:24 PM
  2. Replies: 0
    Last Post: 11-24-2011, 03:34 AM
  3. Ubuntu
    By johan d in forum General
    Replies: 3
    Last Post: 08-25-2011, 02:39 AM
  4. Access to music files in Ubuntu
    By mudflap5 in forum Help
    Replies: 2
    Last Post: 08-04-2011, 01:04 PM
  5. VortexBox / Ubuntu dual boot
    By JimB in forum Help
    Replies: 1
    Last Post: 09-20-2009, 03:04 PM

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
  •