Jump to content

sebastien35

Members
  • Posts

    11
  • Joined

  • Last visited

Recent Profile Visitors

924 profile views
  1. Thanks a lot! GND was not connected on the USB adapter! Now, with GND connected, it is perfect! And what about the use of /dev/ttyS2? Do you confirm that I have to use 3.3 level. I can't test it for now because I haven't level adapters.
  2. On the FTDI USB adapter, I can select 3.3 or 5V. With 5 V , I have the result posted previously. With 3.3V, it is worst
  3. Hello, I am trying to have a serial link between an arduino and a banana pi. As a basic test, the Arduino is sending "hello" every seconds. I observe that the reception by the Banana pi is not good. I have tried , several baud rates, /dev/ttyS2 and FTDi adaptor. The best result seems to be with the FTDI adapter , at 115200 bps. But I have still a lot of errors, see below. When I plug the FTDI adapter on my laptop, it works without issues. Do you know what could be the cause of my issues? Thank you Sebastien hell»½ýhgn·ïÏÞh»½ëèu·oÝÕýemmÍÿÿý¿¿ëÏÿÿýïï»ÿ½{í»ÿ¯nïÿý{¿ûoïÿÿÿÝÿïÏíumío^huw·oMÕhello hello hello hello hello hello hello hello hello ^hÛ·mÍïèunìïýj»û»ÿ¯ÿï{¯ÿÿïoõõooëÿÿûÿÿ÷ÿëîÿhÙ·no]Õhello hello hello hello hello hello hello hello hello ·hÝï·»íýìõímo¯ÿ~Ý··¿ÿÿ}Ý··ï½ýÿwïÿ¿ÿ×ÿÿÿÿ¿ÿûûÿÿíÿ÷ÿo¿¿ÞýlenloµhenloMNhello hello hello hello hello hello hello hello hello hello hello«h7ë{ë¿èåímo¯¯êõ}·»_ÿíõ»Oÿ¿óíïíïïûûëï¿ûýÿûÿÿÿïïýxu|loMÞhello hello hello hello hello hello hello hello hello hello hel·ë¯ÿheomïÍýèïo»ïÿîû÷mëïÿÿwûßÿÝÿÿýï¿ëê¯ÿûoÿûÿÿïïÿìo7|oÍõhullo
  4. Hello I have a bananapi m1 with armbian Linux bananapi 4.3.3-sunxi #3 SMP Mon Dec 28 11:27:16 CET 2015 armv7l GNU/Linux I need to add serial ports so I think I need to rebuild a kernel as described here: http://forum.armbian.com/index.php/topic/371-cubietruck-uart-3-4-7-pin-out-serial-ttys/ I follow the step described here: http://www.armbian.com/using-armbian-tools/ But when I run the compile.sh script, I don't found banapim1 in the list of device, I see banapim2, bananapipro, banapim2plus but not my deice. Could you indicate which ne must be selected? Thank you
  5. Ok I will try but same hostapd.conf with same dongle works with bananian and on a raspberry/raspbian
  6. I have tried with bridge mode and without authentication. My android fail to connect and I have no traces in syslog or hostapd output. Does exist a way to try with a kernel 3.18 for example?
  7. Now hostapd succed to start but it is not possible to connect on the access point. I have the folowing logs, if you have an idea: drv->ifindex=5 l2_sock_recv==l2_sock_xmit=0x0x766b0 +rtl871x_sta_deauth_ops, ff:ff:ff:ff:ff:ff is deauth, reason=2 rtl871x_set_key_ops rtl871x_set_key_ops rtl871x_set_key_ops rtl871x_set_key_ops Using interface wlan0 with hwaddr 10:fe:ed:17:28:2d and ssid "sgillard" rtl871x_set_wps_assoc_resp_ie rtl871x_set_wps_beacon_ie rtl871x_set_wps_probe_resp_ie random: Only 17/20 bytes of strong random data available from /dev/random random: Not enough entropy pool available for secure operations WPA: Not enough entropy in random pool for secure operations - update keys later when the first station connects rtl871x_set_beacon_ops rtl871x_set_hidden_ssid_ops ioctl[RTL_IOCTL_HOSTAPD]: Invalid argument rtl871x_set_key_ops wlan0: interface state UNINITIALIZED->ENABLED wlan0: AP-ENABLED +rtl871x_get_sta_wpaie, d0:e7:82:49:32:af is sta's address wlan0: STA d0:e7:82:49:32:af IEEE 802.11: associated rtl871x_set_key_ops rtl871x_set_key_ops rtl871x_set_key_ops +rtl871x_send_eapol +rtl871x_send_eapol wlan0: STA d0:e7:82:49:32:af WPA: received EAPOL-Key msg 2/4 in invalid state (10) - dropped +rtl871x_send_eapol wlan0: STA d0:e7:82:49:32:af WPA: received EAPOL-Key msg 2/4 in invalid state (10) - dropped +rtl871x_send_eapol wlan0: STA d0:e7:82:49:32:af WPA: received EAPOL-Key msg 2/4 in invalid state (10) - dropped +rtl871x_send_eapol wlan0: STA d0:e7:82:49:32:af IEEE 802.11: disassociated rtl871x_set_key_ops rtl871x_set_key_ops +rtl871x_sta_remove_ops, d0:e7:82:49:32:af is sta address removed +rtl871x_get_sta_wpaie, d0:e7:82:49:32:af is sta's address wlan0: STA d0:e7:82:49:32:af IEEE 802.11: associated
  8. Ok, for this step, think I ned your help I have an error when I try to compile https://github.com/dz0ny/rt8192cu. root@bananapi:~/rt8192cu# make make ARCH=arm CROSS_COMPILE= -C /lib/modules/4.3.3-sunxi/build M=/root/rt8192cu modules make[1]: Entering directory '/usr/src/linux-headers-4.3.3-sunxi' CC [M] /root/rt8192cu/core/rtw_cmd.o /bin/sh: 1: scripts/basic/fixdep: not found scripts/Makefile.build:258: recipe for target '/root/rt8192cu/core/rtw_cmd.o' failed make[2]: *** [/root/rt8192cu/core/rtw_cmd.o] Error 127 Makefile:1378: recipe for target '_module_/root/rt8192cu' failed make[1]: *** [_module_/root/rt8192cu] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.3.3-sunxi' Makefile:584: recipe for target 'modules' failed
  9. I confirm I have same issue if I follow the doc http://www.armbian.com/documentation/
  10. I have also errors: hostapd: root@bananapi:~# hostapd /etc/hostapd/hostapd.conf Configuration file: /etc/hostapd/hostapd.conf drv->ifindex=5 l2_sock_recv==l2_sock_xmit=0x0x62638 ioctl[SIOCSIWMODE]: Invalid argument Could not set interface to mode(3)! Could not set interface to master mode! rtl871xdrv driver initialization failed. hostapd-rt: root@bananapi:~# hostapd-rt /etc/hostapd/hostapd.conf Configuration file: /etc/hostapd/hostapd.conf drv->ifindex=5 l2_sock_recv==l2_sock_xmit=0x0x766b0 ioctl[SIOCSIWMODE]: Invalid argument Could not set interface to mode(3)! Could not set interface to master mode! rtl871xdrv driver initialization failed. wlan0: interface state UNINITIALIZED->DISABLED wlan0: AP-DISABLED hostapd_free_hapd_data: Interface wlan0 wasn't started
  11. Hello , I have setup a banana pi with armbian: Linux bananapi 4.3.3-sunxi #3 SMP Mon Dec 28 11:27:16 CET 2015 armv7l GNU/Linux I wuld like to setup a wifi access point from a rtl wifi dongle. Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter First, I have tried with bananian and it was working perfectly. But I have also a tv adapter not working with bananian, kernel 3.4 seems not support it. With armbian vanilla, the tv adapter is supported but it seems to have an issue with the wifi dongle driver. When I start hostapd-rt, I have the following errors: drv->ifindex=5 l2_sock_recv==l2_sock_xmit=0x0x766b0 ioctl[SIOCSIWMODE]: Invalid argument Could not set interface to mode(3)! Could not set interface to master mode! rtl871xdrv driver initialization failed. wlan0: interface state UNINITIALIZED->DISABLED wlan0: AP-DISABLED hostapd_free_hapd_data: Interface wlan0 wasn't started Do you have already ssen this issue? I have seen that it is possible to build a driver provided by realtek. Do you think it culd solve it? I could try it but I need help how to do it. I supose I need to follow this page: http://www.armbian.com/using-armbian-tools/and include the realtek driver? Thank you
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines