public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Vadim Lebedev <vadim@mbdsys.com>
To: Eduardo Franceschini <edumontenegro@gmail.com>
Cc: linux-omap-open-source@linux.omap.com,
	linux-arm-kernel@lists.arm.linux.org.uk
Subject: Re: PROBLEMS WITH DNS
Date: Fri, 08 Jun 2007 19:39:43 +0200	[thread overview]
Message-ID: <4669945F.5070708@mbdsys.com> (raw)
In-Reply-To: <c7af2a170706081023w25076e1eq4a791b02a977f9f@mail.gmail.com>

Eduardo Franceschini wrote:

> bootargs=console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/mtdblock4
> mem=30M
>
> and when I boot the omap, I have
>
> Sending DHCP requests ., OK
> IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.1.107
> IP-Config: Complete:
>      device=eth0, addr=192.168.1.107, mask=255.255.255.0, gw=192.168.1.1,
>     host=192.168.1.107, domain=, nis-domain=(none),
>     bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath=
> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
>
> I can get an IP, but when I go to /etc/resolv.conf , I don't have an 
> IP for
> DNS server... somebody know what to do?
>
> thanks!
>
> Eduardo
>
Eduardo,

this DHCP request are sent by kernel mode dhcp client,  which has no access
to resolv.conf to store retrived information

I'dont now if somebody have developped a possibility to retriev this 
info using
user-mode app and store it into resolv.conf...

Maybe one why to do it is to modify kernale mode dhcp client to create a 
procfs entry containig info for resolv.conf
and have /etc/resolv.com  to be symlink to procfs entry
 

Thanks
Vadim

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

  parent reply	other threads:[~2007-06-08 17:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-08 17:23 PROBLEMS WITH DNS Eduardo Franceschini
2007-06-08 17:33 ` Nishanth Menon
2007-06-08 17:39 ` Vadim Lebedev [this message]
2007-06-08 17:54   ` Paulo Marques
2007-06-08 18:36     ` Vadim Lebedev
2007-06-08 19:05       ` Paulo Marques
2007-06-08 19:32         ` Hans-Jürgen Koch
2007-06-11 11:35           ` Paulo Marques
2007-06-08 19:39       ` Russell King - ARM Linux
2007-06-08 19:38   ` Russell King - ARM Linux

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4669945F.5070708@mbdsys.com \
    --to=vadim@mbdsys.com \
    --cc=edumontenegro@gmail.com \
    --cc=linux-arm-kernel@lists.arm.linux.org.uk \
    --cc=linux-omap-open-source@linux.omap.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox