User Tools

Site Tools


projects:emb_linux_starterkit_wifi

This is an old revision of the document!


Setting up wireless LAN in Sitara starter kit

Sitara starter kit is a great tool for embedded Linux development. I do not want to use Ethernet cable and I have no spare keyboard to use therefore I needed to configure connection manually.

By default device have enabled tty0 console at serial line connected to on-board USB hub. When board is connected to PC it should see new virtual COM port. The only user on the device is root without password. I am using unmodified stock firmware.

  1. Connect board to PC using USB cable. Power the board.
  2. Connect to board using PuTTY (Serial 11500) COM port number depends on user system.
  3. Start or re-boot board
  4. Login as root
  5. Create psk hex using wpa_passphrase and put it in /etc/wpasupplicant.conf (wpa_passphrase network_ssid password >> /etc/wpasupplicant.conf).
  6. Edit /etc/network/interfaces (use vi)
    1. Comment out current wlan0 interface definition
    2. Add new wlan0 interface definition:
      auto wlan0
      iface wlan0 inet dhcp
          wpa-conf /etc/wpa_supplicant.conf
  7. Reset network interface /etc/init.d/networking restart
  8. Now device should connect to AP. User can reset device to check if connection is acquired on boot.

If the network connection is successful user can telnet or ssh into board. USB connection is no more needed.

projects/emb_linux_starterkit_wifi.1375044285.txt.gz · Last modified: 2013/07/28 22:44 by mkucia