Linux-Misc Digest #579, Volume #21               Sun, 29 Aug 99 07:13:24 EDT

Contents:
  Re: Serial Port Spiking (James Knott)
  Re: new to linux (Mitja)
  Re: REAL PLAYER in LINUX. Which ver. (Bob Nixon)
  Re: WANTED: Assistance in a newbie documentation project ("twanny")
  Re: Best language for graphical apps? (Spike!)
  Re: Can Linux read NTFS? (Spike!)
  SB PCI128 (Brian Chappell)
  Serial PPP with odds speeds on Linux ? possible ? (Nagendra)
  Bad magic number (Martin Thiede)
  Re: Newbie question - how to make Afterstep the default? (Darren West)
  REQ: xanim I263 + MP43 AVI codecs. (Jan Houtsma)

----------------------------------------------------------------------------

From: [EMAIL PROTECTED] (James Knott)
Subject: Re: Serial Port Spiking
Date: Sat, 28 Aug 1999 20:00:46 -0400
Reply-To: James Knott <[EMAIL PROTECTED]>

In article <Wiiw3.42$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Kristjan Varnik) wrote:
>I am trying to send a 12V spike out the
>serial port so I can overwrite the flash
>protection on a web-phone. And eventually
>put linux on it :)
>
>I have looked around the web and found
>plenty of c code for opening and writing to
>serial ports, but nothing on voltages
>and raw analog signals.

That's probably because such a thing doesn't exist.  An RS-232 com 
port puts out a negative voltage for a mark and a positive voltage for
a space.  The actual voltage depends on the hardware and nothing else. 
There is no way to vary it with software.  It is possible to toggle 
the output of the handshaking lines, to give a pulse with a duration 
controlled by software, but you cannot change the voltage.


-- 
E-mail [EMAIL PROTECTED]
_________________________________________________________________________
The above opinions are my own and not those of ISM Corp., a subsidiary of
IBM Canada Ltd.

------------------------------

From: Mitja <[EMAIL PROTECTED]>
Subject: Re: new to linux
Date: Sun, 29 Aug 1999 11:51:44 +0200

I have SuSE 6.1 Linux and IMHO installation is easy :).

Mitja
=====
http://www2.arnes.si/~ljitis1


On Sun, 29 Aug 1999, [EMAIL PROTECTED] wrote:
>Hi, I am really new to linux, so I want to obtain more info.  My system
>now is pentium II with two partition.  One partition is 2.0 gig for
>win95 and MSDOS, the other partition 1.0 gig for winNT.  Both partitions
>are FAT.  Where can I download linux and what version should I use
>because there are many different linux to me?  Is it hard to install
>linux?  I really appreciate your help.
>
>
>Sent via Deja.com http://www.deja.com/
>Share what you know. Learn what you don't.


------------------------------

From: [EMAIL PROTECTED] (Bob Nixon)
Crossposted-To: alt.os.linux.caldera,comp.os.linux.setup,comp.os.linux.x
Subject: Re: REAL PLAYER in LINUX. Which ver.
Date: Sun, 29 Aug 1999 09:46:54 GMT

On Sat, 28 Aug 1999 21:20:00 -0400, "Gilbert Groehn"
<[EMAIL PROTECTED]> wrote:

>Hello Fello Linux Devotees;
>
>I have just completed my fourth load of Linux (all Caldera 2.2)
>and haven't had so much fun since working on Xerox Parcs
>Lisp machines.   Linux rekindles the days when computing was
>fun and you had to do something beside load a CD and go to
>sleep while it loads.
>
>I am about to download Real Player 5 for my Caldera
>Open Linux 2.2 box and find that there are three possible
>linux versions listed at the Real Player download site.
>
>They Are:
>
>Linux -a.ou
>Linux -ELF
^^^^^^^^^^
As I recall, this one. Version 6.0.4 238 beta. It's on my SuSE 6.1 box
but it should work on the 2.2 box as well. We'll see -:)

>Linux -Redhat 5.X
>
>Which of these versions is most compatible
>with Calders 2.2 and also KDE 1.1.1 ?
>
>I just installed a 3COM USR V90 modem and it seems
>much faster in Linux that Win-98.  Maybe its just my
>imagination but feels like at least 30% faster.
^^^^^^^^^^
More than likely.

Here's a general rule of thumb, so you won't have to say this sort of
subjective stuff. Your connect rate divided by 9, should be what your
download speeds are to a reliable server (like your home directory on
your ISP). Then you can really SAY linux is faster, if it is. 

With PPP, TCP/IP and error correction accounting for the extra
overhead to set your pots modem's thruput to ~9 instead of 8 bits
/byte. You should see something like below for NON compressible zip or
TGZ files. Text files can do up to 4X with modem compression and up to
8X with software compression. In practice text files run about
2.0-2.5:1 compression ratio. So if your DTE is set to 115200 without
software compression, your transfers will be limited to about
11.5KB/sec.
----non compressible----rates with no ftp or net congestion.
40000=~4444 bytes /sec or ~267KB / minute or 3.7 minutes / megabyte
49333=~5481 bytes /sec or ~328KB / minute or 3.1 minutes / megabyte
50666=~5630 bytes /sec or ~337KB / minute or 3.0 minutes / megabyte
52000=~5777 bytes /sec or ~346KB / minute or 2.8 minutes / megabyte

Old Zmodem ASCII line transfers (phone to phone) are maybe 5% better
than above. Also, you can check your Sportster's latency to your DNS
server. It should be 95-110ms  average, if you have a clean dns.

Let's see if this plays out in windows.
----first a non compressible file-------connected @49333 and confirmed
via shell account on ISP: 


Sun Aug 29 01:18:35 Sun Aug 29 01:22:04 ts27.scf 10  209 IPnet
ip-53-046.scf disc=ureq sbd=49333 LAPM/V42BIS

After transfers a reconnect at my usual (49333) speed via ASCII (non
PPP) terminal, with an ati6 command.

U.S. Robotics 56K FAX INT Link Diagnostics...

Chars sent                   18      Chars Received              775
Chars lost                    0
Octets sent                  18      Octets Received             553
Blocks sent                  18      Blocks Received              32
Blocks resent                 2

Retrains Requested            0      Retrains Granted              0
Line Reversals                0      Blers                         0
Link Timeouts                 0      Link Naks                     0

Data Compression       V42BIS 2048/32
Equalization           Long
Fallback               Enabled
Protocol               LAPM
Speed                  49333/28800
V.90 Peak Speed        49333
Current Call           00:00:53
Online
CONNECT 49333/ARQ/V90/LAPM/V42BIS

----transfer data--below--------->

RETR XX.ZIP
150 Opening BINARY mode data connection for XX.ZIP (317526 bytes).
Received 317526 bytes in 57.0 secs, (5.44 KBps), transfer succeeded
226 Transfer complete.
----now a text file (compressible)-----
RETR tin.txt
150 Opening BINARY mode data connection for tin.txt (171455 bytes).
Received 171455 bytes in 14.7 secs, (11.42 KBps), transfer succeeded
226 Transfer complete.
---now an upload (remember uploads are v.34 speeds and not V.90)
---non compressible-------------------
STOR XX.ZIP-- looks like a 28800 Should actually be ~3.2KB/sec
150 Opening BINARY mode data connection for XX.ZIP.
Transmitted 317526 bytes in 99.4 secs, (3.12 KBps), transfer succeeded
226 Transfer complete.
----compressible---upload----show 2.17:1 compression ratio and unlike
the faster 49333 download (2.17X5444=11.8KB/sec. So, it's not
throttled by the 115200 DTE.

STOR tin.txt
150 Opening BINARY mode data connection for tin.txt.
Transmitted 171455 bytes in 23.9 secs, (6.99 KBps), transfer succeeded
226 Transfer complete.

Pings to my dialup DNS are:
Starting ping....
Pinging dns1.primenet.com [206.165.5.10]....
[...]
Ping Successful
50 packets received out of 50 packets transmitted :   0% PACKET LOSS
Round Trip Time (in milliseconds) Max/Min/Av: 127/100/107

Now for my Cable modem transfer rates & latency, just to put things in
perspective -:)

RETR XX.ZIP
150 Opening BINARY mode data connection for XX.ZIP (317526 bytes).
Received 317526 bytes in 1.4 secs, (215.94 KBps), transfer succeeded
226 Transfer complete.  

This so-so transfer is about 40X faster than a respectable v.90
connect speed of 49333.

Starting ping....
Pinging 24.1.208.1....
[...]
Ping Successful
50 packets received out of 50 packets transmitted :   0% PACKET LOSS
Round Trip Time (in milliseconds) Max/Min/Av: 46/3/4

BTW, I can repeat all these numbers on one of my linux boxes, with
little or no differences.

>Any help would be most appreciated.  Incidentally
>my SB card workd great on the CD player and system
>sounds but have not been able to download any sounds
>from www using Netscape 4.51 (I thought they all included
>a media player but this version apparently does not).

Do you mean a "Real player"or strictly mp3 player, like X11amp?
The real player works with linux but you have to download it and setup
the plug in's for Netscape.

>I have another rather foolish question but here goes.  Can I use
>Suse 6.1 files in the Caldera system?  Any conflicts?

I have both and 'generally' they can use the same binaries. However,
RH  or mandrake is a different story


. 
          Bob Nixon
http://members.home.net/bigrex/

------------------------------

From: "twanny" <[EMAIL PROTECTED]>
Subject: Re: WANTED: Assistance in a newbie documentation project
Date: Sun, 29 Aug 1999 10:51:10 +0100

Sorry I wont be much help but I will definitely be watching this space.
Being a newbie myself I haven't got a clue where to start on some subject.
Glad that somebody took the initiative to take on such a useful and
important project.

Keep it up.


Twanny of BORG


Geoff Winans wrote in message ...
>-----BEGIN PGP SIGNED MESSAGE-----
>
>
>The project at hand is something a little deeper than most HOWTO's go.
>(Yes, a How-to project).
>
>Starting from the begining, I intend to begin work on a LARGE series
>of documents that will assist new users (And I do mean NEW!) in
>getting acquainted with, and used to the interface starting at the
>console.
>
>I'm looking for people with experience in ALL areas of Linux,
>especially with the specifics of general distributions.
>
>This is, obviously, volunteer based - but it can be good to have on a
>resume. (Technical writer? :) )
>
>Again, it'll being going from newbie, to getting these people to the
>point of nearly being guru's with it.
>
>It is also something that will take time. But, it is for the good of
>everyone. Especially this great community.
>
>
>~Geoff Winans
>
>- [EMAIL PROTECTED]
>
>
>
>- --
>This article has been digitally signed by the moderator, using PGP.
>http://www.iki.fi/mjr/cola-public-key.asc has PGP key for validating
signature.
>Send submissions for comp.os.linux.announce to:
[EMAIL PROTECTED]
>PLEASE remember a short description of the software and the LOCATION.
>This group is archived at http://www.iki.fi/mjr/linux/cola.html
>
>-----BEGIN PGP SIGNATURE-----
>Version: 2.6.3i
>Charset: latin1
>
>iQCVAgUBN6IJVFrUI/eHXJZ5AQHr0wQAiJHSm1SCfnV1OlCmCU/UOtqD25a8v1HP
>IR1cDBSPcCW+uQajCAha4pdb9JzGLLIrsYPemgFzUtBuOVPWcfsPDBS7sK5zLKTX
>p/6NUbHlSyasMRtyLdV+ohWZQKnPr+PLqiVcl/cAwTo0PvzHGf6Vk/XyHZgFJYNC
>NgDjplbUU0Y=
>=r9Ml
>-----END PGP SIGNATURE-----



------------------------------

From: Spike! <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.x
Subject: Re: Best language for graphical apps?
Date: Sun, 29 Aug 1999 03:15:28 +0100

And verily, didst Kaz Kylheku <[EMAIL PROTECTED]> eloquently scribe:
> On Sat, 28 Aug 1999 15:40:56 +0100, Spike! <[EMAIL PROTECTED]> wrote:
>>In Occam, processes (procedures, functions, etc) are white space dependent.
>>What's wrong with brackets I'll never know, but adding a new process often
>>involved indenting and outdenting large portions of your already written
>>code....

> Your objuction is meaningless, because if you change the nesting level in any
> block structured language, you have to change the indentation, even if this is
> not required by the language syntax. Failing to do so should be grounds for a
> public flogging with a wet noodle.

But when the syntax DEPENDS on it, it can be very difficult to trace a bug,
whereas it's relatively easy to trace matching brackets...

> I don't know what makes you think that you can get away without doing this.

Nothing, but Occam is just a complete b'stard of a language and was a
perfect example of a bad way to do it... 

People should be allowed a little freedom to indent in their own way, and
the bracket is, AFAIC a far more sensible way of parsing control structures
than counting spaces.
-- 
______________________________________________________________________________
| [EMAIL PROTECTED] |                                                |
|    Andrew Halliwell BSc   |"The day Microsoft makes something that doesn't |
|             in            | suck is probably the day they start making     |
|      Computer Science     | vacuum cleaners" - Ernst Jan Plugge            |
==============================================================================
|GCv3.12 GCS>$ d-(dpu) s+/- a C++ US++ P L/L+ E-- W+ N++ o+ K PS+  w-- M+/++ |
|PS+++ PE- Y t+ 5++ X+/X++ R+ tv+ b+ DI+ D+ G e++ h/h+ !r!|  Space for hire  |
==============================================================================

------------------------------

From: Spike! <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Can Linux read NTFS?
Date: Sun, 29 Aug 1999 03:19:03 +0100

And verily, didst Leejay Wu <[EMAIL PROTECTED]> eloquently scribe:
> NT 4.0, by itself, will not read FAT32 (at least as of SP3.  I've not
> looked at SP4 or SP5).  If memory serves, SysInternals has a driver
> available for FAT32; they sell a r/w version, and may have a 
> downloadable r-only driver.   Silly, isn't it? 

You could say that... I would have been a little more contemptuous though... 
(How the hell is it supposed to read user floppies from win9x machines?)

-- 
=============================================================================
| [EMAIL PROTECTED] |   Windows95 (noun): 32 bit extensions and a   |
|                           |graphical shell for a 16 bit patch to an 8 bit |
|   Andrew Halliwell BSc    |operating system originally  coded for a 4 bit |
|            in             |microprocessor, written by a 2 bit company,that|
|     Computer Science      |       can't stand 1 bit of competition.       |
=============================================================================
|GCv3.12 GCS>$ d-(dpu) s+/- a C++ US++ P L/L+ E-- W+ N++ o+ K PS+  w-- M+/++|
|PS+++ PE- Y t+ 5++ X+/X++ R+ tv+ b+ DI+ D+ G e++ h/h+ !r!|  Space for hire |
=============================================================================

------------------------------

From: Brian Chappell <[EMAIL PROTECTED]>
Subject: SB PCI128
Date: Sat, 28 Aug 1999 14:17:59 +0000

I'm am probably missing something really stupid here and am prepared for that.

I have one of the offending cards, I can get CD playback through it once I have
insmod es1370, but I can't get wave playback... anyone got one of these beasts
running?

I'm using Mandrake Linux 6.0 (Venus).

Thanks in advance.
Brian

------------------------------

From: Nagendra <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.networking
Subject: Serial PPP with odds speeds on Linux ? possible ?
Date: Sun, 29 Aug 1999 10:30:59 GMT

I need to use pppd with a odd speed of 64000 on a RS-232 serial interface,
but unfortunatly all that pppd gives is

pppd[546]: pppd 2.3.7 started by root, uid 0
pppd[546]: speed 64000 not supported

but the man pages for pppd mentions that on Systems like 4.4BSD and NetBSD
any speed can be specfied.......so IS LINUX ONE OF THEM ?

or is anyspeed on Linux is not supported with serial/ppp ?

if possible how can it be achnived ?

TIA
Nagendra

==================  Posted via CNET Linux Help  ==================
                    http://www.searchlinux.com

------------------------------

From: Martin Thiede <[EMAIL PROTECTED]>
Subject: Bad magic number
Date: Sun, 29 Aug 1999 12:38:39 +0200

Hi,

i had problems mounting my partition /dev/hdb1 , so i ran e2fsck.
Here's what it put out:

> e2fsck /dev/hdb1
e2fsck 1.14, 9-Jan-1999 for EXT2 FS 0.5b, 95/08/09
Couldn't find ext2 superblock, trying backup blocks...
e2fsck: Bad magic number in super-block while trying to open /dev/hdb1

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate
superblock:
    e2fsck -b 8193 <device>

I tryed:

> e2fsck -b 8193 /dev/hdb1
e2fsck 1.14, 9-Jan-1999 for EXT2 FS 0.5b, 95/08/09
e2fsck: Bad magic number in super-block while trying to open /dev/hdb1

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate
superblock:
    e2fsck -b 8193 <device>

/dev/hdb1 actually IS an ext2 partition:

>fdisk -l

Disk /dev/hda: 255 heads, 63 sectors, 525 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1       261   2096451    6  FAT16
/dev/hda2           262       509   1992060   83  Linux
/dev/hda3           510       525    128520   82  Linux swap

Disk /dev/hdb: 32 heads, 63 sectors, 823 cylinders
Units = cylinders of 2016 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdb1             1       823    829583+  83  Linux


I created /dev/hdb1 yesterday with fdisk, formatted it with YaST,
mounted it on /ext and used it to store one big file (about 400MB).
Everything worked fine. Finally i did shut down my system the normal way
without problems. When I tryed to mount it that morning, there was that
mess.

How can i get that fixed ?

Thanks for your help in advance,


Martin


------------------------------

From: Darren West <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Newbie question - how to make Afterstep the default?
Date: Sun, 29 Aug 1999 10:30:59 GMT

As you have probably already seen, there is more than one way to skin a
cat.  I use RH6 too, and I believe I have a relatively painless way to
accomplish this.
Copy the file /etc/X11/xinit/Xclients to ~/.Xclients
Now edit that file.  In the top 5 lines, you will see
PREFERRED=
Give that the value of the manager you want.  
ex.  PREFERRED=AfterStep
See if you have the file ~/.wm_style
If not, create one with "AfterStep" (minux the quotes) as its only content

Good luck!
dmw
EnYgMa wrote:
> 
> Hello all.
> 
> When I type "startx" in my RH6 installation it automatically defaults to
> Gnome as my X client.   While I like Gnome for its ease of use I would
> rather use Afterstep.   How do I change this?
> 
> Any help appreciated.
> 
> Thanks!
> 
> EnYgMa
> 
> 
> --
> Email address has been foiled to prevent spam.
> 
> Reply to e c 9 9 9 AT hotmail DOT com
> 
> 
> 
> 


==================  Posted via CNET Linux Help  ==================
                    http://www.searchlinux.com

------------------------------

From: Jan Houtsma <[EMAIL PROTECTED]>
Subject: REQ: xanim I263 + MP43 AVI codecs.
Date: Sat, 28 Aug 1999 15:28:19 +0200

Codec modules i would like to see supported in xanim:

I263
MP43

Anybody knows how to play these formats on Linux?

Thanks.
jan

------------------------------


** 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
******************************

Reply via email to