Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22934 - linux-igd does not run if upnp compiled as said in user doc
Summary: linux-igd does not run if upnp compiled as said in user doc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: John Mylchreest (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-16 10:21 UTC by Hubert Mercier (RETIRED)
Modified: 2003-10-01 12:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hubert Mercier (RETIRED) gentoo-dev 2003-06-16 10:21:28 UTC
My linux gateway-box works well, but to be complete i was missing messenger 
support in the NAT.

So i started to configure upnp and linux-igd (http://upnp.sourceforge.net/ and 
http://linux-igd.sourceforge.net/ respectively)

I followed the doc on linux-igd and recompiled to gentoo package of upnp as 
described in the faq. Everything works well at this point.

----- excerpt of the doc -------
Untar the Intel UPnP SDK, but before you compile and install, you will need to 
make one change for Windows Messenger to work properly. Under the upnpsdk tree, 
the file src/ssdp/ssdplib.c, on line 406, the following line needs to be 
changed from:

SelfAddr.sin_addr.s_addr = inet_addr(SSDP_IP);

to:

SelfAddr.sin_addr.s_addr = htonl(INADDR_ANY);
------------------------------

I then emerge linx-igd, configure the /etc/linuxigd/ conf file and i start the 
daemon, which refuses to run ! I see for 1 or 2 seconds [upnp] in 'ps ax' and 
then nothing, i must run manually '/etc/init.d/upnp zap' to clean my config.

If i compile upnp with emerge without modifying the source, upnp starts 
correctly, but messenger does not work...

So, in anyway, messenger does nor works :-( shame.

Of course if needed, the maintainer of the package can contact me to make 
tests, i would gladly help !

Reproducible: Always
Steps to Reproduce:
1. emerge upnp
2. emerge linux-igd
3. /etc/init.d/upnp start

Actual Results:  

nothing happened, this is the problem ;-)


Expected Results:  
The daemon should have been lauched ?


Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-gentoo-r2 i686 Intel(R) Celeron(R) CPU 1.80GHz
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
rsync://ftp.belnet.be/gentoo/ 
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg gnome libg++ libwww 
mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv 
zlib gdbm berkdb slang readline arts svga tcltk java guile X sdl gpm tcpd pam 
ssl perl python esd imlib oggvorbis gtk qt kde motif opengl"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 John Mylchreest (RETIRED) gentoo-dev 2003-06-17 05:17:31 UTC
This issue has been addressed in more recent versions of linux-igd.
I shall bump this package later this evening, it will go to version 0.92, rather than 0.75 which you are using now.

Can you please verify it working, or not, once this is done.
I will post here once it has been bumped.

Thanks
Comment 2 John Mylchreest (RETIRED) gentoo-dev 2003-06-17 05:34:41 UTC
this has now been bumped in portage.
please install using:

ACCEPT_KEYWORDS="~x86" emerge linux-igd

It will install version 0.92, please test this out for me and tell me of your experiences.

Please use vanilla builds of both upnp and linux-igd, code changes shouldn't be required anymore.
Comment 3 John Mylchreest (RETIRED) gentoo-dev 2003-06-18 09:13:15 UTC
closing until hearing back on test results from user.
Comment 4 John Mylchreest (RETIRED) gentoo-dev 2003-10-01 12:09:06 UTC
re-closing