Wie richten Sie Ubuntu für das Windows-Netzwerk ein?

17213
Axeman

Ich habe die verschiedenen Tutorials ausprobiert und bis jetzt keinen Erfolg.

  • Ich kann eine Verbindung zum Router und von dort zum Internet herstellen, sehe jedoch keine Netzwerkfreigaben.
  • Ich verbinde mich über Wlan0.
  • Ich würde es vorziehen, die dynamische IP-Adresse nach Möglichkeit beizubehalten.

Smbtree gibt mir als Antwort auf das Schwergewicht:

WORKGROUP \\COMPUTER1  cli_start_connection: failed to connect to COMPUTER1<20> (0.0.0.0). Error NT_STATUS_UNSUCCESSFUL \\MY-LAPTOP my-laptop server (Samba, Ubuntu) Server requested LANMAN password (share-level security) but 'client lanman auth' is disabled failed tcon_X with NT_STATUS_ACCESS_DENIED \\COMPUTER2  cli_start_connection: failed to connect to COMPUTER2<20> (0.0.0.0). Error NT_STATUS_UNSUCCESSFUL 

Die oben genannten Daten wurden zu meinem Schutz anonymisiert.

Ich kann sie auch anpingen, ich kann sie einfach nicht über sehen smb://.

5
können Sie über wlan0 an die IP des anderen Computers pingen? Ye Lin Aung vor 14 Jahren 1
Wenn Sie "smbtree" vom Terminal ausführen, zeigt es etwas? heavyd vor 14 Jahren 2
In den Repositorys gibt es ein Paket namens 'winbind', mit dem Sie nach Computernamen suchen können. (sudo apt-get install winbind) Ye Lin Aung vor 14 Jahren 1

2 Antworten auf die Frage

3
Ye Lin Aung

In Linux machine check /etc/samba/smb.conf.If you have in your shares option browseable = no this means that you can mount the share but you can't see it on your network ,it's like invisible share. You'll need to edit these..

Then try to run nmblookup \*

and do sudo gedit /etc/nsswitch.conf . Look for a line starts with hosts:. if the line doesnt contain the word "wins" change the line to: hosts: files wins dns

You may also need to grant share permissions on the Window machine. It works better when this is an intentionally shared folder and not a default share or a "Shared Documents" folder. In Vista and some XP you have to actually find the "Permissions" button on the Sharing tab and grant everyone permission. This is different than NTFS file permissions on the Security tab and can be a pain to figure out on the "Home" versions.

take a look at File and Printer Sharing in Windows.

Dank Ihrer Hilfe kann ich jetzt meinen Hauptdateiserver und den Drucker davon sehen! Axeman vor 14 Jahren 0
freut mich das zu hören :) Ye Lin Aung vor 14 Jahren 0
2
Marnix A. van Ammers

I think that for most people, they have a local network and a router that connects them to the internet. Then they have various machines on their local network. If you're connected like that, then your dynamic IP is usually the one provided by your ISP and it is assigned to the router's internet side. Your local machines would usually have addresses in the 192.168.X.Y or 10.X.Y.Z or 172.something ranges and those IP addresses can be static or dynamic. If you are using "wlan0" as your network interface, then you are probably connecting wirelessly to a wireless router which usually, by default, will give you a dynamic IP address.

If you can "ping" the windows machines in your local network from the Ubuntu machine, then you should be able to share files on those windows machines with your Ubunty machine by using Samba. You can put your windows machines in the same workgroup and configure Samba to use the same workgroup. The Samba configuration file is usually in /etc/samba/smb.conf . If you don't have Samba, you should install it:

 $ sudo apt-get update $ sudo apt-get install samba 

There are comments in the samba configuration file, but reading the docs may be necessary. Look in /usr/share/doc/samba for information and check the man pages for samba (man samba) and go from there. I hope that helps a little.