从 Ubuntu 到 Windows Vista 共享外部硬盘

从 Ubuntu 到 Windows Vista 共享外部硬盘

我的第一个问题。我很难让共享正常工作。请告知日志和打印是否可行以及您可能还需要什么。

我有一台几乎已损坏的 Vista 笔记本电脑,在插入/拔出 USB 时会出现蓝屏。这台笔记本电脑的使用寿命即将结束,所以我不想费心去修理它。

我想将硬盘插入我的 ubuntu 上网本,它基本上充当我的远程存储。这样,如果硬盘被误拔出,我就可以避免 Vista 上可怕的 BSoD。

我的网络由接收互联网信号的汤姆森调制解调器组成。它连接到我的设备所连接的 DIR-600 DLink 无线路由器。

我已将 USB 驱动器连接到我的 Ubuntu 上网本,执行了具有 R/W 权限的 shares-admin 共享。然后我尝试从 Windows 计算机映射该驱动器,有趣的事情开始了:

C:\Windows\system32>ping 192.168.0.12

Pinging **192.168.0.12** with 32 bytes of data:
Reply from **192.168.0.101**: Destination host unreachable.
Reply from 192.168.0.101: Destination host unreachable.
Reply from 192.168.0.101: Destination host unreachable.
Reply from 192.168.0.101: Destination host unreachable.

而 192.168.0.101 是我从其 ping 的 Vista 机器。我开始想知道发生了什么,ARP /ICMP 问题?为什么我的机器甚至在路由列表中? IPconfig /all从我的 Windows 机器:

Windows IP Configuration

   The host name. . . . . . . . . . . Gabriela-PC
   Primary DNS Suffix. . :
   Type of the node. . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . Do not
   WINS Proxy Enabled. . . . Do not

Ethernet adapter Local Area Connection 2:

   State media. . . . . . . . . . .: Media disconnected
   Connection-specific DNS Suffix:
   Description. . . . . . . . . . . . . . . : Bluetooth Personal Area Network
   Physical address. . . . . . . . . . : 00-03-7A-81-78-C0
   DHCP enabled. . . . . . . . . . : Yes
   Autoconfiguration enabled. . . . : Yes

Wireless LAN Wireless Network Connection:

   Connection-specific DNS Suffix:
   Description. . . . . . . . . . . . . . . Intel (R) PRO / Wireless 3945ABG Network Con
nection
   Physical address. . . . . . . . . . : 00-1F-3C-76-27-55
   DHCP enabled. . . . . . . . . . : Yes
   Autoconfiguration enabled. . . . : Yes
   Link-local IPv6 Address. : Fe80 :: 1d96: 6b7d: 1760:908 e% 10 (Preferred)

   IPv4 address. . . . . . . . . . . . . : 192.168.0.101 (Preferred)
   The subnet mask. . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . : February 20, 2013 5:50:33
   The lease expires. . . . . . . . . : February 27, 2013 5:50:36
   Default Gateway. . . . . . . . . . : 192.168.0.1
   DHCP server. . . . . . . . . . . : 192.168.0.1
   DHCPv6 IAID ID. . . . : 251666236
   DHCPv6 Client DUID: 00-01-00-01-10-0A-91-79-00-1E-68-70-8F-10

   DNS servers. . . . . . . . . . . : 62.179.1.63
                                       62.179.1.62
   NetBIOS over Tcpip. . . . . . . : On

Ethernet adapter Local Area Connection:

   State media. . . . . . . . . . .: Media disconnected
   Connection-specific DNS Suffix:
   Description. . . . . . . . . . . . . . . Marvell Yukon PCI-E 88E8040T Fast Ethernet
t Controller
   Physical address. . . . . . . . . . : 00-1E-68-70-8F-10
   DHCP enabled. . . . . . . . . . : Yes
   Autoconfiguration enabled. . . . : Yes

Tunnel adapter Local Area Connection *:

   State media. . . . . . . . . . .: Media disconnected
   Connection-specific DNS Suffix:
   Description. . . . . . . . . . . . . . . : Isatap. {EAC8232A-2F30-4FB6-8F66-FAA69C4AE
976}
   Physical address. . . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP enabled. . . . . . . . . . Do not
   Autoconfiguration enabled. . . . : Yes

Tunnel adapter Local Area Connection * 3:

   Connection-specific DNS Suffix:
   Description. . . . . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical address. . . . . . . . . . 02-00-54-55-4E-01
   DHCP enabled. . . . . . . . . . Do not
   Autoconfiguration enabled. . . . : Yes
   IPv6 address. . . . . . . . . . . . : 2001:0:9 d38: 6ab8: 242C: 2f27: 3f57: ff9a (Pref
Erowa)
   Link-local IPv6 Address. : Fe80 :: 242C: 2f27: 3f57: ff9a% 9 (Preferred)

   Default Gateway. . . . . . . . . . :::
   NetBIOS over Tcpip. . . . . . . : Off

Tunnel adapter Local Area Connection * 7:
Tunnel adapter Local Area Connection * 7:

   State media. . . . . . . . . . .: Media disconnected
   Connection-specific DNS Suffix:
   Description. . . . . . . . . . . . . . . : Isatap. {274797EC-4B95-E7AC-947F-FCA2DE2D2
B07}
   Physical address. . . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP enabled. . . . . . . . . . Do not
   Autoconfiguration enabled. . . . : Yes

Tunnel adapter Local Area Connection * 9:

   State media. . . . . . . . . . .: Media disconnected
   Connection-specific DNS Suffix:
   Description. . . . . . . . . . . . . . . : Isatap. {24D921F5-CC7F-4123-8C91-9900221A7
3E1}
   Physical address. . . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP enabled. . . . . . . . . . Do not
   Autoconfiguration enabled. . . . : Yes

Route print从我的 Windows 机器上:

================================================== =========================
˘ in interface List
 11 ... 00 03 7a 81 78 c0 ...... Bluetooth Personal Area Network
 10 ... 00 1f 3c 76 27 55 ...... Intel (R) PRO / Wireless 3945ABG Network Connection
  8 ... 00 1e 68 70 8f 10 ...... 88E8040T Marvell Yukon PCI-E Fast Ethernet Controller
  1 ........................... Software Loopback Interface 1
 15 ... 00 00 00 00 00 00 00 e0 isatap. {EAC8232A-2F30-4FB6-8F66-FAA69C4AE976}
  9 ... 02 00 54 55 4e 01 ...... Teredo Tunneling Pseudo-Interface
 16 ... 00 00 00 00 00 00 00 e0 isatap. {274797EC-4B95-E7AC-947F-FCA2DE2D2B07}
 17 ... 00 00 00 00 00 00 00 e0 isatap. {24D921F5-CC7F-4123-8C91-9900221A73E1}
================================================== =========================

IPv4 Route Table
================================================== =========================
Active Routes:
Network Destination Netmask Gateway Interface Metric
          0.0.0.0 0.0.0.0 192.168.0.1 192.168.0.101 30
        127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
        127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
  127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
      192.168.0.0 255.255.255.0 On-link 192.168.0.101 286
    192.168.0.101 255.255.255.255 On-link 192.168.0.101 286
    192.168.0.255 255.255.255.255 On-link 192.168.0.101 286
        224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
        224.0.0.0 240.0.0.0 On-link 192.168.0.101 286
  255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
  255.255.255.255 255.255.255.255 On-link 192.168.0.101 286
================================================== =========================
Routes take? Email:
  Lack

IPv6 route table
================================================== =========================
Active Routes:
 Them? If Metric Network Destination Gateway
  9 18 :: / 0 On-link
  1 306 :: 1/128 On-link
  9 18 2001 :: / 32 On-link
  9 266 2001:0:9 d38: 6ab8: 242C: 2f27: 3f57: ff9a/128
                                    On-link
 10 286 fe80 :: / 64 On-link
  9 266 fe80 :: / 64 On-link
 10 286 fe80 :: 1d96: 6b7d: 1760:908 e/128
                                    On-link
  9 266 fe80 :: 242C: 2f27: 3f57: ff9a/128
                                    On-link
  1 306 FF00 :: / 8 On-link
  9 266 FF00 :: / 8 On-link
 10 286 FF00 :: / 8 On-link
================================================== =========================
Routes take? Email:
  Lack

很抱歉,由于时间不够,我今天晚上会继续这个帖子,提供一些来自我的 Ubuntu 的摘录。请告知此时您是否有可以建议进一步推进此主题的任何内容。

答案1

状态消息“目标主机不可达。”很可能意味着您的 Windows 机器甚至无法解析要发送的 MAC 地址(即您提到的 ARP 层问题)。

我假设您确定 192.168.0.12 确实是 Linux 机器的 IP。您是否尝试过从另一个方向 ping?

相关内容