wireless access point help?
I've been using Slack in product for a long time but this new request has me stumped. They say we need to talk to the remote devices (an LED array display and green/red/yellow light stack) by wireless to become more modern. The hardware guy uses a TI 430 in the peripherals so uses a Lantronix module that has a built in TCP stack since the 430 is bare metal - no OS. I figured we could use ad hoc or peer to peer, but he says the Lantronix device takes an unacceptably long time to connect in that case. So I am supposed to act as an "access point" except my app will be the one talking to the peripherals, not just forwarding packets from a wireless net to a wired one. Two days of surfing has left me confused. Do I need wpa_supplicant and hostapd together? Just hostapd? Or wpa_supplicant has an AP mode? Some use bridges, some don't. It seems to me like forwarding should work without a bridge. Do I need to use NAT although the host and peripherals will be on a common subnet? I probably need iptables to keep wireless packets from spilling onto the wired network. What do I do? Route wireless packets to lo where my app can get/put them? Can I get/put packets to eth0 even if there is no cable connected? Or am I over thinking this? Will wlan0 be available to me running hostapd or wpa_supplicant in AP mode? Help!!
Last edited by gearheadgeek; 08-19-2015 at 03:23 PM.
|