• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 258
  • Last Modified:

Change network information

I've installed Red Hat AS 2.1 with the kde gui.  I want to change the host name and ip address.
Where do I go to do that?   Preferably both using gui and using editing of files but either way is ok.
0
xoxomos
Asked:
xoxomos
  • 3
  • 2
  • 2
  • +2
4 Solutions
 
Alf666Commented:
I don't know the gui style in RedHat, but you should find the right infos in :

/etc/hosts
/etc/sysconfig/network
0
 
owensleftfootCommented:
Use the graphical command redhat-config-network - type it from a terminal window.
0
 
owensleftfootCommented:
Use the graphical command redhat-config-network - type it from a terminal window or the run dialog.
0
Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

 
xoxomosAuthor Commented:
running
find / -name redhat-config-network -print
comes up with nothing and when i enter redhat-config-network in a konsole window it returns 'command not found'
0
 
owensleftfootCommented:
Install the redhat-config-network rpm from your distro cdroms. If for some reason you cant find it you can download it here -http://altruistic.lbl.gov/mirrors/caos/centos-2/updates/i386/redhat-config-network-1.0.4-0.AS21.1.i386.rpm
0
 
paullamhkgCommented:
owensleftfoot right, you have to install the redhat-config-network in your kde before your can change the network setting.

BTW, Alf666's comment also good to know, it's a console mode (or you can said command mode) method which directly modify the files to make your changes.
use your editor to edit the /etc/sysconfig/ to give the hosts and ip info.

eg /etc/sysconfig/network

[root@linux sysconfig]# more network
NETWORKING=yes
HOSTNAME=host.yourdomain.com                <-- here for host name
GATEWAY=192.168.0.254                            <-- for the gateway

also edit /etc/sysconfig/network-scripts/ifcfg-eth0

[root@linux network-scripts]# more ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.0.255                          <-- the ip of your linux box
IPADDR=192.168.0.1
NETMASK=255.255.0.0
NETWORK=192.168.0.0
ONBOOT=yes

"ifconfig eth0 192.168.0.1  netmask 255.255.255.0" will also change the ip address of your linux box.

so incase the redhat-config-network can't work you still have other way to make it work :)

0
 
karlwilburCommented:
paullamhkg,
Should be:

[root@linux network-scripts]# more ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.0.255                          
IPADDR=192.168.0.1                                     <-- the ip of your linux box
NETMASK=255.255.0.0
NETWORK=192.168.0.0
ONBOOT=yes
0
 
paullamhkgCommented:
yes karlwibur you are right, I point to the wrong line :)
0
 
karlwilburCommented:
Just trying to help :-)
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 3
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now