Solved

Seeing other local computers in my network

Posted on 2004-08-07
11
319 Views
Last Modified: 2010-04-20
I have two Linux boxes, and both have Fedora Redhat 2 installed.
In one, I can see all the other computer on the network, and the other I can't.
I know the network card is setup right, because I can access the internet.  I just can't see any local computers in the Network.

I've tried looking for the option that sets the workgroup, but I can't seem to find it.

What could be causing the problem, and how do I set/view the workgroup assigned to the box?      
0
Comment
Question by:Axter
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
  • 2
  • +1
11 Comments
 
LVL 17

Expert Comment

by:owensleftfoot
ID: 11744469
The configuration file you need to change is /etc/samba/smb.conf
The workgroup setting is near the top. You will need to restart samba after you make any changes."service samba restart" or "service smb restart" (without the quotes) will do this for you.
0
 
LVL 4

Expert Comment

by:shard26
ID: 11748299
owensleftfoot is probably right. You need to have Samba running on both. Do you have the local DNS set up pointing to the same DNS server that all your windows boxes are using? You can check in /etc/resolv.conf

0
 
LVL 1

Expert Comment

by:sumpi
ID: 11770491
did you join your domain or workgroup? If you use a windows domain on your other boxes, then you have to join that by useing the following command:
net rpc join -U administrator%password

then it should work, if that was the problem...
0
Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

 
LVL 30

Author Comment

by:Axter
ID: 11771381
>>The configuration file you need to change is /etc/samba/smb.conf

That fix the workgroup problem, but I still can't see the other windows computers from this box.


>>owensleftfoot is probably right. You need to have Samba running on both.

I do have them running on both.

>>Do you have the local DNS set up pointing to the same DNS server that all your windows boxes are using?
Yes

>>You can check in /etc/resolv.conf
I'll check the file.

>>did you join your domain or workgroup?
I don't have a domain setup.  I have a workgroup.
0
 
LVL 17

Expert Comment

by:owensleftfoot
ID: 11771467
From the box that cant see the network try smbclient -L //windowsboxname (Obviously substituting a real name)
0
 
LVL 30

Author Comment

by:Axter
ID: 11771502
I just checked, and my /etc/resolv.conf file has the same values in both Linux box.      
0
 
LVL 4

Accepted Solution

by:
shard26 earned 500 total points
ID: 11775901
issue these commands on the Linux box that isn't working right.


service iptables stop

service ipchains stop

then look again.
0
 
LVL 30

Author Comment

by:Axter
ID: 11780263
When I try the above commands, I get the following:

service iptables stop
bash: service: command not found

service ipchains stop
bash: service: command not found
0
 
LVL 30

Author Comment

by:Axter
ID: 11780302
That was it shard26!!!

I forgot that I had install the firewall on this paticular box during setup.

Although I couldn't issue the commands you posted, I want to the Service-Configuration interface, and I stopped iptables.

I didn't have ipchains, so I'm assuming I didn't not install this service during setup.

Is there any way I can get samba to work and still have the iptables running?
0
 
LVL 4

Expert Comment

by:shard26
ID: 11783834
iptables -t filter -A INPUT -s IP_of_a_computer_on_your_network ACCEPT

or something like that , I'm not great @ iptables

0
 
LVL 30

Author Comment

by:Axter
ID: 11785085
Thanks
0

Featured Post

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question