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 (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC


Possibly Related Threads…
Thread Author Replies Views Last Post
  atinout binaries for mobian/debian? NeutralGrey 4 1,312 10-31-2024, 04:16 AM
Last Post: astylethargic
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 39 8,084 10-15-2024, 01:12 PM
Last Post: anonymous
  Pinephone seems tobe using 4G data instead of Wifi data grump_fiddle_reinstall 1 792 06-25-2024, 10:38 AM
Last Post: mikehenson
  unofficial kali linux for pinephone help needed pinesmell 5 5,012 01-08-2024, 02:50 PM
Last Post: ERPlegend
  Auto start application on Phosh login Zebulon Walton 8 5,062 10-14-2023, 06:29 AM
Last Post: alaraajavamma
  Problem with updates: Repository 'Debian bookworm' changed its 'non-free component' Anna 7 5,252 08-31-2023, 12:38 PM
Last Post: vusra
  Has anyone got briar-desktop running on mobian? vusra 5 3,930 06-19-2023, 03:02 PM
Last Post: vusra
  Using sway along phosh fdlamotte 2 3,861 05-11-2023, 04:24 PM
Last Post: kabouik
  Axolotl on PinePhone / Mobian arno_nuehm 219 197,745 03-26-2023, 01:49 AM
Last Post: shulamy
  PinePhone won't boot after software update jb2000 2 1,897 03-17-2023, 07:26 AM
Last Post: Zebulon Walton

Forum Jump:


Users browsing this thread: 17 Guest(s)