Print server setting TL-WR1043ND
Posted: Sat Dec 26, 2015 3:40 pm
Hello. The english is not my mother language and excuse me for.
This is my first post here, it requires support for installing print server in order to use in my home network of DCP1510 Brother printer.
My router TP_Link TL-WR1043ND ver 1.10 that I use, has installed firmware OpenWRT 12.09 Attitude Adjustment and print server is installed and configured, the printer runs smoothly. Unfortunately graphical interface is spartan, and I am command line novice. I wanted to develop a set of rules in the firewall, with screening on various websites and graphical interface does not allow me that. The console I can not manage to do.
I tried Gargoyle version 1.6.2-ar71xx-generic-TL-WR1043ND-v1. I installed the firmware that allows the graphical interface and easy settings of the firewall restrictions. The problem that we're still encountering it and that I capped print server is configured. I use the information here: http://www.gargoyle-router.com/wiki/dok ... ed_printer and checked print server configuration p910nd. I gave accept in /etc/config/firewall for port 9100 and /etc/init.d/firewall restart.
Modules installed are kmod-usb-UHCI, OHCI-kmod-usb, kmod-USB2 and kmod-usb-core. P910nd Print server is configured as follows:
root@Gargoyle:~# uci show p910nd
p910nd.@p910nd[0]=p910nd
p910nd.@p910nd[0].port=0
p910nd.@p910nd[0].bidirectional=1
p910nd.@p910nd[0].device=/dev/usb/lp0
p910nd.@p910nd[0].enabled=0
root@Gargoyle:~# uci set p910nd.@p910nd[0].enabled=1
root@Gargoyle:~# uci commit p910nd
root@Gargoyle:~# /etc/init.d/p910nd start
and the firewall settings are:
root@Gargoyle:~# uci show firewall
firewall.@defaults[0]=defaults
firewall.@defaults[0].syn_flood=1
firewall.@defaults[0].input=ACCEPT
firewall.@defaults[0].output=ACCEPT
firewall.@defaults[0].forward=REJECT
firewall.@zone[0]=zone
firewall.@zone[0].name=lan
firewall.@zone[0].network=lan
firewall.@zone[0].input=ACCEPT
firewall.@zone[0].output=ACCEPT
firewall.@zone[0].forward=REJECT
firewall.@zone[1]=zone
firewall.@zone[1].name=wan
firewall.@zone[1].network=wan
firewall.@zone[1].input=REJECT
firewall.@zone[1].output=ACCEPT
firewall.@zone[1].forward=REJECT
firewall.@zone[1].masq=1
firewall.@zone[1].mtu_fix=1
firewall.@forwarding[0]=forwarding
firewall.@forwarding[0].src=lan
firewall.@forwarding[0].dest=wan
firewall.@rule[0]=rule
firewall.@rule[0].name=Allow-DHCP-Renew
firewall.@rule[0].src=wan
firewall.@rule[0].proto=udp
firewall.@rule[0].dest_port=68
firewall.@rule[0].target=ACCEPT
firewall.@rule[0].family=ipv4
firewall.@rule[1]=rule
firewall.@rule[1].name=Allow-Ping
firewall.@rule[1].src=wan
firewall.@rule[1].proto=icmp
firewall.@rule[1].icmp_type=echo-request
firewall.@rule[1].family=ipv4
firewall.@rule[1].target=ACCEPT
firewall.@rule[2]=rule
firewall.@rule[2].name=Allow-DHCPv6
firewall.@rule[2].src=wan
firewall.@rule[2].proto=udp
firewall.@rule[2].src_ip=fe80::/10
firewall.@rule[2].src_port=547
firewall.@rule[2].dest_ip=fe80::/10
firewall.@rule[2].dest_port=546
firewall.@rule[2].family=ipv6
firewall.@rule[2].target=ACCEPT
firewall.@rule[3]=rule
firewall.@rule[3].name=Allow-ICMPv6-Input
firewall.@rule[3].src=wan
firewall.@rule[3].proto=icmp
firewall.@rule[3].icmp_type=echo-request echo-reply destination-unreachable packet-too-big time-exceeded bad-header unknown-header-type router-solicitation neighbour-solicitation router-advertisement neighbour-advertisement
firewall.@rule[3].limit=1000/sec
firewall.@rule[3].family=ipv6
firewall.@rule[3].target=ACCEPT
firewall.@include[0]=include
firewall.@include[0].path=/etc/firewall.user
firewall.@include[0].reload=1
firewall.@rule[4]=rule
firewall.@rule[4].src=lan
firewall.@rule[4].dest_port=9100
firewall.@rule[4].proto=tcp
firewall.@rule[4].target=ACCEPT
firewall.@rule[4].name=Allow Printer
firewall.@rule[5]=rule
firewall.@rule[5].target=ACCEPT
firewall.@rule[5].src=lan
firewall.@rule[5].dest=wan
firewall.@rule[5].enabled=0
firewall.@rule[6]=rule
firewall.@rule[6].target=ACCEPT
firewall.@rule[6].src=lan
firewall.@rule[6].dest=wan
firewall.@rule[6].name=internet
firewall.miniupnpd=include
firewall.miniupnpd.type=script
firewall.miniupnpd.path=/usr/share/miniupnpd/firewall.include
firewall.miniupnpd.family=IPv4
firewall.miniupnpd.reload=1
firewall.openvpn_include_file=include
firewall.openvpn_include_file.path=/etc/openvpn.firewall
firewall.openvpn_include_file.reload=1
firewall.redirect_enabled_number_0=redirect
firewall.redirect_enabled_number_0.name=torrent
firewall.redirect_enabled_number_0.src=wan
firewall.redirect_enabled_number_0.dest=lan
firewall.redirect_enabled_number_0.proto=tcp
firewall.redirect_enabled_number_0.src_dport=xxxxx
firewall.redirect_enabled_number_0.dest_ip=192.168.xxx.xx
firewall.redirect_enabled_number_0.dest_port=xxxxx
firewall.redirect_enabled_number_1=redirect
firewall.redirect_enabled_number_1.name=remote
firewall.redirect_enabled_number_1.src=wan
firewall.redirect_enabled_number_1.dest=lan
firewall.redirect_enabled_number_1.proto=tcp
firewall.redirect_enabled_number_1.src_dport=xxxx
firewall.redirect_enabled_number_1.dest_ip=192.168.1xx.xx
firewall.redirect_enabled_number_1.dest_port=80
firewall.redirect_enabled_number_2=redirect
firewall.redirect_enabled_number_2.name=torrent
firewall.redirect_enabled_number_2.src=wan
firewall.redirect_enabled_number_2.dest=lan
firewall.redirect_enabled_number_2.proto=tcp
firewall.redirect_enabled_number_2.src_dport=xxxxx
firewall.redirect_enabled_number_2.dest_ip=192.168.1xx.xx
firewall.redirect_enabled_number_2.dest_port=xxxxx
firewall.redirect_enabled_number_3=redirect
firewall.redirect_enabled_number_3.name=nas
firewall.redirect_enabled_number_3.src=wan
firewall.redirect_enabled_number_3.dest=lan
firewall.redirect_enabled_number_3.proto=tcp
firewall.redirect_enabled_number_3.src_dport=xxxx
firewall.redirect_enabled_number_3.dest_ip=192.168.1xx.xx
firewall.redirect_enabled_number_3.dest_port=xxxx
firewall.redirect_enabled_number_4=redirect
firewall.redirect_enabled_number_4.name=nas_admin
firewall.redirect_enabled_number_4.src=wan
firewall.redirect_enabled_number_4.dest=lan
firewall.redirect_enabled_number_4.proto=tcp
firewall.redirect_enabled_number_4.src_dport=xxxx
firewall.redirect_enabled_number_4.dest_ip=192.168.1xx.xx
firewall.redirect_enabled_number_4.dest_port=xxxx
firewall.redirect_enabled_number_5=redirect
firewall.redirect_enabled_number_5.name=torrent
firewall.redirect_enabled_number_5.src=wan
firewall.redirect_enabled_number_5.dest=lan
firewall.redirect_enabled_number_5.proto=tcp
firewall.redirect_enabled_number_5.src_dport=xxxxx
firewall.redirect_enabled_number_5.dest_ip=192.168.1xx.xx
firewall.redirect_enabled_number_5.dest_port=xxxxx
firewall.redirect_enabled_number_6=redirect
firewall.redirect_enabled_number_6.name=printer
firewall.redirect_enabled_number_6.src=wan
firewall.redirect_enabled_number_6.dest=lan
firewall.redirect_enabled_number_6.proto=tcp
firewall.redirect_enabled_number_6.src_dport=9100
firewall.redirect_enabled_number_6.dest_ip=192.168.1xx.xx
firewall.redirect_enabled_number_6.dest_port=9100
Unfortunately, if I try to print something, the printer does not start to print, untill I get into the console and run again:
root@Gargoyle:~# uci set p910nd.@p910nd[0].enabled=1
root@Gargoyle:~# /etc/init.d/p910nd enable
root@Gargoyle:~# /etc/init.d/p910nd start
Print server stays on as long as printer is powered on or reboot the router. After reboot the setting need to be done again.
I'm doing wrong or what to configuring? Thank you and look counsel.
This is my first post here, it requires support for installing print server in order to use in my home network of DCP1510 Brother printer.
My router TP_Link TL-WR1043ND ver 1.10 that I use, has installed firmware OpenWRT 12.09 Attitude Adjustment and print server is installed and configured, the printer runs smoothly. Unfortunately graphical interface is spartan, and I am command line novice. I wanted to develop a set of rules in the firewall, with screening on various websites and graphical interface does not allow me that. The console I can not manage to do.
I tried Gargoyle version 1.6.2-ar71xx-generic-TL-WR1043ND-v1. I installed the firmware that allows the graphical interface and easy settings of the firewall restrictions. The problem that we're still encountering it and that I capped print server is configured. I use the information here: http://www.gargoyle-router.com/wiki/dok ... ed_printer and checked print server configuration p910nd. I gave accept in /etc/config/firewall for port 9100 and /etc/init.d/firewall restart.
Modules installed are kmod-usb-UHCI, OHCI-kmod-usb, kmod-USB2 and kmod-usb-core. P910nd Print server is configured as follows:
root@Gargoyle:~# uci show p910nd
p910nd.@p910nd[0]=p910nd
p910nd.@p910nd[0].port=0
p910nd.@p910nd[0].bidirectional=1
p910nd.@p910nd[0].device=/dev/usb/lp0
p910nd.@p910nd[0].enabled=0
root@Gargoyle:~# uci set p910nd.@p910nd[0].enabled=1
root@Gargoyle:~# uci commit p910nd
root@Gargoyle:~# /etc/init.d/p910nd start
and the firewall settings are:
root@Gargoyle:~# uci show firewall
firewall.@defaults[0]=defaults
firewall.@defaults[0].syn_flood=1
firewall.@defaults[0].input=ACCEPT
firewall.@defaults[0].output=ACCEPT
firewall.@defaults[0].forward=REJECT
firewall.@zone[0]=zone
firewall.@zone[0].name=lan
firewall.@zone[0].network=lan
firewall.@zone[0].input=ACCEPT
firewall.@zone[0].output=ACCEPT
firewall.@zone[0].forward=REJECT
firewall.@zone[1]=zone
firewall.@zone[1].name=wan
firewall.@zone[1].network=wan
firewall.@zone[1].input=REJECT
firewall.@zone[1].output=ACCEPT
firewall.@zone[1].forward=REJECT
firewall.@zone[1].masq=1
firewall.@zone[1].mtu_fix=1
firewall.@forwarding[0]=forwarding
firewall.@forwarding[0].src=lan
firewall.@forwarding[0].dest=wan
firewall.@rule[0]=rule
firewall.@rule[0].name=Allow-DHCP-Renew
firewall.@rule[0].src=wan
firewall.@rule[0].proto=udp
firewall.@rule[0].dest_port=68
firewall.@rule[0].target=ACCEPT
firewall.@rule[0].family=ipv4
firewall.@rule[1]=rule
firewall.@rule[1].name=Allow-Ping
firewall.@rule[1].src=wan
firewall.@rule[1].proto=icmp
firewall.@rule[1].icmp_type=echo-request
firewall.@rule[1].family=ipv4
firewall.@rule[1].target=ACCEPT
firewall.@rule[2]=rule
firewall.@rule[2].name=Allow-DHCPv6
firewall.@rule[2].src=wan
firewall.@rule[2].proto=udp
firewall.@rule[2].src_ip=fe80::/10
firewall.@rule[2].src_port=547
firewall.@rule[2].dest_ip=fe80::/10
firewall.@rule[2].dest_port=546
firewall.@rule[2].family=ipv6
firewall.@rule[2].target=ACCEPT
firewall.@rule[3]=rule
firewall.@rule[3].name=Allow-ICMPv6-Input
firewall.@rule[3].src=wan
firewall.@rule[3].proto=icmp
firewall.@rule[3].icmp_type=echo-request echo-reply destination-unreachable packet-too-big time-exceeded bad-header unknown-header-type router-solicitation neighbour-solicitation router-advertisement neighbour-advertisement
firewall.@rule[3].limit=1000/sec
firewall.@rule[3].family=ipv6
firewall.@rule[3].target=ACCEPT
firewall.@include[0]=include
firewall.@include[0].path=/etc/firewall.user
firewall.@include[0].reload=1
firewall.@rule[4]=rule
firewall.@rule[4].src=lan
firewall.@rule[4].dest_port=9100
firewall.@rule[4].proto=tcp
firewall.@rule[4].target=ACCEPT
firewall.@rule[4].name=Allow Printer
firewall.@rule[5]=rule
firewall.@rule[5].target=ACCEPT
firewall.@rule[5].src=lan
firewall.@rule[5].dest=wan
firewall.@rule[5].enabled=0
firewall.@rule[6]=rule
firewall.@rule[6].target=ACCEPT
firewall.@rule[6].src=lan
firewall.@rule[6].dest=wan
firewall.@rule[6].name=internet
firewall.miniupnpd=include
firewall.miniupnpd.type=script
firewall.miniupnpd.path=/usr/share/miniupnpd/firewall.include
firewall.miniupnpd.family=IPv4
firewall.miniupnpd.reload=1
firewall.openvpn_include_file=include
firewall.openvpn_include_file.path=/etc/openvpn.firewall
firewall.openvpn_include_file.reload=1
firewall.redirect_enabled_number_0=redirect
firewall.redirect_enabled_number_0.name=torrent
firewall.redirect_enabled_number_0.src=wan
firewall.redirect_enabled_number_0.dest=lan
firewall.redirect_enabled_number_0.proto=tcp
firewall.redirect_enabled_number_0.src_dport=xxxxx
firewall.redirect_enabled_number_0.dest_ip=192.168.xxx.xx
firewall.redirect_enabled_number_0.dest_port=xxxxx
firewall.redirect_enabled_number_1=redirect
firewall.redirect_enabled_number_1.name=remote
firewall.redirect_enabled_number_1.src=wan
firewall.redirect_enabled_number_1.dest=lan
firewall.redirect_enabled_number_1.proto=tcp
firewall.redirect_enabled_number_1.src_dport=xxxx
firewall.redirect_enabled_number_1.dest_ip=192.168.1xx.xx
firewall.redirect_enabled_number_1.dest_port=80
firewall.redirect_enabled_number_2=redirect
firewall.redirect_enabled_number_2.name=torrent
firewall.redirect_enabled_number_2.src=wan
firewall.redirect_enabled_number_2.dest=lan
firewall.redirect_enabled_number_2.proto=tcp
firewall.redirect_enabled_number_2.src_dport=xxxxx
firewall.redirect_enabled_number_2.dest_ip=192.168.1xx.xx
firewall.redirect_enabled_number_2.dest_port=xxxxx
firewall.redirect_enabled_number_3=redirect
firewall.redirect_enabled_number_3.name=nas
firewall.redirect_enabled_number_3.src=wan
firewall.redirect_enabled_number_3.dest=lan
firewall.redirect_enabled_number_3.proto=tcp
firewall.redirect_enabled_number_3.src_dport=xxxx
firewall.redirect_enabled_number_3.dest_ip=192.168.1xx.xx
firewall.redirect_enabled_number_3.dest_port=xxxx
firewall.redirect_enabled_number_4=redirect
firewall.redirect_enabled_number_4.name=nas_admin
firewall.redirect_enabled_number_4.src=wan
firewall.redirect_enabled_number_4.dest=lan
firewall.redirect_enabled_number_4.proto=tcp
firewall.redirect_enabled_number_4.src_dport=xxxx
firewall.redirect_enabled_number_4.dest_ip=192.168.1xx.xx
firewall.redirect_enabled_number_4.dest_port=xxxx
firewall.redirect_enabled_number_5=redirect
firewall.redirect_enabled_number_5.name=torrent
firewall.redirect_enabled_number_5.src=wan
firewall.redirect_enabled_number_5.dest=lan
firewall.redirect_enabled_number_5.proto=tcp
firewall.redirect_enabled_number_5.src_dport=xxxxx
firewall.redirect_enabled_number_5.dest_ip=192.168.1xx.xx
firewall.redirect_enabled_number_5.dest_port=xxxxx
firewall.redirect_enabled_number_6=redirect
firewall.redirect_enabled_number_6.name=printer
firewall.redirect_enabled_number_6.src=wan
firewall.redirect_enabled_number_6.dest=lan
firewall.redirect_enabled_number_6.proto=tcp
firewall.redirect_enabled_number_6.src_dport=9100
firewall.redirect_enabled_number_6.dest_ip=192.168.1xx.xx
firewall.redirect_enabled_number_6.dest_port=9100
Unfortunately, if I try to print something, the printer does not start to print, untill I get into the console and run again:
root@Gargoyle:~# uci set p910nd.@p910nd[0].enabled=1
root@Gargoyle:~# /etc/init.d/p910nd enable
root@Gargoyle:~# /etc/init.d/p910nd start
Print server stays on as long as printer is powered on or reboot the router. After reboot the setting need to be done again.
I'm doing wrong or what to configuring? Thank you and look counsel.