Brother HL-L2340DW: Difference between revisions

From /dev/hack
No edit summary
No edit summary
Line 24: Line 24:


<pre>
<pre>
$ nmap -Pn 192.168.50.40
$ sudo nmap -sT -sU 192.168.50.40
Starting Nmap 7.94 ( https://nmap.org ) at 2024-03-06 18:04 PST
Starting Nmap 7.94 ( https://nmap.org ) at 2024-03-06 18:52 PST
Nmap scan report for 192.168.50.40
Nmap scan report for 192.168.50.40
Host is up (0.044s latency).
Host is up (0.045s latency).
Not shown: 993 closed tcp ports (conn-refused)
Not shown: 994 closed udp ports (port-unreach), 993 closed tcp ports (conn-refused)
PORT    STATE SERVICE
PORT    STATE         SERVICE
21/tcp  open ftp
21/tcp  open         ftp
23/tcp  open telnet
23/tcp  open         telnet
80/tcp  open http
80/tcp  open         http
443/tcp  open https
443/tcp  open         https
515/tcp  open printer
515/tcp  open         printer
631/tcp  open ipp
631/tcp  open         ipp
9100/tcp open  jetdirect
9100/tcp open         jetdirect
69/udp  open          tftp
137/udp open          netbios-ns
161/udp  open          snmp
3702/udp open|filtered ws-discovery
5353/udp open          zeroconf
5355/udp open|filtered llmnr


Nmap done: 1 IP address (1 host up) scanned in 10.30 seconds
Nmap done: 1 IP address (1 host up) scanned in 16.70 seconds
</pre>
</pre>



Revision as of 02:53, 7 March 2024

Model: HL-L2340DW

Printer WebUI is http://192.168.50.40/general/status.html MAC is 2c:33:7a:12:ba:c6

gifted from The Bikery (via Jess)

drivers: https://support.brother.com/g/b/downloadtop.aspx?c=us&lang=en&prod=hll2340dw_us_eu_as

`brlaser` on linux seems to work too

Unsupported format "text/plain" -> install cups-filters


THE "MANUAL" IS AT https://support.brother.com/g/s/id/htmldoc/printer/cv_hll2300d/use/manual/index.html#GUID-CF52D2C7-FC76-4D85-94CD-21CAF1981773_159

the printer's 1line UI is surprisingly robust. use the arrows and the OK/back keys

to configure the cups network printer the URL lpd://192.168.50.40/ or ipp://192.168.50.40/ works (with the proper brlaser drivers and stuff installed)

$ sudo nmap -sT -sU 192.168.50.40
Starting Nmap 7.94 ( https://nmap.org ) at 2024-03-06 18:52 PST
Nmap scan report for 192.168.50.40
Host is up (0.045s latency).
Not shown: 994 closed udp ports (port-unreach), 993 closed tcp ports (conn-refused)
PORT     STATE         SERVICE
21/tcp   open          ftp
23/tcp   open          telnet
80/tcp   open          http
443/tcp  open          https
515/tcp  open          printer
631/tcp  open          ipp
9100/tcp open          jetdirect
69/udp   open          tftp
137/udp  open          netbios-ns
161/udp  open          snmp
3702/udp open|filtered ws-discovery
5353/udp open          zeroconf
5355/udp open|filtered llmnr

Nmap done: 1 IP address (1 host up) scanned in 16.70 seconds

ftp is also enabled:

$ curl ftp://192.168.50.40
total 1
-r--r--r--   1 root     printer   4096 Sep 28  2001 CFG-PAGE.TXT
----------   1 root     printer      0 Sep 28  2001 Ready-----------
 $ curl ftp://192.168.50.40/CFG-PAGE.TXT

<<NETWORK CONFIGURATION>>

<Interface>                   WirelessLAN on
<Node Type>                   Brother NC-8300w, IEEE 802.11b/g/n (Active)
<Node Firmware Ver.>          Firmware Ver.D  (Sep 27 2014 01:34:28)
<MAC Address>                 2c-33-7a-12-ba-c6
<Node name>                   BRW2C337A12BAC6

<Active services>             BRN2C337A12BAC6
                              BINARY_P1
                              TEXT_P1
                              POSTSCRIPT_P1
                              PCL_P1
                              BRN2C337A12BAC6_AT

<Protocols>
 TCP/IP               Enabled               IPv6                 Disabled
 NetBIOS/IP           Enabled               APIPA                Enabled
 WebBasedManagement   Enabled               SNMP                 Enabled
 LPD                  Enabled               Raw Port             Enabled
 IPP                  Enabled               WebServices          Enabled
 SMTP                 Enabled               FTP                  Enabled
 TFTP                 Enabled               mDNS                 Enabled
 LLMNR                Enabled               Proxy                Disabled

<IP Settings>
 IP Address                   192.168.50.40    (via DHCP)
 Subnet Mask                  255.255.255.0
 IP Gateway                   192.168.50.1
 Boot Method                  AUTO
 Boot Tries                   3
 IP Filter                    Disabled

 GW Timeout (sec)             21
 DNS Address Config           AUTO
 Primary DNS Server           192.168.50.1
 Secondary DNS Server         0.0.0.0

<NetBIOS Name>                BRW2C337A12BAC6
<WINS Address Config>         AUTO
<Primary WINS Server>         0.0.0.0
<Secondary WINS Server>       0.0.0.0

<Send E-mail Settings(SMTP)>
 Device Mail Address          brn2c337a12bac6@example.com
 Server                       0.0.0.0
 Port                         25

<mDNS Service Name>           Brother HL-L2340D series

<WebServices Name>            Brother HL-L2340D series [2c337a12bac6]

<SNMP Settings>
 Communication Mode           v1/v2c(RW)


<Comm. Mode>                  Infrastructure
<Name(SSID)>                  InternetOfShit
<Authentication Mode>         WPA/WPA2-PSK
<Encryption Mode>             AES
<Wireless Link Status>        Link OK, 11n(26Mbps), Receiving Signal=2, Operating Ch=1
<Tx Power Code>               Full, 227, 0, 0

<Network Statistics>                  <Wireless Statistics>
 Packets Received          64903       RX Frames Received OK            64266
 Bytes Received          7701030       RX Frames Error                   1467
 Packets Transmitted        2825       TX Frames Transmitted OK        670298
 Bytes Transmitted        585502       TX Frames Error                     90