-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i cant ap mode enable #16
Comments
… On Wed, May 10, 2023, 3:09 AM ***@***.*** ***@***.***> wrote:
hi there
i use youre SoftAp config to hostapd and it doesnt work ! (WN722n v3)
and then i use this config . but client dont connect to ap !
i change channel and ssid ; not work.
please help me.
(WN722n v3)
interface=wlan0
driver=nl80211
ssid=wpa3
hw_mode=g
channel=7
macaddr_acl=0
ignore_broadcast_ssid=0
[image: Screenshot_2023-05-09_22_34_22]
<https://user-images.githubusercontent.com/52880633/237196361-05166e02-8c53-4280-b9fe-778d272dad1f.png>
[image: Screenshot_2023-05-09_22_35_00]
<https://user-images.githubusercontent.com/52880633/237196369-6b4a8c14-7396-4f32-81ca-ff0f36a22139.png>
—
Reply to this email directly, view it on GitHub
<#16>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A4DIGRQUN7LZI5HMQTNG5X3XFKI67ANCNFSM6AAAAAAX3W67VI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Hi! #!/bin/bash
ip addr flush dev "$1"
ip addr add 192.168.100.1/24 dev "$1"
killall dnsmasq
dnsmasq --conf-file=/dev/null --interface="$1" --bind-interfaces --except-interface=lo --dhcp-range=192.168.100.100,192.168.100.149
sysctl -w net.ipv4.ip_forward=1
iptables -A FORWARD -i "$1" -o eth0 -j ACCEPT
iptables -A FORWARD -i eth0 -o "$1" -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
killall hostapd
hostapd -i "$1" "$2" chmod +x ap-enable.sh Create conf file "hostapd.conf":
Enable AP - run: and "ap-disable.sh" script : #!/bin/bash
killall hostapd
ip addr flush dev "$1"
killall dnsmasq
sysctl -w net.ipv4.ip_forward=0
iptables -D FORWARD -i "$1" -o eth0 -j ACCEPT
iptables -D FORWARD -i eth0 -o "$1" -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE chmod +x ap-disable.sh Disable AP - run: Client config file "wpa_supplicant.conf":
|
Work on 5.15.0-1038-raspi ! )) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi there
i use your wpa_supplicant.conf and the final command doesnt work ! ()
i change channel and ssid ; not work.
please help me.
(WN722n v3)
and then i use this config . but client dont connect to ap !
interface=wlan0
driver=nl80211
ssid=wpa3
hw_mode=g
channel=7
macaddr_acl=0
ignore_broadcast_ssid=0
The text was updated successfully, but these errors were encountered: