Linux-Setup Digest #988, Volume #18 Sat, 24 Jun 00 21:13:09 EDT
Contents:
Re: Enabling swap partition? (Richard)
Re: kpppd dialing problem (David Efflandt)
Re: Ghosting a linux filesystem (Vilmos Soti)
kerneld to modprobe scsi_hostadapter upon mount ("Jeff Ely")
Re: Executables aren't executing (J Bland)
How do I chage from FVWM to KDE or GNOME ("JS")
Activate lilo graphics (Draco Ravenloft)
X messes up my mouse in console! ("Shippy!")
Re: Speeding up the mouse in X 4.0 ("Shippy!")
Re: nslookup error (David Efflandt)
Re: Help with DISPLAY variable (T.T. Lee)
VNC setup question (T.T. Lee)
User Access to Hard Drive Partition ([EMAIL PROTECTED])
Re: How do I chage from FVWM to KDE or GNOME ("David ..")
Re: User Access to Hard Drive Partition ("David ..")
Re: 2 Hard disks, Linux and win98 (Troy Dack)
Re: what the hell is 'Unsolved Symbols' in RH6.2????!!! (Mark Bratcher)
Help! ./file doesn't work either (Shao Jun Ping)
Re: kerneld to modprobe scsi_hostadapter upon mount (Chris Rankin)
----------------------------------------------------------------------------
Subject: Re: Enabling swap partition?
From: Richard <[EMAIL PROTECTED]>
Date: Sat, 24 Jun 2000 16:08:43 -0700
Great. Thanks to all.
Dick
Got questions? Get answers over the phone at Keen.com.
Up to 100 minutes free!
http://www.keen.com
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: kpppd dialing problem
Date: 24 Jun 2000 23:15:27 GMT
Reply-To: [EMAIL PROTECTED]
On Fri, 23 Jun 2000 09:55:27 +0200, Jan Moons <[EMAIL PROTECTED]> wrote:
>This is a multi-part message in MIME format.
>--------------EF58050E5CDF520D1A0024D7
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
Why? Use plain text on Unix related newsgroups.
>Hi,
>
>Finally I got rid of my PCI winmodem. Bought an external one (from
>Logica). But now I am encountering another problem. When I want to
>connect to my ISP via Kpppd, it says initializing modem Expecting OK. So
>it seems that it has problems initializing the modem.
>
>So, I've read some of the FAQs, I've played with CR/LF, pre-inits and
>post-inits, query modem (with this one I can see my leds flicker), but
>nothing helps. It just sits there and says 'expecting OK'.
>
>Is there anything else I can try ?
Do you realize that you are using a different device than you were before.
Did you either fix the symlink so /dev/modem points to the proper device.
Or better yet use the proper /dev/ttyS# directly?
Test the modem be seeing if you get any response to AT commands in
minicom. But make sure you set it to the proper device first.
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/ http://cgi-help.virtualave.net/
------------------------------
Crossposted-To: comp.sys.laptops
Subject: Re: Ghosting a linux filesystem
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Sat, 24 Jun 2000 23:17:45 GMT
[EMAIL PROTECTED] (Robie Basak) writes:
> Warning - if you use dd make sure that you remount the filesystem
> read-only first, or else you might get an inconsistant (corrupted)
> image as the partition changes while other things happen during the dd.
Also, make sure there are no bad blocks on either partitions.
Vilmos
------------------------------
From: "Jeff Ely" <[EMAIL PROTECTED]>
Subject: kerneld to modprobe scsi_hostadapter upon mount
Date: Sat, 24 Jun 2000 18:25:35 -0500
I have a scsi jaz drive. This is the only scsi device in my system. Since
I
use the jaz drive infrequently and have no other scsi devices, I do not
modprobe
scsi_hostadapter at bootup.
However, when I want to mount the jaz drive, I would like to be able to
issue
the mount command and have kerneld modprobe the scsi_hostadapter on the
fly. Is this possible?
I have seen in the kerneld mini-HOWTO that you can do this with a scsi cdrom
by putting in conf.modules
alias scd0 sr_mod
where sr_mod is the driver for the scsi cdrom. However, the jaz drive is
just
a fixed disk and requires no special driver, so I don't see how to do the
analogous
thing.
earnest
------------------------------
From: [EMAIL PROTECTED] (J Bland)
Subject: Re: Executables aren't executing
Date: 24 Jun 2000 23:24:00 GMT
On Sat, 24 Jun 2000 21:56:53 GMT, Nicholas Robbins <[EMAIL PROTECTED]> wrote:
>./'program'
To clarify a little:
do an 'ls -l' on the files on question.
You need to have executable permissions on a file for it to execute eg
-rwxr-xr-x the x's show that the user, group and anyone else can run the
command as ./filename etc.
Script files can also be run with
. scriptfile
If you know a file should be an executable but it doesn't have the correct
permissions then
chmod +x filename
will set them.
Also, with most distros a standard 'ls' will highlight executable files in a
particular colour (directories in another colour etc).
If it still doesn't run you're doing something wrong.
JB
------------------------------
Reply-To: "JS" <[EMAIL PROTECTED]>
From: "JS" <[EMAIL PROTECTED]>
Subject: How do I chage from FVWM to KDE or GNOME
Date: Sun, 25 Jun 2000 01:27:13 +0100
Hi
This is my first linux installation, after installing Red Hat Linux V6 the x
window that was install is FVWM and would like to use KDE or Gnome.
Regards
JS
------------------------------
From: Draco Ravenloft <[EMAIL PROTECTED]>
Crossposted-To: alt.uu.comp.os.linux.questions,alt.os.linux.mandrake,ahn.tech.linux
Subject: Activate lilo graphics
Date: Sat, 24 Jun 2000 18:34:23 -0500
Ok, I've upgraded my Lilo to a version that is graphically based rather
than text........
uhmm.... i have one problem though.....
I can't figure out how to turn the graphics on........ it still loads in
text and I'm not having great deal of luck wif the docs.
------------------------------
From: "Shippy!" <[EMAIL PROTECTED]>
Subject: X messes up my mouse in console!
Date: Sat, 24 Jun 2000 17:39:01 -0600
I finally figured out how to make my mouse move faster and
how to get my middle scroll wheel to work (I'm using a
Logitech TrackMan+), but now after I start X, my mouse
in the console is screwed up until I reboot. It gets
stuck in the upper right-hand corner and stays there. Restarting
gpm doesn't help. I'm running X 4.0 on Linux Mandrake 7.1
with Kernel 2.2.16. Here's a snippet from my XF86Config-4:
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
Option "Resolution" "1200"
# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"
# ChordMiddle is an option for some 3-button Logitech mice
# Option "ChordMiddle"
EndSection
If somebody could help me figure out why this is happening
and how to fix it, I'd sure appreciate it. Thanks!
--
+-----------------------------------------------------+
| Jeff "Shippy" Shipman E-Mail: [EMAIL PROTECTED] |
| Computer Science Major ICQ: 1786493 |
| New Mexico Institute of Mining and Technology |
| Homepage: http://www.nmt.edu/~shippy |
+-----------------------------------------------------+
------------------------------
From: "Shippy!" <[EMAIL PROTECTED]>
Subject: Re: Speeding up the mouse in X 4.0
Date: Sat, 24 Jun 2000 17:39:55 -0600
Nevermind. I found the "Resolution" option and that
fixed my problem.
--
+-----------------------------------------------------+
| Jeff "Shippy" Shipman E-Mail: [EMAIL PROTECTED] |
| Computer Science Major ICQ: 1786493 |
| New Mexico Institute of Mining and Technology |
| Homepage: http://www.nmt.edu/~shippy |
+-----------------------------------------------------+
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: nslookup error
Date: 24 Jun 2000 23:37:53 GMT
Reply-To: [EMAIL PROTECTED]
On Fri, 23 Jun 2000 11:09:30 -0500, Rod Roddy <[EMAIL PROTECTED]> wrote:
>Hello everyone, I'm new here and a some what a newbie at Linux. Got a
>problem with my named installation.
>
>I have named running and seems to work great. the box pings any address on
>the internet that I try, however. most times, not all times, when I use
>nslookup, I get the following error:
>
>nest[8:39am]:/root# snooker
>*** Can't find server name for address 204.112.116.100: Server failed
>*** Default servers are not available
>nest[8:39am]:/root# snooker
>*** Can't find server name for address 204.112.116.100: Server failed
>*** Default servers are not available
>nest[8:45am]:/root#
>
>Ideas?
Is this nameserver listed in your /resolv.conf, or is it really a
nameserver at all (resolves to pc100.cpnet.escape.ca)?
Were you connected to the internet at the time?
What does this have to do with your own DNS, or is this the IP and
hostname of your box? If it is, try using 127.0.0.1 for a nameserver on
the box running DNS, or at least put the name for its IP in /etc/hosts:
$ nslookup 204.112.116.100
Server: localhost
Address: 127.0.0.1
Name: pc100.cpnet.escape.ca
Address: 204.112.116.100
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/ http://cgi-help.virtualave.net/
------------------------------
From: T.T. Lee <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,alt.os.linux.suse,comp.os.linux.networking
Subject: Re: Help with DISPLAY variable
Date: Sat, 24 Jun 2000 23:37:25 GMT
Hi, I have a quick question. I changed my ~/.vnc/xstartup from the
default:
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &
to
> #!/bin/sh
>
> xrdb $HOME/.Xresources
> # xsetroot -solid grey
> xsetroot -solid slateblue
> xterm -geometry 80x24+10+10 -ls -r -title "$VNCDESKTOP Desktop" &
> # twm &
> enlightenment &
But after I kill the vncserver and then login again using my Win98 VNC
client, I'm still seeing the twm interface... did I do anything wrong??
Also, on the vnc FAQ page:
http://www.uk.research.att.com/vnc/faq.html#q20
"The window manager is started by the ~/.vnc/xstartup script. We use
twm, as this is available on almost all Unix platforms. Edit the script
if you'd rather replace it with something else. On many platforms you
can, as an alternative, just make xstartup a link to whatever script
normally starts your X environment."
So I copied my startx script to ~/.vnc/ to replace the xstartup
but after I login again, I'm still seeing the twm, not gnome... did I
do anything wrong? Thanks!
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> On Sat, 3 Jun 2000, Tom Millington <[EMAIL PROTECTED]> wrote:
> >I am trying to log into a SuSe 6.4 server from a Windows 98 PC and
succeed
> >when using NetTerm, or an equivalent, connecting simply by TCP/IP.
However,
> >I want to use the PC as an X-client or a VNC client. I have loaded
the
> >client software ok and have loaded the VNC X-Server ok at the Linux
end, but
> >in both X- and VNC- I get a message saying Linux cannot recognise
the client
> >IP address. I have set the DISPLAY variable for the login as follows:
> >
> >DISPLAY=193.1.1.130:0:0
> >export DISPLAY
> >
> >a). Is this right (the IP address of the PC is 193.1.1.130 and it
pings ok
> >and logs in using NetTerm).
>
> I think you have one too many ':0' in there. But what are you
running for
> an X server on the Win98 box and and is it set up to allow a
connection
> from the remote Linux box?
>
> >b). Is there anything else I should be setting in SuSe Linux (remote
login
> >config files?)
>
> Nothing else really.
>
> To connect to the vncserver on the Linux box you do not even have to
> telnet to it unless you need to start vncserver on the Linux box. You
> simply start the VNCviewer on the Win box and point it to the
hostname or
> IP and port (usually :1, but vncserver tells you when it starts) of
the
> Linux box, fill in your password when it asks, and you should then be
> connected.
>
> I just changed a couple of lines of ~/.vnc/xstartup to give it a bit
more
> color than the default twm:
>
> #!/bin/sh
>
> xrdb $HOME/.Xresources
> # xsetroot -solid grey
> xsetroot -solid slateblue
> xterm -geometry 80x24+10+10 -ls -r -title "$VNCDESKTOP Desktop" &
> # twm &
> enlightenment &
>
> --
> David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
> http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
> http://hammer.prohosting.com/~cgi-wiz/ http://cgi-
help.virtualave.net/
>
>
--
If possible, please cc me a copy of your reply! Thanks!
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: T.T. Lee <[EMAIL PROTECTED]>
Subject: VNC setup question
Date: Sat, 24 Jun 2000 23:41:26 GMT
Hi, after I read the vnc FAQ on this web page:
http://www.uk.research.att.com/vnc/faq.html#q20
I noticed that:
"The window manager is started by the ~/.vnc/xstartup script. We use
twm, as this is available on almost all Unix platforms. Edit the script
if you'd rather replace it with something else. On many platforms you
can, as an alternative, just make xstartup a link to whatever script
normally starts your X environment."
But I don't like twm as it is too simple. I would like to have
enlightment or Gnome as the default. I tried to copy startx script to
replace the xstartup script, but it didn't work.. how do I change the
xstartup script so that after I connection to my linux box (using vnc
client on my Win98), it will look EXACTLY the same as what I see on X
terminal? Thanks!
--
If possible, please cc me a copy of your reply! Thanks!
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED]
Subject: User Access to Hard Drive Partition
Date: Sat, 24 Jun 2000 23:54:26 GMT
Hello:
In /etc/fstab there is this line
/dev/fd0 /mnt/floppy msdos user,noauto 0 0
this allows any user to mount the floppy. The mounting user can also
write to the floppy.
I want similar behavior for a hard disk partition. But the line
/dev/hda1 /mnt/ide ext2 user,noauto 0 0
indeed allows any user to mount the drive, but only root can write to
it. To keep things simple, how can I allow the mounting user (or any
non-super-user for that matter) to write to the mounted partition?
To make things more complicated, how can I specify that only members of
a certain group can write to it?
Please note that this is an ext2 partition. the uid= and gid= options
are invalid for ext2 partitions, so that is not the solution.
Thanks for your help.
Jeff
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: "David .." <[EMAIL PROTECTED]>
Subject: Re: How do I chage from FVWM to KDE or GNOME
Date: Sat, 24 Jun 2000 19:05:43 -0500
JS wrote:
>
> Hi
>
> This is my first linux installation, after installing Red Hat Linux V6 the x
> window that was install is FVWM and would like to use KDE or Gnome.
man switchdesk
--
Registered with the Linux Counter. http://counter.li.org
ID # 123538
------------------------------
From: "David .." <[EMAIL PROTECTED]>
Subject: Re: User Access to Hard Drive Partition
Date: Sat, 24 Jun 2000 19:11:22 -0500
[EMAIL PROTECTED] wrote:
>
> Hello:
>
> In /etc/fstab there is this line
>
> /dev/fd0 /mnt/floppy msdos user,noauto 0 0
>
> this allows any user to mount the floppy. The mounting user can also
> write to the floppy.
I think it should be this.
/dev/hda1 /mnt/ide ext2 user,owner,rw,noauto 0 0
--
Registered with the Linux Counter. http://counter.li.org
ID # 123538
------------------------------
From: Troy Dack <[EMAIL PROTECTED]>
Subject: Re: 2 Hard disks, Linux and win98
Date: Sun, 25 Jun 2000 00:36:29 GMT
DeAnn Iwan wrote:
> It is possible to install one operating system on each disk. But,
> first put a tiny DOS partition on the drive you want to use for Linux.
> Otherwise, Windows will die trying to find where its stuff is on the
> disk where it owns no space. (Take your 1.2 gig disk, use windows fdisk
> to free up the whole disk, then put a tiny fat16 partition back on the
> disk.)
???
I've got two ide drives, 17GB and 4Gb, the 17GB has a variety of partitions on it
with the 1st being a primary, bootable FAT32 Win98 install, the others are a
mixture of FAT32 and ext2. The 4GB is entirely dedicated to Linux with 1
partition for / and another smaller one for /swap.
Windows has no problems with the second drive, it doesn't exist as far as Windows
is concerned, the only time it gets seen is with disk partioning utilities (ie:
DOS fdisk, Partition Magic etc..)
> You can use many methods to boot. I use Lilo in the MBR, with a
> default set to dos/win, for example. Most distributions will set this
> up automatically for you. You can also boot first into dos/win and then
> use loadlin to boot linux. Or, you can just use a floppy to boot to
> linux when you want to do that.
>
I use PowerQuest's Boot Magic, nice GUI front end for the wife, but LILO works
just as well and can be set to boot into Windows after a time-out period.
To boot Linux from the second drive using Linux you will have to tell LILO to
install on the MBR of the first drive. It might complain that this is an unsual
setup, but it should work.
HTH,
Troy.
------------------------------
From: Mark Bratcher <[EMAIL PROTECTED]>
Subject: Re: what the hell is 'Unsolved Symbols' in RH6.2????!!!
Date: Sat, 24 Jun 2000 20:30:28 -0400
[EMAIL PROTECTED] wrote:
>
> RH6.2
>
> make xconfig
> make dep clean bzImage
> delete /lib/modules/2.2...
> make modules
> make modules_install
> move the bzImage file to /boot, rename it to vmlinuz-2...
> move the System.map file to /boot, rename to System.map.2.....
> don't have to edit the /etc/lilo.conf, 'cause the file name is the same.
> lilo
> reboot, then I got tons of ''Unsolved Symbols' in boot.
>
I haven't looked closely at what the 'clean' target actually removes,
but I tend to do the build in the following order:
delete /lib/modules/2.2...
make xconfig
make clean
make dep
make bzImage
make modules
make modules_install
cp System.map /boot/System.map.2...
cp arch/i386/boot/bzImage /boot/vmlinuz-2...
ln -s /boot/vmlinuz-2... /boot/vmlinuz
ln -s /boot/System.map.2... /boot/System.map
lilo
reboot
Given what you said about your lilo.conf, you probably don't need the
'ln -s' lines.
-
Mark Bratcher
mailto:[EMAIL PROTECTED]
=========================================================
Escape from Microsoft's proprietary tentacles: use Linux!
------------------------------
Date: Sun, 25 Jun 2000 08:57:51 +0800
From: Shao Jun Ping <[EMAIL PROTECTED]>
Subject: Help! ./file doesn't work either
Dear all,
Typing ./file has been suggested by many pple
but that was one of the first things I tried!
Note that when I created a new file with the exact same contents
with a text editor, the script executes perfectly.
Any ideas?
P.S I am a 2-month old newbie
C Sanjayan Rosenmund wrote:
> Shao Jun Ping wrote:
> >
> > Dear all:
> >
> > I came across an extremely weird problem with my Mandrake 7.0 distro:
> > I tried executing a shell script on a cdrom from the bash prompt and got
> >
> > the "no such file or directory" error.
> >
> > When I copied the file to the harddisk, I get the same error.
> > Renaming the file did not help either.
> >
> > However when I copied the contents of the script and pasted it into a
> > new file (with a text editor) the script runs perfectly!
> >
> > Can anyone help me out here?
> >
> > I have tweaked the permissions, the cdrom mounting options, and even
> > changed the default shell, but nothing seems to work.
> >
> > Thanks and best regards.
> Try
> ./<name-of-script>
>
> --
> Sanjay
> [EMAIL PROTECTED]
> Windows has detected that a gnat has farted near your computer.
> Press any key to reboot.
------------------------------
From: Chris Rankin <au.zipworld.com@{no.spam}rankinc>
Subject: Re: kerneld to modprobe scsi_hostadapter upon mount
Date: Sun, 25 Jun 2000 10:58:58 +1000
Jeff Ely wrote:
>
> I have a scsi jaz drive. This is the only scsi device in my system. Since
> I use the jaz drive infrequently and have no other scsi devices, I do not
> modprobe scsi_hostadapter at bootup.
This is analogous to using a ZIP drive, so the ZIP mini-HOWTO might
help. For instance, to load SCSI support for my ZIP drive, I put the
following lines in my /etc/modules.conf:
# ZIP 100 support (parallel port)
pre-install sd_mod modprobe -k ppa
i.e. before loading the SCSI disk support, make sure that the ppa host
adapter is loaded. The -k option tells modprobe that the ppa module can
be unloaded when no longer used. I have other lines in my modules.conf
to configure the parallel ports, of course.
I noticed that you mentioned "kerneld". This is a Linux 2.0-ism; if
you're using >= Linux 2.2 then you should be using kmod - look in
/usr/src/linux/Documentation/kmod.txt
Chris
------------------------------
** 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.setup) 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-Setup Digest
******************************