optech
Member level 1
microchip dns
Hi All,
I am using PIC18f462 and enc28j60 and I want to relize generic TCP example in Microchip TCP/IP Stack 3,75. But it doesn't work. I listened ethernet line with wireshark and I saw that alhough myPIC ask "who 192.168.2.1? tell 192.168.2.7", dns server didn't reply.... So dns resolving doesn't work... What can be the problem?
To see this problem, I put UART messages in each case like SM_HOME,SM_NAME_RESOLVE,.... ( those are "GenericTCPExampleState" cases). does it make this problem?
here is asked ARP question by myPIC:
0000 ff ff ff ff ff ff 00 04 a3 00 00 00 08 06 00 01 ........ ........
0010 08 00 06 04 00 01 00 04 a3 00 00 00 c0 a8 02 07 ........ ........
0020 ff ff ff ff ff ff c0 a8 02 01 00 00 00 00 00 00 ........ ........
0030 00 00 00 00 00 00 00 00 00 00 00 00
I entered www.google.com on internet explorer and I saw that for ARP question: (this has been replied, so working)
0000 ff ff ff ff ff ff 00 14 c1 03 81 03 08 06 00 01 ........ ........
0010 08 00 06 04 00 01 00 14 c1 03 81 03 c0 a8 02 04 ........ ........
0020 00 00 00 00 00 00 c0 a8 02 01 ........ ..
as you can see, in working case there is no extra "00" after DNS's IP address(c0 a8 02 01=192.168.2.1)
can it be the problem? If so, how can I fixed it?
I use those in stack configuration:
MPFS_USE_PGRM
STACK_USE_ICMP
STACK_USE_ANNOUNCE
STACK_USE_GENERIC_TCP_EXAMPLE
STACK_USE_DNS
STACK_USE_DHCP
This is my final project for my school, Please help me....
Hi All,
I am using PIC18f462 and enc28j60 and I want to relize generic TCP example in Microchip TCP/IP Stack 3,75. But it doesn't work. I listened ethernet line with wireshark and I saw that alhough myPIC ask "who 192.168.2.1? tell 192.168.2.7", dns server didn't reply.... So dns resolving doesn't work... What can be the problem?
To see this problem, I put UART messages in each case like SM_HOME,SM_NAME_RESOLVE,.... ( those are "GenericTCPExampleState" cases). does it make this problem?
here is asked ARP question by myPIC:
0000 ff ff ff ff ff ff 00 04 a3 00 00 00 08 06 00 01 ........ ........
0010 08 00 06 04 00 01 00 04 a3 00 00 00 c0 a8 02 07 ........ ........
0020 ff ff ff ff ff ff c0 a8 02 01 00 00 00 00 00 00 ........ ........
0030 00 00 00 00 00 00 00 00 00 00 00 00
I entered www.google.com on internet explorer and I saw that for ARP question: (this has been replied, so working)
0000 ff ff ff ff ff ff 00 14 c1 03 81 03 08 06 00 01 ........ ........
0010 08 00 06 04 00 01 00 14 c1 03 81 03 c0 a8 02 04 ........ ........
0020 00 00 00 00 00 00 c0 a8 02 01 ........ ..
as you can see, in working case there is no extra "00" after DNS's IP address(c0 a8 02 01=192.168.2.1)
can it be the problem? If so, how can I fixed it?
I use those in stack configuration:
MPFS_USE_PGRM
STACK_USE_ICMP
STACK_USE_ANNOUNCE
STACK_USE_GENERIC_TCP_EXAMPLE
STACK_USE_DNS
STACK_USE_DHCP
This is my final project for my school, Please help me....