eth0 hangs ppp... modem/nic conflict?

eth0 hangs ppp... modem/nic conflict?

Post by Chris Lege » Tue, 13 Apr 1999 04:00:00



Hi,

After about 20-30 hours on this one, I guess it's time to ask. Hope
someone can help...

I seem to have a conflict between my modem and nic. Modem is USR 56K
internal, nic is 3com 3c509. Here are some particulars:

eth0
IP          192.168.1.1
network     192.168.1.0
netmask     255.255.255.0
broadcast   192.168.1.255

modem at 03e8, IRQ 4, cua2(/dev/modem)

Assume I'm using "netcfg" for the following:

I can dial out and get ppp just fine (activate ppp0), but I get no data
through the modem if I activate eth0. That is, I can dial out, and start
pinging some external IP. Works fine until I activate eth0, then the
ping halts... until I deactivate eth0, then the ping resumes again, with
the first packet delayed by hundreds/thousands of millisecs, then back
to normal.

With eth0 activated, I can ping my nic (192.168.1.1) or loopback
(127.0.0.1) or other machines on my internal lan (192.168.1.10, .20,
etc.) and they can ping me. But when trying to telnet to this machine,
the telnet window (in windows) just stays blank... UNTIL I deactivate
eth0, at which point the telnet session disconnects (at the windows
machine) with the login prompt suddenly displayed.

Essentially, I cannot use my LAN except to ping the other machines as
far as I can tell. I should say that I did have the ethernet card
working at one point, though I can't retrace back to that config. I
should also point out that both the modem and nic are "known good'
cards, both work fine under NT (dual booting by necessity for graphics
apps)

Here's some pertinent (I hope) info:

[cleger@columbia /home/cleger]> more /proc/interrupts
 0:    5930262   timer
 1:       7960   keyboard
 2:          0   cascade
 4:     650658 + serial
 7:          6   3c509
 8:          1 + rtc
12:     188664   PS/2 Mouse
13:          1   math error
14:      83578 + ide0
15:       1156 + ide1

[cleger@columbia /home/cleger]> more /etc/hosts
127.0.0.1       localhost
192.168.1.1     columbia

[cleger@columbia /home/cleger]> ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
          UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
          RX packets:20 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:206.111.17.20  P-t-P:199.0.615.224
Mask:255.255.255.0
          UP POINTOPOINT RUNNING  MTU:1500  Metric:1
          RX packets:2827 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3185 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0
          Memory:33ea038-33eac04

eth0      Link encap:Ethernet  HWaddr 00:A0:24:0A:37:32  
          inet addr:192.168.1.1  Bcast:192.168.1.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:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0
          Interrupt:7 Base address:0x330

[cleger@columbia /home/cleger]> more /etc/sysconfig/network
NETWORKING=yes
FORWARD_IPV4=yes
HOSTNAME=columbia
DOMAINNAME=
GATEWAY=192.168.1.254
GATEWAYDEV=eth0

###This one is for IP forwarding... just figured I'd include it here,
###since I won't know if it works until I get the ethernet working...

[cleger@columbia /etc/rc.d]> more rc.net1
#!/bin/sh

# Enable Networking
#

# Start IP Masquerading modules
/sbin/depmod -a 1>/dev/null 2>/dev/null
/sbin/modprobe ip_masq_ftp
/sbin/modprobe ip_masq_raudio
/sbin/modprobe ip_masq_irc

# Start IP Aliasing for talking to internal network
/sbin/ifconfig eth0 columbia

# Setup routing for the local network
/sbin/route add -host  columbia dev eth0
/sbin/route add -net 192.168.1.0 gw columbia

# Start IP Masquerading
/sbin/ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0

[cleger@columbia /etc/rc.d]> more rc.net1
#!/bin/sh

# Enable Networking
#

# Start IP Masquerading modules
/sbin/depmod -a 1>/dev/null 2>/dev/null
/sbin/modprobe ip_masq_ftp
/sbin/modprobe ip_masq_raudio
/sbin/modprobe ip_masq_irc

# Start IP Aliasing for talking to internal network
/sbin/ifconfig eth0 columbia

# Setup routing for the local network
/sbin/route add -host 192.168.1.1 dev eth0
/sbin/route add -net 192.168.1.0 gw columbia

# Start IP Masquerading
/sbin/ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0

If anyone can help, my whole family would be very grateful to get me to
come out of the office ;^)

I'll be happy to add any additional info I may have left out.

Thanks in advance,

Chris Leger
cle...@leger.SPAM.BE.GONE.net

[ ether 4K ]
Hi,

After about 20-30 hours on this one, I guess it's time to ask. Hope someone can help...

I seem to have a conflict between my modem and nic. Modem is USR 56K internal, nic is 3com 3c509. Here are some particulars:

eth0
IP          192.168.1.1
network     192.168.1.0
netmask     255.255.255.0
broadcast   192.168.1.255

modem at 03e8, IRQ 4, cua2(/dev/modem)

Assume I'm using "netcfg" for the following:

I can dial out and get ppp just fine (activate ppp0), but I get no data through the modem if I activate eth0. That is, I can dial out, and start pinging some external IP. Works fine until I activate eth0, then the ping halts... until I deactivate eth0, then the ping resumes again, with the first packet delayed by hundreds/thousands of millisecs, then back to normal.

With eth0 activated, I can ping my nic (192.168.1.1) or loopback (127.0.0.1) or other machines on my internal lan (192.168.1.10, .20, etc.) and they can ping me. But when trying to telnet to this machine, the telnet window (in windows) just stays blank... UNTIL I deactivate eth0, at which point the telnet session disconnects (at the windows machine) with the login prompt suddenly displayed.

Essentially, I cannot use my LAN except to ping the other machines as far as I can tell. I should say that I did have the ethernet card working at one point, though I can't retrace back to that config. I should also point out that both the modem and nic are "known good' cards, both work fine under NT (dual booting by necessity for graphics apps)

Here's some pertinent (I hope) info:

[cleger@columbia /home/cleger]> more /proc/interrupts
 0:    5930262   timer
 1:       7960   keyboard
 2:          0   cascade
 4:     650658 + serial
 7:          6   3c509
 8:          1 + rtc
12:     188664   PS/2 Mouse
13:          1   math error
14:      83578 + ide0
15:       1156 + ide1

[cleger@columbia /home/cleger]> more /etc/hosts
127.0.0.1       localhost
192.168.1.1     columbia

[cleger@columbia /home/cleger]> ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
          UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
          RX packets:20 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:206.111.17.20  P-t-P:199.0.615.224  Mask:255.255.255.0
          UP POINTOPOINT RUNNING  MTU:1500  Metric:1
          RX packets:2827 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3185 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0
          Memory:33ea038-33eac04

eth0      Link encap:Ethernet  HWaddr 00:A0:24:0A:37:32  
          inet addr:192.168.1.1  Bcast:192.168.1.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:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0
          Interrupt:7 Base address:0x330

[cleger@columbia /home/cleger]> more /etc/sysconfig/network
NETWORKING=yes
FORWARD_IPV4=yes
HOSTNAME=columbia
DOMAINNAME=
GATEWAY=192.168.1.254
GATEWAYDEV=eth0

###This one is for IP forwarding... just figured I'd include it here, since I won't know if it works until I get the ethernet working...

[cleger@columbia /etc/rc.d]> more rc.net1
#!/bin/sh

# Enable Networking
#

# Start IP Masquerading modules
/sbin/depmod -a 1>/dev/null 2>/dev/null
/sbin/modprobe ip_masq_ftp
/sbin/modprobe ip_masq_raudio
/sbin/modprobe ip_masq_irc

# Start IP Aliasing for talking to internal network
/sbin/ifconfig eth0 columbia

# Setup routing for the local network
/sbin/route add -host  columbia dev eth0
/sbin/route add -net 192.168.1.0 gw columbia

# Start IP Masquerading
/sbin/ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0

[cleger@columbia /etc/rc.d]> more rc.net1
#!/bin/sh

# Enable Networking
#

# Start IP Masquerading modules
/sbin/depmod -a 1>/dev/null 2>/dev/null
/sbin/modprobe ip_masq_ftp
/sbin/modprobe ip_masq_raudio
/sbin/modprobe ip_masq_irc

# Start IP Aliasing for talking to internal network
/sbin/ifconfig eth0 columbia

# Setup routing for the local network
/sbin/route add -host 192.168.1.1 dev eth0
/sbin/route add -net 192.168.1.0 gw columbia

# Start IP Masquerading
/sbin/ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0

If anyone can help, my whole family would be very grateful to get me to come out of the office ;^)

I'll be happy to add any additional info I may have left out.

Thanks in advance,

Chris Leger
cle...@leger.SPAM.BE.GONE.net

 
 
 

eth0 hangs ppp... modem/nic conflict?

Post by Mark Niels » Tue, 13 Apr 1999 04:00:00


Quote:>NETWORKING=yes
>FORWARD_IPV4=yes
>HOSTNAME=columbia
>DOMAINNAME=
>GATEWAY=192.168.1.254
>GATEWAYDEV=eth0

I didn't read any of the routing commands you did.
Set GATEWAY to nothing
GATEWAY=

Make sure the ppp0 (if using RedHat in particular) is set to take the
default route when activated.

This seems to solve my problems.
I don't have any routing commands in my files.

Mark

--
Mark Nielsen            "Where 98 has no meaning."

The Computer Underground, Inc.  614-485-0506
computers, programming, networking, Perl, PHP, SQL, HTMl, Linux, Unix

 
 
 

eth0 hangs ppp... modem/nic conflict?

Post by Clifford Ki » Tue, 13 Apr 1999 04:00:00


: I seem to have a conflict between my modem and nic. Modem is USR 56K
: internal, nic is 3com 3c509. Here are some particulars:

..

: Here's some pertinent (I hope) info:

..


: NETWORKING=yes
: FORWARD_IPV4=yes
: HOSTNAME=columbia
: DOMAINNAME=
: GATEWAY=192.168.1.254
: GATEWAYDEV=eth0

If this does what I think then it's your problem.  Pppd won't replace an
existing route with a defaultroute through the ppp0 interface even with
the pppd defaultroute option.  Execute route.  If route shows a default
gateway to eth0 configured through 192.168.1.254 then this *is* what
is happening.

In case this does turn out to be the problem the correct thing to do is
to remove this gateway route.  You only need to have a network specific
route for a LAN with one subnet.

--

/* The wealth of a nation is created by the productive labor of its
 * citizens. */

 
 
 

eth0 hangs ppp... modem/nic conflict?

Post by Chris Lege » Thu, 15 Apr 1999 04:00:00


Mark, Clifford,

Thanks a million! Problem is fixed at last!

...now on to IP Masquerading...


> >NETWORKING=yes
> >FORWARD_IPV4=yes
> >HOSTNAME=columbia
> >DOMAINNAME=
> >GATEWAY=192.168.1.254
> >GATEWAYDEV=eth0

> I didn't read any of the routing commands you did.
> Set GATEWAY to nothing
> GATEWAY=

> Make sure the ppp0 (if using RedHat in particular) is set to take the
> default route when activated.

> This seems to solve my problems.
> I don't have any routing commands in my files.

> Mark

> --
> Mark Nielsen            "Where 98 has no meaning."

> The Computer Underground, Inc.  614-485-0506
> computers, programming, networking, Perl, PHP, SQL, HTMl, Linux, Unix

 
 
 

1. alcatel usb dsl modem + eth0 conflict

hello dear reader!

i'm refering to this article
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=p...

i have the same problem.

could someone please tell me what & HOW i can correct the problem
please?

my route table looks like this:

WHEN ETH0 IS DOWN:



Kernel IP Routentabelle
Ziel            Router          Genmask         Flags   MSS Fenster
irtt Iface
62.47.215.254   0.0.0.0         255.255.255.255 UH       40 0        
0 ppp0
0.0.0.0         62.47.215.254   0.0.0.0         UG       40 0        
0 ppp0

WHEN ETH0 IS UP:



Kernel IP Routentabelle
Ziel            Router          Genmask         Flags   MSS Fenster
irtt Iface
62.47.215.254   0.0.0.0         255.255.255.255 UH       40 0        
0 ppp0
192.168.0.0     0.0.0.0         255.255.255.0   U        40 0        
0 eth0
0.0.0.0         192.168.0.3     0.0.0.0         UG       40 0        
0 eth0
0.0.0.0         62.47.215.254   0.0.0.0         UG       40 0        
0 ppp0

big thanks in advance for any hints!

2. Newbie question

3. Device conflicts between NIC and modem

4. pppd idle killer

5. weird conflict b/w NIC and modem

6. mounting windows drives w/long file names

7. eth0 and eth1 interfaces using eth0 NIC

8. Unable to download directories & files recursively in ncftp?

9. modem irq conflict after conflicting card removed!

10. NIC / network won't load: Compaq Netelligent 10/100 Embedded NIC, Eth0

11. PPP to ISP and null-modem CSLIP conflict

12. PPP Success!!!!! Was a modem IRQ conflict problem

13. serial mouse and modem irq conflict during ppp?