Re: [lwip-users] DNS host not resolving using lwip_gethostbyname function using ppp over serial

2015-03-10 Thread rohanm
finally problem solved. previously i have set BYTE order as BIG ENDIAN then i have chaged it to LITTLE ENDIAN... thanks u for your support. -- View this message in context: http://lwip.100.n7.nabble.com/DNS-host-not-resolving-using-lwip-gethostbyname-function-using-ppp-over-serial-tp23972p241

Re: [lwip-users] DNS host not resolving using lwip_gethostbyname function using ppp over serial

2015-03-04 Thread rohanm
thank you Sergio for reply. but i have tried every thing .i almost read all wiki topics related to it.and follow some solution lke increase time out period and increase MAX_DNS_RETRY. but still having same problem. while debugging above issue ,i have observed ,no response form gsm modem.device con

Re: [lwip-users] DNS host not resolving using lwip_gethostbyname function using ppp over serial

2015-03-02 Thread Sergio R. Caprile
On the log, you have this dns_check_entry: "www.google.com": timeout lwip_gethostbyname(www.google.com) failed, err=-6 Since I seem to have nothing more interesting to do today, I googled this for you. I've found an answer from Simon from 2011, some guy had this very same problem. Yes, you have

Re: [lwip-users] DNS host not resolving using lwip_gethostbyname function using ppp over serial

2015-03-02 Thread rohanm
hello, thanks for your reply. now i start from start. 1)I am trying to implement ppp over serial using gsm modem to post data on server . 2)till now i have done following things: i have initialized GSM and lwip and successfully and able to receive ip address which i have already shared in .DNS_L

Re: [lwip-users] DNS host not resolving using lwip_gethostbyname function using ppp over serial

2015-03-02 Thread Sergio R. Caprile
I will give you the best advise I can give you. Two of them, and for free. Well actually three: 1 - Don't expect some random one to help you, if you don't provide a clue on what you are doing. Do you know what you are doing ? 2 and 3 - At bottom Here's what I can extract from your writing You see

Re: [lwip-users] DNS host not resolving using lwip_gethostbyname function using ppp over serial

2015-03-01 Thread rohanm
hello, any solution for my problem?please help me.or u need more input?? regards, rohan. -- View this message in context: http://lwip.100.n7.nabble.com/DNS-host-not-resolving-using-lwip-gethostbyname-function-using-ppp-over-serial-tp23972p24016.html Sent from the lwip-users mailing list arch

Re: [lwip-users] DNS host not resolving using lwip_gethostbyname function using ppp over serial.

2015-02-25 Thread rohanm
Hii, l have observed IP route issue while comparing (ip_addr_netcmp(dest, &(netif->ip_addr), &(netif->netmask))) function.and observed netif_default value is null so function returns error value. To solve this probelm ,i have set netif_default value to netif value which i received from ipcp. by

Re: [lwip-users] DNS host not resolving using lwip_gethostbyname function.

2015-02-24 Thread rohanm
hello, i have enabled DNS_DBUG in lwipopts.h and get DNS debug log.PFA. DNS_LOG.log -- View this message in context: http://lwip.100.n7.nabble.com/DNS-host-not-resolving-using-lwip-gethostbyname-function-tp23972p23973.html Sent from the

[lwip-users] DNS host not resolving using lwip_gethostbyname function.

2015-02-24 Thread rohanm
i have received IP address and link is connected.but i have another issue.once link is connected.i am calling 'lwip_gethostbyname' function to resovle dns host name.i want to post data on this host.but this function is returining 'NULL'.GPRS is working in sim card.so do u have any idea whats wr