madurani

Members
  • Content Count

    10
  • Joined

  • Last visited

  1. Can somebody help me correctly configure two nodes bridge via network-manager or armbian-config? Node are wlan0 and eth1. Wlan0 is manages via hostapd and configured was via "armbian-config". Bridge were configure manually in /etc/network/interfaces: auto br0 iface br0 inet static bridge_ports eth1 wlan0 address 192.168.1.1 netmask 255.255.255.0 But network-manager sees only one node eth1. Wlan0 isn't active/managed via NM: root@kraken:~# nmcli con show NAME UUID TYPE DEVICE br0 ea0b5fc2-c262-47a2-a1f8-7b186860d3ea bridge br0 eth0 5df08611-abea-491c-af88-4733fba17e69 802-3-ethernet eth0 eth1 085af0b4-59e7-4a73-9498-2f363dec7398 802-3-ethernet eth1 Ifupdown (eth0) 681b428f-beaf-8932-dce4-687ed5bae28e 802-3-ethernet -- Ifupdown (eth1) 7b635ed6-2640-7ad8-675d-744db12dd9fa 802-3-ethernet -- bridge-slave-eth1 4d4c214f-ec45-4a23-b761-2437b4b9d9c8 802-3-ethernet -- bridge-slave-wlan0 0b158612-8aab-44bc-9cf8-691f8bbda227 802-11-wireless -- DEVICE TYPE STATE CONNECTION br0 bridge connected br0 eth0 ethernet connected eth0 eth1 ethernet connected eth1 lo loopback unmanaged -- ppp0 ppp unmanaged -- wlan0 wifi unmanaged -- Problem is, that eth1 sometimes loses link. Next issue is, that only yellow led control is blinking on eth1, while green led control is not alight(short time during booting green led light).
  2. I don't known to find in "armbian-config" nothing similar as "IIRC'. When I start mentioned tool and set up network part and pick up eth1, so there isn't any options for "bridge". Yes it look on mishmash configuration, because AccessPoint was configured via "armbian-config" but bridge configuration were done via brctl and not via NM or armbian-config. Probably turn off MN can solve this issue?
  3. Here is output with link for downloading: root@kraken:/etc/network# armbianmonitor -u System diagnosis information will now be uploaded to http://ix.io/1wPj Main config file /etc/network/interfaces was edit manual, not via armbian-config, because there isn't possibility for raising of bridge.
  4. Hello All, I have configured OrangePiR1 as router. There are three network interfaces, two as wired and one wifi(hotspot). eth0 serve for access to internet(via ppp/adsl) and eth1+Wlan0 for internal network. Interfaces eth1 and wlan0 are in bridge br0. Problem is, that interface eth1 sometimes loses connection/link(cable and switch were checked ). Next nonstandard behavior of eth1 is, that only yellow led control is blinking, while green led control is not alight. Network interfaces were configured via file /etc/network/interfaces. However, when I checked network manager nmcli, I saw, that some connections are configured there too (there can be some conflict).
  5. madurani

    Orange pi r1 hostapd issue

    I found some solution, but isn't very clever. I add path to iptables script direct to file /etc/ppp/ip-up.d/0clampmss /firewall/kraken.fw script started as is expected, when ppp0 is UP.
  6. madurani

    Orange pi r1 hostapd issue

    Firewall/router was build and works fine, but I have some trouble with ppp0 device. After starting/rebooting system interface ppp0 doesn't start immediately, but after some short time, approximately 5-15 seconds and then it is OK. Problem is, that I don't know how to create/write correct service file for starting firewall script, which will wait/test until ppp0 device is up. I tried some things, but service started before ppp0 interface(don't wait till ppp0 is up). I need to add to service file some option for waiting on ppp0 device: root@kraken:~# cat /lib/systemd/system/fwbuilder.service [Unit] Description=Fwbuilder Wants=network-online.target BindsTo=sys-devices-virtual-net-ppp0.device After=network.target network-online.target sys-devices-virtual-net-ppp0.device [Install] WantedBy=multi-user.target WantedBy=network-online.target [Service] ExecStart=/etc/init.d/fwbuilder start #ExecStop=/etc/init.d/fwbuilder stop Here is status when service started before ppp0: root@kraken:~# systemctl status fwbuilder ● fwbuilder.service - Fwbuilder Loaded: loaded (/lib/systemd/system/fwbuilder.service; enabled; vendor preset: enabled) Active: inactive (dead) since Sun 2018-09-09 16:10:38 CEST; 57s ago Process: 1585 ExecStart=/etc/init.d/fwbuilder start (code=killed, signal=TERM) Main PID: 1585 (code=killed, signal=TERM) Sep 09 16:10:38 kraken systemd[1]: Started Fwbuilder. Sep 09 16:10:38 kraken systemd[1]: fwbuilder.service: Unit is bound to inactive unit sys-devices-virtual-net-ppp0.device. Stopping, too. Sep 09 16:10:38 kraken systemd[1]: Stopping Fwbuilder... Sep 09 16:10:38 kraken systemd[1]: Stopped Fwbuilder. And here is status when service started after ppp0: root@kraken:~# systemctl status fwbuilder ● fwbuilder.service - Fwbuilder Loaded: loaded (/lib/systemd/system/fwbuilder.service; enabled; vendor preset: enabled) Active: inactive (dead) since Sun 2018-09-09 16:07:11 CEST; 1min 35s ago Process: 1670 ExecStart=/etc/init.d/fwbuilder start (code=exited, status=0/SUCCESS) Main PID: 1670 (code=exited, status=0/SUCCESS) Sep 09 16:07:11 kraken fwbuilder[1670]: Rule 10 (global) Sep 09 16:07:11 kraken fwbuilder[1670]: Rule 11 (global) Sep 09 16:07:11 kraken fwbuilder[1670]: Rule 12 (global) Sep 09 16:07:11 kraken fwbuilder[1670]: Rule 13 (global) Sep 09 16:07:11 kraken fwbuilder[1670]: Rule 14 (global) Sep 09 16:07:11 kraken fwbuilder[1670]: Rule 15 (global) Sep 09 16:07:11 kraken fwbuilder[1670]: Rule 16 (global) Sep 09 16:07:11 kraken fwbuilder[1670]: Rule 17 (global) Sep 09 16:07:11 kraken fwbuilder[1670]: Running epilog script Sep 09 16:07:11 kraken fwbuilder[1670]: fwbuilder.
  7. madurani

    Orange pi r1 hostapd issue

    I tried configure wifi via armbian-config and after that, I only add wlan0 to bridge br0 manually with second network interface enxc0742bffed69 and look, that it work. Before system crashed immediately(after few seconds when hostapd started). now is hostapd up 15 minutes and look fine. 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br0 state UP group default qlen 1000 4: enxc0742bffed69: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UP group default qlen 1000 5: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 I want configure router/firewall on this HW(Orange PI R1). Now I have configure it on Raspberry PI3, but there is only one network card integrated on board. thank
  8. madurani

    Orange pi r1 hostapd issue

    I tried it and kernel was switched from 4.14.65-sunxi to 4.14.68-sunxi, but problem persist. But I am not sure whether I correct use tool armbian-config, because I didn't get any possibility, only new kernel was installed automatically.
  9. madurani

    Orange pi r1 hostapd issue

    Could you please provide me more details, because with armbian I work only half day?
  10. Hello, Could you please somebody advise me with hostapd issue? I installed on new Orange Pi R1 new Armbian: ARMBIAN 5.59 testing Debian GNU/Linux 9 (stretch) 4.14.65-sunxi Problem is, that after starting service hostapd system/kernel crashed Some short time is Access Point reachable, but then orange crashed. root@orangepi:~# cat /etc/hostapd/hostapd.conf interface=wlan0 bridge=br0 #driver=nl80211 ssid=Rubikon hw_mode=g channel=8 wmm_enabled=0 macaddr_acl=0 auth_algs=1 ignore_broadcast_ssid=0 wpa=2 wpa_passphrase=xxxxxxxxxxxxxx wpa_key_mgmt=WPA-PSK wpa_pairwise=TKIP rsn_pairwise=CCMP root@orangepi:~# cat /etc/network/interfaces auto br0 iface br0 inet static bridge_ports enxc0742bffed69 wlan0 address 192.168.100.1 netmask 255.255.255.0 auto enxc0742bffed69 allow-hotplug enxc0742bffed69 iface enxc0742bffed69 inet manual auto wlan0 allow-hotplug wlan0 iface wlan0 inet manual wireless-power off Here is message from screen after crashing of kernel: Message from syslogd@localhost at Sep 7 19:03:18 ... kernel:[ 117.629526] Internal error: Oops: 5 [#1] SMP THUMB2 Message from syslogd@localhost at Sep 7 19:03:18 ... kernel:[ 117.736098] Process RTW_CMD_THREAD (pid: 1060, stack limit = 0xcadee210) Message from syslogd@localhost at Sep 7 19:03:18 ... kernel:[ 117.742843] Stack: (0xcadeff28 to 0xcadf0000) Message from syslogd@localhost at Sep 7 19:03:18 ... kernel:[ 117.747258] ff20: caa9e140 d1248000 d1249520 d1248000 ca30a200 bfb88040