Jump to content

ddurdle

Members
  • Posts

    10
  • Joined

  • Last visited

  1. I noticed there is a Banana Pi-R2 now. Looks like they adapted some of your suggestions -- no longer using micro-usb for power, provide mini-pci slot so you can supply your own wifi module. The idea of the Banana Pi Router was a great idea. Before I bought it, I did my research by reviewing what the community was actually saying. It set my expectations in line -- poor wifi, iffy power design, overheating if you enclose, less than stellar LAN performance. I never ended buying mine until late 2016 (when I saw good and hacks reported back to solve some of the issues). I'm glad I did buy it. I haven't exactly replaced my trusty 15-year-old WRT router, but it did make a great addition to my network. I was playing with the idea of buying a second just to play around with some mods (without affecting my current network setup).
  2. Odd, it is starting up br1 without it, but will add it for properness. I haven't tried wireshark yet, but I did't monitor through nmon. I'm seeing traffic only out through eth0.105, but I do see outsize of 60 periodically through wan. I didn't modify the startup routines on the R1 (using the default). Do you have any info about deactiviating the switch forwarding? A side note, I did some testing with and without running that above LAN setup. What I noticed is on a laptop plugged into the LAN switch, the laptop will acquire a connection and IP from DHCP from my router connected over the WAN port on the R1. I can access that laptop using that IP address from either the R1 or my WRT router. The only side affect is that the laptop doesn't have internet access in this situation.
  3. I'm using a 2.5" 500GB HD 7200rpm (I better confirm the revolutions) + wifi+LAN but no HDMI unless I'm troubleshooting a bootup issue. I haven't encountered any power issues.
  4. Do we need to keep LAN1-LAN4 + WAN around? They still show up as active interfaces, along with eth0.101 - eth0.105
  5. I wasn't sure how to connect to the second network without using a bridge (I wanted to use wan tag instead of br1), but this works: set -xue ip link set eth0 down ip addr flush eth0 ip link set eth0 up ip link add link eth0 name eth0.101 type vlan id 101 ip link set eth0.101 up ip link add link eth0 name eth0.102 type vlan id 102 ip link set eth0.102 up ip link add link eth0 name eth0.103 type vlan id 103 ip link set eth0.103 up ip link add link eth0 name eth0.104 type vlan id 104 ip link set eth0.104 up #WAN-router hooked up to WAN ip link add link eth0 name eth0.105 type vlan id 105 ip link set eth0.105 up ip link add br0 type bridge #WAN-router hooked up to WAN ip link add br1 type bridge #ip link set dev br0 type bridge stp_state 0 # BCM53125 ports 4, 0, 1, 2, 3 ip link set lan1 master br0 ip link set lan2 master br0 ip link set lan3 master br0 ip link set lan4 master br0 #WAN-router hooked up to WAN ip link set wan master br1 bridge vlan add vid 101 dev lan1 pvid untagged bridge vlan del dev lan1 vid 1 self bridge vlan del dev lan1 vid 1 master bridge vlan add vid 102 dev lan2 pvid untagged bridge vlan del dev lan2 vid 1 self bridge vlan del dev lan2 vid 1 master bridge vlan add vid 103 dev lan3 pvid untagged bridge vlan del dev lan3 vid 1 self bridge vlan del dev lan3 vid 1 master bridge vlan add vid 104 dev lan4 pvid untagged bridge vlan del dev lan4 vid 1 self bridge vlan del dev lan4 vid 1 master #WAN-router hooked up to WAN bridge vlan add vid 105 dev wan pvid untagged bridge vlan del dev wan vid 1 self bridge vlan del dev wan vid 1 master ip link set eth0.101 master br0 ip link set eth0.102 master br0 ip link set eth0.103 master br0 ip link set eth0.104 master br0 #WAN-router hooked up to WAN ip link set eth0.105 master br1 ip addr add 192.168.4.2/24 broadcast 192.168.4.255 dev br0 ip link set br0 up ip link set lan1 up ip link set lan4 up ip link set lan2 up ip link set lan3 up ip link set wan up #allow routing back to WAN router iptables -t nat -A POSTROUTING -s 192.168.4.0/24 ! -d 192.168.4.0/24 -j MASQUERADE
  6. I notice the card you used support 5Ghz. Have you tried this?
  7. I have to give this a try. I've been using the R1 for past few months but I skipped setting up the LAN ports. I'm on the latest build and latest driver. I have my R1 plugged into a WRT router (so my DSL modem is managed by the WRT, and my R1 compliments my main network). I was disappointed a bit with the wifi. Signal strength is dismal even in the same room. I do have an interesting bit of a setup (I must document it to share it) where it really doesn't matter too much about the wifi. I have a USB-hub-powered dlink USB wifi dongle that I plug in on the main floor and plugs back into the R1. Signal strength issue is resolved there, but now I have 3 networks broadcastings. Anyways. First time I tried to setup the LAN ports, I got it working but I had packet loss (ping were sometimes failing). Like your setup, my goal was not to bridge in the WLAN. Only difference though is the WAN port I'm using to connect to the other network (my R1 needs to lease a IP from my WRT). I'll try to adapt your setup and see if I have success. What did you put into the interface file?
  8. i've noticed swap is not being used on my armbian system (in this case, it is a Banana Pi R1). I tried to dig deeper and spent several hours looking into a cause and cannot find any way to resolve. I updated everything yesterday to ensure there was no issue with a known bug in a previous package. $ uname -a Linux raspberrypi 4.9.7-sunxi #1 SMP Thu Feb 2 01:52:06 CET 2017 armv7l GNU/Linux I have my swap located on a 2.5" HD that is attached. It is on the /u01 mounted partition as a swap file. I tried creating a second just to eliminate that is a file issue (using mkswap) and trying to activate it. Both files will activate and show in use, but % swap always remains 0. $ ls -l /u01/swap* -rw------- 1 root root 1048576000 Apr 13 2016 /u01/swap -rw-r--r-- 1 root root 1073741824 Feb 19 11:11 /u01/swap2 $ free total used free shared buffers cached Mem: 1022748 1000784 21964 20600 12948 802580 -/+ buffers/cache: 185256 837492 Swap: 1023996 0 1023996 # cat /proc/sys/vm/swappiness 60 sysctl -n vm.swappiness 60 # swapon NAME TYPE SIZE USED PRIO /u01/swap file 1000M 0B -1 Yesterday I was getting processes killed because of out of memory. The system refuses to use the swap.
  9. Thank you, this post was very helpful. I did a apt-cache show base-files and it showed there were two versions with the on for 8 taking precedence over 8+deb8u7. So I ran apt-get install base-files=8+deb8u7 I'll check through and see what other packages this is happening.
  10. I've been using debian on all my systems for a long time. On my x86 and x64 systems, debian_version always gets updated after dist-upgrades and upgrades. It has never been the case for my embedded boards running armbian jessie. I tried to research into what actually does the trigger, but I can't find any details. When I log in, my splashscreen confirms there are no new updates (I updated this morning). It's still showing 8.0 in /etc/debian_version. I expect to see /etc/debian_version reflect 8.4 Any ideas? sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... The following packages were automatically installed and are no longer required: icedtea-netx-common libavcodec57 libavdevice57 libavfilter6 libavformat57 libavresample3 libavutil55 libchromaprint1 libdirac-encoder0 libflite1 libgme0 libmodplug1 libopencv-core2.3 libopencv-imgproc2.3 libopenjp2-7 libopenjpeg2 libpgm-5.1-0 libpostproc52 libpostproc54 librtmp0 librubberband2 libshine3 libsnappy1 libsodium13 libsoxr0 libssh-gcrypt-4 libswresample2 libswscale4 libsystemd-login0 libunique-1.0-0 libva-drm1 libva-x11-1 libva1 libx264-123 libx265-87 libzmq3 ssl-cert Use 'apt-get autoremove' to remove them. Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... The following packages were automatically installed and are no longer required: icedtea-netx-common libavcodec57 libavdevice57 libavfilter6 libavformat57 libavresample3 libavutil55 libchromaprint1 libdirac-encoder0 libflite1 libgme0 libmodplug1 libopencv-core2.3 libopencv-imgproc2.3 libopenjp2-7 libopenjpeg2 libpgm-5.1-0 libpostproc52 libpostproc54 librtmp0 librubberband2 libshine3 libsnappy1 libsodium13 libsoxr0 libssh-gcrypt-4 libswresample2 libswscale4 libsystemd-login0 libunique-1.0-0 libva-drm1 libva-x11-1 libva1 libx264-123 libx265-87 libzmq3 ssl-cert Use 'apt-get autoremove' to remove them. Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. cat /etc/debian_version 8.0 cat /etc/apt/sources.list deb http://http.debian.net/debianjessie main contrib non-free deb http://http.debian.net/debianjessie-updates main contrib non-free deb http://security.debian.orgjessie/updates main contrib non-free deb http://www.deb-multimedia.orgjessie main non-free
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines