how to configure upnp presentation URL to go to local webserver when using dhcp

Help
2013-12-19
2014-01-06
  • bryan richmond
    bryan richmond
    2013-12-19

    I want to use linug-igd to have my web server discoverable on a local lan from windows computers.

    ?xml version="1.0"?>
    <root xmlns="urn:schemas-upnp-org:device-1-0">
            <specVersion>
                    <major>1</major>
                    <minor>0</minor>
            </specVersion>
            <device>
                    <deviceType>urn:schemas-upnp-org:device:InternetGatewayDevice:1</deviceType>
                    <friendlyName>myDevice</friendlyName>
                    <manufacturer>Linux UPnP IGD Project</manufacturer>
                    <manufacturerURL>http://linux-igd.sourceforge.net</manufacturerURL>
                    <modelName>IGD Version 1.00</modelName>
                    <UDN>uuid:75802409-bccb-40e7-8e6c-fa095ecce13e</UDN>
                    <iconList>
                            <icon>
                                    <mimetype>image/gif</mimetype>
                                    <width>118</width>
                                    <height>119</height>
                                    <depth>8</depth>
                                    <url>/ligd.gif</url>
                            </icon>
                    </iconList>
                    <presentationURL>http://<myIpAddress></presentationURL>
    

    i'm not to sure how to set the current dhcp address of the server as the presentation URL.

     
  • bryan richmond
    bryan richmond
    2014-01-06

    I just wrote a simple python program to generate this file with the correct ip address inplace

     
    • yuanhuatao
      yuanhuatao
      2014-01-06

      <HTML> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=gb2312"> </HEAD>

      <BODY>

      开春就得了一双好鞋,质量好价格也不高,老婆买的,真是持家呀,穿上它必定步步高升!http://www.rd6.org


      This is an automatic reply, confirming that your e-mail was received.Thank you



      邮箱使用小提示


      想让对方更及时看到你的邮件,可以试试发到"对方手机号@163.com"。



      无需事先开通,还有短信提醒。了解网易手机邮箱详情


      </body>
      </html>

       
      • yuanhuatao
        yuanhuatao
        2014-01-06

        <HTML> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=gb2312"> </HEAD>

        <BODY>

        开春就得了一双好鞋,质量好价格也不高,老婆买的,真是持家呀,穿上它必定步步高升!http://www.rd6.org


        This is an automatic reply, confirming that your e-mail was received.Thank you



        邮箱使用小提示


        想让对方更及时看到你的邮件,可以试试发到"对方手机号@163.com"。



        无需事先开通,还有短信提醒。了解网易手机邮箱详情


        </body>
        </html>

         
        • yuanhuatao
          yuanhuatao
          2014-01-06

          <HTML> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=gb2312"> </HEAD>

          <BODY>

          开春就得了一双好鞋,质量好价格也不高,老婆买的,真是持家呀,穿上它必定步步高升!http://www.rd6.org


          This is an automatic reply, confirming that your e-mail was received.Thank you



          邮箱使用小提示


          想让对方更及时看到你的邮件,可以试试发到"对方手机号@163.com"。



          无需事先开通,还有短信提醒。了解网易手机邮箱详情


          </body>
          </html>