Bug 14782 - linux can't be cast because no network connection is enabled
: linux can't be cast because no network connection is enabled
Status: CLOSED INVALID
Product: Install
Classification: Unclassified
Component: Installer
: 0.10.0
: x86 Linux
: P3 normal
Assigned To: Cauldron Team
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-10-03 09:25 UTC by Julien "_kaze_" ROZO
Modified: 2008-10-08 10:47 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julien "_kaze_" ROZO 2008-10-03 09:25:53 UTC
Trying the new test4 iso, at the 6th step I can compile the kernel by doing :

smgl-chroot
cast -r linux

I choose new kernel tree, latest 2.6 and latest maintenance patch.
Download pass can't be done because no network connection has been configured and enabled, only lo is up.

So outside chroot, I try to enable internet connection with "telinit run network restart", but it can't find /etc/network/interfaces config file.

Then I create this file with this content :

auto lo eth0
iface lo inet loopback
iface eth0 inet dhcp


"telinit run network restart" now returns :
network: Starting networking...
err, eth0: mkdir("/var/lib/dhcpcd",0): Read-only file system

Failed to bring up eth0.
network: success


So I try to do the same but inside the chroot, and it gave me this error :

network: Starting networking...
err, eth0: ioctl SIOCGIFHWADDR: No such device
Failed to bring up eth0.
network: success


I have to do the manual install in order to continue, but neither madwifi nor ndiswrapper can be casted after linux manual installation.
Comment 1 saptech 2008-10-06 01:56:06 UTC
I'm having the same issue after doing a fresh install of test4. Can't get network running. I also created the /etc/network/interfaces and get same error messages.
Comment 2 Julien "_kaze_" ROZO 2008-10-06 12:11:56 UTC
After some discussion on IRC channel, it appears "cast -r linux" works if selected kernel version is 2.6.22

The message about "cast -r linux" is actually misleading (at least for me ;) ): one can't cast any version of linux but only 2.6.22.


This message has to be more precise (ie. by telling user to select 2.6.22 version only), or left on the side of the road in favor of manual kernel installation.


Moreover, it'd be a good thing to have a message telling network can be configure in the installer and/or in chroot environnments, but can't be enabled.
Comment 3 Justin Boffemmyer 2008-10-06 16:50:49 UTC
The network in the ISO can be configured and operated (I have verified this myself). There was likely something wrong with the way you configured your networking (for Julien, this is per the discussion we had in IRC). Please check your network configuration again. Also, the networking can only be enabled from inside the chroot, since the ISO is a read-only filesystem (hence the error message that it was read-only...), so make sure you are only trying to enable the networking from inside the chroot. Marking as INVALID and closing.
Comment 4 Julien "_kaze_" ROZO 2008-10-08 10:47:51 UTC
Really my bad : I've configured my network card as eth0 as usual, but its name is eth5 inside the installer (name found with "cat /proc/net/dev", file I was not aware of before our discussion).

Inside the chroot, I've been able to start networking and summon linux 2.6.25.3 successfully.


However, casting this version leads me to :
"Ah (KMODE)  isn't set properly
Fix this by editing /usr/src/linux-/.spell-config.p"

I've choosed "new kernel tree" in kernel configuration. As casting the 2.6.22 version seems to be recommended, I'm leaving this report as closed.


Thanks for your help and the time you have taken to look at this.