Deskjet 2540 wireless connection Linux

I just set up this printer by doing the following:

  1. Turn the printer off
  2. Turn the printer on
  3. Hold the red X and the wifi button until the power button flashes
  4. Connect to a wifi network with SSID of "HP-Setup-XX-Deskjet 2540 series" (this took a few attempts for some reason)
  5. Open up a browser to 192.168.223.1
  6. Use the wireless setup wizard to connect to your real network

You can then disconnect and use your printer!


This wrecked my head. I connected to WiFi printer 2 years ago and in the meantime I forgot how to do it again. So after a while I figured it out, and said I'd write it down so I don't forget again!

Here ya go, these are the instructions for Ubuntu obviously!

  1. Click on the Wifi icon at top of screen. In options, select “Create New WiFi Network”.

  2. A Dialogue box appears.

  3. For connection, select “New”

  4. For Network Name, put in “HP-Setup-XX-Deskjet 2540 series”

  5. For Wi-Fi security, select “None”

  6. Go to “search your computer” icon and type in “Printers”

  7. Click “Add Printer”

  8. Select “Network Printer”

  9. A list will appear. Select “HP Deskjet 2540 (HP3CA82A9.......)

  10. Press “Forward”

  11. Under Connections, choose “HP Linux Imaging and Printing (HPLIP)

  12. Select “Forward”

  13. It will search for drivers and you can give the printer a name and location.

  14. Click “Apply”

  15. It will ask you if you want to print a test page.

It should work hopefully!