#1 2012-02-18 18:47:41
在安裝DD-WRT的WL500G上使用LPT打印機的問題
設備:ASUS WL500G+EPSON LQ-150K并口打印機
參照HIPPO版主的帖子:
https://digiland.tw/viewtopic.php?id=941
在WL500G上安裝Firmware: DD-WRT v24-sp2 (12/08/11) std-nokaid-nohot-nostore
安裝最新的kmod-lp后:
root@dd-wrt:/jffs/lib/modules/2.4.37.9# ls -l
-rw-r--r-- 1 root root 11944 Dec 21 02:26 lp.o
-rw-r--r-- 1 root root 28956 Dec 21 02:26 parport.o
-rw-r--r-- 1 root root 5220 Dec 21 02:26 parport_splink.o
-rw-r--r-- 1 root root 10600 Dec 21 02:26 ppdev.o
也產生了:
root@dd-wrt:~# ls -l /dev/printers/
crw-rw-rw- 1 root root 6, 0 Jan 1 1970 0
root@dd-wrt:~#
隨后安裝了p910nd后,也正常啟動起來了,啟動腳本如:
TELNET 到router上后,查看如下:
root@dd-wrt:~# lsmod
Module Size Used by
lp 7132 0 (unused)
parport_splink 2176 1
parport 15424 1 [lp parport_splink]
jffs2 97848 1
diag 2720 0 (unused)
switch-core 5888 0
root@dd-wrt:~#
root@dd-wrt:~# netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:9100 0.0.0.0:* LISTEN
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:23 0.0.0.0:* LISTEN
tcp 0 139 192.168.1.101:23 192.168.1.6:4634 ESTABLISHED
udp 0 0 127.0.0.1:34954 0.0.0.0:*
udp 0 0 0.0.0.0:53 0.0.0.0:*
raw 0 0 0.0.0.0:255 0.0.0.0:* 255
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 3 [ ] STREAM CONNECTED 1524
unix 3 [ ] STREAM CONNECTED 1523
unix 2 [ ] DGRAM 967
root@dd-wrt:~#
root@dd-wrt:~# ps |grep 9100
391 root 360 S {p910nd} /jffs/usr/sbin/p9100d -b -f /dev/usb/lp0 0
1459 root 1144 S grep 9100
root@dd-wrt:~#
接上LPT打印機之后,從winxp上發起打印指令后,打印機沒有任何反應。
請問,我的問題出在什么地方?
請給予指點,謝謝!
最後修改: mmxxx (2012-02-18 18:49:51)
附件:
dd-startup.PNG, 大小: 27,758 bytes, 下載: 1
離線