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 

setsockopt(udp,IP_ADD_MEMBERSHIP):No such device

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



Joined: 22 Mar 2012
Posts: 17

PostPosted: Fri May 04, 2012 9:29 am    Post subject: setsockopt(udp,IP_ADD_MEMBERSHIP):No such device Reply with quote

Hi:
When I complement the :
Code:
 /usr/bin #miniupnpd -f /etc/miniupnpd.conf -d

it attemps that:
Code:
miniupnpd[842]:system uptime is 6207 seconds
miniupnpd[842]:HTTP listening on port 5555
miniupnpd[842]:setsockopt(udp,IP_ADD_MEMBERSHIP):No such device
miniupnpd[842]:Failed to add multicast menbership for address 192.168.0.1
miniupnpd[842]:setsockopt(udp_notify,IP_MULTICAST_IF):Cannot assign requested address
miniupnpd[842]:Failed to open sockets for sending SSDPnotify messages.EXITING

Could you please tell me that how does happen,in the file config.h,I have uncommened the #define MULTIPLE_EXTERNAL_IP.
Thanks.
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1593

PostPosted: Fri May 04, 2012 11:22 am    Post subject: Reply with quote

what version of miniupnpd sources are you using ???

also please show the listening_ip= lines of your configuration file and explain your network setup
MULTIPLE_EXTERNAL_IP is an option that is very rarely used and only for very specific setups.
_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
A_380_2009



Joined: 22 Mar 2012
Posts: 17

PostPosted: Sat May 05, 2012 1:54 am    Post subject: Reply with quote

Well,the version of miniupnpd sources I using was miniupnpd-20080427.

The listening_ip was:
Code:
listening_ip=192.168.0.1/1900
listening_ip=192.168.1.1/1900


I dont understand what the network setup means Very Happy
And does it means the IP address?

Thanks!
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1593

PostPosted: Sun May 06, 2012 10:24 pm    Post subject: Reply with quote

A_380_2009 wrote:
Well,the version of miniupnpd sources I using was miniupnpd-20080427.

The listening_ip was:
Code:
listening_ip=192.168.0.1/1900
listening_ip=192.168.1.1/1900


I dont understand what the network setup means Very Happy
And does it means the IP address?

Thanks!

please test again with the LATEST miniupnpd sources... or at least the last release 1.6.
with MULTIPLE_EXTERNAL_IP one should explicit the external IP associated with each sub lan. Such as :
Code:
listening_ip=192.168.0.1/1900 80.1.1.1
listening_ip=192.168.1.1/1900 80.1.1.2


By network setup I mean how the router where miniupnpd is running is in the network. The number of network cards connected to the internet (and theire IP) the number of LAN sub networks, etc.
_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
A_380_2009



Joined: 22 Mar 2012
Posts: 17

PostPosted: Mon May 07, 2012 1:38 pm    Post subject: Reply with quote

Hello:
I configured the miniupnpd.conf mistakenly,now it will not prompt that "miniupnpd[842]:setsockopt(udp,IP_ADD_MEMBERSHIP):No such device " after I changed the miniupnpd.conf file.
But when I executed the executable file of miniupnpd, the pid of miniupnpd will killed unexpectedly.And I found that it was because of "out of memory".
Would you please give me some advices about this accident ,have you encountered this before yet?
Thanks.
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1593

PostPosted: Mon May 07, 2012 2:13 pm    Post subject: Reply with quote

I cannot help you much because I dont know your setup.
Please tell me if the issue is happening with the LATEST miniupnpd sources. Much bugfixing has been made since 2008...
_________________
Main miniUPnP author.
https://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 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.