Tethering worked with openbsd 7.4 bios/mbr.
Doesn't work anymore since installing 7.5 uefi/gpt.
I have to reinstall with a legacy bios boot just to see.
Original message
> From: Zé Loff
> To: Pascal
> Subject: Re: Usb tethering
> Date: 27/04/2024 10:56:37 Europe/Paris
> Cc: misc@openbsd.org
>
> On Sat, Apr 27, 2024 at 07:48:29AM +0400, Pascal wrote:
> > Internet on phone is ok with -70dBm 4G
>
> Even if it is connected to a cellular network, that doesn't mean that
> it is configured for packet switching, your contract with your operator
> might not allow for mobile data services, etc. That's why its important
> to know if the phone _itself_ can access the internet. Another way to
> be sure would be to tether a machine running some other OS, and see if
> things change, but that may not be necessary.
>
> > No results when ping to google.com
>
> Does google.com get resolved to an IP address? The first line of ping's
> output should be something like
>
> PING google.com (142.250.200.78) [...]
>
> If it doesn't get resolved, you'll get something like
>
> ping: no address associated with name
>
>
> If your OpenBSD box is unable to resolve hostnames, even after getting
> urdis0 properly configured via DHCP, then I strongly suspect the problem
> is that your phone isn't configured for internet access.
>
> > No pf here
> >
> > 26 avr. 2024 19:25:32 Zé Loff :
> >
> > > On Fri, Apr 26, 2024 at 06:53:33PM +0400, Pascal wrote:
> > >> https://qsl.net/fr5dh/route.jpg
> > >> https://qsl.net/fr5dh/ifconfig.jpg
> > >>
> > >> Sorry for the format...
> > >>
> > >> 26 avr. 2024 15:37:36 Zé Loff :
> > >>
> > >>> On Fri, Apr 26, 2024 at 03:19:58PM +0400, Pascal wrote:
> > >>>> GM/GA
> > >>>>
> > >>>> Would like connect to internet with usb tethering on openbsd 7.4
> and Phone SM-A426B.
> > >>>>
> > >>>> After: # ifconfig urndis0 up autoconf
> > >>>> I can't : fw_update & syspatch
> > >>>> Failed timeout
> > >>>>
> > >>>> Any idea please?
> > >>>>
> > >>>> --
> > >>>> Pascal
> > >>>>
> > >>>>
> > >>>
> > >>> What's the output of "ifconfig urndis0" and "route -n show"?
> > >>>
> > >>> --
> > >>>
> > >>
> > >> --
> > >> Pascal
> > >>
> > >>
> > >
> > > So you get an IP from your phone, and it is your default gateway.
> > > Everything seems normal, there. Does your phone have internet
access
> > > itself?
> > >
> > > And on the OpenBSD box:
> > > - Can you resolve hostnames?
> > > - Can you access other websites?
> > > - Are you running pf to do some sort of filtering?
> > >
> > > --
> > >
> >
> > --
> > Pascal
> >
> >
>
> --
>
>