GbE-PCIe(2)

玄箱/Pro

ブラケットをはずし GbE-PCIe を刺し、 debian を起動してみた。
hackkit:~# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:16:01:A4:CA:A5
          inet addr:192.168.1.6  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:135 errors:0 dropped:0 overruns:0 frame:0
          TX packets:101 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:512
          RX bytes:9824 (9.5 KiB)  TX bytes:6174 (6.0 KiB)
          Interrupt:21

eth1      Link encap:Ethernet  HWaddr 00:50:43:00:2A:DB
          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:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:11 Memory:e0020000-0

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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

hackkit:~#
あっさり認識。
hackkit:~# pushd /etc/network/
/etc/network ~
hackkit:/etc/network# mv interfaces interfaces.orig
hackkit:/etc/network# cp interfaces.orig interfaces
hackkit:/etc/network# ls -l interfaces*
-rw-r--r--  1 root root 626 Apr  2 02:15 interfaces
-rw-r--r--  1 root root 626 Mar 11 12:29 interfaces.orig
hackkit:/etc/network# vi interfaces
	:
	:
hackkit:/etc/network# cat interfaces
	:
	:
iface eth1 inet static
        address 192.168.2.6
        network 192.168.2.0
        netmask 255.255.255.0
        broadcast  192.168.2.255
hackkit:/etc/network# ifup eth1
hackkit:/etc/network# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:16:01:A4:CA:A5
          inet addr:192.168.1.6  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:703 errors:0 dropped:0 overruns:0 frame:0
          TX packets:470 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:512
          RX bytes:48585 (47.4 KiB)  TX bytes:33176 (32.3 KiB)
          Interrupt:21

eth1      Link encap:Ethernet  HWaddr 00:50:43:00:2A:DB
          inet addr:192.168.2.6  Bcast:192.168.2.255  Mask:255.255.255.0
          UP 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:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:11 Memory:e0020000-0

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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

hackkit:/etc/network#
IP アドレスも付いた。
簡単にルータになりそう。

でも、、、
ルータはいらんしなぁ(滅)




KURO-BOX/PRO
玄人志向
楽天市場
TSUKUMO ネットショップ
Yahoo!ショッピング
Sofmap
クレバリー
TwoTop New!


GbE-PCIe
ハックの記録
LinkStation/玄箱 をハックしよう

玄箱/Pro 第2ロットはまだみたい

Copyright (C) 2003-2007 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市