Re: Debian not talking to network
I can ping my box, from my box, and it works fine. I'm pretty sure the
ether card is working since it's the same setup I had when I was using it
earlier in the year. It wasn't detected for some reason for a time and i
h ad to add the irq=x to the options line for loading my module, but now
it says it finds it. When I do a netsat -r, I get this:
Destination Gateway Genmask Flags MSS Window irtt Iface
10.0.3.0 * 255.255.255.0 U 0 0 0 eth0
<Long pause>
default 10.0.3.1 0.0.0.0 UG 0 0 0 eth0
When I do an ifconfig I get this:
eth0 Link encap:Ethernet HWaddr 00:40:05:2F:1D:D5
inet addr:10.0.3.11 Bcast:10.0.3.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:22 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:10 Base address:0x240
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:88 errors:0 dropped:0 overruns:0 frame:0
TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
Here's my /etc/init.d/network:
#! /bin/sh
ifconfig lo 127.0.0.1
#route add -net 127.0.0.0
IPADDR=10.0.3.11
NETMASK=255.255.255.0
NETWORK=10.0.3.0
BROADCAST=10.0.3.255
GATEWAY=10.0.3.1
ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
#route add -net ${NETWORK}
[ "${GATEWAY}" ] && route add default gw ${GATEWAY} metric 1
ANd I'm running kernel 2.2.10. This has got me baffled. It was working
earlier under a different ip address and a differnt ethernet setupo. Can
you shed some light on this or some things to try? Thanks.
Rob
On Thu, 24 Jun 1999, Marc Mongeon wrote:
> Robert:
>
> ping the debian box's IP address from the debian box to verify that
> the Ethernet interface is working.
>
> If it is, look at routing: "netstat -r". You should have a static route
> for the local network and a default route to the router.
>
> If it is not, use "ifconfig", to see whether the interface has been
> configured, is up, etc. Post the results from any inspection you make.
> You're certain that you've compiled support for your NIC into the kernel,
> are loading the appropriate kernel modules correctly, etc., right?
>
> If you haven't already, read the NET-3-HOWTO
> (http://metalab.unc.edu/LDP/HOWTO/NET-3-HOWTO.html).
> It contains everything you ever wanted to know about Linux networking.
>
> Marc
>
>
> ----------
> Marc Mongeon <mongeon@bankoe.com>
> Unix Specialist
> Ban-Koe Systems
> 9100 W Bloomington Fwy
> Bloomington, MN 55431-2200
> (612)888-0123, x417 | FAX: (612)888-3344
> ----------
> "It's such a fine line between clever and stupid."
> -- David St. Hubbins and Nigel Tufnel of "Spinal Tap"
>
>
> >>> Robert Rati <ratirh@cs.purdue.edu> 06/23 6:40 PM >>>
> I'm setting up a network at home and have gotten the router setup and
> given the IP addresses to their machines, but my debian box won't talk to
> the network. Oddly enough, the windows box will, so I know the router is
> setup correctly. In order to do that though, I had to change the frame
> type from auto to Ethernet 802.2. I can't get my linux box to ping the
> router, nor get it to send out any packets that I can see. Does anyone
> have any ideas of things to try to get my debian box talking to the rest
> of the network? Any help would be appreciated.
>
> Rob
>
> =======================================================================
> ratirh@lore.cs.purdue.edu : Role-Player, Babylon 5 fanatic 1998-99
> Aka Khyron the Backstabber : ICQ# 2325055
> Homepage: www.cs.purdue.edu/homes/ratirh
>
> "Happiness comes in short spurts. Don't be fooled."
> =======================================================================
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
>
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
>
=======================================================================
ratirh@lore.cs.purdue.edu : Role-Player, Babylon 5 fanatic 1998-99
Aka Khyron the Backstabber : ICQ# 2325055
Homepage: www.cs.purdue.edu/homes/ratirh
"Happiness comes in short spurts. Don't be fooled."
=======================================================================
Reply to: