Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: RPI: Emergency configuration via FAT partition (/boot)



Hi Mat,

On Mon, Dec 25, 2017 at 07:29:11PM +0100, ML wrote:
> Hi Harold,
> 
> I second this enhancement, as it make it easyer for headless setup,
> it's a good thing.
> 
> Maybe the static ip address should be probed first with an arp query,
> or set to some rfc1918 subnet less frequently used than
> 192.168.1.0/24...
> 
> Just to avoid collision with the local gateway likely set to
> 192.168.1.1 ;)

Right, it might be a good idea to comment out those lines - I had
intended them more as an example and not so much as "just rename the
.sample and be done".  But yes, it's probably a good idea to use some
other RFC1918 network.

The network configuration in the sample file does not really work as
intended anyway because by the time rc.local is run, everything in
/etc/rc.d that reads from /etc/rc.cfg has run already anyway, so
instead we should rather shut down dhcpdc and run ifconfig.

Thanks for the suggestion!


  Harold


Home | Main Index | Thread Index | Old Index