Ethernet help, please...

This is a discussion on Ethernet help, please... within the Linux Networking forums, part of the Linux Forums category; I've tinkered with this for more than a year, on and off, and am getting really frustrated. I've ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-16-2004
William D. Tallman
 
Posts: n/a
Default Ethernet help, please...

I've tinkered with this for more than a year, on and off, and am getting
really frustrated.

I've got an older AT PC running windows (my wife's machine). I partitioned
off room to set up Mdk 9.0, which she has started to use recently, so the
time has come to solve some old problems. The big problem is that although
the NIC works fine in windows (w98se), it does not work at all in Linux!!!
We file share on the LAN with Samba when she's in windows, but now she
wants to use Linux. File sharing has not come up as yet, but the big
hangup is that now Linux cannot even connect to the internet. Where
before, we were on dialup, which worked fine in Linux, we've now got ADSL
on the LAN and connect using our NICs. Love ADSL!!! My box has no
problems, but her's can only use windows... argh!!

Here's what I've got so far:

1) 'ifconfig' sees the NIC just fine. 'cat /proc/pci' shows the NIC just
fine.

2) Route table shows the loopback and the LAN address of the machine. Arp
table showed what was listed in /etc/hosts, but no MACs. So I added my
machine to the routing table and added the gateway. Added the MAC
addresses to the arp table. Arp asks for confirmation and gets nothing, so
doesn't retain the MAC information, apparently.

3) She can ping her loopback and her LAN address successfully, but nothing
else. tcpdump shows the arp table trying to get the MAC address for my
machine and the gateway, with no response. It also wants CUPS to connect
to the network, but so does mine and I ignore it. So the activity I would
expect to see is going on, but nothing gets in or out.

I would think that given the /etc/hosts information, the routing table info,
and the arp info, there should be no problem with connectivity. But
obviously I'm missing something here.

Has anyone got a clue about how I should proceed from here? Or please tell
me where I've blundered, if that be the case!!

Thanks all,

Bill Tallman
--
Registered Linux User: #221586
Mdk-9.0 and Slackware-9.1
A Luxuriance of Linux!!!

Reply With Quote
  #2 (permalink)  
Old 02-16-2004
Horst Knobloch
 
Posts: n/a
Default Re: Ethernet help, please...

William D. Tallman <wtallman@olypen.com> wrote:


> [...] the big
> hangup is that now Linux cannot even connect to the internet. Where
> before, we were on dialup, which worked fine in Linux, we've now got ADSL
> on the LAN and connect using our NICs. Love ADSL!!! My box has no
> problems, but her's can only use windows... argh!!


How do you connect to your ISP? Via an ADSL HW NAT-Router
or do you establish the connection directly from your Linux
Box through an ADSL modem?


> Here's what I've got so far:
>
> 1) 'ifconfig' sees the NIC just fine. 'cat /proc/pci' shows the NIC
> just fine.
>
> 2) Route table shows the loopback and the LAN address of the machine.


Please post the output of "ifconfig" and "route -n".
Also describe your network topology more detailed (which devices
are interconnected, what's the function and the configuration of
these devices).


[...]
> 3) She can ping her loopback and her LAN address successfully, but
> nothing
> else. tcpdump shows the arp table trying to get the MAC address for my
> machine and the gateway, with no response. It also wants CUPS to connect
> to the network, but so does mine and I ignore it. So the activity I
> would expect to see is going on, but nothing gets in or out.


Do you use proper cabling? If you connect two PCs directly you
need a cross-over cable, otherwise (if you connect to a hub or
a switch) you need a straight-through cable. Check the LEDs
on your NICs and hub or switch. If you plug-in the cable a
(green) LED should be switched on, it should be switched off
again if you plug out the cable. Most NICs and hubs/switches
have an activity LED, this LED is flickering if there is something
transmitted or received.

Ciao, Horst
--
»When pings go wrong (It hurts me too)« E.Clapton/E.James/P.Tscharn
Reply With Quote
  #3 (permalink)  
Old 02-16-2004
Juha Laiho
 
Posts: n/a
Default Re: Ethernet help, please...

"William D. Tallman" <wtallman@olypen.com> said:
>I've tinkered with this for more than a year, on and off, and am getting
>really frustrated.

....
>Here's what I've got so far:
>
>1) 'ifconfig' sees the NIC just fine. 'cat /proc/pci' shows the NIC just
>fine.


Ok.

>2) Route table shows the loopback and the LAN address of the machine. Arp
>table showed what was listed in /etc/hosts, but no MACs. So I added my
>machine to the routing table and added the gateway. Added the MAC
>addresses to the arp table. Arp asks for confirmation and gets nothing, so
>doesn't retain the MAC information, apparently.


Generally you wouldn't add MACs manually; in a regular set-up the only
place where you're concerned of MAC addresses is if you set up static
leases on a DHCP server.

>3) She can ping her loopback and her LAN address successfully, but nothing
>else. tcpdump shows the arp table trying to get the MAC address for my
>machine and the gateway, with no response.


So somehow sounds like the network interface isn't up properly.

As said in the other response, please describe your network set-up
(what is connected to what), and post output of "route -n" and
"ifconfig -a". Additionally, I'd like to see what mii-tool (or ethtool)
tells.
--
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)
Reply With Quote
  #4 (permalink)  
Old 02-17-2004
William D. Tallman
 
Posts: n/a
Default Re: Ethernet help, please...

Horst Knobloch wrote:

> William D. Tallman <wtallman@olypen.com> wrote:
>
>
>> [...] the big
>> hangup is that now Linux cannot even connect to the internet. Where
>> before, we were on dialup, which worked fine in Linux, we've now got ADSL
>> on the LAN and connect using our NICs. Love ADSL!!! My box has no
>> problems, but her's can only use windows... argh!!

>
> How do you connect to your ISP? Via an ADSL HW NAT-Router
> or do you establish the connection directly from your Linux
> Box through an ADSL modem?

<snip>

We have an ethernet LAN comprising two Linux boxes and a windows PC (my
wife's), using a NETGEAR FS108 switch. Thus there is a single network,
where the computers have LAN IP addresses, and to which the ActionTec 1524
modem (NAT-Router) is also connected and also has a LAN IP address.

At this point, it seems reasonable that the NIC does not like the IRQ that
Linux assigned it. Windows has it assigned IRQ11, and Linux at IRQ18. As
far as I know, there is no way to change this in software, so I'll have to
get into the box and do some shifting around. It's got a modem we no
longer need, and perhaps the NIC should go there.

If you can point me to a way of resolving this IRQ matter within Linux
itself, I'd appreciate it!

Bill Tallman
--
Registered Linux User: #221586
Mdk-9.0 and Slackware-9.1
A Luxuriance of Linux!!!
Reply With Quote
  #5 (permalink)  
Old 02-18-2004
Mainlander
 
Posts: n/a
Default Re: Ethernet help, please...

In article <1033emkgm98dn7c@corp.supernews.com>, wtallman@olypen.com
says...
> Horst Knobloch wrote:
>
> > William D. Tallman <wtallman@olypen.com> wrote:
> >
> >
> >> [...] the big
> >> hangup is that now Linux cannot even connect to the internet. Where
> >> before, we were on dialup, which worked fine in Linux, we've now got ADSL
> >> on the LAN and connect using our NICs. Love ADSL!!! My box has no
> >> problems, but her's can only use windows... argh!!

> >
> > How do you connect to your ISP? Via an ADSL HW NAT-Router
> > or do you establish the connection directly from your Linux
> > Box through an ADSL modem?

> <snip>
>
> We have an ethernet LAN comprising two Linux boxes and a windows PC (my
> wife's), using a NETGEAR FS108 switch. Thus there is a single network,
> where the computers have LAN IP addresses, and to which the ActionTec 1524
> modem (NAT-Router) is also connected and also has a LAN IP address.
>
> At this point, it seems reasonable that the NIC does not like the IRQ that
> Linux assigned it. Windows has it assigned IRQ11, and Linux at IRQ18.


If the card is PnP and the machine has PnP BIOS then the IRQ should be
assigned at startup by the Bios.

--
Full featured open source Win32 newsreader - Gravity 2.70
http://sourceforge.net/projects/mpgravity/
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:12 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0