Opened 3 years ago

Last modified 22 months ago

#18773 new defect

p910nd doesnt always start at boot time

Reported by: anonymous Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: Cc:


Dont know why, but p910nd doesnt always start during boot time and the process is not running. I just notice this after I want to print something every few weeks and see the process isnt running.

Log says:

Sun Jan 11 03:13:22 2015 lpr.err p9100d[1280]: bind: Cannot assign requested address
Sun Jan 11 03:13:22 2015 lpr.err p9100d[1280]: accept: Bad file descriptor


config p910nd
	option device '/dev/usb/lp0'
	option port '0'
	option bidirectional '1'
	option enabled '1'
	option bind ''

Attachments (0)

Change History (3)

comment:1 Changed 3 years ago by…

I have had this problem too. My hack to solve this has been to put this in the rc.local

sleep 5
/etc/init.d/p910nd restart

My config is same, except ip address.

comment:2 Changed 3 years ago by anonymous

Thanks, Ive disabled the autostart with "/etc/init.d/p910nd disable" and use a /etc/init.d/p910nd restart in my user.local script with a sleep in there, which works. Seems the timing is somehow wrong and the eth0 dev isnt initiated yet when p910nd wants to start, but that is unrealistic because eth0 init takes place really early.

comment:3 Changed 22 months ago by anon

Same problem here. Solved it with the same hack as in the first comment. Just had to increase the delay.

sleep 10
/etc/init.d/p910nd restart

I'm on TP-Link TL-WR710N v1 with openwrt 15.05.1

Add Comment

Modify Ticket

as new .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.