I'm going to flash my wifi-router with alternative firmware by following these instructions on my Mac but I'm struggling with the step

Set Your server's IP-Address to

I can't understand, what is this server. Is it DNS-server? I fI try to change address of DNS-server, than it gets cut to

How do I need to set up my Mac to allow the router to fetch the new firmware via tftp?


2 Answers 2

4 is a so-called slash notation, which specifies both the IP address and the network mask at the same time. It's an alternative but shorter notation, which says: your Mac's IP address should be set to and the network mask to

In addition to that, you will need to enable the tftp server on your Mac. To do that, look for /System/Library/LaunchDaemons/tftp.plist file. If you find it, you need to edit it, to enable launching the tftp server. Edit the file with your favourite editor (sudo vi or sudo nano should do - this is all best done in the Terminal.app). Inside the file, you'll find the following lines:


change these to be:


After you make that change, you'll need to run the following command in Terminal.app, to start the tftp service:

sudo launchctl load -w /System/Library/LaunchDaemons/tftp.plist

You will then need to put your firmware file into /private/tftpboot, make sure it's world readable (in Terminal.app run chmod 644 /private/tftpboot/filename where filename is the name of the file containing your firmware) and finally point your router to the location of the file, according to your router's instructions.

  • 2
    You shouldn't need to edit /System/Library/LaunchDaemons/tftp.plist -- the -w flag to sudo launchctl load makes it override that setting. Aug 8, 2014 at 21:07

In order to do this you need your Mac to be connected, by an Ethernet cable, to the router.

In the Network control panel of System Preferences, set the following parameters for your Ethernet connection:

Configure Ipv4: Manually

IP Address:

Subnet Mask:


Press the "Apply" button in the control panel.

Now you can run tftp from the OS X Terminal app and follow the instructions on the page you referenced.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .