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

    • Honestly that feels even more useless than it did when Win11 was first released. In 2021, the uproar was somewhat justified, but only when comparing how good we've had it since Windows 7. Prior to that, a new Windows release would often require new, or very recent hardware. Windows XP wouldn't run (in any usable way) on hardware released when it's predecessor Win98 was released (let's ignore ME). It was time to shift the goal post, and the way Microsoft did that was actually ok. People have still had another FIVE YEARS of free software support with Windows 10, and those of us who want to have used these tools to bypass the limitations, all while understanding the impacts that may have. Most laptops don't last 5 years (sadly), so now the youngest unsupported hardware is 9 years old, and apparently has another year of support with Windows 10. That's good. Meanwhile, understanding the impacts and limitations, I have my 2013 laptop running Win11 perfectly fine. The thing that's failing on it is the hardware, the 2.5" SATA cable/chip is failing and corrupting the SSDs I put in. Thankfully it has a functional M.2 sata drive that works fine!
    • iPhone 18 Pro drop-test video and photos leak on the dark web following a data breach by Hamid Ganji iPhone 17 Pro - Image via Apple Apple is seemingly facing one of the biggest data breaches in its history, and just a few months before the official debut of the iPhone 18 Pro series, photos, a drop-test video, a supplier list, and key phone components have reportedly been leaked by hackers. Last week, we reported that Tata Electronics, an Apple supplier and iPhone producer in India, was hit by a data breach. As a result, it was reported that more than 200,000 trade secrets and confidential documents belonging to Apple and Tesla were stolen by the ransomware group World Leaks. According to Reuters, the group has now leaked supplier lists, component details, and photos of the upcoming iPhone 18 Pro models on the dark web. One of the materials leaked by the hackers is a drop-test video of the iPhone 18 Pro, which is due to launch this September. The phone is shown in a gray color and has the same familiar design we saw on last year's iPhone 17 Pro series. The device also appears to be quite durable, though it seems to be thicker than last year's model. One possible explanation is that Apple may be using a larger battery in the iPhone 18 Pro series. Moreover, Reuters says it has seen at least six documents mapping many components in the iPhone 18 Pro models to their respective suppliers, including details on chips on the main circuit board and on battery and camera components. The documents reportedly detail hundreds of parts that will be used in the iPhone 18 Pro models. A person familiar with the matter told the outlet that Apple classifies this data as sensitive and “is concerned about the documents being shared on the dark web as they relate to unreleased models.” Apple is reportedly investigating the issue but has yet to issue an official statement.
    • You do you, I've just said that it first appeared in "home" version before it will be available in "work" one. I use Edge only because it still supports MV2 uBO extension even on Android - I'll switch when they stop.
    • I imagine that was a review or something? My reviews mostly contain a lot of images and galleries, but these are all webp too, but yeah it all adds up on the page load. Would help if you were more helpful with your critique instead of bitching and moaning like a Karen 😂 Because then we might be able to fix it for you.
    • If Valve refused to let them make the case, I wonder if they've already partnered with someone else to do it? The fact that they didn't seek permission/licence before diving straight in is incredible though
  • Recent Achievements

    • First Post
      rosiecharles earned a badge
      First Post
    • Reacting Well
      Juan Dela earned a badge
      Reacting Well
    • Week One Done
      Collagen Project earned a badge
      Week One Done
    • Reacting Well
      Wakeen1966 earned a badge
      Reacting Well
    • Rookie
      Almohandis went up a rank
      Rookie
  • Popular Contributors

    1. 1
      +primortal
      516
    2. 2
      +Edouard
      273
    3. 3
      PsYcHoKiLLa
      142
    4. 4
      Steven P.
      100
    5. 5
      macoman
      53
  • Tell a friend

    Love Neowin? Tell a friend!