LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   could not lookup from my wireless embedded device (https://www.linuxquestions.org/questions/linux-newbie-8/could-not-lookup-from-my-wireless-embedded-device-713118/)

maha2con 03-20-2009 09:10 AM

could not lookup from my wireless embedded device
 
Hi,

I have an embedded device enabled with Wi-Fi having only few modules which are get installed during boot. After boot, it's assigned with an ip address by dhcp server. I was able to ping to my gateway,my dns server and other machines on the same network but I was not able to ping to other domains such as www.google.com and www.yahoo.com.

The /etc/resolv.conf automatically assigned with the following details.
search calsoftlabs.com
nameserver XXX.XXX.XXX.XXX

If I remove the entry 'search calsoftlabs.com' from /etc/resolv.conf I could ping the domains www.google.com and www.yahoo.com.

But still, I am not able to resolve to the above domains. My nslookup binary says 'Couldn't resolve the hostname'. The default routes are there in the embedded device and there are no iptables present.

My ultimate aim is to make my 'nslookup' binary to resolve ip addresses . I have tried even with windows xp machine which got connected to same server, looking up correctly.

Please tell me how to do this.

Thanks,
Maha

inside-man 03-21-2009 02:24 AM

Hello, it seems that the first entry cames from your DHCP Server is this possible? Maybe it is not proper configured...

If you remove the entry: is the change persistent?

Normally only the line with nameserver is required.

Randolf Balasus

maha2con 03-24-2009 09:22 AM

Hi,

The changes in /etc/resolv.conf file are there until I reboot.

Please tell me a solution for this problem.

Thanks,
Maha

inside-man 03-25-2009 01:29 AM

Hello, it seems one of ther services you starts make this entries....
Have a look at the initscripts in /etc/rc.... or /etc/init.d ...
find the appropriate file for network starting, and afterwards search a config file for your network device
in gentoo is this for instance /etc/conf.d/net

There should the entry come from.
good luck
Randolf Balasus


All times are GMT -5. The time now is 08:44 AM.