Thank you for answer and help in advance.
My board is Banana Pi M2 Plus.
Name of image is ARMBIAN 5.33 user-built Debian GNU/Linux 8 (jessie) 3.4.113-sun8i
There is log link: http://sprunge.us/fFSg
About my problem.
I try to connect board to my WiFi router.
My steps are following:
1.
root@bananapim2plus:~# wpa_passphrase Home MY_PASSWORD > /etc/wpa_supplicant.conf
2.
I modified /etc/network/interfaces for enabling WiFi:
source /etc/network/interfaces.d/*
# Wired adapter #1
allow-hotplug eth0
#no-auto-down eth0
iface eth0 inet dhcp
#address 192.168.0.100
#netmask 255.255.255.0
#gateway 192.168.0.1
#dns-nameservers 8.8.8.8 8.8.4.4
# hwaddress ether # if you want to set MAC manually
# pre-up /sbin/ifconfig eth0 mtu 3838 # setting MTU for DHCP, static just: mtu 3838
# Wireless adapter #1
# Armbian ships with network-manager installed by default. To save you time
# and hassles consider using 'sudo nmtui' instead of configuring Wi-Fi settings
# manually. The below lines are only meant as an example how configuration could
# be done in an anachronistic way:
#
#allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
#address 192.168.0.100
#netmask 255.255.255.0
#gateway 192.168.0.1
#dns-nameservers 8.8.8.8 8.8.4.4
wpa-conf /etc/wpa_supplicant.conf
# Disable power saving on compatible chipsets (prevents SSH/connection dropouts over WiFi)
#wireless-mode Managed
#wireless-power off
# Local loopback
auto lo
iface lo inet loopback
3.
Rebooting the device.
After it, my device is obtaining IP address, for example 169.254.11.71
But a result, there is no internet connection.
I made ping 8.8.8.8
But answer is “Destination Host Unreachable”
How can I connect my board to the internet?