create_ap iptables error
create_ap iptables error
Running Slacko installed from windows exe on little acer portable laptop that doesn't have a CD Rom.
I have 2 wifi adapters and am trying to use a program called create_ap in order to share the wifi signal coming in on one interface and broadcast it out on the other. I have downloaded all the listed dependencies, but get an error from iptables when trying to run it. I use this program and do the same on Ubuntu without an issue.
The error I am getting is:
iptables: No chain/target/match by that name
I have 2 wifi adapters and am trying to use a program called create_ap in order to share the wifi signal coming in on one interface and broadcast it out on the other. I have downloaded all the listed dependencies, but get an error from iptables when trying to run it. I use this program and do the same on Ubuntu without an issue.
The error I am getting is:
iptables: No chain/target/match by that name
Did you compile create_ap and instal? I use it all the time on FatHouse64. Ceck all of the dependencies are installed.
Dependencies
General
• bash (to run this script)
• util-linux (for getopt)
• procps or procps-ng
• hostapd
• iproute2
• iw
• iwconfig (you only need this if ‘iw’ can not recognize your adapter)
• haveged (optional)
For ‘NATed’ or ‘None’ Internet sharing method
• dnsmasq
• iptables
install
Dependencies
General
• bash (to run this script)
• util-linux (for getopt)
• procps or procps-ng
• hostapd
• iproute2
• iw
• iwconfig (you only need this if ‘iw’ can not recognize your adapter)
• haveged (optional)
For ‘NATed’ or ‘None’ Internet sharing method
• dnsmasq
• iptables
install
Code: Select all
make install
all dependecies were installed as follows:
iptables-1.4.20
dnsmasq-2.78
wireless-tools-29 (iwconfig)
iw 3.5
iproute2-3.10.0
procps-3.2.8
util-linux 2.21.2
bash-4.2.053
hostapd-2.0
and create_ap was installed using make install command. The error I am getting is not that I am missing dependencies. It's that when the program tries to run there is an error thrown by iptables.
iptables-1.4.20
dnsmasq-2.78
wireless-tools-29 (iwconfig)
iw 3.5
iproute2-3.10.0
procps-3.2.8
util-linux 2.21.2
bash-4.2.053
hostapd-2.0
and create_ap was installed using make install command. The error I am getting is not that I am missing dependencies. It's that when the program tries to run there is an error thrown by iptables.
You probably need the MASQUERADE kernel module. Here is the version for Slacko 630.
Plese note that add-on modules are kernel-specific.
Plese note that add-on modules are kernel-specific.
- Attachments
-
- ipt_MASQUERADE_slacko630-k3.14.55.pet
- (1.95 KiB) Downloaded 183 times
Thanks! I installed that pet and am now getting 2 new errors. This is the output I now see when I try to run create_ap:
Config dir: /tmp/create_ap.wlan2.conf.XXDEygep
PID: 12972
Sharing Internet using method: nat
hostapd command-line interface: hostapd_cli -p /tmp/create_ap.wlan2.conf.XXDEygep/hostapd_ctrl
/usr/bin/create_ap: line 1837: stdbuf: command not found
Error: Failed to run hostapd, maybe a program is interfering.
Doing cleanup.. done
Config dir: /tmp/create_ap.wlan2.conf.XXDEygep
PID: 12972
Sharing Internet using method: nat
hostapd command-line interface: hostapd_cli -p /tmp/create_ap.wlan2.conf.XXDEygep/hostapd_ctrl
/usr/bin/create_ap: line 1837: stdbuf: command not found
Error: Failed to run hostapd, maybe a program is interfering.
Doing cleanup.. done
There is a Linux command called stdbuf but your Slacko doesn't have it. I pulled it out of Debian Stretch and packaged it as a PET.
No promises.
No promises.
- Attachments
-
- stdbuf-1.0.pet
- (25.51 KiB) Downloaded 186 times