LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-11-2005, 02:30 PM   #1
re2
LQ Newbie
 
Registered: Nov 2004
Location: Lithuania
Distribution: Archlinux
Posts: 8

Rep: Reputation: 0
Post dhcp problem


hi, i have a problem with the dhcp. I am using arch linux. Here is the problem:

# /var/log/errors
dhcpcd[1694]: timed out waiting for a valid DHCP server response

how can i could avoid this problem, because it is very sad when MS windows could connect to the network, but linux - can't
 
Old 02-11-2005, 02:35 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Welcome to LQ.

Do you have a dhcp server on the network?
Is there a link light on the NIC and switch where it is connected?
Can you post the output from:
ifconfig eth0 up
ifconfig
lspci
 
Old 02-11-2005, 02:53 PM   #3
re2
LQ Newbie
 
Registered: Nov 2004
Location: Lithuania
Distribution: Archlinux
Posts: 8

Original Poster
Rep: Reputation: 0
[root@urvas root]# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP]
00:09.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master
IDE (rev 06)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon VE QY

[root@urvas root]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

[root@urvas root]# ifconfig eth0 up
[root@urvas root]#
 
Old 02-11-2005, 03:14 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Quote:
Originally posted by david_ross
Do you have a dhcp server on the network?

Is there a link light on the NIC and switch where it is connected?
Can you post the output from ifconfig again now that you have activated eth0.

What modules do you have loaded?
lsmod
 
Old 02-11-2005, 03:31 PM   #5
re2
LQ Newbie
 
Registered: Nov 2004
Location: Lithuania
Distribution: Archlinux
Posts: 8

Original Poster
Rep: Reputation: 0
eth0 Link encap:Ethernet HWaddr 00:C0:26:A8:AF:21
inet6 addr: fe80::2c0:26ff:fea8:af21/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:21 errors:0 dropped:0 overruns:0 frame:0
TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4104 (4.0 Kb) TX bytes:4534 (4.4 Kb)
Interrupt:11 Base address:0xd400

network cards was compilled not as module.
#lsmod
#

quote:Originally posted by david_ross
Do you have a dhcp server on the network?

Yes, i have
and there is light on the NIC and switch where it is connected
 
Old 02-13-2005, 01:53 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Have you tried obtianing an IP manually with:
dhclient eth0

You may also want to disable ipv6 unless you are trying to use it.
 
Old 02-14-2005, 10:42 AM   #7
re2
LQ Newbie
 
Registered: Nov 2004
Location: Lithuania
Distribution: Archlinux
Posts: 8

Original Poster
Rep: Reputation: 0
dhclient eth0
bash: dhclient: command not found
 
Old 02-14-2005, 11:35 AM   #8
Kdr Kane
Member
 
Registered: Jan 2005
Distribution: SUSE, LFS
Posts: 357

Rep: Reputation: 30
Correct.

As you stated above, your system is using dhcpcd instead of dhclient.

You can execute:

dhcpcd -dk

to restart the dhcp client and it will log connection information in the syslog.
 
  


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
ADSL DHCP A-OK, but Mandrake 10.1 to be DHCP for other subnet is a problem turnbui Linux - Networking 2 08-20-2005 10:34 AM
DHCP problem linuxcrom Linux - Networking 3 05-07-2005 04:29 PM
DHCP problem cosmicone Linux - Networking 2 10-07-2004 10:56 AM
DHCP problem pissouille Linux - Networking 9 02-21-2004 06:49 AM
DHCP Problem bally Linux - General 1 11-10-2003 08:56 AM


All times are GMT -5. The time now is 10:48 PM.

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