Ok, I added the /etc/sysconfig info and the network info but the
/etc/sysconfig/network-scripts/ifcfg-eth0 is where I think I went wrong.
There was only a ifcfg-lo for the local info so I went ahead and added the
file with the info according to the "how to" page and then I made the file
executable, is the correct, or is that file already suppose to be there?
After adding the file I did a "ifup eth0" and it hung tring to find the
adapter which I know works with ifconfig, so it must be a mistake in the
script.

I'll go ahead print the files here so you can see and I haven't even tried
to get the second network adapter working yet which is eth1.

/etc/sysconfig/network

NETWORKING=YES
HOSTNAME="me.mydomain.com"
DOMAINNAME="me.com"
GATEWAY="my dls router"
GATEWAYDEV=eth1

Now for the script I created. etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE="eth0"
IPADDR="10.10.10.254"
NETMASK="255.255.255.0"
NETWORK="10.10.10.0
BROADCAST="10.10.10.255"
ONBOOT="yes"
BOOTPROTO="bootp"

now that I have looked in there after running the script, linux addes about
20 lines  starting with IPX, weird.

Well, looks like I am close, but I think one of the files above is the
culprit.

Any ideas.


Thanks for the help

Dave

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Michael Burger
Sent: Sunday, November 05, 2000 2:38 AM
To: [EMAIL PROTECTED]
Subject: Re: Network and booting


You have a couple of options.

1) You could manually edit the networking files in /etc/sysconfig, or

2) You could run "linuxconf" from a command prompt.

In the event that you want to do 1), you first need to enter some
info in "/etc/sysconfig/network".  The info needed in this file is
simple to enter, as the categories are rather self-evident.  Then,
you'll need to edit "/etc/sysconfig/network-scripts/ifcfg-eth0".
Again, the categories are pretty self-evident, with the possible
exception of "BOOTPROTO=", which should be set to "static"

HTH.

--Mike

On Sun, 5 Nov 2000 02:39:43 -0800, Dave wrote:

>Well, after several hours trying to setup networking in Linux I am very
>tired hehe.
>
>You see I reinstalled red hat 7.0 bare bones, to learn how it all works, I
>figured I would install the right packages for the job and go from there.
I
>have learned so much through the process it's all good, but I cannot seem
to
>figure out how the network setup works, I have read like 200 pages of
>material and still don't seem to get it.
>
>I can use ifconfig and get the interfaces up and running fine, but cannot
>seem to make them stay after rebooting.  Red Hat wants me to use the GUI
>utils but I don't even have X installed yet and wish to learn the bare
>bones, and I can't find much from Red Hat on the entire boot process.
>
>Does anyone have any good material for learning the boot process, how the
>scripts work, and where everything is located? preferably with examples! I
>want to be able to write all the stuff out in the configs and scripts
>WITHOUT using the GUI, please don't make fun of me hehe, I just want to
know
>how it all works.
>I do have a huge RedHat textbook with me, but it only explains the X
>utilites to configure network interfaces.
>
>Thanks
>
>Dave
>
>
>
>_______________________________________________
>Redhat-list mailing list
>[EMAIL PROTECTED]
>https://listman.redhat.com/mailman/listinfo/redhat-list
>





_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to