public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] VirtualBox guest eth0/enp0s3 problem
@ 2013-04-04 13:27 João Matos
  2013-04-04 13:40 ` Felix Kuperjans
  2013-04-04 13:45 ` Alan McKinnon
  0 siblings, 2 replies; 5+ messages in thread
From: João Matos @ 2013-04-04 13:27 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 595 bytes --]

Hi list.

I decided to install a virtual server for testing some stuff, but I
couldn't configure eth0 as usual. The system complain it doesn't exist.
After compiling the kernel hundreds  of times, I supposed the problem
wasn't my kernel configuration then installed dhcpcd.

For my surprise, I got an IP address, but there weren't eth0, just enp0s3
instead. It wouldn't be a problem (even with dhcp), but I can't start any
service. They (sshd) complain that there is no eth0.

I'm using stable packages (x86).

Any suggestions? Thank you.

-- 
João de Matos
Linux User #461527

[-- Attachment #2: Type: text/html, Size: 774 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] VirtualBox guest eth0/enp0s3 problem
  2013-04-04 13:27 [gentoo-user] VirtualBox guest eth0/enp0s3 problem João Matos
@ 2013-04-04 13:40 ` Felix Kuperjans
  2013-04-04 13:57   ` João Matos
  2013-04-04 13:45 ` Alan McKinnon
  1 sibling, 1 reply; 5+ messages in thread
From: Felix Kuperjans @ 2013-04-04 13:40 UTC (permalink / raw
  To: gentoo-user

Hi João,

João Matos:
> Hi list.
>
> I decided to install a virtual server for testing some stuff, but I
> couldn't configure eth0 as usual. The system complain it doesn't
> exist. After compiling the kernel hundreds  of times, I supposed the
> problem wasn't my kernel configuration then installed dhcpcd.
Due to the new udev version, the devices will be renamed by default to
names like enp0s3. This is not done by the kernel and no driver issue,
just a renaming at boot time done by udev.
>
> For my surprise, I got an IP address, but there weren't eth0, just
> enp0s3 instead. It wouldn't be a problem (even with dhcp), but I can't
> start any service. They (sshd) complain that there is no eth0.
You might have some old references to eth0 around, e.g.:
- /etc/init.d/net.eth0 (move this file to /etc/init.d/net.enp0s3)
- entries in /etc/conf.d/net (same here, rename them all to enp0s3)
- net.eth0 is maybe installed in the default runlevel. Remove it and add
net.enp0s3
- in case SSH still refuses to start, try running "/lib/rc/bin/rc-depend
-u" as root and/or setting rc_depend_strict="NO" in /etc/rc.conf
>
> I'm using stable packages (x86).
>
> Any suggestions? Thank you.
>
> -- 
> João de Matos
> Linux User #461527
Regards,
Felix


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] VirtualBox guest eth0/enp0s3 problem
  2013-04-04 13:27 [gentoo-user] VirtualBox guest eth0/enp0s3 problem João Matos
  2013-04-04 13:40 ` Felix Kuperjans
@ 2013-04-04 13:45 ` Alan McKinnon
  1 sibling, 0 replies; 5+ messages in thread
From: Alan McKinnon @ 2013-04-04 13:45 UTC (permalink / raw
  To: gentoo-user

On 04/04/2013 15:27, João Matos wrote:
> Hi list.
> 
> I decided to install a virtual server for testing some stuff, but I
> couldn't configure eth0 as usual. The system complain it doesn't exist.
> After compiling the kernel hundreds  of times, I supposed the problem
> wasn't my kernel configuration then installed dhcpcd.
> 
> For my surprise, I got an IP address, but there weren't eth0, just
> enp0s3 instead. It wouldn't be a problem (even with dhcp), but I can't
> start any service. They (sshd) complain that there is no eth0.
> 
> I'm using stable packages (x86).
> 
> Any suggestions? Thank you.
> 
> -- 
> João de Matos
> Linux User #461527



eselect news read



-- 
Alan McKinnon
alan.mckinnon@gmail.com



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] VirtualBox guest eth0/enp0s3 problem
  2013-04-04 13:40 ` Felix Kuperjans
@ 2013-04-04 13:57   ` João Matos
  2013-04-05 14:07     ` Mick
  0 siblings, 1 reply; 5+ messages in thread
From: João Matos @ 2013-04-04 13:57 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1738 bytes --]

2013/4/4 Felix Kuperjans <felix@desaster-games.com>

> Hi João,
>
> João Matos:
> > Hi list.
> >
> > I decided to install a virtual server for testing some stuff, but I
> > couldn't configure eth0 as usual. The system complain it doesn't
> > exist. After compiling the kernel hundreds  of times, I supposed the
> > problem wasn't my kernel configuration then installed dhcpcd.
> Due to the new udev version, the devices will be renamed by default to
> names like enp0s3. This is not done by the kernel and no driver issue,
> just a renaming at boot time done by udev.
> >
> > For my surprise, I got an IP address, but there weren't eth0, just
> > enp0s3 instead. It wouldn't be a problem (even with dhcp), but I can't
> > start any service. They (sshd) complain that there is no eth0.
> You might have some old references to eth0 around, e.g.:
> - /etc/init.d/net.eth0 (move this file to /etc/init.d/net.enp0s3)
> - entries in /etc/conf.d/net (same here, rename them all to enp0s3)
>

Everything is working ok now. :)

Next time I'll keep in mind looking at "eselect new". I've installed gentoo
3 weeks ago, I didn't know it would change since then.

Thank you both.


> - net.eth0 is maybe installed in the default runlevel. Remove it and add
> net.enp0s3
> - in case SSH still refuses to start, try running "/lib/rc/bin/rc-depend
> -u" as root and/or setting rc_depend_strict="NO" in /etc/rc.conf
> >
> > I'm using stable packages (x86).
> >
> > Any suggestions? Thank you.
> >
> > --
> > João de Matos
> > Linux User #461527
> Regards,
> Felix
>
>


-- 
João de Matos
Linux User #461527
Graduando em Engenharia de Computação 2005.1
UEFS - Universidade Estadual de Feira de Santana

[-- Attachment #2: Type: text/html, Size: 2510 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] VirtualBox guest eth0/enp0s3 problem
  2013-04-04 13:57   ` João Matos
@ 2013-04-05 14:07     ` Mick
  0 siblings, 0 replies; 5+ messages in thread
From: Mick @ 2013-04-05 14:07 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 279 bytes --]

On Thursday 04 Apr 2013 14:57:38 João Matos wrote:
> Everything is working ok now. :)
> 
> Next time I'll keep in mind looking at "eselect new".

Best you try:

  eselect news read new

or 

  eselect news list 

if you want to list them all.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-04-05 14:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-04 13:27 [gentoo-user] VirtualBox guest eth0/enp0s3 problem João Matos
2013-04-04 13:40 ` Felix Kuperjans
2013-04-04 13:57   ` João Matos
2013-04-05 14:07     ` Mick
2013-04-04 13:45 ` Alan McKinnon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox