Linux-Misc Digest #864, Volume #21 Sat, 18 Sep 99 22:13:12 EDT
Contents:
Re: Best Linux Distro? / Best GUI? ("Matthew R. Pavlovich")
How do I fetch PPP stats in Kernel 2.2.15? (Taura)
Orbit: What the heck is it? (Kenny McCormack)
Re: Splicing files together (Robert Heller)
Re: Linux newbie installation help (Robert Heller)
Re: How do I fetch PPP stats in Kernel 2.2.15? (Taura)
Re: How can I change telephone numbers in /etc/chatscript with a dialog?
([EMAIL PROTECTED] (Asher ))
Re: <<<Lets face it...Linux is for geeks like u n me>>> (Richard Steiner)
Re: Best Linux Distro? / Best GUI? (Darren Winsper)
Re: I WANT TO DITCH WINDOZE BUT I CANT!!! (Richard Steiner)
Re: File permissions when mounting vfat or msdos partition (Robert Heller)
Re: Screen resolution (Robert Heller)
Re: Adding swap space to drive with data... easy? (Peter Samuelson)
Re: * * * DUMBASS QUESTION OF THE WEEK * * * (Dowe Keller)
WIN95/LINUX ([EMAIL PROTECTED])
----------------------------------------------------------------------------
From: "Matthew R. Pavlovich" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.admin
Subject: Re: Best Linux Distro? / Best GUI?
Date: Sat, 18 Sep 1999 19:15:04 -0500
> Don't we all (Mutters about Debian not seeming to have Pine but
> praises apt).
Debian has pine.. but the pine license doesn't allow pine to be
distributed in binary form.. so you download pine3.xxx-src*.deb and it
installs the source in /usr/src/pine/ all you have to do is a
./debian/rules binary from the root of the source tree.
Matt
------------------------------
From: Taura <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: How do I fetch PPP stats in Kernel 2.2.15?
Date: 18 Sep 1999 17:26:21 PDT
Reply-To: [EMAIL PROTECTED]
Does anyone have some example code to open the ppp0 interface and fetch
PPP stats?
The current code I have for 2.0.13 wouldn't even compile with 2.2.15, it
looks like there were some major changes.
Could someone please help me, this information is needed to upgrade
XPPPConsole to 2.2.x kernels.
(Please reply on this news group)
------------------------------
From: [EMAIL PROTECTED] (Kenny McCormack)
Subject: Orbit: What the heck is it?
Date: 18 Sep 1999 19:29:55 -0500
Reply-To: [EMAIL PROTECTED]
Subject pretty much says it all. I just installed latest RH on a machine,
and it installed and is running something called orbit. "locate orbit" finds
a bunch of executables and stuff, but no man pages. I've gathered that it
has something to do with GNOME/KDE (which I installed, but do not use).
------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: Splicing files together
Date: Sat, 18 Sep 1999 23:41:25 GMT
"Steve D. Perkins" <[EMAIL PROTECTED]>,
In a message on Thu, 16 Sep 1999 17:16:57 -0400, wrote :
"DP> I just wrote a simple little tcl/tk script on my MS-Windows box that
"DP> will take a large file and split it into floppy-disk size chunks to make
"DP> it easier to transfer to another machine. The script basically just
"DP> does a byte-by-byte copy from input file to each output "chunk"... and
"DP> then creates a DOS batch file that "glues" them back together on the
"DP> other machine without it having to have the tcl/tk script installed.
"DP>
"DP> I did this by using a seldom-used feature in COMMAND.COM's internal
"DP> "copy" command... where if you use a "+" sign in between multiple input
"DP> files, it will splice them together to form the output file. For
"DP> example... if the script creates chunks titled "chunk.1" and "chunk.2",
"DP> the batch file created might consist of:
"DP>
"DP> copy chunk.1+chunk.2 original_file
"DP>
"DP> I was wanting to make a Linux "port" of the same script... but have
"DP> run into the problem of not knowing any internal unix commands I can use
"DP> as an equivalent to DOS-copy's functionality. I've looked through the
"DP> man pages for "cp"... but it doesn't seem to have the same feature.
"DP>
"DP> Does anyone know of any standard unix built-in command I can
"DP> reference in the re-joining script... that can take my "chunk" files and
"DP> simply splice them back together into the original file's form without
"DP> them having to have the same tcl/tk script on their system?
cat chunk.1 chunk.2 chunk.3 > original_file
There is also 'split':
split -b 1440k original_file chunk.
There really is no need to bother porting your script to Linux. Linux
has the functionallity 'built-in'. So does any UNIX system.
"DP>
"DP>
"DP> Steve
"DP>
"DP>
"DP>
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: Linux newbie installation help
Date: Sat, 18 Sep 1999 23:41:24 GMT
"Blacka" <[EMAIL PROTECTED]>,
In a message on Thu, 16 Sep 1999 13:08:56 -0700, wrote :
"> Ok, I just bought a Pentium 90 with the intent of installing linux on it. I
"> am trying to learn linux on this box. It doesnt have a cd rom however, but
"> it has a network card. I was planning installing it via NFS, using my other
"> machine which has a cdrom drive. Problem :The network card won't load in DOS
"> (it's running a slim version of DOS 6.22).
">
"> My question is : Since DOS won't load the driver, when I try installing
"> Linux via NFS, will linux recognise the Network card and start the
"> installation or will it fail?? The network card works fine, its just that
"> the driver won't load in DOS.
Linux does not use or need MS-DOS. It should have its own drivers for
the network card.
Just make sure that the server machine is properly setup to export the
CD-ROM drive and allows access from the client machine (the machine you
are installing Linux on).
">
"> Thanks Much
"> Orrin Jolly
">
">
">
">
">
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
------------------------------
From: Taura <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp.os.linux.help
Subject: Re: How do I fetch PPP stats in Kernel 2.2.15?
Date: 18 Sep 1999 17:15:07 PDT
Reply-To: [EMAIL PROTECTED]
"Michael L. Black" wrote:
> lonestar.texas.net has an example of ppp and chap. It is located under
> Other Operating Systems.
> Use the /var/log/messages file to debug and get starting and stopping stats.
>
Is this with code? Shouldn't Linux 2.x be advanced enough to allow to provide
stats
using ioctl() instead of fetching through file? Linux 1.x was certainly able
to provide that.
Did somethign break?
--
Sincerely, ,"-_ \|/
-Taura , O=__ --X--
..__ ,_JNMNNEO=_ /|\
OMNOUMmnne. {OMMNNNEEEEOO=_
UOOOBIOOOEOMMn. 'LONMMMMNNEEEOOO=.__..,,..
UUOOEUUOOOOOOOObe '"=OMMMMWNEEEOOOOO,"=OEEEOO=,._
OOUUUIEEIOONNOIUbe. "7OMMMMNNNNNWWEEEEOOOOOO" "'.
EEBNNMMMNWNWWEEIMMNe. __ 7EMMMNNNNNWWWEEEEEEEOO. " .
NNMMMMWWWMMMWEINMMMNn "=BBEEEEMMMMMMMMNNNWWWEEOOOOO=._ .
http://furry.ao.net/~learfox/
------------------------------
From: [EMAIL PROTECTED] (Asher <[EMAIL PROTECTED]>)
Crossposted-To: alt.os.linux
Subject: Re: How can I change telephone numbers in /etc/chatscript with a dialog?
Reply-To: [EMAIL PROTECTED]
Date: Sat, 18 Sep 1999 23:42:33 GMT
On Fri, 17 Sep 1999 18:21:36 GMT, Phillip Deackes <[EMAIL PROTECTED]> wrote:
>In article <[EMAIL PROTECTED]>, Ian Smith wrote:
>>Phillip Deackes wrote:
[snip]
>As I said in my original question, my IP changes the telephone numbers
>each weekend and I want a way of adding the correct number on a Friday
>evening in a more elegant way than editing the chatscript. When I used
>an IP which used the same number each weekend it was easy to have a cron
>job which substituted the weekend number at midnight Friday and the
>weekday number at midnight Sunday.
You could do it like this: (replacing the chatscript bits with your own):
#!/usr/bin/perl -w
my $script_path='/etc/ppp/chatscript';
open SCRIPT, ">$script_path" or die "Can't open $script_path: $!";
print"Enter new dialup phone number: ";
my $phone_number =<>;
$phone_number =~ s/[^\d]//g;
print SCRIPT <<END_CHAT;
TIMEOUT 5
"" ATZ
OK ATDT$phone_number
ABORT "NO CARRIER"
ABORT BUSY
ABORT "NO DIALTONE"
ABORT WAITING
TIMEOUT 45
CONNECT ""
TIMEOUT 5
ogin: username word: password
END_CHAT
close SCRIPT;
You could link the above script to an icon, with action xterm -e
scriptname.
There are still security issues to think about. If you become root to
run this script, you risk disaster because you will not be alert when
performing such a routine action. Suid scripts are not permitted.
Maybe the lesser evil is to chmod g+rw /etc/ppp/chatscript and make
your normal account part of the appropriate group.
------------------------------
From: [EMAIL PROTECTED] (Richard Steiner)
Subject: Re: <<<Lets face it...Linux is for geeks like u n me>>>
Reply-To: [EMAIL PROTECTED]
Date: Sat, 18 Sep 1999 19:39:23 -0500
Here in comp.os.linux.misc, [EMAIL PROTECTED] (Gergo Barany)
spake unto us, saying:
>I don't want to get caught up in advocacy issues, but I thought I'd
>mention that "the beginning" of Windows was not four years ago. The
>first Windows I used was 3.0 or 3.1 in 1991; the very first versions
>must be more than ten years old now.
My first Intel PC was a Dell System 220 (80286/20), and it came with
MS-DOS 3.3 and a copy of Windows/286 2.1. That was in 1988.
Before Windows 3.0, many vendors included a Windows 2.1 run-time along
with their programs, so you didn't need a separate Windows per se, and
AFAIK it didn't really catch on as a full-time desktop platform until
people started buying 386 machines and running Windows 3.0 in "enhanced
mode" (which used the chip's V86 mode to run DOS programs in a window).
I think Windows/386 2.1 might've had that as well, but I didn't know
anyone with a 386 in 1988. :-)
--
-Rich Steiner >>>---> [EMAIL PROTECTED] >>>---> Bloomington, MN
OS/2 + Linux + BeOS + FreeBSD + Solaris + WinNT4 + Win95 + DOS
+ VMWare + Fusion + vMac + Executor = PC Hobbyist Heaven! :-)
La la la...
------------------------------
From: [EMAIL PROTECTED] (Darren Winsper)
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.admin
Subject: Re: Best Linux Distro? / Best GUI?
Date: 18 Sep 1999 22:44:46 GMT
On Sun, 19 Sep 1999 12:11:13 +0930, Klea Dzonsons
<[EMAIL PROTECTED]> wrote:
> Okay, I cant really be considered a newbie anymore, but I still have alot to
> learn.
Don't we all (Mutters about Debian not seeming to have Pine but
praises apt).
> Anyhow, what exactly *is* a kernel panic?
That's a kind of ironic statement, considering what it is. A kernel
panic occurs when Linux crashes, the functional equivalent of a BSOD.
> Ive heard that phrase being used alot, but what exactly happens during a
> kernel panic,
> what are the effects on the OS when this happens?
It stops working usually.
--
Darren Winsper - http://easyweb.easynet.co.uk/darren.winsper
Stellar Legacy project member - http://www.stellarlegacy.tsx.org
"The only thing stopping GDI from plastering Kane to the floor and
making him scream 'I am Solomon's bitch' is that Orca Bombers are a
bit on the expensive side" - Zagadka in alt.games.tiberian-sun
------------------------------
From: [EMAIL PROTECTED] (Richard Steiner)
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.questions
Subject: Re: I WANT TO DITCH WINDOZE BUT I CANT!!!
Reply-To: [EMAIL PROTECTED]
Date: Sat, 18 Sep 1999 19:47:58 -0500
Here in comp.os.linux.misc, [EMAIL PROTECTED] (Darren Winsper)
spake unto us, saying:
>On Fri, 17 Sep 1999 17:03:59 GMT, Anthony Ord
><[EMAIL PROTECTED]> wrote:
>
>> >Until I can run
>> >them under Linux, I have no choice but to use Windows for them. The
>> >constant reboots are getting annoying though.
>>
>> Buy another computer...;-)
>
>Oh yeah, I forgot, us poor students are rolling in so much cash these
>days :)
Pentium-class machines can be obtained from sites like uBid or eBay for
under $100 (no monitor). Heck, the last two PPro/200s I purchased were
$209 apiece on uBid. I could have afforded one of those when I was in
college -- sadly, Pentiums or PIIs didn't exist in 1981. :-)
If you use something like VNC, you may not need a monitor on the second
box. Or buy a KVM switch.
--
-Rich Steiner >>>---> [EMAIL PROTECTED] >>>---> Bloomington, MN
OS/2 + Linux + BeOS + FreeBSD + Solaris + WinNT4 + Win95 + DOS
+ VMWare + Fusion + vMac + Executor = PC Hobbyist Heaven! :-)
The universe is a spheroid region 705 meters in diameter.
------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: File permissions when mounting vfat or msdos partition
Date: Sun, 19 Sep 1999 00:58:20 GMT
[EMAIL PROTECTED] (BJW7TOAEM),
In a message on 18 Sep 1999 21:55:32 GMT, wrote :
B> I am running Red Hat 6 on my system. I have Linux on one partition and another
B> partition I use for Windows. I mount the windows partition to /mnt/c but only
B> root can write to it and I would like to make it so other users can write to
B> it. How do I change the permissions, so that other users can write to the
B> windows partition when it is mounted in Linux? Thanks in advance for your
B> answers!
Since MS-Windows does not implement owners or permissions, Linux has to
'fake it'. This is done with options to mount (either on the mount
command itself or via /etc/fstab). Look at 'man 8 mount':
...
Mount options for fat
(Note: fat is not a separate filesystem, but a common part
of the msdos, umsdos and vfat filesystems.)
...
uid=value and gid=value
Set the owner and group of all files. (Default: the
uid and gid of the current process.)
umask=value
Set the umask (the bitmask of the permissions that
are not present). The default is the umask of the
current process. The value is given in octal.
...
B>
B> -John
B> John H.
B> Twinkling Of An Eye Ministries Web Site
B> http://members.aol.com/BJW7TOAEM/index.html
B>
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: Screen resolution
Date: Sun, 19 Sep 1999 00:58:19 GMT
"Alston Adams" <[EMAIL PROTECTED]>,
In a message on Thu, 16 Sep 1999 12:25:42 -0400, wrote :
"A> I have a ridiculous screen resolution when I start Linux. I can barely see
"A> any part of the screen. How do I set the screen resolution to something more
"A> reasonable?
*Somebody* needs to seriously re-write xf86config or Xconfigurator....
Both xf86config and Xconfigurator write the screen resolutions from
fewest to most pixels and the X server always uses the first viable
resolution it finds. There are two things you can do:
1) Use Ctrl-Alt-+ and Ctrl-Alt-- to walk up and down the resolutions (and
thus see which ones actually work with your settings).
2) Edit /etc/X11/XF86Config and change the ordering of the resolutions.
Somewhere towards the end of the file are one (or more) sections that
describe the display:
Section "Screen"
Driver "svga"
Device "Generic VGA"
#Device "My Video Card"
Monitor "My Monitor"
Subsection "Display"
Depth 8
#Modes "1024x768"
ViewPort 0 0
Virtual 320 200
#Virtual 0 0
EndSubsection
EndSection
Or
# The accelerated servers (S3, Mach32, Mach8, 8514, P9000, AGX, W32, Mach64
# I128, and S3V)
Section "Screen"
Driver "accel"
Device "My Video Card"
Monitor "My Monitor"
Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
Virtual 0 0
EndSubsection
EndSection
Depending on if you are using the SVGA server or an accelerated server.
Look for the 'Modes' line. It will probably look like:
Modes "320x240" "640x480" "800x600" "1024x768" "1280x1024"
Change this to be something like:
Modes "1280x1024" "1024x768" "800x600" "640x480" "320x240"
Now X will come up in the highest resolution. Feel free to use a
different ordering. ("1280x1024" on a 15" monitor is probably hard to
use, even if your video board and monitor can handle it.)
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
------------------------------
From: [EMAIL PROTECTED] (Peter Samuelson)
Crossposted-To: comp.os.linux.development.system,alt.os.linux,comp.os.linux.setup
Subject: Re: Adding swap space to drive with data... easy?
Date: 18 Sep 1999 20:21:30 -0500
Reply-To: Peter Samuelson <[EMAIL PROTECTED]>
Please, Content-Type: multipart/alternative and Content-Type: text/html
are both evil. Disable!
[Mark D'Ascenzo <[EMAIL PROTECTED]>]
> I have a plan to reformat my partition table to add swap space. I've
> listed my scheme below. Will it work? Please email or post
> comments. Your thoughts could save me tons of time.
> Device Boot Start End Blocks Id System
> /dev/hda1 1 131 1052226 b Win95 FAT32
> /dev/hda2 132 1232 8843782+ 5 Extended
> /dev/hda5 132 144 104391 83 Linux native
> /dev/hda6 145 863 5775336 83 Linux native
> /dev/hda7 864 1080 1743021 83 Linux native
> /dev/hda8 1081 1170 722893+ 83 Linux native
> /dev/hda9 1171 1190 160618+ 83 Linux native
> /dev/hda10 1191 1206 128488+ 82 Linux swap
> /dev/hda11 1207 1219 104391 83 Linux native
> /dev/hda12 1220 1232 104391 83 Linux native
> Device Boot Start End Blocks Id System
> /dev/hda1 1 1232 8843782+ 5 Extended <-- note change
> /dev/hda2 1 15 128488 82 Linux swap <-- note change
> /dev/hda13 16 31 128488 82 Linux swap <-- note change
> /dev/hda14 32 131 722893 83 Linux native <-- note change
> /dev/hda5 132 144 104391 83 Linux native
> /dev/hda6 145 863 5775336 83 Linux native
> /dev/hda7 864 1080 1743021 83 Linux native
> /dev/hda8 1081 1170 722893+ 83 Linux native
> /dev/hda9 1171 1190 160618+ 83 Linux native
> /dev/hda10 1191 1206 128488+ 82 Linux swap
> /dev/hda11 1207 1219 104391 83 Linux native
> /dev/hda12 1220 1232 104391 83 Linux native
If I were you I would just go in with `cfdisk', delete the fat32
partition and add two "linux swap" partitions at the beginning. This
would achieve the same effect except that it will renumber your
partitions. Edit /etc/fstab and /etc/lilo.conf accordingly.
I suggest this because this way the responsibility for calculating new
block numbers for the extended partition, etc, is given to cfdisk which
is much smarter than I am about these things. Even so, you probably
want to back up the first 512 bytes of each of /dev/hda and /dev/hda2
into files on a rescue floppy, just in case.
> Is it just as easy as changing the table? Will I aslo need to do
> anything about the FAT32 system or will that happen automatically
> when the partition table is written?
What will not happen is writing swap signatures into the swap
partitions. That you must do with `mkswap'. And while we're on the
subject, make sure you specify different priorities in /etc/fstab for
your three swap partitions, since they are on the same drive.
Finally, as someone else already noted, if you're using a recent kernel
(newer than 2.1.80 or so) and an equally recent util-linux (for mkswap)
you no longer have the 128MB limit on swap file size.
--
Peter Samuelson
<sampo.creighton.edu!psamuels>
------------------------------
From: [EMAIL PROTECTED] (Dowe Keller)
Subject: Re: * * * DUMBASS QUESTION OF THE WEEK * * *
Date: 19 Sep 1999 01:24:43 GMT
On 18 Sep 1999 20:42:07 GMT, Andrew Purugganan <[EMAIL PROTECTED]> wrote:
>So my fetchmail starts up when I boot my standalone PC. No, I'm not
>online yet. Er, how is this fetchmail thing supposed to work? Let's say then
>that I now connect to the net courtesy of my ISP, using PPP & diald
>to do the dirty work. WHat is supposed to happen then? DO I issue commands
>like, go get my mail?? WHat's your setup like, because I haven't a clue.
Well, if you have your .fetchmailrc file set up correctly all you have to
do is say "fetchmail" and fetchmail will download any email you have
and purge (delete) it from the isp. A useful param for testing if it works
properly is the -k option, this makes fetchmail not delete your mail from
the server (just in case sendmail isn't configured properly).
>Do you have an icon that pops up and says, 'Incoming transmission, captain'
No, but you can run fetchmail in daemon mode, which will download mail from
your server every so often. for instance "fetchmail -d 60" would check your
server and download mail every 60 seconds.
If you wish to be notified about new mail you could run biff or xbiff (biff
for X). I have "fetchmail -d 120" in my .bash_profile, and run either biff
or xbiff and my computer beeps at me when I get mail.
As for reading my mail once I get it mutt is very nice IMHO.
>Reading the doc it came with gives me instant tech fatigue without me even
>touching my keyboard
>Thanks for any assist guys, we'll see each other in geek heaven
I thought using Linux was heaven :-)
Dowe Keller [EMAIL PROTECTED]
---
Windows user - thinks CD-ROM drive tray is a cup holder
Linux User - sets his cup on Windows CD-ROM
------------------------------
From: [EMAIL PROTECTED]
Subject: WIN95/LINUX
Date: Sun, 19 Sep 1999 01:45:57 GMT
I am making my first installation of LINUX (5.2) and want two partitions
in my hardisk, one for WINDOWS 95 and the other for LINUX. I am trying
several times the installation but when reboot the system it tells me
LIL and does not continue. WHAT IS HAPPENING? or HOW DO I HAVE TO MAKE
THE INSTALLATION.
THANKS FOR YOUR HELP.
CARLOS.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
** 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
******************************