Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rename network from enp0s25 to eth0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
xHypnos
n00b
n00b


Joined: 19 Mar 2013
Posts: 31

PostPosted: Mon Apr 15, 2013 6:58 pm    Post subject: rename network from enp0s25 to eth0 Reply with quote

Hi, on first instalation is ok, eth0 is named eth0, and wifi wlan0.
now:
Code:
ypnos@localhost ~ $ ifconfig -a
enp0s25: flags=4163<AKTIVOVÁNO,VŠESMĚR,BĚŽÍ,MULTICAST>  mtu 1500
        inet 10.0.0.10 síťová_maska 255.255.255.0  všesměr 10.0.0.255
        inet6 fe80::221:70ff:feef:670f  délka_prefixu 64  scopeid 0x20<linka>
        ether 00:21:70:ef:67:0f délka_odchozí_fronty 1000  (Ethernet)
        RX packetů 6261  bajtů 3790474 (3,6 MiB)
        RX chyb 0  zahozeno 11  přetečení 0  rámců 0
        TX packetů 5938  bajtů 1619832 (1,5 MiB)
        TX chyb 0  zahozeno 0  přetečení 0  přenos 0  kolizí 0
        device přerušení 22  paměť 0xf6ae0000–f6b00000 

firewire0: flags=4098<VŠESMĚR,MULTICAST>  mtu 1500
        unspec 36-4F-C0-00-25-E5-A4-90-00-00-00-00-00-00-00-00 délka_odchozí_fronty 20  (NEZNÁM)
        RX packetů 0  bajtů 0 (0,0 B)
        RX chyb 0  zahozeno 0  přetečení 0  rámců 0
        TX packetů 0  bajtů 0 (0,0 B)
        TX chyb 0  zahozeno 0  přetečení 0  přenos 0  kolizí 0

lo: flags=73<AKTIVOVÁNO,SMYČKA,BĚŽÍ>  mtu 65536
        inet 127.0.0.1 síťová_maska 255.0.0.0
        inet6 ::1  délka_prefixu 128  scopeid 0x10<stroj>
        loop délka_odchozí_fronty 0  (Místní smyčka)
        RX packetů 80  bajtů 4800 (4,6 KiB)
        RX chyb 0  zahozeno 0  přetečení 0  rámců 0
        TX packetů 80  bajtů 4800 (4,6 KiB)
        TX chyb 0  zahozeno 0  přetečení 0  přenos 0  kolizí 0

sit0: flags=128<NEARP>  mtu 1480
        sit délka_odchozí_fronty 0  (IPv6-in-IPv4)
        RX packetů 0  bajtů 0 (0,0 B)
        RX chyb 0  zahozeno 0  přetečení 0  rámců 0
        TX packetů 0  bajtů 0 (0,0 B)
        TX chyb 0  zahozeno 0  přetečení 0  přenos 0  kolizí 0

wlp12s0: flags=4099<AKTIVOVÁNO,VŠESMĚR,MULTICAST>  mtu 1500
        ether 00:22:fb:39:9c:58 délka_odchozí_fronty 1000  (Ethernet)
        RX packetů 0  bajtů 0 (0,0 B)
        RX chyb 0  zahozeno 0  přetečení 0  rámců 0
        TX packetů 0  bajtů 0 (0,0 B)
        TX chyb 0  zahozeno 0  přetečení 0  přenos 0  kolizí 0


Can you advice me, how to rename to eth0 and wlan0?

Thanks.
Back to top
View user's profile Send private message
dimko
Apprentice
Apprentice


Joined: 12 Feb 2006
Posts: 194

PostPosted: Mon Apr 15, 2013 7:53 pm    Post subject: Re: rename network from enp0s25 to eth0 Reply with quote

xHypnos wrote:

Can you advice me, how to rename to eth0 and wlan0?

Thanks.


its not that simple. Basically, gentoo has changed. It will no longer follow previous convention of wlan0 eth0 etc. Whatever you do will be a hack. So get used to it... Can't say i am happy about it myself, but i believe it was made that way with best intentions in mind.

I am user, just like you.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Mon Apr 15, 2013 8:03 pm    Post subject: Reply with quote

1) read your news. I believe instructions are present to restore the names.
2) you can't rename them but you can stop them from being changed. You can however change the names to something different, like net*. The instructions should also be in the news item.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon Apr 15, 2013 8:08 pm    Post subject: Reply with quote

Moved from Kernel & Hardware to Duplicate Threads in favor of predictable network interface names.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum