If you have 2 or more networked PCs and one has only two Windows network to share files, here is the solution to access it from Ubuntu Edgy and using the Windows host name. Windows uses a workstation (Workstation) that identifies a machine by name and not by its IP address. Ubuntu does not include is the default system. We'll have to install a package: winbind.
To start, edit / etc / nsswitch.conf:
Code:
gksudo gedit /etc/nsswitch.conf
Then replace the line: hosts: files dns by hosts: files dns wins. This will allow the system to resolve host names based on the Windows system and now we install the package:
Code:
sudo apt-get install winbind
From there you can normally connect: Shortcuts> Network Servers> Windows Network and you should be able to access your various machines in the tree. To avoid the search machine, you can simply type in the address bar of the browser (I guess it's called the same as Windows ):
or
For example: smb://xoraxpc or smb://192.168.1.2.
If all that fails, it means you're missing the package Windows Networking:
Code:
sudo apt-get install smbclient
If you do not always happen, try Pinggera my machine: Using ip address eg: ping .1 .2 192 168. Then using its host name (hostap), eg : ping xoraxpc. If you do not always happen is that your network is poorly configured (wrong IP, dhcp down, ...) or is that your router firewall at the fair (this happened to me, I have reboot the fonera ...).
If you want to share files from your Ubuntu machine, install Samba:
Code:
sudo apt-get install samba
Then it just happens: System> Shared Folders Or even better now in the tree: Right click on a folder> Shared Folder. Enter the name that will be posted to share folder and select Share with: Windows Sharing (SMB). And here, apart from the stage of host names is optional (you can still access the machine by IP address), the rest happens automatically.
Bookmarks