View previous topic :: View next topic |
Author |
Message |
A_380_2009
Joined: 22 Mar 2012 Posts: 17
|
Posted: Fri May 04, 2012 9:29 am Post subject: setsockopt(udp,IP_ADD_MEMBERSHIP):No such device |
|
|
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 |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1593
|
Posted: Fri May 04, 2012 11:22 am Post subject: |
|
|
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 |
|
|
A_380_2009
Joined: 22 Mar 2012 Posts: 17
|
Posted: Sat May 05, 2012 1:54 am Post subject: |
|
|
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
And does it means the IP address?
Thanks! |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1593
|
Posted: Sun May 06, 2012 10:24 pm Post subject: |
|
|
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
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 |
|
|
A_380_2009
Joined: 22 Mar 2012 Posts: 17
|
Posted: Mon May 07, 2012 1:38 pm Post subject: |
|
|
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 |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1593
|
Posted: Mon May 07, 2012 2:13 pm Post subject: |
|
|
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 |
|
|
|