Choose style:

Author Topic: What do I need to have Windows(8) and Peppermint(4) play nice? [SOLVED]  (Read 5729 times)

0 Members and 1 Guest are viewing this topic.

Offline Meow the Great

  • nOOb
  • *
  • Posts: 16
  • Karma: 0
  • Meow
    • View Profile
Hello all, I've had Peppermint for a little over two months. Two weeks ago I finally figured out how to get my WIFI working, and yesterday I got BOINC up and running   :D.  Next project is stated above, What do I need(if there is a way) to have Windows and Peppermint see each other on the network. 

Thanks for reading
-Meow
« Last Edit: March 31, 2014, 06:05:15 pm by Meow the Great »
I'm a cat, not a Pokemon.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25692
  • Karma: 2819
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: What do I need to have Windows(8) and Peppermint(4) play nice?
« Reply #1 on: March 29, 2014, 02:08:36 pm »
I'd have expected Peppermint to already have been able to see Windows on the network (?)

To offer shared directories on the network that Windows can see you'll need to install and configure samba .. probably the easiest way to do this would be to install system-config-samba:
Code: [Select]
sudo apt-get install system-config-samba
(that should also pull in samba as a dependency)

You'll then find a new menu item
menu > System Tools > Samba
where you can set up directories to share.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Meow the Great

  • nOOb
  • *
  • Posts: 16
  • Karma: 0
  • Meow
    • View Profile
Re: What do I need to have Windows(8) and Peppermint(4) play nice?
« Reply #2 on: March 30, 2014, 11:11:24 am »
Great, thank you PCNet :).  After playing with it and figuring what I can and cannot do my only thing left is;  From my Windows PC to Peppermint Laptop I can pretty much do anything but Copy a file from the PC and Paste it on to the Laptop and the error it brings up is "You need permission to do this action".  I've played with the Samba Users config to get something going but every time I've left it to only certain users can have access from the network I can no longer get access so I've had "Allow access to everyone" on which I am fine with just can't do the above with it.

Thank you again for your help.
I'm a cat, not a Pokemon.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25692
  • Karma: 2819
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: What do I need to have Windows(8) and Peppermint(4) play nice?
« Reply #3 on: March 30, 2014, 12:29:29 pm »
Which folder have you shared ?

Try sharing the "Public" folder in your home folder

Make sure it's set to "writeable"  and "visible" is system-config-samba

and see if you can write to that directory over the network.



The "Public" folder should be set to be read/write by everyone by default.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Meow the Great

  • nOOb
  • *
  • Posts: 16
  • Karma: 0
  • Meow
    • View Profile
Re: What do I need to have Windows(8) and Peppermint(4) play nice?
« Reply #4 on: March 30, 2014, 02:24:50 pm »
I've shared the whole  drive along with making it read/write permissible.   

Ok,  I got "Public" folder also setup along with permissions read/write, no password etc, and unable to write still.
I'm a cat, not a Pokemon.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25692
  • Karma: 2819
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: What do I need to have Windows(8) and Peppermint(4) play nice?
« Reply #5 on: March 30, 2014, 06:58:29 pm »
Remove the whole drive share.
(then reboot to restart samba)

then the "Public" folder share should work.

the
~/Public
directory is read/write/execute by everyone (777)
all other directories will be (755) so only the owner can write to them.

« Last Edit: March 30, 2014, 07:00:20 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Meow the Great

  • nOOb
  • *
  • Posts: 16
  • Karma: 0
  • Meow
    • View Profile
Re: What do I need to have Windows(8) and Peppermint(4) play nice?
« Reply #6 on: March 30, 2014, 09:06:14 pm »
Removed all shared folders etc and rebooted, shared only the Public folder, same thing, unable to write with out permission.    :-\

I'm a cat, not a Pokemon.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25692
  • Karma: 2819
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: What do I need to have Windows(8) and Peppermint(4) play nice?
« Reply #7 on: March 30, 2014, 10:00:35 pm »
What is the workgroup for the windows PC ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Meow the Great

  • nOOb
  • *
  • Posts: 16
  • Karma: 0
  • Meow
    • View Profile
Re: What do I need to have Windows(8) and Peppermint(4) play nice?
« Reply #8 on: March 30, 2014, 10:41:39 pm »
The PC is under WORKGROUP.  I looked under the Samba Server settings also for "Basic" and it too says workgroup but lowercase, I changed to uppercase how it says with windows PC but it did nothing plus just changed it back to all lower case. 
I'm a cat, not a Pokemon.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25692
  • Karma: 2819
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: What do I need to have Windows(8) and Peppermint(4) play nice?
« Reply #9 on: March 31, 2014, 08:30:42 am »
Can you post the output from:
Code: [Select]
la -al ~/Public
and:
Code: [Select]
testparm -s

Can you be sure to surround  output from testparm with "code" tags when posting it (to preserve formatting) .. TIA :)
« Last Edit: March 31, 2014, 08:44:50 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Meow the Great

  • nOOb
  • *
  • Posts: 16
  • Karma: 0
  • Meow
    • View Profile
Re: What do I need to have Windows(8) and Peppermint(4) play nice?
« Reply #10 on: March 31, 2014, 12:26:25 pm »
Command la -al  ~/Public
Code: [Select]
la: command not found

Command testparm -s

Code: [Select]
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[Public]"
WARNING: The security=share option is deprecated
Loaded services file OK.
Server role: ROLE_STANDALONE
[global]
server string = %h server (Samba, Ubuntu)
security = SHARE
encrypt passwords = No
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb

[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
print ok = Yes
browseable = No

[Public]
path = /home/meowthegreat/Public
read only = No
guest ok = Yes
I'm a cat, not a Pokemon.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25692
  • Karma: 2819
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: What do I need to have Windows(8) and Peppermint(4) play nice?
« Reply #11 on: March 31, 2014, 03:27:42 pm »
Firstly you apper to be missing the workgroup line from smb.conf

So run:
Code: [Select]
sudo gedit /etc/samba/smb.conf

then make sure in the [global] section you have a line that reads

Code: [Select]
	workgroup = WORKGROUP

Here's the top few lines of of mine for reference

Code: [Select]
[global]

## Browsing/Identification ###

# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = WORKGROUP

# server string is the equivalent of the NT Description field
server string = %h server (Samba, Ubuntu)

After adding it, SAVE the file, and REBOOT
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Meow the Great

  • nOOb
  • *
  • Posts: 16
  • Karma: 0
  • Meow
    • View Profile
Re: What do I need to have Windows(8) and Peppermint(4) play nice?
« Reply #12 on: March 31, 2014, 04:08:10 pm »
Ok I added the line at the bottom of the [global] section, first done with # and with out #.  I'm guessing that you wanted it with out # infront or you would have added it for me to do.  I also tried to write in each instance incase you wanted me to try that next but nothing changed on that end.  Here is what my [global] area looks like.

Code: [Select]
[global]

## Browsing/Identification ###

# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = WORKGROUP

# server string is the equivalent of the NT Description field
server string = %h server (Samba, Ubuntu)

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
#   wins support = no

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
;   wins server = w.x.y.z

# This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = no

# What naming service and in what order should we use to resolve host names
# to IP addresses
;   name resolve order = lmhosts host wins bcast

workgroup = WORKGROUP

Thank you for all the time you are putting in to my problem.
I'm a cat, not a Pokemon.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25692
  • Karma: 2819
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: What do I need to have Windows(8) and Peppermint(4) play nice?
« Reply #13 on: March 31, 2014, 04:27:59 pm »
Yes I wanted it without the "#"

make the first few lines read:

Code: [Select]
[global]

## Browsing/Identification ###

# Change this to the workgroup/NT-domain name your Samba server will part of
    workgroup = WORKGROUP
    force user = username

# server string is the equivalent of the NT Description field
    server string = %h server (Samba, Ubuntu)

Be sure to to replace "username" with your Peppermint username.

SAVE the file .. REBOOT to test.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Meow the Great

  • nOOb
  • *
  • Posts: 16
  • Karma: 0
  • Meow
    • View Profile
Re: What do I need to have Windows(8) and Peppermint(4) play nice?
« Reply #14 on: March 31, 2014, 04:43:34 pm »
Hooray! It worked, thank you so much :).  Quick question though, this means I can only use the "Public" folder to write to or will this also open up all areas?
I'm a cat, not a Pokemon.