Why - there was no answer to: network (devices) not available???...

William Carty yellowdog-general@lists.terrasoftsolutions.com
Wed May 15 10:59:01 2002


On Wed, 2002-05-15 at 12:36, Harald T. Zipko wrote:
> Again the following question(s):
> -----------------------------------------------------------------------
> Hi yellowdog(yd)-users,
> 
> yesterday I've downloaded and installed yd 2.2 on a G3-b&w. Strange: during the installation process the installer asked for informations to setup a non-ppp-network, so there were 3 possibilities to choose: IP number for ethx via i) static, ii) boot or iii) dhcp-information. I always use static IP-adresses, but the installer told me that he could not find a dhcp-Server?? So there was no chance to manually associate the interface with the desired IP-Adress... . Any ideas on how to solve the problem?
> 
> BTW: does yd provide a configuration tool like linuxconfig (redhat) or yast (suse) to easily setup and admin services, devices etc???
> 
> greetings Harald

As root...

1.  Edit /etc/sysconfig/network & make sure you have the following set:
	NETWORKING=yes
	HOSTNAME=foo.foo.com (replace w/ your hostname)
	GATEWAY=192.168.0.1 (replace w/ your gate)
	GATEWAYDEV=eth0 (replace with your device name)

2.  Edit /etc/sysconfig/network-scripts/ifcfg-eth0 (or whatever you
device name is):
	NAME=foo (short version of hostname)
	DEVICE=eth0 (again, whatever your device is)
	IPADDR=192.168.0.20 (whatever your address should be)
	BOOTPROTO=static
	ONBOOT=yes
	NETMASK=255.255.255.0 (whatever you mask should be)
	GATEWAY=192.168.0.1 (whatever your gate should be)
	DNS1=192.168.0.253 (your dns #1)
	DNS2=192.168.0.254 (your dns #2)

3.  Restart networking:
	/etc/rc.d/init.d/network restart

4.  Test it out, should work now.

If not, look in /etc/sysconfig/networking/profiles/default & see if you
have an ifcfg-eth0 there, too.  If so & it has the wrong values in it,
copy your other ifcfg-eth0 to that directory
	cp /etc/sysconfig/network-scripts/ifcfg-eth0 \
/etc/sysconfig/networking/profiles/default

Copy that over & restart networking.