miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Howto for miniupnpd?

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Compilation/Installation
View previous topic :: View next topic  
Author Message
lyzby



Joined: 04 Dec 2008
Posts: 3

PostPosted: Thu Dec 04, 2008 2:20 am    Post subject: Howto for miniupnpd? Reply with quote

I looked but did not see any basic howto on how to configure miniupnpd. I have installed the package on my NSLU2 with openWrt Kamakazi 7.09, using the WEB-if interface, and can see that it appears to be installed properly. But I do not know tell it the simplest thing, like where it should look for my mp3 files.

When I start it up, I get the following messages:
root@OpenWrt:/# /etc/init.d/miniupnpd start
miniupnpd starting ...
External IP = [excised for security reasons]
127.0.0.1
Bad argument `127.0.0.1'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.3.7: cannot have ! before -j
Try `iptables -h' or 'iptables --help' for more information.

Where does it explain what I have to do with iptables? I am not a linux guru, but can feel my way around.
Back to top
View user's profile Send private message
jedinite



Joined: 10 Oct 2008
Posts: 13

PostPosted: Thu Dec 04, 2008 12:55 pm    Post subject: Reply with quote

/etc/miniupnpd.conf
Code:
ext_ifname=nfe0
listening_ip=10.0.0.1
lease_file=/var/db/upnpd/upnpd.leases
allow 10-65535 10.0.0.0/24 10-65535
deny 0-65535 0.0.0.0/0 0-65535


What I use Smile

Could always run it without a config too: miniupnpd -i nfe0 -a 10.0.0.1
Back to top
View user's profile Send private message
lyzby



Joined: 04 Dec 2008
Posts: 3

PostPosted: Thu Dec 04, 2008 2:53 pm    Post subject: Reply with quote

Thank you very much. I assume I should replace your "ip=10", etc. with my "ip=168", etc.
Code:

ext_ifname=nfe0
listening_ip=10.0.0.1
lease_file=/var/db/upnpd/upnpd.leases
allow 10-65535 10.0.0.0/24 10-65535
deny 0-65535 0.0.0.0/0 0-65535

Can you tell me what these items mean? Or is there documentation.? Part of what I wish to do is use miniupnpd on my NSLU2 under openWrt to play mp3s on my DSM-320. I did this previously on the NSLU2 under Unslung 5.5 using Twonkyvision. I needed to tell Twonkyvision where my files were. Can miniupnpd do this, and if so, how do I tell it where the files are?
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1477

PostPosted: Sun Dec 07, 2008 10:46 pm    Post subject: Reply with quote

Miniupnp is a "UPnP Internet Gateway Device" not a "UPnP Audio Video Media Server" so it has nothing to do with mp3's or .avi, only with port redirections
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
lyzby



Joined: 04 Dec 2008
Posts: 3

PostPosted: Mon Dec 08, 2008 12:43 am    Post subject: Reply with quote

Ok, thanks very much. Sorry for any inconvenience for my barking up the wrong tree. In case anyone follows this thread looking for what I was looking for, gmediaserver does what I wanted.
Back to top
View user's profile Send private message
dexter



Joined: 18 Mar 2011
Posts: 2

PostPosted: Fri Mar 18, 2011 11:42 pm    Post subject: Reply with quote

Thanks allot for this information. I had the same question, and this helped me out. Now that I see it, the solution seems so obvious. If only I had thought about this sooner, I could have saved myself a lot of trouble.
_________________
Has anyone ever tried the software from www.coop-systems.com ? Am curious about it.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Compilation/Installation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.