-
Posts
36 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Everything posted by AlterX
-
Hello folks, I have been searching a lot on this topic without finding any solution. I have a bananapi and an edimax ac usb stick. I set it up to be a hotspot a few years back, it was working quite well and I stored an image as backup. To date, I wanted to re-use it but surprisingly, restoring that image on an SD does not produce anymore a working hotspot...this is awful/awesome since nothing has changed in between. This image is running on kernel 4.x (I have read on the forum that on kernel 5.x hotspot has problems) and I have also tried with the latest armbian OS based on kernel 5.x I don't know what to do anymore, since hostapd starts correctly, access point is enabled and up, but not SSID is visible to any device.... Is there someone that had a similar problem? Thanks Gianni
-
Hi, no my kernel il 4.19.62
-
Hello guys, I am experiencing such a problem: When I boot my orangepi it starts and it is visible in the router's page view getting IP with dhcp. As soon as I connect over ssh (at least this is the way to trigger it, not sure if it is hapening automatically after a while), the device disappears from the network and it is no more available! I have seen this behaviour happening on 2 different routers. Then I rebooted the device again and in the router config I put the same IP statically linked to the device and I tried to connect over ssh and it worked without disappearing anymore. So it sounds like a bug somewhere using dhcp protocol. Is someone else experienced such problem? How I can help to definitely fix this annoying bug? Thanks, Gianni
-
Very good!! it is working for me as well
-
If I run these commands, I get error that modules are in use...how did you do it?
-
In the detailed steps you can find link to android store for the app...for a video check this out:snapvpn example Basically you use the box as wifi ap and all devices connected to it can use the vpn gateway in trasparente way thus a smarttv over wifi
-
Hi this is the project I am working on that explains why a PPTP is more than enough (when the vpn server on orange pi is available) for the purpose: snapvpn
-
Interesting tro know...why the hell it is burning like that?!?!
-
Yes I know...it is already planned to switch over to a modern vpn protocol...but for my project right now doesn't really matter. Anyway the box will be completely isolated from the internal network and also guests won't see each other.
-
I think I found something interesting: low consumption how to change the fex: change fex settings
-
Yeah...I will check what I can do with armbian-config...thanks Not only raspberry...armbian as well on banana pi!
-
Good to know it...I will then create a second generation Anything about disabling GPU, on board wifi and something else?
-
Thank you for your reply...this could be a way to disable it, although I prefer to do it in the config.txt if it is possible...anything about disabling the GPU? I want to switch all those off not really for consumption but to reduce the overall heating of the board
-
Hello guys, soon I will receive this nice toy (512MB) and I want to be prepared for my project: a domestic vpn server (using pptp) serving 1 o 2 guests at most. For this project I just need the RJ45 socket thus I would like to switch off as much as possible (e.g. GPU, on board wifi and others if there). Someone can point me to some resources or list what I can do to accomplish this? P.S. I know that pptp is not as secure as IPSec (and maybe IPSec is heavier for such device) but for the purpose of my project it is enough. Thanks a lot Gianni
-
I have checked already the other scripts but they are really different from what I have...I have seen many example, who is using the single = who == anyway I tried all combinations...it also has the first line #!/bin/bash that I have just skipped. The strange thing is that not even the first line of code is executed, only when I restart NetworkManager! Thanks for the reply Gianni
-
Hi all, I am trying to have a script running when eth0 i s up, but it seems that I don't get it. Although I followed a guide and set anything, NM is not triggering my script. So I have created my script without sh extension and called it 90-start-script in /etc/NetworkManager/dispatcher.d: logger -s "I DON'T SEE THIS" if [ "$1" == "eth0" ]; then case "$2" in up) ~/scripts/start_check.sh ;; esac fi; I gave it root ownership, execution flag, but it seems to be not working... I followed this guide: https://wiki.archlinux.org/index.php/NetworkManager#Network_services_with_NetworkManager_dispatcher I am running armbian 5.60 (strech) Thanks
-
No one has ever tried this?!
-
Which version of orange Pi has a better chip suitable for being used as stable AP?
-
Or I am using it in a wrong way or this is really a bug in the system since just putting in the script: logger -s "I DON'T SEE THIS" and switching off interfaces around I don't see it in syslog file. The only time I see that phrase is when I do restart of NetworkManager service.
-
Thank you so much, although it doesn't seem to trigger my script. This is my script with +x located in dispatcher.d: if [ "$1" == "eth0" ]; then case "$2" in up) ~/scripts/start_check.sh ;; esac fi;
-
Hello, I wonder how I can perfom this task in armbian in a standard way. Thanks Gianni
-
Hello there, I finally solved the issue! For sake of information I explain how I solved it: First the required iptables' rules are (these give access to the remote VPN's machines): * -A FORWARD -i wlan0 -o ppp0 -j ACCEPT * -A POSTROUTING -o ppp0 -j MASQUERADE Then to indicate which IP or range of IPs have to have a different route it is required the usage of policy rules: * open /etc/iproute2/rt_tables and put your entry (ID tablename): 100 my_custom_table * ip rule add from 172.24.1.114/32 table my_custom_table (tells to go to another table other than the main one for the source IP 172.x.x.x) * ip route add 172.24.1.0/24 dev wlan0 table my_custom_table (required to receive packets back from ppp0) * ip route add default via 10.10.10.1 dev ppp0 table my_custom_table (routes packet to the VPN's gateway) Make sure Firewall on the VPN server allows incoming traffic from VPN IPs Tha's all!
-
Ok so the title can confuse more than it really is! So basically I have a armbian distro configured as NAT where wlan0 is the internal interface and eth0 is the "pubic" interface that provides internet (this set is provided out of the box by armbian-config). My devices connect over wlan0 grabbing an IP, say 172.24.1.114 I have added a VPN to a remote network resulting in the creation of ppp0, with IP 10.10.10.12 Having these info, what I want to achieve is: * Only one IP (e.g. 172.24.1.114) has to always go towards ppp0 (that is all traffic back and forth should go to ppp0, so I can either reach machines and navigate on internet with the remote IP) * All other IPs can normally go towards eth0 Starting from the configured NAT from armbian-config I have added the extra iptables rules: -A FORWARD -s 172.24.1.114/32 -i wlan0 -o ppp0 -j ACCEPT (this is before -A FORWARD -i wlan0-o eth0 -j ACCEPT created by armbian-config) -A POSTROUTING -o ppp0 -j MASQUERADE (order shouldn't impact with -A POSTROUTING -o eth0 -j MASQUERADE created by armbian-config) -A FORWARD -i ppp0 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT (just to be sure!) These extra rules + the one from armbian-config seem to work all most well: From 172.24.1.114 client I can see content of a remote web server, say http://10.10.10.20 ( so apparently it goes thru ppp0) From 172.24.1.114 client I can navigate on internet, but unfortunately checking the IP I go out with (using a geo ip website), it still results the one from eth0 All other clients correctly navigate going out thru eth0 So to summarize it, I can now reach the remote network over VPN for that IP but it is not able to navigate thru ppp0 Is there someone that can help me with this since I ran out of ideas? Thanks Gio
-
Sometimes it get stuck...it happend the first time after 2 weeks and now really often every second day...could it be the warm?