|
[SOLVED] wifi doesn't work
Posted at 2/26/2016 20:08:13
View:7888
|
Replies:2
Print
Only Author
[Copy Link]
1#
Last edited by Key In 2/27/2016 14:23 Editor
hello everyone
I have some problem with wifi module.
I removed network-manager and configured wifi in /etc/network/interfaces manually.
- auto wlan0
- iface wlan0 inet static
- address 192.168.111.1
- netmask 255.255.255.0
- network 192.168.111.0
- broadcast 192.168.111.255
- wpa-ssid name
- wpa-psk pass
Copy the code
then
and it used to work well.
But after board restarted, interface wlan0 just disappeared....
iwconfig shows only sit, eth0, and lo interfaces.
dmesg without wifi config | grep wlan:
- [ 4.058073] [WLAN_RFKILL]: Enter rfkill_wlan_init
- [ 4.058325] [WLAN_RFKILL]: Enter rfkill_wlan_probe
- [ 4.058342] [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control.
- [ 4.058350] [WLAN_RFKILL]: wlan_platdata_parse_dt: disable wifi io reference voltage control.
- [ 4.058357] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gpio.
- [ 4.058382] [WLAN_RFKILL]: wlan_platdata_parse_dt: get property: WIFI,poweren_gpio = 156, flags = 0.
- [ 4.058402] [WLAN_RFKILL]: wlan_platdata_parse_dt: get property: WIFI,host_wake_irq = 158, flags = 0.
- [ 4.058409] [WLAN_RFKILL]: rfkill_wlan_probe: init gpio
- [ 4.058438] [WLAN_RFKILL]: rockchip_wifi_voltage_select: wifi & sdio reference voltage: 1.8V
- [ 4.058497] [WLAN_RFKILL]: Exit rfkill_wlan_probe
- [ 7.350670] [WLAN_RFKILL]: rockchip_wifi_power: 1
- [ 7.350677] [WLAN_RFKILL]: rockchip_wifi_ref_voltage: 1
- [ 7.350681] [WLAN_RFKILL]: rockchip_wifi_ref_voltage: wifi io reference voltage control is disabled.
- [ 7.455297] [WLAN_RFKILL]: wifi turn on power. 156
- [ 9.426941] [WLAN_RFKILL]: rockchip_wifi_power: 1
- [ 9.426950] [WLAN_RFKILL]: rockchip_wifi_ref_voltage: 1
- [ 9.426959] [WLAN_RFKILL]: rockchip_wifi_ref_voltage: wifi io reference voltage control is disabled.
- [ 9.531557] [WLAN_RFKILL]: wifi turn on power. 156
- [ 9.531610] =========== WLAN placed in POWER ON ========
- [ 9.919238] [WLAN_RFKILL]: rockchip_wifi_get_oob_irq: Enter
- [ 9.937226] [WLAN_RFKILL]: rockchip_wifi_mac_addr: enter.
- [ 9.937246] [WLAN_RFKILL]: falsh wifi_custom_mac_addr=[00:00:00:00:00:00]
- [ 9.937255] [WLAN_RFKILL]: This mac address is not valid, ignored...
- [ 9.938679] [WLAN_RFKILL]: rockchip_wifi_power: 0
- [ 10.043210] [WLAN_RFKILL]: wifi shut off power.
- [ 10.043225] [WLAN_RFKILL]: rockchip_wifi_ref_voltage: 0
- [ 10.043233] [WLAN_RFKILL]: rockchip_wifi_ref_voltage: wifi io reference voltage control is disabled.
- [ 10.043241] =========== WLAN placed in RESET ========
- [ 156.059646] [WLAN_RFKILL]: rockchip_wifi_power: 1
- [ 156.059700] [WLAN_RFKILL]: rockchip_wifi_ref_voltage: 1
- [ 156.059754] [WLAN_RFKILL]: rockchip_wifi_ref_voltage: wifi io reference voltage control is disabled.
- [ 156.167394] [WLAN_RFKILL]: wifi turn on power. 156
- [ 156.167463] =========== WLAN going back to live ========
- [ 156.343324] dhd_bus_devreset: == WLAN ON ==
- [ 156.628664] [WLAN_RFKILL]: rockchip_wifi_mac_addr: enter.
- [ 156.628675] [WLAN_RFKILL]: falsh wifi_custom_mac_addr=[00:00:00:00:00:00]
- [ 156.628681] [WLAN_RFKILL]: This mac address is not valid, ignored...
Copy the code
dmesg with wifi config | grep wlan:
- [ 4.366600] [WLAN_RFKILL]: Enter rfkill_wlan_init
- [ 4.369608] [WLAN_RFKILL]: Enter rfkill_wlan_probe
- [ 4.375200] [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control.
- [ 4.378002] [WLAN_RFKILL]: wlan_platdata_parse_dt: disable wifi io reference voltage control.
- [ 4.380813] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gpio.
- [ 4.383668] [WLAN_RFKILL]: wlan_platdata_parse_dt: get property: WIFI,poweren_gpio = 156, flags = 0.
- [ 4.386733] [WLAN_RFKILL]: wlan_platdata_parse_dt: get property: WIFI,host_wake_irq = 158, flags = 0.
- [ 4.388827] [WLAN_RFKILL]: rfkill_wlan_probe: init gpio
- [ 4.390908] [WLAN_RFKILL]: rockchip_wifi_voltage_select: wifi & sdio reference voltage: 1.8V
- [ 4.393084] [WLAN_RFKILL]: Exit rfkill_wlan_probe
Copy the code
wifi rockchip driver just didn't start without any messages...
How can i configure wifi?
Thanks
|
|