rh 7.2 network connection

Brad Noyes maitre at ccs.neu.edu
Sat Jan 26 15:40:45 EST 2002


ifconfig usually lives in /sbin, which is probably not in your path ('echo $PATH' if you want to see your path). You can execute it directly by '/sbin/ifconfig', or you can add /sbin to your path 'export PATH=$PATH:/sbin', then execute 'ifconfig'. Its probably best to execute it by '/sbin/ifconfig' because once you logout and login your will have to add /sbin to your path again. 

to add an address to an interface, i believe its just 'ifconfig eth0 inet xxx.xxx.xxx.xxx'. An alteritive to this is 'netcfg' this is a network configuration utillity that comes with redhat. You must be in X to run it.

good luck.

On Thu, Jan 24, 2002 at 11:33:28PM -0800, Abhi wrote:
> i just got a machine up which is running redhat 7.2.  I have a linksys router and all my other pc's static ip's. when i do "ifconfig" with any options or device it says "command not found". how would i assign it an ip so that it could connect to the network?   
> 
> 
> ---------------------------------
> Do You Yahoo!?
> Yahoo! Auctions Great stuff seeking new owners! Bid now!



More information about the Discuss mailing list