I am using Odroid A device, which have bcm4239 wifi hardware(according to Hardkernel's spec. i don't know how to check this programatically). i have attached the log when i try to enable the wifi using
mWifiManager.setWifiEnabled(true).
I want to know the meaning of the log, especially "E/WifiHW(1175): FIRMWARE_LOADER faile" message.
Thank you!!
Below is the error log!!
I/WifiHW(1175): /sys/devices/platform/odroid-sysfs/wifi_enable : write success (on = 1)
I/WifiHW(1175): /sys/devices/platform/odroid-sysfs/wifi_nrst : write success (on = 1)
E/WifiHW(1175): FIRMWARE_LOADER faile
D/SoftapController(1079): Softap fwReload - Ok
D/NetworkManagementService(1175): rsp <213 (mac address here) 0.0.0.0 0 [up broadcast running multicast]>
D/CommandListener(1079): Setting iface cfg
D/CommandListener(1079): Trying to bring down wlan0
D/NetworkManagementService(1175): flags <[up broadcast running multicast]>
D/CommandListener(1079): broadcast flag ignored
E/WifiStateMachine(1175): Unable to change interface settings: java.lang.IllegalStateException: Unable to communicate with native daemon to interface setcfg - com.android.server.NativeDaemonConnectorException: Cmd {interface setcfg wlan0 0.0.0.0 0 [down broadcast running multicast]} failed with code 501 : {Flag unsupported}
E/wpa_supplicant(4058): Line 58: WPA-PSK accepted for key management, but no PSK configured.
E/wpa_supplicant(4058): Line 58: failed to parse network block.
I/wpa_supplicant(4058): rfkill: Cannot open RFKILL control device
E/WifiHW(1175): 'GET_NETWORK 0 bssid' fail.
...
I am using ICS 4.0.4..
Thanks in advance
Related
I am working with AOSP-Q. When i connect the pendrive to my android device, i am getting prints like :
[ 2955.285052] read strings
[ 2955.288151] init: processing action (sys.usb.config=adb && sys.usb.configfs=1 && sys.usb.ffs.ready=1) from (init.usb.configfs.rc:26)
[ 2955.303196] init: Command 'write /config/usb_gadget/g1/UDC ${sys.usb.controller}' action=sys.usb.config=adb && sys.usb.configfs=1 && sys.usb.ffs.ready=1 (init.usb.configfs.rc:29) took 0ms and failed: Unable to write to file '/config/usb_gadget/g1/UDC': Unable to write file contents: Device or resource busy
I somewhere found that enabling the CONFIG_USB_CONFIGFS_F_FS config in the kernel causes that prints, so i disabled that config. Now i am not getting that prints when i connect pendrive but ADB over USB is not working for me. can anyone help me to get rid of that prints without effecting the ADB over USB functionality.
ERROR: for 515f8b2ecd33_docker-bind_bind_1 Cannot start service bind: b'driver failed programming external connectivity on endpoint docker-bind_bind_1 (bc8836ceccc907c7ad0610e941b533c68f250c56cffcd4646e9171e7a330c9b3): Error starting userland proxy: listen tcp 0.0.0.0:53: bind: address already in use'
Comment out masqdns parts of the docker-compose.yaml file that you should have in virtual environment folder("Home/User/ve").
If the error still persist Please update your docker-compose.yaml file.
I've a raspberrypi with pihole and wireguard installed. Pihole works fine, same for wireguard except Signal Messenger for Android. When I'm connected over VPN I always get a timeout.
java.net.ConnectException: Failed to connect to /192.168.210.1 (port 8080) from /10.6.0.2 (port *****) after *****ms: isConnected failed: ETIMEDOUT (Connection timed out) ...
I installed wiregurad with PiVPN script, hence I've a very simple config which looks like this:
[Interface]
PrivateKey = ***
Address = 10.6.0.1/24
ListenPort = ***
[Peer]
PublicKey = ***
PresharedKey ***
AllowedIPs = 10.6.0.2/32
PersistentKeepalive = 25
The configuration on my mobile phone is also pretty straight forward.
My routing table looks like:
default via 192.168.1.1 dev eth0 src 192.168.1.2 metric 202
10.6.0.0/24 dev wg0 proto kernel scope link src 10.6.0.1
192.168.1.0/24 dev eth0 proto dhcp scope link src 192.168.1.2 metric 202
192.168.1.2 is my raspi and also my default DNS. I' don't understand why Signal is trying to connect to 192.168.210.1 and I get this exception only when connected over VPN. Does anyone have an idea? Thanks!
I am testing Relatek Wi-Fi Driver in Android LOllipop. The driver is registered as
usbcore: registered new interface driver rtl8192du
And the lsmod shows the output as
8192du 488167 0 - Live 0x00000000
The driver is inserted successfully . And the netcfg output shows that the wlan0 interface is down.
I tried to make the interface active as ifconfig wlan0 up and suddenly the kernel crashes and reboots after 5 seconds.
What are the reasons for the ifconfig to fail especially to crash the kernel?.....Any help would be appreciated
The kernel crash log is provided below
e[<8031bcf4>] (vsnprintf+0x38/0x424) from [<8004b534>] (kthread_create_on_node+0x98/0xdc)
[<8004b534>] (kthread_create_on_node+0x98/0xdc) from [<7f03d05c>] (rtw_start_drv_threads+0x20/0x5c [8192du])
[<80647c24>] (__dev_open+0xa0/0xfc) from [<80647e58>] (__dev_change_flags+0x8c/0x128)
[<80647e58>] (__dev_change_flags+0x8c/0x128) from [<80647f60>] (dev_change_flags+0x10/0x48)
[<80647f60>] (dev_change_flags+0x10/0x48) from [<806d16ac>] (devinet_ioctl+0x780/0x828)
[<806d16ac>] (devinet_ioctl+0x780/0x828) from [<806323c8>] (sock_ioctl+0x68/0x28c)
[<806323c8>] (sock_ioctl+0x68/0x28c) from [<800f09e8>] (do_vfs_ioctl+0x80/0x5bc)
[<800f09e8>] (do_vfs_ioctl+0x80/0x5bc) from [<800f0f94>] (SyS_ioctl+0x70/0x78)
[<800f0f94>] (SyS_ioctl+0x70/0x78) from [<8000e0c0>] (ret_fast_syscall+0x0/0x30)
Code: ba0000ee e59da014 e3a0b020 e59d1018 (e5d23000)
---[ end trace ffb896cf8181c101 ]---
Kernel panic - not syncing: Fatal exception
So many reasons..... but...
1) post backtrace (kernel backtrace) for more information
2) suspect ioctl which is connect to ifconfig - bring up the wlan (if it's not ioctl, then something else like proc, netlink or whatever to communicate kernel)
3) the vap (wlan) enable code itself
I think that we may need crash backtrace and we can understand it better....
I found the discussion here: How do I disconnect my XMPPPY client object? and it concludes with saying that .disconnect() is the right way to do it.
This is the code:
while True:
try:
client.Process(5)
if not client.isConnected:
client.reconnectAndReauth()
except KeyboardInterrupt:
client.disconnect()
break;
flush_queued_messages()
and this is the error that I receive when I press ^C
msg keys: [u'message_type', u'from', u'message_id']
DEBUG: socket got
DEBUG: socket got
DEBUG: socket got
^C DEBUG: socket sent </stream:stream>
DEBUG: socket error Socket error while receiving data
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/xmpp/transports.py", line 146, in receive
try: received = self._recv(BUFLEN)
SSLError: [Errno 8] _ssl.c:1415: EOF occurred in violation of protocol
DEBUG: client stop Disconnect detected
DEBUG: socket error Socket operation failed
This server code is from the gcm server implemented using the python sample code at https://developer.android.com/google/gcm/ccs.html
I implemented this because my server stopped receiving messages after a while (SEND is still ok) - I figured I might have too many active connections. It's just that msgs sent to the server are not received consistently. That is another problem that I haven't figured out yet.
I have shifted to Java for implementing the code. It works fine there. The most probable reason is that the documentation is a mess and the disconnect function is probably not defined well.
Goes without saying that the creating that library was a good effort either way!