この記事は2年以上前に書いたものです。
そのため情報が古い可能性があります。ご了承ください。m(_ _)m
root@debian:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:50:43:01:44:67
inet addr:192.168.0.44 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:141 errors:0 dropped:0 overruns:0 frame:0
TX packets:87 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:532
RX bytes:13752 (13.7 KB) TX bytes:13353 (13.3 KB)
Interrupt:11
eth1 Link encap:Ethernet HWaddr 00:00:00:00:00:81
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:532
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:15
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:928 (928.0 B) TX bytes:928 (928.0 B)
eth1??
SheevaPlug DevKit Reference Design-Rev1.2.pdf
3.4.4 Ethernet
The 88F6281 has two built in two GbE controller that can supports up to four different modes; RGMII, MII, and
MMII and GMII. Each port is fully IEEE 802.3 compliant 10/100/1000 Mb MAC. The SheevaPlug board used
only one port RGMII MAC feature of 88F6281 processor and 88F1116R GbE PHY (Marvell Gigabit Ethernet
transceiver) to provide a complete Layer-4 to Layer-0 solution for GbE connection. For details information,
see Marvell Doc # MV-S104860-00 Rev.B
で言ってる、もう一つのGbE controller?
root@debian:~# dmesg |grep eth
Kernel command line: console=ttyS0,115200 mtdparts=nand_mtd:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=10.4.50.4:10.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none
o eth0, ifindex = 1, GbE port = 0
o eth1, ifindex = 2, GbE port = 1
eth0: link down
eth0: started
device=eth0, addr=10.4.50.4, mask=255.255.255.0, gw=10.4.50.5,
eth0: link up, full duplex, speed 1 Gbps
とりあえず外へ接続出来るように
root@debian:~# cat /etc/resolv.conf
nameserver 127.0.0.1
だけ自分家の環境に合わせて変更。
root@debian:~# ping www.google.com
PING www.l.google.com (66.249.89.104) 56(84) bytes of data.
64 bytes from nrt04s01-in-f104.1e100.net (66.249.89.104): icmp_seq=1 ttl=53 time=16.8 ms
--- www.l.google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 16.834/16.834/16.834/0.000 ms
apt-get upgradeしてみる
root@debian:~# apt-get update
Get:1 http://ports.ubuntu.com jaunty Release.gpg [189B]
Get:2 http://ports.ubuntu.com jaunty Release [74.6kB]
Get:3 http://ports.ubuntu.com jaunty/main Packages [1234kB]
Get:4 http://ports.ubuntu.com jaunty/restricted Packages [865B]
Get:5 http://ports.ubuntu.com jaunty/universe Packages [4442kB]
Get:6 http://ports.ubuntu.com jaunty/multiverse Packages [159kB]
Fetched 5910kB in 1min3s (92.6kB/s)
Reading package lists... Done
root@debian:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
libx11-6 libxcb1 ntpdate python python-minimal samba samba-common tasksel ubuntu-minimal
The following packages will be upgraded:
adduser apt apt-utils base-files base-passwd bash bsdutils busybox-initramfs console-setup
cpio cryptsetup debconf debconf-i18n debianutils dhcp3-client dhcp3-common dmsetup e2fslibs
e2fsprogs eject file gcc-4.3-base ifupdown initramfs-tools initscripts kbd klogd
language-pack-en language-pack-en-base libblkid1 libc6 libcomerr2 libcups2 libcurl3-gnutls
libdevmapper1.02.1 libgcc1 libgnutls26 libgpm2 libkrb53 libldap-2.4-2 libmagic1 libncurses5
libncursesw5 libnewt0.52 libpam-modules libpam-runtime libpam0g libreadline5 libsasl2-2
libsasl2-modules libselinux1 libsepol1 libsqlite3-0 libss2 libssl0.9.8 libstdc++6 libuuid1
libvolume-id1 libwbclient0 libx11-data locales login logrotate lsb-base lsb-release
module-init-tools mount nano ncurses-base ncurses-bin netbase openssh-client openssh-server
openssl passwd procps python2.5 python2.5-minimal readline-common sudo sysklogd sysv-rc
sysvinit-utils tasksel-data tzdata ucf udev util-linux uuid-runtime vim-common vim-tiny
whiptail xkb-data zlib1g
94 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
Need to get 31.9MB of archives.
After this operation, 979kB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://ports.ubuntu.com jaunty/main gcc-4.3-base 4.3.3-5ubuntu4 [108kB]
Get:2 http://ports.ubuntu.com jaunty/main libgcc1 1:4.3.3-5ubuntu4 [24.1kB]
Get:3 http://ports.ubuntu.com jaunty/main libstdc++6 4.3.3-5ubuntu4 [266kB]
Get:4 http://ports.ubuntu.com jaunty/main libc6 2.9-4ubuntu6 [4848kB]
Get:5 http://ports.ubuntu.com jaunty/main base-passwd 3.5.21 [40.2kB]
Get:6 http://ports.ubuntu.com jaunty/main libpam-modules 1.0.1-9ubuntu1 [303kB]
Get:7 http://ports.ubuntu.com jaunty/main base-files 5ubuntu4 [74.2kB]
Get:8 http://ports.ubuntu.com jaunty/main debianutils 2.30ubuntu3 [56.6kB]
Get:9 http://ports.ubuntu.com jaunty/main bash 3.2-5ubuntu1 [573kB]
続きを読む →