Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.arch.embedded > #32007
| From | Dimiter_Popoff <dp@tgi-sci.com> |
|---|---|
| Newsgroups | comp.arch.embedded |
| Subject | Re: Configure network of an embedded device |
| Date | 2023-09-08 00:14 +0300 |
| Organization | TGI |
| Message-ID | <uddef1$34hgr$1@dont-email.me> (permalink) |
| References | <ud6pcn$1sdej$1@dont-email.me> <TGs*FNJpz@news.chiark.greenend.org.uk> <udbvit$2t598$2@dont-email.me> <TGs*lzOpz@news.chiark.greenend.org.uk> <uddbsg$3443p$3@dont-email.me> |
On 9/7/2023 23:30, Don Y wrote: > On 9/7/2023 11:40 AM, Theo wrote: >>> How does the device know if send a DHCP request (to receive an IP >>> address from an external DHCP server) or launch a DHCP server? >>> Maybe it can try a DHCP request a revert back to internal DHCP server if >>> that fails. >> >> The device out of the box is a DHCP server. Once somebody logs into >> it and >> configures it, it reboots to become a DHCP client. To revert back to >> being >> a DHCP server again somebody has to hold down the factory reset button. >> (or equivalent physical signal, eg smart lightbulbs you have to turn >> them on >> and off several times in a predefined sequence of flashes) > > How do you address the case of your (GUI) client discovering some other > DHCP service running on the network? This is another point added to my approach "sell them a router you have set up". In fact I had exactly this at some point, a customer for our TLD readers decided to stray from the router we had delivered with the units they had purchased. The people who had to do the measurements (sometimes 1000+ a day) had no access to the corporate router so someone there had set some fixed IP addresses for our devices on their network, not behind the router we supplied. Things worked - until they did not. They started to call "your device won't boot at times". "Does the LED always indicate the unit did get an IP address?" "Yes it does." Well does it always boot behind the router we supplied? "Hmm let us test... Yes it does" [Most likely this was yet another sabotage against our devices at this customer (they have no legit second dhcp server there so someone must have set one up, the problems started some time after they changed routers and well, they have a history of sabotage attempts there, there was physical evidence for that).] If a design can afford a cheap router just include one and save yourself all the headache (that to the OP). Other than that, you are stuck to my other solution, which works - just technically, I saw no evidence anyone used it ever. People either can do what it takes with their router/network or they use the router we supply.
Back to comp.arch.embedded | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Configure network of an embedded device pozz <pozzugno@gmail.com> - 2023-09-05 10:37 +0200
Re: Configure network of an embedded device Dimiter_Popoff <dp@tgi-sci.com> - 2023-09-05 13:43 +0300
Re: Configure network of an embedded device Don Y <blockedofcourse@foo.invalid> - 2023-09-07 11:03 -0700
Re: Configure network of an embedded device Theo <theom+news@chiark.greenend.org.uk> - 2023-09-06 21:56 +0100
Re: Configure network of an embedded device pozz <pozzugno@gmail.com> - 2023-09-07 09:54 +0200
Re: Configure network of an embedded device Theo <theom+news@chiark.greenend.org.uk> - 2023-09-07 19:40 +0100
Re: Configure network of an embedded device Don Y <blockedofcourse@foo.invalid> - 2023-09-07 13:19 -0700
Re: Configure network of an embedded device Don Y <blockedofcourse@foo.invalid> - 2023-09-07 13:30 -0700
Re: Configure network of an embedded device Dimiter_Popoff <dp@tgi-sci.com> - 2023-09-08 00:14 +0300
Re: Configure network of an embedded device Don Y <blockedofcourse@foo.invalid> - 2023-09-07 14:31 -0700
Re: Configure network of an embedded device Don Y <blockedofcourse@foo.invalid> - 2023-09-07 14:34 -0700
Re: Configure network of an embedded device Dimiter_Popoff <dp@tgi-sci.com> - 2023-09-08 00:53 +0300
Re: Configure network of an embedded device Don Y <blockedofcourse@foo.invalid> - 2023-09-07 15:21 -0700
Re: Configure network of an embedded device Dimiter_Popoff <dp@tgi-sci.com> - 2023-09-08 02:05 +0300
Re: Configure network of an embedded device Don Y <blockedofcourse@foo.invalid> - 2023-09-07 16:55 -0700
Re: Configure network of an embedded device Dimiter_Popoff <dp@tgi-sci.com> - 2023-09-08 04:26 +0300
Re: Configure network of an embedded device Don Y <blockedofcourse@foo.invalid> - 2023-09-07 18:57 -0700
Re: Configure network of an embedded device Theo <theom+news@chiark.greenend.org.uk> - 2023-09-08 10:17 +0100
Re: Configure network of an embedded device Don Y <blockedofcourse@foo.invalid> - 2023-09-08 03:20 -0700
Re: Configure network of an embedded device Don Y <blockedofcourse@foo.invalid> - 2023-09-07 10:57 -0700
Re: Configure network of an embedded device pozz <pozzugno@gmail.com> - 2023-09-08 09:41 +0200
Re: Configure network of an embedded device Don Y <blockedofcourse@foo.invalid> - 2023-09-08 03:50 -0700
Re: Configure network of an embedded device pozz <pozzugno@gmail.com> - 2023-09-08 13:56 +0200
Re: Configure network of an embedded device Don Y <blockedofcourse@foo.invalid> - 2023-09-08 09:45 -0700
Re: Configure network of an embedded device George Neuner <gneuner2@comcast.net> - 2023-09-08 16:50 -0400
csiph-web