Showing results for 
Search instead for 
Did you mean: 
Level 1
9 3 0 0
Message 1 of 2
Flag Post

printer wont wifi

HP Recommended
Samsung ml2160
macOS 10.13 High Sierra

My printer wont hold wifi connection.  I deleted and reinstalled drivers .  did not help .  have had this problem since it was almost new

Level 14
21,074 20,150 1,541 3,527
Message 2 of 2
Flag Post
HP Recommended

These settings are for setting up your wireless or wired printers to:

* Stay connected to your router
* Fix printer ‘offline’ status
* Wake from sleep mode
* Speed up wireless printing


While DHCP is convenient, devices such as printers (wired and wireless) should always be assigned a static (fixed) IP address manually to avoid conflicts on your wireless network and MUST be outside the DHCP address range of the router. This is because printers are the only external devices that do not have the ability to automatically interrupt the router for a new DHCP address once the least time expires.  Again, do not have the printers static IP within the DHCP range of the router as this is against Networking 101 rules and will confuse the router.  Make things simple – In the router, set starting DHCP address range (or Ending DHCP address range (or  Set Printer Static IP to (or 


After setting the static IP, the computer(s) must be updated under Printer Properties/Ports to show a Standard TCP/IP port with the printers’ new static IP address.

1. Set a static IP in the printer outside the DHCP range of the router (check your manual).  This Static IP is important as DHCP IP addresses will change upon different power up sequences of your devices.  You always want your printer to come up with the same IP address all the time.  See how to do this here:


This is for Linksys routers but can be used for all routers. Verify your DHCP range and change this first if needed.  Then after setting the static IP in the printer, the computer(s) must be updated under Printer Properties/Ports to show a Standard TCP/IP port with the printers IP address. 


To see why this problem exists and how to fix it, watch this video here for Windows.   Scroll down for MAC information.


How to set a Standard TCP/IP port.  This is important.


a).  Click Start/Devices and Printers. Right click on your Printer.  Select Printer Properties.  Select the Ports tab at the top.

b).  Select Add Port. Select Standard TCP/IP Port.  Select New Port.

c).  Follow the Add Port Wizard. Under Printer Name or IP Address, input the Static IP address you just set from the above information.  Example:  168.1.15.  The IP address will be copied under Port Name.  This is OK to leave this alone or you can put in your Printer Model.

d).  Select Next and Finish the Wizard.


If you create a TCP/IP port without a static IP above, you may lose your TCP/IP connection and have the same issue. This is because your network has powered up differently giving you a different DHCP address to the printer that does not match the TCP/IP address above.  This could occur at anytime just like the video shows.


For MAC PCs perform the above Static IP setting in the router and then watch here on how to perform your IP setting for MAC computers.


By performing the above, the printers Embedded Web Server (EWS) will now work all the time by going to your Printers Static IP address in your browser. 


2.  Wireless connection only, turn off the Wired LAN in the printer.


a).  Login to your printers EWS from a web browser using your Static IP in the address bar.

b).  Go to the menu item Network at the top.

c).  On the side menu expand WIRED network settings.

d).  Click on advanced.

e).  Set the Network Interface to off.


 3.  Verify in the printer that 'Auto Off/Sleep/Energy Saving Mode' is disabled and/or the System Mode Time Out is set to zero (0) if your printer supports this. Use the Embedded Web Server (EWS), if this is a HP printer, by going to the printers IP address in your browsers address bar, click Settings Tab/Auto Off, or use the Printer Assistant, Printer Home Page (EWS). Also check your Printer Properties. This feature is automatically disabled when the printer is connected to a computer or mobile device, a network, or a fax line (if supported).  However, you may not find this setting.


4.  If the printer supports and has IPv6 enabled, disable IPv6 in the printer.


5.  Make sure printer is plugged directly into a wall outlet and not into a UPS, power strip or surge protector. This may cause the printer to intermittently drop offline and disconnect.


6.  Make sure your printer and router are at least 5 feet apart from each other.


7.  Check your printers web site for your printer to see if there is a Firmware Upgrade that affects the wireless operation. If yes, update the firmware via USB cable only.  Never wireless.


Additional steps to be taken if you continue to have the problem (if they are posted)…

Click on the link to subscribe and get the latest video uploads: tutorial shows how to add a printer using the IP address for macOS ...
Printer offline issues can happen because the IP address of the printer keeps changing. This video explains how that can happen and what to do to fix it.For ...
Was this reply helpful? Yes No
Warning Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation