Linux-Misc Digest #746, Volume #24                Thu, 8 Jun 00 02:13:02 EDT

Contents:
  Re: Booting a Linux drive from a different port than original. (Dances With Crows)
  Re: Java SDK 1.2.2 - Linux (Jerry McBride)
  Terminal program like ZOC or Procomm? ([EMAIL PROTECTED])
  Re: CAUTION: I am under attack from an incompetent hacker probably in  germany (Dowe 
Keller)
  Re: Web authoring tools (Dowe Keller)
  test mail (please ignore) ([EMAIL PROTECTED])
  Re: What web content creation tools are available in linux? (Dowe Keller)
  Re: Is there a free CVS mirroring tool I can use? (Pete Zaitcev)
  Re: Linux vs. FreeBSD (Dan)
  Masquerading with SuSE 6.4 and T-dsl ("Ralf Rienecker")
  Re: Shortcut to directory ("David ..")
  newbie ? for suse 6.2 (Mike_the_poopball)
  Re: Newbie with networking questions. Please help! (Matthew Daniel)
  Re: Default rights? ("Andrew N. McGuire ")
  Re: test mail (please ignore) ("Andrew N. McGuire ")
  Re: Masquerading with SuSE 6.4 and T-dsl (Akira Yamanita)

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Booting a Linux drive from a different port than original.
Date: 07 Jun 2000 23:17:16 EDT
Reply-To: [EMAIL PROTECTED]

On Wed, 07 Jun 2000 22:48:22 -0400, mike 
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>    I have moved my hard drive with Redhat 5.1 from one
>computer to another. The root directory was located on /dev/hda1
>and now it is located on /dev/hdc1. How would I now boot
>the system up?

>From a floppy, at least once, to do modifications to the Linux system.

A lot of BIOSes have problems booting from hard drives that aren't on the
first IDE controller.  It is possible to get around that if your BIOS is a
newer model, but requires some incantations in /etc/lilo.conf as well as
setting up the BIOS to boot from /dev/hdc.

So what's on /dev/hda?  A Lose9x system?  It should be possible to swap
/dev/hdc and /dev/hda, then have LILO boot both OSes.  A friend of mine
has Linux on the primary master drive, Lose95 on the primary slave, and
with the appropriate stuff in /etc/lilo.conf, Lose95 boots from the LILO
prompt without even knowing of the Linux system's existence or caring that
it's on the slave instead of the master drive.  The relevant part of
/etc/lilo.conf is below:

other=/dev/hdb1
  label=dos
  table=/dev/hdb

Replace "b" with "c", rerun LILO, and see how it goes?

http://linuxdoc.org/HOWTO/LILO-HOWTO.html for a bunch of info.  Or try
/usr/doc/packages/lilo/ for more than you ever wanted to know.

-- 
Matt G / Dances With Crows              \###| You have me mixed up with more
There is no Darkness in Eternity         \##| creative ways of being stupid?
But only Light too dim for us to see      \#| Beer is a vegetable.  WinNT
(Unless, of course, you're working with NT)\| is the study of cool. --MegaHAL

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

From: [EMAIL PROTECTED] (Jerry McBride)
Subject: Re: Java SDK 1.2.2 - Linux
Date: Wed, 07 Jun 2000 20:10:00 -0400

In article <[EMAIL PROTECTED]>,
Bryan Galvin <[EMAIL PROTECTED]> wrote:
>All,
>
>I downloaded the Java 1.2.2 SDK for Linux from Sun.
>I downloaded the large 21 MB file using the FTP utility on a Win 98 PC.
>When the download was complete I transferred the file to my 486 PC upon
>which I have a Slackware LINUX distribution installed.
>Following the installation instructions from the website I attempted to
>decompress the 21 MB file.
>However, the following error is returned:
>
> "gzip: stdin: invalid compressed data --format violated
> tar: Child returned status 1
> tar: Error exit delayed from previous errors"
>
> I used the this command line, "tar xvzf jdk1_2_2-linux-i386.tar.gz"
>
>I had to rename the file to its original name as it was truncated when
>transferred.
>
> Has the file been compromised or affected by download to a WIn 98 PC?
>

There's a discussion going around that that archive is corrupted on the server.

So... you ain't the only one experiencing problems.


--
*******************************************************************************
>                   This message is for external use only!                    <
*******************************************************************************
>        8:08pm  up 0 days, 13:00:13, load: 16 processes, 71 threads.         <
*******************************************************************************
* NetRexx - The onramp to the Internet - http://www2.hursley.ibm.com/netrexx  *
*******************************************************************************

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

From: [EMAIL PROTECTED]
Subject: Terminal program like ZOC or Procomm?
Date: Thu, 08 Jun 2000 03:14:21 GMT

In OS/2 I am using a great terminal program called
Zapocom, or ZOC for short. It can be used as a serial
terminal interface as well as a telnet, ssh, 3270,
etc. client. I like it because it has tons of
features like function key macros, auto-send macros
(replies that get sent whenever a specific string is
received), Zmodem transfers, cut and paste, etc. etc.
It is similar (I suppose) to the DOS/Windoze program
Procomm, but it's only available for OS/2 (and
Windoze). As a result I do most of my telnet work in
OS/2 but would really like to find something similar
for Linux. Does anyone know of such a program that
can do all that?


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: [EMAIL PROTECTED] (Dowe Keller)
Crossposted-To: comp.os.linux,comp.os.linux.admin
Subject: Re: CAUTION: I am under attack from an incompetent hacker probably in  germany
Date: 7 Jun 2000 20:37:50 -0700

On Wed, 07 Jun 2000 23:24:32 GMT, C. Hilts <[EMAIL PROTECTED]> wrote:
>On 05 Jun 2000, Tom Hoffmann <[EMAIL PROTECTED]> hammered out:
>
>>Unfortunately, the pervasive view seems to be that the Net is
>>for entertainment rather than for information ... and I fear
>>it is only going to get worse.
>
>Even more unfortunately, the pervasive view seems to be that the 
>internet is just the world wide web.  There's more to the internet than 
>port 80, kids.

My pet peave is when some clueless newbie refers to a newsgroup as a
"site"(O.K. I'll admit HTML and various other unreadable detritus is
worse, but This gets my goat nonetheless).  I've seen this about 6
times this week.

-- 
[EMAIL PROTECTED]
---
I wanted to emulate some of my hero's, but I didn't know thier
op-codes.
                                        --dowe

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

From: [EMAIL PROTECTED] (Dowe Keller)
Subject: Re: Web authoring tools
Date: 7 Jun 2000 20:50:41 -0700

[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>Anyone knows any web site design tools developed for Linux?
>StartOffice has a HTML editor.
>Drop me a mail at [EMAIL PROTECTED]
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.

vi and sed :-)

-- 
[EMAIL PROTECTED]
---
I wanted to emulate some of my hero's, but I didn't know thier
op-codes.
                                        --dowe

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

From: [EMAIL PROTECTED]
Subject: test mail (please ignore)
Date: Thu, 8 Jun 2000 06:38:34 +0530



-- 
                          ("`-''-/").___..--''"`-._
                           `6_ 6  )   `-.  (     ).`-.__.`)
                           (_Y_.)'  ._   )  `._ `. ``-..-'
                         _..`--'_..-_/ /--'_.' ,'
                        (il),-''  (li),'  ((!.-'
/*****************************************************************.
# Indraneel Majumdar       #  E-mail: [EMAIL PROTECTED]      #
# 4/2 Arobindo Avenue,     #  URL: http://scorpius.iwarp.com      #
# Durgapur, India 713204   #  Tel: +91-343-563571                 #
`*****************************************************************/


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

From: [EMAIL PROTECTED] (Dowe Keller)
Subject: Re: What web content creation tools are available in linux?
Date: 7 Jun 2000 20:56:28 -0700

Julie <[EMAIL PROTECTED]> wrote:
>What are the best web content creation tools for linux also what graphics 
>and ftp programs are the best?

vi or emacs are useful for creating the content, if you are wanting to convert
from one format to another, you may need one or more of sed, awk or perl.

The Gimp is AFAIK the best graphics editor for Linux.  It is super powerful,
I have used it for my web graphics, and only scratched the surface of its 
capabilities.

-- 
[EMAIL PROTECTED]
---
I wanted to emulate some of my hero's, but I didn't know thier
op-codes.
                                        --dowe

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

From: [EMAIL PROTECTED] (Pete Zaitcev)
Subject: Re: Is there a free CVS mirroring tool I can use?
Date: Thu, 08 Jun 2000 04:26:31 GMT

> I can't seem to get to freshmeat today.  What I would like is to
> mirror the anoncvs.kde.org CVS repository on one of my local servers.
> How can I do that?  I would also like to put other stuff in the same
> CVS repository ( in other modules ) so that I have only a single CVS
> server to access when I want stuff from CVS.

> -- 
> David Steuber   |   Hi!  My name is David Steuber, and I am
> NRA Member      |   a hoploholic.

I did not do it myself but in case nobody else answers, you
can try this:

cd /local/repo
cvs -d :pserver:[EMAIL PROTECTED]:/their/cvs co somemodule
cd /home/david
cvs -d /home/repo co somemodule

Then work with /home/repo/somemodule as usual.
IIRC, Geert used this scheme for m68k port.
I hope I am not too muddy too :)

Greetings,
--Pete

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

From: [EMAIL PROTECTED] (Dan)
Subject: Re: Linux vs. FreeBSD
Date: 8 Jun 2000 04:38:04 GMT
Reply-To: [EMAIL PROTECTED]

Martin Herrman <[EMAIL PROTECTED]> wrote:

> 1. I read a book about operating systems, it says solaris was the best in
> network deamons performance because of the (proces) threads (i don't know the
> details, have to read again :-)

Well, at least Solaris can be the best at SOMETHING. ;)

> 2. from a frien I heard freebsd is more secure and more stable than linux.
> One of the reasons: less developers (just 200 developers for the kernel).

The BSD's are pretty stable and "production grade" yes.  I've worked
with both FreeBSD (and BSDI BSD/OS) and Linux (Slackware, Red Hat, 
TurboLinux) and Linux tends to get support for new hardware and stuff
a little faster than FreeBSD.  I'm very laptop-oriented, and for a 
long time I wouldn't have even thought of trying to run FreeBSD on a
laptop.

Of course, now FreeBSD has gotten to the point where it can run Linux
programs, which kinda makes a lot of this ever-so-slightly moot. ;)

-Dan

-- 
Dan Birchall - Palolo Valley, Honolulu HI - http://dan.scream.org
Get paid for your opinions - http://epinions.scream.org/join.html
My address expires - take out the hex stamp if your reply bounces

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

From: "Ralf Rienecker" <[EMAIL PROTECTED]>
Subject: Masquerading with SuSE 6.4 and T-dsl
Date: Thu, 8 Jun 2000 06:42:37 -0700

Hi to all,

I am trying to solve this problem for over a mount with out real success.
The dudes in the shared flat are still thinking how they can punish me ;-).

As You could guess I want to bring a small LAN to the Internet. Masquerading
is enough for now; Firewall functions are not required (maybe later).
Services as POP3, ICQ and www of cause, should be possible from the clients.

What I did so far:

-         installed SUSE 6.4 (surprise, surprise), ipchains, patch and
compiled kernel (for pppoe and masquerading)

-         set up Internet connection, test with an ftp download -> works
fine

-         start up masquerading with a script from the SuSE site. The
important lines are:
echo "1" > /proc/sys/net/ipv4/ip_forward
/sbin/ipchains -F
/sbin/ipchains -A forward -i ppp0 -j MASQ

-         configured the clients with the Linux box's gateway address and
T-Online's DNS address.

The situation:

It is possible to make DNS lookups from the clients. For example "ping
www.heise.de". But when I try to surf to a link in a browser, it makes the
DNS lookup (finding site.) but then noting ever happened. When I type a
ftp-link in my browser the directory structure is shown but after a few
clicks the transmission freezes. Window`s ftp-client gives the error:

 ftp> dir
500 PORT host addr must be 212.185.225.134
425 Can't build data connection: Address family not supported by protocol
family.

after logging in and when typing "dir".

 I have no idear what to do now, because I don't no what went wrong in my
configuration (What way the packets take). Do I have to set up fwport or
something like this to use the mentioned services?

 Thanks for Your help

Ralf



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

From: "David .." <[EMAIL PROTECTED]>
Subject: Re: Shortcut to directory
Date: Wed, 07 Jun 2000 23:36:06 -0500

Bill Sherrard wrote:
> 
> I would like to know if it is possible to place a shortcut to a directory on
> my Gnome desktop. I would like to be able to double click on it and have it
> open a window with that directory open,like windows does.
> 
> Thanks

Yes, You can symlink one to the .gnomedesktop directory like this.

ln -s /home/user/.gnome-desktop/directory-name

To link a directory you must have permissions for that directory. The
example above will link a directory in a users home directory to the
desktop.

-- 
Registered with the Linux Counter.  http://counter.li.org
ID # 123538

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

From: Mike_the_poopball <[EMAIL PROTECTED]>
Subject: newbie ? for suse 6.2
Date: Thu, 08 Jun 2000 04:41:33 GMT

 I have two hdd's in my linux server. I was wondering how i can (or if)
mount the second hdd. I want to mount it and then point apache to it so
I can run the webserver off of the second hdd.

--
if ($name eq "Mike"); {
print "laters, Mike";
}else{
print "who are you and how did you get in here? ";


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: Matthew Daniel <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.unix.solaris,comp.unix.admin
Subject: Re: Newbie with networking questions. Please help!
Date: Thu, 08 Jun 2000 14:02:53 +1000

No 4 with Linux, 2 NIC's one for cable one for hub, ip aliasing etc..
486 print server mail server dns

Matt
"Edward J. Smiley Jr." wrote:
> 
> Hi,
>      I want to network some computers I have.  They are listed below:
> 
> 1. Celeron 333, 256MB RAM, 18GB HD, running Linux
> 2. Toshiba P133 Laptop, 32MB RAM, 2.1GB HD, running Windows 98 and Linux
> 3. Sun Sparcstation 20, 128MB RAM, 4GB HD, running Solaris 8
> 4. Pentium 200, 64 MB RAM, 10GB HD, no OS at this time
> 5. Numerous 386 and 486 with 16 MB RAM and small HD's < 500 MB.  (A lot
> of people say that these make great little servers, do not really need
> to network them if not necessary.)
> 
> First of all, which one should I use as the server?
> 
> '1' is my powerhouse that I use all the time.  '2' I just use for when
> I travel.  '3' is not really being used for anything at the time, but I
> want to keep Solaris 8 on it.  So that leads to another question...
> 
> Should I use Solaris or Linux for the server?  I am posting this to
> both Solaris and Linux NG's.
> 
> I would like to use a cable modem.  Is it possible to have this on the
> server and have access to the modem from all the other computers?
> 
> Finally, I need a good book (or link, FAQ, How-to, anything) on how to
> set up a home server.  I am having a lot of trouble with what I am
> reading on the web.  I have a few books (Unix Networking Clearly
> Explained and Comer's Internets and Networks), but they seem
> confusing.  I have been using Linux for a few years, so I am not a
> Guru.  I have minimal experience at Solaris.
> 
> Sorry for so many questions, but I need to start somewhere.
> 
> Thanks for any help!
> 
> --
> Ed Smiley
> 
> [EMAIL PROTECTED] <remove NOSPAM>
> [EMAIL PROTECTED] <--Please Reply here!
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.

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

From: "Andrew N. McGuire " <[EMAIL PROTECTED]>
Subject: Re: Default rights?
Date: Thu, 8 Jun 2000 00:02:37 -0500

[ rearranged for legibility ]

On 7 Jun 2000, John Strange wrote:

+ Holger Kasten ([EMAIL PROTECTED]) wrote:
+ 
+ : how can I set default rights for files created by a ftp user?
+ 
+ : I have a user, which should be able to transfer files to my
+ : server. It works so far. But the files which the user
+ : creates are not readable for all.
+ 
+ Add a   umask statement to users startup file 
+                       (.login, .profile, .bash_profile,...)

I would recommend invoking ftpd with the appropriate umask,
if you are using wu-ftpd this can be done with the '-u'
option.  This is more akin to 'setting the default rights'.

Regards,

anm 
-- 
/*-------------------------------------------------------.
| Andrew N. McGuire                                      |
| [EMAIL PROTECTED]                              |
`-------------------------------------------------------*/


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

From: "Andrew N. McGuire " <[EMAIL PROTECTED]>
Subject: Re: test mail (please ignore)
Date: Thu, 8 Jun 2000 00:20:01 -0500

On Thu, 8 Jun 2000, [EMAIL PROTECTED] wrote:

+ Subject : Re: test mail (please ignore)

No, I will not ignore.  There are Usenet groups specifically
for such test messages.  Obviously you feel the need to ignore
that and post test messages to a techinical group.  I would
say you failed the test.

Regards,

anm 
-- 
/*-------------------------------------------------------.
| Andrew N. McGuire                                      |
| [EMAIL PROTECTED]                              |
`-------------------------------------------------------*/


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

From: Akira Yamanita <[EMAIL PROTECTED]>
Subject: Re: Masquerading with SuSE 6.4 and T-dsl
Date: Thu, 08 Jun 2000 05:52:30 GMT

Ralf Rienecker wrote:
> 
> Hi to all,
> 
> I am trying to solve this problem for over a mount with out real success.
> The dudes in the shared flat are still thinking how they can punish me ;-).
> 
> As You could guess I want to bring a small LAN to the Internet. Masquerading
> is enough for now; Firewall functions are not required (maybe later).
> Services as POP3, ICQ and www of cause, should be possible from the clients.
> 
> What I did so far:
> 
> -         installed SUSE 6.4 (surprise, surprise), ipchains, patch and
> compiled kernel (for pppoe and masquerading)
> 
> -         set up Internet connection, test with an ftp download -> works
> fine
> 
> -         start up masquerading with a script from the SuSE site. The
> important lines are:
> echo "1" > /proc/sys/net/ipv4/ip_forward
> /sbin/ipchains -F
> /sbin/ipchains -A forward -i ppp0 -j MASQ
> 
> -         configured the clients with the Linux box's gateway address and
> T-Online's DNS address.
> 
> The situation:
> 
> It is possible to make DNS lookups from the clients. For example "ping
> www.heise.de". But when I try to surf to a link in a browser, it makes the
> DNS lookup (finding site.) but then noting ever happened. When I type a
> ftp-link in my browser the directory structure is shown but after a few
> clicks the transmission freezes. Window`s ftp-client gives the error:
> 
>  ftp> dir
> 500 PORT host addr must be 212.185.225.134
> 425 Can't build data connection: Address family not supported by protocol
> family.
> 
> after logging in and when typing "dir".
> 
>  I have no idear what to do now, because I don't no what went wrong in my
> configuration (What way the packets take). Do I have to set up fwport or
> something like this to use the mentioned services?
> 
>  Thanks for Your help
> 
> Ralf

Try this instead (assuming your LAN IPs are in the 192.168.0.0
network with a subnet of 255.255.255.0. I think what you have
will cause the traffic to be masqueraded both ways.

echo "1" > /proc/sys/net/ipv4/ip_forward
/sbin/ipchains -F
/sbin/ipchains -A forward -s 192.168.0.0/24 -i ppp0 -j MASQ

Shut down any processes you don't need. More than one
person has come in asking, "Why does the ps command say 'no
processes available?'" I would imagine that getting cracked sucks.

The problem with FTP has to do with the fact that your client is
sending the "PORT" command. You'll either need to use an FTP
client that supports passive (PASV) mode or load the FTP module.
The port command is telling the FTP server to connect to a
private IP (which obviously won't work because it can't be
accessed directly). ip_masq_ftp.o intercepts the port command
and alters it so it points to the Linux box instead.
insmod ip_masq_ftp.o

While you're at it, you'll probably want to load the modules for
ICQ, RealAudio or whatever else you want to use.
insmod ip_masq_icq.o
insmod ip_masq_raudio.o

If you need to FTP on ports other than 21, you'll need to either
use PASV mode or specify the ports when you load the module. Say
you connect to some sites on ports 21 and 2000.
insmod ip_masq_ftp.o ports=21,2000

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


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