Can AP6210 driver of AP6181 on BananaPi-M1+ work as both in AP mode and as STATION mode?

(Rohit) #1

I would like to know if AP6181 wifi chipset and its driver ap6210 has the capability to run simultaneosly at the same time as AP and as a STATION mode (like in some mobile phones and tablets where the wifi chipset can run in AP mode (hotspot) and in Station mode so one side it allows connecting to the other clients while the wifi chipset itself is connecting to a wifi router.

I want to know if this AP6181 has the capability (being on SDIO interface) to run simultaneously at the same time in both AP and STATION mode?

Thanks, Rohit

(Djames Suhanko) #2

If you use a Raspbian-like distro, navigate and share connection is a simple task. In first, you will need to configure a dhcp server to offer IPs. You can use this link as example to perform this task:

After that, you need configure a few firewall rules. Make a file named (example with network): #!/bin/sh

/sbin/depmod -a /sbin/modprobe ip_tables /sbin/modprobe ip_conntrack_ftp /sbin/modprobe ip_nat_ftp echo “1” >/proc/sys/net/ipv4/ip_forward /sbin/iptables -P FORWARD DROP /sbin/iptables -t nat -A POSTROUTING -s -j MASQUERADE /sbin/iptables -A FORWARD -s -j ACCEPT /sbin/iptables -A FORWARD -d -mstate --state ESTABLISHED,RELATED -j ACCEPT

Save the file and make it an executable: chmod 750 ./firewall

To finish, you can make your own DNS including name resolution for you network: