Linux-Misc Digest #846, Volume #21 Fri, 17 Sep 99 06:13:10 EDT
Contents:
Re: No /etc/resolv.conf file. (Bill Unruh)
Re: My first Linux crash - what should I have done? (glen)
Re: Are tar tapes OS dependent? (Ken Pizzini)
Requiring Custom kernel to install Debian (Aaron Daniels)
Red Hat Install Problem ("Jody Thigpen")
Linux (RH6.0) crash -> recovery how ? (Istvan Zsolt Kovacs)
Re: How can I change telephone numbers in /etc/chatscript with a dialog? (Ian Smith)
Re: linux dependecies (John McKown)
Re: "autoexec.bat"-type service in Linux? ([EMAIL PROTECTED])
Re: "autoexec.bat"-type service in Linux? ([EMAIL PROTECTED])
Re: Does Linux offer an alternative to ASP? (kev)
Re: Gnome session manager problem (Andrew Calway)
Re: Demo for SMP on Linux Demo Day (Uwe Bonnes)
Name of Linux? ("Jim")
Re: getright for linux (John McKown)
Re: "Linux" & "Penguin" copyright ? (DanH)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: No /etc/resolv.conf file.
Date: 17 Sep 1999 05:54:40 GMT
In <[EMAIL PROTECTED]> Dave Critelli <[EMAIL PROTECTED]> writes:
>Hello:
>When my kppp app boots I get a message that says no /etc/resolv.conf
>file found. Subsequently the dialer connects to my ISP but Communicator
>wont fetch any web pages. Do I need a resolv.conf file? If so where to
>I get it and what do I need to add to it to get it to work?
Yes, you do need it.
Just create it with at least one line in it containing
nameserver xxx.xxx.xxx.xxx
where xxx.xxx.xxx.xxx is the IP address of our ISP's DNS nameserver.
If there is more than one nameserver, put in more lines like that one.
------------------------------
From: glen <[EMAIL PROTECTED]>
Subject: Re: My first Linux crash - what should I have done?
Date: Fri, 17 Sep 1999 06:31:51 GMT
On Thu, 16 Sep 1999 21:54:15 GMT, Glen Scurr <[EMAIL PROTECTED]> wrote:
>But then, I launched it from an xterm. Quake2 ran fine but when I quit,
>it said that it couldn't write a cfg file, probably a permission thing,
>but then I was in a full screen text mode and nothing would get me out.
>Ctrl-c, ctrl-z, alt-f1..f10 ctrl-alt-f1..f10, even alt-ctrl-del did
>nothing.
I ran quake2 again from just a console with x shut down.
Same thing though, it exited sig11 when I tried a screenshot. I was at the
prompt but I couldn't type anything. I tried every key combo I could think of,
I couldn't get to another VT or do anything. The only response I could get was
with alt-tab and it said "bash: gasdfSNGGYSAdsfasDf : command not found " or
something like that. where "gasdf....." was a bunch of characters I can't even
type now.
I hit the reset button and logged in as my regular user. typed startx,
"Authentication failed" uh-oh. To make a long story short I was in as root
and typed 'shutdown -h now' and that's when I got an "libsomething.so.o blah
blah blah error".
So my Linux experiment is over. I like to play games. Windows is the better
os for me. Sorry. I know I'll be rebooting daily again to get things working
but so what? Atleast I can play Midtown Madness again.
re,
As a bonus I get Forte Agent back again. Goodbye Netscape news.
glen
------------------------------
From: [EMAIL PROTECTED] (Ken Pizzini)
Crossposted-To:
comp.unix.solaris,comp.unix.questions,comp.unix.admin,comp.sys.sun.admin,comp.unix.misc,alt.solaris.x86
Subject: Re: Are tar tapes OS dependent?
Date: 17 Sep 1999 08:20:43 GMT
Reply-To: [EMAIL PROTECTED]
On 17 Sep 1999 01:06:24 -0500, Leslie Mikesell <[EMAIL PROTECTED]> wrote:
>So what do you type if you don't want to bother remembering which
>xterm is logged into Linux/freeBSD/Solaris and you want the full
>list so you can pipe it to grep?
If you put /usr/ucb high in your path on Solaris you can just
use "ps ax" on all of those. Otherwise you could make an
appropriate alias in your .bashrc on each machine:
case $(uname -s) in
Linux) alias fullps='ps -e' ;;
freeBSD) alias fullps='ps ax' ;;
Solaris) alias fullps='/usr/bin/ps -e' ;;
#...
esac
--Ken Pizzini
------------------------------
From: Aaron Daniels <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup
Subject: Requiring Custom kernel to install Debian
Date: Fri, 17 Sep 1999 19:19:16 +0000
I am installing debian 2.1 off a bootable CD but to see my hard disks I need to boot
off a
custom kernel that has my raid controler compiled in which I have created on another
debian
machine, is there a command I can type in at the Debian boot prompt to get it to load
off my
kernel, I have tried boot=/dev/fd0 and that doesnt work.
also I can boot directly off my floppy which has my kernel on it but if I do that then
I have no
root filesystem,
Any ideas are welcome.
Thanks,
Aaron
------------------------------
From: "Jody Thigpen" <[EMAIL PROTECTED]>
Subject: Red Hat Install Problem
Date: Thu, 16 Sep 1999 12:45:05 +0100
I'm attempting to install Red Hat 4.2 on an older PC. I boot off the Linux
Boot Disk, it recognizes all my hardware (I'm installing off a CD Rom) and
as I begin going through the setup it gets to the screen to partition my
drive and I get the blue screen with the key guide at the bottom ( <ALT-TAB>
between elemets, etc...) but that's all. Nothing showing my drive
partitions or any other options, just a blue screen. Does this ring a bell
to anyone or point out any specific problem to anyone?
Thanks,
Jody Thigpen
[EMAIL PROTECTED]
------------------------------
From: Istvan Zsolt Kovacs <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Linux (RH6.0) crash -> recovery how ?
Date: Fri, 17 Sep 1999 09:24:37 GMT
Hi!
I'm using RH6 on pentium machine. After updateting some packages
(gnome, XFree86, etc ) everything worked fine until I shut down Linux
(the usual way CTRL+ALT+DEL). During shut down I got some warings saying
that some directories are read only. When I tried to reboot all goes
well until the root file system has to be mounted. Here the boot stops
but doesn't hang. If I press CTRL+C the boot process continues with the
same kind of warnings like at shut-down and it stops again when trying
to initialize the system files in /etc/rc.d and /var. At this point
CTRL+ doesn't help anymore and the only way to move on is to shut down
again with CTRL+ALT+DEL.
I tried the std recovery procedure with the boot/root disk but then I
get an other error:
...
VFS: Mounted root (ext2 filesystem) readonly
Trying to unmount old root .... <3> error -16
Change root to /initrd : error -2
and the system is blocked.
Can anybody please give me a hint how can I fix this problem without
loosing all my data?
Thank you!
--
Istvan
------------------------------
From: Ian Smith <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: How can I change telephone numbers in /etc/chatscript with a dialog?
Date: Thu, 16 Sep 1999 23:43:57 +0100
Phillip Deackes wrote:
>
> My IP uses a different telephone number at the weekend to permit access
> free of call charges. The problem is that the number changes each
> weekend. What I would like to have is an icon I can click on which opens
> some sort of dialogu box asking for the number. When entered, the number
> should replace the one in /etc/chatscript
>
> I would even be happy having an xterm open to ask the question.
> I use this sort of thing regularly on my Linux box, but I don't know how
> to change something inside of a file.
>
> Any help would be much appreciated.
>
> --
> Phillip Deackes
> Debian Linux (Potato)
Strange question from someone running the bleeding-edge version of a
headbanger's distro, but still . . .
I think this sound like a job for (ana)cron, no dialogue box required.
You can have two (or more) chatscripts.whatever with the different
numbers in, and make one a symbolic link to chatscript. The cron job
would just set up the appropriate links at midnight on Friday and
Sunday. I'll probably do it myself this weekend.
Answer this message (NG only please) to remind me!
--
============================================================================
Ian Smith
============================================================================
------------------------------
From: [EMAIL PROTECTED] (John McKown)
Subject: Re: linux dependecies
Date: 17 Sep 1999 09:30:52 GMT
On Thu, 16 Sep 1999 18:14:26 -0500, C. S. Jennings <[EMAIL PROTECTED]> wrote:
>I am looking for the following:
>id.so.1 and libXm.so.1
>
I don't find a id.so.1 on my system (RedHat 6.0). I have a libXm.so.1 in
/usr/X11R6/lib. However, when I do an rpm -qf to find out which package
it belongs to, it replies "lesstif". Lesstif is a GPL "replacement" for
Motif, which is commercial software. I'd just about bet that id.so is
also a part of Motif. Therefore, you'll need to purchase Motif. I'd try
looking at http://www.linuxmall.com to see how much it costs.
Wish I had better news,
John
Oh, look to see if your software package comes with a "statically bound"
version. This would be much bigger, but would include the Motif subroutines
linked into the executable instead of requiring the shared libraries.
------------------------------
Date: Fri, 17 Sep 1999 11:23:14 +0200
From: [EMAIL PROTECTED]
Subject: Re: "autoexec.bat"-type service in Linux?
Well I thougth the initscripts should do it for you, but if you really want to
do it this way,
may be you could use the rc scripts for this. So have a look at /etc/rc.local
(/etc/rc.d/rc.local ?)
and the other rc.* scripts at the same place.
Ray McLaughlin wrote:
> Lothar Dickhoff wrote:
> >
> > Hi,
> >
> > the best equivalents to Autoexec.bat in Unix are
> >
> > "/etc/profile" (will be executed at login time for every user)
> > This file is owned by root. Be careful when changing
>
> Executed at login? It seems to also execute every time I open a new
> Xterminal. I found this out when I added a line calling a script to set
> up my modem. During boot up the system identified my modem, /dev/ttyS1,
> as UART=16550A, but for some reason didn't set it so. The command, from
> a root shell, setserial /dev/ttyS1 gave out put that lacked the UART
> info. I couldn't use my modem until, as root, I had issued the command:
> setserial /dev/ttyS1 uart 16550A. To make life easier I created
> incorporated this line in a script, /bin/modem, and got in the habit of
> typing "modem" after booting up. This only works as root. as the
> setserial command is off limits to nonroot users. Reading this thread
> lead me to insert the line "modem" at the end of my /etc/profile. This
> works as long as I login as root first when I boot up, but now I get a
> harmless error message at the top of every Xterminal I open.
>
> Can anyone suggest a better place to put the modem command, or better
> yet, a setserial command so my modem is available from the get go?
>
> Thanks- Ray
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: "autoexec.bat"-type service in Linux?
Date: 17 Sep 1999 09:18:42 GMT
To clear up the confusion:
File read when
/etc/profile every time a shell is started
/etc/bashrc every time a user logs in
~/.profile see /etc/profile, user specific
~/.bashrc analogous
Btw., you should also have a look at /etc/rc.d/rc.local which is probably what
you want.
------------------------------
From: kev <[EMAIL PROTECTED]>
Subject: Re: Does Linux offer an alternative to ASP?
Date: Fri, 17 Sep 1999 10:27:20 +0100
Peter Caffin wrote:
> [EMAIL PROTECTED] wrote:
> > I'm about to begin using M$ apps to write Active Server Pages.
> > I was wondering if there was a purely Linux solution that could be
> > used in place of M$ ASP in function,
>
> I'd recommend your looking into the CGI interface (which can be used
> by just about any scripting or programming language; Perl, shell script,
> awk, compiled C binaries, etc). If you want something that's specifically
> server-side included, have a look at PHP3.
Yep, that's what you want. Have a look at http://www.php.net
http://www.phpbuilder.net has some good articles, tutorials and the like.
- Kev
>
>
> > as well as apps used in the creation of such pages.
>
> Personally, I just use my favourite text editor to program with. However,
> there are some larger editors that favour programmers; Emacs is one you
> might want to look at (I personally don't like it, but, it might be
> helpful to you).
>
> --: _ _ _ _
> _oo__ |_|_ |__ _ | _ |_|_o _ peter at ptcc dot it dot net dot au |
> //`'\_ | (/_|(/_| |_(_|| | || | http://it.net.au/~pc |
> / PO Box 869, Hillarys WA 6923, AUSTRALIA |
------------------------------
From: Andrew Calway <[EMAIL PROTECTED]>
Crossposted-To: redhat.general
Subject: Re: Gnome session manager problem
Date: Fri, 17 Sep 1999 09:31:20 GMT
I had the very same problem running 6.0 on a NEC versa, but it only
happened if I wasn't hooked up to the network. Jay's suggestion to add the
entry in /etc/hosts fixed the problem. Many thanks J.
Jay Turner wrote:
> Leonard Evens wrote:
>
> > I am running RH6.0 on a laptop. Almost always, if
> > I login after booting, it takes forever for the gnome
> > desktop to come up. In addition, I cannot logout
> > and have to use Ctrl-Alt-Backspace to get out. The
> > file .xsession-errors starts off as follows, so it is
> > clear there is some problem connecting to the session
> > manager.
> >
> > gnome-smproxy: unable to connect to session manager
> >
> > GnomeUI-WARNING **: While connecting to session manager:
> > Authentication Rejected, reason : MIT-MAGIC-COOKIE-1 authentication
> > rejected.
> > While connecting to session manager:
> > Authentication Rejected, reason : MIT-MAGIC-COOKIE-1 authentication
> > rejected.
> > GnomeUI-WARNING **: While connecting to session manager:
> > Authentication Rejected, reason : MIT-MAGIC-COOKIE-1 authentication
> > rejected.
> >
> > On subsequent logins I have no problems. Also, I haven't seen this
> > problem on several other machines I have run RH 6.0 on, but some
> > others have reported this or similar problems.
> >
> > --
> >
>
> There are a couple of things that could be wrong with the system and
> causing the problem that you are seeing. First thing, is this machine
> connected to a network?? Gnome has an interesting side-effect that a
> portion of it (CORBA) needs to be able to perform reverse name lookups
> in order to launch applications and the such. The easiest way to make
> sure this is able to happen is to put an entry into the /etc/hosts file
> on your system. Basically all that it needs to contain is the loopback
> address for your machine and the name of your machine. Just mimic the
> entry in that file for localhost and everything will be alright. If
> this does not fix the problem, then I would recommend that you delete
> the .Xauthority file from the home directory of the user that you have
> logged in as when you see these problems (be it root or someone else)
> This will force X to create a new authority file the next time that you
> login. Realize that if you do delete this file, then it will take some
> time to create it the next time that you log in, but everything should
> be fine on further logins.
>
> Finally if none of these ideas work, about the only other thing that
> I can suggest is upgrading to the latest XFree86 that is available from
> updates.redhat.com (currently this is 3.3.3.1-52) There is a known
> race condition in older versions that causes something similar to what
> you are describing, but judging from the message that you sent, I
> really do not think that is it.
>
> - J
>
>
> --
>
--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*
> Jay Turner, QA Engineer [EMAIL PROTECTED] Red Hat,
Inc.
>
> "Only two things are infinite, the universe and human stupidity,
> and I'm not sure about the former."
> -- Albert Einstein
>
>
>
================== Posted via CNET Linux Help ==================
http://www.searchlinux.com
------------------------------
From: Uwe Bonnes <[EMAIL PROTECTED]>
Subject: Re: Demo for SMP on Linux Demo Day
Date: 16 Sep 1999 20:42:00 GMT
Johannes Nix <[EMAIL PROTECTED]> wrote:
: Does somebody know a fine demonstration of Linux SMP Processing on a
: Dual PII Box for SMP processing (preferably of scientific character)?
: For beeing a demonstration, I think it needs some graphic output and
: should be technically interesting.
: But should be something which could not be done so well without Linux.
What about make with and without "-j2" on a kernel tree?
Bye
--
Uwe Bonnes [EMAIL PROTECTED]
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
========= Tel. 06151 162516 ======== Fax. 06151 164321 ==========
------------------------------
From: "Jim" <[EMAIL PROTECTED]>
Subject: Name of Linux?
Date: Thu, 16 Sep 1999 22:45:07 -0000
You can prononce X like S, as in Xerxes and Xerox. Therefor can we prononce
Linux as Linus :-) Linux is 8 years old on the 17th September!
------------------------------
From: [EMAIL PROTECTED] (John McKown)
Subject: Re: getright for linux
Date: 17 Sep 1999 09:30:51 GMT
On Fri, 17 Sep 1999 03:03:03 GMT, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>Hello
> I wonder whether there is a version (or similar software)
>of getright for linux. I need to set up ftp jobs at an specific
>time. Is there any way of doing that on linux?
> Many thanks
>
>Ed
Unfortunately, I don't know what getright does. However, there is a function
in Linux (UNIX) called cron (man cron; man crontab) which can be used to
schedule ANY command or shell script on a recurring basis. In fact, I use
it to logon to my ISP and download my mail and newsgroups every three
hours. If you know which files you need, then you could create a shell
script to ftp download them. Then schedule the shell script via cron.
If you want to pick up all new or changed files from an ftp site, then
I'd suggest "mirrordir". This is a nifty utility which uses standard
ftp to inquire about any new or updated file on an ftp site and download
them to your machine. Actually, it can go the other way also (upload
any changed files on your system to an ftp site). I think that you can
find it by going to http://freshmeat.net . I'm pretty sure that's where
I found it.
John
------------------------------
From: DanH <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.advocacy,comp.os.linux.help,comp.os.linux.questions,alt.os.linux
Subject: Re: "Linux" & "Penguin" copyright ?
Date: Fri, 17 Sep 1999 05:53:51 -0400
data-portal wrote:
>
> Is the word "Linux" and the Linux "Penguin" copyright ?
Yes, the Penguin's name is Tux
> Do I need permission to use both the word Linux and
> Penguin ? Would like to print some T-shirts of it.
I don't think so. Do a search for that on the web
Dan
--
UNIX - Not just for vestal virgins anymore
Linux - Choice of a GNU generation
------------------------------
** 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: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************