我有两台电脑。第一个有窗口并连接到打印机。第二个具有 Lubuntu 14.04,它与 Windows 计算机连接在同一网络中。我已经安装了 EPSON L210 for Linux 的驱动程序。但我无法连接到打印机。当我运行这个命令时:
sudo smbclient -L //192.168.254.100/ -U user -W workgroup
请注意,工作组名称为 WORKGROUP,Windows 计算机的网络 IP 地址为 192.168.254.100。输出结果如下:
WARNING: The "syslog" option is deprecated
Enter user's password:
Domain=[DESKTOP-PKHL8SP] OS=[Windows 10 Home Single Language 15063] Server=[Windows 10 Home Single Language 6.3]
Sharename Type Comment
--------- ---- -------
ADMIN$ Disk Remote Admin
C$ Disk Default share
E$ Disk Default share
EPSON L210 Series (Copy 2) Printer EPSON L210 Series (Copy 2)
IPC$ IPC Remote IPC
print$ Disk Printer Drivers
Users Disk
Connection to 192.168.254.100 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
NetBIOS over TCP disabled -- no workgroup available
答案1
我建议您查看 CUPS 而不是使用 smbclient。