Linux-Setup Digest #687, Volume #19              Sun, 24 Sep 00 08:13:08 EDT

Contents:
  Re: suse 6.4 cannot execute binaries? (Lew Pitcher)
  Need help to move win95 Read only file (Glenn & Pam)
  Re: Linux Partition (Pascal VINCENT)
  Re: Need help to move win95 Read only file (Josef Oswald)
  Re: modem seems to freeze after transferring 500kB ("David ..")
  Re: Making the Framebuffer work ("Todd Goyen")
  Re: IP Masquerading (Uncle Meat)
  Re: Need help to move win95 Read only file ("David ..")
  Re: Installation problems with 40GB disk (Paul Sture)
  Re: modem seems to freeze after transferring 500kB ("David ..")
  Re: IP Masquerading ("Robert")
  SMS from Hostsystem (Alex Fitterling)

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

From: Lew Pitcher <[EMAIL PROTECTED]>
Subject: Re: suse 6.4 cannot execute binaries?
Date: Sat, 23 Sep 2000 22:35:01 -0400

Niels Paree wrote:
> 
> "Christopher W. Aiken" wrote:
> >
> > On Fri, 22 Sep 2000 17:47:14 +0200, Niels Paree wrote:
> > ->"Christopher W. Aiken" wrote:
> > ->>
> > ->> On Fri, 22 Sep 2000 16:29:38 +0200, [EMAIL PROTECTED] wrote:
> > ->> ->hi all.
> > ->> ->
> > ->> ->i've just downloaded StarOffice 5.2 ,but SuSE 6.4 won't execute this
> > ->> ->binary. (so-5_2-ga-bin-linux-en.bin). according to SUN, i should try to
> > ->> ->enter this (so-5_2 etc.bin) at the command line, but all i get when i do
> > ->> ->so is a a bash prompt saying "command not found".
> > ->> ->
> > ->> ->if i enter " . so-5_2-ga-bin-linux-en.bin at the command line, there is
> > ->> ->some activity for a minute of two, but afyer that all i get is a message
> > ->> ->that the binary could not be executed.
> > ->> ->
> > ->> ->i tried to download so5.2 twice, so I don't think the .bin is corrupted.
> > ->> ->
> > ->> ->does anyone know how i can get SuSE to execute this .bin, of is there
> > ->> ->another way i should try to install it?
> > ->> ->
> > ->> ->thx in advance,
> > ->> ->
> > ->> ->Niels
> > ->>
> > ->> Try adding "./" ( w/o qutes ) to the front of your bin file.
> > ->> (i.e.  ./so-5_2-ga-bin-linux-en.bin )
> > ->>
> > ->thanks for the advice, that didn't work either.
> > ->the response was different this time: Permission Denied. quite strange,
> > ->being logged in as root, isn't it??
> > ->
> > ->is somebody else doing things on my pc i don't know about, or is it just
> > ->my being a newbie that causes all this?
> > ->
> > ->btw: I get the same message (cannot execute binary file) if i try to
> > ->install staroffice 5.1 (.tar.gz no .bin) instead of 5.2.
> > ->really strange, as i had no problems whatsoever installing it under SuSE
> > ->6.3...
> > ->
> > ->can somebody help me out?
> > ->
> > ->thx in advance
> > ->
> > ->Niels
> >
> > Sounds like your cdrom is mounted w/o exec permissions.
> > Look at your /etc/fstab file. Add exec to the options
> > on your cdrom device then mount your cdrom again.
> > Should work.  If all else fails, just copy the file
> > off of the CD to you HD and try to install from your HD.
> >
> >
> thanks again for the advice, but the solution that someone (johan thx!)
> pointed out to me was to change che attribs with chmod. (chmod 0755
> whatever that may mean..)

Well, if you are going to use Linux (or _any_ Unix system), then you
better learn what it means, because it's central to the security of
your system and to the ability to run programs.

Each and every file in your system is assigned security/execution
attributes in three groups:
1) attributes that govern the file's use by the file's owner (the 'u'
attributes)
2) attributes that govern the file's use by other users in the file
owner's group (the 'g' attributes), and
3) attributes that govern the file's use by all other users (the 'o'
attributes).

There are three attributes for each of these groups:
1) read access (when set, the attribute group can read the file),
2) write access (when set, the attribute group can write to the file),
and
3) execute access (when set, the attribute group can run the file as
an executable).

There are other attributes, but these are the essentials. All these
attributes are stored as bits in a component of the inode of the file.
The bit assignments are (in part)...

 F E D C B A 9 8 7 6 5 4 3 2 1 0
!             !r!w!x!r!w!x!r!w!x!       r - read, w - write, x -
execute
!             ! user!group!other!       

Now, there is a utility program that you can use to alter these
attributes, called 'chmod' (for 'change mode'). chmod accepts a set of
flags that indicate which attribute settings to use, and a file name
to apply them to. The flags can either be 'symbolic' or numeric; the
numeric values represent the bit values necessary to set the
attributes for each group. The 'chmod 0755' command
sets the 'user' read, write and execute attributes, the 'group' read
and execute attributes and the 'other' read and execute attributes
(755 = 111 101 101 = rwxr-xr-x) permitting the file's owner (the user)
to read, write, and execute it, and all others to only read or execute
it. You could also have executed 'chmod u+rwx,go+rx-w' to accomplish
the same settings.

Read 'man chmod' for a more complete explanation (you probably should
also read 'man chown').

> kind regards
> 
> Niels
> 
> --
> > ---
> > Christopher W. Aiken, Scenery Hill, Pa, USA
> > chris at cwaiken dot com,   www.cwaiken.com
> > Preferred O/S: Debian Linux 2.2

-- 
Lew Pitcher

Master Codewright and JOAT-in-training

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

From: Glenn & Pam <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux.redhat
Subject: Need help to move win95 Read only file
Date: Sun, 24 Sep 2000 06:33:38 GMT

I need to move a file from the end of my drive to shrink the partition
and install Linux. The problem is I need to have clear space at the end
of the drive for the partition utility to shrink it and there is a Read
Only or Hidden file near the end so defrag won't move it. How can I find

the name of this file so I can mark it normal and let it be moved?

Thank you


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

From: Pascal VINCENT <[EMAIL PROTECTED]>
Subject: Re: Linux Partition
Date: Sun, 24 Sep 2000 02:54:02 -0400

> PlzBeMine wrote:
> 
> Question : Should you partition your hard disk space to five
> specifying the following? Wont Linux automatically create these
> folders for you?
> 
> swap
> /tmp
> /var
> /usr
> /home
> 
> Reply appreciated, thank you...

All folders (except swap which is not exactly a folder) would be created
automatically even if you used only a single partition. The reason for
using several partitions is partly for efficiency (especially using a
dedicated swap partition is more efficient than using a swap file),
partly for security reasons (people could fill up all the space in the
partition dedicated to /home or /tmp but this won't impact the good
working of the system critical operations, also should something go
really wrong, corrupting disk files, there are good chances that it
won't cross partition boundaries, it's a bit like putting hard walls
around certain sections). Depending on your use, making 6 partitions
(there is also /) may be an overkill. 

As I'm about the only user of my system, and have no reason to fear
serious hacker attacks, I personally made only 4 partitions:
- swap (this is important for efficiency reason, as a rule of thumb make
it about twice the size of your RAM (but there is a 128 Meg swap
limitation on older systems)
- / (you obvoiusly need at least this one, 100Meg should be enough)
- /home (that's where all user files will go, so size depeds on how
disk-space-hungry your users (yourself?) are)
- /usr (this is where all software installs will go, so it should be
quite big) 

It may be useful to limit the total allowed size in /var and /tmp
directories if you are going to have many users sending printer jobs for
instance (fills spool) and if you are concerned these may otherwise fill
your disk. But it may be hard to estimate the required size, so if
you're not paranoid about security, you can avoid making special
partitions for these.

Actually, if you don't want to bother estimating sizes for your
partitions, your system will run fine with just 2 partitions: a swap
partition of 128 Meg, and a big / partition for everything else.

Hope this helps.



-- 
Pascal VINCENT

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

From: Josef Oswald <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux.redhat
Subject: Re: Need help to move win95 Read only file
Date: Sun, 24 Sep 2000 07:17:42 GMT



Glenn & Pam schrieb:

> I need to move a file from the end of my drive to shrink the partition
> and install Linux. The problem is I need to have clear space at the end
> of the drive for the partition utility to shrink it and there is a Read
> Only or Hidden file near the end so defrag won't move it. How can I find
> the name of this file so I can mark it normal and let it be moved?

In the explorer you might have View ( sorry my version of explorer is in
German :-))
you get then at end something with Directories, in it you get again view,
and then show all files, then it should be seen...

>
> Thank you

hth :-)


--
Josef Oswald [EMAIL PROTECTED]
registered-linux-user # 13.818 at http://counter.li.org

-Strange it works but we don't know why: it's Windows it does not have bugs
only features....
the lie of the 20th. century..... will it continue in the third Millennium?



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

From: "David .." <[EMAIL PROTECTED]>
Subject: Re: modem seems to freeze after transferring 500kB
Date: Sun, 24 Sep 2000 02:26:13 -0500

[EMAIL PROTECTED] wrote:
> 
> Good afternoon:
> 
> Can anyone suggest a cause/fix for a modem's happily transferring about
> 500KB, and apparently locking up?  This seems to be a reproducible
> behavior on the Linux side of my machine; I have no problem with this
> modem on the Windows 95 side of my machine.
> 
> The fact that I can routinely get 500KB to 1MB to transfer makes me
> think I have done the ISAPNP/SETSERIAL stuff properly.  The freezing of
> the modem makes me think I have missed something.
> 
> The modem is a USR 56K internal data/fax modem, the operating system is
> Red Hat 6.2.

I found that I needed to change the initialization string which fixed
the problem. 3Com has a webpage to explain it.

http://consumer3kb.3com.com/cgi-bin/cpd_wrap.cgi?CB=modem&DESCRIPTION=pulldown9

-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538

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

From: "Todd Goyen" <[EMAIL PROTECTED]>
Subject: Re: Making the Framebuffer work
Date: Sun, 24 Sep 2000 07:43:47 GMT

thanks worked perfect
Faux_Pseudo <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> --(Once apon a time, in comp.os.linux.setup,)--
> --(Todd Goyen said it like only they can.)--
> $Help i have had no luck
> $I am running Slackware 7.1 X 4.0.1
> $i have an Asus v7700 Gefore 2 video card
> $and i have frame buffer compilied into the kernel
> $but i get nothing
> $the system is dualboot with loadlin loading linux
> $if i give it a vga=ask line i only get standard console options
> $whenever i start x or another program that needs the frame buffer i get
> $"can't open /dev/fb0"
> $but it is there
> $what could be wrong?
> $Todd Goyen
> $
> $
>
>   Colours   640x480 800x600 1024x768 1280x1024 1600x1200
>   --------+---------------------------------------------
>   256     |   769     771      773      775       796
>   32,768  |   784     787      790      793       797
>   65,536  |   785     788      791      794       798
>   16.8M   |   786     789      792      795       799
>
> change the vga=ask to vga=xxx where xxx is the correct number
> from the above chart
> rerun lilo and reboot
> then you will be in business
>
> when you use the vga=ask option you are not using the framebuffers
> you are using the vga options in your bios
>
>
>
>
> --
>  ._______.                               ._______.
>  | <> <> |     GUI's are for slackers.   | <> <> |
>   \-|o|-/   ibpconf.sh on freshmeat.net   \-|o|-/
>    /___\   the easiest way to personalize  /___\
>    (MMM) the command line.  By Faux_Pseudo (MMM)
>



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

From: Uncle Meat <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.misc
Subject: Re: IP Masquerading
Date: Sat, 23 Sep 2000 19:31:06 -0600

In article <01c02572$cc28cfa0$[EMAIL PROTECTED]>, "Philippe BLATIERE" 
<[EMAIL PROTECTED]> wrote:
> Well, I am far from an expert but why do you use ipmasqadm : isn't ipchains
> is sufficient ?
> Are you sure ipmasqadm and kernel 2.2 are ok together ?
> I ask you that question because CUSeeMe, that does not work, is used with
> ipmasqadm 
> And I know that ipfwadm does not work with kernel 2.2, may be the same with
> ipmasqadm ?
> May be am I saying something stupid ... may be not !!! this is my little
> help.

I have ipmasqadm running with RH6.2, kernel 2.2.17. It works fine.
I set it up to allow realplayer to work properly from a networked
MAC.

Also, I used ipfwadm for a few days with RH6.2 until I got ipchains
going. It worked fine.

In the case mentioned, not sure what the problem is. I'll go back and
see if I can see it. I can only guess it's not forwarding the right port
or there's something wrong with the line. Not sure I can find it. I
have no idea what port CUSEEME wants to use.


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

From: "David .." <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux.redhat
Subject: Re: Need help to move win95 Read only file
Date: Sun, 24 Sep 2000 02:39:28 -0500

Glenn & Pam wrote:
> 
> I need to move a file from the end of my drive to shrink the partition
> and install Linux. The problem is I need to have clear space at the end
> of the drive for the partition utility to shrink it and there is a Read
> Only or Hidden file near the end so defrag won't move it. How can I find
> 
> the name of this file so I can mark it normal and let it be moved?
> 
> Thank you

If you are running the Norton defrag tool (speed disk I think) you can
choose "defrag free space" to correct the problem.

-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538

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

Date: Sun, 24 Sep 2000 08:10:22 +0100
Crossposted-To: comp.os.linux.help,comp.os.linux.admin
Subject: Re: Installation problems with 40GB disk
From: Paul Sture <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>, Chris F Clark wrote:
> Newsgroups: comp.os.linux.setup,comp.os.linux.help,comp.os.linux.admin
> From: Chris F Clark <[EMAIL PROTECTED]>
> Subject: Installation problems with 40GB disk
> Date: Sun, 24 Sep 2000 00:10:14 GMT
> 
> I just bought a new HP 9680C with Windows 98 2e installed.  I'd like
> to make the system dual boot with Linux (I have Red Hat 6.0 on CD from
> my other machine.)  I made space on the drive (see chart below).
> However, the Linux installation process cannot read the drive and thus
> refuses to put the Linux partitions on it.
> 
> /dev/hda - Model Maxtor 94098U8 
> 
> C: 3GB  fat32 win98

IIRC, RedHat 6.0 cannot understand fat32.

I have 2 dual boot NT / Linux systems.

The first one has 2 x 2GB fat16 partitions. C: holds NT, with D: as an area 
where I can exchange files between linux and NT, with a Linux swap partition at 
the end of that disk (D: is actually 2GB minus 127MB for the swap partition). 
Linux itself sits on a second disk. Lilo works fine because it points to the 
start of the second physical disk.

On the second system (15GB disk), I started with 2 x 2 GB partitions. Adding 
Linux gave me warnings that Lilo couldn't see past cylinder 1024, but allowed me 
to create a boot floppy. This with Suse 7.0.

The big caveat in all this is that I originally started out with Win98, and it 
refused point blank to install when finding traces of Linux on the system (even 
with Linux on a separate disk). It would only continue if allowed to reformat 
the lot! I resolved that by physically disconnecting the second disk, then 
installing Win98.

> -  1GB  unformatted freespace (to put Linux /)
> E: 500mb fat
> Extended Partition 34.5GB
>    128mb swap
>    128mb swap
>    128mb ext2 (for /tmp)
>    128mb ext2 (for /var)
>    2GB   ext2 (for /usr)
>    8GB   ext2 (for /home)
> D: 24GB  fat32
> 
> The precise messages I get are
> 
> If I pick disk druid:
>     Fdisk error
> An error occured reading the partition 
> table for the block device hda.  The
> error was: No such file or directory.
> 
> If I look at the screen that alt-f4 shows I see
> 
> <4>hda: Maxtox 94098U8, ATA Disk Drive
> <4>hdc: CD-W54E, ATAPI CD-ROM Drive
> <4>hdd: TOSHIBA DVD-ROM SD-M1302, ATAPI CD_ROM Drive
> <4>ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> <4>ide1 at 0x170-0x177,0x3f6 on irq 15
> <6>hda: Maxtox 94098U8, 39082MB w/2048kB Cache, CHS=5293/240/63
> ....
> <4>Partition check:
> <4> hda: hda1 hda3 hda4 < hda5 hda6 hda7 hda8 hda9 hda10 hda11 >
> 
> If I pick fdisk:
> This is fdisk running on your hda hard drive.
> [and then nothing, it just quits]
> 
> If I switch to the bash# prompt, and run:
> bash# fdisk /tmp/hda
> 
> I get:
> 
> The number of cylinders for this disk is set to 5293.
> This is larger than 1024, and may cause problems with:
> 1) software that runs at boot time (e.g. LILO)
> 2) booting and partitioning software from other OSs
>    (e.g. DOS FDISK, OS/2 FDISK)
> 
> Unable to read /tmp/hda
> bash#
> 
Paul Sture
Switzerland


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

From: "David .." <[EMAIL PROTECTED]>
Subject: Re: modem seems to freeze after transferring 500kB
Date: Sun, 24 Sep 2000 03:24:48 -0500

[EMAIL PROTECTED] wrote:
> 
> Good afternoon:
> 
> Can anyone suggest a cause/fix for a modem's happily transferring about
> 500KB, and apparently locking up?  This seems to be a reproducible
> behavior on the Linux side of my machine; I have no problem with this
> modem on the Windows 95 side of my machine.
> 
> The fact that I can routinely get 500KB to 1MB to transfer makes me
> think I have done the ISAPNP/SETSERIAL stuff properly.  The freezing of
> the modem makes me think I have missed something.
> 
> The modem is a USR 56K internal data/fax modem, the operating system is
> Red Hat 6.2.

I found that I needed to change the initialization string which fixed
the problem. 3Com has a webpage to explain it.

http://consumer.3com.com/couriera/documents/10563.htm

Other link was dead, this one should work.
-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538

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

From: "Robert" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.redhat,comp.os.linux.networking,comp.os.linux.misc
Subject: Re: IP Masquerading
Date: Sun, 24 Sep 2000 13:26:31 +0200

Hi,

I don't know really, but do you have CUSEEME compiled into your kernel or
loaded the module. Im using ipchains for masquerading and I need a module
for CUSEEME. So maybe that helps....

Robert

Philippe BLATIERE <[EMAIL PROTECTED]> schrieb in im
Newsbeitrag: 01c02572$cc28cfa0$[EMAIL PROTECTED]
> Well, I am far from an expert but why do you use ipmasqadm : isn't
ipchains
> is sufficient ?
> Are you sure ipmasqadm and kernel 2.2 are ok together ?
> I ask you that question because CUSeeMe, that does not work, is used with
> ipmasqadm
> And I know that ipfwadm does not work with kernel 2.2, may be the same
with
> ipmasqadm ?
> May be am I saying something stupid ... may be not !!! this is my little
> help.
>
> Tom Voltaggio <[EMAIL PROTECTED]> a �crit dans l'article
> <[EMAIL PROTECTED]>...
> > ...
> > I am using Redhat 6.1 with kernel 2.2.12-20.
> > ...
> > # 1) Flush the rule tables.
> > /sbin/ipchains -F input
> > ...
> > # To forward incoming CUSeeMe ports
> > ipmasqadm autofw -A -r udp 7648 7648 -h 192.168.1.2
> > ...
> > Help!!!!



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

From: Alex Fitterling <[EMAIL PROTECTED]>
Subject: SMS from Hostsystem
Date: Sun, 24 Sep 2000 13:53:00 +0200

Hello,

does anyone hav any idea, how to send a SMS to my cell phone triggered
by an occuring event on my hostsystem ?

TIA
Alexander Fitterling


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


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

Reply via email to