:: Re: [DNG] Which qemu version is shi…
Forside
Slet denne besked
Besvar denne besked
Skribent: tempforever
Dato:  
CC: dng
Emne: Re: [DNG] Which qemu version is shipped by default with devuan 3 ?
another difference is, this machine is reporting
$ /sbin/iptables --version
iptables v1.8.7 (nf_tables)

instead of
iptables v1.8.7 (legacy)


> Mario Marietto wrote:
>> Do you see ? That entry has been removed by default from the kernel
>> that I'm using. That's not good,because IP tables are a very important
>> feature that should be enabled by default.
>>
>> can you also do :
>>
>> grep CONFIG_BRIDGE= /boot/config-`uname -r`
>>
> $ grep CONFIG_BRIDGE= /boot/config-`uname -r`
> CONFIG_BRIDGE=m
>
>
>> thanks. Even this entry is missing here.
>>
>> On Wed, Aug 16, 2023 at 2:19 AM tempforever <dev1@???
>> <mailto:dev1@tempforever.com>> wrote:
>>
>>     $ grep CONFIG_IP_NF_NAT= /boot/config-`uname -r`
>>     CONFIG_IP_NF_NAT=m
>>     $ grep CONFIG_NF_TABLES= /boot/config-`uname -r`
>>     CONFIG_NF_TABLES=m

>>
>>
>>     Mario Marietto wrote:
>>     > You are using almost the same kernel as me. Can you issue this
>>     command
>>     > ? and give me the output.
>>     >
>>     > grep CONFIG_IP_NF_NAT= /boot/config-`uname -r`

>>     >
>>     > I don't have this entry in my kernel config file,but I suspect
>>     that I
>>     > should add it from scratch.

>>     >
>>     > On Wed, Aug 16, 2023 at 1:47 AM tempforever
>>     <dev1@??? <mailto:dev1@tempforever.com>
>>     > <mailto:dev1@tempforever.com <mailto:dev1@tempforever.com>>> wrote:

>>     >
>>     >     OK, not sure if that's the problem then.  I was having an
>>     iptables
>>     >     issue on 4.19; now am on 5.10

>>     >
>>     >     # modinfo iptable_nat
>>     >     filename:      
>>     >     /lib/modules/5.10.74-v8/kernel/net/ipv4/netfilter/iptable_nat.ko
>>     >     license:        GPL
>>     >     srcversion:     3FAE187928D3CBBEEBC7690
>>     >     depends:        ip_tables,nf_nat
>>     >     intree:         Y
>>     >     name:           iptable_nat
>>     >     vermagic:       5.10.74-v8 SMP preempt mod_unload
>>     modversions aarch64
>>     >     sig_id:         PKCS#7
>>     >     signer:         Build time autogenerated kernel key
>>     >     sig_key:       
>>     >     11:B1:1B:6F:2B:12:D5:3C:06:17:30:26:15:FC:54:3D:EC:3F:9C:1A
>>     >     sig_hashalgo:   sha1
>>     >     signature:      (several lines of signature)

>>     >

>>     >
>>     >     Mario Marietto wrote:
>>     >>     ---> Just curious, what is your kernel version?  I had a
>>     similar
>>     >>     issue trying to set up a wireguard on an old kernel,
>>     aarch64 machine.

>>     >>
>>     >>     5.4.244 (I can't use a better version of qemu,the kvm
>>     support for
>>     >>     armhf has been removed on 5.7 kernels).

>>     >>
>>     >>     I have recompiled the kernel with the ip tables and bridge
>>     >>     enabled for the 2 times. It seems that the mouse,keyboard and
>>     >>     trackpad now work. But let's see if the iptables works :

>>     >>
>>     >>     root@devuan:~# iptables -t nat -A POSTROUTING -o mlan0 -j
>>     MASQUERADE

>>     >>
>>     >>     iptablesv1.8.7 (legacy): can't initialize iptables table `nat':
>>     >>     Table does not exist (do you need to insmod?) ; Perhaps
>>     iptables
>>     >>     or your kernel needs to be upgraded.

>>     >>
>>     >>     root@devuan:~# sudo depmod

>>     >>
>>     >>     root@devuan:~# modinfo iptable_nat

>>     >>
>>     >>     modinfo: ERROR: Module iptable_nat not found.

>>     >>
>>     >>     root@devuan:~# grep CONFIG_NF_TABLES= /boot/config-`uname -r`
>>     >>     CONFIG_NF_TABLES=y

>>     >>
>>     >>     grep CONFIG_IP_NF_NAT= /boot/config-`uname -r`
>>     >>     nothing

>>     >>
>>     >>     This entry is not present at all. Should I add it ?

>>     >>

>>
>>     _______________________________________________
>>     Dng mailing list
>>     Dng@??? <mailto:Dng@lists.dyne.org>
>>     https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

>>
>>
>>
>> --
>> Mario.
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng