- Re: NIC problems

PDA

View Full Version : Re: NIC problems


Bernhard Enders
07-24-2004, 06:01 PM
"Martin Cooper" <usenet@martinc.me.uk> wrote in message
news:gemini.3ef49b1f010b43ec%usenet@martinc.me.uk...
> Hi,
> OK, I don't use mandrake, so the best I can do is try to guide you
> through doing things from a console window. So start a console window,
> then su to root, as you are goung to need root priveliges for some of
> this. To start with, you need to get your network card recognised by
> linux, so run the command :-
>
> modprobe 8139too
>
> If you get any errors, post the output here. next check that the module
> did indeed load with the command 'lsmod'.
>
> In the output, you should see the 8139too module listed. If not,
> something went wrong while loading the module. In this case, post the
> output of the command 'lspci -v'. This command will print details of
> the various devices available on your PCI bus, including IO base address
> and IRQ, but hopefully, it will just work.
>
> Next, you need to configure your network. So first, try the command :-
>
> ifconfig eth0 up
>
> Note that this will not get your network running, but simply initialise
> your ethernet card. If any errors occur, post the output here.
> Assuming this works, you should be able to use the command :-
>
> ifconfig eth0
>
> The output from this command should show eth0 with no IP address. Next,
> add an IP addrecc and default route to the card with the command :-
>
> ifconfig eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255
>
> The output of ifconfig should now show eth0 with an IP address. The
> final step is to set your routing with the commands :-
>
> route add -net 192.168.0.0 netmask 255.255.255.0 eth0
> route add default 192.168.0.1
>
> where 192.168.0.1 is the IP address of your router. You should now be
> able to ping the outside world by IP address. Finally, add the line :-
>
> nameserver 192.168.0.1
>
> to /etc/resolv.conf which assumes that your router will provide DNS
> passthrough. If not, add the address of your ISP's nameservers to
> /etc/resolv.conf instead.
>
> If everything works at this point, you will need to figure out how to
> configure the mandrake startup scripts with this information.
>

I have the same problem as the op. But my NIC is a 3com 3c509B (ISA), I
followed your instructions and when I type /sbin/route add -net 10.0.0.0
netmask 255... I've got:
SIOCADDRT: File exists
and when I type /sbin/route add default 10.0.0.1 the output is
SIOCADDRT: No such device

What this means? I'm running Mandrake 9.1 and just want get connected to the
outside world! Here is an output of my ifconfig:

eth0 Link encap:Ethernet HWaddr 00:A0:24:86:49:A0
inet addr:10.0.0.2 Bcast:10.0.0.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:1 errors:1 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:1894 (1.8 Kb)
Interrupt:10 Base address:0x220

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:102 errors:0 dropped:0 overruns:0 frame:0
TX packets:102 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6732 (6.5 Kb) TX bytes:6732 (6.5 Kb)

Any help is welcome,

Bernhard.

Michael Buchenrieder
07-24-2004, 06:01 PM
"Bernhard Enders" <bgeneto@hotmail.com> writes:


[Many lines trimmed]

>I have the same problem as the op. But my NIC is a 3com 3c509B (ISA), I
>followed your instructions and when I type /sbin/route add -net 10.0.0.0
>netmask 255... I've got:
>SIOCADDRT: File exists
>and when I type /sbin/route add default 10.0.0.1 the output is
>SIOCADDRT: No such device

>What this means? I'm running Mandrake 9.1 and just want get connected to the
>outside world! Here is an output of my ifconfig:

>eth0 Link encap:Ethernet HWaddr 00:A0:24:86:49:A0
> inet addr:10.0.0.2 Bcast:10.0.0.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:1 errors:1 dropped:0 overruns:0 carrier:1
^^ ^^^ ^^^

[...]

If this is the 3com card with 2 connectors (RJ45 and BNC), get
the configuration tool from 3com's website, boot into DOS and configure
the card manually for the correct port. The ifconfig output
above indicates that either your cable connection is broken, or
that the card is indeed listening to the wrong port.

Michael
--
Michael Buchenrieder * mibu@scrum.greenie.muc.de * http://www.muc.de/~mibu
Lumber Cartel Unit #456 (TINLC) & Official Netscum
Note: If you want me to send you email, don't munge your address.