Jump to content

domoticity

Members
  • Posts

    35
  • Joined

  • Last visited

Everything posted by domoticity

  1. Hy. I haven't tried tout launcher manually. But with a Bash script starting automatically at the boot but it failed.
  2. Hy Of course. I upload it in a share cloud and give toi the link. But IMPORTANT, nous apt-get upgrade
  3. Hy I answer myself :) I have found what's going wrong. tinkerboard register the interfaces in this files /etc/udev/rules.d/70-persistent-net.rule When the eth0 is already used, the next mac adress takes eth1. So the solution: delete this files /etc/udev/rules.d/70-persistent-net.rule
  4. Hy again :p; I have customed my sd for my tinkerboard. i have done some settings like eth0 in static, partitions modified scripts and hostapd. When i put it in another Tinkerboard, everything works except wifi ap. I have searched why, and i have found that in my initial tinkerboard wifi is wlan0 and his settings is in /etc/network/interfaces.d/armbian.ap.nat When i put my SD in another tinkerboard, it is wlan1 which mounts and no wlan0. Wlan1 has no ip address. i don't see where is the problem? thanks by advance
  5. Hy, thank you for your answer. I will do t, Mac address instead the SN.
  6. Hy, I'm looking for a Command to get the Serial Number of my Tinkerboard. I have found this in the Web : cat /proc/cpuinfo | grep Serial | sed s/.*\ //g But i get 000000000000. Someone have an Idea please? Thank you :)
  7. Hy. Do you want the logs or thé armbian Jessie,where it Works ou stretch, where it doesn't work?
  8. Hy. When i use your image "ARMBIAN 5.73 stable Debian GNU/Linux 8 (jessie) 4.19.20-rockchip)" it Works. BUT don't do an apt-upgrade,if not it will crash. I have a copy of this img if you need.
  9. Hy, I have tried to use my tinkerboard like an hotspot. configuration done with armbian-config. when i used the armbian jessie ( ARMBIAN 5.73 stable Debian GNU/Linux 8 (jessie) 4.19.20-rockchip) : everything works IF i don't do an apt-upgrade. If i do an apt-upgrade or using the last img of armbian strectch, i cannot connect any devices to my Tinkerboard : here what i have when i used ssh to see what's wrong : Can somebody help me please
  10. Hy Thank you for your help. For a Dhcp fiber connexion, which Mtu do you recommend?
  11. here the dstat root@diagbox:/diagbox/scripts_sh# dstat -cdnm ----total-cpu-usage---- -dsk/total- -net/total- ------memory-usage----- usr sys idl wai hiq siq| read writ| recv send| used buff cach free 0 1 99 0 0 0| 226k 47k| 0 0 | 115M 12.0M 177M 1702M 1 1 98 0 0 0| 0 0 |5678B 172k| 115M 12.0M 177M 1702M 0 0 100 0 0 0| 0 0 |6016B 176k| 115M 12.0M 177M 1702M 0 0 100 0 0 0| 0 0 |3820B 179k| 115M 12.0M 177M 1702M 0 0 100 0 0 0| 0 0 |4908B 189k| 115M 12.0M 177M 1702M 0 0 100 0 0 0| 0 0 |4169B 179k| 115M 12.0M 177M 1702M 0 0 99 0 0 0| 0 0 |3922B 182k| 115M 12.0M 177M 1702M 0 0 100 0 0 0| 0 0 |3820B 176k| 115M 12.0M 177M 1702M 0 0 100 0 0 0| 0 0 |4148B 176k| 115M 12.0M 177M 1702M 0 0 100 0 0 0| 0 0 |3922B 176k| 115M 12.0M 177M 1702M 0 0 100 0 0 0| 0 0 |3596B 170k| 115M 12.0M 177M 1702M 0 1 99 0 0 0| 0 0 |3730B 176k| 115M 12.0M 177M 1702M 1 5 95 0 0 0| 0 0 |6198B 49k| 115M 12.0M 177M 1702M 0 0 100 0 0 0| 0 0 |2398B 2404B| 114M 12.0M 177M 1702M 1 1 98 0 0 0| 0 0 |5217k 13k| 115M 12.0M 177M 1702M 1 5 94 0 0 1| 0 0 | 108M 156k| 115M 12.0M 177M 1701M 0 4 96 0 0 0| 0 0 | 85M 152k| 115M 12.0M 177M 1702M 0 4 95 0 0 0| 0 0 | 83M 152k| 115M 12.0M 177M 1701M 0 3 96 0 0 0| 0 0 | 85M 152k| 115M 12.0M 177M 1701M 0 5 95 0 0 1| 0 0 | 90M 152k| 115M 12.0M 177M 1701M 0 4 95 0 0 1| 0 0 | 86M 154k| 115M 12.0M 177M 1701M 0 5 93 0 0 2| 0 0 | 100M 151k| 115M 12.0M 177M 1702M 0 3 95 0 0 1| 0 0 | 89M 154k| 115M 12.0M 177M 1701M 0 4 96 0 0 1| 0 0 | 82M 152k| 115M 12.0M 177M 1702M 0 4 94 0 0 2| 0 0 | 102M 142k| 115M 12.0M 177M 1702M 0 0 100 0 0 0| 0 0 |1626B 2866B| 115M 12.0M 177M 1702M 0 0 100 0 0 0| 0 0 | 192B 668B| 115M 12.0M 177M 1702M And here the speedtest for upload : ==> normally i have between 200 and 280M root@diagbox:~# iperf3 -c bouygues.iperf.fr -4 -p 5202 Connecting to host bouygues.iperf.fr, port 5202 [ 4] local 2.15.12.45 port 48846 connected to 89.84.1.222 port 5202 [ ID] Interval Transfer Bandwidth Retr Cwnd [ 4] 0.00-1.00 sec 129 KBytes 1.05 Mbits/sec 0 36.8 KBytes [ 4] 1.00-2.00 sec 105 KBytes 857 Kbits/sec 0 41.0 KBytes [ 4] 2.00-3.00 sec 90.5 KBytes 741 Kbits/sec 0 45.2 KBytes [ 4] 3.00-4.00 sec 102 KBytes 834 Kbits/sec 0 53.7 KBytes [ 4] 4.00-5.00 sec 84.8 KBytes 695 Kbits/sec 0 63.6 KBytes [ 4] 5.00-6.00 sec 84.8 KBytes 695 Kbits/sec 0 63.6 KBytes [ 4] 6.00-7.00 sec 84.8 KBytes 695 Kbits/sec 0 70.7 KBytes [ 4] 7.00-8.00 sec 113 KBytes 926 Kbits/sec 0 97.6 KBytes [ 4] 8.00-9.00 sec 130 KBytes 1.07 Mbits/sec 0 97.6 KBytes [ 4] 9.00-10.00 sec 65.0 KBytes 533 Kbits/sec 0 97.6 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bandwidth Retr [ 4] 0.00-10.00 sec 988 KBytes 810 Kbits/sec 0 sender [ 4] 0.00-10.00 sec 877 KBytes 718 Kbits/sec receiver and here the download : ==> normally i have between 880 and 940M root@diagbox:~# iperf3 -c bouygues.iperf.fr -4 -p 5202 -R Connecting to host bouygues.iperf.fr, port 5202 Reverse mode, remote host bouygues.iperf.fr is sending [ 4] local 2.15.12.45 port 48850 connected to 89.84.1.222 port 5202 [ ID] Interval Transfer Bandwidth [ 4] 0.00-1.00 sec 50.4 MBytes 423 Mbits/sec [ 4] 1.00-2.00 sec 41.6 MBytes 349 Mbits/sec [ 4] 2.00-3.00 sec 40.5 MBytes 339 Mbits/sec [ 4] 3.00-4.00 sec 41.1 MBytes 344 Mbits/sec [ 4] 4.00-5.00 sec 42.7 MBytes 358 Mbits/sec [ 4] 5.00-6.00 sec 43.6 MBytes 366 Mbits/sec [ 4] 6.00-7.00 sec 45.3 MBytes 380 Mbits/sec [ 4] 7.00-8.00 sec 47.0 MBytes 394 Mbits/sec [ 4] 8.00-9.00 sec 39.8 MBytes 334 Mbits/sec [ 4] 9.00-10.00 sec 51.7 MBytes 433 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bandwidth Retr [ 4] 0.00-10.00 sec 446 MBytes 374 Mbits/sec 0 sender [ 4] 0.00-10.00 sec 446 MBytes 374 Mbits/sec receiver
  12. the TinkerBoard is the final traffic destination. thank you for your help
  13. Hy, Thank you for you Answer When i do a speedtest in my lan behind the router, i have 9300M uo and down. But when i what to replace my fiber box by my Asus Tinkerboard, plugging in directly behind my optical terminal i have 150M maximum
  14. Hy, I have a Tinkerboard with armbian ( debian jessie). When I put behind my fiber router, and i do a speed test i have : With iperf3 ==> download : 980M and upload : 240M with speedtest-cli ==> More or less Results. I wanted to conenct my Asus's card behind the ONT(Optical Termination Boxes) i can connect with pppoe or dhcp. And in pppoe or dhcp my speed test show this : With iperf3 ==> download : 110M and upload : 80M with speedtest-cli ==> More or less Results. I have tested with anorther Board, bananapi mé with Bananian and i have the same Results if I put behind my fiber router so : With iperf3 ==> download : 980M and upload : 240M with speedtest-cli ==> More or less Results. Someone can help me
  15. hy, i know it's off topic but i don't know where i can put my quesiton. so i have a Bananapi m2 with bananian =>> there are two partition : boot ( mmcblk0p1) and root(mmcblk1) Can i add another root's parition(mmcblk2) and switch between the two root's partition? 'V£ ^‰UÐ?, L _E#Ö D #-------------------------------------------------------------------------------------------------------------------------------- # Boot loader script to boot with different boot methods for old and new kernel # Credits: https://github.com/igorpecovnik - Thank you for this great script! #-------------------------------------------------------------------------------------------------------------------------------- if load mmc 0:1 0x00000000 uImage-next then # mainline kernel >= 4.x #-------------------------------------------------------------------------------------------------------------------------------- setenv bootargs console=ttyS0,115200 console=tty0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait load mmc 0:1 0x49000000 dtb/${fdtfile} load mmc 0:1 0x46000000 uImage-next bootm 0x46000000 - 0x49000000 #-------------------------------------------------------------------------------------------------------------------------------- else # sunxi 3.4.x #-------------------------------------------------------------------------------------------------------------------------------- setenv bootargs console=ttyS0,115200 console=tty0 console=tty1 sunxi_g2d_mem_reserve=0 sunxi_ve_mem_reserve=0 hdmi.audio=EDID:0 disp.screen0_output_mode=EDID:1680x1050p60 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait setenv bootm_boot_mode sec load mmc 0:1 0x43000000 script.bin load mmc 0:1 0x48000000 uImage bootm 0x48000000 #-------------------------------------------------------------------------------------------------------------------------------- fi This is the boot.scr I have tried to remplace root=/dev/mmcblk0p2 by root=/dev/mmcblk0p3 but it didn't work. Can you help me please ?
  16. Hello everyone. I would like to create an update system, which via a link on a web page, will check on an ftp server and if a version is newer, download the img file and install it. it is the installation part that poses me big problems. to write an img on the sd we must use the command dd if = ..... of = ...... But since the sd is used it does not work. I had thought of going through berryboot but a priori it is not functional on the m2. If someone has an idea thank you
  17. Hy i Would like to make a made home box tv with openelec do you think i can use infrared of my bananapi m64 for a remote controler
  18. Hy everybody, I have a fiber connexion at home. for my work, i tried to connect my Bananapi to my ONT (Optical Network Termination). My provider, Orange use pppoe with the vlan 832 for Internet. So i have installed the Packages vlan,ppp,pppoe. In /etc/modules i have added 8021q. in /etc/network/interfaces : auto eth0 eth0.832 ppp0 iface eth0 inet manual iface eth0.832 inet manual iface ppp0 inet ppp provider ft_fibre I have created /etc/ppp/peers/ft_fibre like this : pty "/usr/sbin/pppoe -I eth0.832 -T 80 -m 1452" noipdefault hide-password lcp-echo-interval 20 lcp-echo-failure 3 connect /bin/true noauth persist mtu 1492 usepeerdns defaultroute noaccomp default-asyncmap plugin rp-pppoe.so eth0.832 user "fti/blabla" instead "fti/blablabla" i have put the right username. and for /etc/ppp/chap-secrets and /etc/ppp/pap-secrets i have added : "fti/blabla" * "votrepassword" with right username and password. After a reboot, i launch my pppoe configuration like this : pon ft_fibre And it doesn't work. I have these Errors : Nov 20 22:16:42 localhost pppd[1131]: error sending pppoe packet: Network is down Nov 20 22:16:52 localhost pppd[1131]: error sending pppoe packet: Network is down Nov 20 22:17:02 localhost pppd[697]: Timeout waiting for PADO packets Nov 20 22:17:02 localhost pppd[697]: Unable to complete PPPoE Discovery Nov 20 22:17:07 localhost pppd[1156]: Plugin rp-pppoe.so loaded. Nov 20 22:17:07 localhost pppd[1157]: pppd 2.4.6 started by root, uid 0 Nov 20 22:17:07 localhost pppd[1157]: error sending pppoe packet: Network is down Nov 20 22:17:07 localhost pppd[1157]: error receiving pppoe packet: Network is down root@bananapim2:~# ifup ppp0 ifup: interface ppp0 already configured root@bananapim2:~# ifup eth0.83é Ignoring unknown interface eth0.83é=eth0.83é. root@bananapim2:~# ifup eth0.832 ifup: interface eth0.832 already configured root@bananapim2:~# pon fibre Plugin rp-pppoe.so loaded. root@bananapim2:~# plog Nov 20 22:17:32 localhost pppd[697]: error sending pppoe packet: Network is down Nov 20 22:17:32 localhost pppd[697]: error receiving pppoe packet: Network is down Nov 20 22:17:37 localhost pppd[697]: error sending pppoe packet: Network is down Nov 20 22:17:39 localhost pppd[1164]: Plugin rp-pppoe.so loaded. Nov 20 22:17:39 localhost pppd[1165]: pppd 2.4.6 started by root, uid 0 Nov 20 22:17:39 localhost pppd[1165]: error sending pppoe packet: Network is down Nov 20 22:17:39 localhost pppd[1165]: error receiving pppoe packet: Network is down Nov 20 22:17:42 localhost pppd[1131]: error sending pppoe packet: Network is down Nov 20 22:17:42 localhost pppd[1131]: error receiving pppoe packet: Network is down root@bananapim2:~# nano /etc/ppp/peerrs/fibre root@bananapim2:~# nano /etc/ppp/peers/fibre root@bananapim2:~# pon fibre root@bananapim2:~# plog Nov 20 22:18:09 localhost pppd[1172]: pppd 2.4.6 started by root, uid 0 Nov 20 22:18:09 localhost pppd[1172]: Serial connection established. Nov 20 22:18:09 localhost pppd[1172]: Using interface ppp0 Nov 20 22:18:09 localhost pppd[1172]: Connect: ppp0 <--> /dev/pts/1 root@bananapim2:~# plog Nov 20 22:18:09 localhost pppd[1172]: Serial connection established. Nov 20 22:18:09 localhost pppd[1172]: Using interface ppp0 Nov 20 22:18:09 localhost pppd[1172]: Connect: ppp0 <--> /dev/pts/1 root@bananapim2:~# plog Nov 20 22:18:14 localhost pppd[1165]: Timeout waiting for PADO packets Nov 20 22:18:15 localhost pppd[1165]: Unable to complete PPPoE Discovery Nov 20 22:18:17 localhost pppd[1131]: Timeout waiting for PADO packets Nov 20 22:18:17 localhost pppd[1131]: Unable to complete PPPoE Discovery root@bananapim2:~# In my raspberry pi 2, it works. Could womeone have an idea ? thank you.
  19. Hy, Someone could say me if PPP is in the Kernel natively? Thanks
  20. not for problem. In this Topics,it's said But with mine, id don't go beyond 300mbits in download. I am have normally 750mbits
  21. @tkaiser Hy, Can you tell me which OS do you used in this M2 berry? Ubuntu or raspbian? Thanks
  22. Hy, I have found the Solution. Tested with a Banana pi m64 and the m2 Berry ( with AP6212 and driver BCMDHD). First : For HOSTAPD . If you are in Ubuntu, just do a apt-get install hostapd If you are in Debian, use the Second Method of this Link. Then, make the hostapd.conf An Example : interface=uap0 ssid=testPiAP hw_mode=g channel=11 macaddr_acl=0 auth_algs=1 ignore_broadcast_ssid=0 wpa=2 wpa_passphrase=badpassword wpa_key_mgmt=WPA-PSK wpa_pairwise=TKIP rsn_pairwise=CCMP AP MODE : the msot important sudo nano /etc/modprobe.d/bcmdhd.conf. and write options bcmdhd op_mode=2 Reboot the Card. To see if the AP mode is ok : systool -m bcmdhd -v If you haven't the Systool sudo apt-get install sysfsutils And to launch hostapd sudo hostapd /etc/hostapd/hostapd.conf I hope i was understandable with my Bad English
  23. Hello Someone can say me if the Transfert RAte is limited at 300mo or like the Bananapi m64 a true Gigabit. Thanks
  24. Hy When I do a Speedtest-cli with my Bananapi m1, I have 320mo for Download and 180mo for Upload. When I do with my Laptop I have 700mo for Download and 180mo for Upload. My os is Armbian. I have also a Bananapi M64 and with her I have the same results than my Laptop. Some one has an Idea? Thanks
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines