Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Duplicate Threads
  • Search

rename network from enp0s25 to eth0

Threads in this read-only forum cover topics discussed elsewhere in other forums.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
xHypnos
n00b
n00b
Posts: 31
Joined: Tue Mar 19, 2013 2:28 pm

rename network from enp0s25 to eth0

  • Quote

Post by xHypnos » Mon Apr 15, 2013 6:58 pm

Hi, on first instalation is ok, eth0 is named eth0, and wifi wlan0.
now:

Code: Select all

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.
Top
dimko
Apprentice
Apprentice
User avatar
Posts: 207
Joined: Sun Feb 12, 2006 2:25 pm

Re: rename network from enp0s25 to eth0

  • Quote

Post by dimko » Mon Apr 15, 2013 7:53 pm

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.
Top
The Doctor
Moderator
Moderator
User avatar
Posts: 2678
Joined: Tue Jul 27, 2010 10:56 pm

  • Quote

Post by The Doctor » Mon Apr 15, 2013 8:03 pm

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.
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10898
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Mon Apr 15, 2013 8:08 pm

Moved from Kernel & Hardware to Duplicate Threads in favor of [topic=955646]predictable network interface names[/topic].

- John
I can confirm that I have received between 0 and 499 National Security Letters.
Top
Post Reply

4 posts • Page 1 of 1

Return to “Duplicate Threads”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic