Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383429 - LiveCD created via dev-util/catalyst-2.0.6.918 do not run dhcpcd automatically in VirtualBox
Summary: LiveCD created via dev-util/catalyst-2.0.6.918 do not run dhcpcd automaticall...
Status: RESOLVED DUPLICATE of bug 198083
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: AMD64 Linux
: Normal minor (vote)
Assignee: Gentoo Catalyst Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-17 22:40 UTC by Oleg Bulatov
Modified: 2011-09-18 14:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for automatic network start in /etc/init.d/autoconfig (autoconfig-automatic-net-start.patch,444 bytes, patch)
2011-09-18 11:22 UTC, Oleg Bulatov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Bulatov 2011-09-17 22:40:00 UTC
After booting from CD in VirtualBox 4.1.2 it prints:
 * Network device eth0 detected, DHCP broadcasting for IP ...
but no dhcpcd really started.

It appear in install-amd64-minimal-20110915.iso too.

Manually network starts without any problems:
# ifconfig eth0 up && dhcpcd eth0 -b
or via
# net-setup eth0

Reproducible: Always

Steps to Reproduce:
1. Create LiveCD.
2. Boot from it in VirtualBox.
3. Run ifconfig or ping ya.ru.
Actual Results:  
Only loopback interface provided in ifconfig.

Expected Results:  
Automatically configured eth0 interface.
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-09-18 00:37:20 UTC
What network driver? This is likely related to the driver detection / loading than to the network script.
Comment 2 Oleg Bulatov 2011-09-18 00:51:23 UTC
e1000, in compiled into the kernel.
Comment 3 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-09-18 01:01:32 UTC
(In reply to comment #2)
> e1000, in compiled into the kernel.

I'm sorry, I meant what network driver is detected by the install CD on the VirtualBox guest.
Comment 4 Oleg Bulatov 2011-09-18 01:19:59 UTC
(In reply to comment #3)
> I'm sorry, I meant what network driver is detected by the install CD on the
> VirtualBox guest.

In VirtualBox selected adapter: Intel PRO/1000 MT Desktop (82540EM)

In guest lspci -k says:
00:03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
        Subsystem: Intel Corporation PRO/1000 MT Desktop Adapter
        Kernel driver in use: e1000

/etc/init.d/autoconfig doesn't show any driver name, only "eth0".
Comment 5 Oleg Bulatov 2011-09-18 11:22:16 UTC
Created attachment 286881 [details, diff]
Patch for automatic network start in /etc/init.d/autoconfig

Here is my attempt to fix this. May be ugly and misplaced, but works for me :)
Comment 6 Oleg Bulatov 2011-09-18 14:06:46 UTC
Sorry, this is duplicate of old bug, but patch is still not in production :(

*** This bug has been marked as a duplicate of bug 198083 ***