oblique / create_ap

[NOT MAINTAINED] This script creates a NATed or Bridged WiFi Access Point.
BSD 2-Clause "Simplified" License
4.43k stars 998 forks source link

modprobe: FATAL: Module ip_tables not found in directory /lib/modules #460

Open wwdok opened 3 years ago

wwdok commented 3 years ago

Hi, when i run the command : root@rpdzkj:/home/rpdzkj# create_ap wlan0 eth0 MyAccessPoint MyPassPhrase --no-virt

it print out below error:

Config dir: /tmp/create_ap.wlan0.conf.bVqwcQuV
PID: 15055
Network Manager found, set wlan0 as unmanaged device... DONE
Sharing Internet using method: nat
modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.4.167
iptables v1.6.0: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Doing cleanup.. done

Can anyone give me some advice to debug ? thanks in advance !