LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   smb4k - connection to host failed :newbie: (https://www.linuxquestions.org/questions/linux-networking-3/smb4k-connection-to-host-failed-newbie-160067/)

kinderbrunnen 03-19-2004 10:14 PM

smb4k - connection to host failed :newbie:
 
let me begin with - i am a total newbie when it comes to linux networking..

i recently installed samba and then smb4k on my rh9 system(named crucifixions).. and i can't seem to connect to any of my two other systems.. windows98(named lestat) and windowsxp(named corpsegrinder).. they are also configured to be part of the workgroup 'goatcheese'.. ..

aftre doing so, my windows boxes couldn't see the linux box.. after opening ports 137 (tcp) and 138 - 139(udp) in the iptables, my windows98 box (but not the winxp box) can see the linux box.. using smb4k, the linux box could see the windows boxes, but could not access them - when i clickes the icons for 'lestat' i got a 'connection to lestat failed' error..

however, since i shutdown all my computers last night and booted them up today, i can't even get a list of computers in my workgroup using smb4k.. i fire up smb with the 'service smb start' command with no problems.. in smb4k, when i click the 'network' tab it lists the workgroup as 'goatcheese' and the master as 'lestat' so when i click on the 'goatcheese' icon to expand the list of computers connected to the network in the workgroup, i get the error 'connection to lestat failed' ..

i can't figure out what might be wrong.. more simply - i'm not terribly sure i understand whats going on here.. why can't my linux box see/access any of the other computers on my networK? ..

its also interesting to note that my winxp box can't see (let alone access) any of the computers on the network either.. but that might be another unrelated issue.. i don't know..

here is my smb.conf file:

# Global Parameters

workgroup = goatcheese
netbios name = crucifixions
encrypt passwords = yes
master browser = yes

[homes]
read only = no
browseable = no

[music]
path = /home/otto/mp3s
browseable = yes
public = yes
write list = otto, kitten

----------------

and here is my iptables:

# Firewall configuration written by lokkit
# Manual customization of this file is not recommended.
# Note: ifup-post will punch the current nameservers through the
# firewall; such entries will *not* be listed here.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:RH-Lokkit-0-50-INPUT - [0:0]
-A INPUT -j RH-Lokkit-0-50-INPUT
-A FORWARD -j RH-Lokkit-0-50-INPUT
-A RH-Lokkit-0-50-INPUT -p udp -m udp -s 0/0 --sport 67:68 -d 0/0 --dport 67:68 -i eth0 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp -s 0/0 --sport 67:68 -d 0/0 --dport 67:68 -i eth1 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 137 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 138 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 139 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 137 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 138 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -i lo -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 0:1023 --syn -j REJECT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 2049 --syn -j REJECT


any help would be greatly appreciated..
.otto


All times are GMT -5. The time now is 08:19 AM.