Any recommended replacement?
-
Hi again Nelek, it is not difficult to use that set of commands, in fact a simple
netsh -c interface ip dump >> c:\folder\file.cfg
makes a complete backup of the current configuration. While a
netsh -f c:\folder\file.cfg
Recovers that configuration automatically. Great and easy. The only problem I can see is that in windows 10 it doesn't store the DNS configuration in the backup process so it can't save it for later recovery. Not that super thing given why I want to use it, but... does that work in your scripts? And, if it works... what have you done? Thank you! :thumbsup:
www.robotecnik.com[^] - robots, CNC and PLC programming
I made a bat to bring a menu, where to select which configuration I wanted. d - DHCP 1 - Configuration 1 2 - Configuration 2 ... x - Exit Selected entry called a configuration_X.netsh file where the specific data for each connection / customer were saved and my eth got the desired settings in a couple of seconds.
M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
-
In the industrial sector it is not very common to have the DHCP activated in the machines that are being programmed. And in some cases, you need to connect to specific IP addresses forced by the manufacturer of the device (i.e. robot...). Alas... I can't use this approach. Thank you anyway Daniel.
www.robotecnik.com[^] - robots, CNC and PLC programming
Whenever I have faced this problem (since Windows XP/Server 2000) I have successfully used "DCHP Reservations" (other terminology may be used) to always return the same IP address (based on MAC address) to a device following a DHCP request. This gives the advantages of central management for all such devices combined with the flexibility to be able to connect a device at different locations with different IP settings e.g. IP, gateway, DNS etc. without configuration changes. Windows AD certainly has always supported this approach. I would guess that Linux etc would be able to do as well. If you are not in a managed domain then there are open source DHCP servers available that could be used to give the same result
-
I made a bat to bring a menu, where to select which configuration I wanted. d - DHCP 1 - Configuration 1 2 - Configuration 2 ... x - Exit Selected entry called a configuration_X.netsh file where the specific data for each connection / customer were saved and my eth got the desired settings in a couple of seconds.
M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
My objective would be to store the data in a file via backup (storing the dns too), and afterwards being able to reload those files (recovering the dns too). Are your bat's working with the DNS settings too? Thanks!
www.robotecnik.com[^] - robots, CNC and PLC programming
-
Hi all, Usually I change from my office to the customer's location. In each place I need to specify a different IP address. Years ago ibm and lenovo included the "thinkvantage access connections" which allowed to select a configuration from a list after pressing a key combo. Are you using anything similar? Can you recommend something as a replacement for the lenovo software? Ps: I want to replace it because it no longer works in Windows 10. Thank you all!
www.robotecnik.com[^] - robots, CNC and PLC programming
Here's what I do for a similar prolbem -- using DHCP for connecting to the corporate network and fixed IP when connecting to one of the devices we develop. I use batch files containing the 'netsh' command. Single-click of a shortcut on the desktop works for me. Go to fixed IP: netsh interface ip set address name="Local Area Connection" static 192.168.0.51 255.255.255.0 Back to DHCP netsh interface ip set address name="Local Area Connection" source = DHCP
-
Hi all, Usually I change from my office to the customer's location. In each place I need to specify a different IP address. Years ago ibm and lenovo included the "thinkvantage access connections" which allowed to select a configuration from a list after pressing a key combo. Are you using anything similar? Can you recommend something as a replacement for the lenovo software? Ps: I want to replace it because it no longer works in Windows 10. Thank you all!
www.robotecnik.com[^] - robots, CNC and PLC programming
I do lots of work on different jobsites and am constantly changing IP/network settings. Try NetSetMan, I think this is what you are looking for, and has been great to use over the years. Found Here: Windows IP Freeware NetSetMan: Network Settings Manager (LAN & WiFi)[^] It's freeware and has lots of options. I think it is only windows though, so if you have Linux/Mac, you are out of luck. -jason
-
My objective would be to store the data in a file via backup (storing the dns too), and afterwards being able to reload those files (recovering the dns too). Are your bat's working with the DNS settings too? Thanks!
www.robotecnik.com[^] - robots, CNC and PLC programming
Mine... nope. Only IP, Gateway and Subnet-Mask I think it could work, but never needed it because I was only in "offline" networks for production, so no DNS at all.
M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
-
Mine... nope. Only IP, Gateway and Subnet-Mask I think it could work, but never needed it because I was only in "offline" networks for production, so no DNS at all.
M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
Then I won't spend more time on it, it's a super-solution: I can store the right IP addresses into the folder of each project. Super simple. Thank you for pointing me to this. :thumbsup::cool:
www.robotecnik.com[^] - robots, CNC and PLC programming
-
I do lots of work on different jobsites and am constantly changing IP/network settings. Try NetSetMan, I think this is what you are looking for, and has been great to use over the years. Found Here: Windows IP Freeware NetSetMan: Network Settings Manager (LAN & WiFi)[^] It's freeware and has lots of options. I think it is only windows though, so if you have Linux/Mac, you are out of luck. -jason
-
Then I won't spend more time on it, it's a super-solution: I can store the right IP addresses into the folder of each project. Super simple. Thank you for pointing me to this. :thumbsup::cool:
www.robotecnik.com[^] - robots, CNC and PLC programming
You are welcome
M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
-
Then I won't spend more time on it, it's a super-solution: I can store the right IP addresses into the folder of each project. Super simple. Thank you for pointing me to this. :thumbsup::cool:
www.robotecnik.com[^] - robots, CNC and PLC programming
I have had a look... I already had it configured in my files... but never used it. I think it worked on Win XP and maybe not in Win 7 that's why I commented them out (can't be 100% sure right now because I didn't need it)
pushd interface ip
set address name="LAN-Verbindung" source=static addr=192.168.0.219 mask=255.255.255.0
set address name="LAN-Verbindung" gateway=192.168.0.1 gwmetric=0
#set dns name="LAN-Verbindung" source=static addr=192.168.1.100 register=PRIMARY
#add dns name="LAN-Verbindung" addr=192.168.2.129 index=2
#set wins name="LAN-Verbindung" source=static addr=nonepopd
LAN-Verbindung is the standard name of the controler on german windows
M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.