Re: getting static dns

Yan Seiner <[email protected]>
Newsgroups gmane.comp.handhelds.openzaurus.devel
Message-ID <[email protected]>
GROG! (Jeff Howie) wrote:
> Ah. Now a little light-bubl goes off in my little newbie brain :?). I
> didn't realize that udhcpc is the dhcp requester, correct? I was
> having a problem but trying to fix it the wrong way.
>   

udhcpc = micro dhcp client :-)

> Let's start over. Going back to my original post with my original
> interfaces entry:
>
>     iface eth0 inet static
>         wireless_mode xxxxxxx
>         wireless_essid xxxxxxx
>         wireless_key xxxxxxxxxxx
>         wireless_channel x
>         gateway 10.0.0.1
>         netmask 255.255.255.0
>         address 10.0.0.199
>
> I connect to my router just fine, obtaining the ip that I request. My
> actual _problem_ (which I tried solving using udhcpc %^o) is that I'm
> not getting proper dns. I can ping other boxes, both local & remote,
> by ip but not by name. Now when using dhcp (as I now know I was
> forcing it do do) I get assigned the dns servers properly from the
> router, so what do I have to do to get them recognized statically?
>   
you need to add your DNS server to /etc/resolv.conf.

Be careful though - I haven't been through the config scripts for the 
zaurus; on many machines that are typically networked /etc/resolv.conf 
is dynamically generated at boot time or at lease renew time.

I don't know if OZ does this.

For the layout of the file, man resolv.conf or google for 'manpage 
resolv.conf'

--Yan

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.