Click to See Complete Forum and Search --> : LinNeighborhood


blackhawk714
02-23-2003, 01:12 AM
Does anyone know anything about LinNeighborhood and how to install it??? :confused:

Zoist
02-23-2003, 06:27 AM
Yes I am running it and it works well. It's basically a front-end for samba. You can browse your network shares and mount them to your Linux drives.
What do you want to know about it?
What distro are you using?

I just downloaded the rpm file and installed it, then type LinNeighborhood to bring it up. It is a very simple prog.

byrdman1107
02-23-2003, 10:47 AM
Installed RH 8.0 on box #1 about 8 weeks ago. Have been unable to see the RH box on my LAN. I am able to ping to and from the RH and Win98. I've installed and ran LinNeighborhood and I have never been able to see the other network shares. I have 3 machines on a switch and box #1 was Win98 connected to the network before installing RH 8.0. The box #1 did connect to the LAN as Win98 and was in service for over a year. I have never seen the RH box in the Network Neighborhood in Win98 either.

Zoist
02-23-2003, 10:52 AM
You need to install & see samba working before you can use the network shares through Linux.

Seeing you are having a lot of trouble, download Webmin (http://www.webmin.com/) and run the SWAT script to help you set it up and then you shouldn't have any problems.

Cheers.

JohnT
02-23-2003, 10:57 AM
http://mozillaquest.com/Linux02/LinNeighborhood_Network_Neighborhood_Story-01.html

byrdman1107
02-23-2003, 11:20 AM
For some reason SWAT refuses to connect from >Extras>Sever Settings>Samba Configuration. I get the error message "connection was refused. " I have tried running SWAT from within Webmin. JohnT - Thanks for the link, I have read and been thru that info in the past 8 weeks. And still I am unable to connect or see the shares. LinNeighborhood / Webmin refuses to see the machines on the LAN. I am able to connect to the internet with Mozilla and Konqueror.

Zoist
02-23-2003, 11:22 AM
Turn on the Log (in LinNeighborhood) and see what it says.

byrdman1107
02-23-2003, 11:46 AM
GetSMBGroups:/usr/bin/nmblookup -M Aaaa -S -d1
GetSMBGroups:/usr/bin/nmblookup -M Aaaa -S -d1
querying Aaaa on 68.xxx.xxx.xxx
name_query failed to find name Aaaa#1d
querying Aaaa on 68.xxx.xxx.xxx
name_query failed to find name Aaaa#1d

Zoist
02-23-2003, 12:07 PM
This might sound like a stupid question, but are you running a firewall prog? That looks like it could be blocking your connection.

DMR
02-23-2003, 02:53 PM
If it isn't a firewall problem, perhaps SWAT is not set up or not set up correctly. Check this article (http://samba.linuxbe.org/en/samba/learn/swat.html) for instructions.

The article refers to two daemons, inetd and xinetd. Follow the instructions for xinetd; that's the daemon that Redhat 8 uses (inetd is older, and no longer used).

byrdman1107
02-23-2003, 03:40 PM
Both the RH 8.0 and the Win98 had the firewalls turn off during attempts at a connection.

byrdman1107
02-23-2003, 04:03 PM
I re-installed RH 8.0 three times and tried several configurations in an attempt to get a network connection and get the machines on the LAN to see each other without success. I am able to run samba/swat.cgi/ from within Webmin. I can edit and save the variables and they do commit to the files.

I hope that this is helping blackhawk714 too.

DMR
02-23-2003, 04:04 PM
Do any of the troubleshooting steps outlined here (http://k12linux.mesd.k12.or.us/using_samba/ch09_02.html) help?

seabass55
02-23-2003, 06:16 PM
SWAT doesn't work out of the box...you have to turn it on in xinetd.

vi /etc/xinetd.d/swat

and change the disable=yes to no

You'll probably have to restart xinetd
/etc/init.d/xinetd restart

blackhawk714
02-23-2003, 06:42 PM
Thanks a lot you guys... I read all your responses and questions and learned enough to get linNeighborhood to work for myself.. You guys are the greatest!!! :D

byrdman1107
02-23-2003, 06:44 PM
seabass55,

In "etc/xinetd.d/swat" the disable line was changed to - no, a long time ago. And I double checked it's still - no. As I mentioned I can run SWAT from within Webmin and I can modify the settings. Firewalls are off. I restart xinetd from within Service Configuration after any change is made. I tried "Finding Computers" and mapping drives from the Win98 and I still can not locate the RH 8.0 machine.

At some point I believe I should see the RH8.0 box in my Network Neighborhood on the Win98. I've had these there machines hooked up as a Win network for over a year. I was able to share files btwn machines and run programs from any where.

byrdman1107
02-24-2003, 02:16 PM
DMR

I went thru the trouble shooting guide you provided via the link. When I get to section 9.2.3.1 Testing TCP with FTP, I get the message "ftp: connect: Connection timed out" and it says to return to the ping section. When I return to section "9.2.2.4 Testing connections with ping" I still don't have a problem with any of the pings. Everything came back by the book. What do I do now?

DMR
02-24-2003, 04:41 PM
A few basic things to verify:

1. When you ping, you can reach all the machines both by IP address and machine name, yes?

2. Are both the smbd and nmbd daemons running? Run the following command:

ps ax |grep mbd

It should return something very similar to:[root@penguinbox/]# ps ax |grep mbd
669 ? S 0:00 smbd -D
678 ? S 0:00 nmbd -D

3. You have entries for all of your Windows machines (as well as the Linux box) in /etc/hosts: 127.0.0.1 localhost.localdomain localhost
IP_address_of_Linux_box name_of_linuxbox.localdomain name_of_linuxbox
IP_address_of_#1Windows_box name_of_#1Windows_box.localdomain name_of_#1Windows_box
IP_address_of_#2Windows_box name_of_#2Windows_box.localdomain name_of_#2Windows_box
Your /etc/lmhosts file should have similar entries for all machines.

4. Your /etc/hosts.allow and /etc/hosts.deny files are set to allow machines on your subnet access to the Linux box.

5. The WORKGROUP name in /etc/smb.conf is exactly the same as that used by the Windows machines.

6. It might be a good idea to post your /etc/smb.conf file.

byrdman1107
02-24-2003, 06:22 PM
1. Yes
2. Yes
3. Yes
4. Yes
5. Yes
6. The smb.conf was the file replaced by Webmin. Before I go any further. I have not tried swapping out the NIC 's. I want to try this next and see if it makes any difference in the in seeing the Linux machine on the LAN.

DMR
02-24-2003, 09:49 PM
OK. If it isn't a problem with the NIC (which it might be):

Webmin shouldn't replace /etc/smb.conf, but only modify it- right? Post the file; it might help.

Dutch Mafia-boy.
02-24-2003, 11:09 PM
so does LinNeighborhood work on Redhat 8 ?? A few weeks back, I tried installing it and got dependency errors......I was too lasy to troubleshoot it, so I just installed xfsamba, which is alright, but I find it crashes too much....I like (or did) LinNeighborhood much better....

I have it running on another box with Redhat 7.3,,,,,,:(

byrdman1107
02-25-2003, 12:37 PM
Originally posted by DMR
OK. If it isn't a problem with the NIC (which it might be):

Webmin shouldn't replace /etc/smb.conf, but only modify it- right? Post the file; it might help.

Correct - Webmin replaces or modifies the extensive smb.conf file with a smaller / compact file. The Redhat manual suggested keeping the smb.conf as simple as possible, the follwing is what Webmin provided. I have not swapped my NIC yet.


etc/samba/smb.conf

[global]
server string = Samba Server
workgroup = Axxx
security = SHARE
encrypt passwords = yes
domain logons = yes
os level = 33
ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt
log file = /var/log/samba/%m.log
max file size = 0
socket options = TCP_NODELAY S0_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
printing = lprng

[homes]
comment = Home Directories
path = home
writeable = yes
guest = OK

[printers]
comment = All Printers
path = /var/spool/samba
guest ok = yes
printable = yes

[netlogon]
comment = Network Logon Service
path = /home/netlogon
guest ok = yes
writeable = no
share modes = no

Zoist
02-25-2003, 12:38 PM
Originally posted by Dutch Mafia-boy.
so does LinNeighborhood work on Redhat 8 ?? A few weeks back, I tried installing it and got dependency errors......I was too lasy to troubleshoot it, so I just installed xfsamba, which is alright, but I find it crashes too much....I like (or did) LinNeighborhood much better....

I have it running on another box with Redhat 7.3,,,,,,:(

Did you download and install the rpm file? I haven't had a problem on my RH 8 box.

czgu
02-25-2003, 03:28 PM
I think you need enable wins server if the linux box is a wins server, or you can put wins server address (you can't do both at same time!!). In my linux box, I added win box address (192.168.0.1) to wins server.

DMR
02-25-2003, 05:39 PM
I'm running an older version of Samba, so the following might not apply, but-

In the Global section of my smb.conf I have a couple of entries that aren't present in yours:

netbios name = name_of_linux_machine

and

hosts allow = 192.168.0. 127.

The netbios name is important- it's the name which the Samba box uses to identify itself to other machines on the network.

The "hosts allow" entries apply to localhost (127.) and the 192.168.0 address range used by the machines on my LAN.

Remember to restart Samba after you make changes to smb.conf:

service smb restart

byrdman1107
02-26-2003, 08:53 AM
DMR,

It's been sometime since I opened the case on the Linux machine. I have Linksys 10/100 Nic PCI cards on the other Win98 machines, but I still had a straight 10 Mbps NIC - ISA card in the Linux. I found a new 10/100 Linksys PCI on sale at "Worst Buy" for only $4.99 and installed it without making any changes. Still could not connect to the LAN. Next I edited my smb.conf with the changes you suggested. The "Samba Server" showed up in my Network Neighborhood on just one of my Win98, right after I booted the Linux box. But I could not connect, map to, or do anything with the Samba Server. Then the Samba Server disappeared from the WIn98 machine. And I'm back to where I was before. However when I dual boot the Linux box into Win98, I have noticed a dramatic improvement in network access and file transfers from the that machine. So I know the 10/100 had some impact.