本帖最后由 onbluesun 于 2012-5-19 17:49 编辑
51单片机+ENC28j60可以PING通,但不能打开WESERVER网页,高手求助!!!我用的IE9
IP什么的配置如下:(哪个是配置DNS的?)
- #define UIP_IPADDR0 192 /**< The first octet of the IP address of
- this uIP node, if UIP_FIXEDADDR is
- 1. hideinitializer */
- #define UIP_IPADDR1 168 /**< The second octet of the IP address of
- this uIP node, if UIP_FIXEDADDR is
- 1. hideinitializer */
- #define UIP_IPADDR2 1 /**< The third octet of the IP address of
- this uIP node, if UIP_FIXEDADDR is
- 1. hideinitializer */
- #define UIP_IPADDR3 13 /**< The fourth octet of the IP address of
- this uIP node, if UIP_FIXEDADDR is
- 1. hideinitializer */
- #define UIP_NETMASK0 255 /**< The first octet of the netmask of
- this uIP node, if UIP_FIXEDADDR is
- 1. hideinitializer */
- #define UIP_NETMASK1 255 /**< The second octet of the netmask of
- this uIP node, if UIP_FIXEDADDR is
- 1. hideinitializer */
- #define UIP_NETMASK2 255 /**< The third octet of the netmask of
- this uIP node, if UIP_FIXEDADDR is
- 1. hideinitializer */
- #define UIP_NETMASK3 0 /**< The fourth octet of the netmask of
- this uIP node, if UIP_FIXEDADDR is
- 1. hideinitializer */
- #define UIP_DRIPADDR0 192 /**< The first octet of the IP address of
- the default router, if UIP_FIXEDADDR is
- 1. hideinitializer */
- #define UIP_DRIPADDR1 168 /**< The second octet of the IP address of
- the default router, if UIP_FIXEDADDR is
- 1. hideinitializer */
- #define UIP_DRIPADDR2 1 /**< The third octet of the IP address of
- the default router, if UIP_FIXEDADDR is
- 1. hideinitializer */
- #define UIP_DRIPADDR3 1 /**< The fourth octet of the IP address of
- the default router, if UIP_FIXEDADDR is
- 1. hideinitializer */
复制代码
一周热门 更多>