Possible ip-win32 netsh issue on some localized OS

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
vbokashov
OpenVpn Newbie
Posts: 4
Joined: Mon Nov 15, 2010 3:34 pm

Possible ip-win32 netsh issue on some localized OS

Post by vbokashov » Mon Jul 15, 2013 5:42 pm

Well, I got some issue running OpenVPN client on localized Korean and Japanese Windows with “ip-win32 netsh” option.

This is (on Korean) or similar what I have in the logs:
Tue Jul 16 01:38:19 2013 NETSH: C:\Windows\system32\netsh.exe interface ip set address 로컬영역연결2 static 10.8.0.6 255.255.255.252
Tue Jul 16 01:38:19 2013 ERROR: netsh command failed: returned error code 1
Tue Jul 16 01:38:24 2013 NETSH: C:\Windows\system32\netsh.exe interface ip set address 로컬영역연결2 static 10.8.0.6 255.255.255.252
Tue Jul 16 01:38:24 2013 ERROR: netsh command failed: returned error code 1
Tue Jul 16 01:38:29 2013 NETSH: C:\Windows\system32\netsh.exe interface ip set address 로컬영역연결2 static 10.8.0.6 255.255.255.252
Tue Jul 16 01:38:29 2013 ERROR: netsh command failed: returned error code 1
Tue Jul 16 01:38:34 2013 NETSH: C:\Windows\system32\netsh.exe interface ip set address 로컬영역연결2 static 10.8.0.6 255.255.255.252
Tue Jul 16 01:38:34 2013 ERROR: netsh command failed: returned error code 1
Tue Jul 16 01:38:38 2013 NETSH: command failed
Tue Jul 16 01:38:38 2013 Exiting due to fatal error

The problem is that in cases like that netsh requires quotes for NIC name, so
netsh.exe interface ip set address “로컬영역연결2” static 10.8.0.6 255.255.255.252
works.

So, the question:
Is there any simple solution apart of default ip-win32 or ipapi?

Thank you.

Post Reply