Results 1 to 6 of 6
Discuss Mounting SMB shares. I'm stuck please help ! at the AppleTV 1 - Hackint0sh.org; Hi, I have followed the guide at http://wiki.awkwardtv.org/wiki/Mount...rive_via_SMBFS I have added my windows machine to ...
  1. #1
    Newbie Array

    Join Date
    Apr 2007
    Posts
    6
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default Mounting SMB shares. I'm stuck please help !

    Hi,

    I have followed the guide at http://wiki.awkwardtv.org/wiki/Mount...rive_via_SMBFS

    I have added my windows machine to the /etc/hosts file

    everything appears to be installed correctly

    I made a directory for my share at /Users/frontrow/Movies/Desktop

    I execute the command
    Code:
    shlight //KevinsP4/Desktop /Users/Frontrow/Movies/Desktop
    and i get this response

    Code:
    Password:  (entered password for share)
    Using port 49160 for NFS.
    so all seems fine however nothing ever appears in atvfiles

    anyone got any ideas ?

    thank you

    malty



  2. #2
    Newbie Array

    Join Date
    Apr 2007
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    @maltloaf

    I'm a total newb here, but having fought my way through mounting drives with afp, if you are not seeing any files, could it be because there are spaces in the file names, as in

    Life of Brian.avi.

    If so, try

    Life_of_Brian.avi

    Again, apologies if this is utter garbage, and good luck.

  3. #3
    Newbie Array

    Join Date
    May 2007
    Posts
    1
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Hrm... have you tried forcing the user with a -U command..? Also, is there a case sense issue going on? I noticed you have 'Frontrow', instead of 'frontrow' . I've got shlight working locally....pulling a Samba share off of my linux box...

    shlight //server/share ~frontrow/Movies/share -U user -P password

    I can't get the damned thing to automount, though. it doesn't want to load from rc.local.

    I'm wondering if rc.local doesn't run before the network is pulled up...

  4. #4
    Newbie Array snoeren's Avatar

    Join Date
    Jun 2007
    Location
    Cologne, Germany
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Same problem with me. SMB is working fine with my windows XP computer an the external harddisk. but I want to have the mount at startup. Can anybody tell me the right syntax for the rc.local (same like in terminal use?)and where is the rc.local? In my etc-folder I can find only a file called rc. Whats wrong over here?
    ---
    Only drugs can make you feel like the people on television commercials.

  5. #5
    Newbie Array

    Join Date
    May 2007
    Location
    Netherlands
    Posts
    3
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    well first off all.. the rc.local doenst exist by default... so you have to make that file...
    PHP Code:
    sudo /pathtoscriptdir/script start 
    download this.. http://www.naviis.com/MountEXTREME.zip
    edit the script to something like this

    PHP Code:
    #!/bin/sh
    #
    # /System/Library/StartupItems/MountAFP/MountAFP
    #
    # This will mount a folder via AFP using the "frontrow user"
    # Source the common setup functions for startup scripts
    test -/etc/rc.common || exit 1
    . /etc/rc.common

    shlight 
    //afew/SHOW ~frontrow/Movies/SHOWS -U user -P pass -s NETBIOSSERVER -c SHOW 
    and then copy it to your ~frontrow/ folder... the whole mountEXTREME folder..

    PHP Code:
    sudo mount -o remount,rw /dev/disk0s3 /
    sudo mkdir /System/Library/StartupItems/MountEXTREME
    sudo mv MountEXTREME/MountEXTREME /System/Library/StartupItems/MountEXTREME
    sudo mv MountEXTREME/StartupParameters.plist /System/Library/StartupItems/MountEXTREME
    sudo chown -R root:wheel /System/Library/StartupItems/MountEXTREME
    sudo chmod -R 755 /System/Library/StartupItems/MountEXTREME
    sudo chmod 644 /System/Library/StartupItems/MountEXTREME/StartupParameters.plist
    sudo mv MountEXTREME/rc.local /etc
    sudo chown root:wheel /etc/rc.local
    sudo chmod 644 /etc/rc.local 

    O and 1 thing...it won't work with wireless connections...


  6. #6
    Rookie Array

    Join Date
    Apr 2007
    Posts
    11
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    In the meantime it's possible to use smbfs.kext and mount_smbfs. With a loop waiting for the network interface it's possible to mount in /etc/rc.local (no problem with lan or wlan), but launchd or StartupItem would be the better solution. Have a look at the updated guide:

    http://wiki.awkwardtv.org/wiki/Mount...rive_via_SMBFS

    For creating Startuo Items read: http://developer.apple.com/documenta...tup/index.html

    or launchd: http://developer.apple.com/documenta...ndDaemons.html
    (this is recommended since 10.4.x)
    Last edited by mcka; 07-31-2007 at 01:43 AM.

 

 

Similar Threads

  1. DMG mounting
    By Gitykins in forum Using Leopard
    Replies: 1
    Last Post: 02-20-2010, 03:36 AM
  2. USB Device not mounting
    By GamingFusion in forum Kernel / Kext (Driver) Support
    Replies: 0
    Last Post: 10-09-2009, 11:10 PM
  3. Mounting a DMG
    By A Hackintosh Pro in forum Using Leopard
    Replies: 1
    Last Post: 06-29-2009, 06:15 PM
  4. Mounting SMB or NFS Volume ?
    By enderffx in forum General
    Replies: 2
    Last Post: 10-19-2007, 10:01 AM

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
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 12:16 AM.
twitter, follow us!