How to make network configruation permanent ?

Hello,

I want my opensuse box to have permanent :

1/ Ip address (outside dhcp range)
2/ gateway (my gateway)
3/ resolver (my gateway)

Suppose I want to learn how to do this without using Yast, yes, I like to temper with configuration files…How can I do this ?

Thanks in advance.

I did check the reference manual but didn’t find anything special. http://doc.opensuse.org/documentation/html/openSUSE/opensuse-reference/cha.basicnet.html

Oh sorry didn’t see that in the first place : Chapter

YaST > Network devices > Network configuration. You will find everything there.

No need at all to go for manualy editing of a myriad of configuration files. YaST will care for everything.

On Thu, 17 May 2012 14:56:04 +0000, hcvv wrote:

> YaST > Network devices > Network configuration. You will find everything
> there.
>
> No need at all to go for manualy editing of a myriad of configuration
> files. YaST will care for everything.

And further to that, if you want to learn how the config files are
updated, back them up, make the changes with YaST, and then compare the
files. :slight_smile:

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

My observation on manually configuring using YAST.

Although everything is fairly straightforward, there is one possible gotcha that the User needs to be careful…

You likely will also need to configure the Hosts file manually, you should take care to make sure it’s consistent with the settings you configure in YAST network configuration.

Otherwise, the OP should understand that if DHCP is enabled on his network, this is all unnecessary (The network settings should be set to just acquire settings automatically).

Also, if you’re running Network Manager, you can configure static network settings there as well.

HTH,
TS

On Sat, 19 May 2012 20:56:03 +0000, tsu2 wrote:

> My observation on manually configuring using YAST.
>
> Although everything is fairly straightforward, there is one possible
> gotcha that the User needs to be careful…
>
> You likely will also need to configure the Hosts file manually, you
> should take care to make sure it’s consistent with the settings you
> configure in YAST network configuration.
>
> Otherwise, the OP should understand that if DHCP is enabled on his
> network, this is all unnecessary (The network settings should be set to
> just acquire settings automatically).

Yep.

And also the config files under /etc/sysconfig can be edited directly,
but you have to run SuSEconfig to get the changes accepted by the system.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

On 2012-05-20 00:36, Jim Henderson wrote:
> And also the config files under /etc/sysconfig can be edited directly,
> but you have to run SuSEconfig to get the changes accepted by the system.

Unfortunately, SuSEconfig is bein deprecated (12.1 and later). They are
removing functionality from it.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

On Sun, 20 May 2012 00:48:07 +0000, Carlos E. R. wrote:

> On 2012-05-20 00:36, Jim Henderson wrote:
>> And also the config files under /etc/sysconfig can be edited directly,
>> but you have to run SuSEconfig to get the changes accepted by the
>> system.
>
> Unfortunately, SuSEconfig is bein deprecated (12.1 and later). They are
> removing functionality from it.

Interesting, I hadn’t noted that - thanks. :slight_smile:

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

On 2012-05-20 07:41, Jim Henderson wrote:
> On Sun, 20 May 2012 00:48:07 +0000, Carlos E. R. wrote:

>> Unfortunately, SuSEconfig is bein deprecated (12.1 and later). They are
>> removing functionality from it.
>
> Interesting, I hadn’t noted that - thanks. :slight_smile:

[Bugzilla #"][Bug 750685] New: SuSEconfig --module
postfix does not run.]( New: Release notes should mention changes in SuSEconfig re
postfix


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
]("))