Linux-Setup Digest #162, Volume #21 Thu, 3 May 01 19:13:10 EDT
Contents:
Re: Start scripts (Eckerhard Hannstein)
Re: I can't to stop httpd !!!! ("Rob Burghdoff")
Infomagic??? ("Mark Swope")
Re: Mail and news client (Simon Lemieux)
Can't telnet into RH box from Windows 98 laptop (telnetd[27627]: ttloop: peer died:
Invalid or incomplete multibyte or wide character) (Kenny McCormack)
Re: Start scripts (Michael Heiming)
Re: Backups (Michael Meissner)
Re: lilo and win2k (=?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?=)
Re: mkisofs doesn't like fat32 partitions (=?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?=)
Re: Backups ("Peter T. Breuer")
Re: Continuing Network Problem (=?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?=)
Re: Start scripts (Vilmos Soti)
Networking with 3COM HomeConnect Ethernet Card and Robotics 56K PCI ("Paul Y. Peng")
Re: I can't to stop httpd !!!! (Bill Unruh)
Which Linux to Get for Win2k? ("Brett")
ATA 100 ("Karel")
Re: Which Linux to Get for Win2k? (Chris Ahlstrom)
NEC NR-7500A CD-RW 8/4/32 (Jin Zhao)
Re: ATA 100 ("Henrik Farre")
----------------------------------------------------------------------------
From: Eckerhard Hannstein <[EMAIL PROTECTED]>
Subject: Re: Start scripts
Date: Thu, 03 May 2001 22:13:12 +0200
Emil Christopher Melar wrote:
>
> add it in crontab!
/etc/crontab ?
what do i have to write in it?
only
/<path>/<scriptname> ?
------------------------------
From: "Rob Burghdoff" <[EMAIL PROTECTED]>
Crossposted-To:
alt.linux,alt.os.linux,comp.os.linux,comp.os.linux.admin,comp.os.linux.redhat,linux.redhat.misc
Subject: Re: I can't to stop httpd !!!!
Date: Thu, 3 May 2001 16:24:15 -0400
"Ken" <[EMAIL PROTECTED]> wrote in message
news:3af1b686$[EMAIL PROTECTED]...
> I have a problem is that I can't stop my httpd service, but I can start
the
> service.
>
> When I try to type in "/etc/rc.d/init.d/httpd stop" or
> /etc/rc.d/init.d/httpd restart
> the error message is
> "httpd stop [fail] no such pid",
> "httpd start [ok]
> I have been tried to kill the PID manully, but it doesn't work. I still
> can't use my web server. how can I do ?
> Please help
>
Apache? Try "apachectl stop" "apachectl start" or "apachectl restart"
--Rob
------------------------------
From: "Mark Swope" <[EMAIL PROTECTED]>
Subject: Infomagic???
Date: Thu, 3 May 2001 15:29:19 -0500
Did Infomagic go away? I can't get to their web site and I was wanting
to check on their latest Linux Developer's Resource set.
I can't even ping their site...
------------------------------
From: Simon Lemieux <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: Mail and news client
Date: Thu, 03 May 2001 20:34:43 GMT
> As for news clients, SLRN is by far the most popular here. Everyone
> seems to like SLRN. Absolutely stuffed with features, plus it can
> interpret slang macros.
I tried slrn and got some trouble out of the editor... I've read somewhere that
it's supposed to be pico, I'm not used to pico but I read the documentation and
it seems correct, although the commands in slrn's editor are not the ones from
pico and I'm not even able to type something good, I mean ctrl-k doesn't delete
the line as done everywhere it just adds a "^k" in blue... I wonder how to use
the editor, the doc doesn't talk much about the editor... Could I change it to
emacs? That would be awesome!
Thanks,
Simon
--
+--------------------------------+---------------------------+
| Simon Lemieux | http://666Mhz.myip.org/ |
| Email : [EMAIL PROTECTED] | Povray and OpenGL Gallery |
+--------------------------------+---------------------------+
------------------------------
From: [EMAIL PROTECTED] (Kenny McCormack)
Crossposted-To: comp.os.linux.misc,comp.os.ms-windows.misc
Subject: Can't telnet into RH box from Windows 98 laptop (telnetd[27627]: ttloop:
peer died: Invalid or incomplete multibyte or wide character)
Date: 3 May 2001 15:47:17 -0500
Reply-To: [EMAIL PROTECTED]
I have an RH 6.something box that works just fine - has been working just
fine for over a year. I just recently acquired a standard issue laptop
running Windows 98, but I've found that I can't telnet from the laptop to
the RH box. When I use a(ny) telnet client on the Windows machine, it
connects and then hangs. In the RH box, in /var/log/messages, appears the
following:
telnetd[27627]: ttloop: peer died: Invalid or incomplete multibyte or wide character
I can telnet into the RH box from other systems with no problems, but not
from this laptop.
Anyone seen this before? Is there a fix? Should I be posting this in a
Windows NG (since it actually sounds like a Windows problem)...
------------------------------
Date: Thu, 03 May 2001 22:52:12 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Start scripts
Eckerhard Hannstein wrote:
>
> my internet connection is started by a script, that is unancessible to
> other user (well, i could make it reachable), but i would like it to be
> run at each start, so that i do not have to turn on the internet
> connection manually. where is the config file/where can i do this?
Hello,
this is a basic question about UNIX SysV startup/shutdown.
There is a very nice HTML doc available called UNIX unleashed, which
explains among other things, how this works. The filenames/location
may differ to your system, check the docs that came with your distro.
However the basic meaning is always the same.
Good luck
Michael Heiming
------------------------------
Crossposted-To: comp.os.linux.misc,comp.os.linux.help
Subject: Re: Backups
From: Michael Meissner <[EMAIL PROTECTED]>
Date: 03 May 2001 17:08:59 -0400
Scott <[EMAIL PROTECTED]> writes:
> Since I've started a dialog here, my next question is backing up.
>
> As I stated elsewhere, I've got a duplicate HD (/dev/hdb), partitioned
> like the root FS (/dev/hda). I can copy everything over.
> (only updating based on dates, etc...)
>
> I could also TAR everything into one big file, onto that drive
> as well. I could also gzip things up onto there, etc...
> (I figure my zip drive is too small, and I'd have to break
> things up into smaller files if I wanted to use it for everything)
>
> My question is this:
> What about /dev and /proc?
>
> Those are not real files, and the cp command dies when it tries to
> read them.
> Do we just ignore those directories?
> Is there a switch which can tell cp (or tar for that matter) to
> ignore those file entries?
You do want to copy the entries for /dev (unless you use devfs), but cp does
not copy devices correctly. What I use is rsync, which has a -x option to not
cross file system boundaries (ie, skip /proc since that is a mounted file
system, and to skip the filesystem you have mounted /dev/hdb on). What you
want is something like (if /dev/hdb is mounted on /backup):
# rsync -ax --delete --execlude='lost[+]found' / /backup/
Rsync will only copy the files that it thinks are modified. Another way to do
it is:
# cd /
# umount /backup
# mke2fs /dev/hdb
# mount /dev/hdb /backup
# tar -clf - . | tar -C backup -xpf -
which transfers everything.
If you want to tar, gzip, and split it into smaller pieces so you can copy each
piece to a zip drive (or CD-R), you can do:
# cd /
# rm -f /backup/root*
# tar -clf - . | gzip -6 | split --bytes=95m - /backup/root.gz-
where it will break it into 95 megabyte pieces starting with the prefix
/backup/root.gz-*. If you want more compression (but slower dumps), use gzip
-9, or bzip2 -9.
--
Michael Meissner, Red Hat, Inc. (GCC group)
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: [EMAIL PROTECTED] phone: +1 978-486-9304
Non-work: [EMAIL PROTECTED] fax: +1 978-692-4482
------------------------------
From: =?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?= <[EMAIL PROTECTED]>
Subject: Re: lilo and win2k
Date: Thu, 3 May 2001 23:09:23 +0200
On Thu, 3 May 2001 [EMAIL PROTECTED] wrote:
> alright, i have 2 harddrives.
>
> my master drive C: is my linux
> my slave drive D: is my win2k (running in NTFS)
>
> i was wondering how the hell do i get to get LILO
> to dual boot the win2k w/ ntfs
Most distros does that automatically. Just install lilo in the MBR and
you will get the choice of booting both OS's from LILO.
Rasmus
--
-- [ Rasmus 'M�ffe' B�g Hansen ] --------------------------------------
Linux hackers are funny people: They count the time in patchlevels.
========================================= [ Remove 'spam' to reply ] ==
------------------------------
From: =?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?= <[EMAIL PROTECTED]>
Subject: Re: mkisofs doesn't like fat32 partitions
Date: Thu, 3 May 2001 23:14:31 +0200
On Thu, 3 May 2001, hamradio wrote:
> I'm trying to make an iso image of a directory, which is located on a
> fat32 partition (to share data whith windoze too), mounted in my
> filesystem with u+g read and write permission, but mkisofs fails to
> make such an image with this output:
>
> bash$ mkisofs -D -gui -hide-joliet-trans-tbl -l -J -L -m core -o
> /var/tmp/image -r -V rk-03.05.01 -v /mnt/documenti/Riccardo/Listini
> Using ".mkisofsrc"
> mkisofs 1.12 (i686-pc-linux-gnu)
> Scanning /mnt/documenti/Riccardo/Listini
> [cut]
> mkisofs: Successo. cannot read from
> /mnt/documenti/Riccardo/Listini/Centro_HL/24.4.html
The file either is read-protected or your filesystem has errors. Run
dosfsck on it (or boot to DOS and run scandisk).
> It doesn't change anything using the -a option or being root when issuing
> the command.
Root always has access to all files. So if root does not have access, it
means, that you have an filesystem error. Can you read the offending
file with cat/less/more? Probably not, I guess.
> Then I've tried copying that source directory in my home directory, which
> is located on an ext2 partition, and this time everything works fine.
Are you sure, the copying went fine? I guess, the file could not be
copied, but you overlooked the error (as is easy to do when lots of
messages are scrolling along the screen).
> I'd like mkisofs to read data directly from the fat32 partition, I can't
> copy hundreds of MB before making an iso image.
Well, of course. You should be able to. Try to run dosfsck/scandisk on
the drive and try again.
Rasmus
--
-- [ Rasmus 'M�ffe' B�g Hansen ] --------------------------------------
DISCLAIMER: Microsoft, Windows, Windows 98, Bugs, Lacking features, IRQ
conflicts, System crashes, Non-functional multitasking, the Y2K problem
and the Blue Screen of Death are registered trademarks of
Microsoft, Corp., Redmond, USA.
========================================= [ Remove 'spam' to reply ] ==
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Backups
Crossposted-To: comp.os.linux.misc,comp.os.linux.help
Date: Thu, 03 May 2001 21:19:40 GMT
In comp.os.linux.help Michael Meissner <[EMAIL PROTECTED]> wrote:
> You do want to copy the entries for /dev (unless you use devfs), but cp does
> not copy devices correctly. What I use is rsync, which has a -x option to not
It does .. cp -aR.
> cross file system boundaries (ie, skip /proc since that is a mounted file
I also use rsync like this.
[snip useful post]
Peter
------------------------------
From: =?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?= <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,comp.os.linux.misc,comp.os.linux.networking,linux.debian.user
Subject: Re: Continuing Network Problem
Date: Thu, 3 May 2001 23:25:45 +0200
On Thu, 3 May 2001, Kevin from Hamilton wrote:
> Okay this is where I stand... Debian Potato... (2.2.18)
>
> I am currently just testing using a crossover cable and one WIN98SE machine.
>
> I now can connect to my Win98SE machine if I use a static IP.
> But I want to be able to force all of these settings with the exception of
> HOST Name
> (eg. WIN98) through DHCP requests from other machines within the home
> network.
Set up dhcpd (http://www.isc.org/products/DHCP/) to hand out IP
information. But are you sure, you want to do this only for a single
box?
> I also want to be able to use Samba and have windows shares on my Linux box.
This is a good place to start:
http://www.linuxdoc.org/HOWTO/SMB-HOWTO.html
also www.samba.org could be useful to read.
> My Windows 98 Machine cannot currently get on the internet through the Linux
> box.
> (Open up Mozilla and get a web page or get email or use ICQ or IRC or
> Telnet)
> I can ping... and resolve the name to an address, but it times out on all
> ping requests (except ping 192.168.1.1)
> On the Windows machine, I can only get ping, FTP, Telnet and WWW from the
> machine 192.168.1.1
192.168.* is non-routable IP addresses. Which means that they oficially
does not exist on the internet. Therefore you can send traffic _from_
those addresses - but servers will not know how to return the answers.
Therefore you never get answers (= timeouts).
What you need to do, is make sure, that the linux box lies to the
internet and says 'this traffic comes from me' when it actually comes
from the Windows box. When the answer returns with the linux box as
recipient, it looks up in a table and says 'wow, this is the answer to
the windows box' - and then it silently sends it back to the Windows
box.
So the Windows box sends directly to the internet and does never
discover, that the linux box modifies all traffik. And the internet
believes to talk to the linux box and never knows, that the traffik
originally came from an invalid IP address.
This is known as Network Address translation (NAT) or IP Masquerading.
With a kernel 2.2, you can set it up like this:
http://www.linuxdoc.org/HOWTO/IP-Masquerade-HOWTO.html
With a kernel 2.4, it is done like this:
http://netfilter.samba.org/unreliable-guides/NAT-HOWTO/index.html
Good luck.
Rasmus
--
-- [ Rasmus 'M�ffe' B�g Hansen ] --------------------------------------
If a trainstation is the place where trains stop, what is a workstation?
========================================= [ Remove 'spam' to reply ] ==
------------------------------
Subject: Re: Start scripts
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Thu, 03 May 2001 21:33:41 GMT
Eckerhard Hannstein <[EMAIL PROTECTED]> writes:
>> add it in crontab!
>
> /etc/crontab ?
> what do i have to write in it?
> only
> /<path>/<scriptname> ?
crontab -e
man cron, man 1 crontab, man 5 crontab
Especially check out man 5 crontab.
Vilmos
------------------------------
From: "Paul Y. Peng" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Networking with 3COM HomeConnect Ethernet Card and Robotics 56K PCI
Date: Thu, 03 May 2001 19:00:31 -0230
Dear Linux Experts,
I wonder whether any of you have successfully set up Red Hat Linux
to work with 3COM HomeConnect Ethernet PCI Adapter (Model #3C450)
and Robotics 56K PCI modem.
The linux was installed on a new intel 866 PC with Win98se. The
Ethernet Adapter works well with Win98. However our system manager
could not set it up to work with Linux. He just could not find a
driver which supports a model number below 500 for 3COM Ethernet
card. He doesn't know how to set up Robotics 56K PCI modem to work
with Linux either. We will appreciate any hints or help from you.
Thanks.
Paul.
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To:
alt.linux,alt.os.linux,comp.os.linux,comp.os.linux.admin,comp.os.linux.redhat,linux.redhat.misc
Subject: Re: I can't to stop httpd !!!!
Date: 3 May 2001 22:14:24 GMT
In <3af1b686$[EMAIL PROTECTED]> "Ken" <[EMAIL PROTECTED]> writes:
]I have a problem is that I can't stop my httpd service, but I can start the
]service.
Do you know if it ever started?
ps aux|grep httpd
if the only line is that grep line, your httpd never started-- ie there
was some misconfiguration which you need to figure out.
]When I try to type in "/etc/rc.d/init.d/httpd stop" or
]/etc/rc.d/init.d/httpd restart
]the error message is
]"httpd stop [fail] no such pid",
]"httpd start [ok]
] I have been tried to kill the PID manully, but it doesn't work. I still
What do you mean it doesn't work? It does not wash your car for you?
You need to give better information if you want help.
How did you try to kill it manually? What happened when you did? What is
the exact error message? What are the error messages in
/var/log/messages and /var/log/httpd
]can't use my web server. how can I do ?
]Please help
------------------------------
From: "Brett" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Which Linux to Get for Win2k?
Date: Thu, 3 May 2001 18:42:06 -0400
Hi, all! I think I'm ready to succumb to the charms of Linux. But I'm
clueless. I've spent the last 3 hours searching for answers on the Web but I
must say it's a real pain in the ass for a newbie like me to find relevant
info about Linux.
I hope someone can offer a straight answer to my question: Which Linux
distrubition should I get so I can run it from within Windows 2000
Professional?
I have a PC with standard parts (i.e., nothing fancy). Pentium III, 256MB of
RAM, three hard drives one of which is FAT32. Since I have tons of
important work saved across the three drives, ideally I'd like to install
Linux as a Win2k application if possible. I.e., just launch Linux like the
way one launches Word or Excel.
If this is not feasible, at the least I'd like to install Linux onto the
FAT32 drive without creating any partitions. Is this possible? I heard
that Corel Linux can do that, but it doesn't support Win2k. Which
distribution should I try, then?
So -- don't laugh, please -- I'd like to play with Linux while preserving
everything in Win2k. I'm not a risk taker at this point, because I can't
afford to get fired from work for losing important files. My thinking is if
I like Linux, I'll get a new computer and install both win2k and linux on
it.
Thanks a lot. Please cc to [EMAIL PROTECTED] if not inconvenient.
Thanks.
------------------------------
From: "Karel" <[EMAIL PROTECTED]>
Subject: ATA 100
Date: Fri, 4 May 2001 00:40:54 +0200
Hi there
I'm a total newbie to this newsgroup and Linux
Having a 1 ghz Athlon and Promise ATA 100 working with IBM 46.0 GB HD I want
to install SUSE Linux 6.3
When installing Linux doesn't find my harddisk and is unable to install
Probably a minor problem but to me a huge one
Is anybody willing to help me out?
Thx in advance
Karel
------------------------------
From: Chris Ahlstrom <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: Which Linux to Get for Win2k?
Date: Thu, 03 May 2001 23:02:23 GMT
Brett wrote:
>
> Hi, all! I think I'm ready to succumb to the charms of Linux. But I'm
> clueless. I've spent the last 3 hours searching for answers on the Web but I
> must say it's a real pain in the ass for a newbie like me to find relevant
> info about Linux.
>
> I hope someone can offer a straight answer to my question: Which Linux
> distrubition should I get so I can run it from within Windows 2000
> Professional?
Any one of them will work.
> I have a PC with standard parts (i.e., nothing fancy). Pentium III, 256MB of
> RAM, three hard drives one of which is FAT32. Since I have tons of
> important work saved across the three drives, ideally I'd like to install
> Linux as a Win2k application if possible. I.e., just launch Linux like the
> way one launches Word or Excel.
There's such a thing, but I recommend the dual boot option, personally.
> If this is not feasible, at the least I'd like to install Linux onto the
> FAT32 drive without creating any partitions. Is this possible? I heard
> that Corel Linux can do that, but it doesn't support Win2k. Which
> distribution should I try, then?
Don't try to install linux on FAT32. Linux uses its own filesystem,
ext2, which is probably a lot better.
> So -- don't laugh, please -- I'd like to play with Linux while preserving
> everything in Win2k.
Clear off at least 2Gb of consecutive disk space either by defragmenting
and repartitioning, or by moving your stuff completely off of one of the
non-FAT32 drives.
> I'm not a risk taker at this point, because I can't
> afford to get fired from work for losing important files. My thinking is if
> I like Linux, I'll get a new computer and install both win2k and linux on
> it.
>
> Thanks a lot. Please cc to [EMAIL PROTECTED] if not inconvenient.
> Thanks.
Read this one quickly:
http://www.linuxgazette.com/issue38/veselosky.html
This one is too brief:
http://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader.html
This way lets you load Linux using the NT/2000 boot loader:
http://www.linuxgazette.com/issue61/padala.html
However, if you've already installed 2000, linux distributions
will generally let you load linux next, and have the LILO
(linux loader) let you choose between NT and Linux at boot time.
In any case, since you're worried about your data, you'd damn
well better have backed the data up first! You'd do that if
you had to totally reinstall Win 2000, wouldn't you?
Anyway, hope this kickstarts you.
Chris
--
Free the Software!
------------------------------
From: Jin Zhao <[EMAIL PROTECTED]>
Subject: NEC NR-7500A CD-RW 8/4/32
Date: Thu, 3 May 2001 18:04:52 -0500
Does anbody have this CD-RW drive work on linux ?
I have seen several posts about this topic, but no answers available.
Please response to my email address.
Thanks,
Jin
------------------------------
From: "Henrik Farre" <[EMAIL PROTECTED]>
Subject: Re: ATA 100
Date: Fri, 04 May 2001 01:09:41 -0400
I artikel <[EMAIL PROTECTED]>, skrev "Karel"
<[EMAIL PROTECTED]>:
> Hi there
>
> I'm a total newbie to this newsgroup and Linux
>
> Having a 1 ghz Athlon and Promise ATA 100 working with IBM 46.0 GB HD I
> want to install SUSE Linux 6.3
>
> When installing Linux doesn't find my harddisk and is unable to install
> Probably a minor problem but to me a huge one
>
> Is anybody willing to help me out?
try http://www.geocities.com/ender7007/index.html
it should work with suse
--
Mvh. / Kind regards
Henrik Farre ([EMAIL PROTECTED])
Webpage: http://Welcome.to/Webbench
-If I where God, I would recompile the penguin with --enable-flying.
------------------------------
** 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 by posting to comp.os.linux.setup.
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
******************************