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
|
<!--startcut ==========================================================-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>More 2 Cent Tips & Tricks LG #50</title>
</head>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#0000AF"
ALINK="#FF0000">
<!-- *** BEGIN navbar *** -->
<A HREF="index.html"><IMG ALT="[ Table of Contents ]"
SRC="../gx/indexnew.gif" WIDTH=163 HEIGHT=60 ALIGN=bottom ></A>
<A HREF="../index.html"><IMG ALT="[ Front Page ]"
SRC="../gx/homenew.gif" WIDTH=163 HEIGHT=60 ALIGN=bottom></A>
<A HREF="lg_answer50.html"><IMG ALT="[ Prev ]" SRC="../gx/back2.gif" WIDTH=41 HEIGHT=60 ALIGN=bottom></A>
<A HREF="../faq/index.html"><IMG ALT="[ Linux Gazette FAQ ]"
SRC="./../gx/dennis/faq.gif"WIDTH=163 HEIGHT=60 ALIGN=bottom></A>
<A HREF="andreiana.html"><IMG ALT="[ Next ]" SRC="../gx/fwd.gif" WIDTH=41 HEIGHT=60 ALIGN=bottom ></A>
<!-- *** END navbar *** -->
<!--endcut ============================================================-->
<H4>"Linux Gazette...<I>making Linux just a little more fun!</I>"
</H4>
<P> <hr> <P>
<!-- QUICK TIPS SECTION ================================================== -->
<center>
<H1><A NAME="tips"><IMG ALIGN=MIDDLE ALT="" SRC="../gx/twocent.gif">
More 2¢ Tips!</A></H1> <BR>
Send Linux Tips and Tricks to <A HREF="mailto:gazette@ssc.com">
gazette@ssc.com
</A></center>
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Removing "Strange" files (response)
</FONT> </H3>
Sun, 30 Jan 2000 05:02:06 -0800
<BR>From: Jim Dennis <<A HREF="mailto:jimd@starshine.org">jimd@starshine.org></A>
<P> Last month there was a shell script offered by
Mendel Cooper <thegrendel@theriver.com> for removing files
with degenerate names. That is to safely unlink those filenames
containing "special" or strange characters.
<P> It appears to be a dangerous script, and is probably not the
best was to accomplish his stated goals.
<P> There is no reason to blindly and indiscriminately remove all files
containing whitespace, and the character set
<CODE>[+{;"\=?~()<>&*|$]</CODE>.
There is good reason to warn the sysadmin about the existence of
such filename/links in the "common" areas of the file hierarchy.
<P> In fact this particular set of characters seem arbitrary. For
example why include the "open curly brace" and not its closing
counterpart? Experience has shown that one is much better off
using converse logic in these cases. In other words, one should
define a set of the characters which are definitely to be allowed
in filenames rather than trying to think of all the characters
that "might be bad."
<P> To safely find all files with such strange characters one can
use a command like:
<PRE>
find / -name '*[^][a-zA-Z0-9#%~:,._+-]*'
</PRE>
... this defines a list of characters which I allow in my
filenames: alphanumerics (<CODE>a-zA-Z0-9</CODE>), the square brackets
(<CODE>[]</CODE>) --- note that /usr/bin/[ is a standard link to the
/usr/bin/test command --- a few bits of punctuation that are
occasionally found in filenames (such as the "dot" and "tilde"
characters).
<P> Note that even this liberal list of allowed characters isn't
liberal enough on my Debian and S.u.S.E. systems. I find
some "accented" (High ASCII) character filename links among
some of the fonts and console/kbd map packages. I find that
many MP3 files contain spaces, ampersands, and apostrophes.
<P> In order to see characters that might not be displayed correctly
by your terminal you can use the "-v" option to the cat command
like so:
<PRE>
find / -name '*[^])}{([a-zA-Z0-9@#$&"'"'"'%~:,._+-]*' | cat -v
</PRE>
<P> ... here I've even further liberalized my character set even
to allow single and double quotes to be allowed. The part of
this that might be confusing bears explanation:
<PRE>
[^])}{([a-zA-Z0-9@#$&"'"'"'%~:,._+-]
^^^^^^
</PRE>
<P> Here I'm adding the double quote (which is quoted from the
shell by the single quote way back at the beginning of this
argument), then I'm ending the current single quoted context
and immediately starting a double quoted one context. This is
still part of the same shell argument (since I haven't introduced
any unquoted whitespace, or anything that is in a normal IFS).
Then I have a single quote (which is quoted by the double quotes)
and a terminating double quoted (ending that string), and another
opening single quote which goes to the end of the argument.
<P> It's ugly, but it is the easiest way to put a literal single
quote into a shell argument. (There are a number of characters
that are "special" or that have "metasyntactic" implications
when they are in a double quoted context, but only the single
quote is significant inside of a single quoted context.
<P> Note also that I use the dash character as the last one inside my
character class. That to indicate to the regex/globbing engine
that this particular dash represents itself (a literal dash) and
that it is NOT operating to indicate a range of other characters,
as it is when it appears in the a-z, A-Z, and 0-9 sequences.
Similarly I have the closing bracket as the first "normal"
character after the opening of the class and the "negation"
operator. The regex/globbing engine that's used by find, bash and
the GNU utilities is well written enough to distinguish between the
literal inclusion of these "special" characters and their other
uses within the regex/glob character class defining syntax. To
allow the use of the "^" (circumflex or "caret" ) character we can
include an additional instance of it later in the class definition
(anywhere other than the first or last character of the sequence).
<P> This regex "class definition" sequence is quite an advanced topic,
so it is easiest to use it as an example so long as you understand
what it does. In other words you can safely use this example even
if you don't understand how to create such a pattern --- just be
sure that you know what it DOES.
<P> To safely remove a file with special characters in its name
one can use a syntax like:
<PRE>
find . -maxdepth 1 -name .... -print0 | xargs -0 rm
</PRE>
... note that those are "zeros" in the -print0 'find' directive
and the -0 option to 'xargs' These "zero" arguments work together
to ensure that the filenames are passed from the 'find' process to
the rm command as NUL terminated strings. The ASCII NUL character
(the 0-th in that encoding system) is really special and it really
can't be embedded in a filename.
<P> There are some other GNU utilities that accept a -0 or --null
option to allow 'find' to pass NUL-terminated arguments to them
including GNU tar and cpio.
<P> The ellipses in this example can be replaced with any globbing
pattern that exclusively matches the file(s) to be removed. Use
the find command into a 'cat -v' process first to be sure that it
only lists those file that you really intend to remove. Of course
the . argument could be replaced with any directory name or list of
names.
<P> Incidentally, the reason I came across this is because I'm starting
work on a "Linux Tips fortune cookie" file.
<H4>Mendel Cooper responds:</H4>
<P> That is correct, in the sense that all administrative tools, utilities,
and scripts are dangerous, especially those affecting the filesystem. Any
script coming from an outside source that is used blindly and without
understanding is dangerous.
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">2C Tip
</FONT> </H3>
Wed, 12 Jan 2000 18:18:58 +0100 (CET)
<BR>From: Flavio Poletti <<A HREF="mailto:poletti@writeme.com">poletti@writeme.com></A>
<P> I've read the 2C Tip from Pat Bateman <pat99@linustart.com> and I found
it useful. I wrote a small Perl script that inspects all open ports and reports
about them. I want to share it with the others - and also ask you to check if
it works or if it is not useful!!!
<P> <A HREF="misc/tips/showports.pl.txt">showports.pl</A>
<P> Good bye,
<P> Flavio Poletti.
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Quick html browse / edit
</FONT> </H3>
Wed, 19 Jan 2000 00:22:45 +0100
<BR>From: Paco <<A HREF="mailto:fmunoz@geocities.com">fmunoz@geocities.com></A>
<P> If you want to edit your HTML code you have some choices, most of them
only allow you to change your bare code in a non Visual method. This can be
viewed as drawback but after the design of the 1st file of a given set must of
the work is Cut & Paste, so you can use the Netscape editor to create the
template them clear all the junk code that it write and then use one of the
following options:
<PRE>
- Just an editor and and your favorite browser
Lynx, Netscape, konkeror ..... and another windows with vi, pico, joe, emacs or
somethings more "WYGIWYSish"
Use: Just from X, lauch all that you want and don't forget to reload your pages
after saving them
- mc
midnight command can let you see html files (rendered by lynx) and edit them
with cooledit (Warning this a a console tool !! If you use one of them too
much you could end as a Computer Guru years later ! )
Use: Just open a console and tipe mc (Most distros) browse with the arrows,
read files with F3/enter and edit them with F4
- emacs : This "editor" have some features that help you to browse and edit your
html files. Is there anything that can't be programed in it? ;-)
Use: Just read all the emacs docs, and launch it (either in X or console)
- Amaya lets you update your changes automagically and give you a treelike
view of your code's structure. (nice feature if you use a lots of tables) Made
by the w3 consortium, see http://www.w3.org
Use: Launched from X
- One of the KDE tools :
KDreamSite see http://www.raverx.seite.ms
WebMaker see http://www.services.ru/linux/webmaker
KWebDeb see http://mason.gmu.edu/~ebanker/kwebdev/index.html
Use: Launched from X
Galway (good !, GNOME html editor) see http://erin.netpedia.net/
Use: Launched from X
There are also others
CoffeCup (good but not Open Source) ,
tkHTML
asWedit
plexel
ASHE
Bluefish (Nice!) see http://bluefish.linuxbox.com/
Bulldozer (designed by the NASA!)
ewin
</PRE>
<P> You can allways go to http://www.freshmeat.net or even www.linuxberg.org and
search there for more stuff, I'm sure that this list is not complete.
<P> I strongly sugest you to use some short of scripting or templates to create
your pages. The target is to tipe your have your new text as plain text and get
nicely formated html pages just a "click/script" away. (Perl anyone?)
<P> Un saludo
Francisco Muoz
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Yet another tip
</FONT> </H3>
Sun, 23 Jan 2000 16:22:57 -0700 (MST)
<BR>From: Mendel Cooper <<A HREF="mailto:thegrendel@theriver.com">thegrendel@theriver.com></A>
<P> Hello again, LG people.
<P> Here is another one for your 'tips' column.
<P> It seems that "whois" queries are no longer quite the same. A simple
"whois xyz.com" defaults to the Network Solutions server, but due to
political machinations these guys are playing it tight lipped and have
sharply restricted the amount of info returned on a "whois". If you
need the in-depth goods on a domain name, you now have to turn to an
alternate whois server, such as ripe.net.
<P> The following script, named 'wh', will do a domain name lookup on any of three
alternate whois servers. As root, save 'wh' to /usr/local/bin, and then create
three symbolic links in that directory, like so:
<PRE>
[root /usr/local/bin]# ln -s /usr/local/bin wh /usr/local/bin/wh-ripe
[root /usr/local/bin]# ln -s /usr/local/bin wh /usr/local/bin/wh-cw
[root /usr/local/bin]# ln -s /usr/local/bin wh /usr/local/bin/wh-radb
</PRE>
<P> The script can be invoked as 'wh zzz.com', which does a lookup of
zzz.com on the ripe.net server. If invoked as 'wh-cw zzz.com', it looks
up zzz.com on the cw.net server. If invoked as 'wh-radb zzz.com', it
looks up zzz.com on the radb server.
<P> These alternate servers unfortunately do not list as many domain names
as the Network Solutions server, but they do provide a great deal more
info on the ones they have.
<P> <A HREF="misc/tips/wh.sh.txt">wh</A>
<!-- END tips -->
<P> <hr> <P>
<!--================================================================-->
<H4><font color="maroon">
Tips in the following section are answers to questions printed in the Mail
Bag column of previous issues.
</font></H4>
<!-- BEGIN tips.answers -->
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">Linux clickability in windows NT Domain
</FONT> </H3>
Fri, 31 Dec 1999 15:09:38 -0600
<BR>From: <<A HREF="mailto:tdierkes@home.com">tdierkes@home.com></A>
<P> As a new feller, I'm flabbergasted that a question was asked that I KNEW!
<P> Network Neighborhood is using WINS to resolve the IP addresses. The NT
machines may have the correct domain name in there (DNS tab), but, on the
WINS Addressing tab (start | settings | control panel | network |
protocols | TCPIP | Properties | WINS Addressing) there is a check tab
for
<P> "Enable DNS for Windows Resolution"
<P> That must be checked.
<P> Or, you could have your Linux machine name added to the WINS server.
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">Making Linux talk to an NT network
</FONT> </H3>
Fri, 31 Dec 1999 16:08:52 -0600
<BR>From: <<A HREF="mailto:tdierkes@home.com">tdierkes@home.com></A>
<P> David,
<P> Use the Diagnostics found on
http://us1.samba.org/samba/docs/DIAGNOSIS.html
<P> You might be better to at least read the FAQ first
http://us1.samba.org/samba/docs/FAQ/
<P> I just got most of my Samba issues resolved this week. I also felt like
I was spinning my wheels for a while. The Diagnostics will, besides help
you identify your problems, will also point out what you need to do MOST,
and that is, break your connectivity problems down into smaller bytes.
<P> ie. Let us start with the 1st problem of your 10 Easy Step guide you
suggested. Come back with the 1st specific problem and we can go from
there.
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">linux on a laptop
</FONT> </H3>
Fri, 31 Dec 1999 16:53:47 -0600
<BR>From: <<A HREF="mailto:tdierkes@home.com">tdierkes@home.com></A>
<P> Do not forget to check http://www.linuxgazette.com/search.html which is
the Linux Gazette search engine for anwers before asking. I searched
on ATI rate and got a lot of responses.
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">Not a tip, but rather a question
</FONT> </H3>
Fri, 31 Dec 1999 19:08:30 -0500
<BR>From: Gerard Beekmans <<A HREF="mailto:glb@dds.nl">glb@dds.nl></A>
<P> Hi,
<BLOCKQUOTE>
<P> I'm looking to add "disk mirroring" (RAID-1) to a SUSE 6.1 system with
an AHA-2940U2W.. I must be
looking in the wrong places, but it seems like information about this
particular issue is scarce at best.
Any ideas?
</BLOCKQUOTE>
<P> An idea is to use Software-RAID. This eliminates the need of a hardware
RAID controller.
<P> What you need to do, is read the Sofware-RAID mini HOWTO. You can get
this document from http://www.linuxdoc.org/
<P> You might have the file in /usr/doc/HOWTO/mini/ (or whever your system
stores HOWTOs) but there's a chance your local version is outdated. So
download the one from the LDP site mentioned above to ensure yourself of
reading the latest version.
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">pulse vs tone dialing
</FONT> </H3>
Fri, 31 Dec 1999 19:14:33 -0500
<BR>From: Gerard Beekmans <<A HREF="mailto:glb@dds.nl">glb@dds.nl></A>
<P> Hi,
<BLOCKQUOTE>
<P> currently my modem dials using tone, but my phone line needs pulse, how
do fix it?
</BLOCKQUOTE>
<P> You need to modify your modem's dial string.
<P> Currently, it says something like ATDT<here phonenumber>
<P> Change this to ATDP<here phonenumber> and it'll dial in pulse-mode
rather than in tone-mode.
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">Access 97
</FONT> </H3>
Sat, 1 Jan 2000 12:41:58 -0600
<BR>From: McKown, John <<A HREF="mailto:JMckown@Insurdata.com">JMckown@Insurdata.com></A>
<P> First, happy new year!
<P> To the best of my, admittedly limited, knowledge, there is not a way to run
Access 97 directly on Linux. I think that I have seen some Linux ODBC
drivers which allow a Linux client to access an Access97 database running on
another computer. In particular, on
http://freshmeat.net/appindex/1999/12/07/944590737.html . This says that it
allows a Linux client to talk to any NT ODBC data source. This, of course,
requires running WindowsNT. You can do that by having two machines, one
running Linux the other running WindowsNT. Network them together with a
normal Ethernet connection. Or, you can purchase a product called VMWare
(http://www.vmware.com). This product allows you to install and run a
WindowsNT (or 95 or 98) system under Linux. Note - this DOES require you to
buy WindowsNT! It is not an emulator of WindowsNT, it simply allows a real
WindowsNT machine to run along with Linux on the same physical machine. I
have used this product to run Windows98 under Linux and it does work quite
well for me. VMWare allows the WindowsNT "virutal machine" to talk to Linux
via a "virtual" ethernet connection.
<P> Question, why must you use Access97? Linux has some nice database software
that is free. I'm thinking mainly of PostgreSQL and MySQL. The main thing
that they lack is a "builtin" GUI interface. But I'm sure that there are
some out there. Probably in Perl or Python, both of which can "talk" to
either of those database systems.
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">Re: pulse vs tone dialing
</FONT> </H3>
Sun, 2 Jan 2000 23:44:41 -0500
<BR>From: Pierre Abbat <<A HREF="mailto:phma@oltronics.net">phma@oltronics.net></A>
<P> You need to change "atdt" to "atdp". Where you change this depends on how you
are dialing and perhaps on your distribution. On a Red Hat or Mandrake system
using "ifup ppp0" or UserNet, this is in
/etc/sysconfig/network-scripts/chat-ppp0. In kppp, hit Setup, Modem tab, Modem
Commands button. The config file is ~/.kde/share/config/kppprc if you need to
edit it by hand or program.
<P> phma
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">Running Microsoft Windows Apps on Linux.
</FONT> </H3>
2 Jan 00 12:38:23 ARST
<BR>From: Ivan Andres Hernandez Puga <<A HREF="mailto:iahp@usa.net">iahp@usa.net></A>
<P> Dear Rick:
<P> Try with WINE (http://www.winehq.org).
I have heard that you can run MS-Office and VisualBasic 6 using that program.
<P> Luck.
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">Re: SNA Server
</FONT> </H3>
Tue, 04 Jan 2000 20:05:17 +0000
<BR>From: Burkhard Perkens-Golomb <<A HREF="mailto:perkens@sdm.de">perkens@sdm.de></A>
<P> Just use metacrawler:
<P> http://www.metacrawler.com/index.html?nocookie
<P> and search for "sna linux" (without quotes).
<P> There's even an GPLed SNA Server available.
<P> Burkhard
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">Linux Red Hat installation kernel panic Unable to mount root
</FONT> </H3>
Thu, 6 Jan 2000 13:58:39 +0100
<BR>From: Ewan Gatherer (ECS) <<A HREF="mailto:Ewan.Gatherer@ecs.ericsson.se">Ewan.Gatherer@ecs.ericsson.se></A>
<P> Hi
<P> You should boot your linux box with the boot disk you created, or where meant to create when installing Linux. Once booted, if all goes well, you will have you linux box up and running. Then re-install lilo or your favourite boot manager by typing lilo. If you want to set the dos partition to startup by default use lilo -D dos.
<P> If this does not solve your problem or things do not go as I mentioned above drop me a mail.
<P> Best regards
<P> Ewan Gatherer
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">Linksys Ether16 NIC installation issues, as asked in the Answer Guy,
LG Jan 2k
</FONT> </H3>
Thu, 06 Jan 2000 14:33:19 -0700
<BR>From: Marcus Post <<A HREF="mailto:marcus.post@wcom.com">marcus.post@wcom.com></A>
<BLOCKQUOTE>
<P> From Chuck Whinney on Sun, 05 Dec 1999
I cant seem to get my Linksys Ether16 LAN card to work under linux. I turned
off the PnP liek teh linksys website said, and I turned the motherboard
setting from PnP on that IRW to the ISA setting. Linux still never
recognizes it.
Any ideas? Thanks! Chuck
</BLOCKQUOTE>
<P> I wanted to comment on this because some easy items where missed in
answering this customer. THe chipset is fully supported, being an NE2000
clone that works just fine. If he is having difficulty installing it, here's
where he should check:
<P> #1 Conflicts. This is not likely a problem, since the Ether software that
sets the IRQ and I/O of the card checks for conflicts before setting the
resources. If you have not installed new hardware, or turned on any extra on
board peripherals (Serial, Parallel, or USB ports), this shouldn't be an
issue.
<P> #2 How the driver is loaded. As a shot in the dark, you are likely using
redhat, in which case the best choice is to use Linux Config to set up the
module to load at boot. Most distros will work the same way, but some you
have to manually edit rc.* files. THere is a linux-conf topic for network
interfaces, but I forget what it is called ATM. If you have to edit the rc.*
files, look for a rc.modules file; most distrobutions have one with the
network card modules already specified, but commented out. Find the one with
your module ( ne2k.o I believe) and uncomment it. In either case, don't
worry about specifying the IRQ; you only need to note the I/O address for
this card. *VERY IMPORTANT* when specifying the I/O port, use "0x320"
instead of "320". You have to specify the number is hex, which is '0x'. So,
if the software that disabled your plug n play on the card said it was using
port "330", tell linux that the port is "0x330" Don't expect the module to
autodetect the card: on this card, it almost never works (I own three of
them personally), while autodetect works on other cards, such as my SMC. I
don't know why, but don't count on the module to detect the card.
<P> #3. I dont know about ISA IRQ changes you made in the BIOS. From personal
experience, they just aren't needed. You sound comfortable enough with them,
so you may want to change them back to normal once you are positve the Linux
configurations are correct and complete.
<P> #4 Standard troubleshooting: If you dont get an error when booting, check
'ifconfig'. You may just need to assign the card an address, subnet, et al.
Or, run dhcpcd if you have a DHCP server/cable modem/DSL router/whatever.
Try a different ISA slot. If all looks good locally, but you cant reach
outside of your own box, check your cables, subnet mask. First answer if the
problem is hardware or software. Tackle it logically.
<P> Best of luck,
Toodles
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">Win98 ICS + Linux
</FONT> </H3>
Fri, 07 Jan 2000 23:11:51 +0100
<BR>From: Anders Hoglund <<A HREF="mailto:anders.hoglund@linux.nu">anders.hoglund@linux.nu></A>
<P> Hello!
<P> It's easy to do that, run netcfg and click on "interfaces". Edit your
"eth0" with
"interface configuration protocol - dhcp", save and restart.
After that it should work!
<P> Sorry for my bad english!
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">Diamond SupraExpress 56i V PRO
</FONT> </H3>
Wed, 12 Jan 2000 15:40:19 +0100
<BR>From: Alberto Caso <<A HREF="mailto:caso@intermail.es">caso@intermail.es></A>
<P> Hi,
I read your question on Linux Gazette #48 about installing a Diamond
SupraExpress 56i V PRO under Linux and I have to give you bad news: it's
a winmodem. Well, it is not a full winmodem, as it does data compression
on the modem rather than on the PC, but it is partialy
software-controled, so it will only work with the proper drivers
installed. As the technical staff at Diamond told me (yes, I had a
SupraExpress 56i V PRO), there are no plans to provide drivers for
platforms other than Win32. I also emailed the developer support staff,
but I got no answer from them.
Alberto.
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">Suggestion and ideas
</FONT> </H3>
Wed, 19 Jan 2000 01:37:34 +0100
<BR>From: Paco <<A HREF="mailto:fmunoz@geocities.com">fmunoz@geocities.com></A>
<P> Just read a Linux newbie guide and an Instalation guide. :-)
Try not to read all the other stuff ... untill you need it or had finished the
instalation (and everything is working)
<P> 1 To get out from a manual just hit q (From the origins of the Unix world q
was the key to quit :-) You are right, This is said in noplace. I have figured
in and old VAX some years ago just after 10 minutes (You have to log out
before you could leave the terminal)
<P> 2 To copy a file use (much like the old MSDOS copy, well not really) use:
<CODE>cp file1 target</CODE>
where target can be a file or a directory (just type man cp, now that you know
how to exit tit :-)
<P> 3 Pico is nice, In console mode I use the midnight commander to navigate the
directories and just hit F4 to launch cooledit and edit files (Funtions keys
hints are at the bottom of the screen) Very easy. I miss it a lot when I use
the University Solaris box.
<P> 4 ????
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">Re: HELP with LT Win Modem and SB 16 >Sound Blaster wanted!
</FONT> </H3>
Thu, 20 Jan 2000 15:49:55 +1300
<BR>From: Greig McGill <<A HREF="mailto:rider@wave.co.nz">rider@wave.co.nz></A>
<P> Following up from your january issue, specifically:
<BLOCKQUOTE>
From: Gerard Beekmans
<P> It's true; Winmodems don't work under Linux. Winmodems are
specially designed to work with Microsoft Windows and are not supported
in Linux. The only way to get a modem to work is to buy a
non-winmodem.
</BLOCKQUOTE>
<P> This is not strictly true...
<P> Go to www.linmodems.org.
<P> I managed to get my LT Winmodem going on my Acer notebook - runs sweeter than it did under win98.
<!-- END tips.answers -->
<!-- *** BEGIN copyright *** -->
<P> <hr> <P>
<H5 ALIGN=center>
This page written and maintained by the Editor of the <I>Linux Gazette</I>.
Copyright © 2000, <A HREF="mailto:gazette@ssc.com">gazette@ssc.com</A><BR>
Published in Issue 50 of <i>Linux Gazette</i>, February 2000</H5>
<!-- *** END copyright *** -->
<!-- startcut ============================================================-->
<!-- *** BEGIN navbar *** -->
<A HREF="index.html"><IMG ALT="[ Table of Contents ]"
SRC="../gx/indexnew.gif" WIDTH=163 HEIGHT=60 ALIGN=bottom ></A>
<A HREF="../index.html"><IMG ALT="[ Front Page ]"
SRC="../gx/homenew.gif" WIDTH=163 HEIGHT=60 ALIGN=bottom></A>
<A HREF="lg_answer50.html"><IMG ALT="[ Prev ]" SRC="../gx/back2.gif" WIDTH=41 HEIGHT=60 ALIGN=bottom></A>
<A HREF="../faq/index.html"><IMG ALT="[ Linux Gazette FAQ ]"
SRC="./../gx/dennis/faq.gif"WIDTH=163 HEIGHT=60 ALIGN=bottom></A>
<A HREF="andreiana.html"><IMG ALT="[ Next ]" SRC="../gx/fwd.gif" WIDTH=41 HEIGHT=60 ALIGN=bottom ></A>
<!-- *** END navbar *** -->
</BODY></HTML>
<!-- endcut ============================================================-->
|