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.
Add the following lines.$ sudo vi /etc/apt/sources.list
Now you need to add the GPG keys for geexbox.##GeexBox uShare UPnP media server
deb Hidden Content unstable main
2) Install uShare.$ gpg --keyserver subkeys.pgp.net --recv B892931DA34867EF
$ gpg --export --armor B892931DA34867EF | sudo apt-key add
Configuring uShare.$ sudo aptitude update && sudo aptitude install 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.
Next change directory into the folder you want to share.$ sudo route add -net 137.99.0.0 netmask 255.255.0.0 dev eth1
Exporting is now just a simple command.$ cd /home/username/share
uShare will now gather the meta data. Happy UPnP filesharing!$ sudo ushare -c ./ -i eth0
--me
Bookmarks