LinuxQuestions.org
Review your favorite Linux distribution.
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 01-22-2019, 09:25 AM   #1
joanazpeitia
LQ Newbie
 
Registered: Jan 2019
Posts: 11

Rep: Reputation: Disabled
Not reading network devices on Centos 7.6.1810


Hello.

I have a network that is set up using several work stations connected through ethernet. Each work station connection is manually configured using an associated IP address and connected under the same gateway and DNS server. I swapped one of this workstations from windows 7 to linux 7.6.1810. On this workstation ethernet connection does not read the other network devices. Therefore, ethernet is running fine for internet connection but is not reading my other network devices. What am I missing on my network set up?

Any help would be much appreciatted, many thanks in advance.

Joan
 
Old 01-22-2019, 09:35 AM   #2
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Could you explain what do you mean by "not reading my other network devices"?
Is there a service those devices are running that you are accessing?
Can you ping "other network devices"?
 
1 members found this post helpful.
Old 01-22-2019, 09:44 AM   #3
joanazpeitia
LQ Newbie
 
Registered: Jan 2019
Posts: 11

Original Poster
Rep: Reputation: Disabled
Hi,

Thanks for your quick reply!
I can ping other network devices but I only see them in the console. How can I see the ip I ping on my linux gui?
Many thanks in advance.

Cheers

Last edited by joanazpeitia; 01-22-2019 at 10:10 AM.
 
Old 01-22-2019, 10:33 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,678

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
It depends on how your Windows network is configured? Are you using homegroups?
 
Old 01-23-2019, 02:52 AM   #5
joanazpeitia
LQ Newbie
 
Registered: Jan 2019
Posts: 11

Original Poster
Rep: Reputation: Disabled
Hi Michaelk,
Thanks for your help.
Yes I am using homegroups.

Last edited by joanazpeitia; 01-23-2019 at 02:59 AM.
 
Old 01-23-2019, 04:32 AM   #6
joanazpeitia
LQ Newbie
 
Registered: Jan 2019
Posts: 11

Original Poster
Rep: Reputation: Disabled
Hi again guys,

I'm going through these two docs, https://www.control-escape.com/linux/lx-samba.html, http://www.linuceum.com/Server/srvSambaConfig.php to learn how to set up smb.conf file and try to join the already built network I have on windows.
Now I'm facing a newbie error on the console when I run testparm to test the changes I made on smb.conf. The error is the following one; bash:testparm:'command not found'.
If you could point me further docs to read and go through the overall networking process would be great. Also, although I will keep digging on it , if you can give me a clue on why bash command stopped working would be great. It was working fine and after modifying and quiting smb.conf stopped working.

Many thanks again for your help.

Joan
 
Old 01-23-2019, 05:07 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,678

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
Without knowing what specific commands you are using it isn't possible to know why they are not working.

Homegroups is not compatible with samba. You need to configure your windows 7 computers networking for Windows XP and use workgroups. Then they should be visible using the file browser network feature.
 
Old 01-23-2019, 05:19 AM   #8
joanazpeitia
LQ Newbie
 
Registered: Jan 2019
Posts: 11

Original Poster
Rep: Reputation: Disabled
Hi Michaelk,

I have the set up of my network as you mentioned.
I'm using workgroups and also I have a set up compatible with windows XP.
Also, changed my smb.conf and changed what was written by default SAMBA by WORKGROUP wich is the name of my network workgroup.

[global]
workgroup = WORKGROUP

I left the rest of the smb.conf as it comes by default.

Samba is enabled and running.

However if I do smbstatus -p I don't see any machine on my network (I attach a screen capture below).

I'm also getting an error, under network tab, when I go to network shared services, I have the following error,
-the deamon Zeroconf (mdnsd) is not being executed.
Could this be the issue?

Any idea why I'm still not viewing the machines on my gui?
Many thanks
Attached Thumbnails
Click image for larger version

Name:	instantánea1.png
Views:	22
Size:	7.6 KB
ID:	29559  

Last edited by joanazpeitia; 01-23-2019 at 06:49 AM. Reason: improvement
 
Old 01-24-2019, 10:31 AM   #9
joanazpeitia
LQ Newbie
 
Registered: Jan 2019
Posts: 11

Original Poster
Rep: Reputation: Disabled
Hi guys,

Apologies for my not clear information on the messages above. I'm facing an error to be able to mount my drives on Centos7.
I'm trying to mount them through fstab.
When I add this line to my fstab trying to mount my server,
//serverIP/serverFolder /home/desiredexistingFolder cifs vers=3.0,user,username=xxx,password=xxx,auto,rw,uid=500,suid 0 0
I'm getting the following error,

mount error(95): Operation not supported
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

I'm taking a look at the man pages but not finding for now the solution.
I also read that vers=3.0 was used in some posts to avoid this error but is not helping me on this case.
Does someone know how to proceed to solve this issue and mount the drive?

Many thanks in advance,

Joan
 
Old 01-24-2019, 10:48 AM   #10
joanazpeitia
LQ Newbie
 
Registered: Jan 2019
Posts: 11

Original Poster
Rep: Reputation: Disabled
It seems to be working now using vers=2.0 instead of vers=3.0. Therefore the line working on my fstab is the following one;
//serverIP/lampserver/_PROJECTS /home/desiredFolder cifs vers=2.0,user,username=xxx,password=xxx,auto,rw,uid=500,suid 0 0
Not sure how to set up the vers area, if anyone could let me know why 2.0 insead of 3.0 worked would be great.
Many thanks,

Joan
 
Old 01-24-2019, 11:24 AM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,678

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
SMB V3 was introduced with Windows 8 which is why it doesn't work with Windows 7. samba should automatically detect that Windows 7 is using SMB V2 so it should just work.
 
Old 02-07-2019, 07:02 AM   #12
joanazpeitia
LQ Newbie
 
Registered: Jan 2019
Posts: 11

Original Poster
Rep: Reputation: Disabled
Hi,

A couple of weeks ago, I managed to mount the two servers. I post the two lines on my fstab file (root/etc/fstab) that made it work. I posted what worked for me in case is helpful for someone else. Many thanks for your help.

MOUNT LINUX SERVER
//serverip/serverfolder /localdirectory/localfolder cifs vers=2.0,user,username=admin,password=xxx,rw,auto,rw,uid=500,suid 0 0
MOUNT WINDOWS 2012 R2 SERVER
//192.168.1.11/ProgramData /home/_licenseServer cifs vers=3.02,user,username=Administrator,password=xxx,auto,rw,uid=500,suid 0 0

Cheers,

Joan
 
  


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
LXer: Epic Games Launching New Game Store, Microsoft Building a Chromium Browser, CentOS Releases CentOS Linux 7 (1810) on the x86_64 Archit LXer Syndicated Linux News 0 12-05-2018 12:21 AM
Manjaro 15.12/ASUS G75VW Files not reading from other devices once transferred via USB. jgibson706 Linux - General 2 02-24-2016 05:32 AM
Microsoft Visual C++, Reading from File, Reading an XFile not heirarchy Soulkeeper1987 Programming 1 07-01-2012 04:09 PM
My dvd drive is not mounting and reading. No udf based dvd is not reading. anjanatsuse Linux - Newbie 1 10-15-2010 12:54 PM
need to enable port 1810 on redhat 7.3 inetizen Linux - Newbie 3 10-15-2004 10:07 PM

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

All times are GMT -5. The time now is 03:57 PM.

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