Recommended Posts

24 minutes ago, bradness said:

ok lets assess the situation, i have multiple devices all needing the same set up which i can do through scripts that take less then 5 mins,

 

The Devices come in with DHCP set on and if the Device is turned on will obtain an ip the router has given it, every device will get a different ip within the hour as the DCHP lease time of the router is 1 hour minimum. 

 

currently i am manually assigning the same ip to each one by physically using the touch screen on the device to go into admin and setting a static ip, This then requires a restart of the machine, then running the set up then again logging into the admin mode to reset turn back on the autoip configuration ready for shipment. 

 

What i would like is a way so when i turn the Device on, the router gives it a set Ip address (the first one in the DHCP table), run the set up then when finished unplug it, the router then reaches its DHCP lease time, deletes the device from its table and the same ip address is then ready for the next device when i am ready.

 

Im trying to find ways of not setting the machine to static then back to auto, the router does all this for me. i just need the lease time to be shortened. 

 

not understanding why everyone needs to know why i need it it, look at the post, its nothing to do with my original question, believe me, it works this way, i have tested it many times bu turning the router off and leaving it off till it resets. And apparently I'm the one overthinking things. I have my answer so thank you very much. 

We are solution providers. With the correct information we, collectively, can think of ways to address your issue or come up with a solution that you have not thought of. Especially when you are doing something that could potentially break things. You don't want to give us anything to work with, a horrible solution could be provided.  

 

You are dealing with a printer, possibly, ever think that a backup can be done and applied to a new one. Whether it be through a web interface or capturing a config via serial or ssh. I don't know what you have, so I could even begin to come up with a script or plan to address your issue being that every manufacture, and model class, has its own language and/or screens to filter through. 

 

Do it whatever way you feel comfortable. I am done asking questions here to try and help you. 

24 minutes ago, bradness said:

good idea warwagon, unfortunately the devices are stand alone printers and multi functional devices (Copy/Fax/Scan/Print) etc. they have limited connectivity before their set up. Im pretty sure external network cards would require drivers and internal set up. 

 

thanks though.

Oh alright, I see you mentioned that above and I missed it. i'm guessing you would like the same IP address everytime so you can connect to the printer via the same known IP. One question for you, are these all different printers or always the same make and model?

 

If it was always the same make and model how about setting up an IP reservation via device name? My guess would be, if it was always the same make and model it would always have the same device name. Even if you had multiple device models you could set up a ip reservation for each one. So could make a spreadsheet so you would know this model would get X IP. I know you might not have netgear, but it's just an example.

 

http://kb.netgear.com/app/answers/detail/a_id/25722/~/how-do-i-reserve-an-ip-address-on-my-netgear-router%3F

 

..I'm just throwing spaghetti at the wall :D

 

21 minutes ago, sc302 said:

We are solution providers. With the correct information we, collectively, can think of ways to address your issue or come up with a solution that you have not thought of. Especially when you are doing something that could potentially break things. You don't want to give us anything to work with, a horrible solution could be provided.  

 

You are dealing with a printer, possibly, ever think that a backup can be done and applied to a new one. Whether it be through a web interface or capturing a config via serial or ssh. I don't know what you have, so I could even begin to come up with a script or plan to address your issue being that every manufacture, and model class, has its own language and/or screens to filter through. 

 

Do it whatever way you feel comfortable. I am done asking questions here to try and help you. 

sc302, i am very grateful for your assistance and didn't mean to offend you. Its not the different ideas i have issues with, i'm open to new methods and thoughts from anyone, it is the way people question what i know works to begin with i find silly, also a few comments that purely say, "why do you need this" or "that is a stupid idea" surely these people have no place on a forum like this? perfectly understandable if you do not wish to help, apoligies for being rude, in answer to your comment regarding configs, The printers do not accept back ups as they are serial number controlled and one back up would not work on a machine of a different serial number, these are all things i tried in the past. many thanks for your suggestions. 

12 minutes ago, warwagon said:

Oh alright, I see you mentioned that above and I missed it. i'm guessing you would like the same IP address everytime so you can connect to the printer via the same known IP. One question for you, are these all different printers or always the same make and model?

 

If it was always the same make and model how about setting up an IP reservation via device name? My guess would be, if it was always the same make and model it would always have the same device name. Even if you had multiple device models you could set up a ip reservation for each one. So could make a spreadsheet so you would know this model would get X IP. I know you might not have netgear, but it's just an example.

 

http://kb.netgear.com/app/answers/detail/a_id/25722/~/how-do-i-reserve-an-ip-address-on-my-netgear-router%3F

 

..I'm just throwing spaghetti at the wall :D

 

good idea, the devices are all the same make but each one had a different device id, so reserving addresses would not work, 

 

the idea behind the same ip is that the script i run uses a web browser style interface to show a remote panel, i would like to just be able to click "connect" each time and not have to change the ip in the script or on the machine, unfortunately the devices all show as a different name.

14 minutes ago, bradness said:

good idea, the devices are all the same make but each one had a different device id, so reserving addresses would not work, 

 

the idea behind the same ip is that the script i run uses a web browser style interface to show a remote panel, i would like to just be able to click "connect" each time and not have to change the ip in the script or on the machine, unfortunately the devices all show as a different name.

Yep, that's what I thought.

 

After trying to think of a solution, I think you wanting a very short DHCP lease really does sound like the best solution.

 

I know you said you are not good with scrips and Either am I but when you run the script could you have the script stop at the ip and output all but the last 3 numbers (example 192.168.1.)

 

Then have the DHCP table page on your router open and after you plug in the printer hit refresh and see which number it grabbed

 

then you enter the last 3 numbers, press enter and BAM! 

So your setting up printers?  And you use some autohotkey script to run through some web interface?

 

What is the brand of printer.. Many of them have admin tools to push configurations, etc.  You could push config to hundreds of them at the same time, etc.

 

For example brother has

http://support.brother.com/g/s/id/bradmin_pro/en/index.html?c=us_ot&lang=en&comple=on&redirect=on

 

Mass-configure printer or print server settings
The BRAdmin Professional software can be used to mass-configure device settings. This means that if you have a group of printers/FAX/DCP or MFC machines which you would like to be configured in an identical way, the BRAdmin Professional software can broadcast the settings you require to a single device or a group of Brother network-connected devices.

 

I'm with sc302, while I answered your question on how to set a short lease time.. If what your doing is configuration of printers - walking thru some web gui does not seem the fastest most efficient method..   Always lots of ways to skin the cat, but without knowing the breed of the cat how can you determine the best skinning method.  While I applaud your work around you have come up with for speed of accomplishing your job..  I would not be surprised if there is a MUCH better way of doing it - but without exact details its impossible to point you in the correct path.

 

What is the make and model of these devices?  Are they all the same make and model or do they vary and maker changes all the time, etc. etc..
 

This topic is now closed to further replies.
  • Posts

    • If I could, I would commemorate it the best way possible: Replacing old machines that are still running Windows XP with something more modern, stable and better.     Noone and nothing should be running Windows XP in 2026.
    • Google's new hand-wave reCAPTCHA can be bypassed with a stock photo by Ivan Jenic Image: Screenshot Google is testing a new reCAPTCHA method that asks you to wave at your camera to prove you're human. So, besides solving puzzles and reading distorted text, you can now use your computer’s camera to pass the verification test. When the hand gesture verification is triggered, your browser asks for camera access and prompts you to perform a simple gesture, like a wave or an open palm. Google says it records a short video of the movement and uses AI to extract 21 hand-knuckle coordinates to complete the verification process. The video is then immediately deleted, and Google swears it doesn't keep it. The process alone can be uncomfortable for people who wouldn’t want their biometric data, which hand scans technically qualify as, recorded. But it gets even more nuanced, as early testers discovered that the new hand-waving reCAPTCHA can be passed with a simple stock image. A user on X tested the new challenge using a stock image of a hand fed through OBS Virtual Camera, and it passed. I wanted to verify it, so I tried the same thing. It took me a few tries and a few stock images, but in the end, I was also able to pass the test. I simply had to readjust the stock image of a generic person waving inside OBS, and Google’s mechanism registered it as a legitimate hand gesture. Once again, it didn’t even have to be a video or an AI-generated hand animation. Given the simplicity of the process, the entire action can be automated in minutes. All it takes is a simple Python script to render the new reCAPTCHA method obsolete. And it doesn’t even have to be an AI bot, which is usually used for solving puzzles and other verification methods. The new reCAPTCHA method is still in its early phase, and Google will, hopefully, update its AI to at least reject still images. However, this incident, combined with users’ initial skepticism about Google’s practices regarding user data, likely won’t make too many people wave at the camera anytime soon.
    • 🤣🤣🤣🤣🤣 "to fund healthcare and tuition" 🤣🤣🤣🤣 Who do you think you are talking about, some COMMUNIST? We are better than them, doG bless Murica!!! p.s. I'm from a country where government does exactly that, i.e. not form US.
    • Apparently not. I know it is on Edge for business at the moment, but how long will it be before it become on the home version of Edge?
  • Recent Achievements

    • First Post
      carols23 earned a badge
      First Post
    • One Month Later
      Tom Willson earned a badge
      One Month Later
    • Apprentice
      Asgardi went up a rank
      Apprentice
    • One Month Later
      sunrisea2milk earned a badge
      One Month Later
    • Week One Done
      sunrisea2milk earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      495
    2. 2
      +Edouard
      262
    3. 3
      PsYcHoKiLLa
      151
    4. 4
      Steven P.
      92
    5. 5
      macoman
      67
  • Tell a friend

    Love Neowin? Tell a friend!