Terminal says localhost for the first time

I had to do a clean install of Tumbleweed recently and ever since the log in prompt in a terminal or runlevel 3 says localhost. It used to be an id chosen by dhcp at the time of install. It reminds me when one wants to see or connect to a printer and uses http://localhost:631/printers/.

I’m also having trouble getting my printer to work and wonder if this is related. Previously, the auto-config feature worked for my Brother printer and the YaST config tool says this feature is enabled, but it didn’t work this time. I installed the driver and the printer is recognized and ready but nothing will print. /etc/cups/printers.conf says the printer is off or unplugged when it’s on and plugged in.

Anyone have any ideas about this localhost thing?

You can set the host name explicitly via YaST. Refer…

https://doc.opensuse.org/documentation/leap/reference/html/book.opensuse.reference/cha.basicnet.html#sec.basicnet.yast.change.host

I’m also having trouble getting my printer to work and wonder if this is related. Previously, the auto-config feature worked for my Brother printer and the YaST config tool says this feature is enabled, but it didn’t work this time. I installed the driver and the printer is recognized and ready but nothing will print. /etc/cups/printers.conf says the printer is off or unplugged when it’s on and plugged in.

Is this a network or USB connected printer?

Connected with usb.

My question is why is host name localhost when it has never been this before. Like it says in the article you referenced, it is auto-generated and dhcp is activated. Before a unique host name was always generated, not localhost.

I think I figured out what the answer is for localhost. There’s a setting that can set the hostname via dhcp. In the past it has been set to yes, but now it is set to no. Unless there is another reason why the setting is no. Anyway, my printer still won’t print, even though it says it’s ready. And it prints fine from another computer.

Ok, I should be able to help you with this, but best to start a new thread for this unrelated issue.

As I suspected.