Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have two wireless interfaces on my raspberry Pi that I'd like to be connected to the same network using DHCP (so each interface has a different IP). What do I need to change in my interfaces file?

/etc/network/interfaces

auto lo

iface lo inet loopback
iface eth0 inet dhcp

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

/etc/wpa_supplicant/wpa_supplicant.conf

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
    ssid="My-Network"
    psk="fgted6yf4ty6"
}
share|improve this question
    
Do you want to end up with two IP addresses, or do you want to duplicate your "network power" by using the two interfaces at a time as a single one with more throughput? –  lgeorget Jul 17 at 14:13
    
Two IP addresses, only. –  bgs Jul 17 at 14:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.