Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Set static IP in jessie server on orange pi one

Featured Replies

I want to set static IP in armbian, I edit interfaces in /etc/network as follow

 
auto lo


iface lo inet loopback
iface eth0 inet static
address 172.19.19.110
netmask 255.255.255.0
gateway 172.19.19.253
but when in terminal get ifconfig , address ,...there isn't exist and ping address is `Destination host unreachable` what am I missing??
  • Author

I add this line and restart networking so I have ping orange pi address,tnx

edit :   /etc/network/interfaces

 

# start ###
 
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
 
# The loopback network interface
auto lo
iface lo inet loopback
 
# The primary network interface
# allow-hotplug eth0
# iface eth0 inet dhcp
 
# Static IP address
auto eth0      # ou auto enp0s7 (see  ifconfig)
iface eth0 inet static
        address 192.168.25.3
        netmask 255.255.255.0
        gateway 192.168.25.1
 
# end ###
 
and change :   /etc/resolv.conf
 
domain domain.name
search domain.name
nameserver 8.8.8.8
nameserver 8.8.4.4
 
# for your preference
 
 
 
:)

Hello,

 

I am trying to setup my OPI Lite wi-fi connection with no success. (OPI Lite has only WiFi connection)

I downloaded and installed Debian_jessie_default_3.4.113.

 

I have updated /etc/network/interfaces with next:

### General setup - Local loopback
auto lo
iface lo inet loopback

### General setup - WI-FI WAN Network
auto wlan0
iface wlan0 inet static
  address 192.168.100.52
  netmask 255.255.255.0
  gateway 192.168.100.1
  dns-nameservers 8.8.8.8 8.8.4.4
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
 

 

I have updated /etc/wpa_supplicant/wpa_supplicant.conf with next:

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

network={
        ssid="DIGI-B3ED"
        key_mgmt=WPA-PSK
        psk="P9XwDmuF"
}

 

Restarted device >> 

lo gets:

inet addr: 127.0.0.1
UP LOOPBACK RUNNING

 

wlan0 states:

UP BRODCAST RUNNING MULTICAST with NO IP address

 

When I run: sudo ifup wlan0, I get: 

wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
Failed to bring up wlan0  

 

Code is perfectly running on RaspberyPi2, OPI Zero but, NO OPI Lite !!

 

Please someone help !

Thank you.

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.