Re:[newbie] ftp for file sharing

2002-03-25 Thread Hanan Shargi

Sorry, the bastille firewall IS ON,
I tried service bastille-firewall stop and some rules scrolled on the screen 
= it was working ():-)

but after i stopped it, I noticed the following:
1- I lost the connection sharing , the win machine cannot see the internet 
anymore.
2- I CAN ping 192.168.0.1 = linux machine from w2k !!


I also noticed something else ( I noticed this a few days ago ) every time I 
change the following line in /etc/hosts file :
192.168.0.1 hanan.myisp.comhanan

to

192.168.0.1   hanan.homelan.com  hanan   ( chnage the host nam to 
reflect the my local lan )
it reverts back to the isp lan  ??

does this have to o with DHCP ?? does DHCP run automatically when one sets 
connection sharing ? 
If somebody kows about a place to read about this network setting and DHCP by 
editing the actual files tha need to be edited, I'd like to ge rid of al this 
GUI confusing settings.
for I still dont know WHY does control center BELIEVES that I have  eth cards 
!! when I only have 2 !!



-
Hanan AL-Shargi




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: Re:[newbie] ftp for file sharing

2002-03-25 Thread Brian Parish

OK - a few point I can clarify, although I can't answer all of them.

Obviously I can't read iptables settings 'cause I couldn't see any
reason why local packets would be rejected.  But yes, stopping the
firewall will stop your connection sharing.  This is not just a firewall
to keep things out - it also tells IP where to forward packets.

I wonder could you have eth0 listed as a public interface instead of as
a trusted interface.  I think that your bastille-firewall.cfg file
should read:

TRUSTED_IFACES=lo eth0
PUBLIC_IFACES=eth1

Perhaps check that first.

HTH
Brian

On Tue, 2002-03-26 at 00:13, Hanan Shargi wrote:
 Sorry, the bastille firewall IS ON,
 I tried service bastille-firewall stop and some rules scrolled on the screen 
 = it was working ():-)
 
 but after i stopped it, I noticed the following:
 1- I lost the connection sharing , the win machine cannot see the internet 
 anymore.
 2- I CAN ping 192.168.0.1 = linux machine from w2k !!
 
 
 I also noticed something else ( I noticed this a few days ago ) every time I 
 change the following line in /etc/hosts file :
 192.168.0.1   hanan.myisp.comhanan
 
 to
 
 192.168.0.1   hanan.homelan.com  hanan   ( chnage the host nam to 
 reflect the my local lan )
 it reverts back to the isp lan  ??
 
 does this have to o with DHCP ?? does DHCP run automatically when one sets 
 connection sharing ? 
 If somebody kows about a place to read about this network setting and DHCP by 
 editing the actual files tha need to be edited, I'd like to ge rid of al this 
 GUI confusing settings.
 for I still dont know WHY does control center BELIEVES that I have  eth cards 
 !! when I only have 2 !!
 
 
 
 -
 Hanan AL-Shargi
 
 
 
 

 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: Re:[newbie] ftp for file sharing

2002-03-25 Thread Brian Parish

Oops - forgot to address the DHCP question.

I should imagine that your eth1 interface would be set to get its
address via DHCP unless you are paying for a permanent address.  So this
being the case, yes it will mess with your host name.

Brian

On Tue, 2002-03-26 at 00:13, Hanan Shargi wrote:
 Sorry, the bastille firewall IS ON,
 I tried service bastille-firewall stop and some rules scrolled on the screen 
 = it was working ():-)
 
 but after i stopped it, I noticed the following:
 1- I lost the connection sharing , the win machine cannot see the internet 
 anymore.
 2- I CAN ping 192.168.0.1 = linux machine from w2k !!
 
 
 I also noticed something else ( I noticed this a few days ago ) every time I 
 change the following line in /etc/hosts file :
 192.168.0.1   hanan.myisp.comhanan
 
 to
 
 192.168.0.1   hanan.homelan.com  hanan   ( chnage the host nam to 
 reflect the my local lan )
 it reverts back to the isp lan  ??
 
 does this have to o with DHCP ?? does DHCP run automatically when one sets 
 connection sharing ? 
 If somebody kows about a place to read about this network setting and DHCP by 
 editing the actual files tha need to be edited, I'd like to ge rid of al this 
 GUI confusing settings.
 for I still dont know WHY does control center BELIEVES that I have  eth cards 
 !! when I only have 2 !!
 
 
 
 -
 Hanan AL-Shargi
 
 
 
 

 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] ftp for file sharing

2002-03-25 Thread dfox

 I also noticed something else ( I noticed this a few days ago ) every time I 
 change the following line in /etc/hosts file :
 192.168.0.1   hanan.myisp.comhanan

DHCP isn't supposed to affect that IP. That IP is by definition a 
private network IP. 

What you might be mising is that you didn't restart your network
services after modifying /etc/hosts.

A 'kill -1 1' as root should fix that. (Or 'service network restart').

 Hanan AL-Shargi





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com