Xtry
asked on
My Linux Box is Not Up Since DHCP was Disabled
hello
I got all my windows computers working fine with DHCP disabled
but now my linux box is not up anymore when I scan all the
computers in the LAN I only see the windows and my mac
I got the help from here, to setup windows tcp/ip configuration
https://www.experts-exchange.com/questions/21080938/Static-IP-Address-LAN-on-MAC.html
but I dont know how to do it on Fedora with Ensim pro 4
thanks.
I got all my windows computers working fine with DHCP disabled
but now my linux box is not up anymore when I scan all the
computers in the LAN I only see the windows and my mac
I got the help from here, to setup windows tcp/ip configuration
https://www.experts-exchange.com/questions/21080938/Static-IP-Address-LAN-on-MAC.html
but I dont know how to do it on Fedora with Ensim pro 4
thanks.
ASKER
when I ping the linux machine I dont get any Response!
Ah, so either network isn't "up", there is a major error in the network config (for it or on the router) or there is something more HW-ish the matter (bad/marginal cabling or somesuch)...
If you log in to the linux machine, open a terminal (assuming you use GUI logins) and do
su
... to become root and do
ifconfig
... Is the eth0 interface there at all? Configured? Does the configuration look... OK?
-- Glenn
If you log in to the linux machine, open a terminal (assuming you use GUI logins) and do
su
... to become root and do
ifconfig
... Is the eth0 interface there at all? Configured? Does the configuration look... OK?
-- Glenn
ASKER
I need to set the IP in eth0, can you tell me how to do it
Did you try running "redhat-config-network" as noted above?
It should be fairly easy to configure there... If you have the "eth0" interface to choose, do so, then press Edit, choose to set it statically ... and fill in the blanks:-).
If you like, you can edit the config file(s) directly... But using the tool (either the -tui or GUI version) is very simple.
-- Glenn
It should be fairly easy to configure there... If you have the "eth0" interface to choose, do so, then press Edit, choose to set it statically ... and fill in the blanks:-).
If you like, you can edit the config file(s) directly... But using the tool (either the -tui or GUI version) is very simple.
-- Glenn
On a "redhatish" system the files are /etc/sysconfig/network and /etc/sysconfig/network-scr ipts/ifcfg -eth0
In the first you need set the IP address of the gateway and hostname... Something like
HOSTNAME=apmx03.ap1.se
NETWORKING=yes
GATEWAY=192.168.1.1
In the latter you have the actual interface settings, somewhat like:
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.1.104
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
ONBOOT=yes
MII_NOT_SUPPORTED=no
Make sure the IP address is unique.
-- Glenn
In the first you need set the IP address of the gateway and hostname... Something like
HOSTNAME=apmx03.ap1.se
NETWORKING=yes
GATEWAY=192.168.1.1
In the latter you have the actual interface settings, somewhat like:
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.1.104
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
ONBOOT=yes
MII_NOT_SUPPORTED=no
Make sure the IP address is unique.
-- Glenn
Oh, and after editing the files to suit you, do
ifdown eth0
ifup eth0
loggen on as root (which you'll need be anyway, to be able to edit the files:-).
Not difficult, but using the tool might be construed as being simpler still;-).
-- Glenn
ifdown eth0
ifup eth0
loggen on as root (which you'll need be anyway, to be able to edit the files:-).
Not difficult, but using the tool might be construed as being simpler still;-).
-- Glenn
ASKER
well I did everything you told me now I cant login since I did "ifdown eth0"
hello there xtry,
you need to set an ip to the box try doing this
ifconfig eth0 inet 192.168.1.102 netmask 255.255.255.0 broadcast 192.168.1.255 up
then shutdown -r now
you need to set an ip to the box try doing this
ifconfig eth0 inet 192.168.1.102 netmask 255.255.255.0 broadcast 192.168.1.255 up
then shutdown -r now
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Oh, missed the shutdown -r now KraLord.... With nothing but what you've said, that will effectively "erase" the ifcinfig... making your advice kind of.... wrong:)
-- Glenn
-- Glenn
redhat-config-network
as root to change it (redhat-config-network-tui
Or what was your question?
Can you ping the linux machine from the windows machines?
-- Glenn