gargoyle 1.7 p9100nd not working

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

Post Reply
braders
Posts: 5
Joined: Fri Feb 24, 2012 5:26 pm

gargoyle 1.7 p9100nd not working

Post by braders »

There is a problem with p9100nd and hp lj1018. I moved my config from 1.6x but it is not printing.

If i execute /etc/init.d/p910nd start (or restart) there is nothing in logread

ps shows there is no p190nd started.

execute p910nd finish in logs with:

Code: Select all

Sat Jan 17 20:52:47 2015 lpr.err p9100d[2256]: socket: Address family not supported by protocol
Sat Jan 17 20:52:48 2015 lpr.notice p9100d[2256]: Connection from 192.168.1.200 port 22625 accepted
Sat Jan 17 20:52:48 2015 lpr.err p9100d[2256]: /dev/lp0: No such file or directory
Sat Jan 17 20:52:48 2015 lpr.err p9100d[2256]: /dev/lp0: No such file or directory, will try opening later
but ps shows it running but printing shows in logs:

Code: Select all

Sat Jan 17 20:54:57 2015 lpr.notice p9100d[2272]: Connection from 192.168.1.200 port 22629 accepted
Sat Jan 17 20:54:57 2015 lpr.err p9100d[2272]: /dev/lp0: No such file or directory
Sat Jan 17 20:54:57 2015 lpr.err p9100d[2272]: /dev/lp0: No such file or directory, will try opening later
my printer init script look like:
/etc/hotplug.d/usb/80-usb-printer

Code: Select all


root@Gargoyle:~# cat /etc/hotplug.d/usb/80-usb-printer
#!/bin/sh

if [ "$ACTION" = "add" ] ||  [ "$ACTION" = "remove" ] ; then
        sh /usr/lib/gargoyle/configure_printer.sh
fi
logger Wykrylem nowe urzadzenie USB typu drukarka
FIRMWARE="/usr/lib/sihp1018.dl"
if [ "$PRODUCT" = "3f0/4117/100" ]
then
      logger Zgodny product ID
      if [ "$ACTION" = "add" ]
      then
         logger Laduje firmware
         sleep 5
         rm /dev/usb/lp0
         mknod /dev/usb/lp0 c 180 0
         cat $FIRMWARE > /dev/usb/lp0
         kill -9 $(pidof p9100d)
         /etc/init.d/p910nd start
      fi
fi
firware is send but no at boot! Only if i unplug and plug again usb cable.

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: gargoyle 1.7 p9100nd not working

Post by ispyisail »


braders
Posts: 5
Joined: Fri Feb 24, 2012 5:26 pm

Re: gargoyle 1.7 p9100nd not working

Post by braders »

This build did not fix problem. Downgraded to 1.6.22 and works withou any problems.

Is there any hope for Relayd bridge so DHCP will work through it.

seregaadm
Posts: 2
Joined: Wed Jan 28, 2015 12:16 pm

Re: gargoyle 1.7 p9100nd not working

Post by seregaadm »

I have a problem with gargoyle 1.6.2 and p9100nd(my router is tp-link-3220V1). I have installed the plugin and change settings for HP JetDirect. but when I try to print nothing happens. whether to make changes to the firewall for port 9100?

seregaadm
Posts: 2
Joined: Wed Jan 28, 2015 12:16 pm

Re: gargoyle 1.7 p9100nd not working

Post by seregaadm »

Here is the log when the printer is turned on :
Jan 28 19:05:33 Gargoyle kern.info kernel: [ 245.830000] usb 1-1: new full-speed USB device number 3 using ehci-platform
Jan 28 19:05:33 Gargoyle kern.info kernel: [ 245.990000] usblp0: USB Bidirectional printer dev 3 if 1 alt 0 proto 2 vid 0x04B8 pid 0x0883
Jan 28 19:05:34 Gargoyle lpr.err p9100d[4488]: socket: Address family not supported by protocol

Then i try to print:
Jan 28 19:16:53 Gargoyle lpr.notice p9100d[4488]: Connection from 192.168.1.151 port 50736 accepted
Jan 28 19:16:53 Gargoyle lpr.err p9100d[4488]: /dev/lp0: No such file or directory
Jan 28 19:16:53 Gargoyle lpr.err p9100d[4488]: /dev/lp0: No such file or directory, will try opening later

Sumerlove
Posts: 1
Joined: Tue Mar 24, 2015 2:49 pm

Re: gargoyle 1.7 p9100nd not working

Post by Sumerlove »

Hey thanks for chiming in.

So it would seem that duckdns made changes to its web pages that became incompatible with ewget, thereby causing a segfault and the update never finishes.










_________________________________________________________

You can check out our latest testking pmp and written by our testking ielts exam preparation to help you pass passguide.You can also purchase www.stevenson.edu Our Florida Southern College is simply excellent in quality.

Post Reply