G
guruprasad.mayya
Hye
Am not a programmer. Dont have much use for it so never could get
around to remembering the syntax.
Took to ruby because of its simplicity but having a tough time
programming - cause i tire doing toy programs.
Anyway, i am currentlyusing my office laptops for various
presentations. Each floor of my office has its own unique IP number
sequence and so my laptop cannot access the network on each floor. This
requires me to keep changing the ip numbers on each floor.
Thought this would be a great ruby project for me. I could write a
small ruby programme which would accept the new IP number, Mask,
Gateway and DNS number and update it in one go instead of me having to
go to network properties, advanced blah blah and change the IP number
the traditional way.
But am unable to figure out how one can modify the system IP number.
Can anybody tell me what command / library to use to do that? I can
experiment and try out other requierments such as getting an input, IP
format validation and perhaps a graphical interface. But this one
confounds me.
Would appreciate all help received.
Thanks a bunch in advance.
Prasad
Am not a programmer. Dont have much use for it so never could get
around to remembering the syntax.
Took to ruby because of its simplicity but having a tough time
programming - cause i tire doing toy programs.
Anyway, i am currentlyusing my office laptops for various
presentations. Each floor of my office has its own unique IP number
sequence and so my laptop cannot access the network on each floor. This
requires me to keep changing the ip numbers on each floor.
Thought this would be a great ruby project for me. I could write a
small ruby programme which would accept the new IP number, Mask,
Gateway and DNS number and update it in one go instead of me having to
go to network properties, advanced blah blah and change the IP number
the traditional way.
But am unable to figure out how one can modify the system IP number.
Can anybody tell me what command / library to use to do that? I can
experiment and try out other requierments such as getting an input, IP
format validation and perhaps a graphical interface. But this one
confounds me.
Would appreciate all help received.
Thanks a bunch in advance.
Prasad