# Wireless Internet Gateway - Open AT source code example

**URL:** <https://forum.sierrawireless.com/t/wireless-internet-gateway-open-at-source-code-example/6135>\
**Category:** Open AT\
**Created:** [February 13, 2013, 11:08am UTC](https://forum.sierrawireless.com/t/wireless-internet-gateway-open-at-source-code-example/6135 "2013-02-13T11:08:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ToF](https://avatars.discourse-cdn.com/v4/letter/t/db5fbb/32.png) [@ToF](https://forum.sierrawireless.com/u/ToF)\
**Post date:** [February 13, 2013, 11:08am UTC](https://forum.sierrawireless.com/t/wireless-internet-gateway-open-at-source-code-example/6135/1 "2013-02-13T11:08:39Z")

</div>

This application is intended to show an AirLink FX programmable modem, in conjunction with the Ethernet X-card, to operate as an internet gateway allowing a PC to be plugged into it through its Ethernet port and then surf the internet.

The Open AT code includes:

- A DHCP server to automatically allocate IP address to the computers connected on the LAN.
- A web server that prompts an HTTP page to configure the APN and related username and password.

Click here to get the [Open AT application with its source code](http://developer.sierrawireless.com/Resources/Resources/AirPrime/Application_Notes_and_Code_Samples/Wireless%20Internet%20Gateway%20-%20Source%20code%20example.aspx).

---

<div class="post-metadata">

**Author:** ![rfuentes1](https://avatars.discourse-cdn.com/v4/letter/r/c77e96/32.png) [@rfuentes1](https://forum.sierrawireless.com/u/rfuentes1)\
**Post date:** [February 20, 2013, 4:54pm UTC](https://forum.sierrawireless.com/t/wireless-internet-gateway-open-at-source-code-example/6135/2 "2013-02-20T16:54:50Z")

</div>

Great example but in my FXT it doesn’t work. I have loaded .dwl in this device and at least I can’t see power on the eth card .  
Any idea?  
Thank’s
