Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#13445 closed defect (worksforme)

Openvpn page doesn't work on "OpenWrt Barrier Breaker r36486 / LuCI Trunk (svn-r9812)"

Reported by: desigabri Owned by:
Priority: normal Milestone: Chaos Calmer 15.05
Component: luci Version: Trunk
Keywords: luci openvpn dispatch Cc:


The called action terminated with an exception:
/usr/lib/lua/luci/cbi.lua:334: Unable to read UCI data: openvpn
stack traceback:

[C]: in function 'assert'
/usr/lib/lua/luci/dispatcher.lua:448: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:195: in function </usr/lib/lua/luci/dispatcher.lua:194>

into /etc/init.d doesn't exist anything openvpn related
into /etc/config do exist a openvpn_recipes configuration file

I'll post another ticket about a similar problem with tinyproxy package: I'm writing here about it because I solved it coping some files that for some reasons weren't compiled form sources to the firmware. I think the problem can be similar but i tried different copy and move operation for the openvpn package without results.

Attachments (0)

Change History (5)

comment:1 Changed 5 years ago by desigabri

I forgot to mention that I test the firmware onto a TP-Link TL-WR841ND_v7 but I think it isn't related to the router model

comment:2 Changed 5 years ago by anonymous

Please take a look to the ticket 13448: it could PARTIALLY be a similar trouble that I was temporary able to solve. May be that I wasn't able to solve this trouble because tinyproxy appear to be installed as service but openvpn doesn't...
any suggestion waiting for a patch?

thanks in advance

comment:3 Changed 5 years ago by jow

  • Resolution set to worksforme
  • Status changed from new to closed

a) luci-app-openvpn is marked broken; so if you install it expect trouble
b) install any openvpn flavor to make the openvpn gui working, it expects a valid /etc/config/openvpn

comment:4 Changed 5 years ago by desigabri

Hi Joe, thanks for answering, I don't pretend an help: I tried to suggest some solution to the trouble. I need to add this to correct my first question, then I'll take a look to your suggestions.

I apologize: I reported an incomplete output when selecting the openvpn menu. The full output is:

/usr/lib/lua/luci/dispatcher.lua:448: Failed to execute cbi dispatcher target for entry '/admin/services/openvpn'.
The called action terminated with an exception:
/usr/lib/lua/luci/cbi.lua:334: Unable to read UCI data: openvpn
stack traceback:

[C]: in function 'assert'
/usr/lib/lua/luci/dispatcher.lua:448: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:195: in function </usr/lib/lua/luci/dispatcher.lua:194>

comment:5 Changed 5 years ago by desigabri

Thanks again Joe, you have been another time very helpfull for me.

Anyway, I wrote this comment for who has a low efficenty mind as me, and looks for help on (unfortunately) not updated wiki pages.

No informations about luci-app-openvpn dipendences (marked broken) and openvpn package disappared so I believed that it was added to the luci package at the last update that broken the package.

But in substitution of openvpn package you'll find others openvpn packages like

openvpn-openssl (heavy for big flash routers)
openvpn-nossl (light no ssl)
openvpn-polarssl (not tried)

that needs to be installed based of your ssl "flavor" (as told by Joe) choice, to have luci-app-openvpn working.

you should find other vpn packages (not openvpn) like

quicktun (told it's simple light without-ssl without-gui-interface)
strongswan (it should be the one actually implemented for openwrt complete and easy, but not for luci yet)

At this time I couldn't find updated wiki pages related to openvpn for openwrt so I'm not sure if there is the need of the openvpn-easy-rsa package for the openvpn-nossl istallation, I'll try to understand it, but because the nossl should be (I think because of its name) without cryptation may be that the rsa key isn't needed. I hope anyone who can add an help and do some correction here will help us (those of us with low efficent brain as me).

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.