LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 06-13-2016, 04:51 PM   #1
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,375

Rep: Reputation: Disabled
finding username/password for wireless printing


I've always wanted to set up wireless printing for my Brother HL-2170W, but I've never quite figured it out. I'm close. So I found and entered the IP address. The remaining issue is the password for authentication [screenshot attached].

It's probably only because I tend to miss the obvious, but I'm not sure which username and password the system is asking for; where I need to look for it (if only in my head--it's probably a password I know). I just found the HP support site (http://support.hp.com/us-en/document/c03112291); it seems to clearly indicate that this would be my network password. If that's the case, fine--I know my network password. What I'm not sure about is actually the username. What's that supposed to be? I just tried the name of the network for the username, and unless I made a typo repeatedly (I hate it when you can't make your typed password show), it didn't work--access denied. So...where do I find the username?
Attached Thumbnails
Click image for larger version

Name:	screenshot.jpg
Views:	19
Size:	30.5 KB
ID:	22100  

Last edited by newbiesforever; 06-13-2016 at 04:54 PM.
 
Old 06-13-2016, 05:04 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
What distribution/version?

How is the printer connected to the network?

I configure my printer using either a static IP address via router's DHCP reservation and use a URL like via cups web setup like:

socket://192.168.0.10:9100 (direct connection)

Last edited by michaelk; 06-13-2016 at 05:05 PM.
 
Old 06-13-2016, 05:04 PM   #3
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
Since you are printing using smb it expects a Windows domain username and password to authorize access to the printer.

https://en.wikipedia.org/wiki/Windows_domain
 
Old 06-13-2016, 05:13 PM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,805

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Actually, I doubt hat the samba protocol is the right one to connect to a network printer.

If you have nmap installed, you can check what ports a given device is listening on. In the case of a printer, that information will then tell you the likely printing network protocols supported. So, for your printer at 192.168.1.17 you could do
Code:
nmap 192.168.1.17
If you need help to understand the output, post it here for others to advise further.

Typically, Brother printers support the LPD and AppSocket network protcols, so you could try using the following
Code:
socket://192.168.1.17
or
Code:
lpd://192.168.1.17/BINARY_P1
FWIW, I have a Brother network printer defined by it's hostname (instead of IP address) with the following URI
Code:
lpd://HL2150N/BINARY_P1
 
Old 06-13-2016, 05:17 PM   #5
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,375

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
What distribution/version?

How is the printer connected to the network?

I configure my printer using either a static IP address via router's DHCP reservation and use a URL like via cups web setup like:

socket://192.168.0.10:9100 (direct connection)
It's MX Antix 14. The printer is connected to a wireless network. (Sorry, did you want something more specific?)

Quote:
Originally Posted by smallpond View Post
Since you are printing using smb it expects a Windows domain username and password to authorize access to the printer.

https://en.wikipedia.org/wiki/Windows_domain
Thank you! Notwithstanding Ferrari's advice (I'll try the other protocol), that's what I needed.
 
Old 06-13-2016, 05:21 PM   #6
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,805

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Quote:
Thank you! Notwithstanding Ferrari's advice (I'll try the other protocol), that's what I needed.
The socket protocol advice should be all you need. I just gave you a more in-depth information to allow you to detect supported protocols.
 
Old 06-13-2016, 05:25 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Is the printer's wireless settings already configured etc?
 
Old 06-13-2016, 06:07 PM   #8
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,375

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Is the printer's wireless settings already configured etc?
Should be. I haven't done anything to the printer's manual settings recently, but I followed HP's instructions last time i tried to set up wireless printing. If I understood correctly, the instructions said to reset the printer's own IP address to 0.0.0.0, and I did. (Had to push and/or hold down the ready button for a certain period of time to blank the address.)

Last edited by newbiesforever; 06-13-2016 at 06:12 PM.
 
Old 06-13-2016, 06:12 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Got a page not found error but not sure how it would be relative to a Brother printer?
 
Old 06-13-2016, 06:16 PM   #10
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,375

Original Poster
Rep: Reputation: Disabled
[forehead slap] Well, that's my fault--I failed to notice that that wasn't Brother-specific information, notwithstanding that the information on passwords should be the same in principle.

Last time I tried to set up wireless printing, I think I used this: http://www.brother-usa.com/faqs/static/ale_17463.pdf
 
Old 06-13-2016, 07:21 PM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
I do not know what the HP page had for password information but typically the username and password would either be a valid samba username/password on a linux box or the username/password as setup for a printer shared on a windows PC.

Last edited by michaelk; 06-13-2016 at 07:24 PM.
 
Old 06-13-2016, 09:06 PM   #12
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,375

Original Poster
Rep: Reputation: Disabled
Nmap says:
Code:
Nmap scan report for 192.168.1.17
Host is up (0.0000090s latency).
Not shown: 997 closed ports
PORT    STATE SERVICE
111/tcp open  rpcbind
139/tcp open  netbios-ssn
445/tcp open  microsoft-ds
Is that what I should have expected?
 
Old 06-13-2016, 09:11 PM   #13
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
My HL-2170W
PORT STATE SERVICE
21/tcp open ftp
23/tcp open telnet
80/tcp open http
515/tcp open printer
631/tcp open ipp
9100/tcp open jetdirect

I need to go check the web configuration...
netbios is enabled not sure why 139 and 445 did not show up in the output.

rpcbind? Is 192.168.1.17 the address of the printer?

Last edited by michaelk; 06-13-2016 at 09:21 PM.
 
Old 06-13-2016, 09:40 PM   #14
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,805

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
The IP address shown in the attached image (opening post) was 192.168.1.17, but like Michael is questioning, is that really the printer IP address? I would have expected similar to the output he has shown.

port 515 --> LPD protocol
port 631 --> CUPS/IPP protocol
port 9100 --> AppSocket/JetDirect protocol
 
Old 06-13-2016, 09:51 PM   #15
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,805

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
BTW, you've mentioned the HP support pages a couple of times, but in your opening post you mentioned that the device in question is a HL-2170W ie Brother laser printer.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cups printing system username and password Niguss Linux - Server 3 12-30-2014 08:44 AM
How to username password and sort by weakest password rhbegin Programming 8 11-07-2012 08:39 AM
CUPS printing with different job username eponymous Linux - Networking 10 05-18-2012 08:46 AM
Finding root username...how-to? stormyk88 SUSE / openSUSE 5 04-25-2006 08:48 PM
Username and Password when printing to windows? Legomancer SUSE / openSUSE 4 10-15-2004 10:23 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 02:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration