Jump to content

jkajolin

Members
  • Posts

    47
  • Joined

  • Last visited

Posts posted by jkajolin

  1. All socks have terrible slow filesystems even 10 years old market pc runs faster.

    Example linux swap is terrible slow from sd-card.

    javas biggest problem is and has always been garbage collector it makes the software really cpu depended and on weak systems the performance is poor. 

     

    For a pure performance I would go for the small size embedded pc's.

    Java is reasonable if you have alot of memory, strong CPU and the application loads as match as possible at startup.

  2. Running Linux under Linux is quite power full. I example have a 8-core, 32GB RAM machine which I use to run libvirt/QEMU on local SDD hard drives.
    At work I use Oracle VirtualBox under MacOS and libvirt/QEMU under Linux Desktop, its so easy to mess up your desktop just be installing some garbage and there is not real uninstall on Linux environments.

    Just create a clean installation and snapshot it then revert as needed for clean installations.

    Performance is not the best on desktop installation as the desktop itself takes quite a lot of resources and the virtual filesystem is really slow.

     

  3. got today mine.

    raspberry pi zero W v.1.1

    at first glance don't see where the wireless chip is but have to see if have time to get it running

     

    seems similar to what Raspberry Pi 3 install process does
    - serial console is blocked by the bluetooth chip (which you can override from /boot/config.txt; dtoverlay=pi3-disable-bt)
    - remote ssh is blocked (haven't checked what the raspiconfig does to allow it)

    - uses wpa_suplicant for wireless

     lsmod
    Module                  Size  Used by
    sg                     20831  0 
    brcmfmac              201842  0 
    brcmutil                9031  1 brcmfmac
    snd_bcm2835            23131  0 
    snd_pcm                95473  1 snd_bcm2835
    snd_timer              22556  1 snd_pcm
    snd                    68400  3 snd_bcm2835,snd_timer,snd_pcm
    cfg80211              500739  1 brcmfmac
    rfkill                 21397  2 cfg80211
    bcm2835_gpiomem         3759  0 
    bcm2835_wdt             4133  0 
    uio_pdrv_genirq         3718  0 
    uio                    10230  1 uio_pdrv_genirq
    ipv6                  367697  20 
    
    # lscpu
    Architecture:          armv6l
    Byte Order:            Little Endian
    CPU(s):                1
    On-line CPU(s) list:   0
    Thread(s) per core:    1
    Core(s) per socket:    1
    Socket(s):             1
    Model name:            ARMv6-compatible processor rev 7 (v6l)
    CPU max MHz:           1000.0000
    CPU min MHz:           700.0000
    
    root@zerow1:~# ifconfig wlan0
    wlan0     Link encap:Ethernet  HWaddr ---  
              inet addr:192.168.88.194  Bcast:192.168.88.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:8213 errors:0 dropped:21 overruns:0 frame:0
              TX packets:2790 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:10297797 (9.8 MiB)  TX bytes:351783 (343.5 KiB)

     

    IMG_20170307_183921.jpg

  4. You can not do anything for the digital pin rules, the difference between low and high is hardcoded. From what I understand there is no single value for the threshold but it works on higher than some targed value...

    Some logic coverter might work but I think you need analog device which basic socs do not support

     

    Maybe somebody has idea if in digital mode I can set up at which level it should react? Or do I have to set up physical electronic filter before sending this to GPIO input?

  5. Using wlan scanner from mobile phone I did notice that the channel 1 was not the best one.
    I have 3 wlan routers in differend rooms and hard wired lan cables between them so there might be some overlapping.

    i did the test on cheap market lenovo laptop it showed about 4mbit speed. From a normal wlan router the speed was something like 15mbit.

    With hostap I removed the network manager alltogether. I have the same configuration on pc plus and pc 2e which seem to work fine atleast with one esp8266 client posting iot data on 1 min intervals. Have't done any stresstests yet with multiple clients. I have around 20 units ready to be used some day hopefully soon

  6. It seems to have the same problem than with hostap.
    It works fine for a while but then the client connection starts to fail and the kernel starts to spam these messages
    There is nothing to do other than disconnect the client and try again as it seems to work again

    Feb 18 16:48:13 iothub1 kernel: [ 3081.881165] xradio_wlan mmc1:0001:1: received frame has no key status
    
    
  7. Had some free time to toy around with Orange Pi Zero

     

    Used a image "Armbian_5.26_Orangepizero_Ubuntu_xenial_dev_4.10.0.img" build with  'compile.sh BRANCH=dev BOARD=orangepizero KERNEL_ONLY=no PROGRESS_DISPLAY=plain RELEASE=xenial BUILD_DESKTOP=no'

    - which should not do anything special ?

     

    1) First steps

    - run upgrades and normal tweaking (changed hostname, disabled ipv6, changed ntp, changed time-zone, generated correct locale)

     

    2) Ensure that WLAN0 is working as client

    - using 'nmtui' created a new connection to my desktop WLAN router

    - disabled auto connect from eth0

    - reboot with serial connection

    - run example speedtest-cli to see that the driver do work

     

    3) Removed the client profile and redo the eth0 for auto connection

     

    4) I used these lines to create the sample profile but them afterwards tweaked it around with nmtui 'edit profile'

    nmcli c add type wifi ifname wlan0 con-name ap-wlan0 autoconnect no ssid zmserver
    nmcli connection modify ap-wlan0 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared
    nmcli connection modify ap-wlan0 wifi-sec.key-mgmt wpa-psk
    nmcli connection modify ap-wlan0 wifi-sec.psk "password"
    nmcli connection up ap-wlan0
    

    Key points here are 802-11-wireless.mode ap and shared

    - shared means that network manager creates "internet-connection sharing" like MacOS and Windows wizards

    - you cannot give dns-server or any other setting while using the shared - selection

     

    Ensure that the "automatically connect" is selected to make sure that the connection is started when booted

     

    5)

     

    I do have the basic nat lines enabled with 'iptables-persistent'

    sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward"
    
    iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
    iptables -A FORWARD -i eth0 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT
    iptables -A FORWARD -i wlan0 -o eth0 -j ACCEPT
    

    6)

     

    Actual profile

    root@iothub1:/etc/NetworkManager/system-connections# more AP 
    [connection]
    id=AP
    uuid=8e0bb6d9-52f9-4000-bbfa-d49db6790598
    type=wifi
    interface-name=wlan0
    permissions=
    secondaries=
    timestamp=1487425840
    
    [wifi]
    band=bg
    channel=1
    mac-address-blacklist=
    mac-address-randomization=0
    mode=ap
    seen-bssids=12:42:13:81:F5:29;
    ssid=IotHub1
    
    [wifi-security]
    group=
    key-mgmt=wpa-psk
    pairwise=
    proto=
    psk=iothub123
    
    [ipv4]
    dns-search=
    method=shared
    
    [ipv6]
    addr-gen-mode=stable-privacy
    dns-search=
    method=ignore
    
    

    Some output

    # nmcli d
    DEVICE  TYPE      STATE      CONNECTION         
    eth0    ethernet  connected  Wired connection 1 
    wlan0   wifi      connected  AP                 
    lo      loopback  unmanaged  --                 
    
    # nmcli c
    NAME                UUID                                  TYPE             DEVICE 
    AP                  8e0bb6d9-52f9-4000-bbfa-d49db6790598  802-11-wireless  wlan0  
    Wired connection 1  b9e400ce-f567-3f12-b459-366adc05a7f2  802-3-ethernet   eth0   
    
    # ifconfig
    eth0      Link encap:Ethernet  HWaddr 02:42:13:81:f5:29  
              inet addr:192.168.88.206  Bcast:192.168.88.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:45505 errors:0 dropped:0 overruns:0 frame:0
              TX packets:28178 errors:0 dropped:0 overruns:0 carrier:0
              collisions:20 txqueuelen:1000 
              RX bytes:66887562 (66.8 MB)  TX bytes:2051800 (2.0 MB)
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0   TX bytes:0 (0.0 
    
    wlan0     Link encap:Ethernet  HWaddr 12:42:13:81:f5:29  
              inet addr:10.42.0.1  Bcast:10.42.0.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:27567 errors:0 dropped:0 overruns:0 frame:0
              TX packets:44475 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:1901813 (1.9 MB)  TX bytes:67699829 (67.6 MB)
    
    # iwconfig wlan0
    wlan0     IEEE 802.11  Mode:Master  Tx-Power=20 dBm   
              Retry short limit:7   RTS thr:off   Fragment thr:off
              Power Management:off
    
    

    7)

     

    Does it work ==> YES

    Is it fast ==> NO

    Is it realiable ==> DO NOT KNOW

    Feb 18 16:25:35 iothub1 wpa_supplicant[706]: wlan0: AP-STA-DISCONNECTED 78:45:61:ee:43:47
    Feb 18 16:25:35 iothub1 kernel: [ 1723.628815] ieee80211 phy0: vif 0: set_key cmd 1
    Feb 18 16:25:35 iothub1 wpa_supplicant[706]: Device is trying to offload WPS Probe Response while not supporting this
    Feb 18 16:25:38 iothub1 wpa_supplicant[706]: Device is trying to offload WPS Probe Response while not supporting this
    Feb 18 16:25:38 iothub1 wpa_supplicant[706]: wlan0: AP-STA-CONNECTED 78:45:61:ee:43:47
    Feb 18 16:25:38 iothub1 kernel: [ 1726.789198] ieee80211 phy0: vif 0: set_key cmd 0
    Feb 18 16:25:38 iothub1 kernel: [ 1726.789213] ieee80211 phy0: CCMP_PAIRWISE keylen=16!
    Feb 18 16:25:38 iothub1 dnsmasq-dhcp[902]: DHCPREQUEST(wlan0) 10.42.0.153 78:45:61:ee:43:47
    Feb 18 16:25:38 iothub1 dnsmasq-dhcp[902]: DHCPACK(wlan0) 10.42.0.153 78:45:61:ee:43:47 ideapad
    Feb 18 16:26:07 iothub1 kernel: [ 1755.102706] sunxi-mmc 1c10000.mmc: smc 1 err, cmd 53, RD DCE !!
    Feb 18 16:26:07 iothub1 kernel: [ 1755.109460] sunxi-mmc 1c10000.mmc: data error, sending stop command
    
    
  8. Most likely the device does not get enough power check used cable and charger.

     

     

    The second problem is the usb camera. It require reboot to be ok, if i disconnect the power supply and plug it in, it doesn't recognize the usb camera properly (almost in 70-80% of the test cases)

     

    So what is going on here, wifi dongle is shit ok, can u provide me a link to 5.20 distro for OPI Lite so i can check it if the drivers will be fine for the dongle and the camera and why the boot time is so high, because of the network services that starts ( we have ap on wlan0 and dongle on wlan1 who is connect to the internet)? 

     

  9. from my understanding you can't. unlike in arduino which can run 1wire on any free pin the linux soc's use kernel driver which is tied to a single master.

    the raspberry version is hack to the kernel driver creating a new 'duplicated' master port.. (haven't personally used it but read the guides)

  10. don't know if you are using the post marked by igor it show nothing on actual routing.

    perhaps the network manager does it internally adding iptable rows or something similar.

     

    hostap itself don't actually do anything for the networking layer other than just give the client ip-address all the interface tied routing is done by normal procedures.

    at least I don't know any other way to route traffic from one interface to another than iptables rules

     

    one thing to test whenever have some extra time...

     

     

    Another quick one...

     

    What causes network manager to instinctively port traffic from a wireless interface to the ethernet interface in an access point setting? I will read up on the documentation but essentially I am thinking of setting up an access point that ports traffic to another wireless network interface.

  11. I am using various DHT sensors. The one in picture indeed does have internal resistor. You can see it when loot at actual circuit board part.

    I have one running on Raspberry Pi Zero for now about a half of a year using Java JNI to C bridge.
    The DHT-11 fails quite often on read even with the 5 rereads cycle, the Linux is just too unreliable for the correct input counting.

     

    On Arduino like ESP8266 there is no multithreading and the timing is therefore more accurate than on Linux installations.

    It would be better using 1Wire sensor like DSDB1820 although at least on Raspberry Pi the whole 1Wire buss takes a lot of the CPU power as it always scans for new instances of the sensors.

  12. Just a note, on modern installations you don't ever manually configure the /etc/resolv.conf it is automatically maintained by other services. Plain openvpn installation don't do dns push lines unless you tweak them from the server side, the network manager plugin which is part of the gnome packages does this automatically while restarting whole networking.

     

    We have some amazon to datacenter bridges and even my soc installations are connected to datacenter network services by openvpn client. Most of the problems started when ubuntu started using network manager on desktop images but dns push routes took a lot off man hours to get them right. Currenlty I add manually the hostnames and don't rely on dns lookups.

     

    My problem is simply, that DNS resolving on Armbian does not work out of the box. It was not working when I was NOT using OpenVPN network - I had to configure resolv.conf manually, and it is not working out of the box now (I also had to configure resolv.conf manually).

     

    I m pretty sure this is due to some specific of Armbian, since on other OS things are just working without problem. It is also very strange, that DNS servers are accessible and network is working (i. e. ping, etc.).

     

    And yes, I rebooted machine after I tried creating those symlinks...

     

    Actually, I really do not care which DNS to use, the problem is, resolving is not working out of the box, i. e. without editing resolv.conf. And I am pretty sure this is some specific or. spme weird bug of Armbian.

  13. The current mainline kernel has the same problem with orange pi pc plus. Legacy image works but mainline don't. On mainline the wireless don't work even on client the initialization just fails. Tried my own build and the image provided, on a working installation the command what it is trying is to set the ap mode...

  14. Generally speaking linux boot will not slow down from any number of application installations. The core operation system is already running and the apps are started only after the os is already running.

     

    What does slow down is network errors, forced filesystem checks or maltunction on device layer. Just check the boot cycle from console to spot errors. Kernel modules do eat memory space but we are not talking here about 3party application gadgets.

    Example network manager will try to use dhcp even when the lan cable is not even connected...

     

    Run a apt-get clean to remove the package cache or if it does not help remove them manually.

    If you do not like to see the packages cut the available repositories from use but however upgrading becomes harder

  15. unless you have serial console cable (usb) there is really nothing to do.

    or you could try older version

     

    Hello,

    I have 2 Orange Pi Zero boards, one with 256MB RAM and one with 512MB RAM.

     

    I tried running both: Armbian_5.25_Orangepizero_Ubuntu_xenial_default_3.4.113.img and Armbian_5.24.170110_Orangepizero_Ubuntu_xenial_4.9.0.img, but the same thing happens.

    When I power on the OPZ, a few seconds later the Red LED starts blinking and doesn't stop... The issue is present on both boards.

    Any suggestions?

  16. It depends how the software is being installed. If example you use distributions own apt repositories it does not really matter.

    Ubuntu packages are updated a bit slower and sometimes have strange configuration but overal there is little difference.

     

    Personally I use ubuntu as I have more experience on it and use it on work.

    There has been big changes like systemctl management, network manager and unattended upgrades so things have evolved.

     

    I would use the ubuntu unless there is some reason example out dated version of packages or something similar.

     

    Using virtualmachines is so easy today so its easy to develop the non hardware depended parts before hand with fast deployment and debugging procedures.

     

    Hello,

     

    I want to do for personal use a server and for you it prefer use Debian version or Ubuntu ?

     

    Thanks

  17. Ubuntu xenial is a lot more stable use it instead.

    I have had several devices where after the upgrade the device fails to boot no more.

    Downloaded a new image an worked again (I think it was orange pi pc plus debian last time...).

     

    This was my second attempt and it finished with exactly the same result.

     

    Console log:

    ~$ ssh admin@zero
      ___                               ____  _   _____              
     / _ \ _ __ __ _ _ __   __ _  ___  |  _ \(_) |__  /___ _ __ ___  
    | | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | |   / // _ \ '__/ _ \ 
    | |_| | | | (_| | | | | (_| |  __/ |  __/| |  / /|  __/ | | (_) |
     \___/|_|  \__,_|_| |_|\__, |\___| |_|   |_| /____\___|_|  \___/ 
                           |___/                                     
    
    Welcome to ARMBIAN Debian GNU/Linux 8 (jessie) 3.4.113-sun8i 
    System load:   0.07            	Up time:       3 min		
    Memory usage:  9 % of 494Mb  	IP:            192.168.8.91
    CPU temp:      34°C           	
    Usage of /:    18% of 7.2G   	
    
    
    [ 7 updates to install: apt-get upgrade ]
    
    Last login: Sat Feb  4 14:15:58 2017 from 192.168.8.111
    ----------------------------------------------------------------------- 16:26:25
    admin@zero:~$ sudo apt-get upgrade -y
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Calculating upgrade... Done
    The following packages will be upgraded:
      armbian-firmware armbian-tools-jessie hostapd linux-headers-sun8i
      linux-image-sun8i linux-jessie-root-orangepizero
      linux-u-boot-orangepizero-default
    7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0 B/20.9 MB of archives.
    After this operation, 2,142 kB of additional disk space will be used.
    (Reading database ... 57509 files and directories currently installed.)
    Preparing to unpack .../armbian-firmware_5.25_armhf.deb ...
    Unpacking armbian-firmware (5.25) over (5.24) ...
    Preparing to unpack .../armbian-tools-jessie_5.25_armhf.deb ...
    Unpacking armbian-tools-jessie (5.25) over (5.24) ...
    Preparing to unpack .../hostapd_1%3a2.5~armbian5.25+1_armhf.deb ...
    Unpacking hostapd (1:2.5~armbian5.25+1) over (1:2.5~armbian5.24.161202+1) ...
    Preparing to unpack .../linux-headers-sun8i_5.25_armhf.deb ...
    Unpacking linux-headers-sun8i (5.25) over (5.24) ...
    Preparing to unpack .../linux-image-sun8i_5.25_armhf.deb ...
    Unpacking linux-image-sun8i (5.25) over (5.24) ...
    Preparing to unpack .../linux-jessie-root-orangepizero_5.25_armhf.deb ...
    Leaving 'diversion of /etc/mpv/mpv.conf to /etc/mpv/mpv-dist.conf by linux-jessie-root-orangepizero'
    Unpacking linux-jessie-root-orangepizero (5.25) over (5.24) ...
    /var/lib/dpkg/info/linux-jessie-root-orangepizero.postrm: 2: [: missing ]
    Preparing to unpack .../linux-u-boot-orangepizero-default_5.25_armhf.deb ...
    Unpacking linux-u-boot-orangepizero-default (5.25) over (5.24) ...
    Processing triggers for systemd (215-17+deb8u6) ...
    Processing triggers for man-db (2.7.0.2-5) ...
    Processing triggers for initramfs-tools (0.120+deb8u2) ...
    update-initramfs: Generating /boot/initrd.img-3.4.113-sun8i
    update-initramfs: Converting to u-boot format
    Setting up armbian-firmware (5.25) ...
    Setting up armbian-tools-jessie (5.25) ...
    Setting up hostapd (1:2.5~armbian5.25+1) ...
    Setting up linux-headers-sun8i (5.25) ...
    Compiling headers - please wait ...
    Setting up linux-image-sun8i (5.25) ...
    update-initramfs: Generating /boot/initrd.img-3.4.113-sun8i
    update-initramfs: Converting to u-boot format
    Setting up linux-jessie-root-orangepizero (5.25) ...
    Setting up linux-u-boot-orangepizero-default (5.25) ...
    Updating u-boot on device /dev/mmcblk0
    Processing triggers for initramfs-tools (0.120+deb8u2) ...
    update-initramfs: Generating /boot/initrd.img-3.4.113-sun8i
    update-initramfs: Converting to u-boot format
    Scanning processes...                                                           
    Scanning candidates...                                                          
    Scanning kernel images...                                                       
    Failed to retrieve available kernel versions.
    Restarting services using systemd...
    ----------------------------------------------------------------------- 16:31:19
    admin@zero:~$ ls -lh /boot
    total 14M
    -rw-r--r-- 1 root root  123 Feb  4 14:20 armbianEnv.txt
    drwxr-xr-x 2 root root 4.0K Feb  4 16:29 bin
    drwxr-xr-x 2 root root 4.0K Nov 14 13:13 bin.old
    -rw-r--r-- 1 root root 6.8K Nov 14 13:14 boot.bmp
    -rw-r--r-- 1 root root 2.0K Nov 14 13:10 boot.cmd
    -rw-r--r-- 1 root root 2.1K Nov 14 13:15 boot.scr
    -rw-r--r-- 1 root root  95K Feb  2 06:01 config-3.4.113-sun8i
    -rw-r--r-- 1 root root 3.7M Feb  4 16:30 initrd.img-3.4.113-sun8i
    lrwxrwxrwx 1 root root   20 Nov 14 13:13 script.bin -> bin/orangepizero.bin
    -rw-r--r-- 1 root root 2.0M Feb  2 06:01 System.map-3.4.113-sun8i
    lrwxrwxrwx 1 root root   21 Feb  4 16:30 uInitrd -> uInitrd-3.4.113-sun8i
    -rw-r--r-- 1 root root 3.7M Feb  4 16:30 uInitrd-3.4.113-sun8i
    -rwxr-xr-x 1 root root 4.6M Feb  2 06:01 vmlinuz-3.4.113-sun8i
    lrwxrwxrwx 1 root root   21 Feb  4 16:30 zImage -> vmlinuz-3.4.113-sun8i
    ----------------------------------------------------------------------- 16:32:50
    admin@zero:~$ sudo cat /etc/network/interfaces
    # Wired adapter #1
    allow-hotplug eth0
    #no-auto-down eth0
    iface eth0 inet dhcp
    #address 192.168.0.100
    #netmask 255.255.255.0
    #gateway 192.168.0.1
    #dns-nameservers 8.8.8.8 8.8.4.4
    #	hwaddress ether # if you want to set MAC manually
    #	pre-up /sbin/ifconfig eth0 mtu 3838 # setting MTU for DHCP, static just: mtu 3838
    	link-speed 10
    	link-duplex full
    	ethernet-autoneg off
    
    # Wireless adapter #1
    # Armbian ships with network-manager installed by default. To save you time
    # and hassles consider using 'sudo nmtui' instead of configuring Wi-Fi settings
    # manually. The below lines are only meant as an example how configuration could
    # be done in an anachronistic way:
    # 
    #allow-hotplug wlan0
    #iface wlan0 inet dhcp
    #address 192.168.0.100
    #netmask 255.255.255.0
    #gateway 192.168.0.1
    #dns-nameservers 8.8.8.8 8.8.4.4
    #   wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
    # Disable power saving on compatible chipsets (prevents SSH/connection dropouts over WiFi)
    #wireless-mode Managed
    #wireless-power off
    
    # Local loopback
    auto lo
    iface lo inet loopback
    ----------------------------------------------------------------------- 16:33:27
    admin@zero:~$ pstree
    systemd─┬─NetworkManager─┬─{NetworkManager}
            │                ├─{gdbus}
            │                └─{gmain}
            ├─2*[agetty]
            ├─cron
            ├─dbus-daemon
            ├─dhclient
            ├─haveged
            ├─lircd
            ├─ntpd
            ├─polkitd─┬─{gdbus}
            │         └─{gmain}
            ├─rsyslogd─┬─{in:imklog}
            │          ├─{in:imuxsock}
            │          └─{rs:main Q:Reg}
            ├─sshd───sshd───sshd───bash───pstree
            ├─systemd───(sd-pam)
            ├─systemd-journal
            ├─systemd-logind
            ├─systemd-udevd
            └─wpa_supplicant
    ----------------------------------------------------------------------- 16:35:03
    admin@zero:~$ sudo reboot
    Connection to zero closed by remote host.
    Connection to zero closed.
    ----------------------------------------------------------------------- 16:35:13
    ~$ ssh admin@zero
    ^C
    ----------------------------------------------------------------------- 16:40:15
    ~$ nmap zero
    
    Starting Nmap 7.40 ( https://nmap.org ) at 2017-02-04 16:53 YEKT
    Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
    Nmap done: 1 IP address (0 hosts up) scanned in 3.98 seconds
    ----------------------------------------------------------------------- 16:53:27
    ~$ nmap -Pn zero
    
    Starting Nmap 7.40 ( https://nmap.org ) at 2017-02-04 16:53 YEKT
    Nmap scan report for zero (192.168.8.91)
    Host is up (0.00013s latency).
    All 1000 scanned ports on zero (192.168.8.91) are filtered
    
    Nmap done: 1 IP address (1 host up) scanned in 14.23 seconds
    ----------------------------------------------------------------------- 16:53:50
    ~$ 
    
    

    After previous attempt I just restored SD card from saved image, so I can do it again, sure, but it means that I can't use subsequent releases.

     

    Thanks.

  18. I did some tests yesterday the mainline kernel hostap with ESP8266 client.

    Sadly it seems that the wireless is totally unreliable at least on the AP mode.

     

    Sometimes the client can't even connect to the AP network as the kernel spams the error messages.
    I don't know why generic laptops or mobile devices work better perhaps they have better network stack coding or have more powerfull antennas as they do not seems to have trouble getting the actual connection but fail on traffic use sometimes

    Only thing that seems to help is to restart the hostAP processes but as there is not really an option I am dropping Orange Pi Zero from my potential test devices.
    Perhaps it can be used as client machine with lan-connection but its not my initial goal...

  19. frontpanel connectors are usually behind long cables and connected to the motherboards "external usb" connector headers.
    backpanel connectors are soldered to the motherboard and overall very reliable.

     

    example when doing new os installations to baremetal sometimes the frontpanel connectors just don't seems to be detected fast enough for the boot process to work

    if you use mouse or keyboard on the frontpanel those are detected very late on the boot cycle so there a bit lag does not matter

     

    the usb key's are not that reliable either they need to formatted from time to time other way they just slow down to non existing speeds

     

    @tkaiser:  I had never heard that front pannel USB3 connections could be unreliable.  I have them in three machines and I've used them constantly with no issues.  I need to look into that.  Thanks for the head up.

  20. There is no really "wrong" with usb power. Even Arduinos can run on USB power.
    Problem is that USB spec itself don't enforce the amp output for higher numbers (which these boards would require).

     

    Meaning that cheap USB cables/connectors don't need to support example more than 1.0a witch is not really enough for power hungry devices.
    Example USB-C is more than enough if it ever gets to the soc - scene.

     

    I once connected by mistake a 0.5a usb cable to 2.4A power source and yes wires started to heat up and the power source itself started to give error blinking 

     

    Just an example. I've got a first Raspberry Pi (model B ) powered via microUSB (just because I'm too lazy to free up GPIO pins and make a peoper cable) and if I plug, for example, a card reader into its USB port, it will simply reboot. So while it's possible to use microUSB for some use cases, it's hard to prevent end users from using a crappy cable and a more crappy power supply. Compared to it H3 Orange Pi boards except Zero can't be powered from microUSB and require a power supply with a compatible barrel plug - luckily Xunlong sells a pretty good one, so clueless users have less chance to get it wrong.

  21. Yes wifi direct is not an ap point. cameras, printers and most screen casting devices use wifi direct.

    i do not have any experience how it can be used from linux or computers overall.

     

    Well, as I know in WiFi-Direct all connected devices works as p2p, this is not Access Point model. I wonder why so many people don't know about this technology.

    If you have smartphone try WiFi options, there should be WiFi-Direct mode - you can use it for example to send files from one smartphone to other, without using any other unit (router, AP, etc).

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines