R 7000 OpenVPN client "could not read Auth username from stdin"

3 posts / 0 new
Last post
Gonzo1701e
Gonzo1701e's picture
R 7000 OpenVPN client "could not read Auth username from stdin"

Hi guys!

I am running Shibby´s Tomato on my R 7000 and have tried both the older, as well as the more recent version. I want to set up the OpenVPN client to connect to my VPN Provider, Cyberghost. However I get the following error in Syslog:

Nov 25 13:53:59 unknown daemon.notice openvpn[6936]: OpenVPN 2.3.4
arm-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on
Jun 9 2014
Nov 25 13:53:59 unknown daemon.notice openvpn[6936]: library versions: OpenSSL 1.0.1h 5 Jun 2014, LZO 2.06
Nov 25 13:53:59 unknown daemon.err openvpn[6936]: ERROR: could not read Auth username from stdin
Nov 25 13:53:59 unknown daemon.notice openvpn[6936]: Exiting due to fatal error

 

This is my custom configuration:

client
remote 4-us.cg-dialup.net 8080
dev tun
proto udp
auth-user-pass

resolv-retry infinite
redirect-gateway def1
persist-key
persist-tun
nobind
cipher AES-256-CBC
auth MD5
ping 5
ping-exit 60
ping-timer-rem
script-security 2
remote-cert-tls server
route-delay 5
tun-mtu 1500
fragment 1300
mssfix 1300
verb 4
comp-lzo

ca ca.crt

cert client.crt

key client.key
 

And these are the configurations in "client 1" > "basic":

  • Start with WAN: Disabled
  • Interface Type: TUN
  • Protocol: UDP
  • Server Address/Port: Address: 4-us.cg-dialup.net Port: 9081.
  • Firewall: Automatic
  • Authorization Mode: TLS
  • Username/Password Authentication: Enabled
  • Username Authentication only: Disabled
  • Extra HMAC authorization: Disabled
  • Create NAT on tunnel: Enabled

These are the configurations in "client 1" > "advanced":

  • Poll Interval: 0 (deactivated)
  • Redirect Internet traffic: Enabled
  • Accept DNS configuration: Relaxed
  • Encryption cypher: AES-256-CBC
  • Compression: Enabled
  • TLS Renegotiation Time: -1
  • Connection retry: 30
  • Verify server certificate: Disabled

I have already checked my password and username. I have also set the time server to US and the time zone to pacific time. I really would appreciate any help you could give me, since this problem is far beyond my thechnical expertise :-)

Regards!

Gonzo

a7lanta
a7lanta's picture
Did you ever get this working

Did you ever get this working?

I am having the exact same issue (albeit with a Linksys E2500)

Thanks!

Glaurung
Glaurung's picture
I've got Cyberghost running

I've got Cyberghost running on my R7000, with DD-WRT v3.0.

Took some troubleshooting but found that by removing the following items in the config all works great:

auth-user-pass (this was a spurious extra line put in for some reason)

dev-tun

ca ca.crt

cert client.crt

key client.key

 

Once I removed those 5 items, everything connected and runs for days.

Hope this helps someone.

Glau