Community discussions

MikroTik App
 
kenl
just joined
Topic Author
Posts: 2
Joined: Mon Jan 08, 2024 9:35 pm

Netinstall - bootp/tftp options

Tue Jan 09, 2024 1:53 am

Hi, I'm working on a provisioning system for a small ISP, we're automating deployment of a large number of mikrotik devices and we have existing infrastructure I'd like to integrate netinstall with.

I'm looking to use our existing tftp and dhcp/bootp servers running from the same linux host we would run netinstall from, right now that's not possible as netinstall's tftp server conflicts with ours, and since it performs the npk extraction itself, you couldn't provide its bootp server with a custom boot file name.

I'm aware of pynetinstall; we've gotten that to work using our own tftp and bootp servers up to the point of it starting to converse with the device via udp over broadcast; we're running into an issue with it sending the correct udp packets and I'll probably raise a github issue separately. I'd also rather not use flashfig and be beholden to a separate windows host with only a gui for control.

What would be useful is a set of arguments to netinstall-cli, one to disable the tftp server, and one to disable the bootp server (or specify a boot file name that gets set in the bootp options). Does this sound like a reasonable request - has anyone dealt with trying to use netinstall this way?
 
un9edsda
Frequent Visitor
Frequent Visitor
Posts: 87
Joined: Sun Mar 15, 2020 11:11 pm

Re: Netinstall - bootp/tftp options

Tue Jan 09, 2024 2:56 am

Hi, I'm working on a provisioning system for a small ISP, we're automating deployment of a large number of mikrotik devices and we have existing infrastructure I'd like to integrate netinstall with.

You may want to have a look at pyNetinstall - Free and Open Source netInstall implementation for Flashing Mikrotik RouterBoards by @robertpenz .