Choose style:

Author Topic: Shared files Network - Blank  (Read 4247 times)

0 Members and 1 Guest are viewing this topic.

Offline nOObbutReady

  • nOOb
  • *
  • Posts: 19
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Pep 5
Shared files Network - Blank
« on: February 16, 2015, 06:45:48 pm »
So installed the Peppermint Network pack, Samba-etc. but when I open the network folder (go>Network>Windows Network) there is nothing (address smb:///) There are open share folders on the internal network from a pair of Win 7 Pro machines, an IMAC and a pair of Seagate Centrals (NAS), all visible to each other AND an Oplay DNLA player..just not the machine with Peppermint on it.

I set folders to share on the Peppermint box and I can see those folder IF I navigate to them from the win machine by IP (until a restart assigns a new address), but nothing the other direction.

It's not joining the WORKGROUP (and Samba keeps resetting that to lower case). I took it off wireless and ran a physical wire to see if that changed anything...it didn't.

What am I missing?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26290
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Shared files Network - Blank
« Reply #1 on: February 16, 2015, 06:56:27 pm »
Try giving the Peppermint PC a netbios name

run:
Code: [Select]
sudo gedit /etc/samba/smb.conf
and look for thee top of the "global" section for
Code: [Select]
[global]

## Browsing/Identification ###

# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = WORKGROUP
and change it to
Code: [Select]
[global]

## Browsing/Identification ###

# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = WORKGROUP
netbios name = peppermint1
SAVE the file, and REBOOT

Now what happens if you try browse the network ?

Also, you might want to consider changing the networkmanager IPv4 settings from

Method: Automatic (DHCP)

to

Method: Automatic (DHCP) address only

then add your routers IP addrress in the "DNS server" field

then saving.

then rebooting.



[EDIT]

Are you sure you're actually sharing anything on your Windows PC's (not just Win7/8 homegroup)

and that you've set Win7/8 shares to be visible to non Win7/8 PC's ?

We are just talking about Win7 or Win8 PC's here right ?

Are you able to see the shares on a Windows PC if you enter "smb://<ip.address.of.windows-pc>" into the Peppermint file manager address bar

eg.
smb://192.168.0.5

so you're browsing by IP rather than hostname
« Last Edit: February 16, 2015, 08:34:06 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline nOObbutReady

  • nOOb
  • *
  • Posts: 19
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Pep 5
Re: Shared files Network - Blank
« Reply #2 on: February 17, 2015, 02:19:03 pm »
OK! so that made the NAS boxes visible in the file manager, but separate from the Windows Network.

Yes to Win 7 machines and I stripped out homegroups long ago to get it to work with the Mac and DNLA box, which probably also is running some flavor of Linux underneath  on the network.

smb://<ip.address.of.windows-pc> (with an actual machine address for one of the Win machines) yielded bash: smb://yadayada : No such file or directory. Of course, still nothing under the win network in file manager.

Curiously, setting the DHCP to address only made my browsers more snappier (as an internet connection test is always my first check when  testing for network connection after changes)

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26290
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Shared files Network - Blank
« Reply #3 on: February 17, 2015, 02:51:10 pm »
Can you ping one of the windows boxes by IP ?

What's the output from
ping -c 5 <ip.of.windows.pc>

eg.
Code: [Select]
ping -c 5 192.168.0.5

BTW, "smb://yadayada" aint gonna cut it .. I'll need you to post the precise output (or error messages) .. I'm not going to ask you for any output that's a security risk .. publishing your LAN IP address(es) is NOT a security risk ;)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline nOObbutReady

  • nOOb
  • *
  • Posts: 19
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Pep 5
Re: Shared files Network - Blank
« Reply #4 on: February 17, 2015, 03:13:24 pm »
ping results:

PING 192.168.1.112 (192.168.1.112) 56(84) bytes of data.
64 bytes from 192.168.1.112: icmp_seq=1 ttl=128 time=0.558 ms
64 bytes from 192.168.1.112: icmp_seq=2 ttl=128 time=0.226 ms
64 bytes from 192.168.1.112: icmp_seq=3 ttl=128 time=0.226 ms
64 bytes from 192.168.1.112: icmp_seq=4 ttl=128 time=0.317 ms
64 bytes from 192.168.1.112: icmp_seq=5 ttl=128 time=0.240 ms

--- 192.168.1.112 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4000ms
rtt min/avg/max/mdev = 0.226/0.313/0.558/0.127 ms

error message:
bash: smb://192.168.1.112: No such file or directory

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26290
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Shared files Network - Blank
« Reply #5 on: February 17, 2015, 03:50:12 pm »
You don't enter
smb://192.168.1.112
in the terminal .. you enter it in the File Manager address bar, then hit Enter .. see pic below.

WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline nOObbutReady

  • nOOb
  • *
  • Posts: 19
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Pep 5
Re: Shared files Network - Blank
« Reply #6 on: February 17, 2015, 04:30:12 pm »
got it...now that does open the shared folders for that machine..but prompts for a password on each folder, even though those shares are set for everyone and no password required.

Once returned back to smb:/// it's still blank.

Is there a fix to make the machines visible there or will it be an ip hunt each time?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26290
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Shared files Network - Blank
« Reply #7 on: February 17, 2015, 04:34:42 pm »
So can you enter the shares if you don't enter a password ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline nOObbutReady

  • nOOb
  • *
  • Posts: 19
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Pep 5
Re: Shared files Network - Blank
« Reply #8 on: February 17, 2015, 04:44:58 pm »
no...it's requiring a windows username and password for each shared folder although that is not enabled on the win machine it's connecting to.

Just to test with yet another machine and os, I slid a galaxy s5 (android) onto the network. It sees both the peppermint box and the win machine. Can open files and folders on the Win machine without a password prompt or direct addressing.

thoughts?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26290
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Shared files Network - Blank
« Reply #9 on: February 17, 2015, 04:54:36 pm »
What's the contents of your
Code: [Select]
gedit /etc/nsswitch.conf
file ?

Are these Win7 or Win8 PC's ?
« Last Edit: February 17, 2015, 05:00:08 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline nOObbutReady

  • nOOb
  • *
  • Posts: 19
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Pep 5
Re: Shared files Network - Blank
« Reply #10 on: February 17, 2015, 05:38:13 pm »
Here's what it looks like:

Spoiler (click here to view / hide)
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         compat
group:          compat
shadow:         compat

hosts:          files mdns4_minimal [NOTFOUND=return] dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis
[close]

and all win machines on the network are win 7 pro
« Last Edit: February 17, 2015, 05:39:58 pm by nOObbutReady »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26290
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Shared files Network - Blank
« Reply #11 on: February 18, 2015, 07:33:58 am »
For the time being let's leave aside the fact you're needing to do this via IP address .. we'll get around to name resolution once we've figured out why Windows is asking for login credentials.

Did you say you could browse the NAS by IP ?

So it's just the Windows PC's that are blocking the connection ?

Are they running any kind of firewall software ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline nOObbutReady

  • nOOb
  • *
  • Posts: 19
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Pep 5
Re: Shared files Network - Blank
« Reply #12 on: February 18, 2015, 06:11:04 pm »
I can view the NAS boxes (plural) via the file manager with the changes early in this thread. They don't appear in the Windows Network folder, just floating in the network connections, which is what I would expect since they are not windows machines.

I haven't turned on the mac to see if it's visible yet to the peppermint machine, but it's the win machines that I want junk from anyway.

Anitvirus' yes..firewall is at the router.

I don't think there is any common port blocking as the Mac always saw the windows machines (after setting it up) and the DNLA box sees them, as did the android that I attached in yesterday. Share folders are set to everyone without passwords and read only.

Remember that I also do not see the Peppermint box on the windows machines either, although i can see the NAS boxes.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26290
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Shared files Network - Blank
« Reply #13 on: February 18, 2015, 06:26:01 pm »
Have you shared any directories on the Peppermint PC yet ( via menu > System Tools > Samba) ?

Can you see the Peppermint shares if you enter

\\<ip.address.of.peppermint>

in the Windows file managers address bar

eg.
\\i92.168.0.5

(note the use of backslasges in Windows, as opposed to forwardslashes in Linux)

WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline nOObbutReady

  • nOOb
  • *
  • Posts: 19
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Pep 5
Re: Shared files Network - Blank
« Reply #14 on: February 19, 2015, 02:19:02 pm »
yes, IF I am on a wired connection and not wireless on the Peppermint machine. (The win boxes are always wired) Wireless acts as if it's not there, which may be a router dance.