[expert] Network problems

2002-02-16 Thread ken

Hi all,
I've run into a couple of problems the *fm's I can find don't solve.
How in 'ell do you UN configure the Internet connection sharing

#1: While trying to set up Internet connection sharing I fsck'd my local 
network e.g. NO NFS connection.. OK referring to a suggestion sent on this 
subject several weeks ago, I tried to then set up static IP addressing, Nope, 
no worky.. I don't get NFS OR connection sharing. Worse yet, now I can't even 
ping the nameserver of my IP, Dial Up Connection (216.190.159.2), so no 
Internet or email. I can ping my other computer(using local term window), the 
one I set as the dhcp server, leaving the IP address static on it. 
I'm using it to send this mail so it seems to be working OK as far as 
Internet connectivity is concerned.
#2 I though to my self, OK, if need be I'll set up SAMBA and use KOMBA2 to 
browse with. Well, Komba sees the share but as soon as it opens the file 
browser  it closes it right back down. This doesn't happen browsing a Corel 
Linux system I have set up as a file server, Komba works OK.
So as it stands right now, I don't have either Internet connection sharing or 
ANY kind of network that I can use.
My goal:
1: Intenert connection sharing over a 5 computer network(IP range from 
192.168.0.1 up, originally set up static on 192.168.10.x up). 
2: NFS networking between all of the 5 computers (all running MDK 8.1 except 
the Corel1.2 file server)
The system I want as a gateway machine is an Athalon 1.2Ghz, 512Mb RAM and a 
good 56K/bps modem. NIC is LinkSys 10/100 PCI, no problem with it.
I have a 3Com 10/100 12 port hub and a LinkSys switch being used as a hub to 
extend the distance of my short cables. Overall length is under 50 feet.
So, in total I need help figuring out how undo whatever the Wizard did OR 
get it configured right so I will have a usable network again.
Thanks,
Ken Thompson




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



Re: [expert] Network problems

2002-02-16 Thread Larry Sword

ken wrote:
 
 Hi all,
 I've run into a couple of problems the *fm's I can find don't solve.
 How in 'ell do you UN configure the Internet connection sharing
 
 #1: While trying to set up Internet connection sharing I fsck'd my local
 network e.g. NO NFS connection.. OK referring to a suggestion sent on this
 subject several weeks ago, I tried to then set up static IP addressing, Nope,
 no worky.. I don't get NFS OR connection sharing. Worse yet, now I can't even
 ping the nameserver of my IP, Dial Up Connection (216.190.159.2), so no
 Internet or email. I can ping my other computer(using local term window), the
 one I set as the dhcp server, leaving the IP address static on it.
 I'm using it to send this mail so it seems to be working OK as far as
 Internet connectivity is concerned.
 #2 I though to my self, OK, if need be I'll set up SAMBA and use KOMBA2 to
 browse with. Well, Komba sees the share but as soon as it opens the file
 browser  it closes it right back down. This doesn't happen browsing a Corel
 Linux system I have set up as a file server, Komba works OK.
 So as it stands right now, I don't have either Internet connection sharing or
 ANY kind of network that I can use.
 My goal:
 1: Intenert connection sharing over a 5 computer network(IP range from
 192.168.0.1 up, originally set up static on 192.168.10.x up).
 2: NFS networking between all of the 5 computers (all running MDK 8.1 except
 the Corel1.2 file server)
 The system I want as a gateway machine is an Athalon 1.2Ghz, 512Mb RAM and a
 good 56K/bps modem. NIC is LinkSys 10/100 PCI, no problem with it.
 I have a 3Com 10/100 12 port hub and a LinkSys switch being used as a hub to
 extend the distance of my short cables. Overall length is under 50 feet.
 So, in total I need help figuring out how undo whatever the Wizard did OR
 get it configured right so I will have a usable network again.
 Thanks,
 Ken Thompson

1. Recommend that you do a block diagram of the system as you wish to
configure it.

2. Review the documentation on setting up a network, Mandrake Linux
Reference Manual Chapter 15.

Larry
-- 
Sword'sEdge
VoiceMail/Fax: (858) 860-6406 x1587



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



Re: [expert] Network problems

2002-02-16 Thread ken

On Saturday 16 February 2002 04:47 pm, you wrote:
 ken wrote:
  Hi all,
  I've run into a couple of problems the *fm's I can find don't solve.
  How in 'ell do you UN configure the Internet connection sharing
 
  #1: While trying to set up Internet connection sharing I fsck'd my local
  network e.g. NO NFS connection.. OK referring to a suggestion sent on
  this subject several weeks ago, I tried to then set up static IP
  addressing, Nope, no worky.. I don't get NFS OR connection sharing. Worse
  yet, now I can't even ping the nameserver of my IP, Dial Up Connection
  (216.190.159.2), so no Internet or email. I can ping my other
  computer(using local term window), the one I set as the dhcp server,
  leaving the IP address static on it. I'm using it to send this mail so it
  seems to be working OK as far as Internet connectivity is concerned.
  #2 I though to my self, OK, if need be I'll set up SAMBA and use KOMBA2
  to browse with. Well, Komba sees the share but as soon as it opens the
  file browser  it closes it right back down. This doesn't happen browsing
  a Corel Linux system I have set up as a file server, Komba works OK.
  So as it stands right now, I don't have either Internet connection
  sharing or ANY kind of network that I can use.
  My goal:
  1: Intenert connection sharing over a 5 computer network(IP range from
  192.168.0.1 up, originally set up static on 192.168.10.x up).
  2: NFS networking between all of the 5 computers (all running MDK 8.1
  except the Corel1.2 file server)
  The system I want as a gateway machine is an Athalon 1.2Ghz, 512Mb RAM
  and a good 56K/bps modem. NIC is LinkSys 10/100 PCI, no problem with it.
  I have a 3Com 10/100 12 port hub and a LinkSys switch being used as a hub
  to extend the distance of my short cables. Overall length is under 50
  feet. So, in total I need help figuring out how undo whatever the
  Wizard did OR get it configured right so I will have a usable network
  again.
  Thanks,
  Ken Thompson

 1. Recommend that you do a block diagram of the system as you wish to
 configure it.

 2. Review the documentation on setting up a network, Mandrake Linux
 Reference Manual Chapter 15.

 Larry

Thanks Larry, that looks like just what I need..
FWIW I did a complete re-install on the machine in question trying to clean 
up Komba2 (it kills the file browser ONLY on other MDK machines).
Same exact problem, I can open a connection to and mount the share on my 
Corel Linux file server. The file browser opens and all is good.
I can open a connection to and mount a share on another MDK machine and the 
file browser opens and immediatly closes both windows.
On this machine everything works as advertised, any ideas
BTW static IP's on all at this point.. After fighting this thing for several 
days, I'll read a bunch before trying it again..
Nothng special about network, 4 machines connected to a 3Com 10/100 hub, an 
extra port on the hub goes to a switch used as a hub to give me 3 possible 
connections on the workbench. The ones on the workbench aren't always part of 
the network, only as needed.
Works out OK with static IP addressing. 
The problem I'm running into is trying to figure out how to set this machine 
as gateway for the rest, An Intranet, if you will..
Seems like every time I use the wizard, it makes a complete mess of my 
existing network.
Time to put on the glasses and get to work G thanks again.
Ken...



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



Re: [expert] Network problems

2002-02-16 Thread Larry Sword

ken wrote:
 
 On Saturday 16 February 2002 04:47 pm, you wrote:
  ken wrote:
   Hi all,
   I've run into a couple of problems the *fm's I can find don't solve.
   How in 'ell do you UN configure the Internet connection sharing
  
   #1: While trying to set up Internet connection sharing I fsck'd my local
   network e.g. NO NFS connection.. OK referring to a suggestion sent on
   this subject several weeks ago, I tried to then set up static IP
   addressing, Nope, no worky.. I don't get NFS OR connection sharing. Worse
   yet, now I can't even ping the nameserver of my IP, Dial Up Connection
   (216.190.159.2), so no Internet or email. I can ping my other
   computer(using local term window), the one I set as the dhcp server,
   leaving the IP address static on it. I'm using it to send this mail so it
   seems to be working OK as far as Internet connectivity is concerned.
   #2 I though to my self, OK, if need be I'll set up SAMBA and use KOMBA2
   to browse with. Well, Komba sees the share but as soon as it opens the
   file browser  it closes it right back down. This doesn't happen browsing
   a Corel Linux system I have set up as a file server, Komba works OK.
   So as it stands right now, I don't have either Internet connection
   sharing or ANY kind of network that I can use.
   My goal:
   1: Intenert connection sharing over a 5 computer network(IP range from
   192.168.0.1 up, originally set up static on 192.168.10.x up).
   2: NFS networking between all of the 5 computers (all running MDK 8.1
   except the Corel1.2 file server)
   The system I want as a gateway machine is an Athalon 1.2Ghz, 512Mb RAM
   and a good 56K/bps modem. NIC is LinkSys 10/100 PCI, no problem with it.
   I have a 3Com 10/100 12 port hub and a LinkSys switch being used as a hub
   to extend the distance of my short cables. Overall length is under 50
   feet. So, in total I need help figuring out how undo whatever the
   Wizard did OR get it configured right so I will have a usable network
   again.
   Thanks,
   Ken Thompson
 
  1. Recommend that you do a block diagram of the system as you wish to
  configure it.
 
  2. Review the documentation on setting up a network, Mandrake Linux
  Reference Manual Chapter 15.
 
  Larry
 
 Thanks Larry, that looks like just what I need..
 FWIW I did a complete re-install on the machine in question trying to clean
 up Komba2 (it kills the file browser ONLY on other MDK machines).
 Same exact problem, I can open a connection to and mount the share on my
 Corel Linux file server. The file browser opens and all is good.
 I can open a connection to and mount a share on another MDK machine and the
 file browser opens and immediatly closes both windows.
 On this machine everything works as advertised, any ideas
 BTW static IP's on all at this point.. After fighting this thing for several
 days, I'll read a bunch before trying it again..
 Nothng special about network, 4 machines connected to a 3Com 10/100 hub, an
 extra port on the hub goes to a switch used as a hub to give me 3 possible
 connections on the workbench. The ones on the workbench aren't always part of
 the network, only as needed.
 Works out OK with static IP addressing.
 The problem I'm running into is trying to figure out how to set this machine
 as gateway for the rest, An Intranet, if you will..
 Seems like every time I use the wizard, it makes a complete mess of my
 existing network.
 Time to put on the glasses and get to work G thanks again.
 Ken...

On the gateway machine, the one attached to the internet, is the router?
Whatever address this network card, the one that is connected to the hub
will be the gateway for all the other computers. So on the other
computers simple point then to this address as the gateway. Say the
address of the router is 192.1268.1.1, then this is the address of the
gateway that they would point to. Also on the computer use as the router
gateway insure that /etc/sysconfig/network has NETWORKING=yes and
FORWARD_IP4=true.

You may wish to add the other computers address and names in the
/etc/hosts file.

As for Komba2 you might try adding under the setting configure the range
of ip's to scan.  You may need to set the passwords up first. Also try
pinging from and to each machine.

Larry
-- 
Sword'sEdge
VoiceMail/Fax: (858) 860-6406 x1587




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



[expert] network problems with kernel 2.4.16

2001-12-04 Thread Octavi Fors

Hi everybody,

After succesfully installing Mandrake 8.1 on my PII 333MHz, and checking
everything was running allright (network included), I decided to download
kernel 2.4.16 sources for compiling it on my own.

Compilation and installation session run without apparent problems. It was
on booting sessions when I came across network failed. In particular, it
seems that although network interface eth0 is brought up succesfully, this
cannot be assigned to the IP address specified by me. I'm attaching the
corresponding tail of /var/log/messages file (some of lines are in
Spanish, but the ones concerning network failure are in English):

Dec  4 09:14:06 gaback date: dt dec  4 09:14:06 CET 2001 
Dec  4 09:14:06 gaback rc.sysinit: Setting clock  (localtime): dt dec  4 09:14:06 CET 
2001 succeeded 
Dec  4 09:14:06 gaback rc.sysinit: Loading default keymap succeeded 
Dec  4 09:14:06 gaback rc.sysinit: Activando partición de intercambio:  succeeded 
Dec  4 09:14:06 gaback rc.sysinit: Setting hostname gaback.ges.ub.es:  succeeded 
Dec  4 09:14:06 gaback fsck: /dev/hda6: clean, 87611/480960 files, 317508/961884 
blocks 
Dec  4 09:14:07 gaback rc.sysinit: Remontando sistema de archivos raíz en modo de 
lectura y escritura:  succeeded 
dec  4 09:14:07 gaback rc.sysinit: Encontrando dependencias de los módulos:  succeeded 
dec  4 09:14:08 gaback rc.sysinit: Montando los sistemas de archivos locales:  
succeeded 
dec  4 09:14:08 gaback rc.sysinit: Montando sistema de archivos loopback:  succeeded 
Dec  4 09:14:08 gaback devfsd[85]: read config file: /etc/devfsd.conf  
dec  4 09:14:08 gaback rc.sysinit: Running devfsd actions:  succeeded 
Dec  4 09:14:09 gaback loadkeys: Loading 
/usr/lib/kbd/keymaps/i386/qwerty/es-latin1.kmap.gz 
dec  4 09:14:09 gaback keytable: Loading keymap: es-latin1 succeeded 
Dec  4 09:14:09 gaback loadkeys: Loading 
/usr/lib/kbd/keymaps/include/compose.latin9.inc.gz 
dec  4 09:14:09 gaback keytable: Loading compose keys: compose.latin9.inc succeeded 
dec  4 09:14:10 gaback keytable:  succeeded 
dec  4 09:14:12 gaback rc.sysinit: Habilitando espacio de intercambio:  succeeded 
dec  4 09:14:14 gaback mandrake_everytime: Building Window Manager Sessions succeeded 
Dec  4 09:14:14 gaback modprobe: modprobe: Can't locate module eth1 
Dec  4 09:14:14 gaback modprobe: modprobe: Can't locate module eth2 
Dec  4 09:14:14 gaback modprobe: modprobe: Can't locate module eth3 
Dec  4 09:14:14 gaback modprobe: modprobe: Can't locate module eth4 
Dec  4 09:14:14 gaback modprobe: modprobe: Can't locate module eth5 
Dec  4 09:14:14 gaback modprobe: modprobe: Can't locate module eth6 
Dec  4 09:14:14 gaback modprobe: modprobe: Can't locate module eth7 
Dec  4 09:14:14 gaback modprobe: modprobe: Can't locate module eth8 
Dec  4 09:14:14 gaback modprobe: modprobe: Can't locate module eth9 
Dec  4 09:14:14 gaback devfsd[85]: error calling: unlink in GLOBAL  
Dec  4 09:14:15 gaback init: Entering runlevel: 3 
Dec  4 09:14:15 gaback devfsd[85]: error calling: unlink in GLOBAL  27Dec  4 
09:14:15 devfsd[85]: error calling: unlink in GLOBAL 
dec  4 09:14:15 gaback usb: Loading USB interface0 (usb-uhci) succeeded 
dec  4 09:14:16 gaback network: Configurando parámetros de red:  succeeded 
dec  4 09:14:16 gaback ifup: Cannot send dump request: Connection refused 
dec  4 09:14:16 gaback network: Activando la interfaz lo:  succeeded 
dec  4 09:14:17 gaback ifup: Cannot send dump request: Connection refused 
dec  4 09:14:19 gaback ifup: Cannot send dump request: Connection refused 
dec  4 09:14:19 gaback ifup: Error adding address 161.116.228.150 for eth0. 
dec  4 09:14:19 gaback ifup: Cannot send dump request: Connection refused 
dec  4 09:14:19 gaback ifup: bind: Cannot assign requested address 
dec  4 09:14:19 gaback ifup: Cannot send dump request: Connection refused 
dec  4 09:14:19 gaback ifup: Cannot talk to rtnetlink: Connection refused 
dec  4 09:14:19 gaback network: Bringing up interface eth0:  succeeded 
dec  4 09:14:20 gaback internet: Checking internet connections to start at boot 
succeeded 
Dec  4 09:14:23 gaback xinetd[857]: Service ftp: attribute already set: disable 
[line=16]
Dec  4 09:14:23 gaback xinetd[857]: chargen disabled, removing
Dec  4 09:14:23 gaback xinetd[857]: chargen-udp disabled, removing
Dec  4 09:14:23 gaback xinetd[857]: printer disabled, removing
Dec  4 09:14:23 gaback xinetd[857]: cvspserver disabled, removing
Dec  4 09:14:23 gaback xinetd[857]: daytime disabled, removing
Dec  4 09:14:23 gaback xinetd[857]: daytime-udp disabled, removing
Dec  4 09:14:23 gaback xinetd[857]: echo disabled, removing
Dec  4 09:14:23 gaback xinetd[857]: echo-udp disabled, removing
Dec  4 09:14:23 gaback xinetd[857]: linuxconf disabled, removing
Dec  4 09:14:23 gaback xinetd[857]: ftp disabled, removing
Dec  4 09:14:23 gaback xinetd[857]: rsync disabled, removing
Dec  4 09:14:23 gaback xinetd[857]: time disabled, removing
Dec  4 09:14:23 gaback xinetd[857]: time disabled, removing
Dec  4 09:14:23 gaback 

[expert] Network problems

2001-12-01 Thread Syed Irfan

hi

i have 2 computers connected to each other via a 5 port hub, i can ssh
to the other machine and vise versa withouth any problems but if i try
to transfer any file with about 1 or more mb 
tail -f /var/log/messages gives me


Dec  1 23:34:24 Main sshd:  succeeded
Dec  1 23:34:45 Main sshd(pam_unix)[1348]: session opened for user imran
by (uid=0)
Dec  1 23:34:51 Main kernel: NETDEV WATCHDOG: eth0: transmit timed out
Dec  1 23:35:23 Main last message repeated 4 times

after that i have to kill the ssh session and have to restart the
network only then i can ping the other pc

is it a problem of the hub ? its a surecom etherperfect 505st
if i connect the 2 computers using a cross over cable it never happens

the first machine has a 10/100base T Linksys, the other one is sis 900
10/100Ethernet card

network locks up on the machine with Linksys always

suggessions/need help on how can i be sure if its the hub or the linksys
card?

another thing, if i start the network at boot time i mean lo and eth0
then login on the desktop and start pppd then when i start the browser
it says url not found, i cant ping any outside websites or any thing.i
think its routing through the eth0 instead of the modem, how to change
this ?

thankyou very much
crazycrusoe
 



_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




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



RE: [expert] Network problems caused by 'Tiny Firewall' GUI in MDK

2001-11-09 Thread Franki

I have the 8.1 powerpack here, and it comes with a install and user manual
and a reference manual..

I will have a look in there for the tiny firewall details..

I haven't looked back see your initial question, but you might try looking
in /etc/sysconfig/iptables

I think that may be where tiny firewall keeps its rules and stuff.

I know one thing, for simple readability, ipchains beats the hell out of
iptables..

I have still not found a simple script platform like pmfirewall that asks a
bunch of questions in a console at install
then writes a nice easy to read list of rules, one per line with nice
comments on them, closes all the obvious gaps, and is really easy to modify
and add to... I have a massive list of rules in my 7.2 box in ipchains and
ipmasqadm, and I had the firewall setup to allow different ports open on 7
of my domains being hosted on that box..

Its tough to figure out how I am going to do it easily in iptables. I have a
basic script, but nothing that does all that I want yet.. wish someone had
written an online ipchains - iptables script with Javascript or something,
that would be very handy.   I only just figured out how to do port forwarding
with iptables last night..


rgds

Frank


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of J. Craig Woods
Sent: Friday, 9 November 2001 1:54 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [expert] Network problems caused by 'Tiny Firewall' GUI in
MDK


Ben Nicolas wrote:

 You were right in assuming my basic topology consisted of 1 LM 8.0 server
 (acting as a gateway/router) with 2 nic's.  Besides that all I have is one
 client machine running Win2K.

 Now that you mention it you're also right about not needing to have port
 139 open externally to use samba betw. my server and client.  Prior to
 this debacle I had never done any firewalling or used iptables/ipchains so
 my comment about needing 139 open earlier was due to lack of knowledge.
 Once I figure out what's preventing my client from accessing the internet
 and DBI from making to a connection to MySQL I will use iptables to secure
 up my network now that I understand how to create rules.  For now I'm
 primarily concerned with figuring out why my server won't forward requests
 made to servers outside my internal micro-lan.


I wish I could help you out with that Tiny crap stuff. I am just not
sure what it has left behind, in view of the fact that you have cleaned
it out from the usual directories. All I can say is dust off the old
'grep', and start a fine tooth search for any kind of Tiny or
firewall string in any file located in all of the usual directories.
BTW what does a netstat -rn output look like on your two machines?

If you need some assistance with the gateway/router set up, you are
welcome to call on me. I have set up this kind of thing before with
Samba and name server running on a LAN with W2K. Do let me know what the
resolution is to the Tiny (big) headache

--
J. Craig Woods
UNIX/NT SA

-Art is the illusion of spontaneity-





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



Re: [expert] Network problems caused by 'Tiny Firewall' GUI in MDK

2001-11-09 Thread J. Craig Woods

Franki wrote:
 
 Its tough to figure out how I am going to do it easily in iptables. I have a
 basic script, but nothing that does all that I want yet.. wish someone had
 written an online ipchains - iptables script with Javascript or something,
 that would be very handy. I only just figured out how to do port 
forwarding with iptables last night..
 
 rgds
 
 Frank
 

Frank, if you find some kind of conversion program, java or otherwise,
please let me know here on the list. I have a long list of rules for
ipchains written on one box, and something like a ipchains -- iptables
conversion would be great.

Thanks,  

Craig Woods
UNIX/NT SA

-Art is the illusion of spontaneity-



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



RE: [expert] Network problems caused by 'Tiny Firewall' GUI in MDK

2001-11-09 Thread Ben Nicolas

just solved my problem of not being able to connect to internet from client
using the iptables script at
www.yolinux.com/TUTORIALS/LinuxTutorialNetworkGateway.html  I didn't have
the basic rules set up to Forward packets from eth1

Still no luck w/ mysql but I've got ideas now...


-Original Message-
From: Franki [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 09, 2001 2:05 AM
To: [EMAIL PROTECTED]
Cc: NEWBIE Mandrake List
Subject: RE: [expert] Network problems caused by 'Tiny Firewall' GUI in
MDK



Ok, I have read your post, I will see what I can find out..

you didn't run msec at any stage and increase the security level did you?

if you did, that would explain alot..

try lowering it to 3 and see what happens..

that has fixed things for me before..

it may also explain why your sockets not working any more..

msec does some weird shit, like changing heaps of permissions (file and
directory), deleting files,
closing access to nearly everything via tcpwrappers and some other stuff I
haven't figured out yet.

I don't use msec anymore, close everything myself, it has caused to much
hassle and is too poorly documented to be of any use I think.

If anything is in need of a mandrake forum or user write up, then msec is
definatly it. (there may be one, but I have not found it.)

rgds

Frank
-Original Message-
From: Ben Nicolas [mailto:[EMAIL PROTECTED]]
Sent: Friday, 9 November 2001 5:44 PM
To: [EMAIL PROTECTED]
Subject: RE: [expert] Network problems caused by 'Tiny Firewall' GUI in
MDK


Hey buddy,

Thanks for e-mailing.  I'm kinda new to these lists.  I'm e-mailing you
indivuidually and not back to the list because you're answer impressed me.
 It was nice to read because you're the first guy that seems like he might
have an inkling of what my problem may be.  Don't have an
/etc/sysconfig/iptables file (don't know if that's cuz i'm running LM
8.0).  I flushed the iptables anyway using iptables -F , anyway.  I
posting a copy of my original post for you at www.dailystaple.com/mdk.  If
u could take a look at it and tell me if you think of anything, you'd be
the man!


 I have the 8.1 powerpack here, and it comes with a install and user
 manual and a reference manual..

 I will have a look in there for the tiny firewall details..

 I haven't looked back see your initial question, but you might try
 looking in /etc/sysconfig/iptables

 I think that may be where tiny firewall keeps its rules and stuff.

 I know one thing, for simple readability, ipchains beats the hell out
 of iptables..

 I have still not found a simple script platform like pmfirewall that
 asks a bunch of questions in a console at install
 then writes a nice easy to read list of rules, one per line with nice
 comments on them, closes all the obvious gaps, and is really easy to
 modify and add to... I have a massive list of rules in my 7.2 box in
 ipchains and ipmasqadm, and I had the firewall setup to allow different
 ports open on 7 of my domains being hosted on that box..

 Its tough to figure out how I am going to do it easily in iptables. I
 have a basic script, but nothing that does all that I want yet.. wish
 someone had written an online ipchains - iptables script with
 Javascript or something, that would be very handy. I only just figured
 out how to do port forwarding with iptables last night..


 rgds

 Frank


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of J. Craig Woods
 Sent: Friday, 9 November 2001 1:54 PM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Re: [expert] Network problems caused by 'Tiny Firewall' GUI in
 MDK


 Ben Nicolas wrote:

 You were right in assuming my basic topology consisted of 1 LM 8.0
 server (acting as a gateway/router) with 2 nic's.  Besides that all I
 have is one client machine running Win2K.

 Now that you mention it you're also right about not needing to have
 port 139 open externally to use samba betw. my server and client.
 Prior to this debacle I had never done any firewalling or used
 iptables/ipchains so my comment about needing 139 open earlier was due
 to lack of knowledge. Once I figure out what's preventing my client
 from accessing the internet and DBI from making to a connection to
 MySQL I will use iptables to secure up my network now that I
 understand how to create rules.  For now I'm primarily concerned with
 figuring out why my server won't forward requests made to servers
 outside my internal micro-lan.


 I wish I could help you out with that Tiny crap stuff. I am just not
 sure what it has left behind, in view of the fact that you have cleaned
 it out from the usual directories. All I can say is dust off the old
 'grep', and start a fine tooth search for any kind of Tiny or
 firewall string in any file located in all of the usual directories.
 BTW what does a netstat -rn output look like on your two machines?

 If you need some assistance with the gateway/router set up, you are
 welcome to call on me. I have

Re: [expert] Network problems caused by 'Tiny Firewall' GUI in MDK

2001-11-09 Thread jarmo kettunen

On Friday 09 November 2001 11:16, Franki wrote:

 I have still not found a simple script platform like pmfirewall that asks a
 bunch of questions in a console at install
 then writes a nice easy to read list of rules, one per line with nice

Hi

I asked some time ago little advice here on list,got very tiny,but brave as 
I am started looking around the webFount qoite good place to start.

Look http://www.linuxguruz.org/iptables
I bet you can find from there quite suitable solutionI did.

lets block

Jarmo



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



Re: [expert] Network problems caused by 'Tiny Firewall' GUI in MDK

2001-11-08 Thread Ben Nicolas

Mr. Woods Thank you very much for replying to my post.

port 139 I was leaving open for samba. I use samba so that I can download 
stuff straight from the internet to my linux box from my Win2K box. (At 
least I was back when my win2K box could connect to the internet).  As for 
port 6000 I may want to close that up you're right but right now I more 
concerned with removing security than adding anything.  I am trying to 
remove everything that stupide Firewall GUI added.  If u look at my 
original post you'll see I've flushed my iptables and removed any file 
beginning with rc.firewall* from my rc.d directory.  And obviously before 
I took any of those measures I went through the firewall GUI itself and 
undid as much as possible.  You're right I need someone who knows what the 
f#$k the 'Tiny Firewall' GUI does, I'm finding that impossible.  I even 
paid $15 for an expert to answer this question at MandrakeExpert.com.  The 
response I got was totally useless some guy that clearly didn't read my 
post clearly simply told me to turn off my firewall and then told me how 
to close off all the ports I listed as open via the nmap -v my_ip snapshot 
prior to this debacle...

Trust me I'll never use a GUI app in Linux again (I've already learned the 
hard way that RPM's were the brain child of Lucifer...)

If anyone out there knows anything about how the specifics of what the 
'Tiny Firewall' app does, I would highly appreciate your input relating to 
my problem

Thank you


 Ben Nicolas wrote:
 
 Thanks for replying Richard,
 
 The link you gave me basically told me it could connect to every port
 that Nmap could except 3306 which is where MySQL is listening.  That
 might explain why Scoop isn't working but I still don't get it because
 apache should be connecting to MySQL locally via sockets not
 externally via TCP which is why the link you gave me failed and
 running nmap locally worked. Like I mentioned below I double checked
 that both my mysql.sock file and the dir it lives in both have 777
 permissions. My problem is that my Win2K client is still not able to
 use my MDK server as a gateway to the internet. After I used the 'Tiny
 Firewall' application it did something that prevents my server from
 acting like a gateway and prevents access to the 3306 port MySQL is
 listening on.  I was hoping one of the experts in this forum would be
 able to tell me exactly what the 'Tiny Firewall' GUI does so that I
 could back out all of the changes it's made and use my network
 again...
 
  what nmap -v my_ip says is open post-debacle:
  (this is basically what I want)
  21/tcp openftp
  22/tcp openssh
  25/tcp opensmtp
  53/tcp opendomain
  80/tcp openhttp
  139/tcpopennetbios-ssn
  3128/tcp   opensquid-http
  3306/tcp   openmysql
  6000/tcp   openX11
 
 
  
 Apache will connect via unix sockets, and, if MySQL is on the same box
 as Apache, it will not be using TCP. It seems Tiny Firewalls is your
 culprit but you already know this. That is why I do not like that kind
 of shit. You are better off writing your own rules. Can you just
 un-install that crap? You don't really need an expert. You need someone
 that has used that Tiny Firewalls stuff.
 
 My question is why do you want all those ports open. Do you mean to
 say, for example, that you want to leave port 139, 6000 open? 
 
  
 -- 
 J. Craig Woods
 UNIX/NT SA
 
 -Art is the illusion of spontaneity-




""
Description: Binary data

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



Re: [expert] Network problems caused by 'Tiny Firewall' GUI in MDK

2001-11-08 Thread Ben Nicolas

Thanks for replying Richard,

The link you gave me basically told me it could connect to every port that
Nmap could except 3306 which is where MySQL is listening.  That might
explain why Scoop isn't working but I still don't get it because apache
should be connecting to MySQL locally via sockets not externally via TCP
which is why the link you gave me failed and running nmap locally worked.
Like I mentioned below I double checked that both my mysql.sock file and the
dir it lives in both have 777 permissions. My problem is that my Win2K
client is still not able to use my MDK server as a gateway to the internet. 
After I used the 'Tiny Firewall' application it did something that prevents
my server from acting like a gateway and prevents access to the 3306 port
MySQL is listening on.  I was hoping one of the experts in this forum would
be able to tell me exactly what the 'Tiny Firewall' GUI does so that I could
back out all of the changes it's made and use my network again...

-Ben


 Hi Ben , dont get caught by using nmap from the same machine, I did !!!
 got similar results, had a port scan done externally and it was OK. try
  http://mycgiserver.com/~kalish/
 
 
 HTH 
 
 Ben Nicolas wrote:
 
 I apologize if this message has reached this list multiple times, I'm
 using a web-based e-mail program I'm not familiar with because of the
 problem discussed below
 
 Network Setup
 Server/Internet Gateway/Router: Linux-Mandrake 8.0
 Client: Windows 2000
 
 What I did:
 My network was running fine until I ran the Tiny Firewall gui app
 (part of the Mandrake Control Center under Security)
 
 Problem:
 Now client can't connect to the internet.
 I was running Scoop which is an apache/mod-perl based web app that
 interacts heavily with MySQL via the Perl DBI module.  DBI can no
 longer connect to the MySQLdatabase.
 When I look at the error logs I see:
 failed: Can't connect to local MySQL server through socket
 '/var/lib/mysql/mysql.sock'
 And yes I have double checked to make sure the the socket mysql.sock
 is there and that both the dir /var/lib/mysql and the mysql.sock file
 are executable.
 
 Interesting info:
 The Server can still connect to the internet.
 I can still ping back and forth between both machines.  I can even
 ping the server by host name because I'm running my own DNS.
 I've tried iptables (-F, -X, and -Z) as well as run scripts I've found
 that supposedly reset iptables to their default values.
 I have also deleted all the rc.firewall* files in the /etc/rc.d dir
 created by the stupid GUI
 I can access mysql from the command line no prob using the username
 and password that apache connects as.
 I've scoured the internet to the best of my ability and have not been
 able to find any info to help me solve this utterly deabilitating
 problem.
 
 what nmap -v my_ip said were open pre-debacle:
 21/tcp openftp
 22/tcp openssh
 23/tcp opentelnet
 25/tcp opensmtp
 53/tcp opendomain
 80/tcp openhttp
 110/tcpopenpop-3
 111/tcpopensunrpc
 139/tcpopennetbios-ssn
 631/tcpopenunknown
 901/tcpopensamba-swat
 3128/tcp   opensquid-http
 3306/tcp   openmysql
 6000/tcp   openX11
 32770/tcp  opensometimes-rpc3
 
 what nmap -v my_ip says is open post-debacle:
 (this is basically what I want)
 21/tcp openftp
 22/tcp openssh
 25/tcp opensmtp
 53/tcp opendomain
 80/tcp openhttp
 139/tcpopennetbios-ssn
 3128/tcp   opensquid-http
 3306/tcp   openmysql
 6000/tcp   openX11
 
  

Name:
Type: unspecified type (application/octet-stream)
Encoding: base64
 
  

 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com
 
 -- 
 Richard Bown
 Ericsson Microwave Systems AB
 SE-431 84 Mölndal
 e-mail [EMAIL PROTECTED]
 tel +46 31 74 72422
 mobile +46 7098 72422





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



Re: [expert] Network problems caused by 'Tiny Firewall' GUI in MDK

2001-11-08 Thread J. Craig Woods

Ben Nicolas wrote:
 
 Mr. Woods Thank you very much for replying to my post.
 
 port 139 I was leaving open for samba. I use samba so that I can download
 stuff straight from the internet to my linux box from my Win2K box. (At
 least I was back when my win2K box could connect to the internet).  As for
 port 6000 I may want to close that up you're right but right now I more
 concerned with removing security than adding anything.  I am trying to
 remove everything that stupide Firewall GUI added.  If u look at my
 original post you'll see I've flushed my iptables and removed any file
 beginning with rc.firewall* from my rc.d directory.  And obviously before
 I took any of those measures I went through the firewall GUI itself and
 undid as much as possible.  You're right I need someone who knows what the
 f#$k the 'Tiny Firewall' GUI does, I'm finding that impossible.  I even
 paid $15 for an expert to answer this question at MandrakeExpert.com.  The
 response I got was totally useless some guy that clearly didn't read my
 post clearly simply told me to turn off my firewall and then told me how
 to close off all the ports I listed as open via the nmap -v my_ip snapshot
 prior to this debacle...
 
 Trust me I'll never use a GUI app in Linux again (I've already learned the
 hard way that RPM's were the brain child of Lucifer...)
 
 If anyone out there knows anything about how the specifics of what the
 'Tiny Firewall' app does, I would highly appreciate your input relating to
 my problem
 
 Thank you
 

OK, I am confused. Maybe we should back track a bit. I was under the
impression that this was a gateway/router box with two NIC's, one
internal and one external. In which case, you would not want any port
open, such as netbios/samba (port 139), to the external side. If you
would explain your network typology, maybe we could help...

-- 
J. Craig Woods
UNIX/NT SA

-Art is the illusion of spontaneity-



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



Re: [expert] Network problems caused by 'Tiny Firewall' GUI in MDK

2001-11-08 Thread Ben Nicolas

You were right in assuming my basic topology consisted of 1 LM 8.0 server 
(acting as a gateway/router) with 2 nic's.  Besides that all I have is one 
client machine running Win2K.

Now that you mention it you're also right about not needing to have port 
139 open externally to use samba betw. my server and client.  Prior to 
this debacle I had never done any firewalling or used iptables/ipchains so 
my comment about needing 139 open earlier was due to lack of knowledge.  
Once I figure out what's preventing my client from accessing the internet 
and DBI from making to a connection to MySQL I will use iptables to secure 
up my network now that I understand how to create rules.  For now I'm 
primarily concerned with figuring out why my server won't forward requests 
made to servers outside my internal micro-lan.



 Ben Nicolas wrote:
 
 Mr. Woods Thank you very much for replying to my post.
 
 port 139 I was leaving open for samba. I use samba so that I can
 download stuff straight from the internet to my linux box from my
 Win2K box. (At least I was back when my win2K box could connect to the
 internet).  As for port 6000 I may want to close that up you're right
 but right now I more concerned with removing security than adding
 anything.  I am trying to remove everything that stupide Firewall GUI
 added.  If u look at my original post you'll see I've flushed my
 iptables and removed any file beginning with rc.firewall* from my rc.d
 directory.  And obviously before I took any of those measures I went
 through the firewall GUI itself and undid as much as possible.  You're
 right I need someone who knows what the f#$k the 'Tiny Firewall' GUI
 does, I'm finding that impossible.  I even paid $15 for an expert to
 answer this question at MandrakeExpert.com.  The response I got was
 totally useless some guy that clearly didn't read my post clearly
 simply told me to turn off my firewall and then told me how to close
 off all the ports I listed as open via the nmap -v my_ip snapshot
 prior to this debacle...
 
 Trust me I'll never use a GUI app in Linux again (I've already learned
 the hard way that RPM's were the brain child of Lucifer...)
 
 If anyone out there knows anything about how the specifics of what the
 'Tiny Firewall' app does, I would highly appreciate your input
 relating to my problem
 
 Thank you
 
 
 OK, I am confused. Maybe we should back track a bit. I was under the
 impression that this was a gateway/router box with two NIC's, one
 internal and one external. In which case, you would not want any port
 open, such as netbios/samba (port 139), to the external side. If you
 would explain your network typology, maybe we could help...
 
 -- 
 J. Craig Woods
 UNIX/NT SA
 
 -Art is the illusion of spontaneity-




""
Description: Binary data

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



Re: [expert] Network problems caused by 'Tiny Firewall' GUI in MDK

2001-11-08 Thread J. Craig Woods

Ben Nicolas wrote:
 
 You were right in assuming my basic topology consisted of 1 LM 8.0 server
 (acting as a gateway/router) with 2 nic's.  Besides that all I have is one
 client machine running Win2K.
 
 Now that you mention it you're also right about not needing to have port
 139 open externally to use samba betw. my server and client.  Prior to
 this debacle I had never done any firewalling or used iptables/ipchains so
 my comment about needing 139 open earlier was due to lack of knowledge.
 Once I figure out what's preventing my client from accessing the internet
 and DBI from making to a connection to MySQL I will use iptables to secure
 up my network now that I understand how to create rules.  For now I'm
 primarily concerned with figuring out why my server won't forward requests
 made to servers outside my internal micro-lan.
 

I wish I could help you out with that Tiny crap stuff. I am just not
sure what it has left behind, in view of the fact that you have cleaned
it out from the usual directories. All I can say is dust off the old
'grep', and start a fine tooth search for any kind of Tiny or
firewall string in any file located in all of the usual directories.
BTW what does a netstat -rn output look like on your two machines? 

If you need some assistance with the gateway/router set up, you are
welcome to call on me. I have set up this kind of thing before with
Samba and name server running on a LAN with W2K. Do let me know what the
resolution is to the Tiny (big) headache

-- 
J. Craig Woods
UNIX/NT SA

-Art is the illusion of spontaneity-



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



Re: [expert] network problems

2001-03-16 Thread stephen

On Wed, 14 Mar 2001, Tom Stockton you wrote:
 Hi 
 
 What would cause my 2 machine network (connected by crossover cable) to

can you physically swap the network interfaces ??

istr having something similar,  swapping the cards swopped the problem
proving one end faulty

stephen  parkinson




[expert] network problems

2001-03-15 Thread Tom Stockton

Hi 

What would cause my 2 machine network (connected by crossover cable) to
only send data one way down the cable.  If I run tcpdump on both
interfaces and ping each other then I can see pc1 receiving arp requests
and replying , but pc2 only shows the outgoing arp request, it does not
see the response from pc1.  

The hardware is all functioning correctly, I have tested 2 cables, I have
also purchased an additional network card and got this running but still
no luck.  I reckon the interfaces are configured ok - no errors reported
at boot and ifconfig shows loopback and eth0 ok.

Pc1 is an old compaq prosignia 300 and pc2 is a no name amd duron with a
netgear fa311 pci nic.  Therefore either the compaq is unable to send data
OR the duron is unable to receive.  Both interfaces are on 192.168.10
network and there are no reports of network unreachable.

Any help or advice much appreciated.

Tom Stockton





Re: [expert] network problems

2001-03-15 Thread Robert


Hi Tom,

I've had very similar problems. When I tried this list I got no reply for
an answer, so it's not solved. However, I found that if I run 

ifdown eth0
ifup eth0

on one machine, sometimes both, everything works fine. I might bother
putting those in the rc.local.

Robert

On Wed, 14 Mar 2001, Tom Stockton wrote:

 Hi 
 
 What would cause my 2 machine network (connected by crossover cable) to
 only send data one way down the cable.  If I run tcpdump on both
 interfaces and ping each other then I can see pc1 receiving arp requests
 and replying , but pc2 only shows the outgoing arp request, it does not
 see the response from pc1.  
 
 The hardware is all functioning correctly, I have tested 2 cables, I have
 also purchased an additional network card and got this running but still
 no luck.  I reckon the interfaces are configured ok - no errors reported
 at boot and ifconfig shows loopback and eth0 ok.
 
 Pc1 is an old compaq prosignia 300 and pc2 is a no name amd duron with a
 netgear fa311 pci nic.  Therefore either the compaq is unable to send data
 OR the duron is unable to receive.  Both interfaces are on 192.168.10
 network and there are no reports of network unreachable.
 
 Any help or advice much appreciated.
 
 Tom Stockton
 
 
 





Re: [expert] network problems

2001-03-15 Thread Bill Kenworthy

Check out the "route" command.  It is possible that your gateway is the
wrong device.  All installs of Mandrake on my machine (and recently a
laptop at work) have had the gateway default to either the wrong device
or ip number (.254) which kills network function stone dead - packets go
out, but nothing comes back (of course)

BillK

Robert wrote:
 
 Hi Tom,
 
 I've had very similar problems. When I tried this list I got no reply for
 an answer, so it's not solved. However, I found that if I run
 
 ifdown eth0
 ifup eth0
 
 on one machine, sometimes both, everything works fine. I might bother
 putting those in the rc.local.
 
 Robert
 
 On Wed, 14 Mar 2001, Tom Stockton wrote:





Re: [expert] network problems

2001-03-15 Thread claude

Hi,

I had some thing simmilar (not the same) where comp A would receive pings 
from either comp B or comp C but not could not reply.  I had two NIC's on 
comp A and they were both on the 192.168.1.0 network.  It turned out that 
this caused an ambiguity. This is because it is assumed that if there are two 
routes to the same network, then all hosts on that network can be accessed 
via either route.  Hope this helps.

CjD




Re: [expert] network problems

2001-03-15 Thread Robert



No!! Messing about with the route and ifconfig commands never worked in my
case at least. After the ifdown/ifup sequence the routes are unaffected
anyway. I find it interesting that I have the same nic involved, the
Netgear FA311.

Thanks for trying to help though, I think you are the only one on this
list who had a suggestion. 

Robert


On Fri, 16 Mar 2001, Bill Kenworthy wrote:

 Check out the "route" command.  It is possible that your gateway is the
 wrong device.  All installs of Mandrake on my machine (and recently a
 laptop at work) have had the gateway default to either the wrong device
 or ip number (.254) which kills network function stone dead - packets go
 out, but nothing comes back (of course)
 
 BillK
 
 Robert wrote:
  
  Hi Tom,
  
  I've had very similar problems. When I tried this list I got no reply for
  an answer, so it's not solved. However, I found that if I run
  
  ifdown eth0
  ifup eth0
  
  on one machine, sometimes both, everything works fine. I might bother
  putting those in the rc.local.
  
  Robert
  
  On Wed, 14 Mar 2001, Tom Stockton wrote:
 
 
 





Re: [expert] network problems

2001-03-15 Thread Bug Hunter


  /etc/rc.d/init.d/network restart


On Fri, 16 Mar 2001, Robert wrote:

 
 
 No!! Messing about with the route and ifconfig commands never worked in my
 case at least. After the ifdown/ifup sequence the routes are unaffected
 anyway. I find it interesting that I have the same nic involved, the
 Netgear FA311.
 
 Thanks for trying to help though, I think you are the only one on this
 list who had a suggestion. 
 
 Robert
 
 
 On Fri, 16 Mar 2001, Bill Kenworthy wrote:
 
  Check out the "route" command.  It is possible that your gateway is the
  wrong device.  All installs of Mandrake on my machine (and recently a
  laptop at work) have had the gateway default to either the wrong device
  or ip number (.254) which kills network function stone dead - packets go
  out, but nothing comes back (of course)
  
  BillK
  
  Robert wrote:
   
   Hi Tom,
   
   I've had very similar problems. When I tried this list I got no reply for
   an answer, so it's not solved. However, I found that if I run
   
   ifdown eth0
   ifup eth0
   
   on one machine, sometimes both, everything works fine. I might bother
   putting those in the rc.local.
   
   Robert
   
   On Wed, 14 Mar 2001, Tom Stockton wrote:
  
  
  
 
 





[expert] Network problems

2000-01-24 Thread Robert J Bartels

I have a Dell Inspiron 7000...
I just installed the new Mandrake Air, everything works great cept the 
networking.
I have a 3com 10/100 card (no modem) I think its a 3c575. When I installed the
system ISMOD crashed when detecting the card so I skipped the network 
installation.
It DID give the correct info about the card on a screen for about 1.5 
seconds before it crashed.
I manually set up the card with netconf.. I put in the ip/dns/routes.. I 
selected a
mask of 255.255.0.0 and selected interface eth0.. I put nothing in for the
kernel module or irq, i/o ports..
I started pcmcia and networking.. Running ifconfig eth0 gives me the 
correct info..
It gives me the ip addy I gave it as well as the nics hardware addresss...
I can ping localhost AND the ip I gave the card (same ip that works with 
windows)
That is as far as I get though.. nslookup fails cuz it cannot find the 
servers.. I can't ping
any other machine
Any ideas??? Dell seems to have released a 3c575.rpm but its for RedHat... 
go figure...
Thanks,

Bob



[expert] Network Problems.

1999-12-16 Thread Sean Armstrong

Ok. I am not sure if this is off topic or not so
bare with me. My work network is a NT network
and most of the computers are Win98 or NT. As
a matter of fact only three are others(2 linux
boxes and 1 Mac). Our network has two different
sets of IP blocks for use. Since they are different
if I use an IP from the block that is not part
of the main IP adresses I can not see my computer from
another win computer. I can not communicate with
the other block of IPs. I can still connect to the mail
server and the internet. I think the firewall the company
has up may be blocking access between the two
blocks of IP addresses since SAMB uses TCP/IP to
communicate to the network. The network servers
are on the main block of IPs and I don't want to
have to go back to DHCP because that's just as useless.
Any ideas on how to get around this problem?
Thanx,
SA
__
Get Your Private, Free Email at http://www.hotmail.com



Re: [expert] Network Problems.

1999-12-16 Thread Dan Swartzendruber

At 01:39 PM 12/16/99 -0600, Sean Armstrong wrote:

Ok. I am not sure if this is off topic or not so
bare with me. My work network is a NT network
and most of the computers are Win98 or NT. As
a matter of fact only three are others(2 linux
boxes and 1 Mac). Our network has two different
sets of IP blocks for use. Since they are different
if I use an IP from the block that is not part
of the main IP adresses I can not see my computer from
another win computer. I can not communicate with
the other block of IPs. I can still connect to the mail
server and the internet. I think the firewall the company
has up may be blocking access between the two
blocks of IP addresses since SAMB uses TCP/IP to
communicate to the network. The network servers
are on the main block of IPs and I don't want to
have to go back to DHCP because that's just as useless.


I doubt there is a firewall between the two blocks of IP's.  More likely, 
you did not set up your mandrake box with the right gateway address in your 
subnet.  e.g. if the two blocks are 192.168.1.0/255.255.255.0 and 
192.168.2.0/255.255.255.0, there must be a corporate router that each 
subnet can talk to (with an address in each of those subnets).  So, for 
example, if your subnet is the 192.168.2.0 subnet, and they tell you the 
gateway for that subnet is 192.168.2.1, then you put that in the default 
gateway entry for you mandrake box, and you will be able to see all 
addresses in the the 192.168.1.0 block as well (since they are not local to 
your subnet, linux will automatically forward packets for them to the 
router...)





Re: [expert] Network Problems.

1999-12-16 Thread Bug Hunter


  under Windows NT, you have the ability (under the "advanced" button in
tcp/ip settings) to have multiple ip addresses or networks on your
machine.

  also, under linux, using ip alias, you can have multiple ip addresses or
networks on your machine.  linuxconf may set that up for you.

bug

On Thu, 16 Dec 1999, Sean Armstrong wrote:

 Ok. I am not sure if this is off topic or not so
 bare with me. My work network is a NT network
 and most of the computers are Win98 or NT. As
 a matter of fact only three are others(2 linux
 boxes and 1 Mac). Our network has two different
 sets of IP blocks for use. Since they are different
 if I use an IP from the block that is not part
 of the main IP adresses I can not see my computer from
 another win computer. I can not communicate with
 the other block of IPs. I can still connect to the mail
 server and the internet. I think the firewall the company
 has up may be blocking access between the two
 blocks of IP addresses since SAMB uses TCP/IP to
 communicate to the network. The network servers
 are on the main block of IPs and I don't want to
 have to go back to DHCP because that's just as useless.
 Any ideas on how to get around this problem?
 Thanx,
 SA
 __
 Get Your Private, Free Email at http://www.hotmail.com
 



Re: [expert] Network Problems.

1999-12-16 Thread Robert j Bartels

While not fully understanding you question..
If your wondering why you cannot see the different subnets 
via the network neighborhood or smbclient then this is your answer.
The netbios that your windows machines use cannot cross subnets without
the help of a router. To fix this Micro$oft created something known as a master
browser.  If you set your linux box with samba to be the master browser and you
point all of your windows machines to it you will be able to see machines across a 
network. You must tell your windows machines what the master browser is. This is
done via the WINS PRIMARY SERVER box found somewhere in the networking.
This master browser is just a server that keeps track of where "network neighborhood"
machines are located.
You can adjust the priority of you samba box to become the master browser
for the whole network...

BTW

Since you say you can get to your POP server and the internet.. I'd say it
has nothing to do with your gateway settings.

.02

Bob


At 01:39 PM 12/16/99 -0600, Sean Armstrong wrote:

Ok. I am not sure if this is off topic or not so
bare with me. My work network is a NT network
and most of the computers are Win98 or NT. As
a matter of fact only three are others(2 linux
boxes and 1 Mac). Our network has two different
sets of IP blocks for use. Since they are different
if I use an IP from the block that is not part
of the main IP adresses I can not see my computer from
another win computer. I can not communicate with
the other block of IPs. I can still connect to the mail
server and the internet. I think the firewall the company
has up may be blocking access between the two
blocks of IP addresses since SAMB uses TCP/IP to
communicate to the network. The network servers
are on the main block of IPs and I don't want to
have to go back to DHCP because that's just as useless.


I doubt there is a firewall between the two blocks of IP's.  More likely, you did not 
set up your mandrake box with the right gateway address in your subnet.  e.g. if the 
two blocks are 192.168.1.0/255.255.255.0 and 192.168.2.0/255.255.255.0, there must be 
a corporate router that each subnet can talk to (with an address in each of those 
subnets).  So, for example, if your subnet is the 192.168.2.0 subnet, and they tell 
you the gateway for that subnet is 192.168.2.1, then you put that in the default 
gateway entry for you mandrake box, and you will be able to see all addresses in the 
the 192.168.1.0 block as well (since they are not local to your subnet, linux will 
automatically forward packets for them to the router...)






Re: [expert] network problems on Mandrake 6

1999-09-16 Thread Herman Van Keer (softouch)

Mike Hill wrote:

 Herman,

 I have the exact same network card combo here.  (two 3c905b's).

 I have the same information in /etc/conf.modules also.  Mine works fine.
 One NIC (eth0) goes to my Cable modem and the second NIC (eth1) goes to my
 hub for my local network.

eth0 goes to the router - works, because another linux box is just doing fine
on IP masqueradingeth1 goes to local network
(so looks indeed pretty much the same)

 What output does ifconfig give for eth0 and eth1?  What are you trying to
 ping? Some more information on the structure of the network and how
 everything is connected would be helpful.

Here is (hopefully) some useful information:** ifconfig 
eth0  Link encap:Ethernet  HWaddr 00:10:5A:9A:97:AB
  inet addr:209.115.168.27  Bcast:209.115.168.255  Mask:255.255.255.0

  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:987 errors:0 dropped:0 overruns:0 carrier:987
  collisions:0 txqueuelen:100
  Interrupt:5 Base address:0xe800

eth1  Link encap:Ethernet  HWaddr 00:10:5A:9A:97:B5
  inet addr:192.168.42.91  Bcast:192.168.42.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:165 errors:0 dropped:0 overruns:0 frame:0
  TX packets:116 errors:0 dropped:0 overruns:0 carrier:0
  collisions:1 txqueuelen:100
  Interrupt:9 Base address:0xec00

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  UP LOOPBACK RUNNING  MTU:3924  Metric:1
  RX packets:673 errors:0 dropped:0 overruns:0 frame:0
  TX packets:673 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0

* ipchains -L *
Chain input (policy ACCEPT):
Chain forward (policy ACCEPT):
Chain output (policy ACCEPT):

** route *
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface

209.115.168.27*  255.255.255.255 UH0  00 eth0

209.115.168.0  *  255.255.255.0   U 0  00
eth0
192.168.42.0*  255.255.255.0   U 0  00
eth1
127.0.0.0   *   255.0.0.0   U 0  0
0 lo
default 209.115.168.25  0.0.0.0 UG0  00 eth0

When i try to ping the internal network, it is OK - ping 192.168.42.99
(another host)
When I try to ping 209.115.168.25 (the router - ISDN to ISP) nothing happens
= 100% packets lost

The funniest thing too is that the card seems to be dead - no lights (the one
of the external network eth0 - while eth1 is on)

Another funny thing is, when I do a reinstall with RedHat 5.1 = no tweaking
whatsoever (apart from inserting the eth1 in /etc/conf.modules) - and that
just works fine.

Thanks for your help
Herman



Re: [expert] network problems on Mandrake 6

1999-09-16 Thread Herman Van Keer (softouch)

Axalon Bloodstone wrote:
Have a look at your routeing odds are it's screwed up.

Here it is
** route *
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface

209.115.168.27  *   255.255.255.255 UH0  00 eth0
209.115.168.0   *   255.255.255.0   U 0  00 eth0
192.168.42.0*   255.255.255.0   U 0  00 eth1
127.0.0.0   *   255.0.0.0   U 0  00 lo
default 209.115.168.25  0.0.0.0 UG0  00 eth0

As I told to Mike, the same hardware just runs fine with RedHat 5.1
I mention this because I want you to be sure that the hardware is working as
it should.
So something (with Mandrake and this hardware) is screwing up things.

Mike's config works fine, as well as a friend of mine's setup - basically the
same and both are using Mandrake.

Thanks for your advise
Herman



Re: [expert] network problems on Mandrake 6

1999-09-16 Thread Axalon Bloodstone

On Thu, 16 Sep 1999, Herman Van Keer (softouch) wrote:

 Axalon Bloodstone wrote:
 Have a look at your routeing odds are it's screwed up.
 
 Here it is
 ** route *
 Kernel IP routing table
 Destination Gateway Genmask Flags Metric RefUse Iface
 
 209.115.168.27  *   255.255.255.255 UH0  00 eth0
 209.115.168.0   *   255.255.255.0   U 0  00 eth0
 192.168.42.0*   255.255.255.0   U 0  00 eth1
 127.0.0.0   *   255.0.0.0   U 0  00 lo
 default 209.115.168.25  0.0.0.0 UG0  00 eth0
 
 As I told to Mike, the same hardware just runs fine with RedHat 5.1
 I mention this because I want you to be sure that the hardware is working as
 it should.
 So something (with Mandrake and this hardware) is screwing up things.
 
 Mike's config works fine, as well as a friend of mine's setup - basically the
 same and both are using Mandrake.
 
 Thanks for your advise
 Herman
 

Problem is likely the 2.2.x kernel then. 2.2 handles routeing semi
automagicly. What card is it (i've forgotten if you told us already)
Shoot i just read your reply to mike too, and i've forgot already
can you ping 209.115.168.25 or 209.115.168.27? Also which kernel?

--
MandrakeSoft  http://www.mandrakesoft.com/
--Axalon



Re: [expert] network problems on Mandrake 6

1999-09-16 Thread Herman Van Keer (softouch)

Axalon Bloodstone wrote:

 On Thu, 16 Sep 1999, Herman Van Keer (softouch) wrote:
  As I told to Mike, the same hardware just runs fine with RedHat 5.1
  I mention this because I want you to be sure that the hardware is working as
  it should.
  So something (with Mandrake and this hardware) is screwing up things.
 
  Mike's config works fine, as well as a friend of mine's setup - basically the
  same and both are using Mandrake.
 
  Thanks for your advise
  Herman
 

 Problem is likely the 2.2.x kernel then. 2.2 handles routeing semi
 automagicly. What card is it (i've forgotten if you told us already)
 Shoot i just read your reply to mike too, and i've forgot already
 can you ping 209.115.168.25 or 209.115.168.27? Also which kernel?

It's OK - here you go:  (I'll leave my machine open for a while;-))cards
are (both) 3c905B-Tx
Kernel=2.2.9-19mdk

Ping to 209.115.168.27 is OK, but I've been told that a ping of the own IP address
doesn't even touch the card???
209.115.168.25 is as dead as can be (and everything else I should be able to reach
on our little 209.115.168.xx sub-network)

I can ping the internal network 192.168.42.xx

And as I told before:
the whole configuration works with an older RedHat 5.1 - Linux 2.0.35
(I tell you this *ONLY*  for the sake of confirming that the hardware runs
perfectly - I do want to change to the newer kernel - and Mandrake - I liked very
much what I saw until now)

Thanks,
Herman



Re: [expert] network problems on Mandrake 6

1999-09-16 Thread Mike Hill

Herman,

It seems odd that your not even seeing a light on the eth0 to show that it
is connected.  That seems to be your main problem.  You might want to check
when your using RedHat 5.1 what IRQ and IO address the cards are using.  My
dual 3C905b's share IRQ 9.  If 5.1 is setting it different you might want to
put the settings in your conf.modules on Mandrake.

Also are you using DHCP on eth0 or setting it static?

Are you trying to set it up so that your local net goes through eth0?

If so.

Couple things I would check is to make sure you have routing turned on.  You
can get to it through linuxconf under "Networks/Routing and gateways/set
defaults"  Make sure "Enable Routing" is checked.

Here is a very basic ipchains example to get your eth1 local net to forward
through to eth0.

ipchains -P forward DENY
ipchains -A forward -i eth0 -j MASQ

Mike

- Original Message -
From: Herman Van Keer (softouch) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 16, 1999 12:09 PM
Subject: Re: [expert] network problems on Mandrake 6

 The funniest thing too is that the card seems to be dead - no lights (the
one
 of the external network eth0 - while eth1 is on)

 Another funny thing is, when I do a reinstall with RedHat 5.1 = no
tweaking
 whatsoever (apart from inserting the eth1 in /etc/conf.modules) - and that
 just works fine.

 Thanks for your help
 Herman




Re: [expert] network problems on Mandrake 6

1999-09-16 Thread Axalon Bloodstone

On Thu, 16 Sep 1999, Herman Van Keer (softouch) wrote:

 Axalon Bloodstone wrote:
 
  On Thu, 16 Sep 1999, Herman Van Keer (softouch) wrote:
   As I told to Mike, the same hardware just runs fine with RedHat 5.1
   I mention this because I want you to be sure that the hardware is working as
   it should.
   So something (with Mandrake and this hardware) is screwing up things.
  
   Mike's config works fine, as well as a friend of mine's setup - basically the
   same and both are using Mandrake.
  
   Thanks for your advise
   Herman
  
 
  Problem is likely the 2.2.x kernel then. 2.2 handles routeing semi
  automagicly. What card is it (i've forgotten if you told us already)
  Shoot i just read your reply to mike too, and i've forgot already
  can you ping 209.115.168.25 or 209.115.168.27? Also which kernel?
 
 It's OK - here you go:  (I'll leave my machine open for a while;-))cards
 are (both) 3c905B-Tx
 Kernel=2.2.9-19mdk

I sugesst updateing this to atleast the 2.2.9-27mdk before the umount and
core dump problems hit you. Going to the kernel from cooker would be even
better as it's got updated nic drivers that may save a butt load of
debuging.
 
 Ping to 209.115.168.27 is OK, but I've been told that a ping of the own IP address
 doesn't even touch the card???
 209.115.168.25 is as dead as can be (and everything else I should be able to reach
 on our little 209.115.168.xx sub-network)

Card has tx/rx lights do they work? Check ifconfig, is it recording
TX/RX errors or colisions or anything of that nature. I don't know if that
card gets assigned an IRQ but if it does you should notice it's entry in
/proc/interupts will change everytime you try to use the card, does this
happen?

 I can ping the internal network 192.168.42.xx

Try reversing the cards maybe, like swap the alias eth0 for the alias
eth1. If you know what i mean then you will know if it's the card/driver
or the config . 

 And as I told before:
 the whole configuration works with an older RedHat 5.1 - Linux 2.0.35
 (I tell you this *ONLY*  for the sake of confirming that the hardware runs
 perfectly - I do want to change to the newer kernel - and Mandrake - I liked very
 much what I saw until now)
 
 Thanks,
 Herman
 
 

--
MandrakeSoft  http://www.mandrakesoft.com/
--Axalon



Re: [expert] network problems on Mandrake 6

1999-09-16 Thread Mike Fieschko

 "Axalon" == Axalon Bloodstone [EMAIL PROTECTED] writes:

[snip]

Axalon I sugesst updateing this to atleast the 2.2.9-27mdk before
Axalon the umount and core dump problems hit you. Going to the
Axalon kernel from cooker would be even better as it's got
Axalon updated nic drivers that may save a butt load of debuging.
 
cooker at rpmfind.net has kernel-2.2.13-6mdk.i586.rpm

6.1 at rpmfind.net has kernel-2.2.13-7mdk.i586.rpm

Is one to be preferred for this problem?

-- 
Mike Fieschko, West Orange, NJ, USA
X-Mailer: XEmacs 21.1, VM 6.71 and random-sig.el
X-Face header is me! http://www.cs.indiana.edu/picons/ftp/faq.html
Kernel 2.2.13-5mdk 
Sep 16 Sts Cornelius and Cyprian or Sts Euphemia, Lucy and Germinianus
"We hear much about new religions; many of them based on the very
latest novelties of Buddha and Pythagoras."  [G.K. Chesterton, in The
Thing: Why I Am a Catholic]



Re: [expert] network problems on Mandrake 6

1999-09-16 Thread Axalon Bloodstone

On Thu, 16 Sep 1999, Mike Fieschko wrote:

  "Axalon" == Axalon Bloodstone [EMAIL PROTECTED] writes:
 
 [snip]
 
 Axalon I sugesst updateing this to atleast the 2.2.9-27mdk before
 Axalon the umount and core dump problems hit you. Going to the
 Axalon kernel from cooker would be even better as it's got
 Axalon updated nic drivers that may save a butt load of debuging.
  
 cooker at rpmfind.net has kernel-2.2.13-6mdk.i586.rpm
 
 6.1 at rpmfind.net has kernel-2.2.13-7mdk.i586.rpm
 
 Is one to be preferred for this problem?
 
kernel-2.2.13-7mdk.i586.rpm, cooker is lagging in a few places right now. 

--
MandrakeSoft  http://www.mandrakesoft.com/
--Axalon



[expert] network problems on Mandrake 6

1999-09-15 Thread Herman Van Keer (softouch)

Hi,

After installing Linux Mandrake 6.0 I do have a problem with my network:

Motherboard GA-6BXC (Gigabyte)
Two network cards 3com - 3C905B-TX  (PCI cards)
I use the default installed driver : 3c59x
(conf.modules =
alias eth0 3c59x
alias eth1 3c59x)

The whole hardware is OK, since I installed RedHat 5.1 on the same
machine, same configuration and it just works fine.
Only installing Mandrake just does not get my network connections up and
running!
ifconfig gives me both cards, but ping doesn't  give any response

Is there something I missed? Is this a known issue?

Thanks for any advice.
Herman



Re: [expert] network problems on Mandrake 6

1999-09-15 Thread Mike Hill

Herman,

I have the exact same network card combo here.  (two 3c905b's).

I have the same information in /etc/conf.modules also.  Mine works fine.
One NIC (eth0) goes to my Cable modem and the second NIC (eth1) goes to my
hub for my local network.

What output does ifconfig give for eth0 and eth1?  What are you trying to
ping? Some more information on the structure of the network and how
everything is connected would be helpful.

Mike

- Original Message -
From: Herman Van Keer (softouch) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 15, 1999 3:06 PM
Subject: [expert] network problems on Mandrake 6


 Hi,

 After installing Linux Mandrake 6.0 I do have a problem with my network:

 Motherboard GA-6BXC (Gigabyte)
 Two network cards 3com - 3C905B-TX  (PCI cards)
 I use the default installed driver : 3c59x
 (conf.modules =
 alias eth0 3c59x
 alias eth1 3c59x)

 The whole hardware is OK, since I installed RedHat 5.1 on the same
 machine, same configuration and it just works fine.
 Only installing Mandrake just does not get my network connections up and
 running!
 ifconfig gives me both cards, but ping doesn't  give any response

 Is there something I missed? Is this a known issue?

 Thanks for any advice.
 Herman




Re: [expert] network problems on Mandrake 6

1999-09-15 Thread Herman Van Keer (softouch)

Mike Hill wrote:

 What output does ifconfig give for eth0 and eth1?  What are you trying to
 ping? Some more information on the structure of the network and how
 everything is connected would be helpful.

 Mike

  Thanks Mike for this turbo-quick answer;-)
Unfortunately, I have now the 'old' 5.1 setup. Just give me some time I'll
reinstall Mandrake and give you the information.

Thanks a lot,
Herman

BTW: somebody wrote me RedHat 5.1 (2.0.35) is buggy???
So I definitely should upgrade .



Re: [expert] network problems on Mandrake 6

1999-09-15 Thread Axalon Bloodstone

On Wed, 15 Sep 1999, Herman Van Keer (softouch) wrote:

 Hi,
 
 After installing Linux Mandrake 6.0 I do have a problem with my network:
 
 Motherboard GA-6BXC (Gigabyte)
 Two network cards 3com - 3C905B-TX  (PCI cards)
 I use the default installed driver : 3c59x
 (conf.modules =
 alias eth0 3c59x
 alias eth1 3c59x)
 
 The whole hardware is OK, since I installed RedHat 5.1 on the same
 machine, same configuration and it just works fine.
 Only installing Mandrake just does not get my network connections up and
 running!
 ifconfig gives me both cards, but ping doesn't  give any response
 
 Is there something I missed? Is this a known issue?
 
 Thanks for any advice.
 Herman
 

Have a look at your routeing odds are it's screwed up. 

--
MandrakeSoft  http://www.mandrakesoft.com/
--Axalon