Nп/п : 66 из 100
 От   : Kenny McCormack                     2:5075/128        16 сен 23 22:31:19
 К    : The Natural Philosopher                               16 сен 23 01:33:02
 Тема : Network names (Was: PI Zero W. Another puzzler)
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 1@news.xmission.com>
9ac5ac08
@REPLY: 6@dont-email.me> 445873ca
@REPLYADDR Kenny McCormack
<gazelle@shell.xmission.com>
@REPLYTO 2:5075/128 Kenny McCormack
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID:
1@news.xmission.com>
@RFC-References: 1@dont-email.me>
1@dont-email.me> 5@dont-email.me> 6@dont-email.me>
@TZUTC: -0000
@TID: FIDOGATE-5.12-ge4e8b94
In article 6@dont-email.me>,
The Natural Philosopher  <tnp@invalid.invalid> wrote:
...
>Well I explicitly selected to disable it in the config tool and now it 
>seems to work

That`s good.  I was going to comment to that effect (that the network names
thing was your issue, but others beat me to it.

>Where (what file) is that config option stored?

The standard advice given at this point is to look at the code in
/usr/bin/raspi-config.  It is a shell script, and reasonably readable.

Searching around a bit, I found this function:

get_net_names() {
  if grep -q "net.ifnames=0" $CMDLINE || [ "$(readlink -f
/etc/systemd/network/99-def
ault.link)" = "/dev/null" ] ; then
    echo 1
  else
    echo 0
  fi
}

I think that should give you the general idea.
there is also a set_net_names() function in there too.

Two other comments:

    1) This Orwellian termed "predictable names" thing is a real PIA.  To be
fair, it is probably the sort of thing that is a good thing if you
a) really need it and b) can deal with the fallout.  But for most
people, it is just a PIA.  It was added to RaspiOS a few releases
back, but then when people complained about it, they made it
off-by-default.  So, you must be running one of the versions where
it is on-by-default.

    2) You might want to join the Raspberry Pi help forum and ask your
questions there.  I say this entirely in peaces and love - this is
not a "You`re off topic in my newsgroup!" flame.  It is a good
forum and they are very attentive to people`s questions such as
yours.  forums.raspberrypi.com should get you there.

I`m not trying to discourage you from posting RPi questions to
Usenet, but I think you`ll do better there.

-- 
The randomly chosen signature file that would have appeared here is more than 4
lines long.  As such, it violates one or more Usenet RFCs.  In order to remain
in compliance with said RFCs, the actual sig can be found at the following URL:
http://user.xmission.com/~gazelle/Sigs/Rorschach
--- trn 4.0-test77 (Sep 1, 2010)
 * Origin: The official candy of the new Millennium (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5058/104 5075/128
@PATH: 5075/128 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх