LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-16-2015, 03:31 PM   #1
jjang1212
LQ Newbie
 
Registered: Sep 2015
Location: Exton, PA
Distribution: Fedora
Posts: 3

Rep: Reputation: Disabled
Unhappy Linux Samba shared folder not accessed from host Windows


Hi,

I installed Samba server in a Fedora VBox VM running on the host Windows 7 Pro (x64). I started the Samba service and I used Map network drive to access the samba shared folder in VM without any problem.
Now I copied the VM VDI file to another Windows 7 machine. Since the Samba has been configured ( Ido change the netbios name in file smb.conf to be different than in previous VM since both Windows 7 can be on line the same time). Then I just start the Samba service but this time the Map network drive failed. The details show message
"Error code 0x80070035
The network path was not found."

The diagnostic message "The remote device or resource won't accept the connection".
The VMs has network "bridged adapter" selected.

Thanks for the help!
 
Old 09-16-2015, 04:24 PM   #2
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
firewall?
 
Old 09-16-2015, 07:18 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,814

Rep: Reputation: 5959Reputation: 5959Reputation: 5959Reputation: 5959Reputation: 5959Reputation: 5959Reputation: 5959Reputation: 5959Reputation: 5959Reputation: 5959Reputation: 5959
Just a guess but when you add a network interface VirtualBox creates a random number for the MAC or hardware address. Since the udev 70-persistent-net.rules contains the MAC from the first VM it does not match the second and therefore networking does not work. If you delete the rules and reboot they will be recreated with the 2nd VM MAC. You do not want to change the 2nd VM VirtualBox MAC since they are all bridged and the MAC needs to be unique for each adapter on the LAN.
 
Old 09-17-2015, 12:17 PM   #4
jjang1212
LQ Newbie
 
Registered: Sep 2015
Location: Exton, PA
Distribution: Fedora
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Doug G View Post
firewall?
The second Windows firewall setting is the same as the first one.
 
Old 09-17-2015, 12:39 PM   #5
jjang1212
LQ Newbie
 
Registered: Sep 2015
Location: Exton, PA
Distribution: Fedora
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Just a guess but when you add a network interface VirtualBox creates a random number for the MAC or hardware address. Since the udev 70-persistent-net.rules contains the MAC from the first VM it does not match the second and therefore networking does not work. If you delete the rules and reboot they will be recreated with the 2nd VM MAC. You do not want to change the 2nd VM VirtualBox MAC since they are all bridged and the MAC needs to be unique for each adapter on the LAN.
Currently, the first VM interface MAC is 08:00:27:6f:58:55, the second VM interface MAC is 08:00:27:3d:6d:4d. The IPs also are also different. Both VM can ping each other without issue. I think I need to test VM Samba share by using smbclient inside the VM first.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to connect to map samba shared folder in windows atiqjaved Linux - Networking 2 12-27-2012 12:32 PM
how to check who's accessing samba shared folder from windows centos123 Linux - Server 59 06-15-2012 11:16 PM
[SOLVED] Samba Entry of fstab to mount windows shared folder on Linux machine vikas027 Linux - Server 6 12-23-2010 01:52 AM
Windows machine can not see my samba shared folder. mtlhd Linux - Server 13 05-09-2009 09:01 PM
how do i connect to a windows shared folder using samba? winstone5000 Linux - Networking 1 12-19-2005 10:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration