Hi Everyone
Maybe it would be a good idea to add plugged in (and mounted) usb drives to the status page?
Hi Everyone
Maybe it would be a good idea to add plugged in (and mounted) usb drives to the status page?
I second; it could also be nice to see other plugged devices as well, e.g. USB printers..
The problem is how to detect the connected printer in OpenWrt in a simple way.
Could logs help? In my case:
[logread]
kern.info kernel: [...] usb 1-1: new high-speed USB device [...]
kern.info kernel: [...] usblp 1-1:1.1: usblp0: USB Bidirectional printer dev 3 [...]
[dmesg]
usblp 1-1:1.1: usblp0: USB Bidirectional printer [...]
usbcore: registered new interface driver usblp
I can only test the flash memory connected to the router, so I looked for methods described on the Internet and there they pointed to the lpstat -p command, which I did not find under OpenWrt. That's why I wrote it.
Hi @lleachii
Thanks for the hint, but I don't think this is the package you're talking about. Earlier, when I was looking for lpstat, I found it in the cups package.
Another thing is that I'm bad at programming and I won't create such an advanced plugin.