Difference between revisions of "Bering-uClibc 7.x - User Guide - Advanced Topics - Setting Up a Wireless Internet Connection"

From bering-uClibc
Jump to: navigation, search
m
(Configuration)
Line 25: Line 25:
  
 
The wpasupplicant software is configured using a text file '''''/etc/wpa_supplicant.conf'''''. It is also controlled by the file '''''/etc/default/wpasupp''''' where a few start parameters are defined. The '''''wpasupp.lrp''''' package includes a copy of these two files for your reference.
 
The wpasupplicant software is configured using a text file '''''/etc/wpa_supplicant.conf'''''. It is also controlled by the file '''''/etc/default/wpasupp''''' where a few start parameters are defined. The '''''wpasupp.lrp''''' package includes a copy of these two files for your reference.
 +
 +
====wpa_supplicant.conf====
  
 
Please refer to '''''[https://w1.fi/wpa_supplicant/ wpasupplicant]''''' for the complete description of the configuration parameters.
 
Please refer to '''''[https://w1.fi/wpa_supplicant/ wpasupplicant]''''' for the complete description of the configuration parameters.
 +
 +
====/etc/default/wpasupp====
  
 
===Firewall settings===
 
===Firewall settings===
  
 
If you use your wireless connection as your external interface you will have to configure your firewall software accordingly. Your external interface will most probably become '''wlan0'''. Please refer to the [[Bering-uClibc_7.x_-_User_Guide_-_IPv4_Networking_-_Configure_Shorewall|Shorewall configuration page]] for details.
 
If you use your wireless connection as your external interface you will have to configure your firewall software accordingly. Your external interface will most probably become '''wlan0'''. Please refer to the [[Bering-uClibc_7.x_-_User_Guide_-_IPv4_Networking_-_Configure_Shorewall|Shorewall configuration page]] for details.

Revision as of 17:41, 4 January 2021

Advanced Topics - Setting Up a Wireless Internet Connection
Prev Bering-uClibc 7.x - User Guide Next


Setting Up a Wireless Internet Connection

Objectives

Here we will show you how to hook up your LEAF Box to an uplink access point using Wifi, e.g. IEEE-802.11 .

Prerequisites

The software used to hook up to an uplink access point is called wpasupplicant and is packaged in the wpasupp.lrp LEAF package. You should be familiar on how to obtain LEAF packages from either a tarball in the LEAF file area or to download it using your internet connection. You should also be familiar on how to set up LEAF to automatically install packages.

Dependencies

As of LEAF 7.x wpasupp.lrp depends on the following packages:

  • libssl.lrp
  • libcrpto.lrp

Configuration

The wpasupplicant software is configured using a text file /etc/wpa_supplicant.conf. It is also controlled by the file /etc/default/wpasupp where a few start parameters are defined. The wpasupp.lrp package includes a copy of these two files for your reference.

wpa_supplicant.conf

Please refer to wpasupplicant for the complete description of the configuration parameters.

/etc/default/wpasupp

Firewall settings

If you use your wireless connection as your external interface you will have to configure your firewall software accordingly. Your external interface will most probably become wlan0. Please refer to the Shorewall configuration page for details.