home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 July / PCpro_2004_07.ISO / docs / basiclin / faq.txt < prev   
Encoding:
Text File  |  2003-10-11  |  25.3 KB  |  675 lines

  1. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  2.  
  3. > BasicLinux does not work on my system.  It starts to boot and then 
  4. > crashes.
  5.  
  6. BasicLinux needs two things to boot:  DOS and 8mb RAM.  Make sure that 
  7. you are running in pure DOS.  Make sure that you have at least 8mb RAM 
  8. and that *all* of your RAM is good.  
  9.  
  10. It is not uncommon for old PCs to have faulty or mismatched RAM modules.  
  11. Just because DOS is OK does not mean the RAM is OK (sometimes DOS is able 
  12. to run with bad RAM modules).  Linux is *very* intolerant of bad RAM.  If 
  13. you have problems with Linux crashing, you should run a thorough RAM test.  
  14. The automatic power-on RAM test is not thorough -- do not trust it.  You 
  15. need a proper RAM tester, like the the one at:    
  16. -------------------------
  17. http://www.memtest86.com/
  18. -------------------------
  19. Something else that might crash Linux is an overclocked CPU or an aggressive 
  20. CMOS setting.  Sometimes people try to speed up their systems by pushing the 
  21. hardware to the limit.  If this has been overdone, Linux may crash (even 
  22. though DOS does not).
  23.  
  24. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  25.  
  26. > Can I use add-ons from BasicLinux 1.8 in BasicLinux 2.0?
  27.  
  28. No.  BasicLinux 2.0 uses a completely different set of libraries.
  29. BasicLinux 1.8 used very old libraries (libc5) and all its add-ons 
  30. were compiled for those libraries.  BasicLinux 2.0 uses glibc 2.1.   
  31.  
  32. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  33.  
  34. > I have a 486sx and would really like to run BasicLinux 2.0.  Is 
  35. > there any way to do this?
  36.  
  37. Yes, but you will need to get a new kernel from Slackware 7.1.  The
  38. BasicLinux kernel is called "zimage" and you will find it on your DOS 
  39. partition (where you boot BasicLinux).  Replace it with an appropriate 
  40. Slackware kernel.
  41.  
  42. If you have 8mb RAM, you should use the low-mem kernel from Slackware 7.1.
  43. You will find it in the  /kernels/lowmem.i  directory.  It is called zimage
  44. (same as the BasicLinux kernel).  Simply copy it over the old zimage and
  45. boot BasicLinux.
  46.  
  47. The low-mem zimage is not a very good kernel.  In order to make it small, 
  48. Slackware left out several features.  In particular, it is unable to do
  49. networking.  However, there is no choice -- the low-mem zimage is the only 
  50. kernel that can run the BasicLinux ramdisk on a 486sx with 8mb RAM.
  51.  
  52. If you have more than 8mb RAM, you should use a more capable kernel.  The 
  53. standard Slackware IDE kernel is probably best.  You will find it in the  
  54. /kernels/bare.i  directory.  It is a bzimage.  Copy it to the DOS directory 
  55. where you boot BasicLinux.  Since the BasicLinux boot routine is expecting 
  56. a zimage, you will need to edit BOOT.BAT (with a DOS editor) and change 
  57. zimage to bzimage.
  58.  
  59. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  60.  
  61. > Central European phone lines do not have a dial tone.  
  62. > So we need to use ATX3DT instead of ATDT.  Can this 
  63. > be implemented in pppsetup?
  64.  
  65. Yes.  Add the following line to the main config file:
  66. ------------
  67. 0 init1 ATX3
  68. ------------
  69. This works for any modem init string (like ATM0L0 to turn off
  70. the modem speaker).
  71.  
  72. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  73.  
  74. > What are the Linux names for my drives?
  75.  
  76. The following will print the details of your HD partitions:
  77. --------
  78. fdisk -l
  79. --------
  80.  
  81. > I have a drive C:
  82.  
  83. Your C: drive is probably the first partition on /dev/hda.
  84. The Linux name for that partition is /dev/hda1
  85.  
  86. > and a CDrom drive (D:) 
  87.  
  88. Probaby /dev/hdb  (no number because CDroms aren't partitioned).
  89.  
  90. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  91.  
  92. >  When I use "pr", it says it doesn't recognize that command.
  93.  
  94. BasicLinux does not include a print daemon (although one can be added
  95. from Slackware 7.1).  BasicLinux prints text by sending it directly to 
  96. the printer port.  That is what wp does.
  97.  
  98. > How do I print a file?
  99.  
  100. The simpest way is to copy the file to /tmp/document (the name of the 
  101. current wp document).  Then run wp and print the document.
  102.  
  103. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  104.  
  105. > With the word processor in Basiclinux, how to save those 
  106. > files as .txt, and then put them onto a floppy?
  107.  
  108. When you have finished editing the document, exit the wordprocessor 
  109. and do this:
  110. --------------------------
  111. cd /tmp                   # goes to where document is stored
  112. ren document newname.txt  # renames document
  113. mount /dev/fd0  /mnt      # put floppy in drive first!
  114. copy newname.txt  /mnt    # copies file from HD to FD
  115. umount /mnt               # do this BEFORE removing floppy
  116. --------------------------
  117.  
  118. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  119.  
  120. > in the /etc directory there seemed to be a bunch of 
  121. > configuration files.  Are there specs somewhere which can 
  122. > tell my what, how and why I would want to change in these?
  123.  
  124. Here are a few to get you started:
  125. --------------------------------------------------------------
  126. rc       system startup file (for ramdrive BasicLinux)
  127. rc.d     system startup files (for HD version)
  128. profile  shell startup file
  129. fstab    table of filesystems automatically mounted at startup
  130. passwd   user data for login
  131. issue    text that gets printed on screen at login
  132. --------------------------------------------------------------
  133.  
  134. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  135.  
  136. > DOS took me only a short time to get on to, the Linux CLI has 
  137. > been much more difficult, the command line seems longwinded and 
  138. > roundabout to do even simple things compared to DOS
  139.  
  140. The Linux CLI is more difficult to master because it has so 
  141. many different options and so many ways of doing things.  
  142. However, for simple stuff, it parallels DOS pretty well.
  143.  
  144. DOS                            Linux
  145. ----------------------------------------------------
  146. cd \tmp                        cd /tmp
  147. cd ..                          cd ..
  148. copy xxxx \tmp                 cp xxxx /tmp
  149. move xxxx \tmp                 mv xxxx /tmp
  150. del xxxx                       rm xxxx
  151. deltree xxxx                   rm -r xxxx
  152. mkdir xxxx                     mkdir xxxx
  153. rmdir xxxx                     rmdir xxxx
  154. dir /w                         ls
  155. dir                            ls -l
  156. dir | more                     ls -l | more 
  157. xxxx  (to execute xxxx)        xxxx
  158. type xxxx                      cat xxxx
  159. CTRL-C                         CTRL-C
  160. ------------------------------------------------------
  161.  
  162. > I've also found it difficult to find a book or information that 
  163. > I can understand, 
  164.  
  165. Have you looked in your public/university library?  When I started
  166. out, I found several beginners books on Linux in my public library.
  167. I got them all out and read the first few chapters of each.  I
  168. found that I usually got lost around chapter three, and it really
  169. helped to stop reading that book and start again with a new one.
  170.  
  171. > BasicLinux so far being my best teacher.
  172.  
  173. BasicLinux was designed to be a smaller, simpler Linux that could 
  174. be used and (eventually) understood by new users (particularly 
  175. users with some DOS experience).  A lot of stuff has been left 
  176. out; however, I tried to keep all the core tools and functionality.  
  177. Most of the lessons in the beginners books can be practiced in 
  178. BasicLinux.
  179.  
  180. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  181.  
  182. > Was wondering if there was a way to see again all that 
  183. > info at bootup?
  184.  
  185. Enter the following:
  186. ------------
  187. dmesg | more
  188. ------------
  189. The only reason 'more' is there is to stop it scrolling off
  190. the screen.
  191.  
  192. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  193.  
  194. > Is it possible to increase the size of the BasicLinux ramdisk?
  195.  
  196. The size of the ramdisk is fixed at 4mb.  However, if you have 16mb RAM 
  197. or more, BasicLinux automatically gives you a second 4mb ramdisk (mounted
  198. at /tmp).  This additional space is only available in the /tmp directory 
  199. (and any subdirectories below it).  To see the space available on your 
  200. system, do 'df'
  201.  
  202. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  203.  
  204. > I boot BasicLinux on my "D:" drive in a "blinux" directory.  
  205. > How can I mount this drive from BasicLinux?  I tried 
  206. > "mount /dev/hda1 /hd" changing various parameters (like hda2) 
  207. > for the d: drive, but it didn't work. 
  208.  
  209. You are on the right track, but first we need to figure out exactly where 
  210. the D: drive is (physically) located.  /dev/hda is the primary master IDE 
  211. drive.  C: is usually the first partition of this drive (/dev/hda1).  If D: 
  212. is on the same HD as C:, it will also start with /dev/hda.  However, if D: 
  213. is on a different HD, it will start with something else.  For example, if D: 
  214. is on the primary slave HD, its Linux name will start with /dev/hdb.
  215.  
  216. The simplest way to figure this out is to boot BasicLinux and do this:
  217. --------
  218. fdisk -l
  219. --------
  220. This will show you all occupied partitions.  /dev/hda1 is probably C:.  
  221. Can you figure out which one is D: ?   For example, if it appears that 
  222. D: is /dev/hda5, mount that and have a look:
  223. --------------------
  224. mount /dev/hda5 /hd
  225. dir /hd
  226. --------------------
  227. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  228.  
  229. > I am trying to install BasicLinux to HD.  I downloaded the listed
  230. > packages from a Slackware 7.1 mirror.  The installation routine 
  231. > finds all the packages but it does not install them.  Instead I
  232. > get error messages.  What's wrong?
  233.  
  234. The packages might have been altered when you downloaded them.  Perhaps 
  235. they were truncated or perhaps the server downloaded in ascii (rather 
  236. than binary) or perhaps your client automatically decompressed them.  
  237. Check the sizes of the the packages.  They should be as follows:
  238. ----------------------
  239. a2/bin       1,029,260
  240. a2/e2fsprog    261,848
  241. a3/gzip         52,484
  242. a4/fileutls    414,358
  243. a6/grep        202,451
  244. a6/hdsetup     141,626
  245. a6/ldso        199,847
  246. a13/tar        302,427
  247. ---------------------
  248.  
  249. If the sizes are correct, use md5sum (in BasicLinux) to check the 
  250. integrity of  the files.  You should get:
  251. ----------------------------------------------
  252. 0efec464fd245ff472b293932ec97e87  bin.tgz
  253. 45c5f6c74b69a5df602f23a6f5b92c4d  e2fsprog.tgz
  254. fff2175e6b3e2751ff34f43872cb785d  gzip.tgz
  255. e7dd3fa72e5a01d4d3955996cd328db2  fileutls.tgz
  256. 56a7c6b1d54181032fd3a97f0970bc7e  grep.tgz
  257. a6cff493e87d77e1ee1da038af3975b4  hdsetup.tgz
  258. f4a08daddf4d68c3613e6d1e19884922  ldso.tgz
  259. f157a0726914dddab346a22b455ccd68  tar.tgz
  260. ----------------------------------------------
  261.  
  262. (Thanks to Krzysztof for providing this information.)
  263.  
  264. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  265.  
  266. > I don't want to re-partition my HD.  Is there a UMSDOS version of 
  267. > BasicLinux?
  268.  
  269. Is is not difficult to make a UMSDOS version.  However, I do not recommend 
  270. it.  UMSDOS has many disadvantages.  In particular, it is significantly 
  271. slower.  For example, I made a UMSDOS version of BasicLinux 1.7 and put 
  272. it on drive C:.  On the second partition of the same drive, I did a 
  273. standard HD installation of BasicLinux 1.7.  The UMSDOS version took 43 
  274. seconds to run a test program.  The standard version took 28 seconds to 
  275. run the same program.  
  276.  
  277. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  278.  
  279. > I can't login to BasicLinux from another computer. 
  280.  
  281. BasicLinux includes several network clients, but no servers.  
  282. Only servers can accept logins from other systems. 
  283.  
  284. > When i try to telnet my BasicLinux system, it says 
  285. > something like "could not connect"
  286.  
  287. BasicLinux has a telnet client, so you are able to telnet *to* other 
  288. systems (as long as they are running telnet servers).  However, without 
  289. a telnet server, BasicLinux cannot accept telnet logins *from* other 
  290. systems.
  291.  
  292. The solution to your problem is to install the server package from 
  293. Slackware 7.1
  294.  
  295. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  296.  
  297. > I don't seem to have the "pkg" command.  
  298.  
  299. The pkg command was used in BasicLinux 1 to install Slackware packages.  
  300. BasicLinux 2 does not use this method.  Instead, it uses the standard 
  301. package manager from Slackware 7.1 (which is installed automatically 
  302. when you put BasicLinux on its own HD partition).  With the Slackware 
  303. package manager, you can install individual packages using "installpkg" 
  304. (which acts like the old BasicLinux "pkg") or you can run "pkgtool" for 
  305. a menu-driven routine that installs/displays/removes packages.
  306.  
  307. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  308.  
  309. > I am using BasicLinux on an IBM Thinkpad 360CS.  Everything
  310. > seems to be working OK except for the floppy disk.
  311.  
  312. Most Thinkpads have an "inverted floppy drive change line" 
  313. (why IBM did it this way, I don't know).  To fix it, add:
  314. ---------------
  315. floppy=thinkpad
  316. ---------------
  317. to the loadlin line in boot.bat  (in your DOS directory)   
  318.  
  319. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  320.  
  321. > My computer has a network card.  How do I connect BasicLinux 
  322. > to the network.
  323.  
  324. Step 1 - install the driver for the network card
  325. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  326. First, you need the appropriate module (driver).  The most common type 
  327. of network card is ne2000 and its module (ne) has been included in 
  328. BasicLinux.  There are also modules for ne2k-pci, wd, smc-ultra, tlan, 
  329. 3c509, 3c59x, ewrk3 and eepro100 network cards.  If you have a different 
  330. type of network card, you will need to download the appropriate module 
  331. from the /modules directory of Slackware 7.1.  
  332.  
  333. Once you have the module, you use the 'insmod' command to install 
  334. it.  For example, with an ne2000 card at address 0x320, you use 
  335. these two insmod commands:
  336. ----------------------
  337. insmod 8390
  338. insmod ne io=0x320
  339. ----------------------
  340. The 8390 is a helper module used by ne, ne2k-pci, wd and smc-ultra.
  341. If you insmod ne without 8390, it will complain.
  342.  
  343. Step 2 - initialize the network connection
  344. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  345. --------------------------
  346. ifconfig eth0 192.168.1.17
  347. --------------------------
  348. This assumes 192.168.1.17 is the network address of this computer.  
  349.  
  350. Step 3 (optional) - define the default route
  351. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  352. --------------------------------
  353. route add default gw 192.168.1.1
  354. --------------------------------
  355. This assumes that 192.168.1.1 is your gateway to the internet (or other
  356. external network).  Any address not in the 192.168.1.x range will be sent 
  357. to the default gateway.
  358.  
  359. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  360.  
  361. > I set up a 32mb swap partition on /dev/hda2.  Do I have to format 
  362. > it or what?
  363.  
  364. ----------------
  365. mkswap /dev/hda2   # this formats the swap partition 
  366. swapon /dev/hda2   # this turns it on
  367. ----------------
  368. You can check that swap is working by doing 'free'.  Your 32mb should 
  369. be listed on the Swap line.
  370.  
  371. If you are running BasicLinux on its own HD partition, you can list 
  372. the swap partition in /etc/fstab: 
  373. ------------------------------------------------
  374. /dev/hda2     swap     swap     defaults   0   0
  375. ------------------------------------------------
  376. Then, swap will be turned on automatically at system startup and you
  377. will never have to do the swapon command again.
  378.  
  379. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  380.  
  381. >  When I type "mount -t iso9660 -o ro /dev/optcd0 /h" 
  382. >  it says ...
  383. >  mount: the kernel does not recognize /dev/optcd0 
  384.  
  385. What kind of CDrom drive do you have?  Most are ATAPI and simply plug 
  386. into an IDE cable.  Try this:
  387. ---------------
  388. dmesg | grep hd
  389. ---------------
  390. Does one of the lines show an ATAPI CDrom drive?
  391.  
  392. On my system, I get this:
  393. -----------------------------------
  394. hdc: WPI CDS-32X, ATAPI CDROM drive
  395. -----------------------------------
  396.  
  397. To mount my CDrom drive, I do this:
  398. ------------------------------
  399. mount -t iso9660 /dev/hdc /mnt
  400. ------------------------------
  401.  
  402. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  403.  
  404. > If I mount a partition on the HD, say hdc1, while running
  405. > BasicLinux out of hdc5 partition, can I then store files on 
  406. > hdc1 partition up to the capacity of the partition? 
  407.  
  408. Yes.  The 'df' command will show you how much space is available 
  409. on each partition.
  410.  
  411. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  412.  
  413. > Why is it that when I do 'ppp-on' I sometimes get:
  414. > "Sorry, PPP is not supported in this kernel"
  415.  
  416. That's the message you get when the ppp module has not
  417. been activated.
  418.  
  419. > and then I did pppsetup, but only selected #4 (exit), 
  420. > but then ppp-on worked. 
  421.  
  422. Because pppsetup automatically activates the ppp module for you.
  423.  
  424. > Am I doing something wrong or is it some problem with BL?
  425.  
  426. The ppp module can be activated automatically by putting it in 
  427. the startup script.  Edit /etc/rc.d/rc.S and remove the # sign
  428. from last two lines:
  429. -------------
  430. # insmod slhc
  431. # insmod ppp
  432. -------------
  433. If there are any other modules that you want activated at 
  434. startup, you can add them there.
  435.  
  436. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  437.  
  438. > Can I use packages from other Slackware distributions?
  439.  
  440. Most of the packages in 7.0, 8.0 and 8.1 will work.  
  441. The earlier Slackwares will not work.
  442.  
  443. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  444.  
  445. > I'm trying to get 1024x768x65536 at an 85Hz vertical
  446. > refresh rate. The graphics card I'm using is an ATI 3D
  447. > Rage Pro. What Xserver do I use with this card?
  448.  
  449. Here are the Xservers available in Slackware 7.1:
  450. -------------------------------------------------------------
  451. xvg16    generic 16-color VGA
  452. x8514    IBM8514
  453. x3dl     GLINT 500TX, GLINT MX, Permedia, Permedia 2
  454. xagx     AGX-016, AGX-015, AGX-014, XGA-2
  455. xi128    Number Nine Imagine 128
  456. xma32    Mach32
  457. xma64    Rage: 3D, II, IIC, II+DVD, Pro, LT Pro
  458. xma8     Mach8
  459. xmono    mono VGA, Hercules mono, HGC1280
  460. xp9k     Diamond Viper, Orchid P9000, STAR 2000
  461. xs3      Trio32, Trio64*, Aurora64V+, and most other S3 cards
  462. xs3v     ViRGE, ViRGE/DX, ViRGE/GX, ViRGE/VX
  463. xw32     w32, w32i, w32p, et6000 
  464. xsvga    Trident, Cirrus, and other SVGA cards not listed above
  465. ---------------------------------------------------------------
  466.  
  467. So, it looks like you need the xma64 Xserver.  
  468. You will find it in /slakware/x1/
  469. --------------------
  470. installpkg xma64.tgz
  471. --------------------
  472. You must use the installpkg command (or the pkgtool menu) to install 
  473. it.  Otherwise it will not be initialized.
  474.  
  475. > How do I set up the resolution, color modes and refresh rate?
  476.  
  477. Execute xf86config.  
  478.  
  479. Configuring a hi-res Xserver is complicated.  You can easily make 
  480. a mistake.  If startx produces a sick screen, press CTRL-ALT-BACKSPACE 
  481. and run xf86config again to correct the mistake.
  482.  
  483. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  484.  
  485. > How can I add support for foreign languages to BasicLinux?
  486.  
  487. Adding support for foreign language can be divided into:
  488.  
  489. 1. changing font and keyboard layout to proper one.
  490. 2. setting linux to show messages in proper language.
  491. 3. adding support for other programs like mc.
  492. 4. adding manpages in required language
  493.  
  494. As for Console:
  495. ===============
  496. 1. changing font and keyboard layout to proper one.
  497.  
  498. Check and put if required your font into
  499. /usr/lib/kbd/consolefonts (BL1)
  500. /usr/share/kbd/consolefonts (BL2)
  501.  
  502. and keyboard
  503. /usr/lib/kbd/keymaps (BL1)
  504. /usr/share/kbd/keymaps (BL2)
  505.  
  506. Now tell linux to use required font and keyboard map:
  507. (suppose we want to do Polish for BL1)
  508. ----------------------------------------------
  509. setfont /usr/lib/kbd/consolefonts/iso02grf.psf
  510. loadkeys /usr/lib/kbd/keymaps/pl02.map 
  511. ----------------------------------------------
  512.  
  513. I think in BL2 you might have to use 'consolechars" 
  514. instead of 'setfont'
  515.  
  516. Test if it works:  try `pico`
  517. QUESTION: "It works in pico but not under pure command line!"
  518. ANSWER:   Put in ~/.inputrc the following:
  519. --------------------
  520. set meta-flag on
  521. set convert-meta off
  522. set output-meta on
  523. set input-meta on
  524. ---------------------
  525.  
  526. 2. setting linux to show messages in proper language.
  527.  
  528. For example, to do Polish, edit /etc/profile (or: ~/.profile)
  529. and put # before `export LC_ALL=POSIX` and add below:
  530. ------------------------
  531. export LANG=pl
  532. export LC_ALL=pl_PL
  533. export LESSCHARSET=latin1
  534. -------------------------
  535.  
  536. 3. adding support for other programs like mc.
  537.  
  538. In mc set in Options -> Display Bits -> ISO 8859-1 and 
  539. Full 8 bits input, and Full 8 bits output.
  540.  
  541.  
  542. 4. adding manpages in required language
  543.  
  544. If you have manpages in your language (from SLackware), 
  545. you are lucky. If not, you have to download it from somewhere
  546. (look for "localized man pages" on WWW in your country).
  547.  
  548. Structure of downloaded file is something like:
  549. \usr\man\pl_PL\man1
  550. \usr\man\pl_PL\man2 
  551. ...
  552.  
  553. Now you have to config man (/etc/man.config or /usr/lib/man.conf)
  554.  
  555. Check if `-T` in
  556.  
  557. NROFF          /usr/bin/groff -S -Tascii -mandoc
  558.  
  559. is set properly.
  560.  
  561. For example for Polish I have to change it to:
  562.  
  563. NROFF           /usr/bin/groff -S -Tlatin1 -mandoc
  564.  
  565. You may want hyphenation patterns for your language.
  566. The simplest way is just to take them from TeX. :)  
  567. Copy  /usr/lib/texmf/tex/generic/hyphen/plhyph.tex  
  568. to  /usr/share/groff/tmac/hyphen.pl
  569.  
  570. Now set macros in /usr/share/groff/tmac/troffrc
  571. Change the following lines:
  572.  
  573. .\" Set the hyphenation language to `us'.
  574. .do hla us
  575. .\" Load hyphenation patterns from `hyphen.us' (in tmac directory).
  576. .do hpf hyphen.us
  577.  
  578. to: 
  579.  
  580. .\" Set the hyphenation language to `pl'.
  581. .do hla pl
  582. .\" Load hyphenation patterns from `hyphen.pl' (in tmac directory).
  583. .do hpf hyphen.pl
  584.  
  585.  
  586. Now back to /etc/profile and change:
  587.  
  588. export MANPATH=/usr/local/man:/usr/man:/usr/X11R6/man
  589.  
  590. to:
  591.  
  592. export MANPATH=/usr/man/pl_Pl:/usr/local/man:/usr/man:/usr/X11R6/man
  593.  
  594. Then re-login for the changes to take effect.
  595.  
  596. (Thanks to Chris for providing this information.)
  597.  
  598. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  599.  
  600. > I would like to install a better mail reader, but my PC is
  601. > too old to run X.  Is there a good mail reader for the CLI?
  602.  
  603. I suggest you try Pine.  The package is in /slakware/n8
  604.  
  605. To set up Pine 4.21 as a pop/IMAP "checker," i.e., as a utility 
  606. for manipulating messages on the server (e.g., viewing and deleting 
  607. them there), the simplest way is to select "s" (setup), then "c" 
  608. (configure) from the main menu.  At the "inbox-path" entry add 
  609. the following (note the curly brackets!): 
  610. -----------------------------------------------------
  611. {your.pop-orimapserver.addy/user=youruname/pop3}INBOX
  612. ----------------------------------------------------- 
  613. If the server is IMAP, put "IMAP" in place of "pop3" in the example 
  614. entry.  Save the configuration (exiting will prompt you to save your 
  615. changes).  When you start Pine, or when you navigate to the INBOX 
  616. while Pine is running, you will be prompted for your password.  Pine 
  617. then downloads a list of messages on the server and lets you view or 
  618. delete them, respond to or save them locally (one at a time in this 
  619. scheme).  The password is saved as long as Pine remains open, so it 
  620. will only need to be entered again if you close and then restart the 
  621. program.
  622.  
  623. If you have several pop/IMAP accounts, the best way to set up Pine 
  624. will be to enable incoming folders (i.e., by adding a check mark to 
  625. the appropriate entry in the configuration menu).  You can then create 
  626. local folders that point to each pop/IMAP account.  They open similarly 
  627. to the INBOX entry discussed above: navigate to the folder in question 
  628. and press enter.  This setup is, of course, a bit more complex, but 
  629. there is plenty of material available on the web for configuring Pine 
  630. to do this.  The incoming folder entries follow the same format as the 
  631. example given for inbox-path above.
  632.  
  633. If you want Pine to act as a sort of pseudo-MRA (mail retrieval agent), 
  634. do the following.  These directions assume that you have Pine set up 
  635. with the inbox-path pointing to your pop3 server.  At the main menu
  636. press "s" (setup) then "c" (configuration).  Scroll down to the entry
  637. "enable-aggregate-command-set" and place a check mark at that entry.  
  638. Save the configuration.  When Pine has loaded and displayed a list of 
  639. all your messages on the server press the ";" key (semicolon), then 
  640. the "a" key (for select all), then the "a" key again (for apply), and 
  641. finally the "s" key (for save).  Pine will then ask to which local 
  642. folder you want to save the messages listed (default is the "saved-
  643. messages" folder).  Hit enter to save them there.  Pine automatically 
  644. marks the messages for deletion from the server.  Hit "x" to delete 
  645. them right away, or when you quit Pine, it will confirm if you want 
  646. to delete the messages (if this bothers you, the confirmation can be 
  647. disabled under configuration).
  648.  
  649. Go to www.ii.com/internet/messaging/pine/ for plenty of further 
  650. information on configuring Pine.
  651.  
  652. (Thanks to James for providing this information.)
  653.  
  654. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  655.  
  656. > Can I use a wlan card (lucent) on BasicLinux? 
  657.  
  658. I think so.  However, I do not have access to such hardware and I do not 
  659. have experience with wireless networking.
  660.  
  661. > and how?
  662.  
  663. First, you need to familiarize yourself with BasicLinux by running the 
  664. standard version (on ramdrive).  Then, when you are comfortable, install 
  665. it to its own partition on the HD.  Then (when that is working OK) install 
  666. the pcmcia.tgz package from Slackware 7.1 (in the /slakware/a11 directory).  
  667. It will install several pcmcia modules -- hopefully, one of these modules 
  668. will work with your card.  For more information on configuring wireless 
  669. LANs in Linux, see:
  670. -----------------------------------------------------
  671. http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/
  672. -----------------------------------------------------
  673.  
  674. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  675.