Jump to content

Lucas Schiochet

Members
  • Posts

    9
  • Joined

  • Last visited

Posts posted by Lucas Schiochet


  1. Hi,

    We are testing our orange pi one in critical external environments like warehouses, manufacturing and other.

    In some cases, even if the good case there is a misconnection between the sd card and the orange pi one.

    Connected in ssh i can access the orange pi but a lot of command cannot responde anymore, like ls, top, htop, tail and others.

    Even the reboot shows me the input-output-error, and the only way to reboot the hardware is using "echo b > /proc/sysrq-trigger".

    When this happens, i tried create a cron with 'at' or background jobs using sh like './script.sh &' with the content "echo b > /proc/sysrq-trigger" but still not works.

    My question is, when i remove the sd card from the board a lot of i/o features are disable.
    How can i identity and reboot when this happen automatically?

    i am using orange pi one based on linux 4.14 ubuntu xenial.


    Thanks

     

  2. Hi,

    I am using orange pi one with the ubuntu desktop version.

    When i am trying to change the region using 'iw reg set US' and after retrieving the value using 'iw reg get'  still the region are not changed.

     

    I was following the doc. https://null-byte.wonderhowto.com/how-to/ultimate-guide-upping-tx-power-kali-linux-2-0-0168325/ and was able to do it all steps but impossible to change region.

     

    Can anyone help me in this issue?

     

    Thanks in advance

  3. After reboot and start the hotspot using create_ap the wlan0 start works using traffic control.

     

    root@orangepipc:~# sudo tc qdisc add dev wlan0 root handle 1: cbq avpkt 1000 bandwidth 100mbit

    root@orangepipc:~# sudo tc class add dev wlan0 parent 1: classid 1:1 cbq rate 500kbit allot 1500 prio 5 bounded isolated

    root@orangepipc:~# sudo tc class add dev wlan0 parent 1: classid 1:2 cbq rate 500kbit allot 1500 prio 5 bounded isolated

    root@orangepipc:~# sudo tc filter add dev wlan0 parent 1: protocol ip prio 16 u32 match ip dst 192.168.12.7/32 flowid 1:1

     

    Thanks again for yours help @wildcat_paris and @zador.blood.stained

     

    create_ap -> https://github.com/oblique/create_ap

  4. Hi,

     

    I'm using an Orange Pi PC and i'm having some issues using traffic control.

     

    I'm using the correct network interface using the command

    tc qdisc add dev wlx30b5c214fe58 root handle 1: cbq avpkt 1000 bandwidth 100mbit
    tc class add dev wlx30b5c214fe58 parent 1: classid 1:1 cbq rate 500kbit allot 1500 prio 5 bounded isolated
    tc class add dev wlx30b5c214fe58 parent 1: classid 1:2 cbq rate 500kbit allot 1500 prio 5 bounded isolated

    tc class add dev wlx30b5c214fe58 parent 1: classid 1:1 cbq rate 10kbit allot 1500 prio 5 bounded isolated

    and i received the error RTNETLINK answers: No such file or directory
     
    After some reading i saw that is missing 'kernel-modules-extra'.
     

    Can someone have this issue also or can help me pls?!

    Thanks in advance,

    Lucas Schiochet

     
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines