Solved

Seeing other local computers in my network

Posted on 2004-08-07
11
315 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
  • 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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
High Bandwidth Usage 6 58
Python variable _ manually assigned 9 86
Hacked File Timestamps 4 63
Ubuntu Apache Webserver - File Permissions 5 42
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

803 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