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

    • Ummmm that is what is it supposed to do. Just turn if off in settings if you do not want it analyzing your open tabs. Chrome does the same thing with Gemini. Sarfari will do the samething after Apple's AI and even more so with the release of their 27 versions that is now powered by Googles LLM/ML models. Understanding why it is doing it and how it can help you vs jumping to some conspiracy theroy is a much better approach. As long as it can be turned off, all is good. Yes the default should be off but the a lot of people would never discover these features.
    • Just another reason (aside from many others) not to use Edge. Firefox 153.0b5 DEx64 has a similar feature added recently in prior builds that I will turn off at some point when I get around to it. It's the new "Something looks suspicious" page that pops up here and there. It cleverly hides itself between web pages that I've actually visited; as a result, you know, of selecting a web page and telling the browser where to go. The interesting thing is that it does not produce these warnings from pages that I, as the only intelligent user of the browser in my system, have ever directed the browser to open! What seems to be happening is that the browser looks at all the goofy ad links on a web page I do actually open and selects one that "looks suspicious" and then creates the "something looks suspicious" web page, which is neatly inserted, as mentioned, between web pages my RB ("real brain") has directed the browser to load in a session. The thing is, I usually look at links I am considering to follow before I ask the browser to load them, and in cases I have noticed where the link does indeed look suspicious, most of the time I will choose to not follow the link at all. Doesn't everyone do this or something similar? I am picky about what I voluntarily load... (I don't like links that start off fine, with a site designaiton that seems normal enough but then is followed by indecipherable alphanumeric strings many, many lines long, etc. I tend to reject those because they look suspicious. They may not be, but I don't care... I'll stay with Firefox, of course, if for no other reason than they usually let you turn off the junk you don't like. And because it isn't Edge... But at some point Microsoft will come to realize that putting your bookmarks on the left side is a Good Thing for a lot of people, just as Microsoft discovered when it had the bright idea of nailing the Windows taskbar to the bottom of the screen, when for decades Microsoft browsers had left that placement up to the user. They have finally reversed the obscenity of that decision. Finally.
    • Google was using the old CATPCHAs data to train their LLMs. What is the say they won't use this camera data of users to train their LLM? these companies need some strict regulations!
    • Depends on what you need. Might be a bit clearer on what you plan to do with it. Sort of a waste if you get the newest and greatest, but don't know how to use it.
  • Recent Achievements

    • One Year In
      BA the Curmudgeon earned a badge
      One Year In
    • Conversation Starter
      rosiecharles earned a badge
      Conversation Starter
    • First Post
      KMilenkoski1202 earned a badge
      First Post
    • First Post
      carols23 earned a badge
      First Post
    • One Month Later
      Tom Willson earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      513
    2. 2
      +Edouard
      258
    3. 3
      PsYcHoKiLLa
      151
    4. 4
      Steven P.
      94
    5. 5
      macoman
      66
  • Tell a friend

    Love Neowin? Tell a friend!