From: Digestifier To: Linux-Admin@senator-bedfellow.mit.edu Reply-To: Linux-Admin@senator-bedfellow.mit.edu Date: Sun, 25 Sep 94 20:13:44 EDT Subject: Linux-Admin Digest #106 Linux-Admin Digest #106, Volume #2 Sun, 25 Sep 94 20:13:44 EDT Contents: Re: BBS-like file downloading? How? (Jeff Kesselman) Re: going back to DOS -- (Lau) Re: Any HOWTO using and administering postgres in Linux (Kai Petzke) Re: Error when recompiling kernel (Spencer PriceNash) Re: Help with UUCP/Smail (William Todd Horch) Re: DOOM DOOM DOOM DUMB DUMB DUMB! (Jeff Kesselman) Re: SLIP/PPP configuration (A.Couture@agora.stm.it) Re: message display in ftp (Joe Nardone) Re: /dev/audio: No such file or directory (Richard Keightley) Re: Repartition linux disk without lose of data (John de Graaff) Re: lp polling driver = no irq? (Kevin Cummings) Re: Printers on the parallel port (Kevin Cummings) Re: SLIP/CSLIP & E-mail (Kevin Cummings) Re: HELP -*- MANPATH does't work -*- why not (Mike Castle) lockup after VFS mount - help! (PMWhitney) Re: Linux won't keep correct time (Lee J. Silverman) ---------------------------------------------------------------------------- From: jeffpk@netcom.com (Jeff Kesselman) Subject: Re: BBS-like file downloading? How? Date: Sun, 25 Sep 1994 19:07:54 GMT In article , Serge Solski u wrote: > > There's been talk before on another thread (which has now mutated >into some other topic) about getting some sort of BBS-like >file-downloading system working under Linux for those of us running a BBS. > > Several of you had some idea's I'd like to explore now. I tried >using PSC Menu (which I'm using as my main interface for users), but it >was too awkward. > > I have a CD-ROM, which I'd like to give users access (once I put >a shareware disc in.) What I need is something to make it easier for them >to select files, a protocol, and show them descriptions of what each file >is (without having them view a "directory" file.) Anyone have any ideas? >How is Gopher or Lynx used this way? Is anyone currently porting a MSDOS >"file door" to Linux (which I think would be ideal.) > > There are base programs for UL/DL protcols for x, y and z modem. They are command line driven. Using curses you could probobly write your own nice looking front end that could launch them... ------------------------------ From: gabe@io.org (Lau) Subject: Re: going back to DOS -- Date: 24 Sep 1994 23:25:50 -0400 Schliesk@sos.Sos.Net, In a message on 17 September, wrote : sc> Rob Newberry (rob@eats.com) wrote: sc> : We just bought a new ZEOS system, which came with a Western Digital 720 sc> : disk. We have Linux running on a Dell system which had a 270 MB disk. sc> : Basically, we wanted to keep the Dell system as the server, but swap ou sc> : hard disks. The ZEOS system will be running DOS/Windows. sc> sc> : We got the 720 MB swapped in and the Dell system is now humming along. sc> : when we put the 270 MB disk in the ZEOS system, we keep having problems sc> : formatting the drive in DOS. Actually, it seems to format OK, but it k sc> : having problems reading/writing the root directory -- it craps out when sc> : to put on the system files. Norton DiskDoctor can't seem to do anythin sc> : it either. sc> sc> : Has anybody got any idea why this wouldn't work? The drive was working sc> : and dandy under Linux -- why would it not work under DOS? Is there som sc> : I can do to clean the disk better, and get rid of any Linux stuff compl sc> : (I wouldn't be surprised if DOS format didn't actually work completely) sc> Something strange happened to my MFM when I swapped MB's and suddenly I couldn't delete anything, "del", "chkdsk" , "format" and "fdisk" all didn't work, nothing could touch the HD. Even Norton's disk doctor could do anything. Solution, use Linux's "FDISK" to delete all the partitions. After that, Dos "fdisk" worked just fine. I don't have a clue why???? Kin Lau (gabe@io.org) --- þ ATP/Linux 1.42 þ If it's not worth doing, it's not worth doing well. ------------------------------ From: wpp@marie.physik.tu-berlin.de (Kai Petzke) Subject: Re: Any HOWTO using and administering postgres in Linux Date: 24 Sep 94 18:52:55 GMT hoang1@litwin.com (Ted Hoang) writes: >Hi, >I am new with postgres and would like to learn this database but don't know >how to start, using, and administering this database software. I'm appreciated >if someone point to me where to get doc. or howto or any info. related with >this. There are different postgres packages around, and some miss the most important docs. Try getting the newest postgres version from: s2k-ftp.cs.berkeley.edu:/pub/postgres/unofficial-ports/linux/newbie*.tar.gz These contain about 1 Megabyte in the docs subdir. Kai -- Kai Petzke | How fast can computers get? Technical University of Berlin | Berlin, Germany | Sol 9, of course, on Star Trek. wpp@marie.physik.tu-berlin.de | ------------------------------ From: spencer@montego.umcc.umich.edu (Spencer PriceNash) Subject: Re: Error when recompiling kernel Date: 23 Sep 1994 23:23:39 -0400 In article <35v7o7$19hg@tequesta.gate.net>, Geno Valicenti wrote: >Can anyone help. When I run `make `zImage` I get the following error. I am >currently running Slackware 2.0 > >Linux darkstar 1.1.18 #5 Thu Jun 9 11:49:40 CDT 1994 i386 > >make[1]: Leaving directory `/usr/src/linux-1.1.18+UMSDOS-0.3a+IFS-5.1/lib' >ld -Ttext 100000 boot/head.o init/main.o tools/version.o \ > kernel/kernel.o mm/mm.o fs/fs.o net/net.o ipc/ipc.o \ > fs/filesystems.a \ > drivers/block/block.a drivers/char/char.a drivers/net/net.a ibcs/ibcs.o >drivers/scsi/scsi.a drivers/FPU-emu/math.a \ > lib/lib.a \ > -o tools/zSystem >net/net.o: Undefined symbol _dev_init referenced from text segment >net/net.o: Undefined symbol _net_bh referenced from text segment >make: *** [tools/zSystem] Error 1 Heh. I got the same error a few weeks back. I had told the configure script I didn't want ppp/slip support. At the time, I didn't. It wouldn't ld. Decided to try again today. This time I told the configure script I wanted ppp/slip support. I did, this time. It worked fine. So far, so good. -- Spencer PriceNash spencer@spencer.ann-arbor.mi.us spencer@umcc.umich.edu Dan Quayle via anon ftp: Quotes at umcc.umich.edu in pub/users/quayle, GIFs and sound files at vaxa.crc.mssm.edu in quayle/gif and quayle/sound. ------------------------------ From: thorch@infinet.com (William Todd Horch) Crossposted-To: alt.os.linux,comp.os.linux.help Subject: Re: Help with UUCP/Smail Date: 22 Sep 1994 01:45:18 GMT :> This is a old smail problem. There are several ways to get :> rid of this, one, you can probably get the smail fix :> ( which I can uuencode and send to you as soon as my UUCP :> provider gets my account set back up!), or probably a :> new version of smail will work... Well, I got the new version of Smail, and it fixed the problem, but created a new one. That was the ONLY change I made, and now mail gets from me to my neighbor, but mail from my neighbor doesn't get to me. The mail gets here via UUCP, but Smail doesn't deliver it to the end user. In the smail logs, it shows the messages as recieved, but there isn't a delivered segment. Aaaaaaaaaaaaaaaaaaaack!!!!!! -- +----------------------------------------------------------+ | Todd Horch | I just don't know how much more of | | thorch@infinet.com | this I can take. | | fvhu68a@prodigy.com | - me | +----------------------------------------------------------+ ------------------------------ From: jeffpk@netcom.com (Jeff Kesselman) Subject: Re: DOOM DOOM DOOM DUMB DUMB DUMB! Date: Sun, 25 Sep 1994 19:10:14 GMT In article <1994Sep24.135217.2132@ka4ybr.com>, Mark A. Horton KA4YBR wrote: > > > > mount -r -t raving.human /dev/keyboard /soapbox > > >Do we have to have all this crap about a GAME cluttering up every single Linux >group? I fail to see the relevance to c.o.l.admin, c.o.l.development, >c.o.l.a, etc. It's a GAME, guys... NOT part of the OS! If that's the most >important thing you do with Linux, I respectfully submit that you are >wasting a lot of money on a microcomputer... just go out and buy a Nintendo... >you'd probably be happier. > > umount /soapbox > > > - Mark > "Why don't you lie down and take a stress pill, Dave?" Hal the computer, 2001 Relax guy, there is already serious work afoot to get seperate DOOM catagories for thsi over in rec.games. When they are ready, we can send all the doom-ies over there. Meanwhile, might i suggest you use a threaded news reader (such as trn, tin, etc) and just not read the DOOM stuff? Jeff Kesselman ------------------------------ From: A.Couture@agora.stm.it Subject: Re: SLIP/PPP configuration Date: 25 Sep 1994 18:46:57 -0400 Reply-To: A.Couture@agora.stm.it Date: Mon, 26 Sep 1994 00:23:34 +0000 From: Andre Couture Subject: Re: SLIP/PPP configuration To: Al Longyear cc: "comp.os.linux.admin" , "comp.os.linux.help" In-Reply-To: <199409251711.KAA02141@netcom14.netcom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sun, 25 Sep 1994, Al Longyear wrote: | A.Couture@agora.stm.it writes: | | >I've been trying to get a slip connection to my linux box from a windows | >client running tcpman 1.0a. | >I followed instructions in the HOWTO/NET-2-HOWTO/help/man/... | | >Almost everywhere they say to do a ifconfig., here is what I get when I | >do that: | | ># /sbin/ifconfig ppp0 93.89.34.1 pointopoint 93.89.34.50 | >SIOCSIFFLAGS: No such device or address | | This means that you don't have the PPP protocol driver in your kernel. Well, it says I have when I boot. | | The list of network configured devices are in the /proc/net/dev file. Let me check...I have ppp0..ppp3, sl0...sl3, eth0, lo So that confirm. | | >the same using sl0 or anything else. | >Of course I selected SLIP/CSLIP/PPP when I recompiled my kernel 1.1.51. | | I realize that this may be a dumb question on my part, and let me take | the most obvious case first, but "Are you sure that you are running | the kernel that you just compiled?" Yes, | An easy way to test is to run the "uname -a" command and look at the | build date. Ok, confirmed, | You would not believe the number of people who just build the kernel | and forget to tell LILO to install it. They end up running the old | kernel and saying "I just put PPP into the kernel and it is not | there." | | Are you using LILO to load your system? yes, | If so, did you simply do "make" to build the kernel or did you do | "make zlilo" to build the kernel? If you did "make", then issue "make | zlilo" instead. did, always do, first make zdisk (to test), then when I'm satisfy I simply do a 'make zlilo', that always give me a disk of the previous kernel and a backup! | Buy the way, please try to avoid using ifconfig with PPP. Use the | options on pppd if possible. The pppd process knows what needs to be | added in the most common (99%) case if you give it the proper | options. It will do things in the proper sequence. (The other 1% of | the people want to use PPP for a remote router/bridge condition. This | needs some help with external commands.) I gave it a QUICK try after but ??? seem that it done not much, | For a SLIP connection, I recommend dip (or sliplogin). That sound good, at least go further, here is what I got after login: # /sbin/dip -v -i DIP: Dialup IP Protocol Driver version 3.3.7-uri (05 Apr 94) Written by Fred N. van Kempen, MicroWalt Corporation. DIP: name=root home=/tmp host=cyborg IP=93.89.34.1 prot=SLIP MTU=296 Hostname: "explorer" [93.89.34.20] Comments: "Slip" Protocol: "CSLIP" (2) IP MTU : 296 Your IP address is 93.89.34.20. Server address is 93.89.34.1. Starting CSLIP DIP: tty_notlocal cannot TIOCSCTTY: Bad file number DIP: tty: set_state: Bad file number DIP: tty_notlocal cannot clr CLOCAL: Bad file number How can I fix that? I'm trying (for now) on ttyS1 which is a null modem connection to my notebook. When I get it to work I will give it a try by modem. So, you seem to go me a bit further, what's next? ===== Andre Couture, A.Couture@Agora.stm.it (prefered) _/_/_/_/ _/_/_/_/ _/_/_/_/ Centre Informatique Couture _/ _/ _/ 938934 Ontario Inc. Phone: +1-613-762-0262 _/ _/ _/ 155 Queen St. FAX: +1-819-775-9697 _/ _/ _/ Suite 900 Roma: +39/6-5125-745 _/ _/ _/ Ottawa, Ontario Delphi: CoutureA _/_/_/_/. _/_/_/_/. _/_/_/_/. @receiver file ------------------------------ From: nardone@clark.net (Joe Nardone) Subject: Re: message display in ftp Date: 25 Sep 1994 21:37:44 GMT : I noticed this problem. Here is a screen shot: : --- : ksaj:~# ftp localhost : Connected to localhost. : 220 csis FTP server (Linux csis 1.0 #1 Wed Aug 24 08:09:30 EDT 1994 i486) : ready.Name (localhost:ksaj): ftp : Password (localhost:ftp): : 331 Guest login ok, send e-mail address as password. This is a problem with ftp, not the ftpd in Linux. This problem exists when a Linux box ftp's to any machine, Linux or otherwise. If you ftp into a linux box from another host (non-Linux), the 331 message prints in the right place. Joe Nardone nardone@clark.net : 230 Guest login ok, access restrictions apply. : Remote system type is UNIX. : Using binary mode to transfer files. : ftp> : --- : Notice that the '331 Guest login ok, send e-mail address as password.' is : presented _after_ you already login? It should occur after you type in the : login name. : I don't think it should say ready.Name either. : I hope this is fixed in slackware 2.0. I noticed this in the SLS : distribution as well. : -- : There are those who are born UNIX | Karsten Johansson : Those who are made UNIX | 416/691-9838 : And those who become UNIX | : For the kingdom of heaven's sake | Matthew 19:12 ------------------------------ From: richardk@world.std.com (Richard Keightley) Subject: Re: /dev/audio: No such file or directory Date: Fri, 23 Sep 1994 20:48:44 -0800 In article <1994Sep22.143734.24568@leeds.ac.uk>, ubacr46@naga-1.uucp (G Cheng) wrote: > Do I have to have a sound card to play music? > Or I can just play it through the PC native speaker? From the Sound HOW TO by Jeff Tranter An alternate sound driver is available that requires no additional sound hardware; it uses the internal PC speaker. It is mostly software compatible with the sound card driver, but, as might be expected, provides much lower quality output and has much more CPU overhead. The results seem to vary, being dependent on the characteristics of the individual loudspeaker. For more information, see the documentation provided with the release. The current version is 0.6, and can be found at site sunsite.unc.edu in the file pub/Linux/kernel/misc-patches/pcsndrv-0.6.tar.z. For a little more information look at chapter 5 of the Linux Sound User's Guide also by Tranter.The current version is ALPHA 0.1, and is available on tsx-11.mit.edu in the directory /pub/linux/ALPHA/LDP. -- Richard Keightley richardk@world.std.com Scottsdale, AZ fax (602) 443-8196 ------------------------------ From: jlrdegraaff@et.tudelft.nl (John de Graaff) Subject: Re: Repartition linux disk without lose of data Date: 25 Sep 94 23:23:13 +0100 In article <363qo9$jd3@neptune.inf.ethz.ch>, qiu@inf.ethz.ch (Yonggang Qiu) writes: > I repartioned the disk for the use of Linux as following: > > Disk /dev/hda: 13 heads, 32 sectors, 983 cylinders > Units = cylinders of 416 * 512 bytes > > Device Boot Begin Start End Blocks Id System > /dev/hda1 * 1 1 394 81936 6 DOS 16-bit >=32M > /dev/hda2 395 395 454 12480 82 Linux swap > /dev/hda3 455 455 983 110032 83 Linux native > > In the begining, I had quite few RAM. That is why gave 12MB for swap. > Now I extend the RAM to 12MB and need less swap than before. > > How can I repartion the disk and reduce the size of swap without > loss of data? > > Thanks in advance. I know about a program that can merge two (primary dos) partitions, in wich the data on the first is conserved. (Called FIPS, source:FTP) But i don't know a program that can do merge/split/move/etc partitions in general. As a matter of fact, i don't know wether a Linux-partition uses any specific partition information, like cilinders etc. for it's file system. If so, nothing's possible. I know for a DOS-partition that it -should- be possible to these things. I'm sorry, i think there's no alternative... ****************************** ***************************************** John de Graaff * Dpt. of Electrical Engineering * E-Mail: J.L.R.deGraaff@Et.TUDelft.NL Delft University of Technology * The Netherlands * *********************************** ************************************ ------------------------------ From: cummings@hammer.westboro-ma.peritus.com (Kevin Cummings) Subject: Re: lp polling driver = no irq? Date: Fri, 23 Sep 1994 17:33:40 GMT In article <1994Sep18.011247.137@galileo.rhein-neckar.de>, fachat@galileo.rhein-neckar.de (Andre Fachat) writes: > Hi there! > > When my Linux box boots, I get something like > "lp_init: lp2 exists, using polling driver" > > Does that mean, I can assign the now used IRQ for the printer > to another serial port? If you aren't running the lp driver which uses the IRQ for interupts, then yes, you can use IRQs 5 and 7 for whatever you want. (I have both lp1 and lp2 ports in my machine at home, and I use IRQ 5 for my ethernet card. Then again I have nothing connected to lp2 right now either.) > Will DOS go on printing? DOS doesn't use IRQs by default for either serial or parallel ports. Some DOS software may. You have to know. I'm not sure about windows. -- Kevin J. Cummings Peritus Software Services, Inc. cummings@kjc386.framingham.ma.us cummings@peritus.com ------------------------------ Crossposted-To: comp.os.linux.help From: cummings@hammer.westboro-ma.peritus.com (Kevin Cummings) Subject: Re: Printers on the parallel port Date: Fri, 23 Sep 1994 17:41:22 GMT In article <35mg9d$ob3@crl4.crl.com>, sefarlow@crl.com (Stephen E. Farlow) writes: > George Photakis (georgep@sabre.com) wrote: > : LPT1 in DOS is /dev/lp0 under Linux.... > : George Photakis > > ***************************************************************** > WRONG!!! A laser printer in Linux is /dev/lp1 !!! Becareful here! > ***************************************************************** Gack! What an over-simplified, over generalized statement! /dev/lp1 is for the printer attached to the parallel port with address 0x378. Some people have a parallel port with address 0x3BC, and it's /dev/lp0. Others may have a parallel port with address 0x278, and it's /dev/lp2. IT HAS (almost) NOTHING TO DO WITH DOS DEVICE NAMES! (see my previous posting on the subject.) AND IT HAS NOTHING TO DO WITH WHETHER OR NOT THE PRINTER IS A LASER PRINTER OR NOT! For crying out loud, there are serial laser printers out there too, which means they could very well be connected to some /dev/ttyxx (or /dev/cuax). -- Kevin J. Cummings Peritus Software Services, Inc. cummings@kjc386.framingham.ma.us cummings@peritus.com ------------------------------ From: cummings@hammer.westboro-ma.peritus.com (Kevin Cummings) Subject: Re: SLIP/CSLIP & E-mail Date: Fri, 23 Sep 1994 17:48:19 GMT In article <35m27n$kcb@sundog.tiac.net>, jnykiel@vortex.tiac.net (James Nykiel) writes: > > This is probably a stupid question but can somebody help me out with this, ok, > I call my internet provider and start my SLIP/CSLIP connection as the root > user, the connection is established so I switch virtual consoles and log in > as jnykiel and start X Windows. > > I decide to send somebody E-mail which I have no problems but what happens > when somebody sends me E-mail and I am offline (no SLIP/CSLIP connection), > where does this mail go, does the sender get a message that says I am un- > reachable or what, all I know is that I never get any mail, possibly know- > body loves me :( or I am doing something wrong. It depends. Who is publishing your MX records, and what do they say? Usually your service provider will publish your records, and will point them to one of there machines, which will hold on to your mail for 1, 3, or 7 days (or whatever they have configured, and probably negotiable to something you want). If you are publishing your own MX records, then you are definitely doing something wrong. When your machine is down, you have no MX records, and nobody knows how to route mail to you, or they will use old, possibly VERY old (by their standards) stale MX records in the hopes that they will still work. If some site (like your Internet provider) is not willing to act as a store and forward site for you, then yes, mail will bounce when you are not up. Talk to your Internet provider. They may charge extra. Then again, they may not. -- Kevin J. Cummings Peritus Software Services, Inc. cummings@kjc386.framingham.ma.us cummings@peritus.com ------------------------------ From: mcastle@umr.edu (Mike Castle) Subject: Re: HELP -*- MANPATH does't work -*- why not Date: Sun, 25 Sep 1994 20:21:11 GMT In article <363mld$sja@fstgds15.tu-graz.ac.at>, NISCHELWITZER Alexander Kurt wrote: >Hi all, > >I have set my own MANPATH in my .tcshrc file >but if I look to the env settings they are not >there. How are you adding it? Certain that you're using setenv rather than just set? Not putting an equal sign in the line are you? The following should work: setenv MANPATH "$MANPATH :/usr/TeX/man" >Does anyone know where the real System MANPATH is stored >and how I can install a additional private MANPATH! Well, on my Slackware 2.0 system, it's set in /etc/csh.login. Of course, this means that one has to maintain separate copies for csh and profile (for those bash users). IMO, a better solution would be to create a MANPATH file, and have the appropriate start up shell extract the info from it. That way only one file needs to be updated. Hope this helps. mrc -- Mike Castle .-=NEXUS=-. Life is like a clock: You can work constantly mcastle@cs.umr.edu and be right all the time, or not work at all mcastle@umr.edu and be right at least twice a day. -- mrc We are all of us living in the shadow of Manhattan. -- Watchmen ------------------------------ From: pmwhitney@aol.com (PMWhitney) Subject: lockup after VFS mount - help! Date: 25 Sep 1994 16:55:03 -0400 I am attempting to install the Fall '94 release of Y's Plug & Play linux. Hardware listed below - all are recognized and check out ok. The boot runs all the way through the "VFS: Mounted root (iso9600 filesystem) readonly." then just sits there (and sits there, and sits there)... I can't even get to the login prompt to continue installation! Any comments/suggestions gratefully received. **** Hardware setup **** Gateway 2000 4DX2-50V Mitsumi CD-ROM w/SB "compatible" card 405MB IDE hard drive, partitioned into hda1 & hda2 8MB RAM ------------------------------ From: lee@netspace.students.brown.edu (Lee J. Silverman) Subject: Re: Linux won't keep correct time Date: 25 Sep 1994 21:03:35 GMT In article <35vdo9$frv@clarknet.clark.net> mjf@clark.net (Marc Fraioli) writes: In article hc0@news.acns.nwu.edu, tkeidl@fwk103034.res-hall.nwu.edu (Tobias S. Keidl) writes: >It seems that every time I boot up my Linux box, the clock always is 1 >hour behind what it should be. Any time I reset the time, it changes >the next time I reboot. I presume there is some config file somewhere >telling it to do that but I have no idea where or what (and it was also >exhibiting the same behavior before I was networked). Anyone have any >solutions or suggestions? I'd appreciate them! I have noticed the same thing-- I need to set the time with my BIOS config program. Setting it through Linux always gets it reset after a reboot. I've seen the same problem, and I've also seen my clock wander frequently. Not suprisingly, the clocks in PC-COmpatibles aren't very stable. If you run "netdate" froma cron job every day or so, your clock should remain accurate to within a second. If it isn't that accurate, you may have power supply problems or something else weird. -- Lee Silverman, Brown class of '94, Brown GeoPhysics ScM '95 Email to: Lee_Silverman@brown.edu Phish-Net Archivist: phish-archives@phish.net "Nonsense - you only say it's impossible because nobody's ever done it." ------------------------------ ** FOR YOUR REFERENCE ** The service address, to which questions about the list itself and requests to be added to or deleted from it should be directed, is: Internet: Linux-Admin-Request@NEWS-DIGESTS.MIT.EDU You can send mail to the entire list (and comp.os.linux.admin) via: Internet: Linux-Admin@NEWS-DIGESTS.MIT.EDU Linux may be obtained via one of these FTP sites: nic.funet.fi pub/OS/Linux tsx-11.mit.edu pub/linux sunsite.unc.edu pub/Linux End of Linux-Admin Digest ******************************