# Access point with fx30 and talon iot card fail

**URL:** <https://forum.legato.io/t/access-point-with-fx30-and-talon-iot-card-fail/3512>\
**Category:** Uncategorized\
**Created:** [August 2, 2018, 9:42am UTC](https://forum.legato.io/t/access-point-with-fx30-and-talon-iot-card-fail/3512 "2018-08-02T09:42:50Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![bbo](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/bbo/32/489_2.png) [@bbo](https://forum.legato.io/u/bbo)\
**Post date:** [August 3, 2018, 7:22am UTC](https://forum.legato.io/t/access-point-with-fx30-and-talon-iot-card-fail/3512/9 "2018-08-03T07:22:47Z")

</div>

maybe I was not clear enough. The LED I mentioned are the ones from the WiFi IoT cards not the FX30’s  
I don’t do any legato development or modification whatsoever. I just used the default app available after i upgrade the FX30 without any modification.

Step by step process:  
Assumptions:

1. You upgrade to latest firmware R14.0.4.002
2. You have a SIM card and you are able to establish a data connection ([Configure Cell Modems - Legato Docs](https://docs.legato.io/17_07/basicTargetModem.html))

insert the WiFi IoT card  
power-on the FX30  
once you have access to the console via ssh on 192.168.2.2 send the following commands

```
wifi ap setsecurityproto 1
wifi ap setpassphrase secret123
wifi ap setssid EXAMPLESSID
wifi ap start
export ITF_LAN="wlan0"
export ITF_WAN="rmnet0"
export SUBNET="192.168.10.0/24"
export IP="192.168.10.1"
export IP_RANGE_START="192.168.10.10"
export IP_RANGE_END="192.168.10.20"
/mnt/legato/system/bin/cm data connect &
/sbin/ifconfig $ITF_LAN $IP up
killall dnsmasq
/usr/bin/dnsmasq --interface=${ITF_LAN} --dhcp-range=$IP_RANGE_START,$IP_RANGE_END,12h -d --bogus-priv &
echo 1 > /proc/sys/net/ipv4/ip_forward
modprobe ipt_MASQUERADE
/usr/sbin/iptables -I POSTROUTING -t nat -o ${ITF_WAN} -j MASQUERADE
/usr/sbin/iptables -I FORWARD --match state --state RELATED,ESTABLISHED --jump ACCEPT
/usr/sbin/iptables -I FORWARD -i ${ITF_LAN} --destination ${SUBNET} --match state --state NEW --jump ACCEPT
/usr/sbin/iptables -I INPUT -s ${SUBNET} --jump ACCEPT
/usr/sbin/iptables -I FORWARD -i ${ITF_WAN} --jump ACCEPT
/usr/sbin/iptables -I FORWARD -o ${ITF_WAN} --jump ACCEPT
/sbin/ifconfig $ITF_LAN $IP up

```

At this point, I’m able to connect a client to the AP and browse internet on the client

---

_[View the full topic](https://forum.legato.io/t/access-point-with-fx30-and-talon-iot-card-fail/3512)._
