Shop OBEX P1 Docs P2 Docs Learn Events
Has anyone ever played around with SMB? — Parallax Forums

Has anyone ever played around with SMB?

Patrick1abPatrick1ab Posts: 136
edited 2010-05-17 02:02 in Propeller 1
I wonder if anyone has had the desire to access shared files or folders on a LAN with the Propeller Chip and a network module.
I looked into the OBEX, but I couldn't find anything including the Server Message Block Protocol.

Maybe I'll try to write something myself, but it looks a bit complex to me:
download.microsoft.com/download/a/e/6/ae6e4142-aa58-45c6-8dcf-a657e5900cd3/%5BMS-SMB%5D.pdf

Comments

  • smbakersmbaker Posts: 164
    edited 2010-05-16 22:07
    Personally, I find NFS to be a much simpler of a protocol than SMB. NFSv2 is really a pretty simple specification with a lot of reference implementations in C. NFSv2 is often implemented over UDP which itself is also a very simple protocol.

    I suppose it really depends on the application you have in mind. If you're looking to use a prop as a client with a unix/linux server than NFS would be the way to go. If you want the prop as a client to a windows server than SMB is the obvious choice as NFS support under windows is always messy. If you're looking to make the prop into a server, then you should probably just buy an existing NAS device.
  • Patrick1abPatrick1ab Posts: 136
    edited 2010-05-16 22:23
    smbaker said...

    If you want the prop as a client to a windows server than SMB is the obvious choice as NFS support under windows is always messy.

    Every computer in our home network is running on Windows, so I think SMB would be the better choice. Perhaps I'll start analyzing the traffic of our Blu-ray Disc Player, when it tries to access a file/folder on a computer.

    smbaker said...

    If you're looking to make the prop into a server, then you should probably just buy an existing NAS device.

    Pardon? Where would be the challenge? smilewinkgrin.gif
  • Kevin WoodKevin Wood Posts: 1,266
    edited 2010-05-16 22:33
    If I were looking to do something like this, I would probably start by reading the source code for one of the open-sourced implementations - ie, Linux/FreeBSD/OpenSolaris, etc. This should give you enough of an idea on how to replicate it in a Propeller-specific language, or even possibly port the code to one of the C compilers already available.

    Just keep the licensing in mind with the OSS source.
  • smbakersmbaker Posts: 164
    edited 2010-05-17 02:02
    Patrick1ab said...

    Pardon? Where would be the challenge? smilewinkgrin.gif

    ok, I understand where you're coming from.... On my drawing board is a propeller-based ethernet switch (probably with 3 ENC28J60 used as NICs) for no other reason than because I can probably do it... [noparse]:)[/noparse]
Sign In or Register to comment.