|
|
View previous topic :: View next topic |
Author |
Message |
djougue
Joined: 06 Dec 2012 Posts: 1
|
loss board configuration |
Posted: Thu Dec 06, 2012 9:17 am |
|
|
good evening;
please i have the following problem, i have estblished Ad-hoc network between the board and my laptop. and fixed my ip address board at 169.254.1.30, desactivate dhcp client and activate ip_gleaning. My laptop get automatically 169.254.39.61 address.
I can see packet send through the network using wireshark and all work fine: i can also ping the board... but at certain moment the board becomes unreacheable i don't no why ( it loss ip address, Mac and doesn't send or receive any packet). I think that it is after a tcp request from laptop to the board. please what cause this issu?
this is my following protocol configuration
#define STACK_USE_UART // Application demo using UART for IP address display and stack configuration
#define STACK_USE_IP_GLEANING
#define STACK_USE_HTTP2_SERVER // New HTTP server with POST, Cookies, Authentication, etc
#define STACK_USE_ICMP_SERVER // Ping query and response capability
//#define STACK_USE_DYNAMICDNS_CLIENT // Dynamic DNS client updater module
#define STACK_USE_ICMP_CLIENT // Ping transmission capability
#define STACK_USE_DNS // Domain Name Service Client for resolving hostname strings to IP addresses
//#define STACK_USE_DHCP_SERVER // Single host DHCP server
//#define STACK_USE_DNS_SERVER // Domain Name Service Server for redirection to the local device
//#define STACK_USE_UDP_PERFORMANCE_TEST // Module for testing UDP TX performance characteristics. |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9254 Location: Greensville,Ontario
|
|
Posted: Thu Dec 06, 2012 9:27 am |
|
|
Sorry but you don't give us any PIC type information..like what 'the board' is, compiler version,PIC ,etc?
However, I read your post and you say that 'the board' has an address of 169.254.1.30, yet your PC software reads it as 169.254.39.61 ?
If this is true, I can understand why the PC doesn't read the PIC.
As to 'why' I can't explain without first seeing your code.
Maybe others have better understanding of your problem ? |
|
|
asmallri
Joined: 12 Aug 2004 Posts: 1636 Location: Perth, Australia
|
Re: loss board configuration |
Posted: Thu Dec 06, 2012 10:31 am |
|
|
djougue wrote: | My laptop get automatically 169.254.39.61 address |
Please explain what you mean here. If you PC is configured to use DHCP and it is not able to get a DHCP lease it will use an address similar to the one you have listed however it will continue trying to acquire a DHCP address and during this process network connectivity will be lost.
What is the subnet mask that is being used? _________________ Regards, Andrew
http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!! |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|