Bugzilla – Bug 14782
linux can't be cast because no network connection is enabled
Last modified: 2008-10-08 10:47:51 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.
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.
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.
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.
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.