< Plasma‎ | Mobile
Revision as of 11:30, 30 December 2016 by Bhushan (talk | contribs) (Frequently Asked Questions & Common Pitfalls)

Frequently Asked Questions & Common Pitfalls

What is the default user and password of the development image?

Default user in the Plasma Phone reference image based on Ubuntu is "phablet", there is no password set by default for user, At startup however it shows login-screen neverth-less as current kscreenlocker have no way to detect if password is set. It will accept anything as password during startup.

I can't connect to the phone using SSH

If you're not using network-manager on the host system, the network might not be set up as needed. You can do the following to have that happen automatically:

Edit /etc/udev/rules.d/51-android.rules adding:

ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="d001" RUN+="/home/sebas/bin/connect-n5.sh"

Replace vendor and product identifiers with yours, change the location ofthe script. This will create the usb0 network interface for you upon plugging in the phone.

connect-n5.sh (which is automatically called upon plugging in the phone) then does the ip setup:

sudo ifconfig usb0 up
sudo ifconfig usb0

Now Reload uev's rules to make these changes effective:

sudo udevadm control --reload-rules

You can test this by plugging in the phone and check on the host system if usb0 shows up in ifconfig.

Now you should be able to ssh to your phone, using 'ssh'.

Content is available under Creative Commons License SA 4.0 unless otherwise noted.