View Single Post
Old 11-30-2019, 01:58 PM   #6
ezdiy
Zealot
ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.
 
Posts: 121
Karma: 156515
Join Date: Oct 2019
Device: KT, KPW4, PB740-2
Quote:
Originally Posted by Markismus View Post
I installed your apps on my PB740-2. Ran them and after that they disappeared from the app section. Using pbterm I see 'su' in /mnt/secure.

However, cannot connect to it yet using USBnet. 'ip link' does register a extra connection. Gnome keeps complaining that the connection failed. Connecting to the PC, choosing PC-link, disconnecting, connecting, choosing Charging, disconnecting, etc.: dmesg.log
This is because the usbnet packet transport side is configured rndis (windows thing), not cdc (native linux thing). Pocketbook pretends as if it were tethered android phone.

The reason why it's done like this is that on windows it works out of the box (it automatically enables the ethernet interface, configures ip on it...), while on linux you have to add custom udev rule: https://wiki.archlinux.org/index.php...#USB_tethering

Within same udev rule you can also add script to auto-mount the samba share, so you can get rid of hogging mass storage.

Quote:
EDIT:
arp-scan found it! It's working:
================================================== ==
PocketBook services v2, http://github.com/ezdiy/pbjb
================================================== ==
root password can be set by saving password.txt
in top folder of storage (/mnt/ext1/password.txt)
root@192.168.2.47's password:

I looked the password up by using pbterm and the command cat /mnt/ext1/password.txt.
The idea is that password.txt shows as a book in front explorer just after the reboot. If you have pbterm, you can also just type /sbin/ifconfig to see your wifi ip.
ezdiy is offline   Reply With Quote