element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Wireless
  • Technologies
  • More
Wireless
Blog Wi-Fi Remote Terminal
  • Blog
  • Forum
  • Documents
  • Polls
  • Quiz
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Wireless to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ndutton
  • Date Created: 23 Sep 2014 6:57 PM Date Created
  • Views 674 views
  • Likes 0 likes
  • Comments 0 comments
  • terminal
  • wi-fi
  • networks
  • ackme
  • wireless
  • wiconnect
  • remote
Related
Recommended

Wi-Fi Remote Terminal

ndutton
ndutton
23 Sep 2014

WiConnect is an easy to use front-end to WICED and this example demonstrates how to setup WiConnect to enable remote access to your module or evaluation board using telnet via the Wi-Fi interface. The example shows how to use the Wi-Fi softAP interface, but it is also possible to connect remotely using telnet via the Wi-Fi client interface.

Features demonstrated

  • Soft AP
  • Remote Terminal

image

Once your evaluation board and WiConnect is configured to enable the Soft AP and Remote Terminal feature, there is no longer any need to use a serial connection to control the board. The board can instead be controlled directly by Connecting the Remote Terminal.

Setting up the Soft AP and Remote Terminal

The example is based on an ACKme Mackerel board, but the process is generic for any ACKme evaluation board with a serial interface and an ACKme module running WiConnect.

Connect a computer to the evaluation board USB connector. Use your terminal program to make a serial connection to the board (see Getting Started).

View the Default State of the Soft AP and Remote Terminal Variables

This step is for information only. It is NOT necessary to list the variables before you change them.

In the serial terminal console use the get softap and get remote_terminal command to display the current state of the softap and remote_terminal variables. In the default state the variables are as shown below:

> get softap

softap.auto_start: 0

softap.channel: 0

softap.dhcp_server: 1

softap.dns_server: 1

softap.idle_timeout: 7

softap.ip: 10.10.10.1

softap.passkey:

softap.rate.protocol: auto

softap.rate.transmit: auto

softap.ssid: WiConnect-#

softap.url: wiconnect,wiconnect.com,www.wiconnect.com

> get remote_terminal

remote_terminal.enabled: 0

remote_terminal.interface: default

remote_terminal.password:

remote_terminal.port: 2000

remote_terminal.timeout: 60

If the variables do not display as shown, you may wish to perform a factory reset to return them to the default state (seeFactory Reset).

Change the Soft AP and Remote Terminal Variables

 

Setting up the soft Access Point (softap) and remote terminal, from the default state, requires just a few commands:

WiConnect CommandsDescription

set softap.auto_start 1

set remote_terminal.enabled 1

set remote_terminal.interface softap

 

save

 

reboot

<- Start softap automatically on boot

<- Enable the remote terminal

<- Set the remote terminal to interface

  via the soft AP

<- Save the state of the

WiConnect variables to flash memory

<- Reboot the device

You can reboot the board using the reboot command, by pressing the reset button, or by power cycling.

After reboot, WiConnect displays a message similar to the following:

> IPv4 address: 10.10.10.1

SoftAP 'WiConnect-101098' started

Remote terminal listening on port: 2000

[Ready]

 

View the Changed State of the Soft AP and Remote Terminal Variables

This step is for information only. It is NOT necessary to list the variables after you change them.

After reboot, in the serial terminal, check the state of all softap and remote_terminal variables.

> get softap

softap.auto_start: 1

softap.channel: 1

softap.dhcp_server: 1

softap.dns_server: 1

softap.idle_timeout: 7

softap.ip: 10.10.10.1

softap.passkey:

softap.rate.protocol: auto

softap.rate.transmit: auto

softap.ssid: WiConnect-#

softap.url: wiconnect,wiconnect.com,www.wiconnect.com

> get remote_terminal

remote_terminal.enabled: 1

remote_terminal.interface: softap

remote_terminal.password:

remote_terminal.port: 2000

remote_terminal.timeout: 60

Connecting the Remote Terminal

 

On the computer running the remote terminal, connect to the Soft AP. The softap SSID is determined by the softap.ssidvariable. The default value of WiConnect-# means WiConnect-, followed by the last 6 digits of the device WLAN MAC address, e.g. WiConnect-101098. The passkey is determined by the softap.passkey variable. The default is empty i.e. no passkey.

In your communication terminal program (e.g. Teraterm) create a new TCP/IP telnet connection with the Host and Port values determined by the softap.ip and and remote_terminal.port variables respectively:

PropertyWiConnect variableDefault Value
Host:softap.ssid10.10.10.1
TCP port:remote_terminal.port2000

 

 

The terminal program should now complete the telnet connection to the eval board.

Before typing commands, ensure that local echo is turned on. For example, in Teraterm, select the checkbox in the menuSetup | Terminal | Local echo.

The remote terminal provides full access to all WiConnect commands, exactly as if you were connected via a serial interface. When a telnet client is connected to the remote terminal via Wi-Fi, the serial interface is disabled.

If required, and to add security, a remote terminal password can be added by configuring the remote_terminal.password variable.

image

ndutton

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube