Jump to content


Photo

openvpn problem


  • Please log in to reply
33 replies to this topic

Re: openvpn problem #21 WanWizard

  • PLi® Core member
  • 68,303 posts

+1,718
Excellent

Posted 20 May 2019 - 21:25

Problem is that altough the defconfig says the tun driver should be made available as a module, it isn't (in 7.0-release):

[root@openpli-dist lunix]# ls -l | grep kernel-module-tu
-rwxrwsr--. 1 root openpli    3622 Jan 11 20:28 kernel-module-tua9001-4.2.1_4.2.1-r0.1_lunix.ipk
-rwxrwsr--. 1 root openpli   11856 Jan 11 20:28 kernel-module-tuner-4.2.1_4.2.1-r0.1_lunix.ipk
-rwxrwsr--. 1 root openpli    3478 Jan 11 20:28 kernel-module-tunnel4-4.2.1_4.2.1-r0.1_lunix.ipk
-rwxrwsr--. 1 root openpli    3500 Jan 11 20:28 kernel-module-tunnel6-4.2.1_4.2.1-r0.1_lunix.ipk

7.1-rc has the same issue.

 

Due to personal circumstances I can't look at it for the next two weeks. Please ping me again first week of June, in case I forget this...


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: openvpn problem #22 funradio

  • Senior Member
  • 30 posts

0
Neutral

Posted 21 May 2019 - 11:41

Thank you very much  :rolleyes:



Re: openvpn problem #23 funradio

  • Senior Member
  • 30 posts

0
Neutral

Posted 4 June 2019 - 12:59

Hello WanWizard,
I remind myself :)
Thank you for your precious time
:rolleyes:


Re: openvpn problem #24 WanWizard

  • PLi® Core member
  • 68,303 posts

+1,718
Excellent

Posted 4 June 2019 - 20:38

Found the problem.

 

The kernel tarball for the lunix contains a defconfig that overrides changes made in the BSP. We've asked Qviart to remove it.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: openvpn problem #25 funradio

  • Senior Member
  • 30 posts

0
Neutral

Posted 6 June 2019 - 10:15

Thanks I'll be waiting. Will it take you long?



Re: openvpn problem #26 WanWizard

  • PLi® Core member
  • 68,303 posts

+1,718
Excellent

Posted 6 June 2019 - 10:22

No. Qviart has updated their BSP this morning, turned out there was something missing in the kernel defconfig too.

 

I have just merged their changes, so it should be fixed in the next 7.1-rc build, in time for 7.1-release.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: openvpn problem #27 funradio

  • Senior Member
  • 30 posts

0
Neutral

Posted 8 June 2019 - 07:27

Thank you, but I think I'm doing something wrong.

I have the latest version as you said, I see progress.

 

root@lunix:~# find . -xdev -name "tun*"
root@lunix:~# opkg list-installed | grep module-tun
kernel-module-tunnel4-4.2.1 - 4.2.1-r0.34
root@lunix:~# modprobe tun
modprobe: FATAL: Module tun not found in directory /lib/modules/4.2.1
root@lunix:~# lsmod
Module                  Size  Used by
ipv6                  353710  67
bcm                     6542  0
core                 9659060  38
fuse                   88944  1
 
And /dev/tun/ does not exist :(

 

ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such device (errno=19)
Exiting due to fatal error
 
Uninstall and reinstall openvpn  :unsure: ?


Re: openvpn problem #28 funradio

  • Senior Member
  • 30 posts

0
Neutral

Posted 8 June 2019 - 07:33

Physically /dev/net/ tun in the directory exists, because it is created at startup. But as if this couldn't read it.


Edited by funradio, 8 June 2019 - 07:34.


Re: openvpn problem #29 WanWizard

  • PLi® Core member
  • 68,303 posts

+1,718
Excellent

Posted 8 June 2019 - 10:49

The fact that the BSP was updated by the manufacturer doesn't mean the module will magially appear. ;)

 

First, that requires a new compile run with a forced rebuild of the kernel, and that hasn't happened yet.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: openvpn problem #30 WanWizard

  • PLi® Core member
  • 68,303 posts

+1,718
Excellent

Posted 8 June 2019 - 15:25

Rebuild of the lunix kernel has just finished.

[build@buildserver3] $ ls -l lunix/kernel-module-tun*
-rw-r--r-- 2 build build 16704 Jun  8 16:17 lunix/kernel-module-tun-4.2.1_4.2.1-r0.37_lunix.ipk
-rw-r--r-- 2 build build 11858 Jun  8 16:17 lunix/kernel-module-tuner-4.2.1_4.2.1-r0.37_lunix.ipk
-rw-r--r-- 2 build build  3484 Jun  8 16:17 lunix/kernel-module-tunnel4-4.2.1_4.2.1-r0.37_lunix.ipk
-rw-r--r-- 2 build build  3502 Jun  8 16:17 lunix/kernel-module-tunnel6-4.2.1_4.2.1-r0.37_lunix.ipk

so it should be in the feeds now. ;)


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: openvpn problem #31 funradio

  • Senior Member
  • 30 posts

0
Neutral

Posted 8 June 2019 - 18:56

19:54:31 2019 Initialization Sequence Completed

;)  :) you are king  :rolleyes:

How can I repay you?



Re: openvpn problem #32 WanWizard

  • PLi® Core member
  • 68,303 posts

+1,718
Excellent

Posted 9 June 2019 - 11:19

No need, this is open source, we do this for free. ;)

 

If you really have the urge, there is a donate button at the top of the screen. Donations go towards our monthly infrastructure bill. 


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: openvpn problem #33 funradio

  • Senior Member
  • 30 posts

0
Neutral

Posted 11 June 2019 - 21:01

It happened  ;)
I wish a lot of success  :rolleyes:


Re: openvpn problem #34 WanWizard

  • PLi® Core member
  • 68,303 posts

+1,718
Excellent

Posted 11 June 2019 - 21:43

On behalf of the team, many thanks for keeping us "airborne". :thumbs-up:


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users