Skip to contentSkip to conversation

Fixed /etc/resolv.conf

DISCUSSION Gary Thomas 2 participants 3 messages Nov 28, 2011

lore
Share & tools
lore
#0 lore raw

I'd like to have my network hard-wired - fixed IP, fixed /etc/resolv.conf

I can see how to adjust my network settings by providing my own version of /etc/network/interfaces. However, I don't see how to have a fixed (immutable) version of /etc/resolv.conf

Any ideas?

Thanks

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw
Quoted 8 lines · Gary Thomas

I'd like to have my network hard-wired - fixed IP, fixed /etc/resolv.conf

I can see how to adjust my network settings by providing my own version of /etc/network/interfaces. However, I don't see how to have a fixed (immutable)
version of /etc/resolv.conf

Any ideas?

Do you have connman in your image? If so, do you need it if you're providing static versions of those files?

Joshua

Signature · 3 lines
Joshua Lock
        Yocto Project "Johannes factotum"
        Intel Open Source Technology Centre
#2 lore raw
Quoted 10 lines · Joshua Lock
Quoted 7 lines · Gary Thomas

I'd like to have my network hard-wired - fixed IP, fixed /etc/resolv.conf

I can see how to adjust my network settings by providing my own version of /etc/network/interfaces. However, I don't see how to have a fixed (immutable)
version of /etc/resolv.conf

Quoted 4 lines
Quoted 1 line

Any ideas?

Do you have connman in your image? If so, do you need it if you're providing static versions of those files?

No conman/network-manager is included. This image needs to be static and as absolutely minimal as possible.

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------