LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-20-2009, 09:10 AM   #1
maha2con
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Rep: Reputation: 0
Question 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
 
Old 03-21-2009, 02:24 AM   #2
inside-man
LQ Newbie
 
Registered: Mar 2009
Posts: 16

Rep: Reputation: 1
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
 
Old 03-24-2009, 09:22 AM   #3
maha2con
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Hi,

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

Please tell me a solution for this problem.

Thanks,
Maha
 
Old 03-25-2009, 01:29 AM   #4
inside-man
LQ Newbie
 
Registered: Mar 2009
Posts: 16

Rep: Reputation: 1
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
 
  


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
Looking for an embedded wireless device platform NedRyerson Linux - Embedded & Single-board computer 2 01-21-2009 11:14 AM
Device driver for embedded board zvivered Linux - Kernel 1 10-22-2007 05:20 PM
How do I build an embedded Linux Device? bobjohnson11 Linux - Hardware 1 12-17-2006 11:25 AM
device-mapper: dm-linear: Device lookup failed tajo01 Linux - Kernel 1 05-18-2006 08:22 PM
Need help with embedded linux device nabeelakhtar Linux - Laptop and Netbook 3 12-25-2004 12:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:10 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