LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-19-2020, 09:40 AM   #1
tldixontl
LQ Newbie
 
Registered: Sep 2020
Posts: 2

Rep: Reputation: Disabled
How do you change samba workgroup subnet ip address on centos7


I am using Centos7 and installed samba and was able to successfully map to my windows box. When I rebooted my windows box the ip address changed. Now my workgroup subnet IP does not match now and I do not know how to change it to match the new IP
The command that initially worked was:

mount.cifs //192.168.1.195

The ip changed to 192.168.1.158 and then I ran

mount.cifs //192.168.1.158 but did not work
 
Old 09-19-2020, 08:27 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by tldixontl View Post
Now my workgroup subnet IP does not match
It looks like the same subnet as before though. What is your network prefix or netmask? On Linux, find out with the ip address command.
While Windows networking is black art to me, I don't think that workgroups have subnet IPs or are related to subnets.

Quote:
The command that initially worked was:

mount.cifs //192.168.1.195

The ip changed to 192.168.1.158 and then I ran

mount.cifs //192.168.1.158 but did not work
What are the failure symptoms?

Use ping 192.168.1.158 to confirm basic network connectivity. Then try smbclient -L //192.168.1.158 to list all shares on that computer.
 
Old 09-27-2020, 07:00 AM   #3
tldixontl
LQ Newbie
 
Registered: Sep 2020
Posts: 2

Original Poster
Rep: Reputation: Disabled
resolved
 
Old 09-27-2020, 10:05 AM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Mark it as SOLVED (see the Thread Tools menu) and write a few words about the solution.
 
  


Reply



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
Any problem if I install CENTOS7 Workstation over CENTOS7 Server? Rich Strebendt Linux - Software 5 05-03-2018 11:05 PM
SAMBA, xp client doesn't see the samba workgroup ardinghello Linux - General 1 10-06-2010 09:22 AM
xp workgroup pc cannot change "<samba server>/Guest" in connection pop-up duderancher Linux - Server 4 09-17-2008 02:34 PM
Samba cannot find my workgroup on subnet UNICAST_SUBNET humbletech99 Linux - Networking 2 12-15-2006 03:15 PM
Can IP from different subnet be configured on another subnet russell Linux - Networking 1 08-23-2002 01:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:29 AM.

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