1 |
nightmorph 09/12/14 21:35:05 |
2 |
|
3 |
Modified: gentoo-sparc-netboot-howto.xml |
4 |
Log: |
5 |
Update sparc netboot howto with hexadecimal conversion notes, bug 296744 |
6 |
|
7 |
Revision Changes Path |
8 |
1.11 xml/htdocs/doc/en/gentoo-sparc-netboot-howto.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/gentoo-sparc-netboot-howto.xml?rev=1.11&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/gentoo-sparc-netboot-howto.xml?rev=1.11&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/gentoo-sparc-netboot-howto.xml?r1=1.10&r2=1.11 |
13 |
|
14 |
Index: gentoo-sparc-netboot-howto.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-sparc-netboot-howto.xml,v |
17 |
retrieving revision 1.10 |
18 |
retrieving revision 1.11 |
19 |
diff -u -r1.10 -r1.11 |
20 |
--- gentoo-sparc-netboot-howto.xml 20 May 2008 18:46:15 -0000 1.10 |
21 |
+++ gentoo-sparc-netboot-howto.xml 14 Dec 2009 21:35:05 -0000 1.11 |
22 |
@@ -1,13 +1,12 @@ |
23 |
<?xml version='1.0' encoding="UTF-8"?> |
24 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
25 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-sparc-netboot-howto.xml,v 1.10 2008/05/20 18:46:15 swift Exp $ --> |
26 |
- |
27 |
-<guide link="/doc/en/gentoo-sparc-netboot-howto.xml"> |
28 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-sparc-netboot-howto.xml,v 1.11 2009/12/14 21:35:05 nightmorph Exp $ --> |
29 |
|
30 |
+<guide> |
31 |
<title>Gentoo Linux based Netboot HOWTO</title> |
32 |
|
33 |
<author title="SPARC Developer"> |
34 |
- <mail link="weeve@g.o">Jason Wever</mail> |
35 |
+ <mail link="weeve"/> |
36 |
</author> |
37 |
|
38 |
<abstract> |
39 |
@@ -19,8 +18,8 @@ |
40 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
41 |
<license/> |
42 |
|
43 |
-<version>1.2</version> |
44 |
-<date>2005-08-18</date> |
45 |
+<version>1.3</version> |
46 |
+<date>2009-12-14</date> |
47 |
|
48 |
<chapter> |
49 |
<title>Introduction</title> |
50 |
@@ -474,26 +473,14 @@ |
51 |
</p> |
52 |
|
53 |
<p> |
54 |
-A guide on how to convert decimal to hexadecimal is available at |
55 |
-<uri>http://www.permadi.com/tutorial/numDecToHex/</uri> |
56 |
-</p> |
57 |
- |
58 |
-<p> |
59 |
-And for the lazy/impatient, you can find a decimal to hexadecimal conversion |
60 |
-tool at <uri>http://dan.drydog.com/hextemp.html</uri> |
61 |
-</p> |
62 |
- |
63 |
-<note> |
64 |
-For each octet in the IP address (the 10 in 10.0.1.15 for instance), you will |
65 |
-need to convert it to hexadecimal, rather than converting the IP address asa |
66 |
-singular number. |
67 |
-</note> |
68 |
- |
69 |
-<p> |
70 |
So for our example IP address, 10.0.1.15, let's look at its hexadecimal |
71 |
-equivalent; |
72 |
+equivalent: |
73 |
</p> |
74 |
|
75 |
+<pre caption="Convert to hexadecimal"> |
76 |
+# <i>printf "%.2x%.2x%.2x%.2x\n" 10 0 1 15</i> |
77 |
+</pre> |
78 |
+ |
79 |
<pre caption="Example IP address"> |
80 |
decimal 10 0 1 15 |
81 |
hexadecimal 0A 00 01 0F |
82 |
@@ -704,5 +691,4 @@ |
83 |
</body> |
84 |
</section> |
85 |
</chapter> |
86 |
- |
87 |
</guide> |