public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] about the wireless lan on iPAQ
@ 2002-11-06  6:15 00917764d
  2002-11-06  6:22 ` Gary Thomas
  0 siblings, 1 reply; 2+ messages in thread
From: 00917764d @ 2002-11-06  6:15 UTC (permalink / raw)
  To: ecos-discuss

I have ported the eCos on iPAQ H3630. Now, I would like to use the wireless 
lan on iPAQ. I am using the Socket Low Power Wlan card. When I try to modify 
the ecos sources code, I check that there are some IP setting in the file 
bootp.c under the /package/redboot/net/bootp.c. The following are what I am 
talking about.

static const unsigned char dhcpCookie[] = {99,130,83,99};
static const unsigned char dhcpEndOption[] = {255};
static const unsigned char dhcpRequestOption[] = {52,1,3};


    r.ip_addr[0] = 255;
    r.ip_addr[1] = 255;
    r.ip_addr[2] = 255;
    r.ip_addr[3] = 255;
    r.enet_addr[0] = 255;
    r.enet_addr[1] = 255;
    r.enet_addr[2] = 255;
    r.enet_addr[3] = 255;
    r.enet_addr[4] = 255;
    r.enet_addr[5] = 255;

Is it necessary for me to modify these code? Please give me some suggestion 
what I should do. Thanks!!

Pang


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] about the wireless lan on iPAQ
  2002-11-06  6:15 [ECOS] about the wireless lan on iPAQ 00917764d
@ 2002-11-06  6:22 ` Gary Thomas
  0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2002-11-06  6:22 UTC (permalink / raw)
  To: 00917764d; +Cc: eCos Discussion

On Wed, 2002-11-06 at 07:15, 00917764d wrote:
> I have ported the eCos on iPAQ H3630. Now, I would like to use the wireless 
> lan on iPAQ. I am using the Socket Low Power Wlan card. When I try to modify 
> the ecos sources code, I check that there are some IP setting in the file 
> bootp.c under the /package/redboot/net/bootp.c. The following are what I am 
> talking about.
> 
> static const unsigned char dhcpCookie[] = {99,130,83,99};
> static const unsigned char dhcpEndOption[] = {255};
> static const unsigned char dhcpRequestOption[] = {52,1,3};
> 
> 
>     r.ip_addr[0] = 255;
>     r.ip_addr[1] = 255;
>     r.ip_addr[2] = 255;
>     r.ip_addr[3] = 255;
>     r.enet_addr[0] = 255;
>     r.enet_addr[1] = 255;
>     r.enet_addr[2] = 255;
>     r.enet_addr[3] = 255;
>     r.enet_addr[4] = 255;
>     r.enet_addr[5] = 255;
> 
> Is it necessary for me to modify these code? Please give me some suggestion 
> what I should do. Thanks!!

No, you should not be changing any of these settings.

If you are just trying to force a particular IP address (as
opposed to using BOOTP/DHCP), use the CDL to change that
behaviour.

Does your wireless card do anything yet?  Can you see if it
moves packets in/out?  I'd start with that before worrying
about the IP address to use.

-- 
------------------------------------------------------------
Gary Thomas                  |
eCosCentric, Ltd.            |  
+1 (970) 229-1963            |  eCos & RedBoot experts
gthomas@ecoscentric.com      |
http://www.ecoscentric.com/  |
------------------------------------------------------------


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-06 14:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-06  6:15 [ECOS] about the wireless lan on iPAQ 00917764d
2002-11-06  6:22 ` Gary Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).