This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Still on ethernet configuration
- From: Gary Thomas <gthomas at ecoscentric dot com>
- To: Cristiano Pereira <ligieri2002 at hotmail dot com>
- Cc: Andrew Lunn <andrew dot lunn at ascom dot ch>,eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 16 Oct 2002 09:31:36 -0600
- Subject: Re: [ECOS] Still on ethernet configuration
- References: <F1612oHzGkzMcvsq9Ic00000705@hotmail.com>
On Wed, 2002-10-16 at 09:18, Cristiano Pereira wrote:
> I guess we have different versions of the code then. The one I'm using a
> little older than the you are using. My code
> compiles prefectly and my build_bootp_record function has got only 6
> parameters and not 7. It does not have the
> "eth" one.
>
> Should I update to the latest code then?
>
Absolutely. If you have problems, we (the eCos community) can really
only help if you're running [at least close to] the sources we are
using.
> Cristiano.
>
> > > Here is my whole code (it's quite small but has been giving me big
> > > headache):
> >
> >Did you actually compile this code? It has errors in it that won't
> >even compile here.
> >
> > <snip>
> > >
> > > build_bootp_record(&bootp_info,
> > > "128.195.11.220",
> > > "255.255.255.0",
> > > "128.195.11.255",
> > > "128.195.11.1",
> > > "");
> > >
> >
> >This call is incorrect - it needs 7 parameters, like this:
> > build_bootp_record(&bootp_info,
> > "eth0",
> > "192.128.1.31",
> > "255.255.255.0",
> > "192.168.1.255",
> > "0.0.0.0",
> > "0.0.0.0"
> > );
> >
> >Another useful thing to do is print what was created:
> >
> > show_bootp("eth0", &bootp_info);
> >
> >--
> >------------------------------------------------------------
> >Gary Thomas |
> >eCosCentric, Ltd. |
> >+1 (970) 229-1963 | eCos & RedBoot experts
> >gthomas@ecoscentric.com |
> >http://www.ecoscentric.com/ |
> >------------------------------------------------------------
>
>
> _________________________________________________________________
> Choose an Internet access plan right for you -- try MSN!
> http://resourcecenter.msn.com/access/plans/default.asp
>
>
> --
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
--
------------------------------------------------------------
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