[beagleboard] disassociating from 00:25...[snip] by local choice (reason=3) ?

2013-11-13 Thread Jacob Ole Juul Kolding
Hello Beagles!

I've been working on building my own kernel using this guide:

http://wiki.beyondlogic.org/index.php/BeagleBoneBlack_Building_Kernel

And I've got it working mostly except from the wifi driver.
I'm using the rtl8192cu chipset over USB and the modules loads and finds
the device
but when I do: iwconfig wlan0 essid 

I get this in dmesg:

[   75.515169] rtl8192cu: MAC auto ON okay!
[   75.546583] rtl8192cu: Tx queue select: 0x05
[   75.928931] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  109.239494] wlan0: authenticate with 00:25:9c:4d:25:8e
[  109.273784] wlan0: send auth to 00:25:9c:4d:25:8e (try 1/3)
[  109.275778] wlan0: authenticated
[  109.279173] wlan0: associate with 00:25:9c:4d:25:8e (try 1/3)
[  109.284660] wlan0: RX AssocResp from 00:25:9c:4d:25:8e (capab=0x401
status=0 aid=4)
[  109.285302] wlan0: associated
[  109.288157] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  109.289127] wlan0: disassociating from 00:25:9c:4d:25:8e by local choice
(reason=3)
[  109.315802] wlan0: deauthenticating from 00:25:9c:4d:25:8e by local
choice (reason=3)
[  117.704790] wlan0: authenticate with 00:25:9c:4d:25:8e
[  117.719241] wlan0: send auth to 00:25:9c:4d:25:8e (try 1/3)
[  117.721346] wlan0: authenticated
[  117.723125] wlan0: associate with 00:25:9c:4d:25:8e (try 1/3)
[  117.747224] wlan0: RX AssocResp from 00:25:9c:4d:25:8e (capab=0x401
status=0 aid=4)
[  117.747838] wlan0: associated
[  117.748565] wlan0: disassociating from 00:25:9c:4d:25:8e by local choice
(reason=3)
[  117.766899] wlan0: deauthenticating from 00:25:9c:4d:25:8e by local
choice (reason=3)

Can anyone tell me whats wrong?

Thanks!
/Jacob

-- 
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 beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [beagleboard] disassociating from 00:25...[snip] by local choice (reason=3) ?

2013-11-13 Thread Nuno Sucena Almeida
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/13/2013 07:43 AM, Jacob Ole Juul Kolding wrote:
> Can anyone tell me whats wrong?
> 
> Thanks!
> /Jacob

What hardware do you have? You might to build a new driver out of tree,
the one that comes with the kernel doesn't work properly with some
devices. I managed to cross compile the kernel by following Robert's
instructions and then cross compiled the driver and now it's working fine.
I'm running ubuntu 13.04 armhf and I used the driver git repository
mentioned here:



You might also want to add a few options to the driver:

https://github.com/xbianonpi/xbian/issues/217#issuecomment-12995990

regards,
Nuno

- -- 
http://aeminium.org/nuno/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJSg3xYAAoJEPIY6fuKMkz5O7oP/isbWwjelwRbZJhKu+ehEN9i
q7EuWL89tyyksRpdScsknJsfWRwHrdoDuJJXciNxX9tAl+bo1wfQ7zeXG1rs3fKn
SNN/BwExhDzDKwUcgR4bliPRsIBs8/d471rWpdCT75ySWcIvjSRvPECFRpeFLEDV
FhynIqOQQx2cTrjf1M/qgcn8CvpLKXH2FOwB6XmDLqisTAbKZEM9zt9SpcAGf4R5
0HyTjfHCEE5bGIQPOF49NGCJigNfOtXfkSd0jjv+ZArL9HMoO8dMKJlKJHXOlXIz
EzZ6PziyEwVVFf9C3U+gUUMKmWF1KW1Eys2318+l4CuyC9S6QTBOJbiWAl/OLGES
Bdf31M15YazwRUi6cf2h/xKKq4/JW2FRJd+gbP9NBK7fm2e9HHUaoJE8KcqGuuLM
WiQa8E0DZSgpsyl5vuWKgtNTrQioNa4/d3w1lMzRC4neplYUyBAGZaJak4vEj7HB
RZicJB9otRxmg/w75YSioYLOHfelEENNJBTMueLE5KkL4mCziJGSENPZvHYyx0/T
7BDTtmFEnijGoRyQ07eumuLjXTu5bp0qTRM+KpypNDznet9tznOni2B/NzFAWbwR
+Vvrno9bWXf6uOdQmGWtxNyP7M6s4G8i7byiR5VpYnsnwrfQXsbvSSo8jq6l4zly
wRp/UUrrvWaZrNR15fKl
=YIPp
-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 beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [beagleboard] disassociating from 00:25...[snip] by local choice (reason=3) ?

2013-11-13 Thread Jacob Ole Juul Kolding
2013/11/13 Nuno Sucena Almeida 

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 11/13/2013 07:43 AM, Jacob Ole Juul Kolding wrote:
> > Can anyone tell me whats wrong?
> >
> > Thanks!
> > /Jacob
>
> What hardware do you have? You might to build a new driver out of tree,
> the one that comes with the kernel doesn't work properly with some
> devices. I managed to cross compile the kernel by following Robert's
> instructions and then cross compiled the driver and now it's working fine.
> I'm running ubuntu 13.04 armhf and I used the driver git repository
> mentioned here:
>

I'm using a noname USB WiFi dongle labeled RTL8188 on a beaglebone black.

I tried removing avahi-daemon and wpa-supplement and after
a reboot I can now do:

iwconfig wlan0 essid 

and get:

[  153.579456] wlan0: authenticate with 00:25:9c:4d:25:8e
[  153.619702] wlan0: send auth to 00:25:9c:4d:25:8e (try 1/3)
[  153.623978] wlan0: authenticated
[  153.627925] wlan0: associate with 00:25:9c:4d:25:8e (try 1/3)
[  153.687483] wlan0: RX AssocResp from 00:25:9c:4d:25:8e (capab=0x401
status=0 aid=5)
[  153.688098] wlan0: associated
[  153.688673] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

iwconfig:

wlan0 IEEE 802.11bgn  ESSID:"R0x0r1337"
  Mode:Managed  Frequency:2.412 GHz  Access Point:
00:25:9C:4D:25:8E
  Bit Rate=72.2 Mb/s   Tx-Power=20 dBm
  Retry  long limit:7   RTS thr=2347 B   Fragment thr:off
  Encryption key:off
  Power Management:off
  Link Quality=25/70  Signal level=-85 dBm
  Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
  Tx excessive retries:0  Invalid misc:0   Missed beacon:0


But ifconfig shows that there is no inet4 address: ??

wlan0 Link encap:Ethernet  HWaddr 00:13:ef:c0:16:ae
  inet6 addr: fe80::213:efff:fec0:16ae/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:566 errors:0 dropped:0 overruns:0 frame:0
  TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:142070 (142.0 KB)  TX bytes:11306 (11.3 KB)


I'll try compileing this driver


>
> <
> http://www.codealpha.net/864/how-to-set-up-a-rtl8192cu-on-the-beaglebone-black-bbb/
> >
>
>
Thanks!
/Jacob



> You might also want to add a few options to the driver:
>
> https://github.com/xbianonpi/xbian/issues/217#issuecomment-12995990
>
> regards,
> Nuno
>
> - --
> http://aeminium.org/nuno/
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.12 (GNU/Linux)
>
> iQIcBAEBAgAGBQJSg3xYAAoJEPIY6fuKMkz5O7oP/isbWwjelwRbZJhKu+ehEN9i
> q7EuWL89tyyksRpdScsknJsfWRwHrdoDuJJXciNxX9tAl+bo1wfQ7zeXG1rs3fKn
> SNN/BwExhDzDKwUcgR4bliPRsIBs8/d471rWpdCT75ySWcIvjSRvPECFRpeFLEDV
> FhynIqOQQx2cTrjf1M/qgcn8CvpLKXH2FOwB6XmDLqisTAbKZEM9zt9SpcAGf4R5
> 0HyTjfHCEE5bGIQPOF49NGCJigNfOtXfkSd0jjv+ZArL9HMoO8dMKJlKJHXOlXIz
> EzZ6PziyEwVVFf9C3U+gUUMKmWF1KW1Eys2318+l4CuyC9S6QTBOJbiWAl/OLGES
> Bdf31M15YazwRUi6cf2h/xKKq4/JW2FRJd+gbP9NBK7fm2e9HHUaoJE8KcqGuuLM
> WiQa8E0DZSgpsyl5vuWKgtNTrQioNa4/d3w1lMzRC4neplYUyBAGZaJak4vEj7HB
> RZicJB9otRxmg/w75YSioYLOHfelEENNJBTMueLE5KkL4mCziJGSENPZvHYyx0/T
> 7BDTtmFEnijGoRyQ07eumuLjXTu5bp0qTRM+KpypNDznet9tznOni2B/NzFAWbwR
> +Vvrno9bWXf6uOdQmGWtxNyP7M6s4G8i7byiR5VpYnsnwrfQXsbvSSo8jq6l4zly
> wRp/UUrrvWaZrNR15fKl
> =YIPp
> -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 beagleboard+unsubscr...@googlegroups.com.
> 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 beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [beagleboard] disassociating from 00:25...[snip] by local choice (reason=3) ?

2013-11-13 Thread Nuno Sucena Almeida
-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

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 beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [beagleboard] disassociating from 00:25...[snip] by local choice (reason=3) ?

2013-11-13 Thread Jacob Ole Juul Kolding
2013/11/13 Nuno Sucena Almeida 

> -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 [e

Re: [beagleboard] disassociating from 00:25...[snip] by local choice (reason=3) ?

2013-11-13 Thread Nuno Sucena Almeida
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/13/2013 09:01 AM, Jacob Ole Juul Kolding wrote:
> I'm not using  wpa supplicant, just dhcp

Cross-compiling from a x86_64 machine, with gnuabihf:

~$ arm-linux-gnueabihf-gcc --version
arm-linux-gnueabihf-gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3

driver source:
rtl8192cu_beaglebone $ git remote -v
origin  https://github.com/cmicali/rtl8192cu_beaglebone.git (fetch)
origin  https://github.com/cmicali/rtl8192cu_beaglebone.git (push)

rtl8192cu_beaglebone $ make KSRC=../kernel/linux-dev/KERNEL/
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -C
../kernel/linux-dev/KERNEL/ M=...

where KSRC=../kernel/linux-dev is Robert Nelson's kernel checkout:

kernel/linux-dev $ git remote -v
origin  git://github.com/RobertCNelson/linux-dev.git (fetch)
origin  git://github.com/RobertCNelson/linux-dev.git (push)

Install the module (and kernel) into the BBB.

wlan0 entry in /etc/network/interfaces:
auto wlan0
iface wlan0 inet dhcp
wpa-ssid "MYSSID"
wpa-psk  "MYPASSWORD"

/etc/modprobe.d/blacklist-rtl8192.conf:
blacklist rtl8192cu
blacklist rtl8192c_common
blacklist rtlwifi

/etc/modprobe.d/8192cu.conf:
options 8192cu rtw_power_mgnt=0 rtw_enusbss=0

uname -a
Linux bb1 3.8.13-nuno-bone28 #1 SMP Sat Oct 19 17:58:59 EDT 2013 armv7l
armv7l armv7l GNU/Linux

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 13.04
Release:13.04
Codename:   raring

regards,
Nuno

- -- 
http://aeminium.org/nuno/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJSg4zPAAoJEPIY6fuKMkz5guQP/1k/O2C+Res8BNBNu1p3yFVx
xJihDHeLFV9PjGhhoOI2h1u9L3goEInrWoGHShECc44pM/qjE3ixM8dChz6D+CCl
sGfMjKAjpjnH9k1d1B7acNLkowsFrILEupS/vz9akl0winx6fBywpSWSMRL+mths
N9/ZyEavrHp2W8LBXfBQJvT6ZMxfb9tXtjfOlAnCv8uQ/fDeZr/pyqDllg7KOvd8
PJQjHv6DQPCPWle+bxeyL3i+eYWA+kl/KQloaeRwL4knp5Zv6HPDAgsVivJn19Nr
/8C1XoISu4SUNb7KVKm9MynyKKy803Ow87H9OQXCXPpz4plHXYguXw93iD8nDG4V
0zyoL30/xShF9lfxiTZcfZ8C/Wk9neeta4qyvOv+k5fbBTa/jy+rNFrv26v36KZF
nwCsnZpGYRBrpi07x9rxbuz/Q85LKH7aUejEVLd32JrHW7gZTSRXUxy+ZWRywBRp
gFRwiRnCLnMH/RXJYSB0RZq7TZAA6LVQjAFLePScRsurqjsZ6IM8oik9xNvh7KGg
0KywZhpSVVaS84zH4G/KJzxaShQ5OjiflQtE92awjn1GrePKsFzLR4E4jDytWAd5
juC1DiPLFlZuPHgyWzoNIEPFt4N0Xj8DjEB27F7ocsxl29DM6XVw0yWicod9O0Qk
bVGq9v0/1twa1rrU3xO1
=41Kq
-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 beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [beagleboard] disassociating from 00:25...[snip] by local choice (reason=3) ?

2013-11-13 Thread Jacob Ole Juul Kolding
I tried compiling using your instructions but still get the same error:

dacobi@ubuntu:~/rtl8192cu_beaglebone2$ make KSRC=../linux-dev/KERNEL/
ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-

make[1]: Entering directory `/home/dacobi/linux-dev/KERNEL'
  CC [M]  /home/dacobi/rtl8192cu_beaglebone2/os_dep/linux/os_intfs.o
/home/dacobi/rtl8192cu_beaglebone2/os_dep/linux/os_intfs.c: In function
‘rtw_proc_init_one’:
/home/dacobi/rtl8192cu_beaglebone2/os_dep/linux/os_intfs.c:278:3: error:
implicit declaration of function ‘create_proc_entry’ (and so on..)

dacobi@ubuntu:~/rtl8192cu_beaglebone2$ arm-linux-gnueabihf-gcc --version
arm-linux-gnueabihf-gcc (Ubuntu/Linaro 4.8.1-10ubuntu7) 4.8.1

dacobi@ubuntu:~/rtl8192cu_beaglebone2$ git remote -v
originhttps://github.com/cmicali/rtl8192cu_beaglebone.git (fetch)
originhttps://github.com/cmicali/rtl8192cu_beaglebone.git (push)

dacobi@ubuntu:~/linux-dev$ git remote -v
origingit://github.com/RobertCNelson/linux-dev.git (fetch)
origingit://github.com/RobertCNelson/linux-dev.git (push)


/Jacob


2013/11/13 Nuno Sucena Almeida 

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 11/13/2013 09:01 AM, Jacob Ole Juul Kolding wrote:
> > I'm not using  wpa supplicant, just dhcp
>
> Cross-compiling from a x86_64 machine, with gnuabihf:
>
> ~$ arm-linux-gnueabihf-gcc --version
> arm-linux-gnueabihf-gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3
>
> driver source:
> rtl8192cu_beaglebone $ git remote -v
> origin  https://github.com/cmicali/rtl8192cu_beaglebone.git (fetch)
> origin  https://github.com/cmicali/rtl8192cu_beaglebone.git (push)
>
> rtl8192cu_beaglebone $ make KSRC=../kernel/linux-dev/KERNEL/
> make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -C
> ../kernel/linux-dev/KERNEL/ M=...
>
> where KSRC=../kernel/linux-dev is Robert Nelson's kernel checkout:
>
> kernel/linux-dev $ git remote -v
> origin  git://github.com/RobertCNelson/linux-dev.git (fetch)
> origin  git://github.com/RobertCNelson/linux-dev.git (push)
>
> Install the module (and kernel) into the BBB.
>
> wlan0 entry in /etc/network/interfaces:
> auto wlan0
> iface wlan0 inet dhcp
> wpa-ssid "MYSSID"
> wpa-psk  "MYPASSWORD"
>
> /etc/modprobe.d/blacklist-rtl8192.conf:
> blacklist rtl8192cu
> blacklist rtl8192c_common
> blacklist rtlwifi
>
> /etc/modprobe.d/8192cu.conf:
> options 8192cu rtw_power_mgnt=0 rtw_enusbss=0
>
> uname -a
> Linux bb1 3.8.13-nuno-bone28 #1 SMP Sat Oct 19 17:58:59 EDT 2013 armv7l
> armv7l armv7l GNU/Linux
>
> lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description:Ubuntu 13.04
> Release:13.04
> Codename:   raring
>
> regards,
> Nuno
>
> - --
> http://aeminium.org/nuno/
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.12 (GNU/Linux)
>
> iQIcBAEBAgAGBQJSg4zPAAoJEPIY6fuKMkz5guQP/1k/O2C+Res8BNBNu1p3yFVx
> xJihDHeLFV9PjGhhoOI2h1u9L3goEInrWoGHShECc44pM/qjE3ixM8dChz6D+CCl
> sGfMjKAjpjnH9k1d1B7acNLkowsFrILEupS/vz9akl0winx6fBywpSWSMRL+mths
> N9/ZyEavrHp2W8LBXfBQJvT6ZMxfb9tXtjfOlAnCv8uQ/fDeZr/pyqDllg7KOvd8
> PJQjHv6DQPCPWle+bxeyL3i+eYWA+kl/KQloaeRwL4knp5Zv6HPDAgsVivJn19Nr
> /8C1XoISu4SUNb7KVKm9MynyKKy803Ow87H9OQXCXPpz4plHXYguXw93iD8nDG4V
> 0zyoL30/xShF9lfxiTZcfZ8C/Wk9neeta4qyvOv+k5fbBTa/jy+rNFrv26v36KZF
> nwCsnZpGYRBrpi07x9rxbuz/Q85LKH7aUejEVLd32JrHW7gZTSRXUxy+ZWRywBRp
> gFRwiRnCLnMH/RXJYSB0RZq7TZAA6LVQjAFLePScRsurqjsZ6IM8oik9xNvh7KGg
> 0KywZhpSVVaS84zH4G/KJzxaShQ5OjiflQtE92awjn1GrePKsFzLR4E4jDytWAd5
> juC1DiPLFlZuPHgyWzoNIEPFt4N0Xj8DjEB27F7ocsxl29DM6XVw0yWicod9O0Qk
> bVGq9v0/1twa1rrU3xO1
> =41Kq
> -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 beagleboard+unsubscr...@googlegroups.com.
> 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 beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [beagleboard] disassociating from 00:25...[snip] by local choice (reason=3) ?

2013-11-13 Thread Nuno Sucena Almeida
On 11/13/2013 10:48 AM, Jacob Ole Juul Kolding wrote:
> I tried compiling using your instructions but still get the same error:

Did you cross-compile the kernel successfully before building the 8192
module? Which kernel version are you building?

Nuno

-- 
http://aeminium.org/nuno/

-- 
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 beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [beagleboard] disassociating from 00:25...[snip] by local choice (reason=3) ?

2013-11-13 Thread Jacob Ole Juul Kolding
The problem seems to be that create_proc_entry is deprecated:
(https://github.com/raspberrypi/linux/pull/328)

When I compiled I did

git checkout 3.12-bone8 and ran the build_kernel.sh
which invoked:

make -j8 ARCH=arm LOCALVERSION=-bone8
CROSS_COMPILE=/home/dacobi/linux-dev/dl/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-
zImage modules

and it was successful, but the rtl8192cu_beaglebone gave the same error.

/Jacob


2013/11/13 Nuno Sucena Almeida 

> On 11/13/2013 10:48 AM, Jacob Ole Juul Kolding wrote:
> > I tried compiling using your instructions but still get the same error:
>
> Did you cross-compile the kernel successfully before building the 8192
> module? Which kernel version are you building?
>
> Nuno
>
> --
> http://aeminium.org/nuno/
>
> --
> 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 beagleboard+unsubscr...@googlegroups.com.
> 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 beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [beagleboard] disassociating from 00:25...[snip] by local choice (reason=3) ?

2013-11-13 Thread Jacob Ole Juul Kolding
I applied the patch from the raspberrypi git and it compiled :)
I will test the module later tonight.

https://raw.github.com/cybertronic/linux/0fdfdc69c275018b29f5350b4ba64c5241fb1010/drivers/net/wireless/rtl8192cu/os_dep/linux/os_intfs.c

Thanks!
/Jacob


2013/11/13 Jacob Ole Juul Kolding 

> The problem seems to be that create_proc_entry is deprecated:
> (https://github.com/raspberrypi/linux/pull/328)
>
> When I compiled I did
>
> git checkout 3.12-bone8 and ran the build_kernel.sh
> which invoked:
>
> make -j8 ARCH=arm LOCALVERSION=-bone8
> CROSS_COMPILE=/home/dacobi/linux-dev/dl/gcc-linaro-arm-linux-gnueabihf-
> 4.8-2013.10_linux/bin/arm-linux-gnueabihf-  zImage modules
>
> and it was successful, but the rtl8192cu_beaglebone gave the same error.
>
> /Jacob
>
>
> 2013/11/13 Nuno Sucena Almeida 
>
>> On 11/13/2013 10:48 AM, Jacob Ole Juul Kolding wrote:
>> > I tried compiling using your instructions but still get the same error:
>>
>> Did you cross-compile the kernel successfully before building the 8192
>> module? Which kernel version are you building?
>>
>> Nuno
>>
>> --
>> http://aeminium.org/nuno/
>>
>> --
>> 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 beagleboard+unsubscr...@googlegroups.com.
>> 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.
>



-- 
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 beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [beagleboard] disassociating from 00:25...[snip] by local choice (reason=3) ?

2013-11-13 Thread Nuno Sucena Almeida
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/13/2013 11:41 AM, Jacob Ole Juul Kolding wrote:
> The problem seems to be that create_proc_entry is deprecated:
> (https://github.com/raspberrypi/linux/pull/328)
> 
> When I compiled I did
> 
> git checkout 3.12-bone8 and ran the build_kernel.sh

Nice to know when I try to upgrade mine :)

regards,
Nuno

- -- 
http://aeminium.org/nuno/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJSg71/AAoJEPIY6fuKMkz5GL0QAILW4sE7GEfbDcX8qWRoSOio
nMD5o2HrB1n7uNhctp8Y7RP4ny+6j9iNHlI0+lndMoY3t4lFrdV/wd7EF+It0pcB
PZhIkpYnBj68dZGlEc+n+5IkK2u3KemKX5z92ZnO1GU0h7KPpGUTyTbNzL57yjnt
mfkbnd8CNHD9jXFpMccQgDuMziNpZu9y7efNAnTkyeOsacWdElcqMO5Ln83Fc1eS
XULVDQqgsInlAVSSM43gmOPW+sAYQx5fdDC3dhPkxfRZoOw+4E2rl8hXEZQpNZXF
bgJH5DlODhPwdwfiL0SSzBRx2GKyIapc1fusOolFPucrfX+T0aS3E1LJhiq/loqt
mCrGQp1B99EMDWnNrDkNDOn1RDziAHOCvUKM0tX0mx1fuZ60oVHZrm/cJ+7pVaKC
VXt/c6LhUPubrsIOYjkPKcaIzr+KBsRdfPG6NIJ/VwHBdNSKdNTJk8wgUWs+RE1K
yTq1t9Xv3QpidGb+vn3B3EYgfFHEH02+LcSZvIjUtds9thJh9yOgbjeHv7/bNfUX
SkpWaDrZYWe10zeKorpu9256c6FKJeifKADJYQJ7BVxNAGC7zvjBU+GCeaIHHwC8
0atPZB/G6N5hMekclV05ZEU7bt0XZPIU+E9Ixvck7p08MkniYDbLtNglxFtu3cNf
Eucxy86BwhrfkRBYt02i
=VWAz
-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 beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.