Network Drive
  • JJ
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    JJ
    Posts: 147 from 2010/7/7
    From: Wales
    Is there any easy way to connect to my buffalo linkstation which is obviously connected to a router. Is there a guide or an easy program to do this . thanks ?

    Now proudly a registerd morphos user
    We don't stop playing because we grow old; we grow old because we stop playing. - George Bernard Shaw


    Xbox Live: S0ulA55a551n2
  • »18.07.10 - 13:54
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 3108 from 2003/3/5
    From: Canada
    FTP? http://amitradecenter.net/download.html
    Samba? http://se.aminet.net/comm/tcp/smbfs.readme
  • »18.07.10 - 17:56
    Profile Visit Website
  • Caterpillar
    Caterpillar
    Rajinder
    Posts: 38 from 2010/3/24
    From: West-yorkshire...
    @JJ

    hi
    i asked these question found this usefull

    https://morph.zone/modules/newbb_plus/viewtopic.php?topic_id=7097&forum=9#73141
  • »19.07.10 - 12:14
    Profile Visit Website
  • JJ
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    JJ
    Posts: 147 from 2010/7/7
    From: Wales
    @ Rajinder

    Thanks for the link worked a treat. First time.

    Only question for you or other people. How can I get this to run the command automatically so the drive is there after boot ?

    I gussed it wouldn't work adding to user-startup as Im guessing network not up by the time this is run, and I was right.

    I know in Genisis and Miami you could get it to run a script or program when the stack connected is this possible in MorphOS?

    Also FTP worked but thats not much good for using as network drive, but thanks for the info
    We don't stop playing because we grow old; we grow old because we stop playing. - George Bernard Shaw


    Xbox Live: S0ulA55a551n2
  • »28.07.10 - 10:39
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    boot_wb
    Posts: 874 from 2007/4/9
    From: Kingston upon ...
    Hey JJ,

    Just add the script (or a link to the script) to your WBStartup drawer.

    That should allow the network to initialise prior to mounitng the drive (works for me, anyway).

    Regards



    Rich
    www.hullchimneyservices.co.uk

    UI: Powerbook 5,6 (1.67GHz, 128MB VRam): OS3.1, OSX 10.5.8
    HTPC: Mac Mini G4 (1,5GHz, 64MB VRam): OS3.1 (ZVNC)
    Audiophile: Efika 5200b (SB Audigy): OS3.1 (VNC + Virtual Monitor)

    Windows free since 2011!
  • »28.07.10 - 11:23
    Profile Visit Website
  • JJ
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    JJ
    Posts: 147 from 2010/7/7
    From: Wales
    @ boot_wb

    Thanks that was going to be my next test. Does the file have to have a certain extension or does it need to have a project icon or whatever it was back in the day. been a long time since I used AmigaOS for anything serious
    We don't stop playing because we grow old; we grow old because we stop playing. - George Bernard Shaw


    Xbox Live: S0ulA55a551n2
  • »28.07.10 - 11:53
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    boot_wb
    Posts: 874 from 2007/4/9
    From: Kingston upon ...
    When you save the script file, it should save with a project icon anyway (depending on your editing application of choice).

    If there is no .info file, just copy an .info file from anywhere else and rename it to be the same as your script filename but with an .info extension (eg if your script file is called 'script1', name the .info file as 'script1.info').

    Once there is an icon, just make sure the script flag is set (select the icon, go to information, ensure 'script' box is ticked).

    It should now mount the shared drive upon startup, appearing as an icon on your desktop. If the shared drive is not switched on when you start your MorphOS machine, then it will simply not be mounted.

    To avoid annoying con window opening, you may want to add the >NIL: option, eg:

    run >nil: STACK=65536 SMBFS workgroup=[your workgroup name] user=[user name] service=//[share host name]/[share path] volume=[whatever name you want it mounted as]

    From memory, it is also important to add the "stack=" arguement, but I'm sure that the readme will have explained this.

    Best Regards



    Rich
    www.hullchimneyservices.co.uk

    UI: Powerbook 5,6 (1.67GHz, 128MB VRam): OS3.1, OSX 10.5.8
    HTPC: Mac Mini G4 (1,5GHz, 64MB VRam): OS3.1 (ZVNC)
    Audiophile: Efika 5200b (SB Audigy): OS3.1 (VNC + Virtual Monitor)

    Windows free since 2011!
  • »28.07.10 - 12:30
    Profile Visit Website
  • JJ
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    JJ
    Posts: 147 from 2010/7/7
    From: Wales
    Hi Rich

    Thanks. Already running through run > nil: :)

    I not setting stack , im setting cache=500 at beggining. is stack needed ? Seemed to work ok without it
    We don't stop playing because we grow old; we grow old because we stop playing. - George Bernard Shaw


    Xbox Live: S0ulA55a551n2
  • »28.07.10 - 12:40
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    boot_wb
    Posts: 874 from 2007/4/9
    From: Kingston upon ...
    Other users have reported problems (freezing, failure to copy large files, etc) with the default stack size.

    Also, in another thread Piru recommends increasing the stack size to 32768: I've never known him advocate anything which sacrifices resources for no reason.
    www.hullchimneyservices.co.uk

    UI: Powerbook 5,6 (1.67GHz, 128MB VRam): OS3.1, OSX 10.5.8
    HTPC: Mac Mini G4 (1,5GHz, 64MB VRam): OS3.1 (ZVNC)
    Audiophile: Efika 5200b (SB Audigy): OS3.1 (VNC + Virtual Monitor)

    Windows free since 2011!
  • »28.07.10 - 12:53
    Profile Visit Website
  • JJ
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    JJ
    Posts: 147 from 2010/7/7
    From: Wales
    Ok Thanks for the info

    And yes if Piru advises I will follow that advice :)
    We don't stop playing because we grow old; we grow old because we stop playing. - George Bernard Shaw


    Xbox Live: S0ulA55a551n2
  • »28.07.10 - 13:00
    Profile
  • MorphOS Developer
    Piru
    Posts: 587 from 2003/2/24
    From: finland, the l...
    Quote:

    I know in Genisis and Miami you could get it to run a script or program when the stack connected is this possible in MorphOS?

    Well at least in this way:

    in user-startup:
    Code:

    ; BEGIN network-user-startup
    run <>nil: execute s:network-user-startup
    ; END network-user-startup

    Then create s:network-user-startup and have the following in it:
    Code:

    waitforport NETSTACK L=30 ; wait network stack to appear (max 30 secs)
    if not warn
    wait 2 ; give network some time to settle, if apps still fail, raise the value
    ;
    ; *** start whatever stuff you want here ***
    ; ...
    ;
    endif


    [ Edited by Piru on 2010/7/28 17:42 ]
  • »28.07.10 - 13:38
    Profile
  • MorphOS Developer
    geit
    Posts: 1049 from 2004/9/23
    There is a far more easy way.

    Just create the file "s:network-startup" and place the following lines

    ;--- launch network stack
    execute MOSSYS:s/network-startup
    ;--- now run any other network depending tools
    run DETACH MOSSYS:c/Setclockntp

    Thats all. This script sets the system clock on system boot.

    Geit

    [ Edited by geit on 2010/7/28 16:52 ]
  • »28.07.10 - 13:51
    Profile
  • MorphOS Developer
    Piru
    Posts: 587 from 2003/2/24
    From: finland, the l...
    Hmm yeah, that should work as well. :-)
  • »28.07.10 - 14:09
    Profile
  • MorphOS Developer
    geit
    Posts: 1049 from 2004/9/23
    We should place a dummy file for this which gets installed if there is no such file. :)

    Geit
  • »28.07.10 - 14:33
    Profile
  • JJ
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    JJ
    Posts: 147 from 2010/7/7
    From: Wales
    Thanks all for all your suggestions.
    We don't stop playing because we grow old; we grow old because we stop playing. - George Bernard Shaw


    Xbox Live: S0ulA55a551n2
  • »28.07.10 - 15:22
    Profile