LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 05-24-2006, 10:05 PM   #1
Kaname
LQ Newbie
 
Registered: May 2006
Posts: 15

Rep: Reputation: 0
Exclamation DHCP not resolving IP


hello everybody (sorry if my English is not perfect).

I'm running the 64bits version of Slackware (slamd64)
I upgrated my kernel from 2.6.12.4 to 2.6.16.18, with out any error.

I preserved all my previous kernel configuration and I activated the options on the new menu location to be able to use IPTABLES.

I have 2 network devices: eth0(USB Network Adapter rtl8150) and eth1(Integrated Marvell Gigabit Ethernet).

I connect to Internet using DHCP (through eth0). The command /sbin/dhcpcd (ver. 1.3.22pl4) is not getting the IP from my ISP during boot as it did on 2.6.12.4.

here is a part of my dmesg running the new kernel 2.6.16.18:

Code:
usb 2-1: new low speed USB device using ohci_hcd and address 4
usb 2-1: configuration #1 chosen from 1 choice
usb 2-2: new full speed USB device using ohci_hcd and address 5
usb 2-2: configuration #1 chosen from 1 choice
usb 1-2: new full speed USB device using ohci_hcd and address 4
drivers/usb/net/rtl8150.c: rtl8150 based usb-ethernet driver v0.6.2 (2004/08/27)
drivers/usb/net/rtl8150.c: eth%d: rtl8150 is detected
usbcore: registered new driver rtl8150
drivers/usb/net/rtl8150.c: eth1: allmulti set
drivers/usb/net/rtl8150.c: eth1: allmulti set
drivers/usb/net/rtl8150.c: eth1: allmulti set
sky2 eth0: enabling interface
sky2 eth0: Link is up at 100 Mbps, full duplex, flow control both
sky2 eth0: disabling interface
GSI 21 sharing vector 0xE1 and IRQ 21
ACPI: PCI Interrupt 0000:00:1d.0[C] -> GSI 22 (level, low) -> IRQ 225
ali15x3_smbus 0000:00:1e.1: ALI15X3_smb region uninitialized - upgrade BIOS or use force_addr=0xaddr
ali15x3_smbus 0000:00:1e.1: ALI15X3 not detected, module not inserted.
libata version 1.20 loaded.
PCI: Enabling device 0000:00:1f.1 (0105 -> 0107)
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 21 (level, low) -> IRQ 193
ieee1394: Initialized config rom entry `ip1394'
GSI 22 sharing vector 0xE9 and IRQ 22
ACPI: PCI Interrupt 0000:03:12.0[A] -> GSI 16 (level, low) -> IRQ 233
ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[233]  MMIO=[feaff000-feaff7ff]  Max Packet=[2048]  IR/IT contexts=[4/8]
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[0011d80000783194]
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
drivers/usb/net/rtl8150.c: eth1: allmulti set
drivers/usb/net/rtl8150.c: eth1: allmulti set
IPv6 over IPv4 tunneling driver
eth1: no IPv6 routers present
ip_tables: (C) 2000-2006 Netfilter Core Team
My ifconfig display:

Code:
eth0      Link encap:Ethernet  HWaddr 00:15:F2:48:05:30  
          BROADCAST MULTICAST  MTU:1500  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:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:185 

eth1      Link encap:Ethernet  HWaddr 00:10:60:DE:AE:7B  
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::210:60ff:fede:ae7b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1540  Metric:1
          RX packets:20 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1200 (1.1 Kb)  TX bytes:468 (468.0 b)
...
I restart manually "/etc/rc.inet1" and I just get the information of my MAC ADDRESS with out any IP.

I tried to upgrate (through patches) to 2.6.16.16 and I had the same problem.

In case is needed, my /sbin/dhcp version is: 3.0.3

I also exchanged the internet plug and /etc/rc.d/rc.inet1.conf configuration of my eth0 to eth1 (to be sure it is not network card driver problem), but nothing.

I tried running /sbin/dhclient to try other alternatives, but it didn't resolve an IP too.

Any idea where to look?

Could be related to a possible Bug #38865 (sky2 driver freezing system after ifdown and ifup)?:

Thank you in advance.

Last edited by Kaname; 05-25-2006 at 01:33 AM.
 
Old 05-25-2006, 08:08 AM   #2
Kaname
LQ Newbie
 
Registered: May 2006
Posts: 15

Original Poster
Rep: Reputation: 0
Fixed.

I upgrated to 2.6.17-rc5 and activated a kernel option:
Networking -> Networking Options -> Kernel level autoconfiguration -> IP: DHCP support.

I am not really sure if that fixed my problem (because I changed many other options) but at least now work fine.

Thank you.
 
  


Reply



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
Mozilla 1.6 latency resolving DNS lookup w/ Fedora and Kernel 2.6.1 rtt2 Linux - Software 2 04-30-2006 03:03 PM
DHCP server not resolving address netguy2000 Linux - Networking 6 10-07-2004 04:19 AM
DHCP host (not) resolving trough DNS jamezdin Linux - Networking 3 05-30-2004 01:38 PM
DNS resolving problems on clients through DHCP server AddictIT Linux - Networking 7 05-02-2004 04:00 PM
DNS not resolving notes server name and dhcp not releasing leases DanielKwok Linux - Networking 1 02-10-2004 10:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:58 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration