Internet on LiveCD

Dan McGhee beesnees at
Sat Jul 21 04:53:23 PDT 2007

Alexander E. Patrakov wrote:
> Dan McGhee wrote:
>> 3: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
>> link/ether 00:0e:a6:1b:82:ef brd ff:ff:ff:ff:ff:ff
>> inet peer brd scope 
>> global eth0
>> ip route list
>> dev eth0 proto kernel scope link src
>> default via dev eth0
>> Just for comparison, I ran the same commands on LiveCD. 'ip route list' 
>> returned nothing.
> You forgot to set the gateway, and have a probably incorrect setting of 
> PREFIX. The need for PEER is very uncommon. Try this:
> # /etc/sysconfig/network-devices/ifconfig.eth0/ipv4
> ONBOOT=yes
> SERVICE=ipv4-static
> IP=
> PREFIX=24  # see below
> I assume that you have the netmask If not, you need a 
> different prefix:
> => 24
> => 25
> => 26
> => 27
> # /etc/resolv.conf
> nameserver
> nameserver
I think I may have solved this. But I did nothing intentional to do it. 
As you suggested, I made my files look like the above. After I booted 
the LiveCd I ran the following:

# rm /etc/sysconfig/network-devices/ifconfig.eth[0,1}
# rm /etc/udev/rules.d/76-network-rules
# cp (path to $BLFSHOME/ifconfig.eth0 
# cp (path to $BLFSHOME/resolv.conf /etc
# /etc/rc.d/init.d/network restart

and everything worked fine! But I thought I had done this before. Maybe 
I hadn't, but I noticed from 'dmesg' that 'skge' was being loaded for 
eth0, ethernet card, and 'forcedeth' for eth1. My intention had been on 
this last try to use eth1 instead of eth0 for my internet connect. 
However, when the LiveCd booted this time it bound forcedeth to eth0. 
Don't know why. At least my thought processes were correct. I couldn't 
use the internet on LiveCD because I was setting up the wrong device.

In all of this I learned that I have forgotten when and where the 
modules are assigned to devices. Is that in udev now? What I want to do 
is make sure, when I remaster the LiveCD that I get the network 
assignments right.

Alexander, thank you for your help.


More information about the livecd mailing list