2013/11/13 Nuno Sucena Almeida <[email protected]>

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 11/13/2013 08:42 AM, Jacob Ole Juul Kolding wrote:
> > 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,
> Nuno
>
> - --
> http://aeminium.org/nuno/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
>
> iQIcBAEBAgAGBQJSg4QiAAoJEPIY6fuKMkz59LIP/3rPtx8DofihVofupiful2+0
> UlzoQoj9sZ0yK0FfwO5UxlbNy/nLzMdX9rXbzt/OaMwrYcmp7RmMh/AhzzU600sp
> M4gavVVTDVJs9DN2ETw83pwDvYC3xhUs6VPl5rZt8kTl6TXKKnkFr0eDpLNGmW/r
> 3ZhCdspyYHQEl/sYFif6mGo6Nax+Qut6JLDW6Nr3Kg/CkaSZFO6XlHXhbasdlDyR
> 47u7jLN2gAe3i4DNJRsELWYASVs85zNPjyDY7hkbEmnQQx4IEKJj5a55owwd1tLO
> OGv9JOhiRvD+QmQxd7T4+6R8cvLi3gW+SV1T9yhF3NcvIP9NoJ4UNrLVyUXxhVSf
> R/9AcafDKtuP+De0L55/M187uvlnS+INQlE9IuCc2Bwhnf1B/srbb8YcaI6lUODj
> Wt5/focu2bgP4xAgmG3Vb6KnAAjUukaOExJN2VAQvgBkFFwm0YuSbFSEX1n36qXZ
> rg+35UTQXNH+3cq4Xe2+YRwTclrvA61A2+/95VE8mpafjlGfJWQpO5w3C/ouFryA
> q0IRXw/4RjcX4oefd1FMQedPATX2djLEeAlMLqE9Xotx1AndlW/Z5i5fVRP7tOPZ
> NIGFIVAJS+moVqZH7oj+Ux/MPWkt4ppqvu/8kbL3SgM0/+8rdtEitGQlZhJD8ZBS
> 6YROKXuiCLHWKVUwqj1D
> =LZX7
> -----END PGP SIGNATURE-----
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
If you're not a socialist when you're young, it's because you have no heart.
If you stop being a socialist when you get older, it's because you lack
intellect and imagination.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to