Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> Ubuntu on LAN network and Internet, Installs can't see each other
Clayman1000x
post May 23 2011, 11:23 PM
Post #1


Grub-er
**

Group: Members
Posts: 25
Joined: 6-May 11
Member No.: 15,293



I can't get my 2 Ubuntu installs to see each other, computer 1 and computer 2 in my signature. They are both running 10.10 and I can see the windows XP install on 2 from 1 but can't see Ubuntu even when it is running. I was running XP on comp 2 and Ubuntu on comp 1, I can transfer files from 1 to 2 this way but cannot when Ubuntu is running on comp 2, I just can't see it, I believe Samba is installed on both. Both pc's have internet so I know they are seeing the router, comp 2 is using a Dlink 802.11g wireless connection while 1 is hardwired to the router. I go to "Places" click "Network" and all I see is "Windows Network", which works fine when XP is running on comp 2, but I want to send files between the 2 Ubuntu's. Anyone have or know how to get this done or have a copy of "Ubuntu Networking for Dummy's"?


--------------------
Clay
Case: Thermaltake Commander MS-I Snow Edition Tower Case
MB: Foxconn
CPU: AMD Phenom II 965 Black Edition 4 core
DVD: Pioneer Internal 15X Blu-Ray Burner
Ram: Corsair Vengeance 2 * 8GB (2x 4GB), DDR3-1600MHz
HDD: 500g WD Caviar Blue 1t WD Black, 4t Seagate
Video Card: Asus HD7750
OS: Win7 Ultimate w/ Ubuntu 12.04, Cairo-Dock
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies (1 - 4)
michaelk
post May 24 2011, 05:04 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,796
Joined: 23-January 03
Member No.: 360



Even though samba is designed to connect share files and printers between linux and windows it is possible to connect just linux computers. Be sure to add a samba password for your user . Nautilus (file browser) should be able to view samba shares as well as the XP computer. The problem typically is that your not running a local DNS so if your Ubuntu PCs are using DHCP then they will not automatically be displayed in the file browser like the XP.
You can configure one of the Ubuntu as a WINS server, use static IPs and add them to the /etc/hosts file or configure the router to always assign the same IP based on the MAC (most can these days).

BTW the linux file sharing is called nfs.
Go to the top of the page
 
+Quote Post
Clayman1000x
post May 24 2011, 02:31 PM
Post #3


Grub-er
**

Group: Members
Posts: 25
Joined: 6-May 11
Member No.: 15,293



QUOTE (michaelk @ May 24 2011, 05:04 AM) *
Even though samba is designed to connect share files and printers between linux and windows it is possible to connect just linux computers. Be sure to add a samba password for your user . Nautilus (file browser) should be able to view samba shares as well as the XP computer. The problem typically is that your not running a local DNS so if your Ubuntu PCs are using DHCP then they will not automatically be displayed in the file browser like the XP.
You can configure one of the Ubuntu as a WINS server, use static IPs and add them to the /etc/hosts file or configure the router to always assign the same IP based on the MAC (most can these days).

BTW the linux file sharing is called nfs.


This was some help, but does not explain a whole lot. I have no idea how to set up a WINS server or what you mean by Samba password, and if I set up static IP's in my router won't that screw up my windows network, my wifes pc runs on this network also.
I need the DHCP for my torrent sessions don't I?


--------------------
Clay
Case: Thermaltake Commander MS-I Snow Edition Tower Case
MB: Foxconn
CPU: AMD Phenom II 965 Black Edition 4 core
DVD: Pioneer Internal 15X Blu-Ray Burner
Ram: Corsair Vengeance 2 * 8GB (2x 4GB), DDR3-1600MHz
HDD: 500g WD Caviar Blue 1t WD Black, 4t Seagate
Video Card: Asus HD7750
OS: Win7 Ultimate w/ Ubuntu 12.04, Cairo-Dock
Go to the top of the page
 
+Quote Post
michaelk
post May 24 2011, 05:18 PM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,796
Joined: 23-January 03
Member No.: 360



Ok, lets start from scratch.
By see each other I assume that you want to view shares from each computer via Nautilus and windows explorer. The first thing is to make sure the workgroup is the same for all computers. Be sure to restart samba (sudo /etc/init.d/smb restart)

You also need to add a samba password for each user name. By default samba will automatically create a home share for each user name .
sudo smbpasswd -a username (replace username with the actual username)

This might be all you need... Windows has netbios over TCP/IP that in simple terms is a DNS of sorts. It will map netbios names to IP addresses. If you strictly have a linux network configuring one samba server for WINS and using winbind will accomplish the same thing. The other method is static IP address. Configure your router to assign a specific IP address to a specific MAC. Then add the hostname and IP address information to the /etc//hosts file of each computer.
Go to the top of the page
 
+Quote Post
Clayman1000x
post May 25 2011, 03:56 PM
Post #5


Grub-er
**

Group: Members
Posts: 25
Joined: 6-May 11
Member No.: 15,293



QUOTE (michaelk @ May 24 2011, 05:18 PM) *
Ok, lets start from scratch.
By see each other I assume that you want to view shares from each computer via Nautilus and windows explorer. Yes basically, I buy movies and dl them to computer 1 because it is hardwired, faster connections, then send them over wireless connection to comp 2 which is my bedroom pc. The first thing is to make sure the workgroup The workgroup I have in windows is mshome, Ubuntu sees this with no problem. is the same for all computers. Be sure to restart samba (sudo /etc/init.d/smb restart)
I did this and got:
clay@clay-desktop:~$ sudo /etc/init.d/smb restart
sudo: /etc/init.d/smb: command not found
clay@clay-desktop:~$


You also need to add a samba password for each user name. By default samba will automatically create a home share for each user name .
sudo smbpasswd -a username (replace username with the actual username)
I did this and got:
clay@clay-desktop:~$ sudo smbpasswd -a clay
New SMB password:
Retype new SMB password:
clay@clay-desktop:~$
I used the same password as my login password as I am the only one who uses my systems except comp 3 which my wife and everyone else uses, this is a home network by the way, not a business so I don't have any IT people and I don't know where to go from here.

I am trying to eventually do away with windows on the internet but keep it for certain things that Linux just does not do for me yet such as my games (I have wine installed but can't get it to work properly) and converting .avi video files back to a dvd format and burned to dvd.


This might be all you need... Windows has netbios over TCP/IP that in simple terms is a DNS of sorts. It will map netbios names to IP addresses. If you strictly have a linux network configuring one samba server for WINS and using winbind will accomplish the same thing. The other method is static IP address. Configure your router to assign a specific IP address to a specific MAC. Then add the hostname and IP address information to the /etc//hosts file of each computer.


--------------------
Clay
Case: Thermaltake Commander MS-I Snow Edition Tower Case
MB: Foxconn
CPU: AMD Phenom II 965 Black Edition 4 core
DVD: Pioneer Internal 15X Blu-Ray Burner
Ram: Corsair Vengeance 2 * 8GB (2x 4GB), DDR3-1600MHz
HDD: 500g WD Caviar Blue 1t WD Black, 4t Seagate
Video Card: Asus HD7750
OS: Win7 Ultimate w/ Ubuntu 12.04, Cairo-Dock
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th October 2017 - 03:41 PM