Linux-Networking Digest #242, Volume #11         Sat, 22 May 99 12:13:48 EDT

Contents:
  Re: Can't communicate through 2nd NIC ("Steve Snyder")
  Re: Can't communicate through 2nd NIC ("Steve Snyder")
  TRICKof 3c509x cards! ([EMAIL PROTECTED])
  2.0.36 ipmasq dropping tcp connections (Brandon Casey)
  Help: System auto-reboot!!! (hkchan)
  Re: SOCKS5 proxy ("Curt")
  NE2K-PCI with Redhat 5 fails to initialise NIC ("George Styles")
  Re: networking problem ("Curt")
  Re: Setting Up NIC (Peter Eddy)
  Re: pppd: device name cannot be overridden (Clifford Kite)
  Re: 2.0.36 ipmasq dropping tcp connections ("Kai Krakow")
  Re: PPP problem Modem busy (Clifford Kite)
  Re: Routing IPX through PPP (Valentin Abramov)
  Re: chat: can't get terminal params (Clifford Kite)
  Re: networking for linux (Christopher Schulte)

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

From: "Steve Snyder" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.misc
Subject: Re: Can't communicate through 2nd NIC
Date: Sat, 22 May 1999 10:08:58 -0400 (EST)
Reply-To: "Steve Snyder" <[EMAIL PROTECTED]>

On Sat, 22 May 1999 03:55:49 -0700, Harley Waagmeester wrote:

>Steve Snyder wrote:
>
>> I am attempting to configure my server (RedHat v5.2 /w kernel v2.2.9) to
>> act as a gateway to @Home through a cable modem.
>
>I read the /usr/doc/HOWTO/mini/Cable-Modem mini howto, and there are a few
>different ways
>that cable modem systems are designed.
>You might want to read that mini howto.

I did and I'm still clueless.

>You might want to tell us which cable system you are using.

Not sure what you mean by "cable system"?  The network is @Home and the 
cable modem itself is a 3Com USR CMX.


***** Steve Snyder *****




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

From: "Steve Snyder" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.misc
Subject: Re: Can't communicate through 2nd NIC
Date: Sat, 22 May 1999 10:22:20 -0400 (EST)
Reply-To: "Steve Snyder" <[EMAIL PROTECTED]>

On Sat, 22 May 1999 12:12:33 +0200, FoT wrote:

>Steve Snyder wrote:
>> 
>> I am attempting to configure my server (RedHat v5.2 /w kernel v2.2.9) to
>
><snip>
>
>> cable modem.
>
>Does dmesg report any problems with eth1?

No.  Specifically:

eth0: 3Com 3c905B Cyclone 100baseTx at 0xe400,  00:10:4b:9a:82:e5, IRQ 11    
  8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface.      
  MII transceiver found at address 24, status 786d.                          
  MII transceiver found at address 0, status 786d.                           
  Enabling bus-master transmits and whole-frame receives.                    
eth1: 3Com 3c900 Boomerang 10Mbps Combo at 0xe800,  00:60:97:c8:01:c8, IRQ 10 
  8K word-wide RAM 3:5 Rx:Tx split, autoselect/10baseT interface.             
  Enabling bus-master transmits and whole-frame receives.                     

BTW, dumping the packets from eth1 shows a slew of arp calls, so the NIC is 
obviously communicating with the cable modem.

>Why don't you try and get connection with your LAN through eth1?
>Copy /etc/sysconfig/network-scripts/ifcfg-eth1 to a 
temporary file, and >copy /etc/sysconfig/network-scripts/ifcfg-eth0 to
>/etc/sysconfig/network-scripts/ifcfg-eth1.
>Type "#ifup eth1" and try to acces your lan.
>Succes? -> your NIC is working properly on Linux. 

Reason #1: Because eth0 is a 100Mbps device (like the rest of the devices on my LAN) 
and eth1 is a 10Mbps device, which is fine for communicating with a cable 
modem.

Reason #2: I previously *did* have this card (eth1) working under Linux.  I
replaced it with the 3C905 when we went to an all-100Mbs LAN.  Having 2 
NICs in this box is a first for me, but they don't seem to be in conflict.

I know that the hardware works.  The NICs, anyway.  The cable modem is
still an open quesion since I haven't yet successfully established
communications with the @Home network through it.

Thanks for the response.


***** Steve Snyder *****




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

From: [EMAIL PROTECTED]
Subject: TRICKof 3c509x cards!
Date: Sat, 22 May 1999 10:42:26 GMT

The #com combos ( a majority of the time) have to be the FIRST card
initialized in a mixed card network.  i.e. if it is on the server make
sure the server is up and to the login point BEFORE you turn on any
other boxes on the network.  

If you reboot server or box with the 3com in it you must also
afterwords reboot all other NE2000 cards.

Ain't 3com wunnerful!

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

From: Brandon Casey <[EMAIL PROTECTED]>
Subject: 2.0.36 ipmasq dropping tcp connections
Date: Sat, 22 May 1999 15:16:45 -0500

hi,

ip masquerading is set up as per the HOWTO at
http://mirrors.indyramp.com/ipmasq/ipmasq-HOWTO.html

kernel was compiled as per that doc except without ipautofw

linux host:
address 192.168.1.1
tulip based ethernet card
56k USR modem

windows host:
address 192.168.1.2
3c509b ethernet card


the two hosts are connected with a crossover cable, communication
between the two works fine.

ppp on linux host using diald is setup correctly and has been working
fine
for months. while setting this up i forced the ppp connection to stay
up.

enabled masquerading using these commands:
echo 1 > /proc/sys/net/ipv4/ip_forward
ipfwadm -F -p deny
ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0

also tried changing that second ipfwadm command to
ipfwadm -F -a accept -S 192.168.1.0/24 -D 0.0.0.0/0 -m
(i removed the previous rule first then i did the one above)

i get the same problem with both commands, tcp connections last less
than a minute. i can telnet somewhere on the outside network from
the windows box and i get a login prompt and can login in and run
commands,
but after less than a minute the connection is dropped. same thing
happens
with web pages, part of the page will download then it will just hang.
ftp does the same thing when the ip_masq_ftp module is loaded.

ping works fine, dns works fine.


any ideas?
thanks,
-brandon
[EMAIL PROTECTED]

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

From: hkchan <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.misc
Subject: Help: System auto-reboot!!!
Date: Sat, 22 May 1999 23:41:14 +0800

Hi all,
I am using Redhat 5.2 with kernel 2.2.5, recently the system reboots
itself a few times without any reason.

At first I thought someone has hacked into my system, but I could not
trace any sign as I checked through from commands such as last and
lastcomm, the necessary log files such as /var/log/message and
/var/log/secure, and crontab.

I disabled other services but only ftp and telnet, and these two
services are controlled by TCP wrappers in hosts.deny and hosts.allow,
which means the box only accept from trusted hosts.

Could it be having some hardware failures like hard disk, IO controller
and etc?

Please advice.

Gerald


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

Reply-To: "Curt" <[EMAIL PROTECTED]>
From: "Curt" <[EMAIL PROTECTED]>
Subject: Re: SOCKS5 proxy
Date: Sat, 22 May 1999 09:58:06 -0500

www.socks.nec.com

Stephen Hicks <[EMAIL PROTECTED]> wrote in message
news:ZGq13.729$[EMAIL PROTECTED]...
> Can someone please point me to where I should look to find out about
setting
> up a SOCKS5 proxy?
>
> thanks
> --
> Stephen Hicks
> mailto:[EMAIL PROTECTED]
> http://home.tampabay.rr.com/kupopo/
> icq: 5453914; aim: kupopo1
>
>



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

From: "George Styles" <[EMAIL PROTECTED]>
Subject: NE2K-PCI with Redhat 5 fails to initialise NIC
Date: Sat, 22 May 1999 13:40:54 +0100

Hi, im trying to install Redhat 5 (from a magazine coverdisk) and am having
real grief

getting it to talk to my PCI NE2000 network card.

Well i say that, but in the first instance it worked fine, as I did a FTP
install from my

winNT box, and it auto-probed and found the card no problem, and installed
over the

network, but when I came to boot the machine from the hard disk (using
loadlin from dos,

but ive also used lilo from a boot floppy with the same result) it failed to
find the

card. This at least proves I am using the right driver, and the card is
physically fine.


I tried using ifconfig to bring the card up manually, but it says it is
delaying

initialisation of the card, ie

ifconfig

using netcfg from X does the same thing (Yes i managed to get X working
fine, so i am

happy messing with config files - in fact I think thats a much better way of
doing it

that the sodding regestry on MS os's!!)

I also tried directly insmod'ing the ne2k-pci.o file, but it complained of
missing

symbols
(
Unresolved symbol ei_open
Unresolved symbol ethdev_init etc
)
I also read on usenet that you should insmod the 8390.o module first,
()

before loading the module. Again I got missing symbols:

Unresolved netif_rx...
etc

I think maybe it missing some lower level of the network stack, but being
bought up on MS

software (which either works, or needs re-installing...) i would like to be
able to learn

something about Linux/Unix while I fix the problem, instead of taking the
easy way out

and installing a different distribution of Linux

I would be very grateful if anyone who has beaten this particular problem
could share the

solution with me

if possible would you be able to mail me directly at

[EMAIL PROTECTED]

as well as posting to usenet, as my newsreader is a bit crap




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

Reply-To: "Curt" <[EMAIL PROTECTED]>
From: "Curt" <[EMAIL PROTECTED]>
Subject: Re: networking problem
Date: Sat, 22 May 1999 10:05:47 -0500


<[EMAIL PROTECTED]> wrote in message
news:7i5cfk$v1s$[EMAIL PROTECTED]...
> Hi ! I just installed RH6.0 and cannot get networking to work. I am
> experiencing the same problem with two different ethernet cards, but I
> don't know how to lacte it. Here is the deal:
>
> 1) both cards (Intel Ether Express Pro/10+ and 3Com 3C900 Boomerang) are
> detected at boot time
>
> 2) If I do ifconfig eth0 this is what I get (with the 3Com card)
> eth0      Link encap:Ethernet   HWaddr 00:10:4B:BB:5F:A0
>           inet addr:24.0.167.174  Bcast:24.0.167.255 Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>           RX packets:72 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           Interrupt:9 Base address:0xff00

This looks fine to me.

>
> I cannot detect anything obviously wrong, except the very low TX,RX
> numbers.
>
> 3) If I do route, or netstat -r, I get
> Destination     Gateway        Genmask    Flags MSS Window  irtt  Iface
> 24.0.167.174       *        255.255.255.255 UH    0    0     0     eth0

You don't really need a route to this host (itself).
I doubt it is causing problems though.

> 24.0.167.0.        *        255.255.255.0    U    0    0     0     eth0
                    ^
Why is there a '.' after the address?   Is this a copy error?   Worth
checking.

> 127.0.0.0          *        255.0.0.0        U    0    0     0       lo
> default         24.0.167.1  0.0.0.0          UG   0    0     0     eth0
>
> (the last line takes several minutes to appear on the screen)
>
> 4) ping localhost works, but ping XXX.XXX.XXX.XXX does not; telnet
> XXX.XXX.XXX.XXX yields
> telnet:Unable to connect to remote host: No route to host
>
> 5) Host names are not resolved, even though the file /etc/resolv.conf
> contains all the info needed).
>
> Any hint as to where the problem may lie ? The same system with RH5.2
> worked without any problem...
> TIA,
>
> Massimo Boninsegni
> --
> --
> Massimo Boninsegni
> Department of Physics
> San Diego State University
>
>
> --== Sent via Deja.com http://www.deja.com/ ==--
> ---Share what you know. Learn what you don't.---



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

From: Peter Eddy <[EMAIL PROTECTED]>
Subject: Re: Setting Up NIC
Date: Sat, 22 May 1999 11:14:23 -0400


The driver that came with my copy of RedHat 5.2 didn't work for my
3c905b card.  I got and updated driver
(http://cesdis.gsfc.nasa.gov/linux/drivers/3c509.c which contains the
905b driver too) from http://cesdis1.gsfc.nasa.gov/linux/drivers/ and
achieved happyness.

Peter

"KERR, MIKE" wrote:
> 
> I've got a 3c905b-tx NIC card which I'm trying to install in a RH Linux
> 5.2 comp. I don't have a driver for it, but I've used the closest thing
> RH 5.2 had, which is 3c59x.o.
> My kernel version is 2.0.34-0.6.
> 
> Any suggestions on how to fix this damn problems?!? ; )
> Thanks!
> 
> Mike

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

From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: pppd: device name cannot be overridden
Date: 22 May 1999 08:33:17 -0500

Jason Novotny ([EMAIL PROTECTED]) wrote:

:     I'm trying to set up the modem to be started by any user besides
: root. I've

: chmod s+u /usr/sbin/pppd

: as well as chgrp pppusers /usr/sbin/pppd and  ppp-on, ppp-off and added
: myself to the pppusers group. No matter what, I'm still getting this
: pppd: device name cannot be overridden. Any ideas on what I'm doing

The man pages supply the answer in the SECURITY section.


--
Clifford Kite <kite@inet%port.com>                       Not a guru. (tm)
/* Better is the enemy of good enough. */

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

From: "Kai Krakow" <[EMAIL PROTECTED]>
Subject: Re: 2.0.36 ipmasq dropping tcp connections
Date: Sat, 22 May 1999 17:37:27 +0200
Reply-To: "Kai Krakow" <[EMAIL PROTECTED]>

> ip masquerading is set up as per the HOWTO at
> http://mirrors.indyramp.com/ipmasq/ipmasq-HOWTO.html
>
> kernel was compiled as per that doc except without ipautofw
>
> linux host:
> address 192.168.1.1
> tulip based ethernet card
> 56k USR modem
>
> windows host:
> address 192.168.1.2
> 3c509b ethernet card
>
>
> the two hosts are connected with a crossover cable, communication
> between the two works fine.
>
> ppp on linux host using diald is setup correctly and has been working
> fine
> for months. while setting this up i forced the ppp connection to stay
> up.
>
> enabled masquerading using these commands:
> echo 1 > /proc/sys/net/ipv4/ip_forward
> ipfwadm -F -p deny
> ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0
>
> also tried changing that second ipfwadm command to
> ipfwadm -F -a accept -S 192.168.1.0/24 -D 0.0.0.0/0 -m
> (i removed the previous rule first then i did the one above)
>
> i get the same problem with both commands, tcp connections last less
> than a minute. i can telnet somewhere on the outside network from
> the windows box and i get a login prompt and can login in and run
> commands,
> but after less than a minute the connection is dropped. same thing
> happens
> with web pages, part of the page will download then it will just hang.
> ftp does the same thing when the ip_masq_ftp module is loaded.
>
> ping works fine, dns works fine.

Did you try to set the firewall timeouts to higher values? I think the
parameter was ipfwadm -S with three numeric parameters appended. Check out
the man page on that...

ciao
    Kai



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

From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: PPP problem Modem busy
Date: 22 May 1999 08:39:00 -0500

Bill Pistole ([EMAIL PROTECTED]) wrote:
: When I try to query my modem or connect to my ISP with KPPP I get an
: error message saying 'sorry, the modem is busy' I am running suse6.1
: with KDE 1.1. I have a supra express ISAPNP modem. It is set in pnp mode
: and works fine under Windows and BeOS.

Something else is using the device file specified for the modem or one
of it's configurable parts.  I don't PnP but there is a package for
dealing with it, I think it's called isapnp.

--
Clifford Kite <kite@inet%port.com>                       Not a guru. (tm)
/* Better is the enemy of good enough. */

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

Subject: Re: Routing IPX through PPP
From: [EMAIL PROTECTED] (Valentin Abramov)
Date: 22 May 1999 15:43:30 GMT

In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
>
>I have a customer I set up with a Debian SLINK 2.1 box that is a gateway
>+ mail server to the Internet for their local network.
>
>He would like to dial into another modem hanging off that box and access the
>Internet.
>
>But more importantly he needs access his Novell 4 server.
>
>The remote site runs 95/98.
>
>Any info/references/docs/tips on how to set this up would be appreciated.
>
>- Routing between the 2 ppp links ??
>- Getting IPX through to the local network
>- PPP server
>

Take a look to

http://www.tartu.customs.ee/linux/index.shtml

There is page just about IPX over PPP. In case of additional questions feel 
free to connect me.


Best regards,
Valentin Abramov


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

From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: chat: can't get terminal params
Date: 22 May 1999 09:18:15 -0500

Hugues Demers ([EMAIL PROTECTED]) wrote:

: When I want to connect to my isp, chat complain:

: chat[662]: can't get terminal parameters: Inappropriate ioctl for
: device.

: Now, when I use xisp or minicom all goes well, only chat can't connect.

: In my ppp-on script I call pppd like

: exec /usr/sbin/pppd debug lock modem asyncmap 0 crtscts /dev/cua1 38400\
:     noipdefault defaultroute connect $DIALER_SCRIPT

: /dev/cua1 is:

: crw-r-----   1   root    uucp       5,  65  31 Dec   1979  /dev/cua1

Did they have computers in 1979?  ;)  Anyway the date, if true, may mean
that the device file is damaged in some subtle way or that the ioctl
call is picky.  Also minicom usually uses a symbolic link to the device
file; does  ls -l /dev/modem  point to /dev/cua1?

You can make new device file with mknod, man mknod.  The major and minor
device numbers, 5 and 65, are correct.  Addition insight into device
files is found in the files /dev/DEVICES and /dev/README.MAKEDEV.

Oh yes, just to forestall anyone posting a remark about it, the kernel
powers-that-be say to use /dev/ttySx and that /dev/cuax will not be
supported someday.  However, even the newest kernel from the 2.2.x line
will still use them - although they complain about it in a log file.

--
Clifford Kite <kite@inet%port.com>                       Not a guru. (tm)
/* A salute to Inspector Baynes, of the Surry Constabulary, the only
   police Inspector to ever best Mr. Sherlock Holmes at his own game.
   "The Adventure of Wisteria Lodge", by Sir Arthur Conan Doyle. */

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

From: [EMAIL PROTECTED] (Christopher Schulte)
Subject: Re: networking for linux
Date: Mon, 17 May 1999 08:19:07 GMT

On Mon, 17 May 1999 15:40:23 +0800, "Jeff" <[EMAIL PROTECTED]>
wrote:

>Hi
>I am planning to get my own Ip static from my isp, and i want to use my
>linux box as a proxy. So i will use the other computer as a client then I
>will use telnet to operate my linux box.

By proxy, do you mean a network proxy, so that internal machines can
access the net THROUGH this machine with the static ip?  If so, that's
easy, and it's call IP Masquerade.  Look below for a great site on
setting it up.

>Is there any documentation that cover these things??
>thanks

http://ipmasq.cjb.net/

--
Christopher Schulte

Replace usenet with chris to send mail.
Mail sent to [EMAIL PROTECTED]
will *never* get to me. I hate spam!

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


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.networking) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Networking Digest
******************************

Reply via email to