Sidvicious070724 / android-wifi-tether

Automatically exported from code.google.com/p/android-wifi-tether
0 stars 2 forks source link

Bluetooth tether fails with SIOCSIFFLAGS (Cannot assign requested address) #900

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Which device (manufacturer, type)?
Droid Incredible

Which firmware is installed?
CyanogenMod 7

What version of wireless tether are you using?
2.0.7 (also tried 2.0.8b)

What steps will reproduce the problem?
1. Pair the win7 machine and the phone
2. From win7, right click on phone, connect using, access point
3. Wireless tether shows upload data taking place, but download stays at 0.0kB

What is the expected output? What do you see instead?

When I view the log the last line reads:

error: SIOCSIFFLAGS (Cannot assign requested address)

Please provide any additional information below.

Using adb shell, I can verify that the bnep0 interface is down.  Using ifconfig 
and netconfig, I tried to bring up the interface, but it simply reports the 
same error (Cannot assign requested address)

# ifconfig bnep0
bnep0: ip 192.168.2.254 mask 255.255.255.0 flags [down broadcast multicast]
# ifconfig bnep0 up
ifconfig bnep0 up
error: SIOCSIFFLAGS (Cannot assign requested address)

One thing that is strange, I noticed my bluetooth mac address is 
43:29:B0:00:00:00.  Can that cause the problem?  Other bluetooth profiles work 
find (a2dp for example)

Original issue reported on code.google.com by ben.pfou...@gmail.com on 23 Mar 2011 at 2:19

GoogleCodeExporter commented 9 years ago
I'm using HD2 with CyanogenMod7 and having same issue with bluetooth tethering 
(Wifi tethering works fine). Seeing the same SIOCSIFFLAGS message in log of 
Android-wifi-tether.  The message comes in the log only after I try to pair and 
connect client PC to bluetooth PAN - there's no error in the log immediately 
after switching bluetooth tethering on. The client waits trying to get IP from 
DHCP but gets none.

I also tried running "ifconfig bnep0" from adb but it says "bnep0: No such 
device". 

Original comment by gautam1...@gmail.com on 15 Apr 2011 at 5:49

GoogleCodeExporter commented 9 years ago
Having the same problem with CM7.1.0-RC1 and the G2X

Original comment by corey.l...@gmail.com on 6 Jul 2011 at 1:47

GoogleCodeExporter commented 9 years ago
Sorry for the quick repost.

Looking into the problem I see that the interface, bnep0, exists, but is down.

When I manually up the interface with `ifconfig bnep0 up` I get the 
SIOCSIFFLAGS (Cannot assign requested address) failure.

I'm eager to help with this problem, but I don't know where to start. Please 
let me know what I can do.

Original comment by corey.l...@gmail.com on 6 Jul 2011 at 2:50

GoogleCodeExporter commented 9 years ago
Same problem here, please fix.

Cyanogen mod 7.11 on acer liquid a1 (liquid next custom rom)

Please fix it! Thank you

Original comment by Angelo.R...@gmail.com on 6 Aug 2011 at 8:56

GoogleCodeExporter commented 9 years ago
I also have the same problem on CM10.
With the same bluetooth internet source I have no problems with windows 
machines connecting to it and using tether.

Original comment by dukai.zo...@gmail.com on 30 Dec 2012 at 1:52