Linux – Deskjet 2540 wireless connection Linux


I'm testing the following printer HP Deskjet 2540 which has wireless capabilities. I have connected it and install it no issues via USB using the hplip which is a brilliant bit of software for Linux printing.

But I simply can not connect it via wireless because unlike all the other HP printers this printer doesn't have an LCD display to which you put your wifi config details into. The manual found here:

Is not helpful what so ever in using Linux, the only advice it offers for setting up the wifi is to either use the CD (doesn't support Linux) or the following:

1. Depending on your operating system, do one of the following:
● Windows 8: On the Start screen, right-click an empty area on the screen, click All Apps on
the app bar.
● Windows 7, Windows Vista, and Windows XP: From the computer desktop, click Start,
select All Programs, click HP, click HP Deskjet 2540 series.
2. Click Printer Setup & Software.
3. Select Convert a USB connected printer to wireless. Follow the on-screen instructions.

What is the Linux equivalent to this?

Best Answer

  • 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
    6. Use the wireless setup wizard to connect to your real network

    You can then disconnect and use your printer!

  • Related Question