Thanks Thanks:  0
Likes Likes:  0
Results 1 to 5 of 5
  1. #1
    Respected nitr8's Avatar
    Join Date
    Nov 2006
    Age
    44
    Posts
    456
    Post Thanks
    Chats
    0
    Rep Power
    18

    Universal Plug and Play AV Media Server *nix

    Upnp will soon be on commando images and some other images i have my hands on. If you wish to set up a Upnp server here is how:

    First open a shell on the machine you want to have as your UPnP server.

    1) You need to add geexbox debian repository. If you are using ssh and don't have access to vi use your favorite text editor. We also need to add the GeexBox GPG key to apt.

    $ sudo vi /etc/apt/sources.list
    Add the following lines.
    ##GeexBox uShare UPnP media server
    deb Hidden Content unstable main
    Now you need to add the GPG keys for geexbox.
    $ gpg --keyserver subkeys.pgp.net --recv B892931DA34867EF
    $ gpg --export --armor B892931DA34867EF | sudo apt-key add
    2) Install uShare.
    $ sudo aptitude update && sudo aptitude install ushare
    Configuring uShare.

    We add a multicast route. This will allow you to controll what machines get your UPnP multicast.
    The format is $sudo route add -net abc.def.geh.0 netmask 255.0.0.0 dev ethX

    Where abc.def.geh is your network ip range and X is the ethernet device you with to use. I'm currently at the University of Connecticut (class b, 137.99) and my server is running on my second ethernet card so I might add do the following to add the multicast route.
    $ sudo route add -net 137.99.0.0 netmask 255.255.0.0 dev eth1
    Next change directory into the folder you want to share.
    $ cd /home/username/share
    Exporting is now just a simple command.
    $ sudo ushare -c ./ -i eth0
    uShare will now gather the meta data. Happy UPnP filesharing!

    --me
    Last edited by nitr8; 23-02-2007 at 02:47 PM.

  2. #2
    Member
    Join Date
    Jan 2007
    Posts
    103
    Post Thanks
    Chats
    0
    Rep Power
    18

    Re: Universal Plug and Play AV Media Server *nix

    Are you experimenting with making the DBox2 a UPNP client? If so, I might be able to help with testing.

    I've got Twonky (hxxp://Hidden Content UPNP media server running on a Netgear WGT634U on my local network, and Commando on the DBox2.

    Tony.

  3. #3
    Legend pt-1's Avatar
    Join Date
    Jun 2006
    Age
    50
    Posts
    823
    Post Thanks
    Chats
    0
    Rep Power
    18

    Re: Universal Plug and Play AV Media Server *nix

    OK,

    here is an answer I got in the German Tuxbox Forum

    the user did not have an Image that had Upnp support already built in and he used the following steps (The root update for Commando 7.5 has/should have all the needed files)

    1. copy djmount-static and , fusermount-static into / tmp and chmod 755, create a fuse directory within /tmp

    2. Set a link from /tmp to "ln- s fusermount-static /bin/fusermount"
    (fusermount must be somewhere in the path (/bin) or link from /bin/fusermount onto /tmp/fusermount-static)

    3. fuse.o must be in /lib/modules/2.4.32-dbox2/kernel/fs/fuse

    telnet into box and enter "insmod fuse.o"

    4. copy libfuse to /lib
    5. copy busybox to /tmp (chmod 755) and link
    -> ln -s /tmp/busybox mknod
    6. enter mknod /dev/fuse -m 0666 c 10 229 #
    7. It should now run -> cd /tmp -> ./djmount-static /tmp -ddebug

  4. #4
    Member
    Join Date
    Jan 2007
    Posts
    103
    Post Thanks
    Chats
    0
    Rep Power
    18

    Re: Universal Plug and Play AV Media Server *nix

    I'm having a few problems with this. I cannot find the fusermount-static or djmount-static files/dirs. Are they definitely in the root update?

    Tony.

  5. #5
    Legend pt-1's Avatar
    Join Date
    Jun 2006
    Age
    50
    Posts
    823
    Post Thanks
    Chats
    0
    Rep Power
    18

    Re: Universal Plug and Play AV Media Server *nix

    As attachement the needed files

    Happy trialing

Similar Threads

  1. Replies: 2
    Last Post: 25-06-2014, 06:22 PM
  2. Plug and Play Box?
    By ssmacc in forum General Cable T.V
    Replies: 3
    Last Post: 11-03-2008, 11:35 AM
  3. Plug n Play
    By CraigWales in forum General Cable T.V
    Replies: 1
    Last Post: 08-10-2007, 10:04 PM
  4. plug and play???
    By smooth_cruz_khan in forum 500c models
    Replies: 2
    Last Post: 06-05-2007, 11:39 PM
  5. Plug & play Simm
    By Stantheman in forum General Cable T.V
    Replies: 6
    Last Post: 07-01-2007, 10:49 PM

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
  •