If you have configured your network adapter to use DHCP, then the protocol will do a broadcast on the network to ask for an IP address. It is up to the DHCP server to give it. You can see what your adapter is configured to in /etc/sysconfig/network-scripts/ifcfg-eth0 on RedHat ( and other distributions ). If BOOTPROTO=dynamic then you use DHCP, if its = Static then you use fixed IP.
I'm running CentOS release 4.2 and there is not a /usr/bin/redhat-config-network file but there is /usr/bin/system-config-network. It is a symbolic link to /usr/bin/consolehelper and when I run /usr/bin/system-config-network it is a GUI interface that asks to configure the system.
Well if BOOTPROTO=none, then the interface is not configured to get an IP. If you can't change the file manually (/etc/sysconfig/network-scripts/ifcfg-eth0), then you must use an utility like system-config-network.
Why the user got stuck in the config console...Well can't give you a good answer on that one. I assume that the user ran the script as root.Right?
I can change BOOTPROTO in /etc/sysconfig/network-scripts/ifcfg-eth0. Do I type small or capital letters and do a make? Then what do I type as a command to get the dynamic ip address?
I'm a little puzzled here... There is no IP on your LAN interface, and yet people are on the server day and night???
If this is a secondary interface then you can try: cd /etc/sysconfig/network-scripts ./ifup eth1 (That is if it is eth1).
There is an ifdown script aswell.
If it is the primay network interface, then you have a problem.
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.