Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Mount Windows PC drives

    Reply
    Page 3 of 3 | Prev |   1     2   3 |
    Karel Jansens | # 21 | 2006-08-04, 16:38 | Report

    Originally Posted by fpp
    The IP address used in the script is that of the Windows PC offering the network share.
    If the address of that PC is fixed then you can use the script even if the tablet's is obtained by DHCP.
    If the PC also has a dynamic address then you'll have to manually issue the mount command line using the current address.
    The thing is, we're not using full Samba here, so there is no Netbios name resolution that could abstract the IP address to a workgroup/domain name.
    OK, thanks. I'll probably switch away from DHCP then, once I've got everything set up in the new home.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Hedgecore | # 22 | 2006-08-04, 17:58 | Report

    Not too sure about the other bits but I've never gotten it to run with the Load/Run app.

    My script is called mount_floorPC.sh and I've dumped it in /root. (Bad, I know)

    The commandline for the Load/Run app is '/root/mount_floorPC.sh'. I've tried 'sh /root/mount_floorPC.sh' as well but no dice.

    So far as setting the path (Dunno if this'll work on the 770, Redhat accepts this tho):

    PATH=/mydir1:/mydir2:/mydir3; export PATH;

    Edit | Forward | Quote | Quick Reply | Thanks

     
    pc4ever1 | # 23 | 2006-08-04, 18:23 | Report

    Whats the process to dumping the script into /root

    When I try to do this I don't have permission even though I have gainroot access.
    Could you provide a detailed method to do so, please excuse my ignorance of linux. I have been cruising the net/ forums / newgroups etc on ways to do this. But unfortunetly I'm resorting to gravelling for the answer.

    TIA

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Hedgecore | # 24 | 2006-08-04, 19:58 | Report

    After you've run 'sudo gainroot' run 'su -' which'll put you in actual root mode (so far as I know). Try it then. (That'll load root's environment variables, etc)

    Edit | Forward | Quote | Quick Reply | Thanks

     
    fpp | # 25 | 2006-08-04, 20:36 | Report

    Originally Posted by Karel Jansens
    OK, thanks. I'll probably switch away from DHCP then, once I've got everything set up in the new home.
    It doesn't have to be all or nothing. You can very well use a fixed address on your main PC (outside the router's DHCP range) and keep DHCP for the rest (tablet, visiting laptops etc.). That's what I do at home.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Karel Jansens | # 26 | 2006-08-04, 20:55 | Report

    Originally Posted by fpp
    It doesn't have to be all or nothing. You can very well use a fixed address on your main PC (outside the router's DHCP range) and keep DHCP for the rest (tablet, visiting laptops etc.). That's what I do at home.
    Yes, I got that; your explanation was very clear. However, the network structure we have in mind doesn't so much have one dedicated server, than several server-like workstations. So going all fixed addresses might be better.

    Thanks again.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    BanditRider | # 27 | 2006-08-04, 21:00 | Report

    Here's how I did it Samba thread post 43

    I think the trick is to put the scripts to mount and unmount in a directory that's in both root and user's PATH. I use /usr/bin

    Edit | Forward | Quote | Quick Reply | Thanks

     
    johsua | # 28 | 2006-10-03, 03:28 | Report

    Has anyone figured out mounting another drive besides C? I get a permission denied error when I try to mount a drive - even though it is shared and can be used by other computers.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Tweak | # 29 | 2006-10-03, 03:46 | Report

    I've done various shares using smbbrowser.
    https://garage.maemo.org/projects/smbbrowser/
    The program is unstable, but I was able to create the mount and it still worked even after the program crashed. This given I was using a local admin and password for the login. I'm not sure if you can get it to connect using a blank password.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 3 of 3 | Prev |   1     2   3 |
vBulletin® Version 3.8.8
Normal Logout