My name is Zoran. I have been trying to setup a network with win98 for my home network which i need quite ergently so i can continue my work. My problem seems general, but the general solutions dont seem to solve it. I have spent a good week trying to figure it out and believe me i have tried almost every trick there is, and u guys are the last resort. If u help me solve this one you have a box of beer from me!!!
Ok, I'm running:
REDHAT 9 (SHRIKE)
i have installed all packages so i am pretty ready for networking.
("I'll try to provide u with as much info as u need so u can resolve it better")
#############################################################
[EMAIL PROTECTED] zpet731]# rpm -q samba
samba-2.2.7a-8.9.0
#############################################################
## /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
BROADCAST=192.168.1.255
IPADDR=192.168.1.1
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes
USERCTL=no
PEERDNS=no
TYPE=Ethernet
## /etc/host.conf order hosts, bind
## /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 matrix.localdomain matrix
192.168.1.1 beliorao.localdomain beliorao
192.168.1.2 unsw.localdomain unsw
192.168.1.4 bugger.localdomain bugger
192.168.1.3 homexp.localdomain homexp
## /etc/resolv search localdomain nameserver 192.168.1.1
## /etc/samba/smb.conf
[global]
workgroup = LINUXRULES
server string = Linux Box
encrypt passwords = yes
interfaces = 192.168.1.1/255.255.255.0
netbios name = BELIORAO
hosts allow = 192.168.1.
hosts deny = all
log file = /var/log/samba/%m.log
max log size = 50
security = user
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
[Dloads]
comment = Downloads
path = /home/public
browseable = yes
writable = yes
public = yes
read only = no
[homes] comment = My Home Directory browseable = yes writable = yes public = yes read only = no
[printers] path = /var/spool/samba public = yes guest ok = yes printable = yes browseable = yes writable = yes read only = no
## /etc/sysconfig/network NETWORKING=yes HOSTNAME=matrix.localdomain GATEWAY="192.168.1.1" GATEWAYDEV="eth0" FORWARD_IPV4="yes" ####################################################
I believe this is enogh for now. This is my latest configuration i have tried slight variations to this without luck. Now, my windows is settup properly i believe, cause the sharing of files between my win machines has no problems.
Now my problem is that none of my win machines names:
bugger
homexp
unsw
are able to reach the linux box. That is linux is browsable in windows explorer but when i attempt to open it says its not available on the network.
Now i cant understand whats wrong i have used many help files to troubleshoot this problem but with no luck.
i am able to ping both ways with IP address or host names. (ps. I have edited the lmhosts file in windows.)
I also followed the troubleshoot pdf u guys maade available through the samba website, and every test runs smoothly until i try to do the following:
[EMAIL PROTECTED] zpet731]# nmblookup -B 192.168.1.255 beliorao querying beliorao on 192.168.1.255 name_query failed to find name beliorao
(this is my linuxbox), but if I try doing it for the rest of the machines its OK. eg.
[EMAIL PROTECTED] zpet731]# nmblookup -B 192.168.1.255 unsw querying unsw on 192.168.1.255 192.168.1.2 unsw<00>
[EMAIL PROTECTED] zpet731]# nmblookup -B 192.168.1.255 bugger querying bugger on 192.168.1.255 192.168.1.4 bugger<00>
why cant i query the linuxbox using the broadcast but i can do it for the rest, could this be the problem?
Just to mention i cant "net view" from any win machine into the linuxbox.
I hope this is enough for u GURUS to help me. I very much appreciate all your help. If i get this running im throughing a party, and all u guys are invited.
ps. I appologise if my email is badly formated, i had to rush through this, but please email me if u need anything else.
also the files i didnt display earlier i probably havent touched and if i need to configure anything else please tell me.
Ohh i have to tell u this... when i try to access any machine from linux with nautilus if i use smb:/// sometimes it wont display my workgroup but usually it always works if i use smb://unsw/c for example: where "unsw" is the hostname and "c" is the share.
ok anything else u need please tell me. THANKS HEAPS...
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
