Jump to content

Recommended Posts

Posted

Hi all,

here's a newbie question:

-How to change root-file-system? Eg. for ex. change settings in a file /etc/network/interfaces, when building the whole image.

 

I tried to use the build/userpatches/overlay folder and add changed files there, but didn't work... I'm probably missing something.

 

br. Mike

Posted
28 minutes ago, Igor said:

We don't use ifupdown any more.

A long time I also didnt used the ifupdown.... but on some nightly/dev images I had to go back to ifupdown, because some times I didnt get a IP or could set an IP...or when I could set an IP (and DNS) I couldnt connect to the Internet.....this while using Network Manager with nmtui and the onboard eth0.

 

But when I use ifupdown it mostly works.... if not I had to use a USB-Network card.

 

In Bionic are we at another network service than the Network Manager?

In real debian stretch on PC there seems to be another service used than Network Manager. :(

 

 

Posted
1 minute ago, guidol said:

In real debian stretch on PC there seems to be another service used than Network Manager.


Yes, it's an upstream mess and in general, people are against Network Manager ... which was in a very bad state years ago, but today ... well, it works mostly just fine and cases where don't are rare.

It's a nightmare maintaining all this and from our perspective, it would be wise to stick only to one. That's why our Bionic defaults are Network Manager.

Posted
1 hour ago, Igor said:


We don't use ifupdown any more. For setting network credentials, check this file:  https://github.com/armbian/build/blob/master/packages/bsp/armbian_first_run.txt.template

Hello Igor,

thanx for fast reply !

Sorry about this, but I used the file /etc/network/interfaces just as an example.

This was not about setting network settinges etc., but howto change files within the root-file-system, as a new ex. /etc/hostname file... how to get changed/patched in build.

I got patches workking perfectly for u-bbot & kernel, but rootfs is a bit of a mystery for me...

 

br. Mike

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines