[NTLUG:Discuss] simple network problem
terry
linux at cowtown.net
Sat Dec 28 15:30:29 CST 2002
Geremy L. Hamlett wrote:
>On Sat, Dec 28, 2002 at 01:31:57PM -0600, terry wrote:
>
>
>>Geremy L. Hamlett wrote:
>>
>>
>>
>>>I am trying to connect 2 computers together a Debian "Woody" box and a
>>>Windows box.
>>>
>>>I have the eth0 interface up and have given an IP and subnet mask address
>>>to each.
>>>
>>>
>>>
>>>
>>What IP addresses and subnet mask addresses did you use?
>>
>>
>>
> Debian box: 192.168.1.1
> Win Box: 192.168.1.2
> subnet mask:255.255.255.0
>
>
>
>>>When I plug in the cable from the debian box. My hub does not show that
>>>anything has been connected(The ligh does not come on). I have checked
>>>the cable and the hub.
>>>
>>>
>>>
>>And the LED light on the hub, is it okay? (Maybe it's just not working
>>for some reason?)
>>
>>
>>
> The Card is known to be good!
>
>
>
>>>The problem is with the Debian Box.
>>>
>>>When I run ifconfig it showed the eth0 interface is up. When I run
>>>route it also shows the eth0 info for my machine.
>>>
>>>
>>>
>>What exactly is the output of route?
>>
>>
>>
> route gives: 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
>
Hummm... mine shows 192.168.0.0 but netmask is the same, but I dono
if that makes a difference or not.
>
>
>
>>>A steady yellow light comes on when the eth0 interface is up. None of
>>>the other lights come on at all.
>>>
>>>
>>>
>>The "steady yellow light" you're referring to is on the NetGear FA113 NIC?
>>
>>
>>
> Yes.
>
>
>>>The card is a NetGear FA113 PCI card. Which uses the natsemi module.
>>>I have the natsemi module installed. I can't seam to find the answer
>>>anywhere.
>>>
>>>
>>>
>>Could it be defective? (Or is it known to be a good working NIC?)
>>
>>
>>
> The card is known to be good.
>
>
>>>Please help,
>>>Thanks,
>>>
>>>P.S. All I want to do at this point is ping another computer. Nothing
>>>else
>>>
>>>
>>>
>>>
>>What error do you get from the Windows box when trying to ping the Linux
>>box, and what error do you get from the Linux box when trying to ping
>>the Windows box?
>>
>>
>>
>The windows box does not see any thing on the network. When I ping it
>says that it can't be reached.
>
>
Have you ever pinged any other machines from it? (The Windows machine?)
Do you see anything in C:\hosts ?
Do you have DHCP enabled on the Windows box? Or not?
If your using static IP on both, do you have the subnet mask right, and
broadcast address right?
Do you have a DNS on either machine?
>
>
>>Do you have anything in hosts.allow or hosts.deny? (They probably both
>>should be empty.)
>>Look at and/or show us contents of:
>>/etc/resolv.conf
>>
>>
> Only DNS of my ISP.
>
so you have lines like:
nameserver ###.###.##.#
nameserver ###.###.##.###
?
You might also need
search mydomain.name.thismachine
and/or
domain mydomain.name.thismachine
or
domain name.thismachine
search name.thismachine
where name.thismachine is last two parts of the output of:
# hostname
>
>
>>/etc/sysconfig/network
>>
>>
> I don't have an /etc/sysconfig/network.
> Debian uses /etc/network/interfaces which has
>
> iface eth0 inet static
> address 192.168.1.1
> netmask 255.255.255.0
>
I dono about debain but RH and some others will also have lines like:
NETWORKING=yes
HOSTNAME=whoever.whatever.wherever
And what about the equivalent to:
/etc/sysconfig/network-scripts/ifcfg-eth0
and do you have /etc/hosts.allow and/or /etc/hosts.deny ?
>
>
>>/etc/sysconfig/network-scripts/ifcfg-eth0
>>
>>And also /etc/hosts.allow and/or /etc/hosts.deny (If they're not empty)
>>
>>
> Nothing in either of these files.
>
>
>>
>>_______________________________________________
>>https://ntlug.org/mailman/listinfo/discuss
>>
>>
>
>_______________________________________________
>https://ntlug.org/mailman/listinfo/discuss
>
>.
>
>
>
More information about the Discuss
mailing list