[SOLVED] Not reading network devices on Centos 7.6.1810
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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"?
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.
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.
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.
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
Last edited by joanazpeitia; 01-23-2019 at 06:49 AM.
Reason: improvement
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?
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,
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.