need my usb tethering back
#11
I find it best to run with an SD card and upgrade it first. Then, if no issues are found, switch back to the EMMC and upgrade it. 4 times this has saved me.
Due to the modem disconnect issue my EMMC is still using a mid-May image.
YMMV
LF
  Reply
#12
(07-30-2021, 08:48 AM)ragreenburg Wrote: Did you ever find a solution to this? I just got a usb tether the other day and it hasn't worked with the three mice I've tried it with and it seems like I have the same kernel as you so I am in a similar position.

I went back to the 20210201 image at the end of June and have been careful  to do only apt upgrade instead of  apt dist-upgrade. I am still good for USB tethering as of today.
I had wanted to use a later image, like the 20210517  but I cannot get around the f2fs file system.

At present uname -a gets me: Linux Mobian 5.10-sunxi64 #2 SMP PREEMPT Tues.Jan12 09:55:56 UTC 2021 aarch64 GNULinux
(and I still had to blacklist Anxi7688)

Good luck!

(07-30-2021, 09:26 AM)Lousy Fisherman Wrote: I find it best to run with an SD card and upgrade it first. Then, if no issues are found, switch back to the EMMC and upgrade it. 4 times this has saved me.
Due to the modem disconnect issue my EMMC is still using a mid-May image.
YMMV
LF

Thanks for the info on mid-May image. I'm using the 20210201 because I was not able to get current with  the f2fs file system. Yes, 4 times sounds about right Smile I was not so smart with my upgrade procedures, and have lost many contacts and settings....
*by the way, the modem disconnect issue is happening with my pinephone though, frustrating that only way around is reboot still.

(07-28-2021, 06:22 AM)biketool Wrote: I am curious how much of this scripting needs to be changed to add PAN AP capacity to Mobian?
http://wiki.maemo.org/Bluetooth_PAN

Code:
Install the iptables package:

apt-get install iptables

create the following 2 files:

/etc/udev/rules.d/98-bnep0.rules:

ACTION=="add", SUBSYSTEM=="net",  KERNEL=="bnep0", RUN+="/etc/udev/bluenet.sh"
ACTION=="remove", SUBSYSTEM=="net",  KERNEL=="bnep0", RUN+="/etc/udev/bluenet.sh"

/etc/udev/bluenet.sh:

#! /bin/sh
if [ $ACTION = "add" ]; then
    echo 1 > /proc/sys/net/ipv4/ip_forward
    iptables -t nat -A POSTROUTING ! -o lo -j MASQUERADE
    ifconfig bnep0 192.168.3.1
    ifconfig bnep0 up
    /usr/sbin/dnsmasq -I lo -z -a 192.168.3.1 -F 192.168.3.64,192.168.3.127 -x /var/run/dnsmasq.pid.bnep0
else
    iptables -t nat -D POSTROUTING ! -o lo -j MASQUERADE
    if [ -f /var/run/dnsmasq.pid.bnep0 ]; then
        DNSMASQ_PID=`cat /var/run/dnsmasq.pid.bnep0`
        rm -f /var/run/dnsmasq.pid.bnep0
        kill $DNSMASQ_PID
       fi
fi

then set /etc/udev/bluenet.sh as executible:

chmod +x /etc/udev/bluenet.sh

I have been using PAN for my laptop and tablet when mobile for many years and it works great, almost as power efficient as USB and far better than WiFi on a mobile battery.
I did notice we can already join a bluetooth PAN as a client from Advanced Networking settings.

@biketool, I'm intrigued. At my next breather I will do more studying on this.  Thank you!
  Reply
#13
(08-02-2021, 06:33 AM)HLing Wrote: (snip)
@biketool, I'm intrigued. At my next breather I will do more studying on this.  Thank you!

Thanks for the look-at; I think that hosting Internet access on WiFi, USB, wired and Bluetooth PAN are all important for different purposes and fall as second or third level basic services for a FOSS phone beyond basic calling and messaging..
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  packages held back user641 7 1,152 09-18-2023, 03:05 PM
Last Post: diederik
  When are we getting Geary back? LibrePhoneUser 15 5,213 12-09-2022, 04:18 AM
Last Post: Anna
  Wifi issue since last update and held back updates goku499 11 5,005 09-21-2022, 02:39 PM
Last Post: Katsujinken
  How to move Firefox address bar back to top? Zebulon Walton 5 2,848 06-11-2022, 09:41 AM
Last Post: iwakura_lain
  sharing mobile data through usb tethering deb75 7 4,077 02-26-2022, 08:52 AM
Last Post: Zebulon Walton
  Packages being kept back user641 2 1,827 02-08-2022, 05:34 PM
Last Post: user641
  USB Tethering scott_VYuCAbn3k1NFK 19 23,995 10-22-2020, 01:05 PM
Last Post: dukla2000

Forum Jump:


Users browsing this thread: 1 Guest(s)