From: Digestifier To: Linux-Admin@senator-bedfellow.mit.edu Reply-To: Linux-Admin@senator-bedfellow.mit.edu Date: Wed, 31 Aug 94 11:14:04 EDT Subject: Linux-Admin Digest #6 Linux-Admin Digest #6, Volume #2 Wed, 31 Aug 94 11:14:04 EDT Contents: Re: help! minicom garbage chars... (Viktor T. Toth) --> What's the best VGA card for a 17" monitor? <-- (Nicola Pedrozzi) Modem 14400 and uugetty (S.G. de Bruijn) Floppy disk errors (Heinz-Ado Arnolds) PLIP: Laptop to Desktop (Dr. Raimund K. Ege) Re: Xconsole - little trick won't work any more (sorry) (Stephen Benson) Re: Shutting down when running in runlevel 6 (X) (Delemar) Re: FTape problems (Conner 250) (Corey Brenner) Re: What is my root password???????? (Greg Cisko) Re: Any Slackware 2.0 security probs??? (Patrick J. Volkerding) Re: SWAP >16M - Does it help ? (James Lewis Nance) Re: Help please w/filesystem check (Maciej Otreba) Re: DOSEMU 0.53: termcap file (Andrew Anderson) WTMP question (Daniel Tran) Re: News & Slackware V2 (Martin Thomas) F'Domain TMC950 woes (rob) Re: 3c509 can't be reached. (Maciej Otreba) 4P Serial on same IRQ ? (rob) ---------------------------------------------------------------------------- From: vttoth@vttoth.com (Viktor T. Toth) Subject: Re: help! minicom garbage chars... Date: Wed, 31 Aug 1994 03:50:03 In article <34153b$n2t@charnel.ecst.CSUChico.EDU> beej@ecst.csuchico.edu (loDtaQqu'wI') writes: >I've been using minicom to dialup our campus and have been getting >intermittent line noise. Every so often 4 or 5 garbage chars will >come across. I was thinking that it was a modem problem until I was >unable to duplicate the problem under DOS (cough). Yes, I have the >same init string in my DOS term program as I do in minicom: ATZ >followed by AT&F. On most modems I know about, 'AT&F' turns *OFF* error correction. Try AT&F2 and see what happens. Viktor ------------------------------ Crossposted-To: comp.os.linux.help From: pedrozzi@cscs.ch (Nicola Pedrozzi) Subject: --> What's the best VGA card for a 17" monitor? <-- Date: Wed, 31 Aug 1994 11:40:33 GMT Hi Linuxers, I'm planning to buy a Targa 17" monitor and of course a new VGA card. I'm concerned about speed, therefore I have some question about that: 1) Up to you, wich will be the best buy for a VGA card (price/performance)? (I don't want to spend too much, for example for a Viper chipset). 2) When using a 17" monitor, what's the resolution on it and will I be able to have a full screen display or will it still be a "dancing" virtual screen?, do I need a particular VGA chipset? 3) Do you know the "Targa" monitor's brand? Is it good? 4) Will your adviced card be fast with DOS, also? 5) Will having 2M instead of 1M onboard really speed-up my display? PS: at present I have a Trident 8900C, it's kind of slow, right? Very thank you guys, have a wonderful day. Ciao Nicky ------------------------------ From: debruijn@cs.utwente.nl (S.G. de Bruijn) Subject: Modem 14400 and uugetty Date: Wed, 31 Aug 1994 12:28:55 GMT Hi, I have dial-in enabled on my box with uugetty. It works perfectly with an acient 2400 Bd modem (the caller). When the caller has an 14400Bd modem too, the connection is made, but uugetty dies with a segmentation fault. I think it has to do with the missing 14400 speed line in /etc/gettydefs. Is it safe to add it bluntly? or is there any other alternative (locked on 38400, for instance, instead of auto-select through circulating speed lines in /etc/gettydefs) Any hints welcome, i want them to call!! Thanx, Steef ============== S.G. de Bruijn E-Mail: debruijn@cs.utwente.nl Twente University of Technology, Dept. of Computer Science Enschede The Netherlands Phone: Work: +31 53 894191 Home: +31 53 334812 =========================== @@ =========================== signature: file not found ------------------------------ From: arnolds@ifns.de (Heinz-Ado Arnolds) Subject: Floppy disk errors Date: 30 Aug 1994 19:57:13 GMT Since several kernel revisions I've encountered some reproducable errors with handling floppy disks. The procedure is as follows: 1. fdformat /dev/fd0H1440 2. mke2fs -c -v /dev/fd0H1440 1440 3. remove disk from drive 4. insert it again 5. e2fsck -v -y -f /dev/fd0H1440 Step 5 shows the message Block bitmap -151587082 for group 0 not in group. If I try to mount such a disk before checking it, I get the message ext2_check_descriptors: Block bitmap for group 0 not in group (block 4143380214)! Another time I copied some files to a disk after creating the file system and mounting the disk. Then after unmounting, removing, inserting and mounting the disk again I got the two messages: ext2_check_blocks_bitmap: Wrong free blocks count for group 0, stored = 1241, counted = 1377 ext2_check_blocks_bitmap: Wrong free blocks count in super block, stored = 1241, counted = 1377 The problem still exists if I'm using MSDOG formated floppy disks. I'm using e2fsprogs-0.5a with kernel 1.1.49 on 386 and 486 systems with Adaptec 1542C and on 486-PCI with NCR53c7,8xx. Any help would be greatly appreciated Ado -- ============================================================================= Heinz-Ado Arnolds arnolds@ifns.de IFNS GmbH +49 2234 18520 (voice) Max-Planck-Strasse 37, 50858 Koeln, Germany +49 2234 185265 (fax) ------------------------------ From: ege@solix.fiu.edu (Dr. Raimund K. Ege) Subject: PLIP: Laptop to Desktop Date: 30 Aug 1994 20:07:34 GMT I have been folloing the recent discussions on PLIP setup and after reading the HOWTOs and getting a cable made (following the pin-out as described in NET-2-HOWTO) dared to try: the desktop (sierra) is a 486/66 running Linux 1.1.18, the laptop (oblivion) is a 486/25 running Linux 1.0.8. After recompiling the kernels with the PLIP option, the desktop reports plip0: configured for parallel port at 0x3bc, IRQ 5. on boot-up, the laptop says plip1: configured for parallel port at 0x378, irq 7. then on the desktop, I do: ifconfig plip0 sierra pointopoint oblivion up route add -host oblivion and on the laptop: ifconfig plip1 oblivion pointopoint sierra up route add -host sierra but no luck: none of the network services (ping, telnet, ...) work. They just hang. "dmesg" reports this on the desktop: plip0: Connect failed in send_packet(). "dmesg" reports this on the laptop: plip1: wrong header octet checksum error What did I do wrong ? Are the 2 kernel versions compatible in using PLIP ? Could it be that my laptop has a wrong parallel port chip (something to that effect was mentioned in the NET-2-HOWTO, the laptop is a Midwest Micro Elite subnotebook) ? Any help is appreciated. -- Raimund K. Ege School of Computer Science Florida Int'l University ege@scs.fiu.edu (305) 348-3381 University Park ege@servax.bitnet FAX (305) 348-3549 Miami, FL 33199 ------------------------------ Reply-To: stephenb@scribendum.win-uk.net (Stephen Benson) From: stephenb@scribendum.win-uk.net (Stephen Benson) Date: Tue, 30 Aug 1994 08:39:42 GMT Subject: Re: Xconsole - little trick won't work any more (sorry) In article , John Saunders (john@odin.apana.org.au) writes: >Heiko Herold (hman@arianna.dei.unipd.it) wrote: >> In article , Darrell Fuhriman wrote: >> > >> >I noticed this too. I got around it by running xconsole SUID root. I >> >realize that may not be the ideal answer, but it worked for me. >> > > >> Moment - you mean it worked = no error messages, or does it *really* work ? >> SUIDing my xconsole only let disappear the errors, but still, as root >> or as normal user with the SUID, the xconsole does _not_ work - the >> messages can goes everywhere except the xconsole :( > >What's the problem guys? I don't have any problem with xconsole at all. >The way that it should work it that xdm runs the GiveConsole script which >chmod's the /dev/console file so that it is accessable by the user that >logged in. Then xconsole runs with no problems. Then to actually see >any messages you need to change /etc/syslog.conf so that some messages >are sent to /dev/console. Just add a line to /etc/syslog.conf: > >*.=debug /dev/console > >However if your running without xdm then I'm not sure how this works. >-- > I don't use xdm, but I'll take a look. I've followed this thread for a while and _finally_ got xconsole to work with: startx >& /dev/console which I've now aliased startx to. No problems (tho' it's probably a major security hole or something; inelegant at the very least). -- + stephen benson + + + + + linux 1.0.9 + + xfree86 2.1.1 + + stephenb@scribendum.win-uk.net + + + + + + + + + + + .* + + ------------------------------ From: delemar@galet.icp.grenet.fr (Delemar ) Subject: Re: Shutting down when running in runlevel 6 (X) Date: 31 Aug 1994 10:14:17 GMT In article baba@ph-meter.beckman.uiuc.edu (Baba Buehler) writes: >maxims@ucsee.EECS.Berkeley.EDU (Maxim Spivak) writes: > >>Question: >> Is changing the default runlevel to 6 all I need to do, or is there >>more. (It works fine, I just want to make sure.) [...] >> When I typed the >>command, it used to say things like "Sending TERM signal to all >>processes" and "Sending KILL signal to all processes." It no longer does >>so, so at which point is it safe to turn of my machine? > > >the shutdown messages will end up going to one of the VC's, probably >VC1. try Cntrl-Alt-1 right after you enter the shutdown command. Tss, tss, Alt-F6 ! When "shutdown kills X, you go back to VC1, where X was started first, so you're on a text term. In runlevel 6, the only text terminal available for login is the 6 one, so you might have type the command on this terminal, don't you ? To go back to this terminal, hit the Alt-F6 key, it should work. at least it works on my linux box... DELEMAR Olivier ****************************************************************** * DELEMAR Olivier | Room : 527 * * ICP/INPG | Phone : 76-57-48-27 * * 46 Av. Felix VIALLET | Fax. : 76-57-47-10 * * 38031 GRENOBLE Cedex - FRANCE | e-mail : delemar@icp.grenet.fr * ****************************************************************** ------------------------------ From: brennerc@saucer.cc.umr.edu (Corey Brenner) Subject: Re: FTape problems (Conner 250) Date: Wed, 31 Aug 1994 02:32:43 GMT Rob Fugina (rfugina@mcdga96) wrote: : I've been slowly trying to get one thing working at a time since I installed : Linux on my PC several months ago. I am currently stuck on FTape. I have : a Conner 250MB tape drive. I have also just done a clean install of the : Slackware 2.0.0 distribution. The command 'mt -f /dev/ftape retension' works : fine, but to tar to the /dev/ftape device results in 'I/O error'. The Conner : manual suggests a jumper be removed from the drive for Unix operating systems : that has something to do with auto-positioning. This didn't make a difference. : Can anybody give me some hints as to why it's not working? : Rob : -- : Rob Fugina, Systems Analyst ** I think, therefore I am not politically correct. : rfugina@mcdgs01.cr.usgs.GOV, robf@umr.edu, robf@cs.umr.edu, robf@ee.umr.edu : GE/CS d-(---) p c++++ l++ u++ e- m+ s+/- n--- h-- f? !g w+ t+ r y? : http://mcmcweb.cr.usgs.gov/~rfugina/ Perhaps not related, but on a similar note, when I get done using ftape on my system at home (i486DX/33, Iomega 250, FC-10) I can no longer use the floppies. I use the tape controller as a floppy controller, also and haven't had any problems except for that one... good work all in all! :) Corey Brenner (brennerc@umr.edu, cbrenner@mcdgs01.cr.usgs.gov) Hi, Rob! ------------------------------ From: cisko@d0tokensun.fnal.gov (Greg Cisko) Subject: Re: What is my root password???????? Date: 30 Aug 1994 20:02:51 GMT Reply-To: cisko@d0tokensun.fnal.gov In article 776434359@nitride.EECS.Berkeley.EDU, jwshin@nitride.EECS.Berkeley.EDU (Jinwoo Shin) writes: >august1@server.uwindsor.ca (Augustyn Robert) writes: > >>I do not remember my root password, >>What is the easest way of getting it, I can not get to su level >>and I would not like to reinstall the software. > >Unless you know a good way to reverse multiple DES encryption, it's very >difficult to get your password from the encrypted form. Boot from bootdisk, >mount your partition, blank out password section for root on /etc/passwd, >login, then change your password. (I think that's right) All that is neccissary is to boot up in "single user mode". On a SUN I think you would give "vmunix -s" to boot in singleuser. (I only had to do it once :-) ) I don't know what the same command would be in Linux though. I'm sure it is possible. Then you can re-edit your passwd file with vi. After all this was done, then I think a CNTL-D switched from single user to multi-user mode. All this was about 2 years ago, so I may be rusty. >-- >Jinwoo Shin jwshin@eecs.berkeley.edu >System Administrator >Berkeley Sensor and Actuator Center ------------------------------ From: gonzo@magnet.mednet.net (Patrick J. Volkerding) Subject: Re: Any Slackware 2.0 security probs??? Date: 31 Aug 1994 03:05:40 GMT In article , Stan Orrell wrote: > >There is also a script, in /var/adm/scripts called gonzo. This script >will install the three users listed above, and thus should also be >removed. > No, it should not. It has no effect unless you run it as root. (Haven't we been through this already?) This package has caused so many people to freak out for no good reason that I am going to move it into the contrib directory on the next release... but for the record, I don't consider it a security hole. On the other hand, ignorant and/or unalert sysadmins certainly are. :^) Pat ------------------------------ From: jlnance@eos.ncsu.edu (James Lewis Nance) Subject: Re: SWAP >16M - Does it help ? Date: 30 Aug 1994 20:16:37 GMT Reply-To: jlnance@eos.ncsu.edu (James Lewis Nance) > > I know that at some stage the kernel versions only used up to 16meg of swap. > Is this fixed yet ? Can I use more than 16Meg in the kernel versions and > in what version ? Running kernel 1.1.18: 4:17pm up 1 day, 3:49, 7 users, load average: 2.22, 2.23, 1.92 52 processes: 49 sleeping, 3 running, 0 zombie, 0 stopped CPU states: 5.8% user, 0.0% nice, 11.9% system, 82.6% idle Mem: 14784K av, 14168K used, 616K free, 716K shrd, 556K buff Swap: 131032K av, 62248K used, 68784K free PID USER PRI NI SIZE RES SHRD STAT %CPU %MEM TIME COMMAND 5861 jlnance 19 0 133 228 300 R 8.5 1.5 28:04 /usr/bin/top 6584 jlnance 9 0 66780 10000 5272 R 8.3 67.6 8:33 (a.out) 4973 root 1 0 86 24 204 R 0.3 0.1 1:13 in.rlogind 7 root 1 0 24 76 248 S 0.1 0.5 0:39 update (bdflush) 6849 jlnance 1 0 109 148 252 S 0.1 1.0 0:00 gcc -M -I.././inc 6875 jlnance 9 0 94 16 36 D 0.1 0.1 0:00 /usr/lib/gcc-lib/ 1 root 1 0 48 0 168 SW 0.0 0.0 0:05 (init) ------------------------------ From: motreba@ray.boa.uni.torun.pl (Maciej Otreba) Subject: Re: Help please w/filesystem check Date: 31 Aug 1994 13:18:31 GMT Greg W. Zoller (gwz@n8pph52.nt.com) wrote: : Can anybody tell me if it is even normal to have linux go through : a whole filesystem check each time I boot? : I've re-installed linux to get around this problem. The first time : I boot on a new installation... no problem. All subsequent boots : it does this annoying check even though I always ran shutdown and : waited until it gave me the ok to cut the power. : Thaxus Abunchus for any thoughts/comments... : Greg There is way to avoid checking whole filesystem during boot. The followind rc script has been taken from Slackware 2.0.0. Before using that make this with your kernel image: rdev -R /vmlinux 1 where /vmlinux is your kernel Image. #!/bin/sh # # /etc/rc # # These commands are executed at boot time by init(8). # User customization should go in /etc/rc.local. PATH=/sbin:/usr/sbin:/bin:/usr/bin # enable swapping /sbin/swapon -a # Start update. /sbin/update & # Test to see if the root partition is read-only, like it ought to be. READWRITE=no if echo -n >> "Testing filesystem status"; then rm -f "Testing filesystem status" READWRITE=yes fi # Check the integrity of all filesystems if [ ! $READWRITE = yes ]; then /sbin/fsck -A -a # If there was a failure, drop into single-user mode. if [ $? -gt 1 ] ; then echo echo echo "**************************************" echo "fsck returned error code - REBOOT NOW!" echo "**************************************" echo echo /bin/login fi # Remount the root filesystem in read-write mode echo "Remounting root device with read-write enabled." /sbin/mount -w -n -o remount / else cat << EOF *** Root partition has already been mounted read-write. Cannot check! For filesystem checking to work properly, your system must initially mount the root partition as read only. Please modify your kernel with 'rdev' so that it does this. If you're booting with LILO, type: rdev -R /vmlinuz 1 (^^^^^^^^ ... or whatever your kernel name is.) If you boot from a kernel on a floppy disk, put it in the drive and type: rdev -R /dev/fd0 1 This will fix the problem *AND* eliminate this annoying message. :^) EOF sleep 10 fi # remove /etc/mtab* so that mount will create it with a root entry /bin/rm -f /etc/mtab* /etc/nologin /etc/utmp # Looks like we have to create this. cat /dev/null >> /etc/utmp # mount file systems in fstab (and create an entry for /) # but not NFS because TCP/IP is not yet configured /sbin/mount -avt nonfs # Configure the system clock. # This can be changed if your system keeps GMT. if [ -x /sbin/clock ]; then /sbin/clock -s fi # Setup the /etc/issue and /etc/motd to reflect the current kernel level: # THESE WIPE ANY CHANGES YOU MAKE TO /ETC/ISSUE AND /ETC/MOTD WITH EACH # BOOT. COMMENT THEM OUT IF YOU WANT TO MAKE CUSTOM VERSIONS. echo > /etc/issue echo Welcome to Linux `/bin/uname -a | /bin/cut -d\ -f3`. >> /etc/issue echo >> /etc/issue echo "`/bin/uname -a | /bin/cut -d\ -f1,3`. (Posix)." > /etc/motd # Set up the serial ports. # This made a couple machines I tested this on hang at this point in the boot # process, so it's getting commented out by default. However, if you need to # set up extended serial ports try it out. It usually works great. #/bin/sh /etc/rc.d/rc.serial -- ___________________________________________________ | / | | Maciej Otreba / E-MAIL: | |------------------------/--------------------------| | 87-116 Torun, POLAND / | | Dzialowskiego 4/4 / motreba@boa.uni.torun.pl | | phone +48-56-485645 / | |____________________/______________________________| ------------------------------ From: andrew@amelia.db.erau.edu (Andrew Anderson) Subject: Re: DOSEMU 0.53: termcap file Date: 31 Aug 1994 02:58:20 GMT Chris Stuber (cstuber@info.census.gov) wrote: : Does anyone have a *working* termcap file for DOSEMU access via : telnet? Arrow key, etc. aint working. If anyone has got this : stuff tweaked, Please send me a copy of your /etc/termcap file. : : Thanks, : -Chris (Chris.Stuber@Census.GOV) It depends on what program you're using to telnet in...it seems that every one is different. I have a mostly functional termcap for QVT, and I'm trying to work with a friend to get a termcap for QM Win working. I'd really like to see some type of termcap repository so that others don't have to duplicate my efforts and I don't have to duplicate others work. What do you netters think? -- |===========================================================================| | Andrew Anderson andrew@db.erau.edu | | Novell Network System Administrator "Making the impossible | | Linux System Administrator possible -- daily!" | | | | I don't speak for ERAU, and God knows I don't want them to speak for me! | |===========================================================================| ------------------------------ From: dtran@emelnitz.ucla.edu (Daniel Tran) Subject: WTMP question Date: Tue, 30 Aug 1994 20:21:57 GMT Hi, The /usr/adm/wtmp file records all logins/logouts. Upon examining the system, I found that there isn't a file like that. How do you enable this process?. Can someone help me out. TIA Daniel Tran - dtran@emelnitz.ucla.edu ------------------------------ From: martin@llanelli.demon.co.uk (Martin Thomas) Subject: Re: News & Slackware V2 Date: Tue, 30 Aug 1994 19:36:44 +0000 PostMaster@barclays.co.uk wrote: : (demon.co.uk) and as I understand it, slurp only give read access. I would like : a full posting service. I use slurp & post using Demon's mail2news gateway. Martin. -- Martin Thomas | Internet: martin@llanelli.demon.co.uk +44-(0)554-770546 | CompuServe: 70374,332 ------------------------------ From: mayfield@itd.adelaide.edu.au (rob) Subject: F'Domain TMC950 woes Date: 31 Aug 1994 03:59:22 GMT Reply-To: mayfield@itd.adelaide.edu.au Has anyone experience in getting future domain tmc950 cards to work properly under linux ? Ive followed the advice in the FAQ's, managed to fdisk the scsi drives ok, but when setup calls fdisk with the -l option to list partitions, it fails 'coz fdisk reports on needing to set heads/sect/cyls etc. I overcame this by hacking the script, but then during the format phase, it all locks up. controller is at ca00 int 5, and has v6.0 rom from future domain, but the card looks like a clone of some sort. when the system boots from floppy it reports ST01/02, and shows scsi devices correctly. I'm figuring theres probably something obvious thats escaped me ... Any help appreciated. Rob -- rob mayfield senior technical analyst, australian submarine corporation p/l mayfield@wattle.itd.adelaide.edu.au vk5xxx@vk5xxx.#adl.#sa.aus.oc +6183487713w ------------------------------ From: motreba@ray.boa.uni.torun.pl (Maciej Otreba) Subject: Re: 3c509 can't be reached. Date: 31 Aug 1994 13:11:13 GMT Jose Acacio de Barros (barros@ockham.Stanford.EDU) wrote: : Hello Folks, : I've been trying to connect a computer to the net but so far : I've been failing. When I boot the computer the kernel recognizes : the ethernet card (a Com3 3c509) and seems OK. The problem appears : when /sbin/ifconfig is called from rc.inet1. At this time I get : the following message: : SIOCSFFLAGS: Try again : After that eth is not added to the network. If I run "/sbin/ifconfig" : I get as information that I have only the loopback device. Of course : if I try to ping somewhere the network is "unreachable", since eth0 : is not available. : I ran out of ideas of what to do now. Does someone have any suggestions? : I'm running Linux 1.0.8 (Slackware 1.2.0) in a 486DX w/16Mb of memory. I use Dell 433s/P Netplex with the same type of ethercard and I discovered no trouble. I use Slackware 2.0.0 with kernel 1.0.9. Works perfectly. So: check out the settings if IRQ channel and I/O address at your card and compare it to the defaults in kernel source. Maciej -- ___________________________________________________ | / | | Maciej Otreba / E-MAIL: | |------------------------/--------------------------| | 87-116 Torun, POLAND / | | Dzialowskiego 4/4 / motreba@boa.uni.torun.pl | | phone +48-56-485645 / | |____________________/______________________________| ------------------------------ From: mayfield@itd.adelaide.edu.au (rob) Subject: 4P Serial on same IRQ ? Date: 31 Aug 1994 04:09:31 GMT Reply-To: mayfield@itd.adelaide.edu.au Ive set up an MS400 card with all 4 ports on irq7, using the AA4RE interrupt sharing mod (4x1n4148, 1x4.7kOhm etc). Every time I use setserial to set the serial irq's to 7, it locks up the whole machine (I know it warns about this). I have no parallel ports, scsi is on 5. Ive tried it as ttyS0-3, and also with a dual port S0-1 with the 4 port at S2-5, as well as removing the 2 port and just trying the 4 port as ttyS4-7 et al. same results all the time. I also tried the IRQ commoned to 2/9 instead of 7 (2 is a standard setting for the MS400, 7 has to be engineered :-) any help would be greatly appreciated ! Rob -- rob mayfield senior technical analyst, australian submarine corporation p/l mayfield@wattle.itd.adelaide.edu.au vk5xxx@vk5xxx.#adl.#sa.aus.oc +6183487713w ------------------------------ ** 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 ******************************