[RHCE] (no subject)

Jon Carnes jonc at nc.rr.com
Sat Jul 3 00:57:11 EDT 2004


On Fri, 2004-07-02 at 22:56, somnath123s wrote:
> hey!!
> 
> i installed RH 7 on Win 98.so as usual its become "dual booting(Win 98 +
> RH 7)".
> but while i'm  installing RH 7, 
> *) it never asking for IP configuration, though it is connected to a
> network with Cnet's NIC.
> *)  i tried post installation configuration with the help of --
> netconf,linuxconf,netconfig -- and tried to restart the network service
> -- "#service network restart" and "ifup eth0" etc. -- as well as
> restarted the machine several times.
> 
> but it is giving same message :
> bringing up eth0 interface:Delaying eth0 initialization.. [FAILED]
> 
> where as in case of Win 98 network is well working....
> 
> /usr/hlp?
> 
> thanks in advance..
> 
> somu.

First off, if you are going to use an ancient version of RH, then use
something decent like RH 9.

Beyond that, does Kudzu find the NIC and load the right modules for
activating the NIC?  In RH7 (and RH9) Kudzu is the hardware probe
application that helps you setup your computer with the proper modules
and configurations.

If it doesn't have you NIC in it's database then you'll have to look up
on the web which Linux modules work with that NIC. You can then load
those modules by putting a reference to them in /etc/modules.conf

As an example, I have a 3com NIC in my computer set to run as ethernet0
(eth0). It uses the 3c59x.o module found here:
  /lib/modules/2.4.20-30.9/kernel/drivers/net/3c59x.o

and my /etc/modules.conf file looks like this
  alias eth0 3c59x

ASIDE: I can look at all the modules running on my Linux box by using
the command:  lsmod

If you are getting the correct module to load for your NIC (and it's
finding the NIC) then you are halfway to your goal of getting on the
network.

The next step is to define the information needed to connect to your
local network. First you make sure that networking is turned on:
In /etc/sysconfig/network you should have the following defined,
  NETWORKING=yes
  HOSTNAME=mycomputername.mydomain.com

You could also define a gateway device here (GATEWAY=192.168.1.1)

Now setup the information used by device eth0 (ethernet0):
In /etc/sysconfig/network-scripts/ifcfg-eth0,
  DEVICE=eth0
  BOOTPROTO=none
  BROADCAST=192.168.1.255
  IPADDR=192.168.1.24
  NETMASK=255.255.255.0
  NETWORK=192.168.1.0
  ONBOOT=yes
  TYPE=Ethernet
  USERCTL=no
  PEERDNS=no
  GATEWAY=192.168.1.1

At that this point you should be able to run: "service network restart"
and it will setup your network card and attach you to your network
(assuming you got your IP information plugged in correctly and you
module is the correct one for your NIC).

ifconfig 
  eth0 Link encap:Ethernet  HWaddr 00:60:08:5C:3D:3A
       inet addr:192.168.1.24  Bcast:192.168.1.255  Mask:255.255.255.0
       UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
       RX packets:7823 errors:0 dropped:0 overruns:0 frame:0
       TX packets:10624 errors:0 dropped:0 overruns:0 carrier:0
       collisions:0 txqueuelen:100
       RX bytes:3161652 (3.0 Mb)  TX bytes:1112061 (1.0 Mb)
       Interrupt:11 Base address:0xec00

Good Luck!

Jon Carnes



More information about the RHCE mailing list