How to see my Ubuntu 9.10 computers from the other computers in my Windows network?
First, I should open to edit my smb.conf file:
gksudo gedit /etc/samba/smb.conf
Next, in the Global Settings section I should enter my workgrop name, for example 'HARCOM', then my netbios (computer) name, for example 'harry-desktop':
#============= Global Settings =============
[global]
## Browsing/Identification ###
# Change this to the workgroup/NT-domain name your Samba server will be part of
workgroup = HARCOM
netbios name = harry-desktop
Then I should save the file by clicking on "File" > "Save" and Close gedit. Next I should enter samba password and restart samba with the following commands:
sudo smbpasswd -a sambauser
New SMB password:
Retype new SMB password:
sudo /etc/init.d/samba restart
* Stopping Samba daemons ... [ OK ]
* Starting Samba daemons ... [ OK ]
where 'sambauser' is a username used to access the Ubuntu computer from another (Ubuntu or Windows) computer.
Once I'm finished, I should be able to browse and connect to Windows shares by choosing "Files and folders" from the Main menu, opening any folder or media and selecting from the File menu "Connect to Server..."
On the Connect to Server windiow I should select Windows share service type and input the server (i.e. computer) name (e.g. harry-desktop, p4, d915), or input in the Location bar, e.g.: smb://harcom/ (Windows shares on harcom), smb://d915/ (Windows shares on d915), smb://harry-desktop/ (Windows shares on harry-desktop), smb://p4/ (Windows shares on p4) etc.
After that, from Ubuntu File Browser -> Go -> Network I could see the Windows network computers and from the Windows Explorer -> My Network places -> Entire Network -> Microsoft Windows Network I could see Windows network computers including Ubuntu computer(s). Unfortunately, this doesn't works flawlessly, especially on Ubuntu computers and/or wireless network computers (Ubuntu and Windows).
A more reliable way is to enter the IP in such a way:
For Ubuntu PCs: in File Browser Location field:
smb://192.168.1.100/
smb://192.168.1.103/
etc.
For Windows PCs: in Windows Explorer Address field:
\\192.168.1.100\
\\192.168.1.103\
etc.
If not installed yet, I should install the packages:
winbind, samba, smbfs and smbclient
If the samba package is installed but the Ubuntu computer is not seen from the Windows computers in any way, I should reinstall (for example, from Synaptic Package Manager) these packages:
samba
samba-common
samba-common-bin
libwbclient0
python-smbc
winbind
smbfs
smbclient
nautilus-share
libsmbclient
After that, I should reenter samba password and restart samba.
I tried many ways to make my Windows computers see my Ubuntu computers and vice versa, but the method described above only worked. Unfortunately, I had to reinstall these packages many times until I succeed to find this method.
Based on: Howto: Fix Windows share browsing issues
See also: Access Ubuntu computer from windows computer
First, I should open to edit my smb.conf file:
gksudo gedit /etc/samba/smb.conf
Next, in the Global Settings section I should enter my workgrop name, for example 'HARCOM', then my netbios (computer) name, for example 'harry-desktop':
#============= Global Settings =============
[global]
## Browsing/Identification ###
# Change this to the workgroup/NT-domain name your Samba server will be part of
workgroup = HARCOM
netbios name = harry-desktop
Then I should save the file by clicking on "File" > "Save" and Close gedit. Next I should enter samba password and restart samba with the following commands:
sudo smbpasswd -a sambauser
New SMB password:
Retype new SMB password:
sudo /etc/init.d/samba restart
* Stopping Samba daemons ... [ OK ]
* Starting Samba daemons ... [ OK ]
where 'sambauser' is a username used to access the Ubuntu computer from another (Ubuntu or Windows) computer.
Once I'm finished, I should be able to browse and connect to Windows shares by choosing "Files and folders" from the Main menu, opening any folder or media and selecting from the File menu "Connect to Server..."
On the Connect to Server windiow I should select Windows share service type and input the server (i.e. computer) name (e.g. harry-desktop, p4, d915), or input in the Location bar, e.g.: smb://harcom/ (Windows shares on harcom), smb://d915/ (Windows shares on d915), smb://harry-desktop/ (Windows shares on harry-desktop), smb://p4/ (Windows shares on p4) etc.
After that, from Ubuntu File Browser -> Go -> Network I could see the Windows network computers and from the Windows Explorer -> My Network places -> Entire Network -> Microsoft Windows Network I could see Windows network computers including Ubuntu computer(s). Unfortunately, this doesn't works flawlessly, especially on Ubuntu computers and/or wireless network computers (Ubuntu and Windows).
A more reliable way is to enter the IP in such a way:
For Ubuntu PCs: in File Browser Location field:
smb://192.168.1.100/
smb://192.168.1.103/
etc.
For Windows PCs: in Windows Explorer Address field:
\\192.168.1.100\
\\192.168.1.103\
etc.
If not installed yet, I should install the packages:
winbind, samba, smbfs and smbclient
If the samba package is installed but the Ubuntu computer is not seen from the Windows computers in any way, I should reinstall (for example, from Synaptic Package Manager) these packages:
samba
samba-common
samba-common-bin
libwbclient0
python-smbc
winbind
smbfs
smbclient
nautilus-share
libsmbclient
After that, I should reenter samba password and restart samba.
I tried many ways to make my Windows computers see my Ubuntu computers and vice versa, but the method described above only worked. Unfortunately, I had to reinstall these packages many times until I succeed to find this method.
Based on: Howto: Fix Windows share browsing issues
See also: Access Ubuntu computer from windows computer

Leave a comment