Unable to connect with internet on fedora36

I recently tried installing oracle virtual box on my fedora36.

it asked to sign few kernal modules and i managed to do the same with some help from online forums.

#****************************************************************

steps i followed to install virtualbox


sudo dnf update

sudo dnf install mokutil

mkdir /root/signed-modules

cd /root/signed-modules

openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=VirtualBox/"

chmod 600 MOK.priv

sudo mokutil --import MOK.der

cd /root/signed-modules

vi sign-virtual-box
#!/bin/bash
for modfile in $(dirname $(modinfo -n vboxdrv))/*.ko; do
  echo "Signing $modfile"
  /usr/src/kernels/$(uname -r)/scripts/sign-file sha256 \
                                /root/signed-modules/MOK.priv \
                                /root/signed-modules/MOK.der "$modfile"
done

chmod 700 sign-virtual-box
./sign-virtual-box 

modprobe vboxdrv


#****************************************************************

eventually i managed to install virtual box, but i am not able to connect with my internet once after this

troubleshooting done so far..
~~~~~~~~~~~~~~~~~~~~~~~
1. connected with wifi successfully (no issue on wifi connectivity)
2. able to ping local own ip
3. not able to ping gateway ip(recognizing the hits are not reaching the gateway)
4. able to connect with the internet over the same machine via windows(dual boot)
5. i tried flushing the mac address filter on my router, which allowed me to connect with internet over fedora again. 
6. though before flushing the mac address filter, i was able to connect with internet over windows machine.
7. Now also to connect with internet on my fedora machine, i am flipping(enable/disable) the mac address filter on router first, from different device, then only it allows my fedora to connect with internet.


[root@thinkpad ~]# ip route show
default via 192.168.1.1 dev wlp3s0 proto dhcp src 192.168.1.102 metric 600 
192.168.1.0/24 dev wlp3s0 proto kernel scope link src 192.168.1.102 metric 600 

[root@thinkpad ~]# ip address show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether 90:2e:16:95:d9:83 brd ff:ff:ff:ff:ff:ff
3: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether cc:6b:1e:6c:85:81 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.102/24 brd 192.168.1.255 scope global dynamic noprefixroute wlp3s0
       valid_lft 7091sec preferred_lft 7091sec
    inet6 fe80::83ba:4ac6:6a16:7ad9/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever



expecting a permanent fix on this.

தாங்கள் கொடுத்துள்ள தலைப்பிற்கும் கொடுத்துள்ள விவரங்களுக்கும் தொடர்பு இல்லாத்து போல் உள்ளது.

தங்களுக்கு பெடோராவில் விர்ச்சுவல் மெஷின் இயக்க வேண்டும் என்றால் Boxes உள்ளது, அதற்கும் மேம்பட்ட virt-manager உள்ளது. இதில் யேதேனும் ஒன்றை பயன்படுத்தி பார்க்கவும்.

லினக்‌ஸில் Virtualbox பயன்படுத்துவதை தவிற்கவும்.

during the problematic time, i am not able to even ping my gateway IP. Traceroute towards the gateway IP is routed towards the local IP.

[sasikumar@fedora ~]$ netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 wlp3s0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 wlp3s0
[sasikumar@fedora ~]$ ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
From 192.168.0.104 icmp_seq=1 Destination Host Unreachable
From 192.168.0.104 icmp_seq=2 Destination Host Unreachable
From 192.168.0.104 icmp_seq=3 Destination Host Unreachable
From 192.168.0.104 icmp_seq=4 Destination Host Unreachable
^C
— 192.168.0.1 ping statistics —
4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 3086ms
pipe 3
[sasikumar@fedora ~]$ traceroute 192.168.0.1
traceroute to 192.168.0.1 (192.168.0.1), 30 hops max, 60 byte packets
1 fedora (192.168.0.104) 2741.148 ms !H 2741.123 ms !H 2741.119 ms !H
[sasikumar@fedora ~]$
[sasikumar@fedora ~]$

when i flush the mac address filter on the router

[sasikumar@fedora ~]$ ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=49.0 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=9.18 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=64 time=5.20 ms
64 bytes from 192.168.0.1: icmp_seq=4 ttl=64 time=5.51 ms
64 bytes from 192.168.0.1: icmp_seq=5 ttl=64 time=15.0 ms
^C
— 192.168.0.1 ping statistics —
5 packets transmitted, 5 received, 0% packet loss, time 4022ms
rtt min/avg/max/mdev = 5.199/16.760/48.955/16.476 ms
[sasikumar@fedora ~]$ traceroute 192.168.0.1
traceroute to 192.168.0.1 (192.168.0.1), 30 hops max, 60 byte packets
1 _gateway (192.168.0.1) 13.139 ms 13.090 ms 13.076 ms
[sasikumar@fedora ~]$
[sasikumar@fedora ~]$
[sasikumar@fedora ~]$ netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 wlp3s0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 wlp3s0
[sasikumar@fedora ~]$

even i tested & found this behavior with fresh fedora 36 installation

இந்த கேள்வியை புதிதாக ஒரு தலைப்பில் கேட்கவும்.

இதில் கூறும் வழிமுறையை பின்பற்றவும்.

duplicate of following post