1.

Solve : how to configure eth0?

Answer»

Well I just installed College Linux 2.5 and could not set up a static IP during the install because it's stupid and kept messing up.... its is working right now but there is some commands that I have to enter into the shell everytime I boot..... It doesn't surprise me I used two completely different tutorials that barly cover configuring your eth. I'm amaized I could patch the two together............... On to what I did....

first I edited " /ect/networks " and added the highlited

#
networs This file describes a number of netname-to-address# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
#

loopback 127.0.0.0
localnet 127.0.0.0

[highlight]AUTO lo eth0
iface eth0 inet static
address 192.168.254.69
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.254.2[/highlight]54

# End of networks.

Then I edited " /ect/resolv.conf " commented out the first line and added the second..

#search domain1.com
nameserver 192.168.254.254


All this reamains the same but the folowing command I have to re-enter to shell on reboot...

ifconfig eth0 192.168.254.69
route add default gw 192.168.254.254


I dont understand a bit of what I did how it works or why it doesn't remain working... I think it was total luck i managed to get it this far....

much thanx in advance..... Maybe I should have came here first
I don't know what College Linux is based on. Does the command "ifup eth0" work?command not found "ifup"

if I remember correct it is slackware based...College Linux was discontinued some time ago and 2.5 is an old product. (It has since resurfaced as a LiveCD server model.) That one was based on Slackware 9 (and version 11 is out now).

Get a newer distro and avoid the heartache.what is server model
Quote

what is server model

I haven't tried it, BUIT evidently is is preconfigured as a server that you can run directly from CD. I can't IMAGINE why anyone would do that, but....
Well I dont really know what a server does or why I would need one EITHER is it also an install for it because if I have live cds... I really do like this and I have installed ALMOST all leading distro's.... at least 15... if this is to be my problem i'll take it anyway is there some way I can make batch file to run these commands for me... maybe even at start up

ifconfig eth0 192.168.254.69
route add default gw 192.168.254.254

in that order...If you don't know what a server does, you definitely do not need it.


Discussion

No Comment Found