From: tnp@invalid.invalid   
      
   On 29/12/2025 10:59, Richard Kettlewell wrote:   
   > Jim Diamond writes:   
   >> Richard Kettlewell wrote:   
   >>> Jim Diamond writes:   
   >>>> I was looking at my network and discovered an IP which I didn't know   
   >>>> about; after a few seconds of investigation I discovered that one of   
   >>>> my Pis (which is on wifi only, and only has one wifi card) has two   
   >>>> IPs.   
   >>>   
   >>> Where are you finding the two addresses?   
   >>>   
   >>> What does   
   >>> ip addr show   
   >>> display?   
   >>>   
   >>>> Two of my other Pis are running the same version of Raspberry Pi OS   
   >>>> (i.e., "Debian GNU/Linux 12 (bookworm)"). They don't do this.   
   >>>>   
   >>>> Looking around the net, there are claims that this is because Pis   
   >>>> might try to netboot, and that later on in the boot process they also   
   >>>> get their usual IP the "usual" way. (In my case I am using   
   >>>> networkmanager.)   
   >>>   
   >>> What does   
   >>> rpi-eeprom-config   
   >>> display?   
   >>   
   >> BOOT_UART=0   
   >> WAKE_ON_GPIO=1   
   >> POWER_OFF_ON_HALT=0   
   >   
   > What model of Pi is it?   
   >   
   >> (Nothing there about BOOT_ORDER, altho my Pi5 (not the computer that showed   
   >> up with two IPs) does have BOOT_ORDER=0xf461. But it would appear I'd need   
   >> a 0x2 in there fairly early for it to try a netboot.)   
   >   
   > Elsewhere:   
   >   
   >> No, the Pi thought two IPs were associated with the one and only wifi   
   >> card. (In fact, I discovered which device it was by ssh-ing in after   
   >> nmap told me that it was listening on the sshd port.)   
   >   
   > i.e. the interface has two addresses after booting has completed. I   
   > would put network boot at the bottom of the list of possible causes.   
   > AIUI the kernel starts from a blank slate, it doesn’t inherit interface   
   > configuration from the boot loader.   
   >   
   IIRC in my setup I had static setup via a hand edited file somewhere,   
   and it was booting into DHCP before it read that file   
      
   --   
   For in reason, all government without the consent of the governed is the   
   very definition of slavery.   
      
   Jonathan Swift   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|