laurentppol

  • Posts

    108
  • Joined

  • Last visited

Posts posted by laurentppol

  1. Ooops, not so fast:

    httping works (to telephone, Android does not respond to ping), but using browser I get to.... OPi3 HTTP server, NOT phone.

    iptables are just clear.

     

    How to solve this?

     

    root@orangepi3:~# iptables-save | more
    root@orangepi3:~# route -n
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    0.0.0.0         192.168.1.60    0.0.0.0         UG    100    0        0 eth0
    169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wlan0
    192.168.1.0     0.0.0.0         255.255.255.0   U     100    0        0 eth0
    192.168.2.0     0.0.0.0         255.255.255.0   U     100    0        0 eth0
    192.168.10.0    192.168.1.30    255.255.255.0   UG    100    0        0 eth0
    192.168.15.0    0.0.0.0         255.255.255.0   U     600    0        0 wlan0

     

  2. On 6/20/2021 at 11:49 AM, ATK said:

    @laurentppol  :  asking just out of curiosity...

    Storage - external USB->SATA HDD, 320GB, about 2GB/24h @ 1fps, software: motion, set to permanently record at 1fps from IP Webcam on old Android phone (Xperia L), image set 1280x1024. Plus cron replica to remote storage every 10min (WiFi link). Separate WiFi network (different channel from other apps for performance reasons, this is why I have set up OPi3 as AP and want routing). Satisfaction level: very high :).

     

    lanefu: THX very much.

  3. Armbianmonitor:

    Hi there,

    I have an OPi3 box that acts as home surveillance server.

    It has WiFi configured as AP, client is Android phone with static IP/routing and IP Camera software.

    Problem is, that there is NO IP routing. I CAN access video / pictures from phone on OPi box, but NOT from my LAN.

    Below is routing table and iptables. Looks ok but not working.

    I am able to access (from LAN) WiFi IP of OPi. Also can access video served by "motion" software on OPi. But no direct connection to Android phone.

     

    root@orangepi3:/tmp# route -n
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    0.0.0.0         192.168.1.60    0.0.0.0         UG    100    0        0 eth0
    169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth0
    192.168.1.0     0.0.0.0         255.255.255.0   U     100    0        0 eth0
    192.168.2.0     0.0.0.0         255.255.255.0   U     100    0        0 eth0
    192.168.10.0    192.168.1.30    255.255.255.0   UG    100    0        0 eth0
    192.168.15.0    0.0.0.0         255.255.255.0   U     600    0        0 wlan0
    root@orangepi3:/tmp# iptables -L
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination

     

    Laurent

  4. Ok, found solution:

    - restarted from scratch (*.img file -> uSD),

    - connected "real HDMI" (some overscan) TV, keyboard,

    - gone trough initial config (root passwd, "normal" user),

    - configured WiFi (had no wired Eth at my neighbour) using nmtui,

    - now SSH works in both directions.

     

    So conclusion is: the problem was / is (still no video on VGA) with cheap HDMI->VGA converter.

  5. Logged as root using HDMI TV / usb keyboard, changed password, but stuck at new user creation stage, as there are too restrictive rules for password (used CRTL-C). Then useradd / passwd.

     

    Now I still get "connection reset by xx.xx.xx.xx port 22.

     

    1). How to login on device by net?,

    2). How to resume initial Armbian setup process once logged?

    on my other PIs I had no problem with this initial setup and got to GUI w/o problem.

  6. OK, got it connected to "real HDMI", see attached picture.

    Looks it is starting, NMAP shows SSH port open (the only), but system refuses SSH connection (as no root password has been set?)

    ssh root@192.168.1.153
    Connection reset by 192.168.1.153 port 22

    20210522_110124m.thumb.jpg.03b82d07f0e09e6d2db6bcabfcab4ea2.jpg

     

    What should I do next? Connect to console or there is another (easier) way?

     

    Red LED is solid, Green flashes fast 2 times, then some space, and again.

  7. Hi there,

    Just got OPi4 after some problem from Chineses...

    Problem:

    - no at all output at HDMI (connected to HDMI-VGA converter and 1920x1024 VGA LCD display, works with OPi PC+),

    - if Eth connected device gots (after few minutes) IP from DHCP.

    - no server running on that IP (tried telnet, ssg, WWW), PING works.

    uSD card with Armbian Buster for OPi4.

     

    What to check next? Console? What speed? 115200 or 1.500.000?

  8. Found one more problem: there is no routing from LAN to WiFi AP. (IPv4).

    I can access device (Android phone) from OPi3, but if on laptop (LAN connection) I set OPi3 as GW for this WiFi network it does not work. (Android does not respond to ping, I know this), but trying to get WWW from "IP webcam" on this phone does not work. It WORKS from OPi3!

     

    Checked iptables, all chains are "ACCEPT" to this is not the problem.

    What to check next?

  9. 25 minutes ago, Werner said:
    • it has been logged in the wrong forum (for example requests for help that are not actual bug reports)
    • it lacks requested data (armbianmonitor output)
      • it could have been easily solved by a quick search and/or reading documentation

     

    Ok, armbianmonitor -u:

    root@orangepi3:/mnt/disk2/var/motion# armbianmonitor -u
    System diagnosis information will now be uploaded to gzip: /var/log/armbian-hardware-monitor.log.1.gz: No such file or directory
    http://ix.io/34Rn
    Please post the URL in the forum where you've been asked for.

     

    I (personally) find it a bug: have configured AP using standard OS tools, it shows "WPA2" in TUI. Now need someone with deeper knowledge.

     

    Searched forum for "no WPA2" phrase, no relevant results.

    Should I correct anything else?

     

    Laurent

  10. Hi there,

    I have configured (successfully with NetworkManager GUI, or TUI, it was quite ago, can see it in /etc/NetworkManager/system-connections/ ) my OPi3 as an WiFi AP.

    (Needed this as sharing "normal" LAN traffic with video surveillance on same WiFi channel was a disaster).

    It works, but in "scan" on OpenWRT routers this WIFi shows only as WPA not WPA2 protected.

     

    Armbian Buster 21.02.3.

     

    Why? How to correct this?

     

    Laurent

  11. Hi there,

    as the Chinese market is missing "in stock" OPi4 (not B), RockPi 4B (for more than a month) I am looking for alternative.

    Found "Asus Tinker Board 2", same RK3399, 4GB RAM, 4xUSB3 as plus (OPi4 has 2x3.0 + 2x2.0, AFAIK).

    https://pl.aliexpress.com/item/1005002304966362.html

     

    Is it compatible with Armbian or have I to wait until OPi4 / Rock Pi 4B will be available? (as it is not listed in subforum header).

     

    Laurent.

  12. Hi there,

    2 days ago I did apt update + apt upgrade on my OPi3, everything fine.

    Yesterday I did a system reboot (as suggested "kernel changed"), then Eth port went dead. No even ARP works (ARPING).

    Have tried:

    - ifconfig shows correct values,

    - ethtool shows 1Gbps FDX connection, also same on router (OpenWRT TL-WR1043ND w 18.06 software),

    - changed eth cable,

    - on other OPi connected to same switch / router (also went dead) depowering device helped, but not on OPi3,

    - ARP shows MAC/IP not resolved,

    - WiFi (configured as AP) looks working.

    - also changed port on router and did power cycle device, nothing helps.

    - on reboot OPi3 NOTHING was changed in the network (apart update software on OPi3).

    - iptables clear, every policy is ACCEPT

     

    How to diagnose problem? How to repair?

     

    Laurent

  13. Hi there,

    I want to migrate system on OPi PC+ from 32GB uSD card to 16GB card.

    System is small enough to fit on 16GB, but too large for 8GB eMMC (amazingly fast according dd).

    How to do it?

    My idea is:

    - copy (raw, using dd) first 8192 sectors from 32GB to 16GB,

    - then remove partition (32GB) and recreate it with 16GB size, format using same EXT filesystem,

    - copy (on another computer, or "simple" Armbian installed on eMMC) partition contents using rsync.

    Will it work?

    Will there be no issue with different UUID of new partition?

  14. Ooops, You were right:

    [ o.k. ] Preparing [ host ]
    [ .... ] Please read documentation to set up proper compilation environment
    [ .... ] http://www.armbian.com/using-armbian-tools/
    [ error ] ERROR in function prepare_host [ general.sh:935 ]
    [ error ] Running this tool on non x86-x64 build host in not supported
    [ o.k. ] Process terminated

    Problem is that I have only 32bit Linux on x86, and 64bit Armbian....

  15. Somehow I managed to make WORKING connection, using NetworkManager "connection editor" or nmtui (don't remember).

    Will see it this survives reboot. But there is NO routing! I can connect to webcam (what is purpose of this WiFi setup, on channel 1, as my "normal" network is on channel 11), but ONLY from OPi3. I CAN ping OPi WiFi from laptop, but can't connect webcam on this wifi. (webcam does not respond to ping but this is Android "feature"). I CAN however connect this webcam from OPi! With "motion" and Firefox (on remote X on laptop).

     

    In next post I'll attach my config files, maybe someone could explain, WHY my previous setup does NOT work... :(