Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #231057
| From | Dan Hitt <dan.hitt@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: sharing a network connection from debian to non-debian |
| Date | 2021-01-24 23:10 +0100 |
| Message-ID | <BAVK1-8q4-15@gated-at.bofh.it> (permalink) |
| References | <BxM0x-6wS-9@gated-at.bofh.it> <BxOF3-85R-3@gated-at.bofh.it> <BxYuJ-5MB-17@gated-at.bofh.it> <BARdn-5q2-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Sun, Jan 24, 2021 at 9:16 AM Andrei POPESCU <andreimpopescu@gmail.com>
wrote:
> On Sb, 16 ian 21, 10:28:43, Dan Hitt wrote:
> >
> > Regarding Andrei's suggestion of using nm-connection-editor, and using
> > "Shared to other computers", i saw that last night, and tried using it.
> It
> > looked similar to the gui that i had on my old mint (ubuntu) machine.
> ........
>
> Eventually I got around to actually test this.
>
> First thing I noticed is that some of the necessary components are
> Recommends of network-manager (dnsmasq-base and iptables, confirmed by
> the package description). Unless installation of Recommends is
> explicitly disabled these should already be installed.
>
> Next I added a new connection of type "Ethernet" and left everything at
> default, except for setting the "Method" to "Shared to other computers"
> in the "IPv4 Settings" tab. For good measure I restarted the entire
> system, though I believe simply enabling the connection would have been
> enough.
>
> With these the system at the other end of the cable received a DHCP
> address in the 10.42.0.0/24 network and was able to ping both the "lan"
> as well as the "wan" interface of the "gateway". According to my reading
> the network can be changed by setting an address as desired.
>
> Unfortunately that is as far as I got. Since there are no recent reports
> of problems with this I strongly suspect the issue is some
> incompatibility between nft and the "special" 3.18 kernel running on the
> "gateway" system.
>
> IPv4 forwarding was enabled correctly and I also tried a workaround for
> an old bug (fixed already in stretch), i.e. setting IPv6 to "Ignore"
> (and restarting).
>
> In case someone is interested to dig deeper I'm attaching the output of
> 'nft list ruleset' (with the MAC address of the USB adapter redacted).
>
> Based on your symptoms I strongly suspect either one or both of
> dnsmasq-base and iptables were missing from your system.
>
> Kind regards,
> Andrei
> --
> http://wiki.debian.org/FAQsFromDebianUser
Thanks Andrei for being so nice and going to all this effort, and posting
the results of running
nft list ruleset
Now, i do not have a command 'nft', or at least, no place that i can find a
path to it. The man page for iptables-nft however lists your very command
as an example, 'nft list ruleset'. But i cannot find 'nft' anywhere in the
filesystem (except as a directory in linux-headers-xxxx).
However, i do have commands /sbin/iptables and /sbin/iptables-nft. When i
run either of them with the arguments --list-rules i get an output. But it
is much shorter than yours, and '--verbose' only lengthens it very little.
The output is:
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
-A FORWARD -i enxXXXXXXXXX -j ACCEPT
while the verbose output is the same, except that the forward line now reads
-A FORWARD -i enxXXXXXXXXX -c NNN MMMM -j ACCEPT
(I've redacted the usb-ethernet id, as well as the two mysterious numbers
after '-c': one having 3 digits and one having 5 digits.)
Anyhow, thanks again for pursuing this so far.
dan
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
sharing a network connection from debian to non-debian Dan Hitt <dan.hitt@gmail.com> - 2021-01-16 06:10 +0100
Re: sharing a network connection from debian to non-debian john doe <johndoe65534@mail.com> - 2021-01-16 07:30 +0100
Re: sharing a network connection from debian to non-debian Doug McGarrett <dmcgarrett@optonline.net> - 2021-01-16 07:50 +0100
Re: sharing a network connection from debian to non-debian Andrei POPESCU <andreimpopescu@gmail.com> - 2021-01-16 09:00 +0100
Re: sharing a network connection from debian to non-debian Dan Hitt <dan.hitt@gmail.com> - 2021-01-16 19:30 +0100
Re: sharing a network connection from debian to non-debian rhkramer@gmail.com - 2021-01-16 20:50 +0100
Re: sharing a network connection from debian to non-debian Andrei POPESCU <andreimpopescu@gmail.com> - 2021-01-17 08:30 +0100
Re: sharing a network connection from debian to non-debian john doe <johndoe65534@mail.com> - 2021-01-17 10:30 +0100
Re: sharing a network connection from debian to non-debian Celejar <celejar@gmail.com> - 2021-01-17 16:00 +0100
Re: sharing a network connection from debian to non-debian David Christensen <dpchrist@holgerdanske.com> - 2021-01-18 08:50 +0100
Re: sharing a network connection from debian to non-debian Dan Hitt <dan.hitt@gmail.com> - 2021-01-19 01:50 +0100
Re: sharing a network connection from debian to non-debian john doe <johndoe65534@mail.com> - 2021-01-19 07:10 +0100
Re: sharing a network connection from debian to non-debian David Christensen <dpchrist@holgerdanske.com> - 2021-01-19 20:50 +0100
Re: sharing a network connection from debian to non-debian Andrei POPESCU <andreimpopescu@gmail.com> - 2021-01-24 18:20 +0100
Re: sharing a network connection from debian to non-debian Dan Hitt <dan.hitt@gmail.com> - 2021-01-24 23:10 +0100
Re: sharing a network connection from debian to non-debian Dan Hitt <dan.hitt@gmail.com> - 2021-01-25 04:00 +0100
Re: sharing a network connection from debian to non-debian Andrei POPESCU <andreimpopescu@gmail.com> - 2021-01-25 07:20 +0100
Re: sharing a network connection from debian to non-debian Andrei POPESCU <andreimpopescu@gmail.com> - 2021-01-25 07:20 +0100
Re: sharing a network connection from debian to non-debian Andrei POPESCU <andreimpopescu@gmail.com> - 2021-01-25 07:10 +0100
Re: sharing a network connection from debian to non-debian Joe <joe@jretrading.com> - 2021-01-25 10:40 +0100
Re: sharing a network connection from debian to non-debian Andrei POPESCU <andreimpopescu@gmail.com> - 2021-01-25 20:10 +0100
Re: sharing a network connection from debian to non-debian Dan Hitt <dan.hitt@gmail.com> - 2021-01-26 03:50 +0100
Re: sharing a network connection from debian to non-debian David Christensen <dpchrist@holgerdanske.com> - 2021-01-16 11:10 +0100
Re: sharing a network connection from debian to non-debian rhkramer@gmail.com - 2021-01-16 15:30 +0100
Re: sharing a network connection from debian to non-debian Michael Howard <mike@dewberryfields.co.uk> - 2021-01-16 16:00 +0100
Re: sharing a network connection from debian to non-debian elvis <elvis@dogonfire.com> - 2021-01-19 09:20 +0100
csiph-web