04-30-2020, 11:39 PM
(This post was last modified: 05-01-2020, 12:51 AM by rico.)
(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 , 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
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.
(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
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.
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!
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.
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.
(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 , 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
|