HI all - I'm trying to connect my Raspberry Pi to two separate networks to act as a router. I have a Wifi dongle (wlan0) that can connect to a public Wifi network. I have a second Wifi dongle (wlan1) connected to a private Wifi network.
If I have one of the dongles connected, it stays connected, but if I try to connect them both at the same time, one of them always disconnects. I have them plugged into an externally powered USB hub.
I'm not sure if its a hardware problem, configuration problem, or something else and need help determining what is going on here. any help/ideas would be appreciated.
My /etc/interfaces is:
<pre>
auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_network.conf
iface wlan0 inet static
address 192.168.2.1
netmask 255.255.255.0
allow-hotplug wlan1
iface wlan1 inet manual
wpa-roam /etc/wpa_supplicant/wep_network.conf
iface default inet dhcp
</pre>
My wpa_network.conf and wep_network.conf basically look like this:
<pre>
network={
...
}
</pre>
Again, if I have one of the dongles connected, it stays connected. This only fails when both dongles are connected.