/etc/netowrk/interfaces issue. - Raspberry Pi Forums


i use wpa-roam setup connection

case 1
iface wlan0 inet dhcp
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf

no ip has been assigned.

case 2
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf

still no ip has been assigned

case 3
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp

works. why need face default inet dhcp yet wlan0 has manual wpa-roam work?

try this:
/etc/network/interfaces

code: select all

auto lo #auto eth0 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 static address 10.0.0.7 gateway 10.0.0.1 netmask 255.255.255.0 
/etc/wpa_supplicant/wpa_supplicant.conf

code: select all

ctrl_interface=dir=/var/run/wpa_supplicant group=netdev update_config=1  network={         ssid="myssid"         scan_ssid=1         psk="myredactedpassword" }
iface xxxx inet manual means external network manager configuring network. it's way it's designed work.


raspberrypi



Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62