Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
latest linux-igd 1.0 bug and solution
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
shing6326
n00b
n00b


Joined: 24 Oct 2006
Posts: 13

PostPosted: Sun Feb 25, 2007 6:08 am    Post subject: latest linux-igd 1.0 bug and solution Reply with quote

i found a bugs that the upnpd could not read the config file in /etc/linux-igd/upnpd.conf
so that no iptables rules are added...

solution1:
mv /etc/linuxigd/upnpd.conf /etc/upnpd.conf
/etc/init.d/upnpd restart

solution 2:
add one line into linux-igd-1.0.ebuild

src_compile() {
sed -i -e "s|/etc/linuxigd|${D}/etc/linuxigd|" \
-e "s|/usr/bin|${D}/usr/bin|" Makefile
sed -i -e "s|/etc/upnpd.conf|/etc/linuxigd/upnpd.conf|" globals.h
emake || die "compile failed"
}

sorry for my bad english.. :oops:
Back to top
View user's profile Send private message
GurliGebis
Retired Dev
Retired Dev


Joined: 08 Aug 2002
Posts: 509

PostPosted: Sun Feb 25, 2007 12:39 pm    Post subject: Reply with quote

Fixing it now, if you emerge --sync in about an hour or two, it should have been updated to 1.0-r1 .
Thanks
_________________
Queen Rocks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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