Jump to content

dieoma

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by dieoma

  1. strange - your config fails again with Parsing Error in my system but we are running the same kernel version. What is the output of markus@cubietruck:~$ sudo dpkg -l|grep wireguard ii wireguard-tools 1.0.20200513-1~bpo10+1 armhf fast, modern, secure kernel VPN tunnel (userland utilities)
  2. Your assumtion is correct: root@cubietruck:/etc/wireguard# modinfo wireguard filename: /lib/modules/5.4.45-sunxi/kernel/net/wireguard/wireguard.ko intree: Y alias: net-pf-16-proto-16-family-wireguard alias: rtnl-link-wireguard version: 1.0.20200611 author: Jason A. Donenfeld <Jason@zx2c4.com> description: WireGuard secure network tunnel license: GPL v2 srcversion: D32255D92FDC92F22646179 depends: udp_tunnel,ip6_udp_tunnel intree: Y name: wireguard vermagic: 5.4.45-sunxi SMP mod_unload ARMv7 thumb2 p2v8 When you say 5.7.y soon - do you know of any timeframe?
  3. Hi there, i hope you can help me as i saw there are a few Wireguard Users here as well. I did setup Armbian 20.05.4 Buster on my Cubietruck and configured Wireguard. After a few mistakes the connection from outside (iOS Client) is stable but very slow. I went to the obvious roads and found the MTU setting on the client side could be an issue as well some PostUp command parameters can improve performance. But for any reason my wireguard doesn´t want to accept anything with PostUp, Safeconfig etc in my wg0.conf file: Parsing error. But without that been solved i assume i can´t work on the Performance improvement. Here a few lines of code showing the relevant config Files and the Error: root@cubietruck:/etc/wireguard# cat wg0.conf [Interface] ListenPort=40404 PrivateKey=blablablaServerKey PostUp = iptables -A FORWARD -i wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE; iptables -A FORWARD -i eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT PostDown = iptables -D FORWARD -i wg0 -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE; iptables -D FORWARD -i eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT [Peer] PublicKey=blablabla Public Key AllowedIPs=192.168.42.100,fd00:42::100 root@cubietruck:/etc/wireguard# cat clients/omasiphone.conf [Interface] PrivateKey=blablablaclientkey Address=192.168.42.100/24,fd00:42::100/64 DNS=1.1.1.1,2606:4700:4700::1111 MTU = 1412 PostUp = ip route add SERVER_PUBLIC_IP/32 via 192.168.1.200 dev eth0; iptables -A FORWARD -i wg0 -m state --state RELATED,ESTABLISHED -j ACCEPT; iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu PostDown = ip route del SERVER_PUBLIC_IP/32 via 192.168.1.200 dev eth0; iptables -D FORWARD -i wg0 -m state --state RELATED,ESTABLISHED -j ACCEPT; iptables -D FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu [Peer] PublicKey=blablablaclientkey Endpoint=ganzgeheim.myfritz.net:40404 AllowedIPs=0.0.0.0/0,::/0 root@cubietruck:/etc/wireguard# wg setconf wg0 /etc/wireguard/wg0.conf Line unrecognized: `PostUp=iptables-AFORWARD-iwg0-jACCEPT;iptables-tnat-APOSTROUTING-oeth0-jMASQUERADE;iptables-AFORWARD-ieth0-mstate--stateRELATED,ESTABLISHED-jACCEPT' Configuration parsing error Can you help me here a bit?
  4. Hi there, i needed to recreate my cubietruck as a VDR with a brand new image. I´ve choose the plain http://mirror.igorpecovnik.com/Armbian_4.2_Cubietruck_Debian_jessie_4.1.6.zip image to install but after booting it got stuck at "Welcome to Debian GNU/Linux 8 (jessie)!" and after many minutes " (TIME) Time out waiting for device dev-ttyS0 device. (DEPEND) Dependency failed for Serial Getty on ttyS0." appears. I downloaded the 3.4.108 kernel image which installed and ran ok apart of that the USB connection dropped after a while which is a problem for my VDR: [ 8.301636] eth0: PHY ID 001cc915 at 0 IRQ 0 (sunxi_gmac-0:00) active [ 8.306840] eth0: PHY ID 001cc915 at 1 IRQ 0 (sunxi_gmac-0:01) [ 9.461283] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 10.327701] PHY: sunxi_gmac-0:00 - Link is Up - 1000/Full [ 16.173457] input: Sundtek Ltd. Remote Control as /devices/virtual/input/input2 [ 17.236638] usb 2-1: usbfs: process 584 (mediasrv) did not claim interface 0 before use [ 18.980635] eth0: no IPv6 routers present [20313.981977] ehci_irq: port change detect [20313.987608] hub 2-0:1.0: port 1 disabled by hub (EMI?), re-enabling... [20313.991792] usb 2-1: USB disconnect, device number 2 [20314.242009] usb 2-1: new high-speed USB device number 3 using sw-ehci [20315.679971] input: Sundtek Ltd. Remote Control as /devices/virtual/input/input3 [20316.697345] usb 2-1: usbfs: process 584 (mediasrv) did not claim interface 0 before use i decided to try the 4.1.4 kernel from Igors kernel repository updating the Kernel from the running system as mentioned in the FAQs but it got stuck at exactly the same situation as mentioned with the 4.1.6 image i tested initially. At the end of the day any kernel would be ok if the USB device stays connected. My cubietruck Powersupply is 2.5A (HNP15-USB) and the DVB-S Stick (Sundtek) also has his own additional power supply so i don´t believe in a HW issue right now. What can i do to bring back the system to live? I don´t think there is any grub/lilo installed to boot the 3.4 kernel? Any idea of why the 4.x kernels don´t run on my Cubietruck? I am pretty sure Igor tested them on his Trucks :-) Thanks for any hint! OMA
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines