Jump to content

IP Chnager


Timmo
 Share

Recommended Posts

hi everybody,

i have been working on a script called ip changer and it changes your network adapters ip address is a matter of clicks.

basically if you have your home network running DHCP and you buy a new network print server from say DLink where they have a fixed IP address. so to configure it you need to change your IP address to one on the same network as the new device. once you have set it to the right network you need to go back into network connections just to change back to DHCP assigned address.

now with my script it take mearly 30 seconds to change your ip. and then another 30 seconds to get your DHCP one back.

check it out. http://ipchange.net/

a good mate has done a really good job with the site as well.

please give any suggestions, comments or bugs with the script or the site.

cheers

Link to comment
Share on other sites

Um, why can't you just use the built in tcp/ip panel to manually set an IP address manually instead of creating a program to do this?

Also, if the device plugs into your network, create a static path to it through your gateway, assuming your router is the gateway and the router can see the end device. No need for dhcp changes.

route add network.id.of.device(Not IP address, but network address) mask subnet.mask gaeway.ip

ex:
route -p add 192.168.100.0 mask 255.255.255.0 10.1.1.1

The -p is persistent, so it stays on reboot in windows. You would then need to do a route delete command to remove persistent routes.

Link to comment
Share on other sites

Even better.....

Copy this into a notepad then save it as a .bat file and BAM! Just change the IPs when you need to.

@echo off

title lopez1364's IP configurator

setlocal

set OK=N

:again

set /p choice=Please enter 1[New IP], 2[DHCP] or END ??

if /i [%choice%]==[END] endlocal&goto end

if [%choice%]==[] goto again

if [%choice%]==[1] goto 1

if [%choice%]==[2] goto 2

set /p xxx=wrong entry, press any key to exit.

endlocal

goto end

:1

echo NIC setting for New IP access being configured.....

@netsh interface ip set address "Local Area Connection" static 192.168.1.100 255.255.255.0 192.168.1.1 1

@netsh interface ip set dns "Local Area Connection" static 127.0.0.1

@netsh interface ip add dns "Local Area Connection" 192.168.1.100

set /p see=IP changed successfully to New Settings [9]see new setting [Enter]exit...

if [%see%]==[9] goto show

echo Ending IP Configuration

goto end

:2

echo NIC setting for DHCP being configured.....

@netsh interface ip set address "Local Area Connection" dhcp

set /p see=IP changed successfully to DHCP Settings [9]see new setting [Enter]exit...

if [%see%]==[9] goto show

echo Ending IP Configuration

goto end

:show

@netsh int ip show config

:end

@echo on

cls

Link to comment
Share on other sites

errr why when with my small script that you can download you can change the config file using the gui or text editor between 4 configs. then have a shortcut on your desktop with the command "ipchanger.exe -p 1-4" to change everything from dhcp configed to changing ip address, wins address, dns address, subnet mask.

also this allows anyone to just quickly change ip information including wins and dns without having to go through the properties of tcpip to change it.

and for your information the small program has been getting some good reviews on the net. just google "fast ip changer" and see for your self.

and the idea of the program isnt to get a new dhcp address as you wont get a new one unless you change your mac address (as ip addresses are assigned based on unique addresses ie mac address) or your wait untill your ip lease is up. this is designed to be used if you are needed to go to a different site and they have static ip addresses, you can have a preset for that network and as well as have dhcp on another config. and you dont need to worry about scripting as it has already been done and you can save the configs or not. i dont see why ppl have to try and be smart and do complicated tasks (which takes up too much time) with such a cut down and crappy operating system. if someone writes a script with a nice gui and it provides some time saving in such a crappy and time wasting operating system then give some input instead of saying "im better than you coz i waste time writing once off scripts" why not do something decent with your time. i thought id share my script with the community at hak.5 and get some real input but im guessing my time has been wasted here.

good day.

Link to comment
Share on other sites

"if someone writes a script with a nice gui and it provides some time saving in such a crappy and time wasting operating system then give some input instead of saying "im better than you coz i waste time writing once off scripts" why not do something decent with your time. i thought id share my script with the community at hak.5 and get some real input but im guessing my time has been wasted here. "

So is writing a script and designing a program is that not a waste of your decent time for a cut down crappy OS anyways because last time I checked somebody has already written such a program that by the way is more functional then just changing an IP. Great initiative bad judgement.

http://www.mobilenetswitch.com/

Link to comment
Share on other sites

i have just recently lost my job so i had time to work on it. also theirs can be used for more settings. but have you seen the size of it. mine is about 300K theirs is 3.5M, i was also trying to cut back on the size so you didnt have to download much. also theirs requires an install, mine can be just copied and used, say put it on your flash drive as a portable app or as a shortcut in your quick launch

Link to comment
Share on other sites

good day.

Bah ha ha ha.

So, I guess the moral of the story is don't illicit feedback if you can't handle it being negative? You're coming to a forum where people use their cars as mobile WPA cracking stations, do you honestly think anyone here is going to get all that excited about something that automates a basic OS function?

Next week I'll post a script with a GUI that puts windows in to hibernate mode, we'll see if the community gets really excited about that.

I personally appreciate your efforts, I think this would be great for less skilled technicians who have to go to multiple sites where DHCP isn't an option, but I think your attitude is piss poor.

Please, do not ever again respond to criticism with "the small program has been getting some good reviews on the net." This is not 1997, no one is impressed.

Link to comment
Share on other sites

it would have its use in my work role , storing lots of configs is handy , named configs would be better for me , also for it to sit in the task bar and not both in the taskbar and menu bar would be better for my use as it could then just sit in there allday long without cluttering my menu bar.

Link to comment
Share on other sites

it would have its use in my work role , storing lots of configs is handy , named configs would be better for me , also for it to sit in the task bar and not both in the taskbar and menu bar would be better for my use as it could then just sit in there allday long without cluttering my menu bar.

i can put a minimize to tray button and also have menu options in the task bar. thanks for the positive input :)

ill complete those changes later in the next couple of days and upload it. also ill include your name in the welcome message

Link to comment
Share on other sites

  • 3 weeks later...
and for your information the small program has been getting some good reviews on the net. just google "fast ip changer" and see for your self.

good day.

I was legitimately looking for reviews of this, in hopes of understanding in what capacity it could be more useful than a script, and all I found was this

CNet review. To quote, in case it goes down:

"DOES NOT WORK"

by kdryan2 on July 4, 2009

Pros: No redeeming qualities

Cons: Not only did the product not work, it screwed up my settings so I could connect until I manually went in and repaired the damage.

Summary: Once again, it does not work

-- Just out of curiosity, any ideas what went wrong with that guy's usage?

good day.

Link to comment
Share on other sites

I was wondering why this would be useful on 'Doze when it's really easy to change an IP address however on reading the script what it actually does is change your IP to a static of 192.168.1.100 which is great but what happens when it's say a 192.168.2.XX or 192.168.0.XX ??

Link to comment
Share on other sites

I was legitimately looking for reviews of this, in hopes of understanding in what capacity it could be more useful than a script, and all I found was this

CNet review. To quote, in case it goes down:

"DOES NOT WORK"

by kdryan2 on July 4, 2009

Pros: No redeeming qualities

Cons: Not only did the product not work, it screwed up my settings so I could connect until I manually went in and repaired the damage.

Summary: Once again, it does not work

-- Just out of curiosity, any ideas what went wrong with that guy's usage?

good day.

no idea. i saw it the other day. when you first open the program it will give an email to send any issues and he didnt send me an email. my guess would be he is trying to change his ip without admin privs or he doesnt know anything about ip addresses (given away by "it screwed up my settings so I could connect until I manually went in and repaired the damage"). it prob changed his IP address so it was on another network than his router so he wouldnt be getting access to his router. also i have been getting a few emails about people trying to use this to change their external IP address... i have added a warning to the welcome message.

im just about to upload a newer version 1.65 which has custom labels for each config. v1.6 had tray options and a minimize to tray option. thanks 3w`Sparky for the advice :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...