Community
cancel
Showing results for 
Search instead for 
Did you mean: 
MShap2
Beginner
1,138 Views

Interfaces file for Ifup and Ifdown

Jump to solution

So I was able to use "ifup wlan0" to get connected to my router's IP, but was unable to ping google.com. Was able to ping 8.8.8.8, so I treated that as a DNS error and tried to edit my interfaces file

Now when I try to run "ifup wlan0" or "ifdown wlan0", I get an error saying ifup: couldn't read interfaces file "/etc/network/interfaces"

Seems like I somehow messed up that file but I don't know what's wrong with it

30H[ Can now UnJustify! ]File: /etc/network/interaces

# interfaces(5) file ued by ifup(8) and ifdown(8)

auto lo iface lo inet loopback

auto usb0 iface usb0 inet static

address 192.168.2.15

netmask 255.255.255.0

auto wlan0 iface wlan0 inet dhcp wpa-conf

/etc/wpa_supplicant/wpa_supplicant.conf

# For WPA wpa-ssid Emutex wpa-psk passphrase For WEP wireless-essid

# Emutex wireless-mode Managed wireless-key s:password

# And the following 4 lines are for when using hostapd... auto wlan0

# iface wlan0 inet static

# address 192.168.42.1 netmask 255.255.255.0

0 Kudos
1 Solution
idata
Community Manager
58 Views

Hi Melanie,

 

 

Thanks for reaching out.

 

 

The Intel Edison uses connman and wpa_cli to control network services, both of these are capable of managing Wi-Fi connections. Also, the Edison image includes a script that will scan for available networks and ask you which network you want to connect to, you just have to enter this command: configure_edison –wifi to run it. Please take a look at this site for more details: https://software.intel.com/en-us/connecting-your-intel-edison-board-using-wifi Connecting your Intel Edison board using Wi-Fi*. Also, I'm using the latest Edison image and the Interfaces file does not exist and you should create it, so I'd highly recommend you to connect to your Wi-Fi network using the configure_edison script.

 

 

Additionally, you can check the http://download.intel.com/support/edison/sb/edison_wifi_331438001.pdf Intel Edison Wi-Fi Guide document for more details regarding connman and wpa_cli interfaces.

 

 

Hope you find this information useful.

 

 

Regards,

 

-Yermi A.

 

View solution in original post

1 Reply
idata
Community Manager
59 Views

Hi Melanie,

 

 

Thanks for reaching out.

 

 

The Intel Edison uses connman and wpa_cli to control network services, both of these are capable of managing Wi-Fi connections. Also, the Edison image includes a script that will scan for available networks and ask you which network you want to connect to, you just have to enter this command: configure_edison –wifi to run it. Please take a look at this site for more details: https://software.intel.com/en-us/connecting-your-intel-edison-board-using-wifi Connecting your Intel Edison board using Wi-Fi*. Also, I'm using the latest Edison image and the Interfaces file does not exist and you should create it, so I'd highly recommend you to connect to your Wi-Fi network using the configure_edison script.

 

 

Additionally, you can check the http://download.intel.com/support/edison/sb/edison_wifi_331438001.pdf Intel Edison Wi-Fi Guide document for more details regarding connman and wpa_cli interfaces.

 

 

Hope you find this information useful.

 

 

Regards,

 

-Yermi A.

 

View solution in original post

Reply