Gentoo installation

Step 1 – Setup network

Gentoo-2012 gentoo # ifconfig
eth0: flags=4099 mtu 1500
ether 00:11:95:fc:cd:93 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 17 base 0x4000

eth1: flags=4163 mtu 1500
inet6 fe80::21c:c0ff:fee5:5f06 prefixlen 64 scopeid 0x20
ether 00:1c:c0:e5:5f:06 txqueuelen 1000 (Ethernet)
RX packets 1156 bytes 72735 (71.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 12 bytes 1458 (1.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 40 base 0x2000

lo: flags=73 mtu 16436
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 0 (Local Loopback)
RX packets 848 bytes 74584 (72.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 848 bytes 74584 (72.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

ifconfig shows that network was not auto setup.
Confirmed by a ping:

Gentoo-2012 gentoo # ping -c 3 www.gentoo.org
ping: unknown host www.gentoo.org

Gentoo-2012 gentoo # net-setup eth1

Gentoo-2012 gentoo # ifconfig
eth0: flags=4099 mtu 1500
ether 00:11:95:fc:cd:93 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 17 base 0x4000

eth1: flags=4163 mtu 1500
inet 192.168.2.2 netmask 255.255.255.0 broadcast 192.168.2.255
inet6 fe80::21c:c0ff:fee5:5f06 prefixlen 64 scopeid 0x20
ether 00:1c:c0:e5:5f:06 txqueuelen 1000 (Ethernet)
RX packets 1234 bytes 78021 (76.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 30 bytes 3148 (3.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 40 base 0x2000

lo: flags=73 mtu 16436
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 0 (Local Loopback)
RX packets 856 bytes 75176 (73.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 856 bytes 75176 (73.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Gentoo-2012 gentoo # ping -c 3 www.gentoo.org
PING www-bytemark-v4v6.gentoo.org (89.16.167.134) 56(84) bytes of data.
64 bytes from www.gentoo.org (89.16.167.134): icmp_req=1 ttl=53 time=257 ms
64 bytes from www.gentoo.org (89.16.167.134): icmp_req=2 ttl=53 time=256 ms
64 bytes from www.gentoo.org (89.16.167.134): icmp_req=3 ttl=53 time=257 ms

— www-bytemark-v4v6.gentoo.org ping statistics —
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 256.315/257.110/257.850/0.858 ms

Yes! Now it’s been setup


You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.