Tonight I finally got the MAC to talk to Kubuntu in the virtual machine (Parallels) on the MAC.
The first problem was that Kubuntu in the Parallels app did not have a readable IP address. While Kubuntu worked fine, and could access the Internet, "ifconfig" would not show it's internet address.
The fix for this was to set up the Virtual machine to use "Virtio Network Adapter"
Once that was done, I could ping the virtual machine from the MAC, so I could attempt to connect to the samba shares from the MAC.
I followed some guidance from the Kubuntu Guide, and added the share locations to the smb.conf file at /etc/samba
I added a samba password as well.
- Method 2:
- Enable File Sharing Server With User Login (Very Reliable Method)
- Do the following on the machine that has the files to be shared:
-
- Add current user to Samba:
sudo smbpasswd -a username
-
- (replacing username with your login username)
-
- Open the samba config file:
sudo nano /etc/samba/smb.conf
-
- Add the directories to be added (right at the end) in the following format:
[Pictures]
path = /home/username/<folder_to_be_shared>
-
- (Replace username with your username and <folder_to_be_shared> with the folder you want to share)
-
- Press CTRL+X and then Y to save.
-
- Restart Samba:
sudo service smbd restart
sudo service nmbd restart
Then I connected from the MAC Finder application: (click on Go/ Connect to Server) and enter the server and share directories.



No comments:
Post a Comment