Temat: Drukarka Samsung 1610
Witam. Przy konfiguracji działałem zgodnie z http://wiki.openwrt.org/OpenWrtDocs/Kamikaze/Printers lecz coś nie drukuje.
root@OpenWrt:/tmp# uci show p910nd
p910nd.@p910nd[0]=p910nd
p910nd.@p910nd[0].bidirectional=1
p910nd.@p910nd[0].enabled=1
p910nd.@p910nd[0].port=0
p910nd.@p910nd[0].device=/dev/lp0
root@OpenWrt:/tmp# uname -a
Linux OpenWrt 2.6.25.17 #16 Sun Feb 15 00:19:46 CET 2009 mips unknown
root@OpenWrt:/tmp# ps ax | grep p910
2856 root 1120 S /usr/sbin/p9100d -b -f /dev/lp0 0
2882 root 1964 S grep p910
root@OpenWrt:/tmp# cat /proc/bus/usb/devices
T: Bus=01 Lev=02 Prnt=04 Port=02 Cnt=01 Dev#= 7 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs= 1
P: Vendor=04e8 ProdID=3268 Rev= 1.00
S: Manufacturer=Samsung Electronics Co., Ltd.
S: Product=Samsung ML-1610 Series
S: SerialNumber=3921BKAY400381Y.
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
root@OpenWrt:/tmp# lsmod
usbcore 109408 8 usblp,usb_storage,speedtch,uhci_hcd,ehci_hcd,usbatm
root@OpenWrt:/tmp# netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 6 0 0.0.0.0:9100 0.0.0.0:* LISTEN
tcp 0 0 192.168.1.1:9100 192.168.1.197:42597 SYN_RECV
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN
tcp 507 0 192.168.1.1:9100 192.168.1.197:57167 ESTABLISHED
tcp 507 0 192.168.1.1:9100 192.168.1.197:57165 ESTABLISHED
tcp 0 0 192.168.1.1:23 192.168.1.197:51533 ESTABLISHED
tcp 507 0 192.168.1.1:9100 192.168.1.197:57164 ESTABLISHED
tcp 507 0 192.168.1.1:9100 192.168.1.197:57168 ESTABLISHED
tcp 507 0 192.168.1.1:9100 192.168.1.197:57166 ESTABLISHED
tcp 507 0 192.168.1.1:9100 192.168.1.197:57163 ESTABLISHED
tcp 0 0 192.168.1.1:9100 192.168.1.197:57161 ESTABLISHED
netstat: no kernel support for AF INET6 (tcp)
udp 0 0 0.0.0.0:53 0.0.0.0:*
udp 0 0 0.0.0.0:67 0.0.0.0:*
netstat: no kernel support for AF INET6 (udp)
netstat: no kernel support for AF INET6 (raw)
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 8 [ ] DGRAM 285 /dev/log
unix 2 [ ] DGRAM 10324
unix 2 [ ] DGRAM 4237
unix 2 [ ] DGRAM 957
unix 2 [ ] DGRAM 854
unix 2 [ ] DGRAM 505
unix 2 [ ] DGRAM 289Na komputerze lokalnym:
linux:/home/wmp # cat /etc/cups/printers.conf
# Printer configuration file for CUPS v1.3.9
# Written by cupsd on 2009-03-07 18:15
<Printer samsung>
Info Samsung ML-1610 Foomatic/gdi (recommended)
DeviceURI ipp://192.168.1.1:9100
State Idle
StateTime 1236446081
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
linux:/home/wmp # telnet 192.168.1.1 9100
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
^]
telnet> quit
Connection closed.
linux:/home/wmp #