LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-11-2009, 06:42 AM   #1
sara0710
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
I am trying to start DHCP in my linux box but the box hangs


I am trying to start DHCP service in my linux box. It seems that the box get hanged after which I am not able to access the Linux system.

Any clue on what went wrong or any trouble shooting steps are appreciated

Here is the command I entered

[MyLinux ~]$ telnet 10.56.93.157

Trying 10.56.93.157...

Connected to sj-Linux-1(10.56.93.157).

Escape character is '^]'.

Red Hat Enterprise Linux AS release 4 (Nahant Update 4)

Kernel 2.6.9-42.7.ELsmp on an i686

login: root

Password:

Last login: Sat Oct 10 00:41:48 from 2.43.209.131

You have mail.

[root@Linux-1 ~]# rpm -qa | grep dhcp

dhcpv6_client-0.10-14_EL4

[root@Linux-1 ~]# ls /etc/sysconfig/network-scripts

ifcfg-eth0 ifdown-aliases ifdown-isdn ifdown-sl ifup-ippp ifup-isdn ifup-ppp ifup-wireless

ifcfg-eth1 ifdown-ippp ifdown-post ifup ifup-ipsec ifup-plip ifup-routes init.ipv6-global

ifcfg-lo ifdown-ipsec ifdown-ppp ifup-aliases ifup-ipv6 ifup-plusb ifup-sit network-functions

ifdown ifdown-ipv6 ifdown-sit ifup-ib ifup-ipx ifup-post ifup-sl network-functions-ipv6

[root@Linux-1 ~]# ls /etc/sysconfig/network

/etc/sysconfig/network

[root@Linuz x-1 ~]# more /etc/sysconfig/network

NETWORKING=yes

HOSTNAME=Linux-1

NISDOMAIN=sj5.eng.

OTHER_YPBIND_OPTS="-no-ping"

OTHER_YPBIND_OPTS="-no-ping"

[root@Linux-1 ~]# ls /etc/sysconfig/network-scripts/ifcfg-eth0

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

[root@cate21-dc1-pc1 ~]# more /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0

BOOTPROTO=static

#HWADDR=00:50:56:B7:56:F8

IPADDR=10.56.93.157

NETMASK=255.255.255.240

GATEWAY=10.56.93.151

ONBOOT=yes

TYPE=Ethernet

[root@Linux-1 ~]# ls /usr/share/doc/dh*

/usr/share/doc/dhclient-3.0.1:

dhclient.conf.sample



/usr/share/doc/dhcpv6_client-0.10:

dhcp6c.conf ReadMe

[root@Linux-1 ~]# rpm -qa | grep dhcp

dhcpv6_client-0.10-14_EL4

Last edited by sara0710; 10-11-2009 at 06:43 AM.
 
Old 10-11-2009, 07:10 AM   #2
eth1
Member
 
Registered: May 2008
Posts: 97

Rep: Reputation: 20
Can you paste the output of the following command ?

Quote:
tail -100 /var/log/messages
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why a Linux box hangs? greplinux Linux - Newbie 6 08-01-2008 08:15 AM
2 DHCP on 2 NICs on a single Linux box vikyath Linux - Networking 2 05-17-2007 12:10 AM
Start X session from a Linux box to another Linux box small_boy22 Linux - Networking 7 09-30-2005 10:19 AM
Linux box with eth0 to cable modem and eth1 to Windows box videojeff Linux - Networking 23 03-03-2005 07:58 PM
XP Box won't take DHCP information or an IP from Linux gateway Diademed Linux - Newbie 2 10-22-2004 05:47 PM


All times are GMT -5. The time now is 03:30 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration