Quantcast
Channel: PirateBox Forum - Raspberry Pi(rate)Box
Viewing all articles
Browse latest Browse all 1863

Re: Fix for Alfa external WiFi antenna? Alternative: TR-702N mini router (?)

$
0
0
Hi,

Quote

Another idea I had was using the TR-702N mini router as a WiFi adapter thing. I had no success.

This is possible. You have to change in piratebox.conf on your RPi the following lines:

DO_IFCONFIG="yes"
DO_IW="no"
USE_APN="no"
# The following can be set to no, too. Depends if the device shouldn't be a DHCP & DNS Server (no redirect to piratebox.lan)
USE_DNSMASQ="yes"
INTERFACE="eth0"
DNSMASQ_INTERFACE="eth0"

/etc/network/interfaces
auto lo

iface lo inet loopback
iface eth0 inet manual


iface wlan0 inet manual
### disalbed for PirateBox
#allow-hotplug wlan0
#wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
#iface default inet dhcp

Dont forget this
 sudo ln -s /opt/piratebox/init.d/piratebox /etc/init.d/piratebox
 sudo update-rc.d piratebox  defaults 
 sudo /etc/init.d/piratebox start

PirateBox is available at 192.168.77.1

change the config of your WR702N to:

1. disable dhcp (do not server IPs)
2. Change IP to 192.168.77.2

(If it has a mode switch, use 3g or AP mode)

Then it should work

regards Matthias

Viewing all articles
Browse latest Browse all 1863

Trending Articles