Re: [Dnsmasq-discuss] resolving server's hostname

2017-02-18 Thread Carl Karsten
rib...@free.fr> wrote: > Hi Carl, > > Le Fri, 17 Feb 2017 02:06:16 -0600 > Carl Karsten <c...@nextdayvideo.com> a écrit: > > > juser@dc10b:~$ host dc10b > > dc10b has address 127.0.1.1 > > > > It should be 10.20.1.3 > > > > How do I make that happ

Re: [Dnsmasq-discuss] resolving server's hostname

2017-02-18 Thread Carl Karsten
On Sat, Feb 18, 2017 at 12:06 PM, Albert ARIBAUD <albert.arib...@free.fr> wrote: > Hi Carl, > > Le Sat, 18 Feb 2017 09:31:19 -0600 > Carl Karsten <c...@nextdayvideo.com> a écrit: > > > dc10b is the dnsmasq server > > Ok; and I assume that you are running '

[Dnsmasq-discuss] resolving server's hostname

2017-02-17 Thread Carl Karsten
juser@dc10b:~$ host dc10b dc10b has address 127.0.1.1 It should be 10.20.1.3 How do I make that happen? ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

[Dnsmasq-discuss] dhcp vendor-option and grub net_pxe_extensionspath

2017-04-27 Thread Carl Karsten
I am looking for the syntax of dhcp vendor options, and then how to access them in grub-net. I think. maybe there is a better way. I pxe boot grub, which boots di (Debian Installer) and pass a preseed file. I am trying to work out a nice way to pass host specific info to di example, most use:

Re: [Dnsmasq-discuss] dhcp vendor-option and grub net_pxe_extensionspath

2017-05-11 Thread Carl Karsten
o/disk=/dev/sdb" The hope is ...sda except for the tag:negk case. personally I only touch 20 machines a year, so setting up the extra 19 lines is easy. I like to understand my tools, and maybe someone with 100''s will be interested in my setup. probaly not ;) On Sun, Apr 30, 2017 at 11:58

Re: [Dnsmasq-discuss] dhcp vendor-option and grub net_pxe_extensionspath

2017-04-30 Thread Carl Karsten
staller/amd64/linux gfxpayload=800x600x16,800x600 --- auto=true url=dc10b DEBCONF_DEBUG=5 tasks= hostname= interface=00:26:9e:03:9d:e5 partman-auto/disk=/dev/sda On Fri, Apr 28, 2017 at 5:53 PM, Simon Kelley <si...@thekelleys.org.uk> wrote: > On 27/04/17 17:42, Carl Karsten wrote: > &g

Re: [Dnsmasq-discuss] local dns broke

2018-07-23 Thread Carl Karsten
On Mon, Jul 23, 2018 at 4:16 PM, Geert Stappers wrote: > On Mon, Jul 23, 2018 at 03:14:48PM -0500, Carl Karsten wrote: >> the server is fine. I think. I'm fuzzy on why I need pc8 in that >> line, but whatever: it seems to be sending 192.168.1.8 to the client. >> other c

Re: [Dnsmasq-discuss] local dns broke

2018-07-23 Thread Carl Karsten
> On 7/23/2018 1:23 AM, Carl Karsten wrote: >> >> I am not sure if this is a dnsmasq problem, but hopefully someone can >> help me track down who's problem it is. >> >> My dhcp server has: >> host-record=pc8,192.168.1.8 >> > > From the man page: &

Re: [Dnsmasq-discuss] local dns broke

2018-07-24 Thread Carl Karsten
On Tue, Jul 24, 2018 at 12:32 AM, Geert Stappers wrote: > On Mon, Jul 23, 2018 at 06:02:02PM -0500, Carl Karsten wrote: >> On Mon, Jul 23, 2018 at 4:16 PM, Geert Stappers wrote: >> > >> > What do the other client fine that the netplan client doesn't do? >

[Dnsmasq-discuss] local dns broke

2018-07-22 Thread Carl Karsten
I am not sure if this is a dnsmasq problem, but hopefully someone can help me track down who's problem it is. My dhcp server has: host-record=pc8,192.168.1.8 which gets sent to the client (ubuntu bionic minimal), and saved, but I guess not saved to the right place? this works: $ host goo.gl

Re: [Dnsmasq-discuss] local dns broke

2018-07-24 Thread Carl Karsten
server: Name: 192.168.1.8 Address: 192.168.1.8#53 Host pc8.home not found: 3(NXDOMAIN) On Tue, Jul 24, 2018 at 3:03 AM, john doe wrote: > On 7/24/2018 7:47 AM, Carl Karsten wrote: >> >> On Tue, Jul 24, 2018 at 12:32 AM, Geert Stappers >> wrote: >>> >>> O

Re: [Dnsmasq-discuss] 1 IP for all requests

2019-10-18 Thread Carl Karsten
ert Stappers wrote: > On Fri, Oct 04, 2019 at 08:37:03AM +0200, john doe wrote: > > On 10/4/2019 1:25 AM, Geert Stappers wrote: > > > On Thu, Oct 03, 2019 at 06:01:17PM -0500, Carl Karsten wrote: > > >> On Thu, Oct 3, 2019 at 4:54 PM Geert Stappers wrote: > >

[Dnsmasq-discuss] 1 IP for all requests

2019-10-03 Thread Carl Karsten
I want to know if this is in spec, or needs out of spec hacks: For any dhcp client request, server gives the same IP. The use case: dnsmasq is serving on 1 interface, and a client will be directly connected to that interface - no hub/switch/vlan etc. So there can only be 1 device ever connected,

Re: [Dnsmasq-discuss] 1 IP for all requests

2019-10-03 Thread Carl Karsten
On Thu, Oct 3, 2019 at 4:54 PM Geert Stappers wrote: > On Thu, Oct 03, 2019 at 03:52:35PM -0500, Carl Karsten wrote: > > I want to know if this is in spec, or needs out of spec hacks: > > > > For any dhcp client request, server gives the same IP. > > > > The

Re: [Dnsmasq-discuss] OT client q: both static and dhcp

2021-06-28 Thread Carl Karsten
On Mon, Jun 28, 2021 at 7:07 AM wrote: > On 6/27/21 3:26 PM, Carl Karsten wrote: > > On Sun, Jun 27, 2021 at 2:12 PM wrote: > > > > put another NIC in it and dedicat that NIC to your management > access... assign > > it an IP in a weird RFC1918 block an

Re: [Dnsmasq-discuss] OT client q: both static and dhcp

2021-06-28 Thread Carl Karsten
On Sun, Jun 27, 2021 at 12:17 PM Andrew Miskell wrote: > > > On Jun 27, 2021, at 12:02, Carl Karsten wrote: > >  > > > On Sun, Jun 27, 2021 at 10:49 AM Andrew Miskell > wrote: > >> >> >> On Jun 27, 2021, at 09:30, Carl Karsten wrote: >>

[Dnsmasq-discuss] client q: both static and dhcp

2021-06-26 Thread Carl Karsten
This is a bit OT, if there is a better place let me know. I'm looking for advice on haveing some boxes to have both dynamic and static IPs. There is a risk that my static choice collides with an IP on a random lan I jack into, which I can deal with manually. Might even make a MOTD message

Re: [Dnsmasq-discuss] client q: both static and dhcp

2021-06-27 Thread Carl Karsten
ith dhcp, then it will be nice to get the gateway and be able to ssh into machines. On Sun, Jun 27, 2021 at 12:03 AM Dominik wrote: > Hey Carl, > > On Sat, 2021-06-26 at 19:16 -0500, Carl Karsten wrote: > > I'm looking for advice on haveing some boxes to have both dynamic and &

Re: [Dnsmasq-discuss] client q: both static and dhcp

2021-06-27 Thread Carl Karsten
On Sun, Jun 27, 2021 at 2:10 AM john doe wrote: > On 6/27/2021 7:03 AM, Dominik wrote: > > Hey Carl, > > > > On Sat, 2021-06-26 at 19:16 -0500, Carl Karsten wrote: > >> I'm looking for advice on haveing some boxes to have both dynamic and > >> static IPs.

Re: [Dnsmasq-discuss] OT client q: both static and dhcp

2021-06-27 Thread Carl Karsten
On Sun, Jun 27, 2021 at 10:49 AM Andrew Miskell wrote: > > > On Jun 27, 2021, at 09:30, Carl Karsten wrote: > >  > > > On Sun, Jun 27, 2021 at 7:56 AM john doe wrote: > >> On 6/27/2021 9:17 AM, Carl Karsten wrote: >> > On Sun, Jun 27, 2021 at 2:10 AM

Re: [Dnsmasq-discuss] OT client q: both static and dhcp

2021-06-27 Thread Carl Karsten
On Sun, Jun 27, 2021 at 2:12 PM wrote: > On 6/27/21 1:01 PM, Carl Karsten wrote: > > If I do not have access to the venue network, then my networking needs > are just > > my 2 devices. This is the case I am trying to provide for, without > having to edit > > a

Re: [Dnsmasq-discuss] RaspberryPi PCAP file Was: tftp hook for "not found"

2021-12-03 Thread Carl Karsten
up.md On Fri, Dec 3, 2021 at 12:50 PM Geert Stappers via Dnsmasq-discuss wrote: > > On Thu, Dec 02, 2021 at 10:02:27PM +, Simon Kelley wrote: > In-Reply-To: > > On 02/12/2021 16:00, Carl Karsten wrote: > > > > > for more details on what it does: > > >

[Dnsmasq-discuss] 2 routes

2021-11-28 Thread Carl Karsten
I don't think DHCP supports this, but I'm not sure. Can the server send 2 (or more) pairs of netmask/gateway ? Otherwise I suspect this can be done if client has 2 virtual interfaces, do dh request with different client ids. Trying to keep all the networking config settings on the server, not

Re: [Dnsmasq-discuss] 2 routes

2021-11-29 Thread Carl Karsten
On Sun, Nov 28, 2021 at 11:20 PM Geert Stappers via Dnsmasq-discuss wrote: > > On Sun, Nov 28, 2021 at 03:44:38PM -0800, Carl Karsten wrote: > > I don't think DHCP supports this, but I'm not sure. > > > > Can the server send 2 (or more) pairs of netmask/gateway ?

Re: [Dnsmasq-discuss] tftp hook for "not found"

2021-12-02 Thread Carl Karsten
On Thu, Dec 2, 2021 at 1:35 AM Geert Stappers via Dnsmasq-discuss wrote: > > On Wed, Dec 01, 2021 at 08:36:47PM -0800, Carl Karsten wrote: > > Subject: Re: [Dnsmasq-discuss] tftp hook for "not found" > > or some way to create a symlink when needed. > > >

[Dnsmasq-discuss] tftp hook for "not found"

2021-12-01 Thread Carl Karsten
or some way to create a symlink when needed. when a pi net boots, it injects its serial number into the path that it requests: dnsmasq-tftp[678]: file /srv/tftp/7a6d27f6/autoboot.txt not found When thathappens, I need to create a symlink: id=7a6d27f6 ln -s /srv/tftp/boot /srv/tftp/${id} and

Re: [Dnsmasq-discuss] static-y IP management

2022-05-17 Thread Carl Karsten
On Tue, May 17, 2022 at 2:55 AM wrote: > > On 5/16/22 5:46 PM, Carl Karsten wrote: > > I know of a few ways of doing this, but they all involve generating 10 > > lines of .conf file. I have no problem creating a little csv and > > writing about 10 lines of pyt

Re: [Dnsmasq-discuss] static-y IP management

2022-05-17 Thread Carl Karsten
On Tue, May 17, 2022 at 1:14 PM Geert Stappers via Dnsmasq-discuss wrote: > > On Tue, May 17, 2022 at 03:26:44AM -0500, Carl Karsten wrote: > > On Tue, May 17, 2022 at 2:55 AM wrote: > > > > > > On 5/16/22 5:46 PM, Carl Karsten wrote: > > > > I know

[Dnsmasq-discuss] ddns from dhcp hostname

2022-05-31 Thread Carl Karsten
does dnsmasq do this sort of ddns: dhcp client sends its hostname as part of its dhcp request ddnsmasq assigns an IP and also adds the hostname:IP to its dns I thought it did, but I can't find anything in the docs about it. -- Carl K ___

[Dnsmasq-discuss] static-y IP management

2022-05-16 Thread Carl Karsten
I'm not sure if what I am doing qualifies as static, so if there is a proper term let me know. It isn't sticky: https://en.wikipedia.org/wiki/IP_address#Sticky_dynamic_IP_address I have 10 clients, each with a unique mac, and I want the same known IP assigned to the same mac. 20:89:84:d5:94:28

[Dnsmasq-discuss] tftp not logging and pxe broke

2022-05-09 Thread Carl Karsten
short version: I am trying to fix netboot but I don't see dnsmasq-tftp lines in syslog like ths: May 1 20:22:28 rpi-cb-1f-f7 dnsmasq-tftp[804]: file /srv/tftp/613a4524/start.elf not found I have 3 servers built with ansible:

Re: [Dnsmasq-discuss] tftp not logging and pxe broke

2022-05-09 Thread Carl Karsten
Never mind, bad firewall .conf. On Mon, May 9, 2022 at 3:35 AM Carl Karsten wrote: > > short version: I am trying to fix netboot but I don't see dnsmasq-tftp > lines in syslog like ths: > > May 1 20:22:28 rpi-cb-1f-f7 dnsmasq-tftp[804]: file > /srv/tftp/613a4524/start.elf not

Re: [Dnsmasq-discuss] PXE booting a Raspberry Pi 3B

2023-01-11 Thread Carl Karsten
I have heard the pi's net boot stack does not follow the spec, and ignoring nextserver is one of the things also, I just learned this: cat .../boot/config.txt ... enable_uart=1 uart_2ndstage=1 hook a serial thing to the pi and you will get a bunch of boot messages from bootcode.bin and friends.

[Dnsmasq-discuss] what is [Discover, Offer...] called?

2023-02-28 Thread Carl Karsten
In an effort to name variables and have understandable conversations, I don't know what these things are called: 82 #define DHCPDISCOVER 1 83 #define DHCPOFFER2 84 #define DHCPREQUEST 3 85 #define DHCPDECLINE 4 86 #define DHCPACK

[Dnsmasq-discuss] logging DHCPDISCOVER

2023-02-09 Thread Carl Karsten
I want to gather stats on how often I don't get a 2nd DHCPDISCOVER. my plan is to log for a day, and then parse/analyze the log. I could use some help creating the log. I think I want to log Vendor-Class (60), length 32: "PXEClient:Arch:0:UNDI:002001" as that seems to be how I can tell if

[Dnsmasq-discuss] dhcp-script and netboot pi

2024-02-25 Thread Carl Karsten
Either dhcp-script isn't doing what it is expected, or I'd like it to do more. I am netbooting raspberry pi. so some dhcp client in the pi firmware get's an IP and netboot params, then tftp client gets files. the dhcp traffic happens and is shown in the logs, but not dhcp-script: sudo

Re: [Dnsmasq-discuss] dhcp-script and netboot pi

2024-02-27 Thread Carl Karsten
got it. Thanks for the explanation. On Tue, Feb 27, 2024 at 7:47 AM Simon Kelley wrote: > > > > On 25/02/2024 23:24, Carl Karsten wrote: > > Either dhcp-script isn't doing what it is expected, or I'd like it to do > > more. > > > > I am netbooting raspberr