-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Robert Monical wrote:
>Here are some Solaris actions that I cannot figure out the (low level)� Linux
>equivalent.
This is partly because Solaris network config is so scattered and
obfuscated, and you're used to looking for settings in a bazillion
places ... it's a lot easier here:
>Change hostname: edit /etc/hostname.<interface_id>
>Change gateway: edit /etc/defaultrouter
/etc/sysconfig/network; change HOSTNAME, GATEWAY, maybe DHCP_HOSTNAME.
>Change IP address tied to an interface: edit /etc/hosts
>Change netmask edit /etc/netmasks
Those will be in /etc/sysconfig/network-scripts/ifcfg-eth0, or the file
in that directory corresponding to your interface. Params of interest
are IPADDR, NETMASK, NETWORK, BROADCAST, BOOTPROTO ("static", "dhcp",
etc), ONBOOT (usually "yes", except for pcmcia-based nets and special
cases).
You may find netconfig helpful, too.
Cheers ... -d
- --
David Talkington
PGP key: http://www.prairienet.org/~dtalk/0xCA4C11AD.pgp
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.75-6
iQA/AwUBPK9+s79BpdPKTBGtEQIL9ACeMKzzAI4P86HfMxQqGaZWeiU+lXYAoNTn
ADvmXmXTVPSQ4zkgI+moenlI
=GrVZ
-----END PGP SIGNATURE-----
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list