Hi dataghost!
Ive made some progress too. I've run the script with Kali x32 and I notice a weird thing, but first let give some clarification about the script.
As I said in the 1st post the script is mainly spitted in two major sections despite the download/install/backup etc routines.
1) The 1st one is how will create the Soft AP and the behavior of this.
The 1st part is spitted also in two sub-sections:
1.1) Airbase-ng based SoftAP.
1.2) Hostapd based SoftAP.
If we choose the airbase-ng method then we can use/set:
5Ghz channel or 2.4GHz channels, OPEN or WEP encryption.
If we choose the hostapd method then we can set/use:
5Ghz channels. 2.4GHz channels, high throughput for the previous bands, OPEN, WEP or WPA2 encryption and if we choose WPA2 encryption then we can activate if we want WPS (Wi-Fi protected setup)
2) The second section is how we handle the incoming and the outgoing traffic from and to the clients.Those are the 14 modes.
The 1st section doesn't care about the 2nd and the second doesn't care about the 1st. With that I want to say that the method that we choose to create the softAP doesn't effect the 14 modes. The modes will work no matter what.
Another thing that is crucial. If we choose the airbase-ng method with some interface (let's name it wlan0) then the scripts tries to exclude that interface from controlling by network manager. I will explain that later. This is not crucial. Airbase-ng should start no matter if the scripts achieves that.
What is crucial is when we choose the hostapd method. In this method the wlan0 interface MUST be excluded from controlling by network manager. If you open you wireless connection in network manager you should see wlan0 as "Device not managed" and none wireless AP listed above it. If the interface (wlan0) is continuing to managed by network manager hostapd will never start.
What I notice today is that I run the script in x32 Kali and no matter what one wireless interface that I choose to create the SoftAP couldn't be un-managed by network manager. This is not happening in x64 and I'm not very sure yet what is causing that. They are 2 working methods to exclude a wireless interface from controlling by network manager, I tried both and in x64 it works and in x32 it works only for the one of the two installed wireless NICs. I will look for that.
Back to your reply. Everything looks OK except the:
Code:
option dns 192.168.1.1, fda8:16c6:f01e::1
and
Secondary DNS server : fda8:16c6:f01e::1
what is the fda8:16c6:f01e::1 ? An IPv6 dns server? Did you change the OPEN DNS servers or the script is getting them from resolv.conf file?
Can you please look at /etc/resolv.conf?
Let's "debug" line by line the last page you're getting from my script:
Code:
Internet Interface : eth0 - pci:atl1c
This is your internet interface a pci Ethernet atl1c NIC
Code:
Internet Gateway : 192.168.1.1
Your Internet Gateway from your router/LAN
Code:
Internet IP : 192.168.1.78
Your Internet IP
Code:
Primary DNS server : 192.168.1.1
The primary DNS server from your router/LAN
Code:
Secondary DNS server : fda8:16c6:f01e::1
The secondary DNS server from your router/LAN
Code:
Software Access Point options
Wireless NIC : wlan2 - usb:rt2800usb
This is your wireless Interface that you have choose to create the softAP. A usb, rt2800 based wireless NIC
Code:
Gateway : 192.168.60.129
The gateway for your clients
Code:
Clients IPs : 192.168.60.130 - 192.168.60.150
The IP range that your clients will get
Your SoftAP's name
Code:
MAC address : 00:e0:5c:30:e5:a4
Your wireless NIC's MAC address (it looks the real on. You don't change that I presume)
"00" is is the world regulatory domain. You should set that because when we select the hostapd method we advertise that to our clients and some clients need to know what country code is using the softAP. Please set it.
The channel that the softAP is braodcasting
You choose the hostapd method
Code:
IEEE 802.11 standard : g 2.4GHz
2.4GHz band. Usaully you can choose channels from 1 to 13 and you choose to not use the high throuput capabilities from you card. (ieee80.211g/n). You choose right. Let's keep it simple to see what is wrong.
No encryption. Everyone can join that softAP
Code:
Mode : Simple - Clients can access directly the Internet.
And finally you choose mode 1. Just give Internet access.
Not sure if it matters but the only screen showing in this mode is the watch screen
In that mode we monitoring through watch terminal who is connected, at what speed/signal etc and what IP is getting from udhcpd server. That's all for mode 1.
Please do not misunderstand me. I don't explain this line by line for you. I know that most are understandable by you. I explained them from everyone who is reading this.
I will wait for you findings!