|
Home > Archive > Red Hat Configuration > January 2004 > newbie networking problem
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
newbie networking problem
|
|
| Simon Redmond 2004-01-23, 7:25 pm |
| Hi,
I recently dumped my windows machine at home in favour of RedHat9, after
reading some reviews and trying it out on an older spare PC. Everything is
fine and I'm loving it so far.
I have one small problem that if I could solve I'd happy, it involves samba.
I've been searching the new groups and the net for a day or so now and
trying various fixes... none of which seem to fix my problem. Whenever I
try to access the Redhat machine from 98 or XP (to laptops used for work
over a wireless lan) I get 'is not accessible' or some other variant of
this. Now in my messing around trying to solve this I'm convinced that it
has something to do with the firewall that comes with RH9, because if I
disable the firewall everything works fine.
I think I need to enable port 137 for samba to work but I can't seem to do
this, I've amended iptables to include this I think with....
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 137 --syn -j ACCEPT
This is a copy of the previous line with the port changed
After I restart the network services and check via nmap, the port is not
reported and being open...
Any ideas?
Simon
| |
| Dave Griffiths 2004-01-23, 7:25 pm |
| On Sat, 11 Oct 2003 09:46:58 +0000, Simon Redmond wrote:quote:
> Hi,
>
> I recently dumped my windows machine at home in favour of RedHat9, after
> reading some reviews and trying it out on an older spare PC. Everything
> is fine and I'm loving it so far.
>
> I have one small problem that if I could solve I'd happy, it involves
> samba. I've been searching the new groups and the net for a day or so
> now and trying various fixes... none of which seem to fix my problem.
> Whenever I try to access the Redhat machine from 98 or XP (to laptops
> used for work over a wireless lan) I get 'is not accessible' or some
> other variant of this. Now in my messing around trying to solve this
> I'm convinced that it has something to do with the firewall that comes
> with RH9, because if I disable the firewall everything works fine.
>
> I think I need to enable port 137 for samba to work but I can't seem to
> do this, I've amended iptables to include this I think with....
>
> -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 137 --syn -j ACCEPT
>
> This is a copy of the previous line with the port changed After I
> restart the network services and check via nmap, the port is not
> reported and being open...
>
> Any ideas?
>
> Simon
I take it you can see the RH server, and that Samba is running. I'm not
aware that you need to open a port for samba, I know I have not, but then
I do not use LOKKIT I have written my own tables.
When you set up Samba, did you set up the smbpasswd file using
cat /etc/passwd | mksmbpasswd.sh /etc/samba/smbpasswd
and created the users with
smbpasswd <username>
--
Have fun
DaveG
--- Remove the .nospam to email ---
|
|
|
|
|