[Q] Android Wifi : How to change network interface used by android - Android Q&A, Help & Troubleshooting

When I boot up my Android Device and go to Wifi settings,the status of wifi remains "Turning Wi-Fi on" forever.I looked up in logcat logs,below is the error that I see.
E/wpa_supplicant( 1713): nl80211: Could not set interface 'wlan0' UP
E/wpa_supplicant( 1713): wlan0: Failed to initialize driver interface
E/wpa_supplicant( 1713): Could not read interface wlan0 flags: No such device
Below is some useful information.
Code:
[email protected]:/ # netcfg
netcfg
lo UP 127.0.0.1/8 0x00000049 00:00:00:00:00:00
gannet0 DOWN 0.0.0.0/0 0x00001082 1e:e9:6e:bf:45:f7
dummy0 DOWN 0.0.0.0/0 0x00000082 ba:ad:f6:ae:6a:09
rmnet0 DOWN 0.0.0.0/0 0x00000000 00:00:00:00:00:00
rmnet1 DOWN 0.0.0.0/0 0x00000000 00:00:00:00:00:00
rmnet2 DOWN 0.0.0.0/0 0x00000000 00:00:00:00:00:00
rmnet3 DOWN 0.0.0.0/0 0x00000000 00:00:00:00:00:00
rmnet4 DOWN 0.0.0.0/0 0x00000000 00:00:00:00:00:00
rmnet5 DOWN 0.0.0.0/0 0x00000000 00:00:00:00:00:00
rmnet6 DOWN 0.0.0.0/0 0x00000000 00:00:00:00:00:00
rmnet7 DOWN 0.0.0.0/0 0x00000001 00:00:00:00:00:00
sit0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00
ip6tnl0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00
Contents of /system/etc/wifi/wpa_supplicant.conf:
Code:
update_config=1
ctrl_interface=wlan0
eapol_version=1
ap_scan=1
fast_reauth=1
Question: How can I enable android to use some other interface other than wlan0 ?
Things tried:
1)I tried to edit ctrl_interface parameter in /system/etc/wifi/wpa_supplicant.conf usiny adb pull and push to other interfaces shown by netcfg but android still tries to use wlan0.
2)I also tried to start wpa_supplicant daemon using below command.
Code:
/system/bin/wpa_supplicant -Dnl80211 -idummy0 -c/system/etc/wifi/wpa_supplicant.conf
but this gives error.
Code:
E/wpa_supplicant( 5390): dummy0: Failed to initialize driver interface

Related

Need Help From HOX+ Users To Help Development!

So this thread will only be used to get additional help from users. No discussion that is off topic.
This post will be for posting the information answered from what devs request.
And here is the first thing we need.
I need an AT&T/Telus user that knows how to use adb. Turn your data on.
Type in adb shell netcfg. Post your results here.
Hi, everyone like hasoon said I am looking for any user to simply use adb and use the command
Code:
adb shell netcfg
while on data and post the output. I am working on CM10 for the AT&T One X+ you can find my git Here
hasoon2000 said:
And here is the first thing we need.
I need an AT&T/Telus user that knows how to use adb. Turn your data on.
Type in adb shell netcfg. Post your results here.
Click to expand...
Click to collapse
sportsstar89 said:
Hi, everyone like hasoon said I am looking for any user to simply use adb and use the command
Code:
adb shell netcfg
while on data and post the output. I am working on CM10 for the AT&T One X+ you can find my git Here
Click to expand...
Click to collapse
I'm using an At&t version. I can not wait for CM10 man. Keep up the good work .
Code:
c:\AndroidSDK\tools>adb shell netcfg
adb server is out of date. killing...
* daemon started successfully *
lo UP 127.0.0.1/8 0x00000049 00:00:00:
00:00:00
dummy0 DOWN 0.0.0.0/0 0x00000082 0a:14:3c:
e5:6f:a1
sit0 DOWN 0.0.0.0/0 0x00000080 00:00:00:
00:00:00
ip6tnl0 DOWN 0.0.0.0/0 0x00000080 00:00:00:
00:00:00
p2p0 UP 0.0.0.0/0 0x00001003 ea:99:c4:
68:02:86
wlan0 UP 192.168.1.27/24 0x00001043 e8:99:c4:
68:02:86
rmnet_usb0 DOWN 0.0.0.0/0 0x00000000 00:00:0
0:00:00:00
rmnet_usb1 DOWN 0.0.0.0/0 0x00000000 00:00:0
0:00:00:00
rmnet_usb2 DOWN 0.0.0.0/0 0x00000000 00:00:0
0:00:00:00
rmnet_usb3 DOWN 0.0.0.0/0 0x00000000 00:00:0
0:00:00:00
c:\AndroidSDK\tools>
XSafire said:
I'm using an At&t version. I can not wait for CM10 man. Keep up the good work .
Code:
c:\AndroidSDK\tools>adb shell netcfg
adb server is out of date. killing...
* daemon started successfully *
lo UP 127.0.0.1/8 0x00000049 00:00:00:
00:00:00
dummy0 DOWN 0.0.0.0/0 0x00000082 0a:14:3c:
e5:6f:a1
sit0 DOWN 0.0.0.0/0 0x00000080 00:00:00:
00:00:00
ip6tnl0 DOWN 0.0.0.0/0 0x00000080 00:00:00:
00:00:00
p2p0 UP 0.0.0.0/0 0x00001003 ea:99:c4:
68:02:86
wlan0 UP 192.168.1.27/24 0x00001043 e8:99:c4:
68:02:86
rmnet_usb0 DOWN 0.0.0.0/0 0x00000000 00:00:0
0:00:00:00
rmnet_usb1 DOWN 0.0.0.0/0 0x00000000 00:00:0
0:00:00:00
rmnet_usb2 DOWN 0.0.0.0/0 0x00000000 00:00:0
0:00:00:00
rmnet_usb3 DOWN 0.0.0.0/0 0x00000000 00:00:0
0:00:00:00
c:\AndroidSDK\tools>
Click to expand...
Click to collapse
Are you on data? Because the wlan0 interface has an IP address
sportsstar89 said:
Are you on data? Because the wlan0 interface has an IP address
Click to expand...
Click to collapse
Oops. It was on but so was Wi-fi. Sorry about that.
Code:
c:\AndroidSDK\tools>adb shell netcfg
adb server is out of date. killing...
* daemon started successfully *
lo UP 127.0.0.1/8 0x00000049 00:00:00:
00:00:00
dummy0 DOWN 0.0.0.0/0 0x00000082 0a:14:3c:
e5:6f:a1
sit0 DOWN 0.0.0.0/0 0x00000080 00:00:00:
00:00:00
ip6tnl0 DOWN 0.0.0.0/0 0x00000080 00:00:00:
00:00:00
p2p0 DOWN 0.0.0.0/0 0x00001002 ea:99:c4:
68:02:86
wlan0 DOWN 0.0.0.0/0 0x00001002 e8:99:c4:
68:02:86
rmnet_usb0 UP 10.4.80.79/27 0x00000041 00:00:0
0:00:00:00
rmnet_usb1 DOWN 0.0.0.0/0 0x00000000 00:00:0
0:00:00:00
rmnet_usb2 DOWN 0.0.0.0/0 0x00000000 00:00:0
0:00:00:00
rmnet_usb3 DOWN 0.0.0.0/0 0x00000000 00:00:0
0:00:00:00
c:\AndroidSDK\tools>
XSafire said:
Oops. It was on but so was Wi-fi. Sorry about that.
Code:
c:\AndroidSDK\tools>adb shell netcfg
adb server is out of date. killing...
* daemon started successfully *
lo UP 127.0.0.1/8 0x00000049 00:00:00:
00:00:00
dummy0 DOWN 0.0.0.0/0 0x00000082 0a:14:3c:
e5:6f:a1
sit0 DOWN 0.0.0.0/0 0x00000080 00:00:00:
00:00:00
ip6tnl0 DOWN 0.0.0.0/0 0x00000080 00:00:00:
00:00:00
p2p0 DOWN 0.0.0.0/0 0x00001002 ea:99:c4:
68:02:86
wlan0 DOWN 0.0.0.0/0 0x00001002 e8:99:c4:
68:02:86
rmnet_usb0 UP 10.4.80.79/27 0x00000041 00:00:0
0:00:00:00
rmnet_usb1 DOWN 0.0.0.0/0 0x00000000 00:00:0
0:00:00:00
rmnet_usb2 DOWN 0.0.0.0/0 0x00000000 00:00:0
0:00:00:00
rmnet_usb3 DOWN 0.0.0.0/0 0x00000000 00:00:0
0:00:00:00
c:\AndroidSDK\tools>
Click to expand...
Click to collapse
Just as i thought thank you
Hello again everyone could i get the battery capacity in mah and all the available cpu speeds use
Code:
adb shell
cat /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state
and post the output. thank you. Also could someone get me all the mount points for the device
sportsstar89 said:
Hello again everyone could i get the battery capacity in mah and all the available cpu speeds use
Code:
adb shell
cat /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state
and post the output. thank you. Also could someone get me all the mount points for the device
Click to expand...
Click to collapse
Code:
[email protected]:/ # cat /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state
cat /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state
51000 625232
102000 202319
204000 90778
340000 303168
475000 442561
640000 12087
760000 11277
910000 24889
1000000 23665
1150000 25575
1300000 7912
1400000 11667
1500000 4930
1600000 114343
1700000 27325
[email protected]:/ #
I believe hasoon2000 already got the mount points and the partition layout in this thread
http://forum.xda-developers.com/showthread.php?t=1964518
Edit: I got them off my phone just in case, here's what I got
Code:
dev: size erasesize name
mmcblk0p5: 00800000 00001000 "recovery"
mmcblk0p4: 00800000 00001000 "boot"
mmcblk0p16: 60000000 00001000 "system"
mmcblk0p17: 10000000 00001000 "cache"
mmcblk0p20: 00200000 00001000 "misc"
mmcblk0p1: 00600000 00001000 "wlan"
mmcblk0p2: 00200000 00001000 "WDM"
mmcblk0p25: 00200000 00001000 "pdata"
mmcblk0p3: 00600000 00001000 "radiocab"
mmcblk0p18: e00000000 00001000 "userdata"
mmcblk0p24: 01a00000 00001000 "devlog"
mmcblk0p19: 00200000 00001000 "extra"
mmcblk0p14: 03400000 00001000 "mdm9k"
mmcblk0p15: 00800000 00001000 "mdm9k_config"
mmcblk0p21: 00800000 00001000 "modem_st1"
mmcblk0p22: 00800000 00001000 "modem_st2"
Can use basic adb commands ..have hox and hox plus....all about new roms in neway...esp cyanogenmod...
Sent from my HTC One X+ using xda premium
XSafire said:
Code:
[email protected]id:/ # cat /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state
cat /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state
51000 625232
102000 202319
204000 90778
340000 303168
475000 442561
640000 12087
760000 11277
910000 24889
1000000 23665
1150000 25575
1300000 7912
1400000 11667
1500000 4930
1600000 114343
1700000 27325
[email protected]:/ #
I believe hasoon2000 already got the mount points and the partition layout in this thread
http://forum.xda-developers.com/showthread.php?t=1964518
Edit: I got them off my phone just in case, here's what I got
Code:
dev: size erasesize name
mmcblk0p5: 00800000 00001000 "recovery"
mmcblk0p4: 00800000 00001000 "boot"
mmcblk0p16: 60000000 00001000 "system"
mmcblk0p17: 10000000 00001000 "cache"
mmcblk0p20: 00200000 00001000 "misc"
mmcblk0p1: 00600000 00001000 "wlan"
mmcblk0p2: 00200000 00001000 "WDM"
mmcblk0p25: 00200000 00001000 "pdata"
mmcblk0p3: 00600000 00001000 "radiocab"
mmcblk0p18: e00000000 00001000 "userdata"
mmcblk0p24: 01a00000 00001000 "devlog"
mmcblk0p19: 00200000 00001000 "extra"
mmcblk0p14: 03400000 00001000 "mdm9k"
mmcblk0p15: 00800000 00001000 "mdm9k_config"
mmcblk0p21: 00800000 00001000 "modem_st1"
mmcblk0p22: 00800000 00001000 "modem_st2"
Click to expand...
Click to collapse
thank you the only point i missing is the rfs one
Code:
/dev/block/platform/sdhci-tegra.3/by-name/RFS /rfs ext4 noatime,rw
sportsstar89 said:
thank you the only point i missing is the rfs one
Code:
/dev/block/platform/sdhci-tegra.3/by-name/RFS /rfs ext4 noatime,rw
Click to expand...
Click to collapse
I pushed to the RFS file to my computer, but I have no idea what to do with it. If you could point me in the right direction so I can get the point I need that would be great.
hasoon2000 said:
And here is the first thing we need.
I need an AT&T/Telus user that knows how to use adb. Turn your data on.
Type in adb shell netcfg. Post your results here.
Click to expand...
Click to collapse
Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation. All rights reserved.
C:\Users\Charlie>adb devices
List of devices attached
HT2AYW300163 device
C:\Users\Charlie>adb shell cfg
/system/bin/sh: cfg: not found
C:\Users\Charlie>adb shell netcfg
lo UP 127.0.0.1/8 0x00000049 00:00:00:
00:00:00
dummy0 DOWN 0.0.0.0/0 0x00000082 9e:f3:d2:
4d:5b:59
sit0 DOWN 0.0.0.0/0 0x00000080 00:00:00:
00:00:00
ip6tnl0 DOWN 0.0.0.0/0 0x00000080 00:00:00:
00:00:00
p2p0 DOWN 0.0.0.0/0 0x00001002 ea:99:c4:
67:3b:31
wlan0 DOWN 0.0.0.0/0 0x00001002 e8:99:c4:
67:3b:31
rmnet_usb0 UP 10.82.132.217/30 0x00000041 00:00:0
0:00:00:00
rmnet_usb1 DOWN 0.0.0.0/0 0x00000000 00:00:0
0:00:00:00
rmnet_usb2 DOWN 0.0.0.0/0 0x00000000 00:00:0
0:00:00:00
rmnet_usb3 DOWN 0.0.0.0/0 0x00000000 00:00:0
0:00:00:00
C:\Users\Charlie>
Im on AT&T by the way
XSafire said:
I pushed to the RFS file to my computer, but I have no idea what to do with it. If you could point me in the right direction so I can get the point I need that would be great.
Click to expand...
Click to collapse
thats what i'm trying to figure out it doesn't appear in the mount points and i can't mess with the device yet
Hello everyone i have a build of cm10 for the evitareul (AT&T HTC One X+) http://goo.im/devs/Sportsstar89/evitareul/CM10 it's completely untested as i don't have the device yet it may not even boot however either way i need a logcat. Also the AT&T kernel source isn't out yet so it's using the sense kernel so by some wizardry it boots it will be quite bugged
Telus HOX+
Code:
lo UP 127.0.0.1/8 0x00000049 00:00:00:
00:00:00
dummy0 DOWN 0.0.0.0/0 0x00000082 8a:f6:e9:
63:97:5b
sit0 DOWN 0.0.0.0/0 0x00000080 00:00:00:
00:00:00
ip6tnl0 DOWN 0.0.0.0/0 0x00000080 00:00:00:
00:00:00
p2p0 DOWN 0.0.0.0/0 0x00001002 ea:99:c4:
68:6c:c5
wlan0 DOWN 0.0.0.0/0 0x00001002 e8:99:c4:
68:6c:c5
rmnet_usb0 UP 10.110.119.248/30 0x00000041 00:00:0
0:00:00:00
rmnet_usb1 DOWN 0.0.0.0/0 0x00000000 00:00:0
0:00:00:00
rmnet_usb2 DOWN 0.0.0.0/0 0x00000000 00:00:0
0:00:00:00
rmnet_usb3 DOWN 0.0.0.0/0 0x00000000 00:00:0
0:00:00:00
Code:
51000 148448
102000 32890
204000 10703
340000 44471
475000 137427
640000 16605
760000 16743
910000 17011
1000000 20243
1150000 18584
1300000 7734
1400000 6628
1500000 2465
1600000 56991
1700000 13961
sportsstar89 said:
Hello everyone i have a build of cm10 for the evitareul (AT&T HTC One X+) http://goo.im/devs/Sportsstar89/evitareul/CM10 it's completely untested as i don't have the device yet it may not even boot however either way i need a logcat. Also the AT&T kernel source isn't out yet so it's using the sense kernel so by some wizardry it boots it will be quite bugged
Click to expand...
Click to collapse
i flashed the boot.img and the rom but got no boot. will try to provide logcat
hox+ att
bstephens2u said:
i flashed the boot.img and the rom but got no boot. will try to provide logcat
hox+ att
Click to expand...
Click to collapse
I'm missing something here... What is the difference between the AT&T/Telus verses the International to where we can't use ROMs vise versa?
Why can't we just install Llior's CM10 on our AT&T devices?
Thanks,
Irish
We can't use the same ROMs because while the hardware is pretty much the same, there's different kernels/radios. The AT&T has LTE while the int'l I think doesn't. It's not a major problem, but right now it's what is needed.

[Q] Wifi problem

Code:
D/NetdConnector( 421): SND -> {22 softap fwreload wlan0 STA}
D/WifiCommon( 99): wifi_change_fw_path [STA]
D/WifiCommon( 99): Hal cmd: "hal load p2p"
D/Hald ( 104): ======Receive cmd======
D/Hald ( 104): cmd <load p2p>
D/Hald ( 104): Check NvRAM status.
D/Hald ( 104): NvRAM is READY!
D/Hald ( 104): Start load P2P driver.
D/vold ( 421): size2:0
E/Hald ( 104): SET_P2P_MODE enable[1], mode[0] Failed
E/Hald ( 104): No such device
D/WifiCommon( 99): Hal cmd response code: "200"
D/NetdConnector( 421): RCV <- {200 22 Softap operation succeeded}
D/NetdConnector( 421): RMV <- {200 22 Softap operation succeeded}
D/NetdConnector( 421): SND -> {23 interface getcfg wlan0}
D/vold ( 421): size2:0
W/CommandListener( 99): Failed to retrieve HW addr for wlan0 (No such device)
D/NetdConnector( 421): RCV <- {213 23 00:00:00:00:00:00 0.0.0.0 0 down}
D/NetdConnector( 421): RMV <- {213 23 00:00:00:00:00:00 0.0.0.0 0 down}
D/NetdConnector( 421): SND -> {24 interface setcfg wlan0 0.0.0.0 0 down}
D/CommandListener( 99): Setting iface cfg
D/vold ( 421): size2:0
D/NetdConnector( 421): RCV <- {400 24 Failed to set address (No such device)}
D/NetdConnector( 421): RMV <- {400 24 Failed to set address (No such device)}
E/WifiStateMachine( 421): Unable to change interface settings: java.lang.IllegalStateException: command '24 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 24 Failed to set address (No such device)'
D/WifiCommon( 421): Stop "p2p_supplicant"
D/WifiCommon( 421): [wlan0]wifi_close_supplicant_connection
D/WifiCommon( 421): wifi_start_supplicant [1]
D/WifiCommon( 421): Start "p2p_supplicant"
D/WifiStateMachine( 421): Supplicant start successful
D/dalvikvm( 421): create interp thread : stack size=32KB
D/dalvikvm( 421): create new thread
D/dalvikvm( 421): update thread list
D/dalvikvm( 421): threadid=79: interp stack at 0x52ffb000
D/dalvikvm( 421): threadid=79: created from interp
D/dalvikvm( 421): start new thread
D/StateMachine( 421): transitionTo: destState=SupplicantStartingState
D/StateMachine( 421): handleMessage: new destination call exit
D/StateMachine( 421): setupTempStateStackWithStatesToEnter: X mTempStateStackCount=1,curStateInfo: state=DefaultState,active=true,parent=null
D/StateMachine( 421): invokeExitMethods: DriverLoadedState
D/StateMachine( 421): moveTempStackToStateStack: i=0,j=1
D/StateMachine( 421): moveTempStackToStateStack: X mStateStackTop=1,startingIndex=1,Top=SupplicantStartingState
D/StateMachine( 421): invokeEnterMethods: SupplicantStartingState
D/WifiStateMachine( 421): SupplicantStartingState
D/StateMachine( 421): handleMessage: X
D/dalvikvm( 421): threadid=79: notify debugger
D/dalvikvm( 421): threadid=79 (WifiMonitor): calling run()
D/WifiCommon( 421): [wlan0]wifi_connect_to_supplicant
D/wpa_supplicant( 2329): wpa_supplicant v2.0-devel-4.1.1
D/wpa_supplicant( 2329): random: Added entropy from /data/misc/wifi/entropy.bin (own_pool_ready=2)
D/wpa_supplicant( 2329): random: Trying to read entropy from /dev/random
D/wpa_supplicant( 2329): random: Updated entropy file /data/misc/wifi/entropy.bin (own_pool_ready=2)
D/wpa_supplicant( 2329): Initializing interface 'wlan0' conf '/data/misc/wifi/wpa_supplicant.conf' driver 'nl80211' ctrl_interface 'N/A' bridge 'N/A'
D/wpa_supplicant( 2329): Configuration file '/data/misc/wifi/wpa_supplicant.conf' -> '/data/misc/wifi/wpa_supplicant.conf'
D/wpa_supplicant( 2329): Reading configuration file '/data/misc/wifi/wpa_supplicant.conf'
D/wpa_supplicant( 2329): ctrl_interface='/data/misc/wpa_supplicant'
D/wpa_supplicant( 2329): update_config=1
D/wpa_supplicant( 2329): manufacturer='MediaTek Inc.'
D/wpa_supplicant( 2329): device_name='Wireless Client'
D/wpa_supplicant( 2329): model_name='MTK Wireless Model'
D/wpa_supplicant( 2329): model_number='1.0'
D/wpa_supplicant( 2329): serial_number='2.0'
D/wpa_supplicant( 2329): os_version=01020300
D/wpa_supplicant( 2329): config_methods='display push_button keypad'
D/wpa_supplicant( 2329): Could not open file /sys/class/net/wlan0/phy80211/name: No such file or directory
I/wpa_supplicant( 2329): rfkill: Cannot open RFKILL control device
D/wpa_supplicant( 2329): nl80211: RFKILL status not available
D/wpa_supplicant( 2329): nl80211: Set mode ifindex 0 iftype 2 (STATION)
D/wpa_supplicant( 2329): nl80211: Failed to set interface 0 to mode 2: -19 (No such device)
E/wpa_supplicant( 2329): nl80211: Could not configure driver to use managed mode
D/wpa_supplicant( 2329): netlink: Operstate: linkmode=0, operstate=6
E/wpa_supplicant( 2329): Could not read interface wlan0 flags: No such device
D/wpa_supplicant( 2329): nl80211: Set mode ifindex 0 iftype 2 (STATION)
D/wpa_supplicant( 2329): nl80211: Failed to set interface 0 to mode 2: -19 (No such device)
E/wpa_supplicant( 2329): wlan0: Failed to initialize driver interface
D/wpa_supplicant( 2329): Failed to add interface wlan0
D/wpa_supplicant( 2329): [WAPI] wpa_supplicant_deinit_wapi <===
D/wpa_supplicant( 2329): wlan0: Cancelling scan request
D/wpa_supplicant( 2329): wlan0: Cancelling authentication timeout
D/wpa_supplicant( 2329): random: Updated entropy file /data/misc/wifi/entropy.bin (own_pool_ready=2)
I/logwrapper( 2327): /system/bin/wpa_supplicant terminated by exit(255)
I hav successfully ported a rom but a problem is here i am a noob and now my wifi isnt working . i hav uploaded logcat log. Any help.???

Porting B2G for coconut - MAC Address problem

I'm porting B2G to Live With Walkman.
Kernel is based on semc-kernel-msm7x30 from Cyanogenmod's Github Account
I've added wl12xx modules from Cyanogenmod 9, etc. and loaded their (modules are also loaded in init.rc of course). But WiFi still doesn't working. While I'm trying run it manualy ("netcfg wlan0 up"), I got error:
Code:
[email protected]:/system/lib/modules # netcfg wlan0 up
action 'up' failed (Cannot assign requested address)
['code]
netcfg returns:
[code]
[email protected]:/system/lib/modules # netcfg
lo UP 127.0.0.1/8 0x00000049 00:00:00:00:00:00
dummy0 DOWN 0.0.0.0/0 0x00000082 8e:9d:59:3d:15:e7
rmnet0 DOWN 0.0.0.0/0 0x00001002 7e:7e:23:63:92:38
rmnet1 DOWN 0.0.0.0/0 0x00001002 0e:a7:c3:52:69:b9
rmnet2 DOWN 0.0.0.0/0 0x00001002 5e:75:da:27:64:f9
rmnet3 DOWN 0.0.0.0/0 0x00001002 fe:2a:0d:6c:68:d7
rmnet4 DOWN 0.0.0.0/0 0x00001002 be:af:14:3b:50:01
rmnet5 DOWN 0.0.0.0/0 0x00001002 06:10:c4:c0:b7:b5
rmnet6 DOWN 0.0.0.0/0 0x00001002 e2:00:f4:a4:15:d4
rmnet7 DOWN 0.0.0.0/0 0x00001002 86:6b:ae:9d:1f:77
rmnet_sdio0 DOWN 0.0.0.0/0 0x00001002 ea:af:b7:63:f2:b9
rmnet_sdio1 DOWN 0.0.0.0/0 0x00001002 7e:bb:36:03:48:91
rmnet_sdio2 DOWN 0.0.0.0/0 0x00001002 5a:cb:ed:5c:c8:7e
rmnet_sdio3 DOWN 0.0.0.0/0 0x00001002 96:c9:ff:c1:3b:3c
rmnet_sdio4 DOWN 0.0.0.0/0 0x00001002 be:51:d2:70:20:91
rmnet_sdio5 DOWN 0.0.0.0/0 0x00001002 46:6b:84:f8:aa:4c
rmnet_sdio6 DOWN 0.0.0.0/0 0x00001002 ca:26:5b:c2:78:d2
rmnet_sdio7 DOWN 0.0.0.0/0 0x00001002 7e:85:5c:f4:bc:a2
sit0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00
ip6tnl0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00
wlan0 DOWN 0.0.0.0/0 0x00001002 00:00:00:00:00:00 <<<<<<<<<<<<<<<<<<<
I see, wlan0's MAC Address is invalid. Someone had this problem? And yes, dmesg returns my valid MAC Address:
Code:
/system/bin # dmesg | grep wifi
<5>Kernel command line: console=ttyMSM2,115200n8 androidboot.hardware=semc totalmem=0x200 startup=0x00000030 serialno=BX902UAD70 bt0.ieee_addr=5c:b5:24:bf:e8:f7 wifi0.eth_addr=5c:b5:24:5b:06:2b
/system/bin #
And sorry for my mistakes, English is not ma native language.
Siprah123 said:
I'm porting B2G to Live With Walkman.
Kernel is based on semc-kernel-msm7x30 from Cyanogenmod's Github Account
I've added wl12xx modules from Cyanogenmod 9, etc. and loaded their (modules are also loaded in init.rc of course). But WiFi still doesn't working. While I'm trying run it manualy ("netcfg wlan0 up"), I got error:
Code:
[email protected]:/system/lib/modules # netcfg wlan0 up
action 'up' failed (Cannot assign requested address)
['code]
netcfg returns:
[code]
[email protected]:/system/lib/modules # netcfg
lo UP 127.0.0.1/8 0x00000049 00:00:00:00:00:00
dummy0 DOWN 0.0.0.0/0 0x00000082 8e:9d:59:3d:15:e7
rmnet0 DOWN 0.0.0.0/0 0x00001002 7e:7e:23:63:92:38
rmnet1 DOWN 0.0.0.0/0 0x00001002 0e:a7:c3:52:69:b9
rmnet2 DOWN 0.0.0.0/0 0x00001002 5e:75:da:27:64:f9
rmnet3 DOWN 0.0.0.0/0 0x00001002 fe:2a:0d:6c:68:d7
rmnet4 DOWN 0.0.0.0/0 0x00001002 be:af:14:3b:50:01
rmnet5 DOWN 0.0.0.0/0 0x00001002 06:10:c4:c0:b7:b5
rmnet6 DOWN 0.0.0.0/0 0x00001002 e2:00:f4:a4:15:d4
rmnet7 DOWN 0.0.0.0/0 0x00001002 86:6b:ae:9d:1f:77
rmnet_sdio0 DOWN 0.0.0.0/0 0x00001002 ea:af:b7:63:f2:b9
rmnet_sdio1 DOWN 0.0.0.0/0 0x00001002 7e:bb:36:03:48:91
rmnet_sdio2 DOWN 0.0.0.0/0 0x00001002 5a:cb:ed:5c:c8:7e
rmnet_sdio3 DOWN 0.0.0.0/0 0x00001002 96:c9:ff:c1:3b:3c
rmnet_sdio4 DOWN 0.0.0.0/0 0x00001002 be:51:d2:70:20:91
rmnet_sdio5 DOWN 0.0.0.0/0 0x00001002 46:6b:84:f8:aa:4c
rmnet_sdio6 DOWN 0.0.0.0/0 0x00001002 ca:26:5b:c2:78:d2
rmnet_sdio7 DOWN 0.0.0.0/0 0x00001002 7e:85:5c:f4:bc:a2
sit0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00
ip6tnl0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00
wlan0 DOWN 0.0.0.0/0 0x00001002 00:00:00:00:00:00 <<<<<<<<<<<<<<<<<<<
I see, wlan0's MAC Address is invalid. Someone had this problem? And yes, dmesg returns my valid MAC Address:
Code:
/system/bin # dmesg | grep wifi
<5>Kernel command line: console=ttyMSM2,115200n8 androidboot.hardware=semc totalmem=0x200 startup=0x00000030 serialno=BX902UAD70 bt0.ieee_addr=5c:b5:24:bf:e8:f7 wifi0.eth_addr=5c:b5:24:5b:06:2b
/system/bin #
And sorry for my mistakes, English is not ma native language.
Click to expand...
Click to collapse
Everything works except Wifi?
danutzgtx480 said:
Everything works except Wifi?
Click to expand...
Click to collapse
Nope, I just fixed SD Card. Mobile Network, WiFi, Camera still doesn't works, but now I'm trying run WiFi
can you upload the zip for coconut?(including kernel) I have smultron and i want to port & try it
Sure, here you are: speedyshare .com /CFpej/boot2gecko-coconut.zip
But it's problem with running recovery, when I'm trying run it while phone starting, it doesn't works. But "adb reboot recovery" works perfectly.
after diedb
By the way. I fixed GSM and SD Card. I'll publish it soon
Siprah123 said:
By the way. I fixed GSM and SD Card. I'll publish it soon
Click to expand...
Click to collapse
good:good::good::good:
I fixed too Battery Indicator and Green LED (thanks @danutzgtx480 for send me a patch! :good: ). I'm going to publish it now (when my new user restriction will be removed)

[Q] Droidsheep issues

Hey guys I am kind of a noon when it comes to rooting and debugging can some help me fix droidsheep
Here is the debugging code:
DEBUG SESSION START! Mon Jun 08 18:21:13 PDT 2015
Droidsheep path: /data/data/de.trier.infsec.koch.droidsheep/files/droidsheep
ARPSPoof Path: /data/data/de.trier.infsec.koch.droidsheep/files/arpspoof
Testing SU
BusyBox v1.23.2 (2015-03-30 10:55:10 ICT) multi-call binary.
BusyBox is copyrighted by many authors between 1998-2012.
Licensed under GPLv2. See source distribution for detailed
copyright notices.
Usage: busybox [function [arguments]...]
or: busybox --list[-full]
or: busybox --install [-s] [DIR]
or: function [arguments]...
BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable. Most people will create a
link to busybox for each function they wish to use and BusyBox
will act like whatever it was invoked as.
Currently defined functions:
[, [[, ash, awk, base64, basename, blkid, bunzip2, bzcat, bzip2, cal,
cat, chat, chattr, chgrp, chmod, chown, chroot, chrt, cksum, comm, cp,
crond, crontab, cut, date, dd, depmod, devmem, df, diff, dirname,
dmesg, dnsd, dnsdomainname, dos2unix, du, echo, egrep, env, ether-wake,
expand, expr, fakeidentd, fatattr, fbset, fdflush, fdformat, fgrep,
find, fold, free, freeramdisk, fsck, fstrim, fsync, ftpd, ftpget,
ftpput, fuser, getopt, grep, groups, gunzip, gzip, hd, head, hexdump,
hostid, hostname, httpd, hwclock, id, ifconfig, ifenslave, inotifyd,
insmod, install, ionice, iostat, ip, ipaddr, ipcalc, iplink, iproute,
iprule, iptunnel, kill, killall, killall5, last, less, ln, logname,
losetup, ls, lsattr, lsmod, lsof, lsusb, lzop, lzopcat, md5sum,
microcom, mkdir, mkdosfs, mke2fs, mkfifo, mkfs.ext2, mkfs.vfat, mknod,
mkswap, modinfo, modprobe, more, mount, mountpoint, mt, mv, nameif,
nanddump, nandwrite, nc, netstat, nice, nmeter, nohup, nslookup, ntpd,
od, patch, pgrep, pidof, ping, pkill, pmap, powertop, printenv, printf,
ps, pscan, pwd, rdate, rdev, readahead, readlink, realpath, renice,
rev, rfkill, rm, rmdir, rmmod, route, run-parts, script, scriptreplay,
sed, seq, setsid, sh, sha1sum, sha256sum, sha3sum, sha512sum, shuf,
sleep, smemcap, sort, split, start-stop-daemon, stat, strings, stty,
sum, swapoff, swapon, sync, sysctl, tac, tail, tar, tee, telnet,
telnetd, test, tftp, tftpd, time, timeout, top, touch, tr, traceroute,
tty, ttysize, tunctl, umount, uname, uncompress, unexpand, uniq,
unix2dos, unlink, unlzop, unzip, uptime, users, usleep, uudecode,
uuencode, vconfig, vi, watch, wc, wget, which, who, whoami, whois,
xargs, zcat
-rwxrwxrwx app_89 app_89 116992 2015-06-08 18:21 droidsheep
-rwxrwxrwx app_89 app_89 32256 2015-06-08 18:21 arpspoof
executing command: chmod 777 /data/data/de.trier.infsec.koch.droidsheep/files/droidsheep
executing command: chmod 777 /data/data/de.trier.infsec.koch.droidsheep/files/arpspoof
executing command: killall droidsheep
executing command: chmod 777 /data/data/de.trier.infsec.koch.droidsheep/files/arpspoof
executing command: chmod 777 /data/data/de.trier.infsec.koch.droidsheep/files/droidsheep
Error with command: chmod 777 /data/data/de.trier.infsec.koch.droidsheep/files/arpspoof: killall: droidsheep: no process killed
executing command: echo 1 > /proc/sys/net/ipv4/ip_forward
executing command: iptables -F
executing command: /data/data/de.trier.infsec.koch.droidsheep/files/droidsheep
executing command: iptables -t nat -F
executing command: iptables -t nat -I POSTROUTING -s 0/0 -j MASQUERADE
executing command: iptables -P FORWARD ACCEPT
executing command: /data/data/de.trier.infsec.koch.droidsheep/files/arpspoof -s 1 -i wlan0 192.168.1.1
command: /data/data/de.trier.infsec.koch.droidsheep/files/arpspoof -s 1 -i wlan0 192.168.1.1line: e0:b9:a5:a:82:3e ff:ff:ff:ff:ff:ff 0806 42: arp reply 192.168.1.1 is-at e0:b9:a5:a:82:3e
command: /data/data/de.trier.infsec.koch.droidsheep/files/arpspoof -s 1 -i wlan0 192.168.1.1line: e0:b9:a5:a:82:3e ff:ff:ff:ff:ff:ff 0806 42: arp reply 192.168.1.1 is-at e0:b9:a5:a:82:3e
command: /data/data/de.trier.infsec.koch.droidsheep/files/arpspoof -s 1 -i wlan0 192.168.1.1line: e0:b9:a5:a:82:3e ff:ff:ff:ff:ff:ff 0806 42: arp reply 192.168.1.1 is-at e0:b9:a5:a:82:3e
command: /data/data/de.trier.infsec.koch.droidsheep/files/arpspoof -s 1 -i wlan0 192.168.1.1line: e0:b9:a5:a:82:3e ff:ff:ff:ff:ff:ff 0806 42: arp reply 192.168.1.1 is-at e0:b9:a5:a:82:3e
command: /data/data/de.trier.infsec.koch.droidsheep/files/arpspoof -s 1 -i wlan0 192.168.1.1line: e0:b9:a5:a:82:3e ff:ff:ff:ff:ff:ff 0806 42: arp reply 192.168.1.1 is-at e0:b9:a5:a:82:3e

Share openvpn connection over wifi hotspot

Hello!
Trying to share openvpn connection over wifi hotspot, but nothing helps me
This programs doesn't help me
play.google.com/store/apps/details?id=com.ardadem.tethervpn
play.google.com/store/apps/details?id=com.ilmubytes.tethernet
play.google.com/store/apps/details?id=com.cryptotel.tethercontrol
play.google.com/store/apps/details?id=com.tetherunlocker
My netcfg in terminal
Code:
Connection over Wi-Fi without openvpn
[email protected]:/ # netcfg
ccmni2 DOWN 0.0.0.0/0 0x00000080 8a:4f:b2:cb:ce:b1
ccmni1 DOWN 0.0.0.0/0 0x00000080 1e:1a:4b:cd:da:bf
ccmni0 DOWN 0.0.0.0/0 0x00000080 5e:2b:32:c8:db:a3
lo UP 127.0.0.1/8 0x00000049 00:00:00:00:00:00
sit0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00
ifb1 DOWN 0.0.0.0/0 0x00000082 02:12:82:7f:7c:61
ifb0 DOWN 0.0.0.0/0 0x00000082 e6:3f:1c:93:62:9f
p2p0 UP 0.0.0.0/0 0x00001003 56:ef:92:36:f7:90
wlan0 UP 192.168.2.191/24 0x00001043 54:ef:92:36:f7:90
tunl0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00
ip6tnl0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00
[email protected]:/ #
===================================================
openvpn connection only, via carrier
[email protected]:/ $ su
[email protected]:/ # netcfg
ccmni2 DOWN 0.0.0.0/0 0x00000080 8a:4f:b2:cb:ce:b1
ccmni1 DOWN 0.0.0.0/0 0x00000080 1e:1a:4b:cd:da:bf
ccmni0 UP 172.17.184.14/16 0x000000c1 5e:2b:32:c8:db:a3
lo UP 127.0.0.1/8 0x00000049 00:00:00:00:00:00
tun0 UP 172.27.232.123/21 0x00000051 00:00:00:00:00:00
sit0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00
ifb1 DOWN 0.0.0.0/0 0x00000082 02:12:82:7f:7c:61
ifb0 DOWN 0.0.0.0/0 0x00000082 e6:3f:1c:93:62:9f
tunl0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00
ip6tnl0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00
[email protected]:/ #
===================================================
wifi hotspot on + openvpn connection only, via carrier
[email protected]:/ $ su
[email protected]:/ #
[email protected]:/ # nwtcfg
k_shell/10094:8630: nwtcfg: not found
127|[email protected]:/ # netcfg
ccmni2 DOWN 0.0.0.0/0 0x00000080 8a:4f:b2:cb:ce:b1
ccmni1 DOWN 0.0.0.0/0 0x00000080 1e:1a:4b:cd:da:bf
ccmni0 UP 172.17.184.14/16 0x000000c1 5e:2b:32:c8:db:a3
lo UP 127.0.0.1/8 0x00000049 00:00:00:00:00:00
ap0 UP 192.168.43.1/24 0x00001043 56:ef:92:36:f7:90
tun0 UP 172.27.232.123/21 0x00000051 00:00:00:00:00:00
sit0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00
ifb1 DOWN 0.0.0.0/0 0x00000082 02:12:82:7f:7c:61
ifb0 DOWN 0.0.0.0/0 0x00000082 e6:3f:1c:93:62:9f
wlan0 DOWN 0.0.0.0/0 0x00001002 54:ef:92:36:f7:90
tunl0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00
ip6tnl0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00

Categories

Resources