File: lg_tips.html

package info (click to toggle)
lg-issue84 2-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,384 kB
  • ctags: 135
  • sloc: makefile: 35; sh: 34
file content (2142 lines) | stat: -rw-r--r-- 81,236 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
<!--startcut  ==============================================-->
<!-- *** BEGIN HTML header *** -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><HEAD>
<META NAME="generator" CONTENT="lgazmail v1.4F.y">
<TITLE>More 2 Cent Tips &amp; Tricks LG #84</TITLE></HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#0000AF"
ALINK="#FF0000">
<!-- *** END HTML header *** -->

<!-- *** BEGIN navbar *** -->
<IMG ALT="" SRC="../gx/navbar/left.jpg" WIDTH="14" HEIGHT="45" BORDER="0" ALIGN="bottom"><A HREF="lg_mail.html"><IMG ALT="[ Prev ]" SRC="../gx/navbar/prev.jpg" WIDTH="16" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="index.html"><IMG ALT="[ Table of Contents ]" SRC="../gx/navbar/toc.jpg" WIDTH="220" HEIGHT="45" BORDER="0" ALIGN="bottom" ></A><A HREF="../index.html"><IMG ALT="[ Front Page ]" SRC="../gx/navbar/frontpage.jpg" WIDTH="137" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="http://www.linuxgazette.com/cgi-bin/talkback/all.py?site=LG&article=http://www.linuxgazette.com/issue84/lg_tips.html"><IMG ALT="[ Talkback ]" SRC="../gx/navbar/talkback.jpg" WIDTH="121" HEIGHT="45" BORDER="0" ALIGN="bottom"  ></A><A HREF="../lg_faq.html"><IMG ALT="[ FAQ ]" SRC="./../gx/navbar/faq.jpg"WIDTH="62" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="lg_answer.html"><IMG ALT="[ Next ]" SRC="../gx/navbar/next.jpg" WIDTH="15" HEIGHT="45" BORDER="0" ALIGN="bottom"  ></A><IMG ALT="" SRC="../gx/navbar/right.jpg" WIDTH="15" HEIGHT="45" ALIGN="bottom">
<!-- *** END navbar *** -->

<!--endcut ============================================================-->

<TABLE BORDER><TR><TD WIDTH="200">
<A HREF="http://www.linuxgazette.com/">
<IMG ALT="LINUX GAZETTE" SRC="../gx/2002/lglogo_200x41.png" 
	WIDTH="200" HEIGHT="41" border="0"></A>
<BR CLEAR="all">
<SMALL>...<I>making Linux just a little more fun!</I></SMALL>
</TD><TD>


<center>
<BIG><BIG><STRONG><FONT COLOR="maroon">More 2&cent; Tips!</FONT></STRONG></BIG></BIG><BR>
<!-- BEGIN tips -->

<STRONG>By <A HREF="mailto:linux-questions-only@ssc.com">The Readers of <i>Linux Gazette</I></A></STRONG></BIG>
</TD></TR>
</TABLE>
<P>

<!-- END header -->
<center><STRONG>See also: The Answer Gang's 
<a href="../tag/kb.html">Knowledge Base</a>
and the <i>LG</i> 
<a href="http://www.linuxgazette.com/search.html">Search Engine</a></STRONG>
</center><HR>
<UL>
<!-- index_text begins -->
<li><A HREF="#tips/1"
	><strong>Hiding your email on websites from spammers</strong></a>
<li><A HREF="#tips/2"
	><strong>Help on LILO</strong></a>
<li><A HREF="#tips/3"
	><strong>bad clusters</strong></a>
<li><A HREF="#tips/4"
	></a>CDRW --or--
<br><A HREF="#tips/4"
	><strong>CDRW plugging-it-in mini-howto</strong></a>

<li><A HREF="#tips/5"
	><strong>1   ut2003a.tgz: The archive is corrupt</strong></a>
<li><A HREF="#tips/6"
	><strong>How to delete LINUX?</strong></a>
<li><A HREF="#tips/7"
	><strong>How to write C program?</strong></a>
<li><A HREF="#tips/8"
	><strong>cd-writer device driver</strong></a>
<li><A HREF="#tips/9"
	></a>duplex printing not exactly right --or--
<br><A HREF="#tips/9"
	><strong>Cheap duplex fix</strong></a>
<br>seeking to do a better one...
<li><A HREF="#tips/10"
	><strong>odd use for eject</strong></a>
<li><A HREF="#tips/11"
	><strong>emacs</strong></a>
<li><A HREF="#tips/12"
	><strong>how many roots?</strong></a>
<li><A HREF="#tips/13"
	><strong>[LG 82] help wanted #3 Postfix hates Outlook</strong></a>
<li><A HREF="#tips/14"
	><strong>Fun With Ioctls</strong></a>
<li><A HREF="#tips/15"
	><strong>lkml</strong></a>
<li><A HREF="#tips/16"
	></a>The Weekend Mechanic --or--
<br><A HREF="#tips/16"
	><strong>When the Weekend Mechanic loses his tools</strong></a>
<br>he finds them pretty quickly.
<li><A HREF="#tips/17"
	><strong>ATI Rage M4</strong></a>
<li><A HREF="#tips/18"
	><strong>Cannot Login as root at all</strong></a>
<li><A HREF="#tips/19"
	></a>LJ Page Customer Service: satheish --or--
<br><A HREF="#tips/19"
	><strong>I would have called, but...</strong></a>

<li><A HREF="#tips/20"
	><strong>Getting rid of offensive content on your hard disk dreged up by your web browser</strong></a>
<li><A HREF="#tips/21"
	></a>Hoping you have the solution to a problem... --or--
<br><A HREF="#tips/21"
	><strong>At a loss for words</strong></a>

<li><A HREF="#tips/22"
	><strong>need your help</strong></a>
<li><A HREF="#tips/23"
	><strong>2 tips for the TAG</strong></a>
<li><A HREF="#tips/24"
	><strong>Troubleshooting GRUB</strong></a>
<li><A HREF="#tips/25"
	><strong>please clear my doubts</strong></a>
<li><I>Linux Journal's</I> Weekly News Notes 
	<a href="#tips/lj">Tech Tips</a>
	<ul>
	</ul>
<!-- index_text ends -->
</UL>
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/1"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Hiding your email on websites from spammers</FONT></H3>
Sat, 28 Sep 2002 22:02:01 -0700
<BR>Benjamin A. Okopnik (<a href="mailto:linux-questions-only@ssc.com?cc=linux-questions-only@ssc.com&subject=%20Re%3A%20%5BLG%2084%5D%202c%20Tips%20%231">the <em>LG</em> Answer Gang</a>)


<P>
Here's a way to "munge" your email address on your Web page so that
spammer's bots can't grab it:
</P>

<blockquote><pre>perl -we'map{printf"&amp;#%s;",ord}split//,pop' user@host.com
</pre></blockquote>
<P>
Use your address, and stick the output into your HTML where you'd
normally use your address. It will display correctly, but all that the
bots will see will be something like
</P>
<P>
&amp;#117;&amp;#115;&amp;#101;&amp;#114;&amp;#64;&amp;#104;&amp;#111;&amp;#115;&amp;#116;&amp;#46;&amp;#99;&amp;#111;&amp;#109;
</P>

<blockquote><font color="#000066">Of course, if bots get smart enough to undo this, it won't help...  a
friend of mine also uses tricks to confuse them as to where the @ sign
has gotten to... SGML comments within their domain name, stuff like
that.  Yet another shows their address and phone number within a PNG
of their business card (although, admittedly, this is not lynx-clean).
</font></blockquote>
<blockquote><font color="#000066">A combination of such tricks, combined with a couple of
"sentinel" addresses which look legit but are only for spambots to
find, should aid you greatly in both reducing the total spam, and in
having bait to feed to Razor to reduce the overall spam even further.
 -- Heather</font></blockquote>

<!-- end 1 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/2"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Help on LILO</FONT></H3>
Tue, 08 Oct 2002 02:36:22 -0700
<BR>Tres Melton (<a href="mailto:linux-questions-only@ssc.com?cc=linux-questions-only@ssc.com&cc=class5@pacbell.net&subject=%20Re%3A%20%5BLG%2084%5D%202c%20Tips%20%232">class5 from pacbell.net</a>)



<!-- sig -->


<!-- sig -->

<P>
I can usually resolve LILO issue myself but I read your help solutions
out of curiosity.  The one thing that I noticed that you missed
(hopefully -- I only skimmed your replies) is the fact that LILO is
printed one character at a time.  Each character means the following...
</P>
<P>
Characters
</P>

<blockquote><em><font color="#000033"><br>Description
</font></em></blockquote>
<P>
none
</P>

<blockquote><em><font color="#000033"><br>	LILO has not yet started. Either it was not installed or
<br> 	the partition is not active
</font></em></blockquote>
<P>
L errorcode
</P>

<blockquote><em><font color="#000033"><br>	The first stage boot loader has been loaded and started.
<br>	However, the second stage boot loader cannot be loaded.
<br> 	The errorcode typically indicates a media problem, such
<br>	as a hard disk error or incorrect hard disk geometry.
</font></em></blockquote>
<P>
LI
</P>

<blockquote><em><font color="#000033"><br>	The second stage boot loader was loaded, but could not
<br>	be executed. Either a geometry msimatch or by moving
<br> 	/boot/boot.b and not running the map installer.
</font></em></blockquote>

<blockquote><font color="#001F3F">Or the "lba32" option was specified and the BIOS or drive cannot handle it.
Solution: switch to "linear".
 -- Mike</font></blockquote>
<P>
LIL
</P>

<blockquote><em><font color="#000033"><br>	Second stage boot loader started, but could not load the
<br>	descriptor table from the map file. Typically a media
<br>	failure or by a geometry mismatch.
</font></em></blockquote>
<P>
LIL?
</P>

<blockquote><em><font color="#000033"><br>	Second stage boot loader loaded at an incorrect address.
<br>	Typically a geometry mismatch or by moving /boot/boot.b
<br>	without running the map installer.
</font></em></blockquote>
<P>
LIL-
</P>

<blockquote><em><font color="#000033"><br>	Descriptor table is corrupt. Either a geometry mismatch
<br> 	or by moving /boot/boot.b without running the map
<br>	installer.
</font></em></blockquote>

<blockquote><font color="#000066">That is, you made it into 32 bit or other paged memory processing,
beyond what old DOS hacks call "real mode" -- but the page descriptors
don't look good, and LILO refuses to jump to hyperspace with such
ugly coordinates.
 -- Heather</font></blockquote>
<P>
LILO
</P>

<blockquote><em><font color="#000033"><br>	Everything successfully loaded and executed.
</font></em></blockquote>

<blockquote><font color="#000066">Statistics: 3 out of 6 troubles mention the map installer.  Just run
/sbin/lilo again and see if it helps.
</font></blockquote>
<blockquote><font color="#000066">4 out of 6 mention geometry.  linear, lba32, and compact are all options
which relate to geometry; if you're using one, try changing this and
running /sbin/lilo.   But you just might have to tweak CMOS instead.
For instance, LBA32 often needs to be turned on in CMOS before the lilo
option can do anything.
</font></blockquote>
<blockquote><font color="#000066">2 mention media problems.  Sorry.  If you're lucky the mangled piece
of disk is not track 0, and you can just copy fresh lilo bits out of
their package, to new disk locations that aren't bad.  For goodness'
sake run fsck -c to get the bad spots marked useless before going much
further.  And make sure your partition table is good.
</font></blockquote>
<blockquote><font color="#000066">And #1 on the "whap yourself on the forehead" list: If you get no
LILO response at all, make sure that /etc/lilo.conf says boot=/dev/hda
(or sda if you're on SCSI and not a numbered partition like /dev/hda1.
 -- Heather</font></blockquote>
<P>
Courtesy of Linux Tutorial
</P>

<blockquote><a href="http://www.linux-tutorial.info/cgi-bin/display.pl?68&0&0&0&3"
>http://www.linux-tutorial.info/cgi-bin/display.pl?68&amp;0&amp;0&amp;0&amp;3</a></blockquote>
<P>
Regards
<BR>Tres
</P>

<!-- end 2 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/3"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">bad clusters</FONT></H3>
Mon, 30 Sep 2002 16:28:55 -0700
<BR>Dan Wilder (<a href="mailto:linux-questions-only@ssc.com?cc=aneta@cox.net&cc=dan@ssc.com&subject=%20Re%3A%20%5BLG%2084%5D%202c%20Tips%20%233">dan from ssc.com</a>)
<BR>Question by aneta (aneta from cox.net)


<P><STRONG>
where do bad clusters come from?
</STRONG></P>
<P>
The Great Bad Cluster Cabbage Patch in the Sky.
</P>
<P>
Seriously, bad clusters represent errors in a file system.  They may be
soft errors, for example where power failed or the OS crashed during a
write to disk.  It could be where there are some bad bits on RAM that
was used to hold data on the way to the filesystem.   It may be that the
computer has problems with its power circuitry, either in the power
supply or in the power distribution circuits, filters, regulators and so
on on the motherboard.  Or the underlying problem may be failed sectors
on the disk.
</P>
<P><STRONG>
also my friend has an HP pavilion with
windows 98, she has 3 bad clusters and her computer is running anciently
slow. i'm running a windows 95 format disk to reformat her computer and
so far it has been running for 3 days just trying to recover the
allocation units, why is it running slow, and will re-formatting take
care of some of the problems since she does have bad clusters?
</STRONG></P>
<P>
In either the Linux case, which is what this mailing list is about, or
other operating systems, it's time to enlist the services of somebody
with serious diagnostic tools and skills.  Simply reformatting the
disk is very unlikely to cure the underlying problem, unless it was
merely due to a power glitch.  It probably wasn't a good idea to begin
the reformat prior to consulting an expert, as you may have erased some
of the information that would lead to a correct diagnosis.
</P>
<P>
Or, it might just be time to replace the computer.
</P>

<blockquote><font color="#000066">I wouldn't rush to that as the first thing; it may only be the hard disk
that's bad, not the whole machine.
</font></blockquote>
<blockquote><font color="#000066">If a bad controller on the motherboard is doing it, well yes, then it's
probably easier to just replace the box.
 -- Heather</font></blockquote>

<!-- end 3 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/4"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">CDRW plugging-it-in mini-howto</FONT></H3>
Tue, 24 Sep 2002 15:13:26 -0700
<BR>Jim Dennis, Karl-Heinz Herrmann, Dan Wilder, Mike 'Iron' Orr (<a href="mailto:linux-questions-only@ssc.com?cc=rlewis97@sheltonbbs.com&subject=%20Re%3A%20%5BLG%2084%5D%202c%20Tips%20%234">the <em>LG</em> Answer Gang</a>)
<BR>Question by Dale &amp; Shelby (rlewis97 from sheltonbbs.com)


<!-- ::
CDRW plugging-it-in mini-howto
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
I know nearly nothing about drives.  I purchased a cd-rd drive and can't
get it to work.  I have installed the drive, but it won't work.  The
switch on the back of the drive is set in the middle.  There is no
writing on the switches, so I assumed the switch was set on the slave
from the factory.  From what I have read it seems like it has something
to do with my ide.  But I have no idea how to set that.  The drive does
not show up in my hardware properties.  Do you think you can help?
</STRONG></P>
<P><STRONG>
Thanks in advance
</STRONG></P>
<BLOCKQUOTE>
[JimD] 
.... That's an MS Windows dialog box. Right?
</BLOCKQUOTE>
<BLOCKQUOTE>
If so you should call Microsoft and see if they offer support for
their products.
</BLOCKQUOTE>

<blockquote><font color="#000066">Strictly speaking, it's the CD bay manufacturer to call, not the MSwin
guys.
 -- Heather</font></blockquote>
<BLOCKQUOTE>
[K.-H.] 
Start earlier -- bo into bios setup and do a "drive detect" if available.
Does it show up there? Also All IDE CD drives I had gave some boot message
during the BIOS search for IDE devices. This is before the box with the
summary comes but after the memory countup.
</BLOCKQUOTE>
<BLOCKQUOTE>
If it's not there the hardware is not detected and something is quite wrong
on hardware level.
</BLOCKQUOTE>
<BLOCKQUOTE>
[Dan] 
Try the HOWTOs...
</BLOCKQUOTE>
<BLOCKQUOTE>
You'll probably have to rebuild your kernel or load a module
to support these.  If you need help with that, check back here
after you've taken a look at the HOWTO.
</BLOCKQUOTE>
<BLOCKQUOTE>
[JimD] 
The best resource for this topic right now is probably:
</BLOCKQUOTE>
<BLOCKQUOTE><DL><DT>
Winfried Trmper's CD-Writing HOWTO
<DD><A HREF="http://www.tldp.org/HOWTO/CD-Writing-HOWTO.html"
	>http://www.tldp.org/HOWTO/CD-Writing-HOWTO.html</A>
</DL></BLOCKQUOTE>
<BLOCKQUOTE>
... though there are a couple of comments at:
</BLOCKQUOTE>
<BLOCKQUOTE><DL><DT>
The Answer Gang 65: cd-writing mini-howto
<DD><A HREF="../issue65/tag/17.html"
	>http://www.linuxgazette.com/issue65/tag/17.html</A>
</DL></BLOCKQUOTE>
<BLOCKQUOTE>
In general IDE CDR/CDRW drives under Linux are accessed through
the SCSI emulation layer.  Thus you normally have to build the
ide-scsi module (either into your kernel, statically, or as a
loadable ".o" file).  Normally you'd also have to pass the kernel
a command line hint like hdc=ide-scsi which will force the system
to direct all traffic to that IDE device through the SCSI emulation
subsystem.
</BLOCKQUOTE>
<BLOCKQUOTE>
The oddity of this is that it affect normal access to CDs via
that device, too.  Thus to mount a normal CD in that drive you'd use
the <TT>/dev/scd0</TT> (or other <TT>/dev/scd*</TT>) device node.  Writing to CDR and
CDRW media would generally go through the <TT>/dev/sg0</TT> (or similar)
devices -- sg is "generic scsi device" (printers, scanners, etc).
(Actually the cdrecord command uses a three part bus, ID, LUN address
for this).
</BLOCKQUOTE>
<BLOCKQUOTE>
[Iron] 
If it's a new drive, I would return it and say the inadequate labeling is
preventing you from using the drive.  Maybe that will goad the manufacturer
into doing what practically all other manufacturers have done: put labels
with diagrams on the drive.
</BLOCKQUOTE>
<BLOCKQUOTE>
An IDE drive normally has a jumper (not a switch) with three positions:
"master", "slave" and "cable select".  Some also have a position for "single".
IDE cables have three plugs so they can fit two drives on one controller.  If
this is the only drive on the cable, it must be "single" (if such a position
exists) or "master" (if it doesn't).  If there is another drive on the cable
too, one must be "master" and the other "slave".  "Cable select" was one of
those nifty new ideas that never caught on, so don't bother with it.
</BLOCKQUOTE>
<BLOCKQUOTE>
If an IDE plug fits it, it's probably an IDE drive.  I've never seen one with
a switch instead of jumpers, but it's possible.  Is it an external drive?
Those would be more likely to have switches.
</BLOCKQUOTE>
<BLOCKQUOTE>
If the switch is unlabeled you'll have no choice but to try all three positions
and see which one works.
</BLOCKQUOTE>
<BLOCKQUOTE>
The IDE cable should be connected with the red stripe facing toward the power
cable.  On the motherboard, the red stripe should go toward the pin marked "1".
</BLOCKQUOTE>
<BLOCKQUOTE>
The power cable is connected, right?
</BLOCKQUOTE>
<BLOCKQUOTE>
It's possible it's not an IDE drive at all but a SCSI drive.  The plug would
be a different shape and the switch would have numbers (0-8 or 0-16).
</BLOCKQUOTE>

<!-- end 4 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/5"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">1   ut2003a.tgz: The archive is corrupt</FONT></H3>
Wed, 02 Oct 2002 20:52:02 -0700
<BR>Dan Wilder, Rick Moen (<a href="mailto:linux-questions-only@ssc.com?cc=jmed@shaw.ca&subject=%20Re%3A%20%5BLG%2084%5D%202c%20Tips%20%235">the <em>LG</em> Answer Gang</a>)
<BR>Question by Justin Medeiros (jmed from shaw.ca)

<P><STRONG>
hey i have downloaded a .tar file and it says its corrupted, and i
changed it to .tgz and it's still corrupt, any ideas?
</STRONG></P>
<P><STRONG>
thanks.
</STRONG></P>
<BLOCKQUOTE>
[Dan] 
Believe tar.  The file is corrupted.  Throw it away.  Download it again.
</BLOCKQUOTE>
<BLOCKQUOTE>
You didn't say how you downloaded it.
</BLOCKQUOTE>

<blockquote><font color="#000066">Rick Moen proceeds to answer the question he should have asked ... "how
do I keep it from arriving corrupted?"
 -- Heather</font></blockquote>
<BLOCKQUOTE>
If you were using the ftp protocol, make sure you were using binary
transfer mode, not ascii mode.
</BLOCKQUOTE>

<!-- end 5 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/6"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">How to delete LINUX?</FONT></H3>
Fri, 18 Oct 2002 01:43:28 -0400
<BR>Daniel Washko (<a href="mailto:linux-questions-only@ssc.com?cc=zhous@wicc.weizmann.ac.il&subject=%20Re%3A%20%5BLG%2084%5D%202c%20Tips%20%236">the <em>LG</em> Answer Gang</a>)
<BR>Question by Suijian Zhou (zhous from wicc.weizmann.ac.il)



<blockquote><font color="#000066">This is the best framed question of this type I've seen in years, and
Daniel had a fast, neat answer ready to hand.  So I'm publishing it
even though it's an FAQ.
</font></blockquote>
<blockquote><font color="#000066">As long as later editions of Windows continue to have a tool
to replace the MBR cleanly, this note will continue to be useful.
 -- Heather</font></blockquote>
<P><STRONG>
Dear Friend,
</STRONG></P>
<P><STRONG>
I have a computer with two operating
systems: Win98+Linux. Now I want to delete
the whole Linux system to free its space into Win98.
The selection of boot for a certain operating
system is by LILO at start. Can you tell me
1) How to delete the Linux?
2) After delete Linux, that means delete LILO
too, so can I still boot the computer into Win98?
</STRONG></P>
<P><STRONG>
Many thanks
</STRONG></P>
<P>
Use a win98 startup disk or the win98 cd to boot.  Run fdisk, delete the
linux partitions using the non-dos partition optoins.  Then exit, run
fdisk <TT>/mbr.</TT>  Reboot with the disk or disc, run fdisk again and create a
new dos partition.  Reboot, format the parition.  Why you would want to do
this is beyond me.  You should be deleting the win98 partition to free up
some disk space for the linux partition.
</P>

<!-- end 6 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/7"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">How to write C program?</FONT></H3>
19 Oct 2002 20:45:15 +0530
<BR>Ashwin M, Rick Moen (<a href="mailto:linux-questions-only@ssc.com?cc=maud007@163.net&subject=%20Re%3A%20%5BLG%2084%5D%202c%20Tips%20%237">the <em>LG</em> Answer Gang</a>)
<BR>Question by maud (maud007 from 163.net)


<P><STRONG>
Hello,I am a university student from China.
Now I write C program with vi,and compile with gcc,but I find write program like this is unefficient.There are very good tools for Windows,
like Visuanl C++, Tubro C/C++ etc.
So I want to ask what tools we can use in Linux and the step to write a program.
</STRONG></P>
<P>
If you find vim and command line gcc too rudimentary for your taste, a
lot of visual-like and IDE tools for Linux are available. Some of the
popular ones are -
</P>

<blockquote><em><font color="#000033"><br>KDevelop  (KDE/Qt based)
<br>Glade     (Gtk based)
</font></em></blockquote>
<P>
If you cannot find them, then maybe you have not installed them from the
CDs. Please do so and give them a try. They ship with all popular Linux
distros (distributions).
</P>
<P>
...  ashwin
</P>
<P>
In case it will help, I maintain a list of all known Linux IDEs <TT>/</TT> GUI
Builders <TT>/</TT> RAD tools, at <A HREF="http://linuxmafia.com/~rick/faq/#idedev"
	>http://linuxmafia.com/~rick/faq/#idedev</A> .
The list has passed 100 entries.
</P>
<P>
... Rick Moen
</P>

<!-- end 7 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/8"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">cd-writer device driver</FONT></H3>
Sat, 05 Oct 2002 10:09:54 -0500
<BR>Karl-Heinz Herrmann, Pradeep (<a href="mailto:linux-questions-only@ssc.com?cc=sarath@scientist.com&subject=%20Re%3A%20%5BLG%2084%5D%202c%20Tips%20%238">the <em>LG</em> Answer Gang</a>)
<BR>Question by Sarath Ananthapadmanabhan (sarath from scientist.com)

<P><STRONG>
hello answerguy,
</STRONG></P>
<P>
Hi Sarath,
</P>
<P>
It's gang now, not guy: see <A HREF="../faq/index.html"
	>http://www.linuxgazette.com/faq/index.html</A>
or www.linuxgazette.com/authors
</P>
<P><STRONG>
I am a final year software engineering student and I want some
driver writing information. I would like to know how to obtain enough
information about my cd-writer to write a driver for it. This is important
for my final sem project and I can't seem to find anything on the web.Even
a few helpful links would do.
</STRONG></P>
<P>
You already asked this on the cdwrite mailing list and you got one answer
pointing you to the SCSI MMC-3 specifications, so why not try to locate it?
The cdwrite mailing list certainly has the more knowledgeable people on this
particular issue. So they do expect you to know at least to some degree what
you are talking about if you venture to write a cd-writer driver from scratch
and they think a pointer like they gave should be sufficient. If you have
particular questions/problems on implementation that will be a good place to
ask again.
</P>
<P><STRONG>
I read that u are an LG fan.
</STRONG></P>
<P>
I am certainly not an LG fan (neither the cdrom manufacturer nor the Indian(?)
electronics manufacturer (TV's and stuff) if they are not the same.
</P>
<P>
I certainly <EM>am</EM> a fan of Linux Gazette so....
</P>
<P><STRONG>
The device I'm talking about is an LG GCE-8160B (16x max).Hope you can
help me with it.
</STRONG></P>
<P>
So -- that might be an IDE drive or might not be an IDE drive. I guess it is.
</P>
<P>
in any case: The protocol used to access these devices --- and all newer
CD-writers are ATAPI/SCSI MMC-3 compliant --- is the MMC-3 specification.
Actually ATAPI for CDROM drives is nothing but SCSI over IDE, so the devices
understand scsi commands which are sent over the IDE hardware connection. In
Linux (to be a little bit ontopic for a LINUX-questions-only) there is a
ide-scsi driver which is taking care of the scsi over ide commands part, so
you don't have to worry about that when writing the driver. (NT BTW does the
same, burners and  Co are treated as SCSI devices).
</P>
<P>
SO:
</P>

<blockQuote><ol>
<LI>try to get hold of this specifications

   like typing "mmc-3 specification" in www.google.com... but this is not the
   first hit there and will require some digging. It is well possible that you
   have to buy that in printed book form from somewhere.
   I get lots of *.msdn.* hits, maybe you find something generic there too.

   you <EM>are</EM> trying low level hardware programming so getting used to that
   kind of bit poking manuals will be unavoidable I guess


<LI>get cdrecord and/or cdrdao and have a look at <EM>their</EM> code, especially
   the library libscg might be interesting since it's handling all the low
   level data transfers


<LI>be aware that this is a major project, i.e. to write a successful driver
   for at least most of the CD-R's features
</ol></blockQuote>
<P>
If you need info on how to write a device driver for Linux there is a HowTo
out there..... hmm. (some poking about in the web-shelves ensues)
</P>
<P><DL><DT>
What I could find are the SCSI-programming howto's:
<DD><A HREF="http://www.tldp.org/HOWTO/HOWTO-INDEX/programming.html#PROGINTERFACE"
	>http://www.tldp.org/HOWTO/HOWTO-INDEX/programming.html#PROGINTERFACE</A>
</DL></P>
<P>
Look for SCSI one page down.
</P>
<P>
(it doesn't evade view for long, though.)
There is a Linux kernel module programming guide:
</P>
<P><BLOCKQuote>
<A HREF="http://www.tldp.org/LDP/lkmpg/mpg.html"
	>http://www.tldp.org/LDP/lkmpg/mpg.html</A>
</BLOCKQuote></P>
<P>
K.-H.
</P>
<P>
It's quite old and the interface is a bit changed in 2.4(from 2.2). The
best reference for driver writers is Alessandro Rubini's book
</P>
<P><DL><DT>
Linux Device Drivers
<DD><A HREF="http://www.oreilly.com/catalog/linuxdrive2"
	>http://www.oreilly.com/catalog/linuxdrive2</A>
</DL></P>
<P>
This is a must if you are planning to do any serious kernel module
hacking. It's quite affordable too. I guess it costs around 170/- in
india.
</P>
<P>
--pradeep
</P>

<!-- end 8 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/9"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Cheap duplex fix</FONT></H3>
Tue, 08 Oct 2002 12:22:32 -0400
<BR>Allan Peda (<a href="mailto:linux-questions-only@ssc.com?cc=&cc=pedaa@rockefeller.edu&subject=%20Re%3A%20%5BLG%2084%5D%202c%20Tips%20%239">pedaa from rockefeller.edu</a>)
<BR>and an alternive answer to same problem, by Ben Okopnik 

<!-- ::
Cheap duplex fix
~~~~~~~~~~~~~~~
seeking to do a better one...
:: -->
<P>
Hi:
</P>
<P><BLOCKQuote>
I wanted to share a trivial printing fix, and ask a question.
We recently upgraded here to a duplex printer,  which worked terrific,
except that when duplex printing from my Redhat 7.3 box every second
page was offset an extra centimter to the right.  It didn't matter which
application I used either.
</BLOCKQuote></P>
<P>
I tried a few different drivers, but they all had this problem. Rather than
approach this trial and error I decided to intercept the input
Postscript and
fix the margins.  Admittedly this is not finding the  cause of this
problem,
but it works.
</P>
<P>
I edited the <TT>/etc/printacap</TT> file (after backing it up) to point to a
different
magic filter wrapper for the duplex printer, and copied the original
wrapper to a new "improved" one.
</P>
<P>
I called this mf_wrapper_duplex, the diff output from the original
mf_wrapper and mf_wrapper_duplex follows:
</P>

<blockquote><pre>diff  /usr/share/printconf/util/mf_wrapper
/usr/share/printconf/util/mf_wrapper_duplex
45c45
&lt; /usr/bin/magicfilter-t "$TMP_FILE" $DEBUGSTRING &lt; /dev/stdin
---
 &gt; pstops -b 2:0\(0,0\),1\(-1cm,0\) &lt; /dev/stdin |
/usr/bin/magicfilter-t "$TMP_FILE" $DEBUGSTRING
</pre></blockquote>
<P>
I use pstops to adjust margins on the postscript data stream, using the
'-b'
option to strip binding information, and push the margins over 1 centimeter
to the left via the 2:0(0,0),1(-1cm,0) rule,  - see the pstops manual.
I then restarted lpd.
</P>
<P>
Of course this is not a perfect, or even a really correct solution, for
one the printconf utility will
overwrite this, so it should be put in <TT>/etc/printconf.local</TT> but I was
getting really
annoyed at the margin drift on the even number pages.  Also, I believe
the data stream into
magicfilter might not be postscript, so it would break on this as well.
</P>
<P>
I think this should really be done in magicfilter - does anyone know how
to hack this nicely?
</P>
<P>
Thanks
<BR>Allan
</P>
<HR width="10%" align="center"><P>
For quite a while now, I've had a printing problem - plain text always
came out shifted about an inch to the left, and some characters "fell
off" the page. Until recently, I didn't bother fixing it - instead, I'd
bring up the text in "vim", issue an ":ha" (hardcopy) command, and
presto!... of course, this required setting up "vim" to print (see my
"Fancy Printing in Vim" tip in LG#79.)
</P>
<P>
However, I <EM>really</EM> dislike it when things don't work the way they
should, and I got around to this recently. Since I use "magicfilter" to
process all of my print stuff, I simply edited
"<TT>/etc/magicfilter/StylusColor-II@720dpi-filter</TT>" (which is what I use for
my Epson Stylus), and changed the last entry, like so:
</P>
<p align="center">See attached <tt><a href="misc/tips/leftshift.sed.txt">leftshift.sed.txt</a></tt></p>
<P>
Note that I also add a formfeed (FF or ^L) at the end of the file. This
character is <EM>not</EM> a '^' followed by an 'L' - that won't work! Instead,
use a Real Editor ('vi', or something else that lets you enter raw
characters). In "vi", as an example, press &lt;Ctrl-V&gt; ("raw character
entry") followed by &lt;Ctrl-L&gt; ("formfeed"). Also, you may need more or
fewer spaces than I did; simply adjust that string of spaces in the
beginning of the "sed" expression.
</P>

<!-- end 9 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/10"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">odd use for eject</FONT></H3>
Thu, 24 Oct 2002 15:33:02 -0700
<BR>Jim Dennis (<a href="mailto:linux-questions-only@ssc.com?cc=jimd@starshine.org&subject=%20Re%3A%20%5BLG%2084%5D%202c%20Tips%20%2310">the <em>LG</em> Answer Guy</a>)



<!-- sig -->

<P>
Eject is of course, the command to spit out the CD that's inside
your system, rather like the Macintosh does.
</P>
<P>
If you're a system admin at a large rack of pretty much the same
machines, you can double-check which one your KVM switch is pointed to
right now... by making it 'eject' and spit out its CD tray.
</P>
<P>
Then it'll be obvious!
</P>
<P>
If you have <EM>ever</EM> rebooted the wrong machine in your server rack or
colo facility, you definitely can use this trick to keep <EM>that</EM> from
happening again  
<IMG SRC="../gx/dennis/smily.gif" ALT=":)" 
		height="24" width="20" align="middle">
</P>
<P>
Also handy if you have a habit of ssh'ing into any of several
workstations in your development offices.  You can probably even
hear the whirring of the drive tray.  But don't do it if
you know the boss keeps their coffee in front of the CD bay...
</P>

<!-- end 10 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/11"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">emacs</FONT></H3>
Fri, 25 Oct 2002 09:36:09 -0700
<BR>Mike Orr (<a href="mailto:linux-questions-only@ssc.com?cc=&subject=%20Re%3A%20%5BLG%2084%5D%202c%20Tips%20%2311"><em>Linux Gazette</em> Editor</a>)
<BR>Question by Ben Okopnik 

<P><STRONG>
I'd imagine there's someone here who's fairly knowledgeable in Emacs...
</STRONG></P>
<P>
Fairly knowledgeable, no.  Slightly knowledgeable, yes.
</P>
<P><STRONG>
So, I pull down the "Tools" menu, and choose "Read mail". OK,
everything's fine. I exit Emacs, not saving anything... and shortly
thereafter note, with an ice-water-down-the-back shock, that my
"<TT>/var/mail/ben</TT>" is GONE. Zeroed. Empty. WHAT THE FSCK???
</STRONG></P>
<P><STRONG>
Fortunately, after some seriously POed muttering and high-speed
maneuvers with "find", I thought: "what if Emacs did something weird
with it? It shouldn't have just <EM>deleted</EM> the thing!" So, I open up
Emacs again, "Tools/Read Mail"... and there it is! Big sigh of relief,
and about a dozen blind avenues later I figure out that it stuffed my
mail into a file called "~/RMAIL" and munged the format.
</STRONG></P>
<P>
Typical emacs arrogance.  It assumes that its way of handling mail is the
best and that other mail utilities are stupid not to conform.  I had the same
problem when I tried emacs mail in 1990.  And I stopped using emacs mail for
precisely that reason: it didn't handle mail in a way that was compatible with
other mail utilities.
</P>
<P><STRONG>
So, my question to you guys and gals is, is Emacs ALWAYS this bloody
rude? That is horribly intrusive behavior, as I see it: I never
explicitly asked it to change, delete, move, mung, or do anything of the
sort to my mail. I could see where a new user would be totally lost. If
I did something stupid, OK - I'll just be extra-extra cautious of the
beast. If, however, that's Emacs default behavior, I'm deleting it off
my system with extreme prejudice and it shall never darken my STDOUT as
long as I live.
</STRONG></P>
<P>
Ben: Emacs is so rude!
</P>
<P>
Emacs: Why didn't you read the FM?
</P>
<P>
Ben: Why didn't you give me a warning the first time I ran it, O Editor
That Calls Itself "Self-Documenting"?  You're the one that's using an
esoteric, incompatible format.
</P>
<P>
Emacs: It was probably the standard format in the environment where emacs
mail was written, and then remain unchanged three decades later.
</P>
<P>
Ben: I'll show you who's boss!!!  I'm going to uninstall you with extreme
prejudice!!
</P>
<P>
Emacs: Bigot!
</P>
<P>
Ben: Bloated piece of crap!  You've got more features than Internet Explorer,
nyaa, nyaa, nyaa!
</P>
<P>
Emacs (Eliza mode): Is the fact that I'm a bloated piece of crap the reason
we're having this conversation?
</P>
<P><STRONG>
&lt;*Splort*&gt; &lt;FOTCL&gt;
</STRONG></P>
<P><STRONG>
Mike, that's one Diet Coke with lemon you owe me. I does <EM>not</EM> belong on
my keyboard, and spraying it out through the nose <EM>hurts</EM>.
</STRONG></P>

<!-- end 11 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/12"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">how many roots?</FONT></H3>
01 Oct 2002 04:07:06 +0100
<BR>mike, Sayamindu Dasgupta, Heather Stern (<a href="mailto:linux-questions-only@ssc.com?cc=Galopwitch@aol.com&subject=%20Re%3A%20%5BLG%2084%5D%202c%20Tips%20%2312">the <em>LG</em> Answer Gang</a>)
<BR>Question by Maria Diaz (Galopwitch from aol.com)


<P><STRONG>
I have a two part question.
</STRONG></P>
<P><STRONG>
How many root directories can you have in Linux?
</STRONG></P>

<blockquote><font color="#000066">How deep do you want to chroot?
 -- Heather</font></blockquote>

<blockquote><font color="#1F1F1F">OOOH! Nominated for Answer of the Year.
 -- Ben</font></blockquote>
<P>
[mike]
File systems work a bit differently in linux. There is only ever one
root directoery wich is /
</P>
<P>
All partions or drives are mounted on subdirectories from this root
</P>
<P>
drives and partions are numbered like so
</P>

<blockquote><pre>/dev/hda		first Hard disk
/dev/hdb		second hard disk
/dev/hda1		first partition on first hard disk
</pre></blockquote>
<P>
[SGD]
Basically - it is not possible to have more than one root directory in
the box
</P>

<blockquote><font color="#000066">The real answer is "one at a time"
</font></blockquote>
<blockquote><font color="#000066">The guys here are correctly describing a normal directory setup.
</font></blockquote>
<blockquote><font color="#000066">However, an application can be working from a deeper directory than the real
one;  that's called a "changed root environment" or chroot and is
actually done all the time by things like Apache and postfix and qmail.
 -- Heather</font></blockquote>
<P><STRONG>
I you have more than one disk drive, what steps do you have to perform in
order to make them available for use.
</STRONG></P>
<P>
[SGD]
what you can do is mount your other harddisk under a subdirectory
for example, if you have <TT>/dev/hdb</TT> as your secondary harddisk, and you
want to use the first partition of that harddisk under linux, just issue
the command
</P>

<blockquote><pre>mount -t &lt;filesystem&gt; /dev/hdb1 &lt;mountpoint&gt;
</pre></blockquote>
<P>
here &lt;filesystem&gt; may be vfat (if it's fat32) or ext2, or ext3
&lt;mountpoint&gt; may be any empty directory in your box - usually
/mnt/disk2/
or something like that.
</P>

<blockquote><font color="#000066">Yup, this is so. You can have lots of partitions, mounted anywhere you
want, including on top of each other, though I don't recommend covering
up any files as they will look like lost space.
</font></blockquote>
<blockquote><font color="#000066">To help make this more readable I made mike and Sayamindu's code
describe the same system.  I use /mnt/c when referring to a C:\ drive,
I think it's nice and memorable.
 -- Heather</font></blockquote>
<P>
[mike]
To eg add a second hard disk you could eg do this
</P>

<blockquote><pre>mkdir /mnt/c
mount /dev/hdb1 /mnt/c
</pre></blockquote>
<P>
(assuming second drive has been partitioned and formatted)
</P>
<P>
to make this permanent edit the file <TT>/etc/fstab</TT> to add an entry like
this
</P>

<blockquote><pre>/dev/hdb1               /mnt/c                  vfat    defaults     0 0
</pre></blockquote>
<P>
and save the file (please note the above file system is fomatted for w32
- adjust to taste)
</P>
<P><STRONG>
Your response would be greatly appreciated
</STRONG></P>
<P><STRONG>
Thanking you in advance
</STRONG></P>
<P><STRONG>
Maria Diaz
</STRONG></P>

<blockquote><font color="#000066">You're very welcome!
 -- Heather</font></blockquote>

<!-- end 12 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/13"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">[LG 82] help wanted #3 Postfix hates Outlook</FONT></H3>
Thu, 26 Sep 2002 23:48:34 +0000
<BR>Edward (<a href="mailto:linux-questions-only@ssc.com?cc=itored@hotmail.com&subject=%20Re%3A%20%5BLG%2084%5D%202c%20Tips%20%2313">itored from hotmail.com</a>)



<!-- sig -->


<!-- sig -->

<P>
Shahid,
</P>
<P>
Postfix is an SMTP server and Outlook will send mail out through it but not
get mail from it.  The problem seems to be there is no POP3 server running.
Have a look here:
<A HREF="http://www.postfix.org/addon.html#pop"
	>http://www.postfix.org/addon.html#pop</A>
</P>
<P>
for info on obtaining and setting up a POP server.
</P>
<P>
Edward
</P>

<!-- end 13 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/14"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Fun With Ioctls</FONT></H3>
Mon, 28 Oct 2002 00:23:56 -0600
<BR>Chris Gianakopoulos (<a href="mailto:linux-questions-only@ssc.com?cc=cgianakop@1stconnect.com&subject=%20Re%3A%20%5BLG%2084%5D%202c%20Tips%20%2314">cgianakop from 1stconnect.com</a>)



<!-- sig -->

<P>
Hello Gang,
</P>
<P>
A while ago, Shreedar V. K. from India asked for a program that would list
the IP addresses for all of his interfaces.  Back then, I joyfully
referred him to one of those Stevens TCP/IP books.  We got quite a thread
from that response.  I like that.
</P>
<P>
I got bored today, so I cranked out a simple program that prints the
interface names with their associated primary IP address.  I intentionally
omitted the display of alias to keep the program simple.  It's really a
quick hack.
</P>
<P>
The purpose is to illustrate why the simple solutions, provided by Ben O.,
really make sense.  Still though, I never turn down a challenge.
Everyone can use and hack it at will.  Just compile the program and
run it.  It takes no command line arguments.  Example output, as well
as the program listing, are displayed below.
</P>
<P>
Good night,
Chris G.
</P>
<p align="center">See attached <tt><a href="misc/tips/interfaces.c.txt">interfaces.c.txt</a></tt></p>

<blockquote><font color="#001F3F">Hey, pretty nifty!  I saved it in interfaces.c and here's what using
it looks like
 -- Mike</font></blockquote>

<blockquote><pre>% gcc -o interfaces interfaces.c
% chmod +x interfaces
% interfaces
lo: 127.0.0.1
eth0: 216.39.[censored]
eth1: 10.0.0.1
</pre></blockquote>
<P>
Thanks Mike!  The program kinda shows how much work goes into our beloved
network programs such as ifconfig.
</P>
<P>
Later...
Chris G.
</P>

<!-- end 14 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/15"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">lkml</FONT></H3>
Thu, 24 Oct 2002 11:05:55 +0530 (IST)
<BR>Karl-Heinz Herrmann (<a href="mailto:linux-questions-only@ssc.com?cc=webgineering@xtra.co.nz&subject=%20Re%3A%20%5BLG%2084%5D%202c%20Tips%20%2315">the <em>LG</em> Answer Gang</a>)
<BR>Question by Brad Herring (webgineering from xtra.co.nz)

<P><STRONG>
Hi there,
</STRONG></P>
<P><STRONG>
I'm doing a report for Uni, I was wondering how many subscribers are
there to the Linux Kernel Mailing List? Is there a more popular list?
Estimates are fine.
</STRONG></P>
<P>
Hi,
</P>
<P>
I have no idea, so the traffic on that list seems rather high (~1000
posts/day).
</P>
<P>
You might want to subscribe and send administrative commands like
"help" "info" and if available "who" which would give you a list of all
subscribed members. These commands depend on the exact mailing-list managing
program but most have these options.
</P>
<P>
K.-H.
</P>

<blockquote><font color="#000066">Many people subscribe to digests so they can get their mailing list
stuff a little less often, all in one chunk.
</font></blockquote>
<blockquote><font color="#000066">But there is a brave soul who actually <EM>summarizes</EM> the Linux Kernel
Mailing List, and publishes the results on a website he calls
Kernel Traffic:
	<A HREF="http://kt.zork.net/kernel-traffic/latest.html"
	>http://kt.zork.net/kernel-traffic/latest.html</A>
</font></blockquote>
<blockquote><font color="#000066">The Linux Weekly News notes about what's going on in the kernel are
available to LWN subscribers 
<IMG SRC="../gx/dennis/smily.gif" ALT=":)" 
		height="24" width="20" align="middle">
</font></blockquote>
<blockquote><font color="#000066">But you can see some of the latest patches some of these guys have
whipped up at <A HREF="http://lwn.net/KernelPatches"
	>http://lwn.net/KernelPatches</A>/ ... and they warn that
these things might drink all your beer.  From what I know of development
parties, perhaps they are speaking from experience? 
<IMG SRC="../gx/dennis/smily.gif" ALT=":)" 
		height="24" width="20" align="middle">
 -- Heather</font></blockquote>
<P>
WHIZBANG Patch
</P>

<blockquote><em><font color="#000033"><br>	Adds /proc entry for refrigerator chilliness support.
<br>	Highly experimental, the beer keeps disappearing.  Hope
<br>	to fix in next rev.  Suspect memory leak in purchaser
<br>	algorithms.
<br>
<br>	workaround: we recommend Jolt Cola; or home zymurgy kits
<br>	stored in a seperate directory.
</font></em></blockquote>

<!-- end 15 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/16"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">When the Weekend Mechanic loses his tools</FONT></H3>
Wed, 2 Oct 2002 08:58:42 +0100 (BST)
<BR>Thomas Adam (<a href="mailto:linux-questions-only@ssc.com?cc=thomas_adam16@yahoo.com&subject=%20Re%3A%20%5BLG%2084%5D%202c%20Tips%20%2316">The <em>LG</em> Weekend Mechanic</a>)



<!-- sig -->

<!-- ::
When the Weekend Mechanic loses his tools
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
he finds them pretty quickly.
:: -->
<P>
How many of you have been guilty of using mc (midnight
commander), hitting the key sequence "&lt;ALT&gt;&lt;SHIFT&gt;&lt;?&gt;" before,
and then filling out that nice dialog box to find the file that
you require?? Don't lie, we've all done it (Hi Ben 
<IMG SRC="../gx/dennis/smily.gif" ALT=":-)" 
		height="24" width="20" align="middle"> ).
</P>

<blockquote><font color="#1F1F1F">&lt;blink, blink&gt; Thanks for the vote of confidence,
Thomas... but I didn't
even know about that feature until you mentioned it.
&lt;grin&gt; So, _now_
I'll be guilty of it - maybe. I'm pretty used to
"find" by now, and
would miss things like "-exec" too much to use some
constraining box.
 -- Ben</font></blockquote>
<P>
<EM>I</EM> actually wrote that? 
<IMG SRC="../gx/dennis/smily.gif" ALT=":-)" 
		height="24" width="20" align="middle"> he he.....
</P>
<P>
Oh no, Ben. I simply meant that as you keep promoting
the use of "mc" for things like: rpm viewing, tar/gz
viewing, etc, it was logical (?) to assume that you'd
have used the "find" feature occasionally? 
<IMG SRC="../gx/dennis/smily.gif" ALT=":-)" 
		height="24" width="20" align="middle">
</P>

<blockquote><font color="#1F1F1F">&lt;grin&gt; It's one of the things I like about it; after all this time of
using it (and using Norton Commander, which is was modeled after, for
some 15-20 years before then), I _still_ discover cool new features
occasionally. I wrote Miguel a nice letter back when; he deserves lots
of kudos for this one.
 -- Ben</font></blockquote>

<!-- end 16 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/17"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">ATI Rage M4</FONT></H3>
Thu, 26 Sep 2002 12:59:34 -0500
<BR> Ben Okopnik (<a href="mailto:linux-questions-only@ssc.com?cc=MarkG7@netscape.net&cc=&subject=%20Re%3A%20%5BLG%2084%5D%202c%20Tips%20%2317"><em>LG</em> Answer Gang</a>)
<BR>Question by Mark Gorat (MarkG7 from netscape.net)


<P><STRONG>
I would like some help configuring my Dell Latitude C800 display (ATI
Rage M4 16MB).  No matter what magic I try to accomplish with
Xconfigurator or hand editing of the <TT>/etc/X11/X86Config-4</TT> files, I can't
convince my XWindows display to set-up in anything but 1600x1200.  This
is very hard on my varilux bespectacled eyes.
</STRONG></P>
<BLOCKQUOTE>
[Robos] 
Just as a short answer (no time right now):
down in xf86config-4:
</BLOCKQUOTE>

<blockquote><pre> SubSection "Display"
   Depth           16
   Modes           "1024x768"
 EndSubSection
 SubSection "Display"
   Depth  24
   Modes           "1024x768"
 Exchange the numbers (swap em) to something like this
 Modes "1024x768" "1600x1200"
</pre></blockquote>

<blockquote><font color="#1F1F1F">Robos is right on the dot. From my own "/etc/X11/XF86Config-4":
</font></blockquote>
<blockquote><font color="#1F1F1F">Modes		"1600x1200" "1024x768" "800x600" "640x480"
</font></blockquote>
<blockquote><font color="#1F1F1F">Works fine on this Dell Inspiron.
 -- Ben</font></blockquote>
<P><STRONG>
Some posts elsewhere have
said to use &lt;Ctrl&gt;&lt;Alt&gt;&lt;-&gt; or &lt;Ctrl&gt;&lt;Alt&gt;&lt;+&gt;, but this seems to have no
effect.  Any help would be extremely appreciated.
</STRONG></P>
<P><STRONG>
Thanks
<BR>Mark Gorat
</STRONG></P>

<blockquote><font color="#1F1F1F">Something I just realized: if you're hitting &lt;Ctrl&gt;&lt;Alt&gt;&lt;-&gt; or
&lt;Ctrl&gt;&lt;Alt&gt;&lt;+&gt; using the "_/-" or "+/=" keys, that definitely will not
work - you need to use the <EM>keypad</EM> plus or minus. On most laptops -
certainly on a Dell - that works out to &lt;Alt&gt;&lt;Ctrl&gt;&lt;Fn&gt; with the "blue"
plus or minus (the ":/;/+" and "p/-" keys.)
 -- Ben</font></blockquote>

<!-- end 17 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/18"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Cannot Login as root at all</FONT></H3>
Tue, 24 Sep 2002 01:15:36 -0700
<BR>Heather Stern (<a href="mailto:linux-questions-only@ssc.com?cc=linux-questions-only@ssc.com,&cc=star@starshine.org &subject=%20Re%3A%20%5BLG%2084%5D%202c%20Tips%20%2318">star from starshine.org </a>)



<!-- sig -->


<!-- sig -->

<P><STRONG>
This is a multi-part message in MIME format.
</STRONG></P>
<P>
(sigh.  The MIME has been put in a box on the sidewalk.  Maybe that will
help him communicate.)
</P>
<P><STRONG>
Hi...
</STRONG></P>
<P><STRONG>
I had installed RedHAt 7.0 It was working perfectly fine. One fine day I 
cannot login at all.. After booting it says login... and when I type my 
root user it doesnot ask for password.. but just comes back to the login 
again... But I can access it from Webmin from a remote computer.
</STRONG></P>
<P><STRONG>
Please help me.
</STRONG></P>
<P><STRONG>
Thanx
Danny
</STRONG></P>
<P>
Check your securetty file, or PAM.  Either of them could suggest to the
system that root cannot be trusted to login from where you are at.
</P>
<P>
If it were a regular user, but root could login, I'd suggest checking
if the nologin file is present.
</P>
<P>
You could also be on a system that cannot handle passwords longer than
8 characters, but be trying to work with a longer password, or be using
something that is not shadow-aware while your password is stored in the
shadow file.  This used to cause trouble when Gnome was much younger.
</P>

<!-- end 18 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/19"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">I would have called, but...</FONT></H3>
Wed,  9 Oct 2002 07:30:05 -0700 (PDT)
<BR>Jay R. Ashworth, Heather Stern (<a href="mailto:linux-questions-only@ssc.com?cc=hotshotis@yahoo.com&subject=%20Re%3A%20%5BLG%2084%5D%202c%20Tips%20%2319">the <em>LG</em> Answer Gang</a>)
<BR>Question by satheish (hotshotis from yahoo.com)


<!-- ::
I would have called, but...
~~~~~~~~~~~~~~~~~~~
:: -->

<blockquote><font color="#000066">Imagine our sysadmin's surprise when a help question came in through the
customer service webform for <EM>Linux Journal</EM> ... (empty fields snipped)
 -- Heather</font></blockquote>

<blockquote><pre>Subscriber:                          hotshot
  Comments:

 do we have pc2phone dialer software for linux ?

      Name: satheish
   Country: India
     Email: hotshoti<!-- -->s@y<!-- -->ahoo.com

Form: CustomerService    Version: 1    Request ID: 6584
</pre></blockquote>
<BLOCKQUOTE>
[Heather] 
Hotshot, your question has been forwarded to the Linux Gazette Answer
Gang.  <EM>Linux Gazette</EM> is a web-based magazine hosted by the same
publisher as <EM>Linux Journal</EM>.  I greet you as the editor in charge of
the monthly column.
</BLOCKQUOTE>
<BLOCKQUOTE>
I took a brief look at the internet search engines to see what you
appeared to be talking about.  There's apparently a company offering
software which turns your computer into a phone, provided that it's
plugged into a phone line and you have a full service sound card.
It also looks like "2.9 cents a minute" comes up a lot.
</BLOCKQUOTE>
<BLOCKQUOTE>
There are a lot of internet-phone applications - voice conferencing
is especially popular.  If you type "phone" as a keyword into the
application search engine at <A HREF="http://www.freshmeat.net/">Freshmeat</A> (<A HREF="http://freshmeat.net"
	>http://freshmeat.net</A>) you'll
have about 250 projects to check on.  You may want to start at the
category : Communications :: Internet Phone.
</BLOCKQUOTE>
<BLOCKQUOTE>
As for the 2.9 cents a minute that just depends how they implemented it.
</BLOCKQUOTE>

<blockQuote><ul>
<LI>Maybe you just need the right long-distance provider - theirs -
   in which case, you might want to find out who that is and sign up
   with them so you gain even when you use a handset.

<LI>Maybe their software implements some magic protocol, in which case,
   your question is perfect, except that you don't know what their
   protocol is called.

<LI>If it's called H.323 lots of folks use it for voice conferencing
   applications, and yes, we have OpenH.323 programs coming out of our
   ears.
</ul></blockQuote>
<BLOCKQUOTE>
My suggestion would be to contact the folks who make the "ordinary"
PC2Phone software and ask them the same question - is it available for
Linux, and if not, what is the protocol used.  If the protocol is an
open standard, note it down, and ask them what settings you'll need to
set your Linux software to, in order to enjoy their service.
</BLOCKQUOTE>
<BLOCKQUOTE>
Good luck in your quest.
</BLOCKQUOTE>
<BLOCKQUOTE>
[jra] 
I believe you mean "client software for a voice over Internet phone
service called "pc2phone"...  which appears to actually be net2phone...
</BLOCKQUOTE>
<BLOCKQUOTE>
and I'd recommend persuing the results of
</BLOCKQUOTE>

<blockquote><a href="http://www.google.com/linux?hl=en&amp;lr=&amp;ie=ISO-8859-1&amp;q=net2phone"
>http://www.google.com/linux?hl=en&amp;lr=&amp;ie=ISO-8859-1&amp;q=net2phone</a></blockquote>
<BLOCKQUOTE>
there appears to be some useful answers in there.
</BLOCKQUOTE>
<BLOCKQUOTE>
Please see also
</BLOCKQUOTE>
<BLOCKQUOTE>
<A HREF="http://www.tuxedo.org/~esr/faqs/smart-questions.html"
	>http://www.tuxedo.org/~esr/faqs/smart-questions.html</A>
</BLOCKQUOTE>

<!-- end 19 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/20"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Getting rid of offensive content on your hard disk dreged up by your web browser</FONT></H3>
Wed, 9 Oct 2002 11:02:15 -0700
<BR>Mike Orr (<a href="mailto:linux-questions-only@ssc.com?cc=gazette@ssc.com&subject=%20Re%3A%20%5BLG%2084%5D%202c%20Tips%20%2320"><em>Linux Gazette</em> Editor</a>)



<!-- sig -->

<P>
[Forwarding to LQO as a 2-cent tip.  Anyone want to write such a script or write
an article about it?]
</P>
<P>
The original message was a spam promoting commercial software that would scrub
your (Windows) system of "offensive content" (pornography, drug references,
terrorism references) you may have accidentally dreged up while websurfing.
</P>
<P>
Part of the scare tactics it mentioned is a claim that you can get convicted
for child pornography merely for visiting a site once that has child porn pics
on the home page, even if you didn't know the nature of the site beforehand, or
3rd-party Javascript sent you there without your approval, or you never saw
the pictures in the visible portion of the window.  This =&gt; cached porn pics on
your HD =&gt; discoverable evidence of a crime =&gt; why you need this commercial
program.
</P>
<P><STRONG>
[tag-admin] 
Speak right up, what's the best way to delete offensive content that may have
been automatically saved on your hard disk while you were websurfing?
</STRONG></P>
<P><STRONG>
Can you say, "Open the preferences/settings dialog and press the 'Empty Disk
Cache' button?"  I knew you could.
</STRONG></P>
<BLOCKQUOTE>
[Don Marti] 
What about history and cookies?
</BLOCKQUOTE>
<BLOCKQUOTE>
A script to clean all traces of web activity from your .mozilla
directory (except cookies from sites you like) would be an interesting
exercise.  All of these files seems to have some potentially
"incriminating" info in them:
</BLOCKQUOTE>

<blockquote><code><font color="#000033"><br>history.dat
<br>downloads.rdf
<br>localstore.rdf
</font></code></blockquote>

<blockquote><font color="#1F1F1F">This should work just fine. However, there's other semi-personal info
scattered throughout, e.g., info about filenames to which you've printed
content in "prefs.js", etc.
</font></blockquote>
<blockquote><font color="#1F1F1F">&lt;shrug&gt; You <EM>could</EM> just whack the whole "~/.mozilla" directory if
you're really concerned.
</font></blockquote>
<blockquote><font color="#1F1F1F">Wind*ws people need expensive software to do this... amazing.
 -- Ben</font></blockquote>
<p align="center">See attached <tt><a href="misc/tips/scrub-mozilla.sh.txt">scrub-mozilla.sh.txt</a></tt></p>

<blockquote><font color="#000066">The canonical way to deal with this in email gardens is to wipe out the
guest user home on logout ... completely ...
and re-establish it via popping open the tarball of its homedir again.
</font></blockquote>
<blockquote><font color="#000066">This, together with having the system be one-user and wiping the /tmp
directory, should be sufficient to most purposes.  It also keeps
nameless guests from using your e-garden as a storage bin.
 -- Heather</font></blockquote>

<!-- end 20 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/21"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">At a loss for words</FONT></H3>
Tue, 15 Oct 2002 18:40:02 -0400
<BR>Ashwin N, Thomas Adams, Frank Rodolf, Jay R. Ashworth (<a href="mailto:linux-questions-only@ssc.com?cc=profitrocket@nmax.net&subject=%20Re%3A%20%5BLG%2084%5D%202c%20Tips%20%2321">the <em>LG</em> Answer Gang</a>)
<BR>Question by Lon Diffenderfer (profitrocket from nmax.net)


<!-- ::
At a loss for words
~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Hi,
</STRONG></P>
<P><STRONG>
My name is Lon Diffenderfer. I am looking for a way to convert some very
important files created by my father in SCO Lyrix into a .txt file. Is this
a simple procedure or will I need a the help of a professional? Is there a
file conversion program that I can purchase or download that would be able
to handle this job? I thank you in advance for your time and assistance.
</STRONG></P>
<P><STRONG>
Best Regards,
<BR>Lon Diffenderfer
</STRONG></P>
<BLOCKQUOTE>
[Ashwin] 
Now can you please elaborate on what kind of files these are?
Knowing the file format will be essential ...
</BLOCKQUOTE>
<BLOCKQUOTE>
[Thomas] 
Ashwin, I agree with you that the filetype is
important. Indeed, Lon could acheive this by issuing
the command:
</BLOCKQUOTE>

<blockquote><code><font color="#000033"><br>file /path/to/file
</font></code></blockquote>
<BLOCKQUOTE>
and then reporting it back to us. This would, as
Ashwin has said, help us in determining which
program(s) to use.
</BLOCKQUOTE>
<BLOCKQUOTE>
[jra] 
Lyrix was a third-party word processor which ran under Xenix.
</BLOCKQUOTE>
<BLOCKQUOTE>
SCO bought it (or it's resale rights), and I haven't seen it in years.
I strongly suspect that you're going to have to hunt up copies of both
Xenix and Lyrix to open those files...
</BLOCKQUOTE>
<BLOCKQUOTE>
[Frank] 
... Lyrix was once known as Unixplex, I seem to remember.
</BLOCKQUOTE>
<BLOCKQUOTE>
While I don't know exactly anymore, I seem to remember that it was
always one line of text, followed by a line of formatting code below it,
each line ending with a &lt;CR&gt;, a new paragraph is signaled by an empty
line.
</BLOCKQUOTE>
<BLOCKQUOTE>
[Rick] 
be aware that at least two other software efforts have borne
the name Lyrix: a computer-telephony product from Lyrix Systems, Inc.,
and early versions of the excellent TeX-based graphical document
processor subsequently renamed "LyX".)
</BLOCKQUOTE>
<BLOCKQUOTE>
[Thomas Adams] 
But in most cases, I would recommend the use of the
program: "strings", which trys to report back useful
"character literal" information. You could try issuing
the command:
</BLOCKQUOTE>

<blockquote><code><font color="#000033"><br>strings file | less
</font></code></blockquote>
<BLOCKQUOTE>
where "file" is the file that you are trying to view.
(I've piped it through to "less" for convenience,
although:
</BLOCKQUOTE>

<blockquote><code><font color="#000033"><br>strings file &gt;&amp; ~/some_file
</font></code></blockquote>
<BLOCKQUOTE>
is perhaps better if you want to store the
information)
</BLOCKQUOTE>
<BLOCKQUOTE>
N.B. Strings does work on ELF files, but the result is
somewhat unpredictable.
</BLOCKQUOTE>
<BLOCKQUOTE>
[Frank Rodolf] 
Lon, if all you need is the text portion, you should do quite nicely
with the strings command, as Thomas writes above.
</BLOCKQUOTE>
<BLOCKQUOTE>
I heard rumors that there has been some conversion utility (lyrix2wrd,
or something like that), but when a friend of mine needed that a while
ago, I was unable to find it.
</BLOCKQUOTE>
<HR width="10%" align="center"><P><STRONG>
To all who replied, "THANK YOU!"
</STRONG></P>
<BLOCKQUOTE>
[Thomas] 
You're welcome!!!
</BLOCKQUOTE>
<BLOCKQUOTE>
I'm glad that people such as Jay, and myself, were of
some use. Makes a change actually!!
</BLOCKQUOTE>
<BLOCKQUOTE>
He he....
</BLOCKQUOTE>
<P><STRONG>
With the information you provided, I was able to find a local professional
who had administered Xenix systems in years past and was able to use
"strings" to recover the data. I still do not understand exactly what he
did, but I am elated and very grateful to your group for your assistance. If
this is the kind of help I can get for Linux, maybe it's time to learn it
and switch.
</STRONG></P>
<BLOCKQUOTE>
[jra] 
Probably.  
<IMG SRC="../gx/dennis/smily.gif" ALT=":-)" 
		height="24" width="20" align="middle">
</BLOCKQUOTE>
<BLOCKQUOTE>
Outstanding; glad to ehar you got your data back.  Now you understand
why Unix people (and especially Linux people) are fond of textual
configuration and data files whenever possible...
</BLOCKQUOTE>
<BLOCKQUOTE>
What he <EM>did</EM> was to use the Unix strings(1) program, which sifts
through a [random] file looking for strings of characters that appear
to be ASCII text, extracting them from the surrounding (binary) data,
and printing them on it's output.  Once you do that, it's usually just
a cleanup pass.
</BLOCKQUOTE>

<!-- end 21 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/22"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">need your help</FONT></H3>
Sun, 29 Sep 2002 15:55:30 -0700
<BR>Rick Moen (<a href="mailto:linux-questions-only@ssc.com?cc=linux-questions-only@ssc.com, PETERCHARLEMAN@aol.com&cc=rick@linuxmafia.com&subject=%20Re%3A%20%5BLG%2084%5D%202c%20Tips%20%2322">the <em>LG</em> Answer Gang</a>)



<!-- sig -->


<!-- sig -->

<P><STRONG>
question
</STRONG></P>
<P><STRONG>
You are the Linux system admin of your company, and an employee has
forgotten his password and cannot login.  How would you reset this
employee's password?
</STRONG></P>
<P>
su -
passwd mrforgetful
</P>

<blockquote><font color="#000066">question
</font></blockquote>
<blockquote><font color="#000066">you are sending mail to an "answer gang" list with potentially a big
number of people reading it... using ordinary email clients.  How do
you send them plaintext only to not waste lots of bits?
</font></blockquote>
<blockquote><font color="#000066">	<A HREF="http://expita.com/nomime.html"
	>http://expita.com/nomime.html</A>
</font></blockquote>
<blockquote><font color="#000066">question 2
</font></blockquote>
<blockquote><font color="#000066">does HR give him a grilling first for losing this important piece of
company data (his password) ?  
<IMG SRC="../gx/dennis/smily.gif" ALT=":)" 
		height="24" width="20" align="middle">
 -- Heather</font></blockquote>

<!-- end 22 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/23"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">2 tips for the TAG</FONT></H3>
Thu, 10 Oct 2002 11:35:29 -0400
<BR>Don Radick (<a href="mailto:linux-questions-only@ssc.com?cc=anonymous&subject=%20Re%3A%20%5BLG%2084%5D%202c%20Tips%20%2323">anonymous</a>)



<!-- sig -->


<!-- sig -->

<P>
Folks,
</P>
<P>
you are SO GREAT,  I've gotta drop you 2 tips .
</P>
<P>
System:
</P>

<blockquote><code><font color="#000033"><br>                ABIT KT7A mb
<br>                AMD Tbird 1.3 Ghz
<br>                Nvidia Geoforce II GTS
<br>                Redhat 8.0
</font></code></blockquote>
<P><STRONG>
1
</STRONG></P>
<P><STRONG>
Symptom:  System reboots automatically when trying to load Nvidia drivers v 3123
</STRONG></P>
<P><STRONG>
Solution: Turn on "Plug and Play OS = YES"  in BIOS setup.
</STRONG></P>
<P><STRONG>
Side Effect:  I had been getting this error message:
</STRONG></P>
<P><STRONG><BLOCKQuote>
"usb-uhci: Host controlled halted, trying to restart"  (USB mouse)
That message is now gone, with the new BIOS setting.
</BLOCKQuote></STRONG></P>
<BLOCKQUOTE>
[Ben] 
That could be very annoying... Turning P&amp;P <EM>off</EM> is what allowed my old
laptop to "see" the audio subsystem; I'd hate to be faced with a choice
of "pick only one". Just as a point to consider, I'm using NVidia's
drivers (v.2802) on my Dell Inspiron 8200 (NVidia GeForce2GO), and it
seems stable - certainly no rebooting.
</BLOCKQUOTE>
<P><STRONG>
2.
</STRONG></P>
<P><STRONG>
Symptom: RH 8.0 default firewall killed my SAMBA shares on local net.
</STRONG></P>
<P><STRONG>
Solution:  open up these FW rules  (I suggest using WEBMIN for FW tuning, much better than "lokkit")
</STRONG></P>

<blockquote><code><font color="#000033"><br>        ACCEPT  incoming protocol UDP destination port range 137:139
<br>        ACCEPT  incoming protocol TCP destination port 139
</font></code></blockquote>
<P><STRONG>
Use arrows on right had side to move these ACCEPT rules above the DENY rules.
</STRONG></P>
<P><STRONG>
HTH,
</STRONG></P>
<P><STRONG>
Don Radick
</STRONG></P>
<P><STRONG>
you can print my name, but not my email address.  THANKS!
</STRONG></P>

<blockquote><font color="#000066">No problem!  Thanks for the tips.
 -- Heather</font></blockquote>

<!-- end 23 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/24"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Troubleshooting GRUB</FONT></H3>
Sun, 11 Aug 2002 16:11:22 -0700
<BR>Jim Dennis (<a href="mailto:linux-questions-only@ssc.com?cc=jimd@starshine.org&subject=%20Re%3A%20%5BLG%2084%5D%202c%20Tips%20%2324">the <em>LG</em> Answer Guy</a>)



<!-- sig -->


<!-- sig -->

<P>
Remember: GRUB numbers partitions from ZERO while linux counts from ONE
So:
</P>

<blockquote><code><font color="#000033"><br> 	root (hd0,0)
<br>	kernel /boot/vmlinuz root=/dev/hda1
</font></code></blockquote>
<P>
... and:
</P>

<blockquote><code><font color="#000033"><br> 	root (hd0,5)
<br>	kernel /boot/vmlinuz root=/dev/hda6
</font></code></blockquote>
<P>
... note how GRUB's (hd0,0) is Linux' <TT>/dev/hda1</TT> and GRUB's
(hd0,5) is Linux' <TT>/dev/hda6</TT>
</P>

<!-- end 24 -->
<!--              . . . . . . . . . . . . . . . . . . .              -->
<HR WIDTH="40%" ALIGN="center">
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">please clear my doubts</FONT></H3>
Tue, 8 Oct 2002 01:38:42 +0530
<BR>Sayan Chakrabortii, Heather Stern (<a href="mailto:linux-questions-only@ssc.com?cc=ckmuthukumar@yahoo.co.in&subject=%20Re%3A%20%5BLG%2084%5D%202c%20Tips%20%2325">the <em>LG</em> Answer Gang</a>)
<BR>Question by muthukumar kalimani (ckmuthukumar from yahoo.co.in)


<P><STRONG>
hai ,     i am muthukumar.
</STRONG></P>

<blockquote><font color="#000066">Hi, I'm Heather, one of the folks here at The Answer Gang.  And this
over here is Sayan.
</font></blockquote>
<blockquote><font color="#000066">I hope you don't mind that I split your message into paragraphs.
 -- Heather</font></blockquote>
<BLOCKQUOTE>
[Sayan] 
Hi
I will try to answer your questions one by one.
</BLOCKQUOTE>
<P><STRONG>
i did my B.E at vellore engg college.i have 2 PCs.
(i) celeron 266Mhz with  92 mb ram (windows 9
<IMG SRC="../gx/dennis/smily.gif" ALT="8)" 
		height="24" width="20" align="middle">  &amp;
(ii) celeron 1Ghz with 128mb ram (windows 98 &amp; xp ).
</STRONG></P>

<blockquote><font color="#000066">Either of these machines should run Linux just fine, although the Gnome
or K desktop environments would probably feel as comparably slow as
Windows on them.  With a lighter window manager and some careful setup
it could feel faster.
 -- Heather</font></blockquote>
<P><STRONG>
i want to load redhat 7.1 in any one of my pc . i have few doubts in this
matter
</STRONG></P>
<P><STRONG>
1. is it possible load linux as 3rd os on my system( ii ) ?
</STRONG></P>
<BLOCKQUOTE>
[Sayan] 
Well, of course it is. Provided you have the required amount of space left
on your hard disk to install the packages that you need. You see while
installing multiple operating systems you have to follow the rule "stupidest
os first". So up till now you have not gone wrong. So go ahead and install
Linux.
</BLOCKQUOTE>

<blockquote><font color="#000066">Yes.
</font></blockquote>
<blockquote><font color="#000066">The usual way is to clear some space for it (Partition Magic, parted,
or FIPS are most commonly used) and then install Linux in the empty
space.  For Redhat to be the installed flavor you'd need to do this.
With some other flavors of Linux (Slackware's "bigslack" for example)
you would need to set aside some space, but you wouldn't need to adjust
the partition types first.
</font></blockquote>
<blockquote><font color="#000066">If LILO replaces your master boot record, and your kernel is on the same
disk, LILO should have no problem selecting among all three operating
systems.
</font></blockquote>
<blockquote><font color="#000066">If you use LOADLIN.EXE from inside either of your Windows environments,
and make a copy of the Linux kernel visible in your drive, you could add
an entry to your mswin boot menu for Linux.
 -- Heather</font></blockquote>
<P><STRONG>
2. after installation how the dos partition drives can be mounted as the
system starts.
</STRONG></P>

<blockquote><font color="#000066">In the file /etc/fstab add an entry for the mountpoint which you'd like
to use, and tell it that the filesystem type is vfat instead of ext2.
</font></blockquote>
<blockquote><font color="#000066">I like to use /mnt/c, myself, and set aside /mnt/a for using DOS
floppies ... that is, if I don't simply use mtools commands.
</font></blockquote>
<blockquote><font color="#000066">THe LSB tells us that /mnt is expected to be used for temporary mounts,
though, so you might prefer /home/c-drive or something like that.
 -- Heather</font></blockquote>
<BLOCKQUOTE>
[Sayan] 
This issue was earlier discussed in this magazine in issue 34. You can read
through it at:
</BLOCKQUOTE>
<BLOCKQUOTE><BLOCKQuote>
<A HREF="../issue34/lg_tips34.html#young"
	>http://www.linuxgazette.com/issue34/lg_tips34.html#young</A>
</BLOCKQuote></BLOCKQUOTE>
<BLOCKQUOTE>
Still I quote it as it is
</BLOCKQUOTE>

<TABLE WIDTH="95%" BORDER="1" BGCOLOR="#FFFFCC"><TR><TD>
<p align="center">...............</p>

<h4 align="center"><br>Mounting DOS Partitions in Linux
</h4>

<blockquote><em><font color="#000033"><br>Date: Fri, 02 Oct 1998 17:08:23 -0400
<br>From: Ed Young, youngej@magpage.com
</font></em></blockquote>
<BLOCKQUOTE>
Secure Mounting for DOS Partitions:
</BLOCKQUOTE>
<BLOCKQUOTE><BLOCKQuote>
In order to open up permissions on your DOS partitions in a secure way, do
the following:
</BLOCKQuote></BLOCKQUOTE>
<BLOCKQUOTE>
Note: in the samples below, the dos usrid (63) and grpid(63) were selected
so they wouldn't duplicate any other usrid or grpid in <TT>/etc/passwd</TT> or
/etc/group.
</BLOCKQUOTE>
<BLOCKQUOTE>
Also, this solution works with <A HREF="http://www.redhat.com/">Red Hat</A> 5.1, you may have to adjust it
slightly if you are using a different distribution.
</BLOCKQUOTE>

<blockQuote><ol>
<LI>Make a dos user who can't log in by adding the following line to
/etc/passwd: dos:*:63:63:MSDOS Accessor:/dos:


<LI>Make a dos group and add users to the dos group. In the following
example, root and ejy are in the dos group. To do this, add a line like the
following to /etc/group: dos::63:root,ejy


<LI>Add the following line (changed to suit your system) to

   /etc/fstab:
     /dev/hda1  /C      vfat    uid=63,gid=63,umask=007 0 0
</ol></blockQuote>
<BLOCKQUOTE>
Of course, you have to locate your DOS partitions in the first place. This
is done by issuing the following commands as 'root':
</BLOCKQUOTE>

<blockquote><pre>     /sbin/fdisk -l
     df
     cat /etc/fstab
</pre></blockquote>
<BLOCKQUOTE>
The `fdisk -l` command lists all available devices. `df` shows which devices
are mounted and how much is on them. And <TT>/etc/fstab</TT> lists all mountable
devices. The devices remaining are extended partitions, a kind of a
partition envelope, which you don't want to mount. And the partition's
allocated to other operating systems which you may want to mount.
4) Create a mount point for your DOS disk by issuing the following commands
as root: mkdir <TT>/C</TT> chown dos:dos <TT>/C</TT>
</BLOCKQUOTE>
<BLOCKQUOTE>
With this setup, the C: drive is mounted at boot time to <TT>/C.</TT> Only root and
ejy can read and write to it. Note that vfat in <TT>/etc/fstab</TT> works for vfat16
(and vfat32 natively for Linux 2.0.34 and above).
</BLOCKQUOTE>
<BLOCKQUOTE>
Enjoy...
</BLOCKQUOTE>
<p align="center">...............</p>
</TD></TR></TABLE><BLOCKQUOTE>
So you see you can always access your dos files SECURELY from Linux.
</BLOCKQUOTE>
<BLOCKQUOTE><font color="#000066">You may already have such a user, for dosemu or wine
for example.
</font></BLOCKQUOTE>
<BLOCKQUOTE><font color="#000066">
You can reuse one of that sort, as long as you're sure you are assigning
a similar privilege.  Also, you want to avoid making a userid that will 
classh with something else;  if all else fails pick something above 65000.
-- Heather
</font></BLOCKQUOTE>


<P><STRONG>
3. i am bit more confused while installing linux  so please kindly send
me the procedure how to install linux on the system in step by step method.
</STRONG></P>
<BLOCKQUOTE>
[Sayan] 
Big question, demands big answer. Maybe some other more experienced person
in the List will be able to give better answer. But I hope you will have no
probs trying to installl Redhat. But why do you want 7.1 when 8 has become
available. Try to get a copy of the latest distro from your local LUG (Linux
Users Group). They are always very helpful. If you can send us your
location, somebody can give you the contacts of your nearest LUG. And, these
new distros are soooo easy to install, you just cant go wrong.
</BLOCKQUOTE>

<blockquote><font color="#000066">The commercial package of Red Hat comes with a fine set of manuals.  In
addition you could get the current version; they've gotten up to 7.3
now.
</font></blockquote>
<blockquote><font color="#000066">But if you're going to buy it you might also compare with Mandrake or
SuSE and get whichever looked best to you.
 -- Heather</font></blockquote>
<P><STRONG>
what are the features available in linux.
</STRONG></P>

<blockquote><font color="#000066">Most things that you would expect, many that you wouldn't, and for
almost any package, source code if you need it, or some particular
programmers to go ask for more features.
 -- Heather</font></blockquote>
<P><STRONG>
important things in linux. do's and donot's.one more thing
</STRONG></P>

<blockquote><font color="#000066">Mmm, donuts.  Important things to do:
</font></blockquote>

<blockQuote><ol>
<LI>Have fun.  The computer is supposed to be your tool, not your boss.

<LI>Be willing to read README files, and HOWTO documents.  Linux is all
   about becoming more self reliant.  Search engines are expecially
   handy.

<LI>Once you've learned, help others with stuff that you understand.  It
   improves the community.

<LI>The perl motto "There's More Than One Way To Do It" also applies to
   most activities in Linux.  If there isn't, probably some college
   student somewhere is working on another way, but hasn't gotten around
   to releasing their code yet.

<LI>(NOT SPECIFIC TO LINUX) make backups!  Whenever things are looking
   good, make a good copy of how it is;  that way you always have
   something good to come back to if later things go haywire.  I
   recommend a good backup of your present windows setups before you go
   ahead with your Linux setup, for example.
</ol></blockQuote>

<blockquote><font color="#000066">Important Don'ts: </font></blockquote>

<blockQuote><ol>
<LI>Don't despair.  We agree that not everyone's advances in self reliance
   will include becoming a programmer type.  There are web sites dedicated
   to Linux newbies, and to specific topics as well.  There are also IRC
   channels to talk to people across the internet live about this, and
   mailing lists, and newsgroups.

<LI>Don't send HTML attachments to mailing lists;  some people get grumpy
   about it.  (Don't worry, I snipped it.)
</ol></blockQuote>
<P><STRONG>
i have worked in linux in my college on a system with windows nt
i want to how to connect the two os.thank u,muthu
</STRONG></P>

<blockquote><font color="#000066">Samba is the usual way.  It lets Linux look like yet another Windows
box with active shares, as far as its Microsoft-y neighbors are
concerned.  See <A HREF="http://www.samba.org"
	>http://www.samba.org</A> for details.
</font></blockquote>
<blockquote><font color="#000066">Good luck!
 -- Heather</font></blockquote>

<!-- end 25 -->
<P> <hr> </p>
<!-- *** BEGIN copyright *** -->
<hr>
<CENTER><SMALL><STRONG>
<h5>This page edited and maintained by the Editors of <I>Linux Gazette</I><br>HTML script maintained by <A HREF="mailto:star@starshine.org">Heather Stern</a> of Starshine Technical Services, <A HREF="http://www.starshine.org/">http://www.starshine.org/</A>
<br>Copyright &copy; 2002
<br>Copying license <A HREF="http://www.linuxgazette.com/copying.html">http://www.linuxgazette.com/copying.html</A>
<BR>Published in Issue 84 of <i>Linux Gazette</i>, November 2002</H5>
</STRONG></SMALL></CENTER>
<!-- *** END copyright *** -->
<HR>


<!--startcut ==========================================================-->
<CENTER>
<!-- *** BEGIN navbar *** -->
<IMG ALT="" SRC="../gx/navbar/left.jpg" WIDTH="14" HEIGHT="45" BORDER="0" ALIGN="bottom"><A HREF="lg_mail.html"><IMG ALT="[ Prev ]" SRC="../gx/navbar/prev.jpg" WIDTH="16" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="index.html"><IMG ALT="[ Table of Contents ]" SRC="../gx/navbar/toc.jpg" WIDTH="220" HEIGHT="45" BORDER="0" ALIGN="bottom" ></A><A HREF="../index.html"><IMG ALT="[ Front Page ]" SRC="../gx/navbar/frontpage.jpg" WIDTH="137" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="http://www.linuxgazette.com/cgi-bin/talkback/all.py?site=LG&article=http://www.linuxgazette.com/issue84/lg_tips.html"><IMG ALT="[ Talkback ]" SRC="../gx/navbar/talkback.jpg" WIDTH="121" HEIGHT="45" BORDER="0" ALIGN="bottom"  ></A><A HREF="../lg_faq.html"><IMG ALT="[ FAQ ]" SRC="./../gx/navbar/faq.jpg"WIDTH="62" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="lg_answer.html"><IMG ALT="[ Next ]" SRC="../gx/navbar/next.jpg" WIDTH="15" HEIGHT="45" BORDER="0" ALIGN="bottom"  ></A><IMG ALT="" SRC="../gx/navbar/right.jpg" WIDTH="15" HEIGHT="45" ALIGN="bottom">
<!-- *** END navbar *** -->
</CENTER>
</BODY></HTML>
<!--endcut ============================================================-->