From: Digestifier To: Linux-Admin@senator-bedfellow.mit.edu Reply-To: Linux-Admin@senator-bedfellow.mit.edu Date: Wed, 31 Aug 94 08:14:51 EDT Subject: Linux-Admin Digest #5 Linux-Admin Digest #5, Volume #2 Wed, 31 Aug 94 08:14:51 EDT Contents: color_xterm .... again (Jozsef Kadlecsik) Re: pppd's ip-up doesn't work (Jason White) Re: What is my root password???????? (Viktor T. Toth) MSDOS FS dates off by 5 days! (Slackware 2.0 bug! - here it is) (Alberto Vignani) Re: [Q] How to remote tape backup DOS -> Linux <- Sun (Leslie Mikesell) Re: DNS/BIND/nameserver problems (J.S. van Oosten) Re: dip: hostname lookup failure (Greg Cisko) Re: Q: NFS, Linux -> Macintosh (Shannon Hendrix) network install w/Intel Ether Express? (Ken Neighbors) Re: How to use 14400bps with modem? (Kristian August Mowinckel) Re: Backing up to QIC-80 (Adam Tilghman) Video-setting for a et4000/w32i VesaLocalBus (Bernd Giesinger) Re: Testing a pointer (Rob Janssen) Re: Got.... (Rob Janssen) Re: stdio.h(linux) (Rob Janssen) Re: **** HOW TO FIX YOUR CDROM!! **** (Rob Janssen) Re: Admin utils for linux ? (Safuat Hamdy) Re: Shutting down when running in runlevel 6 (X) (Gary Schrock) ---------------------------------------------------------------------------- From: kadlec@cern.school.kfki.hu (Jozsef Kadlecsik) Subject: color_xterm .... again Date: 31 Aug 1994 07:45:58 GMT Hi, Ok, I haven't tried all possibilities: after setting *LoginShell: true in ..../app-defaults/XTerm if I type at the prompt > color_xterm the xterm comes up and it can be checked that .bashrc has been executed. Fine. But if one click on "Color Xterm" of the menu "Shells" of openwin, that xterm doesn't seems to execute .bashrc at all!! (Of course Xterm or Rxvt from the menu do execute .bashrc.) This "Color Xterm" menu is as follows "Color Xterm (7x14 font)" exec /usr/bin/X11/color_xterm -sb -sl 500 -j -ls -fn 7x14 I added "-l", "-e /bin/bash -login", no use. Could you help me again to complete the solution of this problem? Best regards, Jozsef Kadlecsik ------------------------------ From: jdwhite@iastate.edu (Jason White) Subject: Re: pppd's ip-up doesn't work Date: 31 Aug 1994 08:03:03 GMT In article <340pi1$nb3@news.cais.com>, Gregory Trubetskoy wrote: >Has anybody used /etc/ppp/ip-up script? > >I set one up, but it doesn't seem to be executing at all... Did you give it execute permission? Had this problem myself, briefly. :) >Is there a command line option for it? Don't believe so. >I really need this feature, cause I have to do some ifconfiging and routing >that pppd itself doesn't allow on the command line. I agree, I really like this feature. -- Jason D. White Durham Center Operations Staff jdwhite@iastate.edu Repeater Chairman, Cyclone Amateur Radio Club Iowa State University Ames, Iowa ------------------------------ From: vttoth@vttoth.com (Viktor T. Toth) Subject: Re: What is my root password???????? Date: Tue, 30 Aug 1994 18:03:41 In article <34039b$kbm@fnnews.fnal.gov> cisko@d0tokensun.fnal.gov (Greg Cisko) writes: >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. If you use LILO, simply type 'linux S' at the LILO: prompt. (If that prompt doesn't appear for you, hit the Shift key when the word LILO is displayed, and you will get a prompt). This will boot your box in single-user mode. Viktor ------------------------------ From: Alberto Vignani Subject: MSDOS FS dates off by 5 days! (Slackware 2.0 bug! - here it is) Date: 31 Aug 1994 05:34:48 -0400 Reply-To: a.vignani@CRFV3.CRF.IT alan@spri.levels.unisa.edu.au (Alan Modra) wrote: |I hit this bug quite a while ago, and fixed util-linux-1.9/clock.c. The |following is the relevant patch I sent to Rik Faith. If util-linux-1.10 |is not yet out, you may wish to apply the following patch yourself. -------------------------------------------------------------------- |It appears that the slackware 'clock' program was calling |settimeofday() with tz_minuteswest set to secondswest, ie. out by a |factor of 60. -------------------------------------------------------------------- (original message/patch has been posted to c.o.l.d.) It was not a kernel problem, as I first suspected. Bye Alberto ------------------------------ From: les@MCS.COM (Leslie Mikesell) Subject: Re: [Q] How to remote tape backup DOS -> Linux <- Sun Date: 30 Aug 1994 19:13:28 -0500 In article <33vgt0$e8o@news.acns.nwu.edu>, Dennis Director wrote: >>Yet another possibility in the near future may be to run WFWG on the >>PC sharing the drive with it's native networking and mounting >>it on Linux with the smbfs filesystem that someone is working on. >I would love to hear more about this. I also would like to >backup up DOS machines on my Linux tape. Mounting a WFWG file >system sounds like a good clean solutions. I don't think it's quite ready for prime time yet. See the file nimbus.anu.edu.au:/pub/tridge/samba/PROJECTS for the author and current state. But my tar will work if you don't mind the cruft. Arrange for a packet driver on the pc (either native or one of the interface shims), and execute "tar --rshd" on the pc(s). Then run "rsh pc tar -cf c:/ -| dd of=tape_drive" on the unix side, using the no-rewind device if you are doing more than one. The usual gnutar options work plus some stuff to support the dos archive bit and other attributes. Les Mikesell les@mcs.com ------------------------------ Crossposted-To: comp.os.linux.help From: jvoosten@compiler.tdcnet.nl (J.S. van Oosten) Subject: Re: DNS/BIND/nameserver problems Date: Mon, 29 Aug 1994 01:32:57 GMT Rusty L. Atkins (atkins@cc5037.pms.ford.com) wrote: : Thanks to all that responded! The problem was that I had the nameserver : name and not the nameserver address in /etc/resolv.conf. I want to add to this that all the relevant config-files (named.boot, resolv.conf, host.conf, etc) in /etc must be world readable. I had the same problem , until I found out I could always use names as root but not as 'normal' user. That lead me to look at the file-permissions, which were (obviously) wrong. Just my $.02 J.v.O. "Hooba!" -- paradox n. A state arising when a lifeform is able to find his arse with on hand but not the other. - from alt.fan.pratchett. Terrible, isn't it? :-) -- PGP public key available on request. ------------------------------ From: cisko@d0tokensun.fnal.gov (Greg Cisko) Subject: Re: dip: hostname lookup failure Date: 30 Aug 1994 20:11:16 GMT Reply-To: cisko@d0tokensun.fnal.gov In article c4r@elaine.teleport.com, neilw@teleport.com (Neil W. Weber) writes: >In <3291s4$rl0@News.Simplex.NL> stock@Simplex.NL (Robert Stockmann) writes: >>When I try to start up dip I get the following >>*strange* error message: > >>[stm40:stock]:(~)$ dip >>stm40: Host name lookup failure >>[stm40:stock]:(~)$ I had the same problem & fixed it. FOr me the clue was that when I did "domainname" I got the same name as when I got "hostname". If I changed one the other would change too. I found domainname & hostname were linked together! So they were the same program. I removed the link an made sure I had 2 seperate programs: domainname & hostname. Then everything worked great. Until the next problem :-) Do the "domainname" & "hostname" check & see what happens. > >Try adding the hostname of your machine to /etc/hosts. Here is my /etc/hosts: > ># For loopbacking. >127.0.0.1 localhost >127.0.0.1 gonedaddy.teleport.com gonedaddy >-- >Neil W. Weber neilw@teleport.com No brain, no pain. ------------------------------ From: shendrix@escape.widomaker.com (Shannon Hendrix) Subject: Re: Q: NFS, Linux -> Macintosh Date: Wed, 31 Aug 1994 01:23:13 GMT jeffm@metronet.com (Jeff Medcalf) writes: >>Has anyone succesfully mounted a Linux disk on a macintosh via a network? >>What should I do on the linux-side of the connection and what program >>should I use on the macintosh-end? >I have done so using Intercon's NFS/Share software. Good stuff. They >are in Herndon, VA. How much? I need a relatively inexpensive way to share printers and disks on my Linux system with a Mac, no matter how bad it hurts. >-- >-- >jeffm@fohnix.metronet.com | How many Microsoft employees does it >Jeff Medcalf | take to change a lightbulb? >Johnston Technical Services | None: Microsoft declares darkness to -- csh =========================================================================== shendrix@escape.widomaker.com | Linux and BSD ------------------------------ From: wkn@lothlorien.Stanford.EDU (Ken Neighbors) Subject: network install w/Intel Ether Express? Date: 31 Aug 1994 08:42:29 GMT Reply-To: wkn@sun-valley.stanford.edu I tried the "net.gz" boot disk but it can't find the Intel Ether Express 16C. It tried typing "ramdisk ether=3,0x300,eth0" at the boot: prompt, but it still didn't work. It says something about 3c305(?) not found. Do I need to use the "reserve=" option that I saw mentioned in another post? So, is the Ether Express driver in the net kernel? If not, how should I go about installing Linux over the net with this card? Will I have to compile a kernel another Linux box, and if so, how do I put it on the boot disk? -- Ken Neighbors | +1 (415) 390-9414 Aero/Astro, Stanford University | using: wkn@sun-valley.stanford.edu | Linux, the choice of a GNU generation http://www-leland.stanford.edu/~wkn/ | OS/2, the choice of a blue generation ------------------------------ From: Kristian August Mowinckel Crossposted-To: comp.os.linux.help,comp.os.linux.misc Subject: Re: How to use 14400bps with modem? Date: Wed, 31 Aug 1994 05:04:01 +0200 (MET DST) On Tue, 30 Aug 1994, Lorenzo da Ponte wrote: > In article <33tcak$hmp@due.uninett.no> you wrote: > : Today my USRobotics Sportster 14400 FAX MODEM arrived. > : Now I use it at 9600 bps since 14400 is not an option offrered. > : (I use Seyon by the way.) > : How can I use 14400 bps? > : Do I have to recompile the kernel? > : 2400 4800 9600 19200 etc are supported, but not 14400. > > You do not need to set the port baud rate to 14400, the modem can talk > to the Linux box at speeds up to 115200 (depending on the Linux box). > The dte (data terminal equipment) speed does not need to match the dce ( > data communications equipment) speed. I use Seyon Also and I use a baud > rate of 38400 on the PC and the modem is automatically set up to adjust > it's baud rate to the PC and the dce speed is set when it connectes to > another modem. If you are not getting connected at the highest speed, > it is possible that the modem you are connecting to at the other end > is not negotiating the protocol - ie does not support data compression etc... > > If your PC does not have a 15560A uart, I would suggest staying at a dte > speed of 19200 or less as you may experience data loss. I finally discovered that there were two speeds: the one which the two modems talk to each other 14400 and the speed linux talks to the modem 19200, 38400 or higher Now everything is functioning perfectly. I get CONNECT 14400. The connection is *fast*. Thanks everybody! Kristian ------------------------------ From: atilghma@sdcc10.ucsd.edu (Adam Tilghman) Subject: Re: Backing up to QIC-80 Date: 31 Aug 1994 01:01:41 GMT In article <1994Aug29.204042.31238@cobra.uni.edu> williamj@cs.uni.edu ( Jonathan Williams ) writes: >interleaving properly, but I can't get tar to write to the QIC-80 tape. Every >time I try I get the message: [ I attempted to mail a response to you, but cs.uni.edu complains that "williamj" is an unknown user. ] Remember to issue an "mt -f /dev/rft0 erase" command before trying to use the tape. You will find this bit of information buried in your syslog amongst all the other FTape debugging information. -- adam -- Adam G. Tilghman | email: | voice: | Rng FCNZ naq yvir. | atilghma@mib.org | +1 619 658 0743 | Cyhf PurrmJvm? ------------------------------ From: gies@i12s4.ira.uka.de (Bernd Giesinger) Subject: Video-setting for a et4000/w32i VesaLocalBus Date: 31 Aug 1994 11:35:55 GMT Can anybody sent me a working entry or whole file Xconfig for above vga-card ? Thanks Bernd ------------------------------ From: rob@pe1chl.ampr.org (Rob Janssen) Subject: Re: Testing a pointer Reply-To: pe1chl@rabo.nl Date: Wed, 31 Aug 1994 08:21:45 GMT In <014320JJFWNEAXUEJBGU@cml.com> dsnider@cml.com writes: >Is there a command/function in C to test if a pointer is pointing to >accessable memory? GDB can tell you if a pointer's contents are >"unaccessable"... so there must be a way. Just catch SIGSEGV and dereference it? Rob -- ========================================================================= | Rob Janssen | AMPRnet: rob@pe1chl.ampr.org | | e-mail: pe1chl@rabo.nl | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU | ========================================================================= ------------------------------ From: rob@pe1chl.ampr.org (Rob Janssen) Subject: Re: Got.... Reply-To: pe1chl@rabo.nl Date: Wed, 31 Aug 1994 08:23:33 GMT In <250@pground.cts.com> zoltar@pground.cts.com (Liam Slusser) writes: > How does Linux stand up to like OS/2, and Win/NT. Right now, i am >running OS/2 2.99 'Warp II beta', and i like it. But, is Linux as good? I >have never used unix before, but know alot about computers, and stuff like >that. I also program in 'C'. If anybody can give me a good answer, it would >be nice. Thanx. It depends on what you like about them. Just follow the flamewar-of-the-week to get all info you ever want! Rob -- ========================================================================= | Rob Janssen | AMPRnet: rob@pe1chl.ampr.org | | e-mail: pe1chl@rabo.nl | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU | ========================================================================= ------------------------------ Crossposted-To: comp.os.linux.help From: rob@pe1chl.ampr.org (Rob Janssen) Subject: Re: stdio.h(linux) Reply-To: pe1chl@rabo.nl Date: Wed, 31 Aug 1994 08:26:09 GMT In soft@sip.medizin.uni-ulm.de (Softwareentwicklung) writes: >Hi, >where is: _IOREAD, _IOWRT, -flag from (struct _iobuf)? >Other unixes have it. >Help! Thanks! You are not supposed to use these... Are they documented in any other unixes' manual pages? Rob -- ========================================================================= | Rob Janssen | AMPRnet: rob@pe1chl.ampr.org | | e-mail: pe1chl@rabo.nl | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU | ========================================================================= ------------------------------ Crossposted-To: comp.os.linux.help From: rob@pe1chl.ampr.org (Rob Janssen) Subject: Re: **** HOW TO FIX YOUR CDROM!! **** Reply-To: pe1chl@rabo.nl Date: Wed, 31 Aug 1994 09:04:43 GMT In sols7520@mach1.wlu.ca (Serge Solski u) writes: > > I've finally found out why most of us have CDROM's that work on >installation, but don't work when running Linux regularily. The problem >is that the wrong driver is being used. You have to use >the "standard" driver rather than the "enhanced" driver. This may not work >for all of you, but it worked for me. > 1) If you look in /root/linux/drivers/block (this may be in >another directory for you), you'll see "cdu31a.c", "cdu31a.c-enhanced", >and "cdu31a.c-standard." I suspect that those of you not using the CDU31A >drivers will see something similiar for whatever CDROM you're using. If >you type "ls-l cdu31a.c", you'll see that "cdu31a.c" is linked to >"cdu31a.c-enhanced." If it's linked to "cdu31a.c-standard" then forget >about this fix -- you have another problem. Move "cdu31a.c" to >cdu31a.c-backup (just in case), and then copy "cdu31a.c-standard" to >"cdu31a.c" Instead of copying, you could just change the link, but I >forget the exact syntax of the command. Basically, all you have to do is >make "cdu31a.c-standard" the CDROM driver, which is called "cdu31a.c". There is no such file in the standard Linux kernel. You must be talking about a modified kernel here. (what origin??) I doubt that "most of us have this problem", given the fact that it is not in the standard kernel, and cdu31a drives seem to be a pretty small part of the CDROM market... Rob -- ========================================================================= | Rob Janssen | AMPRnet: rob@pe1chl.ampr.org | | e-mail: pe1chl@rabo.nl | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU | ========================================================================= ------------------------------ From: hamdy@rzcspc1.informatik.uni-hamburg.de (Safuat Hamdy) Subject: Re: Admin utils for linux ? Date: 31 Aug 1994 11:46:22 GMT Mike Suzio (msuzio@tiamat.umd.umich.edu) wrote: : >I'd volunteer for contibutions to such a project _if_ there will be a team. : So would I. I would *love* to do this kind of stuff. I have very little : time to dink around with stuff, but I'd volunteer to help on a project like : this. heck, i'd even be willing to learn IRC to do something like this : :-O OK, I notified this, anybody else out there? What about those mentionened by Harald M.? : Three people/teams are currently working on such a tool, independently : of each other: : : Pat Spinler (pats@einet.com) : Riccardo Facchetti (riccardo@cdc8g5.cdc.polimi.it) : Thomas Woerner (twoerner@gris.informatik.uni-tuebingen.de) : : according to the Projects Map. I wish those would join their efforts. S. Hamdy (hamdy@informatik.uni-hamburg.de) -- Baba baby mama shaggy papa baba bro baba rock a shaggy baba sister shag saggy hey doc baba baby shaggy hey baba can you dig it baba baba ------------------------------ From: schrock@student.msu.edu (Gary Schrock) Subject: Re: Shutting down when running in runlevel 6 (X) Date: 31 Aug 1994 12:00:03 GMT In article <341npa$gcu@vixen.cso.uiuc.edu>, sharpe@uxa.cso.uiuc.edu (sharpe randall k) writes: |> I have been following this thread for a while. I used to use run level 6 |> but quit because when I started up xtrems I got strange key mappings, |> that is whereas normaly my <- (backspace key) deletes a character back |> it now would delete the whole line. The delete key did yhe same thing. |> I like my old keymappings but I guess I am too inexperienced to figure |> out how to implement them in xdm. I am using the defaults as provided |> by Slackware 2.0. I am currnetly using rl 5 and startx in my .login |> file. I would prefer using xdm, but won't until I learn how to fix this |> problem. I have gone over and over O'Reilly's xsindows administrator's |> guide to no avail. I know this is a bit off topic but there seems to be |> several knowledgeable people on this thread. I found sticking an stty sane command in my .login file worked nicely. (actually, I stuck it in the /etc/csh.login file. Fixed the backspace problem, and I didn't notice any adverse side effects. Gary Schrock schrock@student.msu.edu ------------------------------ ** 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 ******************************