Using An Mt100Eocg With An Mtpcie Bluetooth/Wi-Fi Device As Wi-Fi Client - Multitech MultiConnect MTPCIE-H5 Series Developer's Manual

Hide thumbs Also See for MultiConnect MTPCIE-H5 Series:
Table of Contents

Advertisement

echo "Setting up iptables"
# Flush all the tables first
iptables -t filter -F
iptables -t nat -F
iptables -t mangle -F
iptables -t filter -P INPUT DROP
iptables -t filter -A INPUT -i lo -j ACCEPT
iptables -t filter -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
# accept all traffic from LAN
iptables -t filter -A INPUT -i eth0 -j ACCEPT
iptables -t filter -A INPUT -i wlan0 -j ACCEPT
iptables -t filter -P FORWARD DROP
iptables -t filter -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -t filter -A FORWARD -i eth0 -o ppp0 -j ACCEPT
iptables -t filter -A FORWARD -i wlan0 -o ppp0 -j ACCEPT
iptables -t filter -P OUTPUT ACCEPT
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
# turn on packet forwarding last
echo 1 > /proc/sys/net/ipv4/ip_forward
Using an MT100EOCG with an MTPCIE Bluetooth/Wi-Fi Device as Wi-
Fi Client
To use the MT100EOCG with MTPCIE Bluetooth/Wi-Fi Device on the MTPCIE-DK1 as a Wi-Fi client:
1.
On MT100EOCG, copy the file wpa_supplicant.conf.example to /var/config folder.
/var/config/wpa_supplicant.conf
2.
Edit /var/config/wpa_mtechpc.conf and change AP_Name and AP_Password to values required by your
Wi-Fi network.
®
MultiConnect
PCIe MTPCIE-H5/MTPCIE-BW Developer Guide
cp /etc/wpa_supplicant.conf.example
ctrl_interface=/var/run/wpa_supplicant
network={
ssid=" AP_Name "
scan_ssid=1
#
key_mgmt=WPA-PSK
psk=" AP_Password "
priority=1
key_mgmt=NONE
BLUETOOTH DEVELOPER INFORMATION
83

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MultiConnect MTPCIE-H5 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents