wlan0 no connection

Bug #668878 reported by anyway
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qBittorrent
Incomplete
Undecided
Christophe Dumez

Bug Description

Hello,
If I set on advanced settings "Network interface" from "Any" to "wlan0" and then I restart qbittorrent, I get no direct connection.
Am I doing something wrong or is it a bug? My wlan0 ports are opened/forwarded.
I'm using Ubuntu 10.04 x64.

If you need some more info just ask.

Thanks.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

I may have an idea. As a default, qBittorrent only considers one of the IP addresses (the first one it gets) assigned to a network address. Most recent Linux distributions have IPv6 enabled as a default. As a consequence, you probably have a IPv4 address and 2 IPv6 addresses assigned to wlan0. For some reason, qBittorrent might have used an IPv6 address.

First of all, are you using IPv4 or IPv6? If using IPv4, please try disabling the IPv6 support of your distro to see if it helps qBittorrent get the correct IP address.

Here is how to do it:

Debian / Ubuntu Linux

If you are using Debian/Ubuntu linux (thanks to beranger), open file /etc/modprobe.d/aliases
# vi /etc/modprobe.d/aliases

Find the line:
alias net-pf-10 ipv6

Replace with:
alias net-pf-10 off
alias ipv6 off

Changed in qbittorrent:
assignee: nobody → Christophe Dumez (hydr0g3n)
status: New → Incomplete
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

It would also be interesting to see if you get any error message in the log window (inside the program).

Revision history for this message
anyway (gosustyle87) wrote :

Hello again,
I'm using IPv4, I had an IPv6 tunnel that now I've disabled. I've disabled Ubuntu default IPv6 and rebooted, also:
user@user:~$ cat /proc/sys/net/ipv6/conf/all/disable_ipv6
1

This is my current wlan0, from ifconfig:
wlan0 Link encap:Ethernet HWaddr 00:1f:3a:8e:c8:2c
indirizzo inet:192.168.1.34 Bcast:192.168.1.255 Maschera:255.255.255

I don't see any error on the Log viewer, but still "No direct connection" orange icon.
I've noticed that if I disable eth0, then qbittorrent works with wlan0 (if I re-enable eth0 it goes down again).
I'd like to download with wlan0, if possible, while using eth0 to navigate as these are different connection.

Thank you for your help.

Revision history for this message
anyway (gosustyle87) wrote :

Ah, I've used this tutorial to disable Ubuntu 10.04 IPv6: http://www.webupd8.org/2010/05/how-to-disable-ipv6-in-ubuntu-1004.html because I hadn't the file aliases. Maybe this can help if somebody needs to disable it.

Revision history for this message
anyway (gosustyle87) wrote :

Any idea? :(

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

When using qBittorrent v2.4.10, could you please check the log window and tell me what it says.

I have added some more debug information in v2.4.10 that will hopefully help understand your problem.

Revision history for this message
anyway (gosustyle87) wrote :

16/11/2010 08:14:38 - Peer ID: -qB24A0-
16/11/2010 08:14:38 - Si sta ascoltano l'indirizzo IP 192.168.1.34 nell'interfaccia di rete wlan0...
16/11/2010 08:14:38 - qBittorrent è in ascolto sulla porta: TCP/33792
16/11/2010 08:14:38 - Supporto UPnP [OFF]
16/11/2010 08:14:38 - Supporto NAT-PMP [OFF]
16/11/2010 08:14:38 - Lo user agent HTTP è qBittorrent v2.4.10
16/11/2010 08:14:38 - Cache disco in uso 16 MiB
16/11/2010 08:14:38 - Supporto DHT [ON], porta: UDP/21584
16/11/2010 08:14:38 - Supporto PeX [ON]
16/11/2010 08:14:38 - Supporto scoperta peer locali [ON]
16/11/2010 08:14:38 - Supporto cifratura [ON]
16/11/2010 08:14:38 - Le opzioni sono state salvate.
16/11/2010 08:14:39 - '/home/user/.local/share/data/qBittorrent/BT_backup/5aa0ce4df1dab75dfc8700bce7a21486e408df5f.torrent' ripreso. (recupero veloce)
16/11/2010 08:14:39 - '/home/user/.local/share/data/qBittorrent/BT_backup/6de3ed4bfceb63a2663ac43ea260ae1f14c6ab16.torrent' ripreso. (recupero veloce)

This is my wlan0 from ifconfig:
wlan0 Link encap:Ethernet HWaddr macaddr
          indirizzo inet:192.168.1.34 Bcast:192.168.1.255 Maschera:255.255.255

All ports are forwarded, but the icon is still orange. :(
Anyway, I've noticed that I can do searchs, maybe searchs are using eth0?

Thanks again.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.