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 

advertising a web interface through upnp

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Feature Request
View previous topic :: View next topic  
Author Message
josch



Joined: 15 Nov 2014
Posts: 2

PostPosted: Sat Nov 15, 2014 9:55 am    Post subject: advertising a web interface through upnp Reply with quote

Hi,

I have a raspberry pi running a service through a web interface. I'd like the pi to show up in the list of network devices under windows so that one can just double click on the device to automatically open the browser at the right IP address.

I have little to no experience with windows and have only done something similar for linux using avahi and my pi advertising a _http._tcp service. I understand that windows does not know avahi/zeroconf but uses upnp instead. This is how I got here because upnp seems to be for windows what avahi/zeroconf is for unix like OSes.

There seems to be no forum for user help, so I'm just writing my request for help here, I hope that's okay.

I found one solution how to make this work here http://www.codeproject.com/Articles/153509/ but that is written in vb and c# and very microsoft centric so of no use to me as I'm running linux on my raspberry pi. But it proves that it can be done.

Now my questions are:

1. Is miniupnpd the right software to advertise the http service of my raspberri by to windows computers in the network?

2. How do I configure miniupnpd to do what I want? The codeproject article solves the problem by sending a piece of html through upnp. Is this the way to go?
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1442

PostPosted: Mon Nov 17, 2014 8:24 am    Post subject: Reply with quote

maybe using minissdpd would be easier for what you want to do.
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
josch



Joined: 15 Nov 2014
Posts: 2

PostPosted: Tue Nov 18, 2014 6:59 am    Post subject: Reply with quote

Hi,
do you know of any existing software that uses minissdpd and does a similar thing to what I want to do? I'm not familiar with ssdp or minissdpd so I'm looking for resources to learn from.
Thanks!
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1442

PostPosted: Tue Nov 18, 2014 9:04 am    Post subject: Reply with quote

you should look at SubmitServicesToMiniSSDPD() in miniupnpd :

https://github.com/miniupnp/miniupnp/blob/master/miniupnpd/minissdp.c#L1216
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Feature Request 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.