OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [doc/] [html/] [ref/] [net-common-maintenance-tools.html] - Blame information for rev 593

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 28 unneback
<!-- Copyright (C) 2003 Red Hat, Inc.                                -->
2
<!-- This material may be distributed only subject to the terms      -->
3
<!-- and conditions set forth in the Open Publication License, v1.0  -->
4
<!-- or later (the latest version is presently available at          -->
5
<!-- http://www.opencontent.org/openpub/).                           -->
6
<!-- Distribution of the work or derivative of the work in any       -->
7
<!-- standard (paper) book form is prohibited unless prior           -->
8
<!-- permission is obtained from the copyright holder.               -->
9
<HTML
10
><HEAD
11
><TITLE
12
>Maintenance Tools </TITLE
13
><meta name="MSSmartTagsPreventParsing" content="TRUE">
14
<META
15
NAME="GENERATOR"
16
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
17
"><LINK
18
REL="HOME"
19
TITLE="eCos Reference Manual"
20
HREF="ecos-ref.html"><LINK
21
REL="UP"
22
TITLE="Tests and Demonstrations"
23
HREF="net-common-tests-and-demonstrations.html"><LINK
24
REL="PREVIOUS"
25
TITLE="Interactive Tests"
26
HREF="net-common-interactive-tests.html"><LINK
27
REL="NEXT"
28
TITLE="Support Features"
29
HREF="net-common-support.html"></HEAD
30
><BODY
31
CLASS="SECT1"
32
BGCOLOR="#FFFFFF"
33
TEXT="#000000"
34
LINK="#0000FF"
35
VLINK="#840084"
36
ALINK="#0000FF"
37
><DIV
38
CLASS="NAVHEADER"
39
><TABLE
40
SUMMARY="Header navigation table"
41
WIDTH="100%"
42
BORDER="0"
43
CELLPADDING="0"
44
CELLSPACING="0"
45
><TR
46
><TH
47
COLSPAN="3"
48
ALIGN="center"
49
>eCos Reference Manual</TH
50
></TR
51
><TR
52
><TD
53
WIDTH="10%"
54
ALIGN="left"
55
VALIGN="bottom"
56
><A
57
HREF="net-common-interactive-tests.html"
58
ACCESSKEY="P"
59
>Prev</A
60
></TD
61
><TD
62
WIDTH="80%"
63
ALIGN="center"
64
VALIGN="bottom"
65
>Chapter 36. Tests and Demonstrations</TD
66
><TD
67
WIDTH="10%"
68
ALIGN="right"
69
VALIGN="bottom"
70
><A
71
HREF="net-common-support.html"
72
ACCESSKEY="N"
73
>Next</A
74
></TD
75
></TR
76
></TABLE
77
><HR
78
ALIGN="LEFT"
79
WIDTH="100%"></DIV
80
><DIV
81
CLASS="SECT1"
82
><H1
83
CLASS="SECT1"
84
><A
85
NAME="NET-COMMON-MAINTENANCE-TOOLS">Maintenance Tools</H1
86
><TABLE
87
BORDER="5"
88
BGCOLOR="#E0E0F0"
89
WIDTH="70%"
90
><TR
91
><TD
92
><PRE
93
CLASS="PROGRAMLISTING"
94
><SPAN
95
CLASS="emphasis"
96
><I
97
CLASS="EMPHASIS"
98
>set_mac_address</I
99
></SPAN
100
> - set MAC address(es) of interfaces in NVRAM</PRE
101
></TD
102
></TR
103
></TABLE
104
><P
105
>This program makes an example <TT
106
CLASS="FUNCTION"
107
>ioctl()</TT
108
> call
109
<SPAN
110
CLASS="ACRONYM"
111
>SIOCSIFHWADDR</SPAN
112
>
113
&#8220;Socket IO Set InterFace HardWare ADDRess&#8221;
114
to set the MAC address on targets
115
where this is supported and enabled in the configuration. You must
116
edit the source to choose a MAC address and further edit it to allow
117
this very dangerous operation. Not all ethernet drivers support
118
this operation, because most ethernet hardware does not support
119
it &#8212; or it comes pre-set from the factory.
120
<SPAN
121
CLASS="emphasis"
122
><I
123
CLASS="EMPHASIS"
124
>Do not use this program.</I
125
></SPAN
126
></P
127
></DIV
128
><DIV
129
CLASS="NAVFOOTER"
130
><HR
131
ALIGN="LEFT"
132
WIDTH="100%"><TABLE
133
SUMMARY="Footer navigation table"
134
WIDTH="100%"
135
BORDER="0"
136
CELLPADDING="0"
137
CELLSPACING="0"
138
><TR
139
><TD
140
WIDTH="33%"
141
ALIGN="left"
142
VALIGN="top"
143
><A
144
HREF="net-common-interactive-tests.html"
145
ACCESSKEY="P"
146
>Prev</A
147
></TD
148
><TD
149
WIDTH="34%"
150
ALIGN="center"
151
VALIGN="top"
152
><A
153
HREF="ecos-ref.html"
154
ACCESSKEY="H"
155
>Home</A
156
></TD
157
><TD
158
WIDTH="33%"
159
ALIGN="right"
160
VALIGN="top"
161
><A
162
HREF="net-common-support.html"
163
ACCESSKEY="N"
164
>Next</A
165
></TD
166
></TR
167
><TR
168
><TD
169
WIDTH="33%"
170
ALIGN="left"
171
VALIGN="top"
172
>Interactive Tests</TD
173
><TD
174
WIDTH="34%"
175
ALIGN="center"
176
VALIGN="top"
177
><A
178
HREF="net-common-tests-and-demonstrations.html"
179
ACCESSKEY="U"
180
>Up</A
181
></TD
182
><TD
183
WIDTH="33%"
184
ALIGN="right"
185
VALIGN="top"
186
>Support Features</TD
187
></TR
188
></TABLE
189
></DIV
190
></BODY
191
></HTML
192
>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.