Internet on LiveCD

Dan McGhee beesnees at grm.net
Sun Jul 15 18:08:05 PDT 2007


Thank you for the suggestions, Alexander.

Alexander E. Patrakov wrote:
> Dan McGhee wrote:
>   
>> I'm going to use LiveCD as a host system for another LFS build.  Want to 
>> reformat the hard drives and go from scratch.  My problem is in 
>> connecting to the Internet.  I might add that this area is one of the 
>> weakest I have in building these LFS systems.  I have, from pure rote, 
>> performed commands and created files.  I know only that in my current 
>> system I can connect to the Internet.  Don't ask me why. <BG>
>>
>> What I want to do is to remaster LiveCD with my networking settings.
>>     
>
> <snip your files>
>
> This contains a lot of unused variables and wrong information. However, it 
> looks like you are using a static IP - so why not run the "net-setup" script 
> and save the ifconfig.eth0 and resolv.conf files it produces? Also, you need 
> to delete /etc/udev/rules.d/76-network.rules.
>   
I did these things and still could not reach the internet. The result of 
'ping $GATEWAY' was "Network unreachable," although I could successfully 
ping my own IP.
> If this doesn't help, please post the output of the following commands from 
> your known-working system:
>
> ip addr list
> ip route list
>   
Here are the results:

ip addr list

1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: gre0: <NOARP> mtu 1476 qdisc noop
link/gre 0.0.0.0 brd 0.0.0.0
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 216.139.123.222 peer 216.139.123.254/32 brd 216.139.123.255 scope 
global eth0
inet6 fe80::20e:a6ff:fe1b:82ef/64 scope link
valid_lft forever preferred_lft forever
4: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
link/ether 00:0e:a6:1b:8e:bc brd ff:ff:ff:ff:ff:ff
5: sit0: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0

ip route list
216.139.123.254 dev eth0 proto kernel scope link src 216.139.123.222
default via 216.139.123.254 dev eth0

Just for comparison, I ran the same commands on LiveCD. 'ip route list' 
returned nothing. Here are the results of 'ip addr list'

1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:0e:a6:1b:8e:bc brd ff:ff:ff:ff:ff:ff
inet 216.139.123.222/24 brd 216.139.123.255 scope global eth0
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:0e:a6:1b:82:ef brd ff:ff:ff:ff:ff:ff

Thanks again,

Dan




More information about the livecd mailing list