Re: Hi, I'm using Neptune os. I'm new to Debian. I got it it successfully installsd, how do I setup network?
On Fri 24 Nov 2023 at 23:52:29 (+0000), Chris Goody wrote:
> Neptune is based on Debian, I cant also activate my wired connection via USB tethering. It says actives. But not fully on.
My notes say the following:
Connect phone with USB cable. Pull down notifications:
Tap USB,
Tap again for other uses,
Tap USB tethering.
On the computer, ifupdown is installed (the debian-installer default).
Root wrote this file:
$ cat /etc/network/interfaces.d/tethered
allow-hotplug usb0
iface usb0 inet dhcp
$
# ifup usb0
$ ip r
default via 192.168.50.93 dev usb0
192.168.50.0/24 dev usb0 proto kernel scope link src 192.168.50.231
$
When finished:
# ifdown usb0
On the phone, deselect USB tethering button.
(This may require selecting something else, like Charging Only.)
Remove cable.
(Leave ifupdown and interfaces.d/tethered.)
Cheers,
David.
Reply to: