debian+phosh running on PinePhone
(04-28-2020, 12:01 PM)rico Wrote:
(04-28-2020, 10:25 AM)dukla2000 Wrote:
(04-28-2020, 08:29 AM)a-wai Wrote:
(04-28-2020, 08:02 AM)dukla2000 Wrote: b) Even adding an dhcp-range 10.0.0.50,10.0.0.150 I cant get internet sharing to work via the USB port!
Did you disable the "hardcoded" config first ? (assuming you have pinephone-devtools installed, it is stored in /etc/NetworkManager/system-connections/USB-gadget.nmconnection)

Not yet - hope @rico can bail my pathetic networking skills out on this one! I see usb0 is in USB-gadget mode - need to work out how to get it into Hotspot mode as per wlan0.

You mean access the internet from the PC via usb ?
using the phone as a usb modem ?

Do you have a Linux like OS on the client side (PC) ? (not just to ask but to answer it will be helpfull)

Currently you have an 'out of the box' point to point connection between the client (PC) and the server (PinePhone) if pinephone-devtools are installed as mentionned by a-wai on previous page
But as the ssh-server even if it can be usefull, we have to "point the interest of all" before making this feature a default feature.


Anyway i'll try tomorrow just to find an answer (not now, i forgot my PinePhone at work Sad , bad day...)
ip forwarding and NAT are not pre-configured (even with 'pinephone-devtools' installed)

On the last build (clean)


Code:
apt-get install pinephone-devtools dnsmasq-base

Code:
nmcli connection modify USB-gadget ipv4.method shared

Reboot and voila.

What change :
The client is in DHCP.

//edit: remove firewalld
(04-30-2020, 05:43 PM)antiX-Dave Wrote: There are a few updates after the latest image but there seems to be an issue with the phoc package. I think it is due to it requiring a different version of libgnome-desktop which was part of the update. I think there are other packages with this problem as well (evince?)

Indeed, the libgnome-desktop migration broke a bunch of packages, I've just rebuilt and uploaded them, updates should be OK now. Thanks for pointing this out!

For those having updated before this was fixed, make sure you install package 'task-pinephone-phosh' to get everything back!

(04-30-2020, 10:56 PM)Segfault Wrote:      To the mods/community: it seems to me that 467 replies/~41k views(!) might suggest there is sufficient interest to get a Debian pinephone sub-forum?

That's a good point, @Luke do you think you could move this topic to a "Debian on PinePhone" subforum?
I finally had a moment to give the 2704 image with crust a spin.
Went to sleep around midnight and left the phone unplugged (it was fully charged), picked it up today around 11AM ... it came right up, and still had some 25% battery left. This is pretty awesome Smile
[Image: 8yvfQtd.jpg]
You can find me on IRC, Discord and Twitter


Quote:.... @Luke do you think you could move this topic to a "Debian on PinePhone" subforum?

Sure. @fire219 could you please set that up and move this thread over? many thanks.
You can find me on IRC, Discord and Twitter


(04-30-2020, 11:39 PM)rico Wrote:
Code:
apt-get install pinephone-devtools dnsmasq-base

I think installing dnsmasq fixed the wifi hotspot for me. At least it sounds reasonable to me.
(05-01-2020, 05:41 AM)Luke Wrote: I finally had a moment to give the 2704 image with crust a spin.
Went to sleep around midnight and left the phone unplugged (it was fully charged), picked it up today around 11AM  ... it came right up, and still had some 25% battery left. This is pretty awesome Smile
[Image: 8yvfQtd.jpg]

You think you could explain how you achieve that? Do we have to enable anything to enjoy that CRUST feature? I freshly flashed the latest update and tried any kind of suspend mode and never got that much battery... :-(
@dflag84 as explained earlier in this thread: settings-> Power -> suspend & power button
I set On Battery Power to 15min.
You can find me on IRC, Discord and Twitter


Thread moved to new "Debian on PinePhone" subforum.
Community administrator and sysadmin for PINE64
(Translation: If something breaks on the website, forum, or chat network, I'm a good person to yell at about it)

(04-30-2020, 03:55 PM)dukla2000 Wrote:
(04-30-2020, 10:44 AM)cefre00 Wrote:
(04-30-2020, 01:56 AM)dukla2000 Wrote:
(04-30-2020, 01:30 AM)cefre00 Wrote: Hi All! Smile

Is there a way to disable auto-brightness? Nice feature, but drives me crazy.

Thanks!

Yup, Settings, Power

That way does not work. That was my first move. The slider goes to the right, but remains blue and nothing changes. Sad

Sometimes phosh can be perverse - just keep trying left/right clicks, left slides etc and eventually you will get it on the left and grey!

It was, thanks for the advice I got it working finally. Smile
(04-30-2020, 11:39 PM)rico Wrote:
(04-28-2020, 12:01 PM)rico Wrote:
(04-28-2020, 10:25 AM)dukla2000 Wrote:
(04-28-2020, 08:29 AM)a-wai Wrote:
(04-28-2020, 08:02 AM)dukla2000 Wrote: b) Even adding an dhcp-range 10.0.0.50,10.0.0.150 I cant get internet sharing to work via the USB port!
Did you disable the "hardcoded" config first ? (assuming you have pinephone-devtools installed, it is stored in /etc/NetworkManager/system-connections/USB-gadget.nmconnection)

Not yet - hope @rico can bail my pathetic networking skills out on this one! I see usb0 is in USB-gadget mode - need to work out how to get it into Hotspot mode as per wlan0.

You mean access the internet from the PC via usb ?
using the phone as a usb modem ?

Do you have a Linux like OS on the client side (PC) ? (not just to ask but to answer it will be helpfull)

Currently you have an 'out of the box' point to point connection between the client (PC) and the server (PinePhone) if pinephone-devtools are installed as mentionned by a-wai on previous page
But as the ssh-server even if it can be usefull, we have to "point the interest of all" before making this feature a default feature.


Anyway i'll try tomorrow just to find an answer (not now, i forgot my PinePhone at work Sad , bad day...)
ip forwarding and NAT are not pre-configured (even with 'pinephone-devtools' installed)

On the last build (clean)


Code:
apt-get install pinephone-devtools dnsmasq-base

Code:
nmcli connection modify USB-gadget ipv4.method shared

Reboot and voila.

What change :
The client is in DHCP.

//edit: remove firewalld

I've also got a dhcp-range in /etc/dnsmasq.conf, and /proc/sys/net/ipv4/ip_forward = 1 via /etc/sysctl.conf which are artefacts from my fiddling about, but from your instructions I presume are not necessary? Will double check next time I do a clean install.
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (5.19 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition daily driver, Tow-boot on SPI, Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/Phosh on eMMC


Possibly Related Threads…
Thread Author Replies Views Last Post
  Has anyone got briar-desktop running on mobian? vusra 4 754 11-29-2022, 01:35 PM
Last Post: Fish
  Axolotl on PinePhone / Mobian arno_nuehm 203 95,425 11-10-2022, 02:40 AM
Last Post: arno_nuehm
  Transparent Phosh App Grid? arno_nuehm 2 935 11-01-2022, 10:27 PM
Last Post: Amymunoz
  Battery problem with a Pinephone keyboard and Mobian elode 1 513 10-28-2022, 02:24 PM
Last Post: presire
Wink Pinephone lost graphic during mobian system upgrade cmpin 0 259 10-18-2022, 12:55 AM
Last Post: cmpin
  [Fixed] Phosh crashes frequently after latest updates arno_nuehm 20 2,628 10-14-2022, 05:38 PM
Last Post: Krafter
  Sending Pinephone SMS from Desktop biketool 5 653 09-13-2022, 01:46 PM
Last Post: anonymous
  Auto start application on Phosh login Zebulon Walton 6 584 09-05-2022, 06:27 PM
Last Post: Zebulon Walton
  How to check which mobian build I am running jojuma 0 241 08-29-2022, 04:44 AM
Last Post: jojuma
  How to get Pinetime working with Pinephone arkadione 12 2,590 08-28-2022, 12:30 PM
Last Post: Fish

Forum Jump:


Users browsing this thread: 1 Guest(s)