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

4 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