Page 1 of 1
Configurations
Posted: Fri Jun 18, 2004 12:52 pm
by Lauren
After i downloaded a version of linux, linux 9 shrike, i need to now have it be able to configure it so that it can accept network IPs, gateways, etc. How do i do this?
I am supposed to make it very similiar to what we have now with the win clients.
Help!! Any suggestions?
Posted: Fri Jun 18, 2004 12:58 pm
by pthread
I am assuming rh9 used the same place to store its network configs, I don't remember. Type the following in, 'less /etc/sysconfig/network-scripts/ifcfg-eth0'. Make sure it prints something similar to the following:
Code: Select all
DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=00:04:5A:7B:B5:08
ONBOOT=yes
TYPE=Ethernet
The only thing that should be different is your HWADDR section. That makes it boot via dhcp. This is assuming of course you have a dhcp server on your network, which you should.
Posted: Fri Jun 18, 2004 1:00 pm
by Lauren
Ok, well this is what i got:
DEVICE = eth0
BOOTPROTO = dhcp
ONBOOT= yes
thats all i got........
Posted: Fri Jun 18, 2004 7:06 pm
by pthread
I believe that should be enough... someone correct me if I am wrong...
So what you should do now is see if your networking is up.
Type 'ifconfig eth0' to see what comes up, does it have an ip address? Type 'ping -c2 google.com' and let us know if pings are going through.
Posted: Fri Jun 18, 2004 7:40 pm
by dann
If it is not up, you may want to
cd /etc/rc.d/init.d (is that it) or cd /etc/init.d (I forget where it is in redhat)
then
./network start
or what ever the network startup script is.
Posted: Sun Jun 20, 2004 7:45 am
by Brian
this works for my RH 7.3 box
(as root)
service network start/restart/stop
Posted: Mon Jun 21, 2004 7:20 am
by Guest
ok, when i do a ifconfig eth0 i believe it is working, im seeing a HWaddr, inetaddr, Bcast, and a mask address...however, i tried to ping google.com and im getting a "Usage: ping" in return with what appears to be a liste of options for the ping button.....so what do i try now??
Maybe it is working??
Posted: Mon Jun 21, 2004 7:33 am
by Lauren
Ok so i just went thru and changed/played w/a few things and once i typed in the ping -c2 google.com...i got, PING google.com (216.239..37.99) and i typed that into the browser and google came up, does this mean that the network is up?
Posted: Mon Jun 21, 2004 9:00 am
by pthread
You are golden... but you should be able to just type google.com in your browser, that works too right?
It works!
Posted: Mon Jun 21, 2004 9:12 am
by Lauren
Yes, it works that way as well....thank you soo much everyone!!