Lost default gateway and Permission Denied
-
Hi to all,
Due I'm without a stable internet connection because I've moved to new house, so I'm trying to share my Windows10 internet connection using a tethering WiFi from a mobile phone. Ok, it's only temporary, to allow update some packages in my home LAN.
To do that, I've bridged mi Internet-Wifi network with the Ethernet LAN connection. The Ethernet LAN connection goes to the WAN port of my pfSense. Then, due the WiFi has a dhcp, I've obtained on my router this ip: 192.168.0.190 with GW 192.168.0.1.
So I've changed the WAN IP of my pfSense to 192.168.0.2 added a new gateway (now it's the only present) with GW 192.168.0.1. Until here all ok.
I've noticed that if I ping the GW from the pfsense it works ONLY if I specify the WAN interface, even if the 192.168.0.1 is configured as Default Gateway.
BTW, looging into the pfSense, seems the defaut Gateway is missing.
I've tried to disable / enable the WAN, add and remove GW monitoring and whatever, but nothing works. At least I've noticed into boot messages errors like those:/sbin/ifconfig: Permission denied
The routing Table is missing the default gateway:
Routing tables
Internet:
Destination Gateway Flags Use Mtu Netif Expire
127.0.0.1 link#4 UH 19377 16384 lo0
192.168.0.0/24 link#1 U 420 1500 re0
192.168.0.2 link#1 UHS 0 16384 lo0
192.168.1.0/24 link#7 U 702 1500 re1.10
192.168.1.1 link#7 UHS 0 16384 lo0
192.168.3.0/24 link#8 U 240 1500 re1.30
192.168.3.1 link#8 UHS 0 16384 lo0Internet6:
Destination Gateway Flags Use Mtu Netif Expire
::1 link#4 UH 0 16384 lo0
fe80::%re0/64 link#1 U 0 1500 re0
fe80::2e0:67ff:fe10:7fd2%re0 link#1 UHS 0 16384 lo0
fe80::%re1/64 link#2 U 0 1500 re1
fe80::2e0:67ff:fe10:7fd3%re1 link#2 UHS 0 16384 lo0
fe80::%lo0/64 link#4 U 0 16384 lo0
fe80::1%lo0 link#4 UHS 0 16384 lo0
fe80::%re1.10/64 link#7 U 0 1500 re1.10
fe80::2e0:67ff:fe10:7fd3%re1.10 link#7 UHS 0 16384 lo0
fe80::%re1.30/64 link#8 U 0 1500 re1.30
fe80::2e0:67ff:fe10:7fd3%re1.30 link#8 UHS 0 16384 lo0Ideas?
Thanks!
Simon
-
Hello,
Even trying to reset the IP I get:Please wait while the changes are saved to WAN... Reloading filter... Reloading routing configuration...sh: /sbin/route: Permission denied sh: /sbin/route: Permission denied DHCPD... The IPv4 WAN address has been set to 192.168.0.2/24
This permission denied is not normal, or?
Thanks, Simon
-
@xefil said in Lost default gateway and Permission Denied:
Permission denied
Hello!
Nobody has ever got the "Permission denied" error? :-)
Thanks!
Simon -
Hi, I'm trying the whole week-end to solve this issue. No suggestions really? Please :-)
-
Hi all,
Ok solved by myself. Strange was those "Permission denied" errors, so I've ended first trying a factory reset and restoring a backup, then, 'cause this didn't help, I've reinstalled the whole box and restored the configuration. After that, all went back to work.
Hope that helps someone.
Cheers,
Simon