通过 ieee1394 的网络无法访问(PC 和笔记本电脑)

通过 ieee1394 的网络无法访问(PC 和笔记本电脑)

我决定通过火线将我的电脑连接到笔记本电脑。所有接口均已启动,但无法发送/接收数据包。

我使用的是 Linux Slackware64-current(内核 2.6.37.4)笔记本电脑(Dell Vostro 3700)有这个适配器:

root@trium:~# lspci | grep 1394
14:00.3 FireWire (IEEE 1394): Ricoh Co Ltd FireWire Host Controller (rev 01)

新内核中删除了旧的 ieee1394 堆栈。这就是我使用 new 的原因:

root@trium:~# modprobe firewire-net
root@trium:~# lsmod | grep fire
firewire_net           12930  0 
firewire_ohci          27301  0 
firewire_core          51107  2 firewire_net,firewire_ohci

dmesg 显示:

firewire_net: firewire0: IPv4 over FireWire on device 47203fc0434fc000
firewire_net: max_rec 0 out of range
firewire_core: refreshed device fw0

第一弦很好,但第二弦对我来说很奇怪。这是什么意思?也许这是问题的根源?好的。让我们配置接口:

root@trium:~# ifconfig firewire0 192.168.1.2 netmask 255.255.255.0 up
root@trium:~# ifconfig
firewire0 Link encap:UNSPEC  HWaddr 47-20-3F-C0-43-4F-C0-00-00-00-00-00-00-00-00-00  
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING 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:20 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:24 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2445 (2.3 KiB)  TX bytes:2445 (2.3 KiB)

在我的电脑上进行了相同的配置步骤。操作系统是一样的。火线设备 -

05:06.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller (rev 46)

dmesg 显示:

firewire_net: firewire0: IPv4 over FireWire on device 4d5a900003000000
firewire_net: max_rec 0 out of range
firewire_core: refreshed device fw0

接口配置-

root@bium:~# ifconfig firewire0 192.168.1.3 netmask 255.255.255.0
root@bium:~# ifconfig
firewire0 Link encap:UNSPEC  HWaddr 4D-5A-90-00-03-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING 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:20 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:107 errors:0 dropped:0 overruns:0 frame:0
          TX packets:107 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:70120 (68.4 KiB)  TX bytes:70120 (68.4 KiB)

现在让我们从笔记本电脑 ping PC -

root@trium:~# ping -c 3 192.168.1.3
PING 192.168.1.3 (192.168.1.3) 56(84) bytes of data.
From 192.168.1.2 icmp_seq=1 Destination Host Unreachable
From 192.168.1.2 icmp_seq=2 Destination Host Unreachable
From 192.168.1.2 icmp_seq=3 Destination Host Unreachable

--- 192.168.1.3 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 1999ms
pipe 3

是的。电缆已连接。笔记本电脑有 4pin 端口,PC 有 6pin 端口。 AFAIK 6pin 使用两个引脚供电。我有相应的电缆,所以我不认为问题出在这里。

就这样。谢谢

相关内容