November 20, 2007, 10:49:54 pm
News:
  Pages: [1]
Author Topic: browsing network share  (Read 91 times)
blk1948
Newbie

Posts: 17


« on: November 18, 2007, 12:32:36 am »

I have the OSD attached to a network of 5 computers running Linux (and samba), WINXP & WIN2K.  All the computers can see the shares set up for their respective viewing.  In other words, the network is setup and working correctly.

When I telnet into the OSD and run the smbtree command, all the computers and shares show up.  However, when I use the OSD only the Linux computer and sometimes one of the WIN2K computers show up.  Let's just concentrate on the Linux computer for now.  When I click on it I receive the message that there are "no files to list."  But there is one  mounted drive with directories underneath that should show up and do have video files to play.  Why isn't this browseable drive and its directories showing up?  It shows up when I telnet.

The relevant part of my smb.conf file for the shared mounted drive is as follows:
[BKNET_V3]
    comment = driveE
    path = /mnt/BKNET_V3
    fstype = "ext2"
    valid users = bk blk root
    admin users = bk blk root
    browseable = yes
    writeable = yes
    create mask = 0775
    directory mask = 0775
    public = no
    dos filetimes = yes
    preserve case = yes
    guest okay = yes
Logged
yanvrno
Jr. Member

Posts: 79


« Reply #1 on: November 18, 2007, 09:00:20 am »

Just a thought but did you makesure the file directory and file has the correct permissions and ownerships? I had to change mine to make them available. chmod 755 "filename" or "directoryname" to both seemed to work for me.
Logged
blk1948
Newbie

Posts: 17


« Reply #2 on: November 18, 2007, 11:10:21 am »

Yes, I did check the permissions on the Linux computer and they are 777.  It's also puzzling why the shares would show up on telnetting into the OSD but not browsing with the OSD.
Logged
greyback
Moderator
Sr. Member

Posts: 376


« Reply #3 on: November 18, 2007, 06:56:30 pm »

Can I ask,
just run the "mount" command in telnet and see if your SMB share is actually properly mounted? Can you browse into it via telnet?

You wouldn't have files with non-ascii filenames by any chance? I do notice the OSD sorts the file listing, maybe it's choking on a strange character???

Clutching at straws here!
-G
Logged
blk1948
Newbie

Posts: 17


« Reply #4 on: November 18, 2007, 11:20:39 pm »

If I telnet into the OSD, I can mount the share and then browse the shared directory.  I believe then the share will show up on the OSD.  But is this supposed to be how OSD networking works?  Shouldn't that share also show up when I browse the "network" on the OSD itself?
Logged
greyback
Moderator
Sr. Member

Posts: 376


« Reply #5 on: November 19, 2007, 08:44:10 am »

Well yes, the OSD GUI should mount it for you, but it still has some issues for some people.
Could you post up your mount command here please?

The OSD browser looks at everything inside /media, so you should mount your shares there.

Have a look at this post:
http://forums.neurostechnology.com/smf/index.php?topic=8075.msg42707#msg42707
it describes exactly what the OSD is doing when searching for network drives. Maybe you could see what step the OSD fails on?
-G
Logged
blk1948
Newbie

Posts: 17


« Reply #6 on: November 19, 2007, 09:00:42 pm »

My mount command is as follows:
mount.cifs //192.168.1.102/BKNET_V3/Recordings /media/Videos  -o user=USERNAME,pass=PASSWORD,rw,nolock

Upon running the above mount command, this is what I see while connected to the OSD via telnet:
a mnt/tmpfs/media directory with the following 5 directories under it; CF-Card, MS-Card, Videos, network, upnpbrowser.

Under the Videos directory, I see the share Recordings that was mounted via the above mount command.  There is also a temp and lost+found directory.

Under the Network directory, I see 2 of a total of 6 networked computers.  One of the computers is MICRONCP, which is the one at 192.168.1.102.  However the directory under MICRONCP is blank.  I would have expected the Recordings subdirectory to show up there.

Logged
greyback
Moderator
Sr. Member

Posts: 376


« Reply #7 on: Today at 07:28:20 am »

One of the computers is MICRONCP, which is the one at 192.168.1.102.  However the directory under MICRONCP is blank.  I would have expected the Recordings subdirectory to show up there.

No it won't. You manually mounted //192.168.1.102/BKNET_V3/Recordings to appear at /media/Videos. The OSD GUI on the other hand should do as you expect, if it can connect successfully.

On your OSD, can you browse to Play|Browse -> Videos and navigate around your share okay?

I'm still unsure why you're having a problem. You're using the standard mount command that the OSD GUI uses too. Does the OSD detect your BKNET_V3/Recordings share correctly (Play|Browse -> network -> Search for Network -> MICRONCP -> Searching for Shared directories)?

Is it usual that a samba share has a name like "BKNET_V3/Recordings"? I usually thought they took the name only of the directory they are in, i.e. "Recordings"

Maybe that's where the OSD is getting confused?
-G
Logged
  Pages: [1]
Jump to: