Setting Static IP Address

mascenzimascenzi New Member Posts: 1

New to the forum. I'm having some issues regarding setting a static IP Address running Ubilinux.

here's where I'm at.

The general information that I've found has said that by editing /etc/network/interfaces with an address, mask, and gateway it is all that really needs to be done. However, no matter what directions I follow it never uses the IP address I assign. It always defaults to the dhcp address.

here is the current configuration of /etc/network/interfaces

This file describes the network interfaces available on your system

and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

The loopback network interface

auto lo
iface lo inet loopback

The primary network interface

auto enp1s0
iface enp1s0 inet static

I also followed here with no success.

I've never attempted to make the changes with the GUI, as I need to make it work via the cmdline as I won't have access to the UI at all.

Anyone, any ideas????


  • ccaldeccalde Administrator, Moderator, Emutex Posts: 285 admin

    Hi @mascenzi ,

    Did you try to restart your service?
    sudo systemctl restart isc-dhcp-server


  • ChetanChetan New Member Posts: 6

    hi @ccalde getting error. failed to restart isc-dhcp-server.service: Unit isc-dhcp-server.service not found.

    I am also facing the same problem. not able to set static IP address. I want to configure wifi on local network

  • ccaldeccalde Administrator, Moderator, Emutex Posts: 285 admin

    Hi @Chetan

    Could you try this adding your own IP and network?
    Edit: sudo nano /etc/network/interfaces

    Defining your own Network:
    auto enp2s0
    iface enp2s0 inet static

    Edit: sudo nano /etc/default/isc-dhcp-server Add your network interface:

    Restart dhcp server:

    sudo systemctl restart isc-dhcp-server

  • ChetanChetan New Member Posts: 6

    hi @ccalde I have connected wifi adapter to up board. but it is not able to connect. don't know why this is happening, I have installed ubilinux 4. can you please help me out to connect wifi adapter and configure wifi on up board?

  • ccaldeccalde Administrator, Moderator, Emutex Posts: 285 admin

    Hi @Chetan,

    Could you please send the WiFi adapter model/ specifications that you are using?
    Some chips are not supported for UP board.


  • singhvsinghv New Member Posts: 1

    Hi ,
    i want to connect my up board to wifi without display and then ssh into UP terminal from ubuntu over wifi rather than ethernet. any help?

Sign In or Register to comment.