Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#496654: amule: same problem when using avahi-autoipd

48 views
Skip to first unread message

David Herbert

unread,
Apr 30, 2010, 10:10:01 PM4/30/10
to
Package: amule
Version: 2.2.6+debian0-7
Severity: normal


I have a very similar issue. My machine is getting an IP from both dhcp and
avahi-autoipd. Amule is connecting OK but firewalled through the dhcp assigned
IP address, and trying to do UPnP via the avahi-autoipd assigned address.

In the aMule log:
2010-05-01 02:18:36: Universal Plug and Play: bound to 169.254.6.101:50000.
2010-05-01 02:18:36: Universal Plug and Play: UPnP Error: CUPnPControlPoint::AddPortMapping: WAN Service not detected.

As can be seen in the ifconfig output below the avahi link and IP address
is on eth0 which has no network cable plugged in, making it very unlikely
for the UPnP to be successful! I never use avahi anyway so the solution
for me is uninstalling it but this will probably catch other people out.

$/sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:13:a9:2b:10:a6
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:18

eth0:avahi Link encap:Ethernet HWaddr 00:13:a9:2b:10:a6
inet addr:169.254.6.101 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
Interrupt:18

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:5805 errors:0 dropped:0 overruns:0 frame:0
TX packets:5805 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2164255 (2.0 MiB) TX bytes:2164255 (2.0 MiB)

wlan0 Link encap:Ethernet HWaddr 00:13:02:3f:e6:2b
inet addr:192.168.0.64 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::213:2ff:fe3f:e62b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:45633 errors:0 dropped:0 overruns:0 frame:0
TX packets:26437 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:35467177 (33.8 MiB) TX bytes:6599386 (6.2 MiB)


-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-3-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages amule depends on:
ii amule-common 2.2.6+debian0-7 common files for the rest of aMule
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii libcrypto++8 5.6.0-5 General purpose cryptographic libr
ii libgcc1 1:4.4.2-9 GCC support library
ii libgeoip1 1.4.6.dfsg-19 A non-DNS IP-to-country resolver l
ii libstdc++6 4.4.2-9 The GNU Standard C++ Library v3
ii libupnp3 1:1.6.6-3 Portable SDK for UPnP Devices (sha
ii libwxbase2.8-0 2.8.10.1-3 wxBase library (runtime) - non-GUI
ii libwxgtk2.8-0 2.8.10.1-3 wxWidgets Cross-platform C++ GUI t
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages amule recommends:
ii amule-utils 2.2.6+debian0-7 utilities for aMule (command-line
ii unzip 6.0-4 De-archiver for .zip files

Versions of packages amule suggests:
pn amule-utils-gui <none> (no description available)

-- no debconf information

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Sandro Tosi

unread,
Apr 25, 2011, 3:20:02 PM4/25/11
to
Hi all,

On Sat, May 1, 2010 at 04:03, David Herbert <da...@deadbattery.co.uk> wrote:
> Package: amule
> Version: 2.2.6+debian0-7
> Severity: normal
>
>
> I have a very similar issue. My machine is getting an IP from both dhcp and
> avahi-autoipd. Amule is connecting OK but firewalled through the dhcp assigned
> IP address, and trying to do UPnP via the avahi-autoipd assigned address.

Is this bug still actual? couldn't it be router-specific or libupnp3
and so not related to amule? If someone can still replicate it and can
debug it further it would really be helpful.

Regards,
--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

David Sanchez Herrero

unread,
May 14, 2011, 7:10:02 AM5/14/11
to
Hi all,

Sorry about the delay responding the message, but the last months I was very busy. Let me 1 or 2 weeks to make some probes, and I'll tell you if the problem still exists and any other information that can help.

Greetings, David

2011/4/25 Sandro Tosi <mo...@debian.org>

David Sanchez Herrero

unread,
May 15, 2011, 7:00:01 PM5/15/11
to
Well, as I said in my last message, this is the amule output when it starts using UPnP:

#####################################################################
2011-05-15 23:42:18: Starting aMule 2.2.6 using wxGTK2 v2.8.10
2011-05-15 23:42:18: Archivo de créditos cargado, 247 clientes conocidos
2011-05-15 23:42:18: Cargando filtros IP 'ipfilter.dat' y 'ipfilter_static.dat'
2011-05-15 23:42:18: Cargado 0 rangos IP desde '/home/larcen/.aMule/ipfilter.dat'. 0 líneas malformadas fueron descartadas
2011-05-15 23:42:18: Cargado 0 rangos IP desde '/home/larcen/.aMule/ipfilter_static.dat'. 0 líneas malformadas fueron descartadas
2011-05-15 23:42:18: Conexiones externas deshabilitadas en el archivo de configuración
2011-05-15 23:42:18: Created Client UDP-Socket at port 4672
2011-05-15 23:42:18: Universal Plug and Play: bound to 192.168.1.134:50000.
2011-05-15 23:42:18: Universal Plug and Play: UPnP Error: CUPnPControlPoint::AddPortMapping: WAN Service not detected.

2011-05-15 23:42:18:  - Esto es aMule 2.2.6 using wxGTK2 v2.8.10 basado en eMule.
2011-05-15 23:42:18:    Ejecutándose en Linux 2.6.32-5-686 i686
2011-05-15 23:42:18:  - Visita http://www.amule.org para comprobar si hay una nueva versión disponible

2011-05-15 23:42:18: Cargadas 248 fotos de banderas.
2011-05-15 23:42:18: Cargando archivo server.met: /home/larcen/.aMule/server.met
2011-05-15 23:42:18: 0 servidores encontrados en server.met
2011-05-15 23:42:18: Encontrado 17 partes de archivo
2011-05-15 23:42:18: Encontrado 55 archivos compartidos
2011-05-15 23:42:18: Conectando
2011-05-15 23:42:18: Leídos 200 contactos Kad
2011-05-15 23:42:19: ThreadScheduler: Completed task 'AICH Syncronizing', 0 tasks remaining.
2011-05-15 23:42:19: Tu copia de aMule está actualizada.
2011-05-15 23:51:21: Universal Plug and Play: WAN Service Detected: 'urn:schemas-upnp-org:service:WANIPConnection:1'.
2011-05-15 23:51:21: Universal Plug and Play: Successfully retrieved SCPD Document for service urn:schemas-upnp-org:service:WANIPConnection:1, absEventSubURL: http://192.168.1.1:80/WANIPConnection.
2011-05-15 23:51:21: Universal Plug and Play: Successfully subscribed to service urn:schemas-upnp-org:service:WANIPConnection:1, absEventSubURL: http://192.168.1.1:80/WANIPConnection.
2011-05-15 23:51:21: Universal Plug and Play: Uninteresting service detected: 'urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1'. Ignoring.
2011-05-15 23:51:21: Universal Plug and Play: Uninteresting service detected: 'urn:schemas-upnp-org:service:Layer3Forwarding:1'. Ignoring.
2011-05-15 23:51:21: Universal Plug and Play: UPNP_EVENT_RECEIVED:
2011-05-15 23:51:21:     SID: uuid:78ddf376-1dd2-11b2-945e-f08b06ed30ec
2011-05-15 23:51:21:     Key: 0
2011-05-15 23:51:21:     Property list:
2011-05-15 23:51:21:         s:PossibleConnectionTypes='IP_Routed'
2011-05-15 23:51:21:         s:ConnectionStatus='Connected'
2011-05-15 23:51:21:         s:ExternalIPAddress='192.168.0.12'
2011-05-15 23:51:21:         s:PortMappingNumberOfEntries='-7'
############################################################################

After the last messages, the router ports still closed. If you have any questions or proofs that I can do, let me know.

Greetings, David.

David Sanchez Herrero

unread,
May 23, 2011, 11:30:02 AM5/23/11
to
Hi again,

I've tried aMule UPnP again but using another router (Thompson), newer than the other one. This time, UPnP worked perfectly, so I suppose the problem can be caused by my old router, but I don't know why.

Greetings, David.

2011/5/16 David Sanchez Herrero <david....@gmail.com>
0 new messages