Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #5310 > unrolled thread

DHCP as default for new network interface

Started byRalf Fassel <ralfixx@gmx.de>
First post2023-06-28 18:27 +0200
Last post2023-06-29 09:27 -0500
Articles 6 — 3 participants

Back to article view | Back to comp.os.linux.networking


Contents

  DHCP as default for new network interface Ralf Fassel <ralfixx@gmx.de> - 2023-06-28 18:27 +0200
    Re: DHCP as default for new network interface "Carlos E.R." <robin_listas@es.invalid> - 2023-06-28 19:13 +0200
      Re: DHCP as default for new network interface Ralf Fassel <ralfixx@gmx.de> - 2023-06-29 14:20 +0200
        Re: DHCP as default for new network interface "Carlos E.R." <robin_listas@es.invalid> - 2023-06-29 14:43 +0200
          Re: DHCP as default for new network interface Ralf Fassel <ralfixx@gmx.de> - 2023-06-30 11:05 +0200
    Re: DHCP as default for new network interface Bit Twister <BitTwister@mouse-potato.com> - 2023-06-29 09:27 -0500

#5310 — DHCP as default for new network interface

FromRalf Fassel <ralfixx@gmx.de>
Date2023-06-28 18:27 +0200
SubjectDHCP as default for new network interface
Message-ID<yga8rc3imcd.fsf@akutech.de>
Opensuse 15.4 if it matters.

Whenever I connect a 'new' USB-Ethernet adapter, it its listed in yast
as "not configured".  I then can reconfigure it manually for DHCP, and
this works.

However, I would like to have DHCP as default for an new network adapter
attached, so I don't need to fire up network configuration each time I
add a new network adapter.

How would I go for this?

TNX
R'

[toc] | [next] | [standalone]


#5311

From"Carlos E.R." <robin_listas@es.invalid>
Date2023-06-28 19:13 +0200
Message-ID<ib6umjx5r1.ln2@Telcontar.valinor>
In reply to#5310
On 2023-06-28 18:27, Ralf Fassel wrote:
> Opensuse 15.4 if it matters.
> 
> Whenever I connect a 'new' USB-Ethernet adapter, it its listed in yast
> as "not configured".  I then can reconfigure it manually for DHCP, and
> this works.
> 
> However, I would like to have DHCP as default for an new network adapter
> attached, so I don't need to fire up network configuration each time I
> add a new network adapter.
> 
> How would I go for this?

I think you should use Network Manager instead of wicked.

-- 
Cheers, Carlos.

[toc] | [prev] | [next] | [standalone]


#5312

FromRalf Fassel <ralfixx@gmx.de>
Date2023-06-29 14:20 +0200
Message-ID<yga4jmqihot.fsf@akutech.de>
In reply to#5311
* "Carlos E.R." <robin_listas@es.invalid>
| On 2023-06-28 18:27, Ralf Fassel wrote:
| > Opensuse 15.4 if it matters.
--<snip-snip>--
| > However, I would like to have DHCP as default for an new network
| > adapter
| > attached, so I don't need to fire up network configuration each time I
| > add a new network adapter.
| > How would I go for this?
>
| I think you should use Network Manager instead of wicked.

Thanks for the suggestion, which reminded me that I indeed chose
'wicked' on installation some years ago and kept that throughout the
releases.

I tried to change to Networkmanager in yast, but it immediately
complained it required some app or other (did not say exactly which) to
run properly - I do not run KDE or Gnome desktop :-/, and Yast said it
could not longer control the interface options (since Networkmanager did).

At that point I remembered *why* I had changed to wicked... and decided
that I do not want the original requested feature *that* much.

Thanks
R'

[toc] | [prev] | [next] | [standalone]


#5313

From"Carlos E.R." <robin_listas@es.invalid>
Date2023-06-29 14:43 +0200
Message-ID<ssa0njx0s7.ln2@Telcontar.valinor>
In reply to#5312
On 2023-06-29 14:20, Ralf Fassel wrote:
> * "Carlos E.R." <robin_listas@es.invalid>
> | On 2023-06-28 18:27, Ralf Fassel wrote:
> | > Opensuse 15.4 if it matters.
> --<snip-snip>--
> | > However, I would like to have DHCP as default for an new network
> | > adapter
> | > attached, so I don't need to fire up network configuration each time I
> | > add a new network adapter.
> | > How would I go for this?
>>
> | I think you should use Network Manager instead of wicked.
> 
> Thanks for the suggestion, which reminded me that I indeed chose
> 'wicked' on installation some years ago and kept that throughout the
> releases.
> 
> I tried to change to Networkmanager in yast, but it immediately
> complained it required some app or other (did not say exactly which) to
> run properly - I do not run KDE or Gnome desktop :-/, and Yast said it
> could not longer control the interface options (since Networkmanager did).
> 
> At that point I remembered *why* I had changed to wicked... and decided
> that I do not want the original requested feature *that* much.
> 
> Thanks

Ok, so... did you manage to change to NM? Does it work?


Wicked can't handle automatically changing hardware, like an USB network 
connection. NM can.

Yes, when you change to NM, YaST can no longer control/configure the 
connections, except some items (notably, computer name). And it probably 
needs to install somethings, which should be handled automatically, no 
matter what desktop you use (or even in text mode).


openSUSE is removing wicked in the future, going for NM only.


-- 
Cheers, Carlos.

[toc] | [prev] | [next] | [standalone]


#5315

FromRalf Fassel <ralfixx@gmx.de>
Date2023-06-30 11:05 +0200
Message-ID<ygazg4hgw0l.fsf@akutech.de>
In reply to#5313
* "Carlos E.R." <robin_listas@es.invalid>
| On 2023-06-29 14:20, Ralf Fassel wrote:
| > * "Carlos E.R." <robin_listas@es.invalid>
| > | On 2023-06-28 18:27, Ralf Fassel wrote:
| > | > Opensuse 15.4 if it matters.
| > --<snip-snip>--
| > | > However, I would like to have DHCP as default for an new network
| > | > adapter
| > | > attached, so I don't need to fire up network configuration each time I
| > | > add a new network adapter.
| > | > How would I go for this?
| >>
| > | I think you should use Network Manager instead of wicked.
| > Thanks for the suggestion, which reminded me that I indeed chose
| > 'wicked' on installation some years ago and kept that throughout the
| > releases.
| > I tried to change to Networkmanager in yast, but it immediately
| > complained it required some app or other (did not say exactly which) to
| > run properly - I do not run KDE or Gnome desktop :-/, and Yast said it
| > could not longer control the interface options (since Networkmanager did).
| > At that point I remembered *why* I had changed to wicked... and
| > decided
| > that I do not want the original requested feature *that* much.
| > Thanks
>
| Ok, so... did you manage to change to NM? Does it work?

No, I haven't changed (yet).  NM looks promising, but the messages when
switching to it in yast (even *before* 'Apply') scared me off, since
right now I did not want to spend the time investigating if something
went wrong.  However, I will try it on the next OS release update (15.5
is already released).

| Yes, when you change to NM, YaST can no longer control/configure the
| connections, except some items (notably, computer name). And it
| probably needs to install somethings, which should be handled
| automatically, no matter what desktop you use (or even in text mode).

Sounds like 'nmcli' is the tool in question.

| openSUSE is removing wicked in the future, going for NM only.

Good to know.

TNX
R'

[toc] | [prev] | [next] | [standalone]


#5314

FromBit Twister <BitTwister@mouse-potato.com>
Date2023-06-29 09:27 -0500
Message-ID<slrnu9r562.ffvg.BitTwister@wb.home.arpa>
In reply to#5310
On Wed, 28 Jun 2023 18:27:14 +0200, Ralf Fassel wrote:
> Opensuse 15.4 if it matters.

It always helps to provide the distribution.
You need to use the distribution's 'network configuration tool to do
configuration setting/changes.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.os.linux.networking


csiph-web