Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
bd1308
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 13
Join Date: Aug 2010
Default Wireless Tether Not working correctly

Let me identify my current setup:

* Unrevoked3/Unrevoked-Forever ROOT/S-OFF
* CyanogenMod 8/27 Nightly (Also had RC2)
* 2.6.32.15 Kernel
* Froyo (latest) Radio image

What I'm trying to do is startup the tether application (Wireless Tether for Root Users).

It starts up, i allowed permission to run the startup for the tether app. And tried to connect a computer to the network. It sucessfully connects, but does not get an IP address.

In the wifi-tether's log, I see one entry that says:

error: SIOCSIFFLAGS (Cannot assign requested address)

Again the su privelages work fine. I'm currently running pre8, but ive tried maybe six different versions of the application.

It seems that the DHCP server isnt running, which is odd since wifi-tether doesnt complain. I'll be able to pull logs later but i have one question: Is this a kernel-related issue, should I go back to CM6-RC1 (2.1) to solve this problem, or should I set the phone on fire?
 
nenn
Old
#2  
Senior Member
Thanks Meter 1
Posts: 370
Join Date: Apr 2010
Location: New York City
cm6 has its own wifi tether application. use that. report results.

edit:

its in settings->wireless->tether & hotspot.
 
bd1308
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 13
Join Date: Aug 2010
Specifically I'd ideally like to do bluetooth tethering which definately worked before on my nexus one. Are the hardware profiles similiar between the N1 and the EVO?

I'll check the native app and report back.
 
nenn
Old
#4  
Senior Member
Thanks Meter 1
Posts: 370
Join Date: Apr 2010
Location: New York City
the native app doesnt have bt tethering. however the wifi tether app does. people have reported using it with out problem.
 
bd1308
Old
#5  
Junior Member - OP
Thanks Meter 0
Posts: 13
Join Date: Aug 2010
So the native tethering app works perfectly. Of course bluetooth tether would be better in my case, but this is definately better than nothing.
 
josercoaster
Old
#6  
Junior Member
Thanks Meter 0
Posts: 9
Join Date: Jul 2010
Im also having the same issues I too can't retrieve an ip address. Would the radio have something to do with it?
 
bd1308
Old
#7  
Junior Member - OP
Thanks Meter 0
Posts: 13
Join Date: Aug 2010
I've tried the 2.1 Radio (Stock) and the froyo OTA radio. I'm checking out logcat now.
 
bd1308
Old
#8  
Junior Member - OP
Thanks Meter 0
Posts: 13
Join Date: Aug 2010
D/TETHER -> MainActivity( 2633): StartBtn pressed ...
D/TETHER -> CoreTask( 2633): Writing 272 bytes to file: /data/data/android.tether/conf/tether.conf
D/TETHER -> CoreTask( 2633): Writing 195 bytes to file: /data/data/android.tether/conf/dnsmasq.conf
D/TETHER -> CoreTask( 2633): Writing 352 bytes to file: /data/data/android.tether/bin/blue-up.sh
D/TETHER -> TetherApplication( 2633): Creation of configuration-files took ==> 68 milliseconds.
D/BluetoothService( 118): Bluetooth state 10 -> 11
V/BluetoothEventRedirector( 2583): Received android.bluetooth.adapter.action.STATE_CHANGED
D/SettingsAppWidgetProvider( 2583): >> onReceive IN
D/SettingsAppWidgetProvider( 2583): Received Bluetooth state change
D/SettingsAppWidgetProvider( 2583): >> updateWidget IN
D/SettingsAppWidgetProvider( 2583): >> buildUpdate IN
D/ConnectivityService( 118): getMobileDataEnabled returning true
D/SettingsAppWidgetProvider( 2583): Call buildUpdate for widget:17
D/SettingsAppWidgetProvider( 2583): >> updateViews IN - Widget:17
I/bluedroid( 118): Starting hciattach daemon
D/SettingsAppWidgetProvider( 2583): buildUpdate done for widget:17
D/SettingsAppWidgetProvider( 2583): << buildUpdate OUT
D/SettingsAppWidgetProvider( 2583): << updateWidget OUT
D/SettingsAppWidgetProvider( 2583): << onReceive OUT
D/CELLLAYOUT( 204): onMeasure!!! portrait=true
I/bluedroid( 118): Starting bluetoothd deamon
I/bluetoothd( 2745): Bluetooth daemon
I/bluetoothd( 2745): Starting SDP server
I/bluetoothd( 2745): Got Unix socket fd '11' from environment
I/bluetoothd( 2745): Adding device id record for 000a:0000
I/bluetoothd( 2745): HCI dev 0 registered
I/bluetoothd( 2745): HCI dev 0 up
I/bluetoothd( 2745): Starting security manager 0
I/bluetoothd( 2745): Adapter /org/bluez/2745/hci0 has been enabled
E/bluetoothd( 2745): Failed to open RFKILL control device
E/bluetoothd( 2745): Inquiry Failed with status 0x12
I/BluetoothEventLoop.cpp( 118): agent_event_filter: Received method org.bluez.Agent:Release
D/BluetoothService( 118): found 1 bonded devices
D/BluetoothService( 118): Bluetooth state 11 -> 12
D/BT HSHFP( 200): Loaded priority 00:0D:93:0F:07:7E = -1
V/BluetoothEventRedirector( 2583): Received android.bluetooth.adapter.action.STATE_CHANGED
I/bluetooth_ScoSocket.cpp( 200): Listening SCO socket...
D/SettingsAppWidgetProvider( 2583): >> onReceive IN
D/SettingsAppWidgetProvider( 2583): Received Bluetooth state change
D/SettingsAppWidgetProvider( 2583): >> updateWidget IN
D/SettingsAppWidgetProvider( 2583): >> buildUpdate IN
D/SettingsAppWidgetProvider( 2583): Call buildUpdate for widget:17
D/SettingsAppWidgetProvider( 2583): >> updateViews IN - Widget:17
D/ConnectivityService( 118): getMobileDataEnabled returning true
D/SettingsAppWidgetProvider( 2583): buildUpdate done for widget:17
D/SettingsAppWidgetProvider( 2583): << buildUpdate OUT
D/SettingsAppWidgetProvider( 2583): << updateWidget OUT
D/SettingsAppWidgetProvider( 2583): << onReceive OUT
D/CELLLAYOUT( 204): onMeasure!!! portrait=true
D/TETHER -> CoreTask( 2633): Writing 48 bytes to file: /data/data/android.tether/conf/resolv.conf
D/TETHER -> CoreTask( 2633): Root-Command ==> su -c "/data/data/android.tether/bin/tether start 1"
D/su ( 2755): 10105 /system/bin/sh executing 0 /data/data/android.tether/bin/tether start 1 using shell /system/bin/sh : sh
E/BluetoothEventLoop.cpp( 118): event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/2745/hci0
W/InputManagerService( 118): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$ Proxy@43f58fb8
D/dalvikvm( 2633): GC_FOR_MALLOC freed 8137 objects / 557048 bytes in 38ms
D/dalvikvm( 2633): GC_FOR_MALLOC freed 11701 objects / 461936 bytes in 39ms
D/dalvikvm( 2633): GC_EXPLICIT freed 3062 objects / 196184 bytes in 85ms
D/BluetoothService( 118): Registering hfag record
E/BluetoothEventLoop.cpp( 118): event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/2745/hci0
D/BluetoothService( 118): Registering hsag record
D/BluetoothService( 118): Registering opush record
E/BluetoothEventLoop.cpp( 118): event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/2745/hci0
D/BluetoothService( 118): Registering pbap record
I/BtOppRfcommListener( 2643): Accept thread started on channel 12
D/dalvikvm( 486): GC_EXPLICIT freed 143 objects / 7400 bytes in 41ms
D/dalvikvm( 2633): GC_FOR_MALLOC freed 725 objects / 169232 bytes in 61ms
D/dalvikvm( 2583): GC_EXPLICIT freed 3133 objects / 187080 bytes in 63ms
D/dalvikvm( 2633): GC_FOR_MALLOC freed 674 objects / 169376 bytes in 44ms
D/dalvikvm( 2633): GC_FOR_MALLOC freed 656 objects / 168240 bytes in 32ms
D/dalvikvm( 2633): GC_FOR_MALLOC freed 692 objects / 170104 bytes in 37ms
D/dalvikvm( 2633): GC_FOR_MALLOC freed 668 objects / 168928 bytes in 36ms
I/power ( 118): *** set_screen_state 0
D/SurfaceFlinger( 118): About to give-up screen, flinger = 0xa2dd8
D/AK8973 ( 97): Compass CLOSE
D/StatusBar( 118): DISABLE_EXPAND: yes
D/GoogleLoginService( 243): onBind: Intent { act=android.accounts.AccountAuthenticator cmp=com.google.android.gsf/.loginservice.GoogleLoginService }
D/dalvikvm( 204): GC_EXPLICIT freed 14639 objects / 651440 bytes in 104ms
D/dalvikvm( 2633): GC_FOR_MALLOC freed 941 objects / 210320 bytes in 60ms
D/dalvikvm( 1150): GC_EXPLICIT freed 185 objects / 11904 bytes in 83ms
D/dalvikvm( 243): GC_EXPLICIT freed 1622 objects / 93552 bytes in 76ms

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Gear Up Because it’s Time to Save Earth

*Cue Dramatic Music*Put on your red and blue latex overalls and cape because it’s time to … more

Recognized Contributor Code of Conduct

During the first half of 2012, XDA initiated the Recognized Contributor (RC) program to recognize … more

Careers in Android: What Hiring Managers Won’t Tell You – XDA Developer TV

XDA Developer TV Producer Jayce released a video a … more

Coloring Your Logcat World

Getting feedback for your app during development is as simple as adding logging info where necessary and looking … more