How do I get wifi printer IP address to stay still so Linux can print from it?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
-
- Level 1
- Posts: 42
- Joined: Thu Nov 05, 2020 2:09 pm
How do I get wifi printer IP address to stay still so Linux can print from it?
My printer's IP has changed for about the 3rd time and I've got my printer working by changing the IP address in the URI so at least that's good. But how do I prevent the IP from changing? Could printing from the dual booted Windows have done that? Or could my desktop being on a VPN do that? Or my wifi's cloned MAC address being set to random?
More to the point, how do I get the printer to either stay the same or have Linux not care if it changes? It always works on Windows regardless.
More to the point, how do I get the printer to either stay the same or have Linux not care if it changes? It always works on Windows regardless.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
- AZgl1800
- Level 20
- Posts: 11180
- Joined: Thu Dec 31, 2015 3:20 am
- Location: Oklahoma where the wind comes Sweeping down the Plains
- Contact:
Re: How do I get wifi printer IP address to stay still so Linux can print from it?
I went into the Printer's WiFi settings and set a dedicated IP address at 192.168.1.40 which is higher than anything else on my network.
It never changes, it is always the same no matter if we have a power outage, when it comes back up, it is always x.x.x.40
It never changes, it is always the same no matter if we have a power outage, when it comes back up, it is always x.x.x.40
Re: How do I get wifi printer IP address to stay still so Linux can print from it?
Log in to your local router, check which MAC address the printer has, and assign always the same IP to that MAC. In fact, I'm doing that for all devices here.
Re: How do I get wifi printer IP address to stay still so Linux can print from it?
Unless you change to a static IP address as recommended by AZgl1500, all the IP addresses for devices on your local network are dynamically allocated by your router through a service called DCHP. Set a static IP address on your printer - methods vary by printer, read the manual. Most if not all routers allow you to restrict the range of IP addresses allocated. For example, I've set the minimum address to 192.168.0.20 and assign static IP addresses to my printers below that, e.g. one of my printers is on 192.168.0.3.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
-
- Level 1
- Posts: 42
- Joined: Thu Nov 05, 2020 2:09 pm
Re: How do I get wifi printer IP address to stay still so Linux can print from it?
Setting a static IP has done the trick, although why does Linux need a static IP for the printer? Windows doesn't seem to care about the printer's IP, it just prints anyway. Can we not make Linux be like that?AndyMH wrote: ⤴Fri Apr 09, 2021 6:42 pm Unless you change to a static IP address as recommended by AZgl1500, all the IP addresses for devices on your local network are dynamically allocated by your router through a service called DCHP. Set a static IP address on your printer - methods vary by printer, read the manual. Most if not all routers allow you to restrict the range of IP addresses allocated. For example, I've set the minimum address to 192.168.0.20 and assign static IP addresses to my printers below that, e.g. one of my printers is on 192.168.0.3.
- AZgl1800
- Level 20
- Posts: 11180
- Joined: Thu Dec 31, 2015 3:20 am
- Location: Oklahoma where the wind comes Sweeping down the Plains
- Contact:
Re: How do I get wifi printer IP address to stay still so Linux can print from it?
your WinSlop machine must be more intelligent than mine is,Black Square wrote: ⤴Sat Apr 10, 2021 9:25 amSetting a static IP has done the trick, although why does Linux need a static IP for the printer? Windows doesn't seem to care about the printer's IP, it just prints anyway. Can we not make Linux be like that?AndyMH wrote: ⤴Fri Apr 09, 2021 6:42 pm Unless you change to a static IP address as recommended by AZgl1500, all the IP addresses for devices on your local network are dynamically allocated by your router through a service called DCHP. Set a static IP address on your printer - methods vary by printer, read the manual. Most if not all routers allow you to restrict the range of IP addresses allocated. For example, I've set the minimum address to 192.168.0.20 and assign static IP addresses to my printers below that, e.g. one of my printers is on 192.168.0.3.
it is always loosing the printer, and that stopped after I forced the printer to a Hard IP address.
Re: How do I get wifi printer IP address to stay still so Linux can print from it?
Try to stay out of printer issues since my systems just discover them on their own but are you still having a problem resolving the ip address from the mDNS name of your Printer:
Code: Select all
avahi-resolve -n NPIE8AB2B.local
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: How do I get wifi printer IP address to stay still so Linux can print from it?
I think it depends on the Device URI. My printer URI is set as socket://192.168.1.7, so it would need a static address.Black Square wrote: ⤴Sat Apr 10, 2021 9:25 am Setting a static IP has done the trick, although why does Linux need a static IP for the printer? Windows doesn't seem to care about the printer's IP, it just prints anyway. Can we not make Linux be like that?
Mine printer properties:
Re: How do I get wifi printer IP address to stay still so Linux can print from it?
Whereas mine is set as:I think it depends on the Device URI. My printer URI is set as socket://192.168.1.7, so it would need a static address.
Code: Select all
dnssd://Brother%20HL-L8260CDW%20series._ipp._tcp.local/?uuid=e3248000-80ce-11db-8000-3c2af49d61b6
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
-
- Level 1
- Posts: 1
- Joined: Mon Jul 05, 2021 1:47 am
Re: How do I get wifi printer IP address to stay still so Linux can print from it?
Hi! I tried what you said but nothing worked. However, I called a specialist and he helped me to solve the problem. I gave my printer to my parents and I bought a new one. I hoped that I wouldn't have any problems with it, but hp envy 7640 not printing. I was very mad and started to find solutions on the Internet. Found a site where were the most common issues with this model of the printer and its solutions. And it turned out that my computer didn't have printer updates. After that, it works without any problems.AZgl1500 wrote: ⤴Fri Apr 09, 2021 5:50 pm I went into the Printer's WiFi settings and set a dedicated IP address at 192.168.1.40 which is higher than anything else on my network.
It never changes, it is always the same no matter if we have a power outage, when it comes back up, it is always x.x.x.40
Last edited by LeonardFludd on Tue Jul 06, 2021 5:18 pm, edited 1 time in total.
Re: How do I get wifi printer IP address to stay still so Linux can print from it?
New question, start a new topic. Your problem may be different to the OP's. When you start a new topic tell us what printer (make and model), whether connected via usb or network and the output fromLeonardFludd wrote: ⤴Mon Jul 05, 2021 1:50 am I tried what you said but nothing work.
Can someone help me?
inxi -Fxz
to tell us more about your PC. Post the inxi output between code markers - the </>
button above the compose window - makes it easier to read.Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Re: How do I get wifi printer IP address to stay still so Linux can print from it?
If your router has a usb port(s), and your printer is usb, or rj45, you can plug it into your router...