Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

OPi3 not routing (Armbian Buster)

Featured Replies

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

Solved by laurentppol

@laurentppol  :  asking just out of curiosity , can you elaborate more on your this "Surveillance server" ? Which type of external storage attached to OPi3 for IP camera videos/images ? which open source surveillance software used and its configuration ? Number  of IP camera(s) used and their types ?  and about over all performance and satisfaction level for this whole setup ? 

  • Author
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.

  • Author

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

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.