Re: dhcpd.conf Q?
On Sat 16 Dec 2023 at 14:21:48 (-0500), gene heskett wrote: > On 12/16/23 14:17, debian-u...@howorth.org.uk wrote: > > gene heskett wrote: > > > > [snip] > > > I use nano a lot, but it could use a larger font for these ancient > > > eyeballs. > > > > nano runs in a terminal so it doesn't control the font - the terminal > > does. How you change the font size in a terminal depends on which > > terminal program you are using. I expect $ man xterm (or whatever) will > > be helpful. > > > > [snip] > > > XFCE ctl + or - I know you use the hack font, so you can make it arbitrarily large by increasing the final number of: xterm -geometry 80x20+0+0 -fa hack -fs 24 Cheers, David.
Re: dhcpd.conf Q?
On 12/16/23 14:17, debian-u...@howorth.org.uk wrote: gene heskett wrote: [snip] I use nano a lot, but it could use a larger font for these ancient eyeballs. nano runs in a terminal so it doesn't control the font - the terminal does. How you change the font size in a terminal depends on which terminal program you are using. I expect $ man xterm (or whatever) will be helpful. [snip] XFCE ctl + or - . Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: dhcpd.conf Q?
Hello, On Sat, Dec 16, 2023 at 12:16:41PM -0500, gene heskett wrote: > On 12/16/23 11:41, Andy Smith wrote: > > Hello, > > > > On Sat, Dec 16, 2023 at 10:42:33AM -0500, gene heskett wrote: > > > Persuant to the dhcpd discussion, I have install a local isc-dhpd-server. > > > I > > > setup a $20 wide block, starting at 192.168.71.100 > > > > I'm going to take a guess that you mean your pool is from .100 to > > .119 (or .120?) as I've never in my life heard or seen the phrase "a > > $20 wide block". > > > Actually I was thinking in hex when I wrote that, what I meant was 20 > addresses in the pool. But 20 in hex is 32 decimal… you really don't make it easy for people trying to understand your emails. :( Thanks, Andy -- https://bitfolk.com/ -- No-nonsense VPS hosting
Re: dhcpd.conf Q?
gene heskett wrote: [snip] > I use nano a lot, but it could use a larger font for these ancient > eyeballs. nano runs in a terminal so it doesn't control the font - the terminal does. How you change the font size in a terminal depends on which terminal program you are using. I expect $ man xterm (or whatever) will be helpful. [snip]
Re: dhcpd.conf Q?
On 12/16/23 11:41, Andy Smith wrote: Hello, On Sat, Dec 16, 2023 at 10:42:33AM -0500, gene heskett wrote: Persuant to the dhcpd discussion, I have install a local isc-dhpd-server. I setup a $20 wide block, starting at 192.168.71.100 I'm going to take a guess that you mean your pool is from .100 to .119 (or .120?) as I've never in my life heard or seen the phrase "a $20 wide block". Actually I was thinking in hex when I wrote that, what I meant was 20 addresses in the pool. then setup 3 host entries. I have it working but apparently I need some clarification as a status request gets me a squawk about the host paragraph that is actually working: --- Dec 16 09:47:16 coyote dhcpd[1895]: Dynamic and static leases present for 192.168.71.110. It just means that you have a declaration for 192.168.71.110 while also having a dynamic range that includes 192.168.71.110. dhcpd will generally know it has assigned 192.168.71.110 already and not hand it out when asked, so this is just a warning, but it is better fixed. I have now changed the printer phrase of the host definition to it hostname, mkspi, and moved that fixed-address out of the pool declaration. Also declared the domainname at the top and it is happy. But it does an exit stage w/o logging any reason if I uncomment the next host definition, shown as a copy/paste here: subnet 192.168.71.0 netmask 255.255.255.0 { range 192.168.71.100 192.168.71.120; option routers 192.168.71.1; option domain-name-servers 192.168.71.1; } host mkspi { hardware ethernet 5a:c1:f0:8b:00:54; fixed-address 192.168.71.121; } #host e5plus { # hardware ethernet 5a:c1:f0:8b:00:55; # fixed-address 192.168.71.122; #} #host tronxy { # hardware ethernet 5a:c1:f0:8b:00:56; # fixed-address 192.168.71,123; #} -- I get the impression I can have an unlimited number of "host" paragraphs as long as there is not an actual clash in the addresses or macs? Aha! slightly larger font in the paste and I now see a , where a . s/b fixing that fixed it. I use nano a lot, but it could use a larger font for these ancient eyeballs. So now I know how to add fixed-address use to dhcpd.conf. Problem solve although I may have to do more editing to the hosts file eventually. Thank you for your patience. Q#1:Is this telling me I should move that mac's assignment to .90 or .121, out of that "pool" from $100 to $120? Or move the pool so 110 does clash with it? Whichever you prefer. Just don't have static assignments that use IPs from a range you hand out dynamically. Q#2: can the current phrase host "printer" be replaced by the alias in the servers /etc/hosts file? I don't understand the question, sorry. You can call your hosts whatever you like. Show us the "host" block you have now and what you would like it to be, if you want to ask questions about it, but I don't see what issue it will make to call it whatever. is it safe in a closed environment to use the same mac string in a host description by just incrementing the last hex byte of the dummy mac and the last .nnn of the address assigned? You already made a choice as to what MAC address to use, so I fail to see what relevance DHCP has here. Once you've decided what MAC address you're setting, use that and put it in DHCP. Or are you asking what MAC addresses are safe for you to use, generally? Locally Administered MAC address ranges are any of: X2‑XX-XX-XX-XX-XX X6‑XX-XX-XX-XX-XX XA‑XX-XX-XX-XX-XX XE‑XX-XX-XX-XX-XX where X can be any hex value. Thanks, Andy Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: dhcpd.conf Q?
Hello, On Sat, Dec 16, 2023 at 10:42:33AM -0500, gene heskett wrote: > Persuant to the dhcpd discussion, I have install a local isc-dhpd-server. I > setup a $20 wide block, starting at 192.168.71.100 I'm going to take a guess that you mean your pool is from .100 to .119 (or .120?) as I've never in my life heard or seen the phrase "a $20 wide block". > then setup 3 host entries. I have it working but apparently I need some > clarification as a status request gets me a squawk about the host paragraph > that is actually working: > --- > Dec 16 09:47:16 coyote dhcpd[1895]: Dynamic and static leases present for > 192.168.71.110. It just means that you have a declaration for 192.168.71.110 while also having a dynamic range that includes 192.168.71.110. dhcpd will generally know it has assigned 192.168.71.110 already and not hand it out when asked, so this is just a warning, but it is better fixed. > Q#1:Is this telling me I should move that mac's assignment to .90 or .121, > out of that "pool" from $100 to $120? Or move the pool so 110 does clash > with it? Whichever you prefer. Just don't have static assignments that use IPs from a range you hand out dynamically. > Q#2: can the current phrase host "printer" be replaced by the alias in the > servers /etc/hosts file? I don't understand the question, sorry. You can call your hosts whatever you like. Show us the "host" block you have now and what you would like it to be, if you want to ask questions about it, but I don't see what issue it will make to call it whatever. > is it safe in a closed environment to use the same mac string in a > host description by just incrementing the last hex byte of the > dummy mac and the last .nnn of the address assigned? You already made a choice as to what MAC address to use, so I fail to see what relevance DHCP has here. Once you've decided what MAC address you're setting, use that and put it in DHCP. Or are you asking what MAC addresses are safe for you to use, generally? Locally Administered MAC address ranges are any of: X2‑XX-XX-XX-XX-XX X6‑XX-XX-XX-XX-XX XA‑XX-XX-XX-XX-XX XE‑XX-XX-XX-XX-XX where X can be any hex value. Thanks, Andy -- https://bitfolk.com/ -- No-nonsense VPS hosting
dhcpd.conf Q?
Greetings; Persuant to the dhcpd discussion, I have install a local isc-dhpd-server. I setup a $20 wide block, starting at 192.168.71.100 then setup 3 host entries. I have it working but apparently I need some clarification as a status request gets me a squawk about the host paragraph that is actually working: --- Dec 16 09:47:16 coyote dhcpd[1895]: Dynamic and static leases present for 192.168.71.110. Dec 16 09:47:16 coyote dhcpd[1895]: Remove host declaration printer or remove 192.168.71.110 Dec 16 09:47:16 coyote dhcpd[1895]: from the dynamic address pool for 192.168.71.0/24 --- Q#1:Is this telling me I should move that mac's assignment to .90 or .121, out of that "pool" from $100 to $120? Or move the pool so 110 does clash with it? Q#2: can the current phrase host "printer" be replaced by the alias in the servers /etc/hosts file? Q#3: gets a bit subjective. These arm64 boards don't usually come with a unique mac address for the net ports, so they usually "clone" whatever mac suits your fancy, so is it safe in a closed environment to use the same mac string in a host description by just incrementing the last hex byte of the dummy mac and the last .nnn of the address assigned? Thank you all. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis