-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> But ifconfig shows that there is no inet4 address: ??
You might be missing a few steps there. Did you configure wpa supplicant
with wifi password, etc ? You can check what wpa supplicant is doing
with wpa_cli
I'm not using wpa supplicant, just dhcp
(dhclient -1 -v -pf /run/dhclient.wlan0.pid -lf
/var/lib/dhcp/dhclient.wlan0.leases wlan0)
also,
I tried compiling the driver you linked.
I had to change the path to the kernel source but still I got this error:
CC [M] /home/dacobi/rtl8192cu_beaglebone/os_dep/osdep_service.o
CC [M] /home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.o
/home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.c: In function
‘rtw_proc_init_one’:
/home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.c:278:3: error:
implicit declaration of function ‘create_proc_entry’
[-Werror=implicit-function-declaration]
rtw_proc=create_proc_entry(rtw_proc_name, S_IFDIR, init_net.proc_net);
^
/home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.c:278:11: warning:
assignment makes pointer from integer without a cast [enabled by default]
rtw_proc=create_proc_entry(rtw_proc_name, S_IFDIR, init_net.proc_net);
^
/home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.c:285:3: error:
implicit declaration of function ‘create_proc_read_entry’
[-Werror=implicit-function-declaration]
entry = create_proc_read_entry("ver_info", S_IFREG | S_IRUGO, rtw_proc,
proc_get_drv_version, dev);
^
/home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.c:285:9: warning:
assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("ver_info", S_IFREG | S_IRUGO, rtw_proc,
proc_get_drv_version, dev);
^
/home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.c:296:21: warning:
assignment makes pointer from integer without a cast [enabled by default]
padapter->dir_dev = create_proc_entry(dev->name,
^
/home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.c:327:8: warning:
assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("write_reg", S_IFREG | S_IRUGO,
^
/home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.c:333:7: error:
dereferencing pointer to incomplete type
entry->write_proc = proc_set_write_reg;
^
/home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.c:335:8: warning:
assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("read_reg", S_IFREG | S_IRUGO,
^
/home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.c:341:7: error:
dereferencing pointer to incomplete type
entry->write_proc = proc_set_read_reg;
^
/home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.c:344:8: warning:
assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("fwstate", S_IFREG | S_IRUGO,
^
/home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.c:352:8: warning:
assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("sec_info", S_IFREG | S_IRUGO,
^
/home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.c:360:8: warning:
assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("mlmext_state", S_IFREG | S_IRUGO,
^
/home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.c:368:8: warning:
assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("qos_option", S_IFREG | S_IRUGO,
^
/home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.c:375:8: warning:
assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("ht_option", S_IFREG | S_IRUGO,
^
/home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.c:382:8: warning:
assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("rf_info", S_IFREG | S_IRUGO,
^
/home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.c:389:8: warning:
assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("ap_info", S_IFREG | S_IRUGO,
^
/home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.c:396:8: warning:
assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("adapter_state", S_IFREG | S_IRUGO,
^
/home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.c:403:8: warning:
assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("trx_info", S_IFREG | S_IRUGO,
^
/home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.c:412:8: warning:
assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("all_sta_info", S_IFREG | S_IRUGO,
^
/home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.c:421:8: warning:
assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("_malloc_cnt", S_IFREG | S_IRUGO,
^
/home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.c:430:8: warning:
assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("best_channel", S_IFREG | S_IRUGO,
^
/home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.c:438:8: warning:
assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("rx_signal", S_IFREG | S_IRUGO,
^
/home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.c:444:7: error:
dereferencing pointer to incomplete type
entry->write_proc = proc_set_rx_signal;
^
/home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.c:446:8: warning:
assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("ampdu_enable", S_IFREG | S_IRUGO,
^
/home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.c:452:7: error:
dereferencing pointer to incomplete type
entry->write_proc = proc_set_ampdu_enable;
^
/home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.c:454:8: warning:
assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("rssi_disp", S_IFREG | S_IRUGO,
^
/home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.c:460:7: error:
dereferencing pointer to incomplete type
entry->write_proc = proc_set_rssi_disp;
^
cc1: some warnings being treated as errors
make[2]: *** [/home/dacobi/rtl8192cu_beaglebone/os_dep/linux/os_intfs.o]
Error 1
make[1]: *** [_module_/home/dacobi/rtl8192cu_beaglebone] Error 2
make[1]: Leaving directory `/home/dacobi/kernel/kernel'
make: *** [modules] Error 2
/Jacob
regards,