File: lg_tips68.html

package info (click to toggle)
lg-issue68 1-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,660 kB
  • ctags: 105
  • sloc: sh: 37; makefile: 36
file content (847 lines) | stat: -rw-r--r-- 29,090 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
<!--startcut ======================================================= -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<META NAME="generator" CONTENT="lgazmail v1.3E.w">
<TITLE>More 2 Cent Tips & Tricks LG #68</TITLE></HEAD><BODY BGCOLOR="#FFFFFF" TEXT="#000000"
	LINK="#3366FF" VLINK="#A000A0">
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<P>
<CENTER>
<!-- *** BEGIN navbar *** -->
<IMG ALT="" SRC="../gx/navbar/left.jpg" WIDTH="14" HEIGHT="45" BORDER="0" ALIGN="bottom"><A HREF="lg_answer68.html"><IMG ALT="[ Prev ]" SRC="../gx/navbar/prev.jpg" WIDTH="16" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="lg_toc68.html"><IMG ALT="[ Table of Contents ]" SRC="../gx/navbar/toc.jpg" WIDTH="220" HEIGHT="45" BORDER="0" ALIGN="bottom" ></A><A HREF="../lg_frontpage.html"><IMG ALT="[ Front Page ]" SRC="../gx/navbar/frontpage.jpg" WIDTH="137" 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="collinge.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>
</p>
<!-- QUICK TIPS SECTION ==================================================  -->
<!--  endcut ======================================================= -->
<center>
<H1><A NAME="tips"><IMG ALIGN=MIDDLE ALT="" SRC="../gx/twocent.jpg">
More 2&cent; Tips!</A></H1> <BR>
<!-- BEGIN tips -->

Send Linux Tips and Tricks to <A HREF="mailto:gazette@ssc.com">gazette@ssc.com</A></center>
<UL>
<!-- index_text begins -->
<li><A HREF="#tips/1"
	><strong>Getting s-video to work on Win2k. Tip: working with tech support.</strong></a>
<li><A HREF="#tips/2"
	><strong>Need to contact a hacker</strong></a>
<li><A HREF="#tips/3"
	><strong>How do I create a new driver disk for RH7.1 network</strong></a>
<li><A HREF="#tips/4"
	></a>Account field length in /etc/passwd --or--
<br><A HREF="#tips/4"
	><strong>Maximum Username Limits in <TT>/etc/passwd</TT></strong></a>

<li><A HREF="#tips/5"
	><strong>regarding "LINUX FOR THE PRODUCTION ENVIROMENT"</strong></a>
<li><A HREF="#tips/6"
	><strong>MySQL Tips and Tricks - finding Linux Magazine</strong></a>
<li><A HREF="#tips/7"
	><strong>Want to remove linux completly - GRUB still present</strong></a>
<li><A HREF="#tips/8"
	><strong>lost linux password</strong></a>
<li><A HREF="#tips/9"
	><strong>Re:prob in lilo booting</strong></a>
<li><A HREF="#tips/10"
	><strong>I need an answer from you....</strong></a>
<li><A HREF="#tips/11"
	><strong>Re: central logging and pipping to postgresql db</strong></a>
<li><A HREF="#tips/12"
	><strong>Re: catch stdin</strong></a>
<li><A HREF="#tips/13"
	><strong>Completely wiping the MBR using DOS debug</strong></a>
<li><A HREF="#tips/14"
	><strong>MS Frontpage98 Server extention Redhat Linux 6.0 vs ASP</strong></a>
<li><A HREF="#tips/15"
	><strong>YAHE: run BIND safely</strong></a>
<li><A HREF="#tips/16"
	><strong>Linux solution to syncing with Exchange Address books as a client</strong></a>
<!-- 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">Getting s-video to work on Win2k. Tip: working with tech support.</FONT></H3>
Mon, 28 May 2001 11:33:29 -0400
<BR>Qustion From: Jonathan Van Luik 
<br>Tip From: Ben Okopnik (<a href="mailto:tag@ssc.com">The Answer Gang</a>)

<P><STRONG>
I am trying to help out my friend use his Inspiron 3800.  He wants to
display what is on his laptop onto the television to watch his dvd movies.
However, now that he has win2k on the laptop he cannot seem to get the fn+f5
button function to work.  This should be very simple.  Connect the s-video
to the t.v., and then push the button.  But it isn't working, and I cannot
get Dell help since it is not my laptop.
</STRONG></P>

<blockquote><font color="#000066">Ben sent him a cheerfully silly note expressing that this is not the right
place for this question.  See the Greeting From Heather Stern in this month's
TAG for more about that 
<IMG SRC="../gx/dennis/smily.gif" ALT=";)" 
		height="24" width="20" align="middle">
 -- Heather</font></blockquote>
<P>
Just as a possibly helpful aside, I've spoken to Dell tech support 20
times or more, never as an owner. I always start out the conversation
with "Hi, this is Ben Okopnik, and I'm the tech working on Mr. X's
machine." As long as you have the serial numbers, etc. that they're
asking for, there shouldn't be a problem; ask to speak to a supervisor
if there is one. There's absolutely no reason for them to deny you help,
especially if your friend is there with you.
</P>

<!-- sig -->


<!-- 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">Need to contact a hacker</FONT></H3>
Thu, 7 Jun 2001 09:01:30 -0700
<BR>Question From: Kane Felix 
<br>Tip From: Dan Wilder (<a href="mailto:tag@ssc.com">The Answer Gang</a>)


<!-- sig -->

<P>
On Thu, Jun 07, 2001 at 08:39:49AM -0000, Kane Felix wrote:
</P>
<P><STRONG>
I have been attempting to contact any hackers in the Tampabay, Orlando, FL
area.  I have a project that needs some expert input, however, I have been
unsuccessful thus far.  Is there a mailing list, or e-mail address listing
for this area I may locate?  If so, please help me to locate it, or offer
any advice possible.
</STRONG></P>
<P>
Depends on which common meaning of the term "hacker" you intend.
For "expert code mechanic," try
</P>
<P>
<A HREF="http://www.linuxjournal.com/glue"
	>http://www.linuxjournal.com/glue</A>
</P>
<P>
("Groups of Linux Users Everywhere") for a Linux user group in your
area.
</P>
<P>
Do you need to restrict yourself to your geographic area?  Linux itself
is written by many people scattered all over the world.  The Internet
provides a substitute for physical proximity.  While a little long
in the tooth, the internet newsgroups still provide forums around which
many efforts coalesce.  Check
</P>
<P>
<A HREF="http://groups.google.com/googlegroups/deja_announcement.html"
	>http://groups.google.com/googlegroups/deja_announcement.html</A>
</P>
<P>
For mailing lists or other forums related to the subject matter
you're interested in, again check Google.  A suitable search will
reveal various forums.  Jump in, participate, you're quite likely
to find people who can assist you.
</P>
<P>
If your project is open source, consider registering it on SourceForge,
</P>
<P>
<A HREF="http://www.sourceforge.net"
	>http://www.sourceforge.net</A>
</P>
<P>
which provides network CVS access, forums, and other services organized
around particular projects.
</P>
<P>
--
Dan Wilder
</P>

<!-- sig -->


<!-- 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">How do I create a new driver disk for RH7.1 network</FONT></H3>
Tue, 22 May 2001 15:15:21 -0700
<Br>Question From: Rick Lin
<BR>Tip From: Breen Mullins (<a href="mailto:tag@ssc.com">The Answer Gang</a>)


<!-- sig -->

<P><STRONG>
Hi there,
I am trying to do an upgrade on a working RH6.2 system, trying to upgrade
to RH7.1 by using the netboot.img (Install via FTP/HTTP/NFS),
when I get to the question "do you have a driver disk"
I insert the driver disk, but the drivers listed do not have the 3com 3c509
nic card listed
they all seem to be PCI nic cards.
</STRONG></P>
<P><STRONG>
How can I create a new driver disk for the 3c509 ISA card?
</STRONG></P>
<P>
Hi Rick --
</P>
<P>
See the README file from the RedHat CD. It points you to an additional
drivers.img file that you use to make another floppy. I'd guess that
the 3C509 driver is there.
</P>
<P>
HTH --
</P>
<P>
Breen
</P>

<!-- 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">Maximum Username Limits in <TT>/etc/passwd</TT></FONT></H3>
Tue, 05 Jun 2001 12:07:20 -0700
<BR>Question From: Jos&eacute; Antonio P&eacute;rez Hern&aacute;ndez
<br>Tip From: Jim Dennis (<a href="mailto:tag@ssc.com">The Answer Gang</a>)

<!-- ::
Maximum Username Limits in <TT>/etc/passwd</TT>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Hi,
</STRONG></P>
<P><STRONG>
I'd like to know how long is the account field in the <TT>/etc/passwd</TT> file
and if it can be modified: I'm trying to install a system that will
serve users distinguished with their registration code (14 chars or
more) instead  of their usual user name.
</STRONG></P>
<P><STRONG>
Any tip is welcome.
TIA.
</STRONG></P>
<P><STRONG>
Jose Antonio.
</STRONG></P>
<P>
Under any reasonably recent Linux distribution (any glibc based one)
you can have usernames of up to 31 characters.  I think you're
still required to have an initial alphabetic and I'd be very dubious
of any effort to use any characters other than alphanumerics and
maybe underscores.
</P>
<P>
However, I think the software that you're talking about is
bizarre in this requirement --- and I suspect that it's a severely
broken model that would lead UNIX software to impose constraints
on usernames beyond those implicit in the standard libraries.
</P>
<P>
BTW: Limitations on username lengths and similar issues are purely
a library and userspace issue.  The kernel has no notion of usernames.
UID limits are primarily a kernel issue; although the libraries
naturally must implement to the kernel's requirements.  Linux kernels
prior to 2.4 used a 16-bit UID (limits us to 65,536 distinct users).
In 2.4 this has been changed to a 32-bit value allowing us to use
upto 4-billion UIDs.  Although its a rare system that needs to provide
access to more than 64K users --- there are fairly common administrative
requirements that UIDs be unique throughout the life of a company or
organization -- that they never be re-used or that they be retained for
seven years or whatever.
</P>
<P>
I realize that UID limits weren't part of your question; but they're
likely to be of interest to other readers, especially others who are
come across this in the search engines.
</P>

<p>-- Jim Dennis</p>


<!-- 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">regarding "LINUX FOR THE PRODUCTION ENVIROMENT"</FONT></H3>
Tue, 5 Jun 2001 17:01:15 -0400 (EDT)
<BR>toby cabot (<a href="mailto:tag@ssc.com">toby from caboteria.org</a>)


<!-- sig -->

<P>
Folks,
</P>
<P>
I enjoy your column and invariably learn something from reading it, but
this time I can answer a question of yours!
</P>
<P>
In your answer to the "LINUX FOR THE PRODUCTION ENVIROMENT" question in
the June issue you asked what sql-ledger is.  It's an accounting package
written in perl.  It uses a relational database back-end (postgres,
maybe others) and the UI is cgi-scripts.  It's pretty good; I used it
last year when I was consulting to cut and track some invoices.  I'm not
an accountant but it seemed to work just fine for me, and it wasn't that
hard to figure out.
</P>
<P>
<A HREF="http://www.sql-ledger.org"
	>http://www.sql-ledger.org</A>
</P>
<P>
Regards,
Toby Cabot
</P>

<!-- 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">MySQL Tips and Tricks - finding Linux Magazine</FONT></H3>
Wed, 6 Jun 2001 09:32:04 -0000
<BR> B&ouml;var Bj&ouml;rgvinsson (<a href="mailto:tag@ssc.com">bodvar from atlanta.is</a>)


<!-- sig -->

<P>
For the English version og Linux Magazin(e):
<A HREF="http://www.linux-magazine.co.uk"
	>http://www.linux-magazine.co.uk</A>
This was the only version I had seen until I came across this posting of
Linux being a German Mag.
</P>
<P>
HTH
</P>
<P>
Bodvar
</P>

<!-- sig -->


<!-- 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">Want to remove linux completly - GRUB still present</FONT></H3>
11 Jun 2001 10:13:01 +0200
<BR>Question From: Chandina rodrigo
<br>Tip From: Huibert Alblas (<a href="mailto:tag@ssc.com">The Answer Gang</a>)


<P><STRONG><BLOCKQuote>
HI guys..
I formatted my machine and got rid of windows98 but
when i boot up i get to the command grub&gt; i'm a new
user with some undestanding of linux and windws.
i found this posted i tried this peice of code
</BLOCKQuote></STRONG></P>

<code><strong><font color="#000033"><br>dd if=/dev/zero of=/dev/hda bs=512 count=1
</font></strong></code>
<P><STRONG>
and it said Error: unrecognised command
</STRONG></P>
<P><STRONG>
guys i need to install windows again for some project
work so could u kindly tell me what i should type in
the grub&gt; so that i can do the normal fdisk with a
bootable floppy of win98/95
</STRONG></P>
<P><STRONG>
Thanks.!!
</STRONG></P>
<P>
This should be no problem,
</P>
<P>
this GRUB thing is the bootmanager installed by your linux distro,
grub is not linux, so it can not regonise the dd command.
Since you allready got rid of Linux 
<IMG SRC="../gx/dennis/unsmily.gif" ALT=":-(" 
		height="24" width="20" align="middle"> the only thinbg left is to
remove the bootmanager. The dd command would be the right one if you
were still using Linux.
</P>
<P>
Now, for the solution:
</P>

<blockquote><ul>
<li>-Take the win9X floppy,
<li>-boot from this floppy,
<li>-type: fdisk /mbr
<li>-repartition with fdisk (dont forget to keep 2 Gig for Linux (do not
<br>  partion this explicidly, just leave it unused) in an   extended
<br>  partition in case you want to try linux again)
<li>-install M$ Windows...
<li>-get your projekt done
<li>-get Linux back on your PC (we are a Linux List, I have to say this :-)
</ul></blockquote>
<P>
Hope I could help,
</P>
<P>
Halb
</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">lost linux password</FONT></H3>
Mon, 11 Jun 2001 12:01:15 -0700
<br>Question From: Selim Javed
<BR>Tip From: Mike Orr (<a href="mailto:tag@ssc.com">The Answer Gang</a>)


<!-- sig -->

<P><STRONG>
dear sir
</STRONG></P>
<P><STRONG>
my linux passs forget
</STRONG></P>
<P><STRONG>
but
<br>i'm reboot &amp; booting single
</STRONG></P>
<P><STRONG><CODE>
bash command not access
</CODE></STRONG></P>
<P><STRONG>
pls help me
</STRONG></P>
<P>
What is the exact error message you're seeing?
</P>
<P>
What happens if you type this at the Lilo prompt?
</P>

<blockquote><pre>Lilo:  linux init=/bin/sh
</pre></blockquote>

<!-- sig -->


<!-- sig -->


<!-- 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">Re:prob in lilo booting</FONT></H3>
30 May 2001 10:41:25 +0200
<br>Question From: saravanan_n
<BR>Tip From: Huibert Alblas (<a href="mailto:tag@ssc.com">The Answer Gang</a>)


<!-- sig -->

<P><STRONG>
Dear sir,
</STRONG></P>
<P><STRONG>
I successfully installed windows 2000 and linux,but i need
</STRONG></P>
<P><STRONG>
dual booting facility,i have 20 gb seagate hardisk ,i partitioned my
hardisk as 5 gb for c: 10 gb for d: and for linux the rest of the space
i use,but while i overwrite the first sector,but this lilo partition is
not happening,it shows ur partion limit exceeds 1024 cylinders,so please
give assistance to do the same.
</STRONG></P>
<P><STRONG>
with regards
saravanan
</STRONG></P>
<P>
I hope I understand correctly that you managed to install both W2K and
some Linux distro. but get into problems dualbooting with Lilo.....
</P>
<P>
If you have an 'older' version of a linux distro, it probably hasnt got
over the '1024 cylinder problem' yet.
</P>
<P>
I hope you have a bootfloppy ready and working.
Then the only thing you have to do is:
</P>
<P><BLOCKQuote>
remove old Lilo
</BLOCKQuote></P>
<P>
goto <A HREF="http://freshmeat.net/projects/lilo"
	>http://freshmeat.net/projects/lilo</A>
</P>
<P>
Download source, install, be happy
</P>
<P>
or ask follow up question right here....
</P>
<P>
the new versions of lilo have no problems on new PC's but as you are
running W2K this should be no problem...
</P>
<P>
Hope I could help..
</P>
<P>
Halb
</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">I need an answer from you....</FONT></H3>
Mon, 4 Jun 2001 22:35:28 -0700
<br>Question From: James G
<BR>Tip From: Don Marti (<a href="mailto:tag@ssc.com">The Answer Gang</a>)


<!-- sig -->

<P><STRONG><BLOCKQuote>
I am wondering if there is a way using CGI/Perl or C
to create a program that learns and mimics the packets
sent by programs like realplayer etc, and then be able
to modify the packets so that information like
destination, who sent it etc. I have read a lot on
packet swtiching, bridge proxies etc and I have no
idea on what to do.....
</BLOCKQuote></STRONG></P>
<P>
The first thing you want to learn is a packet sniffer, such as
ethereal:
<A HREF="http://www.ethereal.com"
	>http://www.ethereal.com</A>
</P>
<P><DL><DT>
or tcpdump:
<DD><A HREF="http://www.tcpdump.org"
	>http://www.tcpdump.org</A>
</DL></P>
<P>
That should give you some idea of what the proprietary application is
sending over the wire. Next, you'll want to experiment with mimicking
it.  You can get the information you need to do this from the
excellent "Unix Network Programming" volume 1, by W. Richard Stevens.
(It's C-centric, but you can apply the ideas to other programming
languages too.)
</P>
<P>
<A HREF="http://vig.prenhall.com/catalog/professional/product/1"
	>http://vig.prenhall.com/catalog/professional/product/1</A>,4096,013490012X,00.html
</P>
<P>
--
Don Marti
</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">Re: central logging and pipping to postgresql db</FONT></H3>
Tue, 5 Jun 2001 19:02:16 -0700
<BR>Question From: control
<BR>Tip From: Don Marti (<a href="mailto:tag@ssc.com">The Answer Gang</a>)

<!-- sig -->

<P><STRONG><BLOCKQuote>
not only do i want to have a central logserver, i also want to find a
way to log these events to a postgresql database table--this includes
and is not limited to only "secure","messages" files but all syslogd
events. what should i do?
</BLOCKQuote></STRONG></P>
<P>
syslogd supports writing to a named pipe.  See man syslog.conf.  So,
you could write a script to read from the named pipe and do inserts
into the database.
</P>
<P>
If something bad happens to the database, you'll still want regular logs
to fall back on, so you should log the important stuff to files too.
</P>
<P>
--
Don Marti
</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">Re: catch stdin</FONT></H3>
Thu, 7 Jun 2001 09:21:08 -0700
<br>Question From: sami
<BR>Tip From: Mike Orr (<a href="mailto:tag@ssc.com">The Answer Gang</a>)

<P><STRONG>
On Thu, Jun 07, 2001 at 06:59:12PM +0500, sami ullah jan wrote:
i need to do something like this:
</STRONG></P>
<P><STRONG><CODE>
telnet "host"
<BR>'catch' stdin
<BR>enter username
<BR>'catch' stdin
<BR>enter passwd
</CODE></STRONG></P>
<P><STRONG>
how do i go about 'catching' the stdin?
</STRONG></P>
<P>
It sounds like you want a script to automatically log into one place.
There are a few possibilities:
</P>
<P><BLOCKQuote>
1) The 'expect' program allows a script to wait for certain characters
from the host (e.g., "ogin:" or "ssword:") and then send the specified
text.  That's usually used for programs that want the entire session
under program control.  Whether you can use 'expect' to log in and then
switch to interactive mode, I don't know.
</BLOCKQuote></P>
<P>
2) If you use ssh instead of telnet, you can set up your account on
'host' so that it will allow you to log into it without having to type
a password.  See "man ssh".
</P>
<P>
--
Mike Orr
</P>
<P><STRONG>
hi,
thanx for the quick reply before. u guys are doig a great job.
</STRONG></P>
<P><STRONG>
QS. how do u go about writing on the soundcard? what do u need to know? i
presume its not as simple as writing to a terminal device.
</STRONG></P>
<P><STRONG>
thanx,
sami.
</STRONG></P>

<!-- 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">Completely wiping the MBR using DOS debug</FONT></H3>
Sat, 9 Jun 2001 15:36:11 +0100 (BST)
<BR>Chandima rodrig&oacute; (<a href="mailto:tag@ssc.com">sri_prince007 from yahoo.com</a>)


<!-- sig -->

<P>
hey guys....  i go it!!!  I'm in love with linux!!
i found the code on site.. sorry for the bother...
this part of code did the trick!!
yep it was ben who had given the link thanx fellow!!
made my day!!
</P>
<P>
regard.
rodrigo!!
</P>
<P>
Boot with a DOS floppy that has "debug" on it; run
"debug". At the '-' prompt, "block-fill" a 512-byte
chunk of memory with zeroes:
</P>

<blockquote><code><font color="#000033"><br>f 9000:0 200 0
</font></code></blockquote>
<P>
Start assembly mode with the 'a' command, and enter
the following code:
</P>

<blockquote><code><font color="#000033"><br>mov dx,9000
<br>mov es,dx
<br>xor bx,bx
<br>mov cx,0001
<br>mov dx,0080
<br>mov ax,0301
<br>int 13
<br>int 20
</font></code></blockquote>
<P>
Press &lt;Enter&gt; to exit assembly mode, take a deep
breath - and press "g" to execute, then "q" to quit
"debug". Your HD is now in a virgin state, and ready
for partitioning and installation.
</P>

<blockquote><font color="#000066">Glad I could help, Rodrigo (or is that 'rodrigo!!'? 
<IMG SRC="../gx/dennis/smily.gif" ALT=":)" 
		height="24" width="20" align="middle">
-=- Ben Okopnik!!
</font></blockquote>

<!-- 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">MS Frontpage98 Server extention Redhat Linux 6.0 vs ASP</FONT></H3>
Thu, 31 May 2001 16:00:39 -0400 (EDT)
<br>QUestion From: Francois
<BR>Tip From: Daniel S. Washko (<a href="mailto:tag@ssc.com">The Answer Gang</a>)


<!-- sig -->

<P><STRONG>
Hi
I am currently running MS Frontpage98 Server extension Redhat Linux 6.0
(<A HREF="http://www.apache.org/">Apache</A>) I would like to know if it is possible to run ASP on the same
configuration. Would it be a Frontpage Upgrade or would it be on the
Linux Side  and is it major changes?. Any help would be highly
appreciated.
Thanx
</STRONG></P>
<P><STRONG>
Francois
</STRONG></P>
<P>
You should be able to build apache with both Frontpage98 and ASP, but you
will need to add mod_perl first.  Check out this site:
<A HREF="http://www.nodeworks.com/asp"
	>http://www.nodeworks.com/asp</A>
</P>
<P>
--
Daniel S. Washko
</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">YAHE: run BIND safely</FONT></H3>
Tue, 05 Jun 2001 08:04:47 -0700
<BR>Benjamin D. Smith (<a href="mailto:tag@ssc.com">amp from benjamindsmith.com</a>)


<!-- sig -->

<P>
(Yet Another "Helpful" Email)
</P>
<P>
BIND sucks, and we all know it, even though it is a core piece of
infrastructure to the 'net. Bind 9 looks good, but I don't quite yet
feel ready to deploy it. Instead, run BIND in a chroot jail - so even
if it gets hacked, they don't "get" anything.
</P>
<P><DL><DT>
There's a howto at linuxdoc.org:
<DD><A HREF="http://www.linuxdoc.org/HOWTO/Chroot-BIND-HOWTO.html"
	>http://www.linuxdoc.org/HOWTO/Chroot-BIND-HOWTO.html</A>
</DL></P>
<P>
-Ben
</P>

<blockquote><font color="#000066">Thanks Ben, and for your thoughts on the learning curve of Windows vs.
UNIX type systems, posted in the Mailbag this month.  Just about any
dangerous daemon might be a tiny bit safer in a chroot jail.  It's not
a perfect trap without some use of the 'capabilities' (privileges really)
in newer kernels, but it's pretty good.
 -- Heather</font></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">Linux solution to syncing with Exchange Address books as a client</FONT></H3>
Tue, 22 May 2001 20:20:53 -0700
<BR>Question From: Alan Maddison
<BR>Tip From: Heather Stern (<a href="mailto:tag@ssc.com">The Answer Gang</a>)

<P><STRONG>
James
</STRONG></P>
<P><STRONG>
I hope that you can help me find a solution before I'm forced back to NT. I
have to find a Linux solution that will allow me to connect to an Exchange
server over the WAN and then sync address books.
</STRONG></P>
<P><STRONG>
Any suggestions?
</STRONG></P>
<P><STRONG>
Thanks.
</STRONG></P>
<P><STRONG>
Alan Maddison
</STRONG></P>

<blockquote><font color="#000066">Well, we've had numerous past articles address the matter of <EM>replacing</EM>
an Exchange server with a Linux box, but you're asking about being
a <EM>client</EM> to one...
</font></blockquote>
<blockquote><font color="#000066">And I can't just point you at the Gazette search engine 
<IMG SRC="../gx/dennis/unsmily.gif" ALT=":(" 
		height="24" width="20" align="middle"> because "Exchange"
is way too common a word.  MX records and the server side of this question
will flood you, even without people just using the word for its real meaning.
</font></blockquote>
<blockquote><font color="#000066">But, we had a mention in a past issue
(<A HREF="../issue58/lg_tips58.html#2c/6"
	>http://www.linuxgazette.com/issue58/lg_tips58.html#2c/6</A>) about Bynari having
a good one - they also have a server product.  So I think you might find the
Insight client to be just what you need!  (<A HREF="http://www.bynari.com"
	>http://www.bynari.com</A>)
</font></blockquote>
<blockquote><font color="#000066">I post it again because I have to update you ... it's <EM>not</EM> free - you have to
pay them for their hard work in getting the protocols right.  Their website
has a "price special" but it appears to have expired a month ago, so I have
no idea what they cost, but it's probably not trying to be too expensive.
 -- Heather</font></blockquote>

<!-- end 16 -->
<P> <hr> </p>
<!-- *** BEGIN copyright *** -->
<H5 align="center">This page edited and maintained by the Editors
	of <I>Linux Gazette</I> 
<a href="http://www.linuxgazette.com/copying.html"
	>Copyright &copy;</a> 2001
<BR>Published in issue 68 of <I>Linux Gazette</I> July 2001</H5>
<H6 ALIGN="center">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> 
</H6>
<!-- *** END copyright *** -->

<!--startcut ======================================================= -->
<CENTER>
<!-- *** BEGIN navbar *** -->
<IMG ALT="" SRC="../gx/navbar/left.jpg" WIDTH="14" HEIGHT="45" BORDER="0" ALIGN="bottom"><A HREF="lg_answer68.html"><IMG ALT="[ Prev ]" SRC="../gx/navbar/prev.jpg" WIDTH="16" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="lg_toc68.html"><IMG ALT="[ Table of Contents ]" SRC="../gx/navbar/toc.jpg" WIDTH="220" HEIGHT="45" BORDER="0" ALIGN="bottom" ></A><A HREF="../lg_frontpage.html"><IMG ALT="[ Front Page ]" SRC="../gx/navbar/frontpage.jpg" WIDTH="137" 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="collinge.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 ========================================================= -->