Nп/п : 72 из 100
 От   : The Natural Philosopher             2:5075/128        17 сен 23 09:17:51
 К    : Kenny McCormack                                       17 сен 23 11:19:02
 Тема : Re: Network names (Was: PI Zero W. Another puzzler)
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 1@dont-email.me> 7686d56a
@REPLY: 1@news.xmission.com>
9ac5ac08
@REPLYADDR The Natural Philosopher
<tnp@invalid.invalid>
@REPLYTO 2:5075/128 The Natural Philosopher
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID: 1@dont-email.me>
@RFC-References: 1@dont-email.me>
1@dont-email.me> 5@dont-email.me> 6@dont-email.me>
1@news.xmission.com>
@TZUTC: 0100
@PID: Mozilla/5.0 (X11; Linux x86_64; rv:102.0)
Gecko/20100101 Thunderbird/102.15.1
@TID: FIDOGATE-5.12-ge4e8b94
On 16/09/2023 23:31, Kenny McCormack wrote:
> 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.

Yeah > found thatr link but couldnt believe it
> 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.

AFAIK I downloaded the latest a couple of months ago.

>      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 found many instances of the problem there. I found no solution

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


As it happens I have done pretty well here so far..;-)

-- 
"And if the blind lead the blind, both shall fall into the ditch".

Gospel of St. Mathew 15:14


 --- Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.15.1
 * Origin: A little, after lunch (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    
                                                                                
В этой области больше нет сообщений.

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