Openvpn on R6200v2 dd-wrt kong - ifconfig not in /usr/sbin

5 posts / 0 new
Last post
ractar28
ractar28's picture
Openvpn on R6200v2 dd-wrt kong - ifconfig not in /usr/sbin

OpenVPN isn't connecting.  I enabled logging.  

from var/log/messages

Feb 18 22:50:39 DD-WRT daemon.notice openvpn[3764]: /usr/sbin/ifconfig tun1 10.187.1.6 pointopoint 10.187.1.5 mtu 1400
Feb 18 22:50:39 DD-WRT daemon.err openvpn[3764]: Linux ifconfig failed: could not execute external program
Feb 18 22:50:39 DD-WRT daemon.notice openvpn[3764]: Exiting due to fatal error
 
ifconfig exists in /sbin, but not in /usr/sbin, and it's being called using a specific location.  I can't mount -o remount,rw / ... well, if I do, /usr/sbin is still read-only.
How can I:
a.  mount /usr/sbin so I can cp /sbin/ifconfig /usr/sbin/ifconfig
b.  symlink /sbin/ifconfig to /usr/sbin/ifconfig (or the other way around, whichever I need to do)
c.  Find the script that is calling /usr/sbin/ifconfig so I can use vi or nano to change the path?
 
If you need any info from files, please give me the full path as I'm not a Linux guy.
Sayan Mukherjee
Sayan Mukherjee's picture
Which firmware are you using?

Which firmware are you using?

Sayan Mukherjee
Sayan Mukherjee's picture
Please give the link.

Please give the link.

ractar28
ractar28's picture
I can't link it, but it's the

I can't link it, but it's the one titled DD-WRT Firmware for Netgear R6200 v2 7-Aug-2014

Ello
Ello's picture
I know this post is very old

I know this post is very old but is there an updated build of DDWRT for this model R6200 v2?

I flashed https://www.myopenrouter.com/download/dd-wrt-firmware-netgear-r6200-v2-7-aug-2014 and it works fine but I cant get the open vpn client to connect. I would like to locate a more recent build since its not official supported.