Linux-Misc Digest #935, Volume #27 Thu, 24 May 01 12:13:02 EDT
Contents:
Re: resizing my ext2 partition (Yvan Loranger)
How To Share Network Connections Among 3 Machines? ("Jason Ng")
Re: How To Share Network Connections Among 3 Machines? (Dean Thompson)
Montego and sndconfig problems with 'make' (LRW)
Left-handed mouse in IceWM (Eirik Newth)
disable relay deny of sendmail ("Patrick Chan")
Mount a Windows printer in Linux with Samba. ("Eric Chow")
automatic raising of X windows in RHL 7.1 w/ GNOME (John Hunter)
Problems CD writing with NEC 465 (Kevin Zembower)
about the make utility ("Mr. X")
printing problem (Mike Douglas)
Re: about the make utility (David)
Re: stripping leading / (Charles Wilkins)
Re: xargs & mv (Cyrille Lefevre)
Re: How To Share Network Connections Among 3 Machines? (Dave Reader)
@Home setup SO SLOW (LRW)
Strange GCC problem on LINUX box (kalimuthu pothi)
Re: automatic raising of X windows in RHL 7.1 w/ GNOME (J Hayward)
Re: Routing keystrokes through network connection ("Michael Pye")
ls won't diplay filenames of files d/l'ed with Netscape (Andrew Nesbit)
Re: Security Testing ("Michael Pye")
Re: Security Testing ("Michael Pye")
Re: about the make utility (Stephen Rank)
Re: printing problem (Vilmos Soti)
Re: disable relay deny of sendmail (Michael Heiming)
Re: LILO and Operating System Missing (Leonard Evens)
Re: Sort of urgent: Recreating boot disk (Leonard Evens)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Yvan Loranger)
Subject: Re: resizing my ext2 partition
Date: 24 May 2001 13:16:09 GMT
Reply-To: [EMAIL PROTECTED] (Yvan Loranger)
"Peet Grobler" (peetgr at absa.co.za) writes:
> Mount the new device somewhere (/mnt/new or similar).
> Create a filesystem on it (ext2 = mke2fs, reiserfs=mkreiserfs IIRC)
> cp -R /<source> to /mnt/new
> umount /mnt/new
> mount <device> /<wherever>
do cp -dpR instead of cp -R
> If this works, boot into single mode and do the following:
> put an entry in /etc/fstab to mount this at boot time.
> umount the device if it's mounted
> rm -rf /<source> -> Whatever you copied to the new disk
> reboot
or use totally different strtegy, parted can modify partition sizes!
> Richard Wallis wrote in message ...
>>Hi there, I have ran out of disk space and tried to transfer my linux
>>partition over onto another bigger hard disk using ghost, but afterwards i
>>found that it had just copied the same partition size over and not extended
>>it to the new size of the hard disk, is there any way of doing this without
>>causing linux not to boot once it's done.
--
Merci........Yvan Pour le plein air: Club Vertige
http://www.ncf.ca/vertige
------------------------------
From: "Jason Ng" <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux,comp.os.linux,comp.os.linux.networking,comp.os.linux.setup,linux.redhat,linux.redhat.misc,uk.comp.os.linux
Subject: How To Share Network Connections Among 3 Machines?
Date: Thu, 24 May 2001 21:15:10 +0800
Hi all,
I have just installed Redhat 7.1 (with kernel 2.4.2) in my machine with 3
network cards.
One of the network card (say eth0) is connected to the Internet through
PPPoE and I would like to use the other network cards (eth1 and eth2) to
share this connection with other 2 machines running Linux and Windows.
However, I don't know how to setup iptables or ipchains in order to finish
the task.
I tried the following commands:
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
Yes, it works for my second network card (eth1). I can share the connection
with the machine connected to this network card.
But I don't know how to setup the third one (eth2). Does anyone know how?
The IP addresses of eth1 and eth2 are 192.168.1.1 and 192.168.1.2
respectively.
I can't even ping 192.168.1.2 from the machine (with IP address 192.168.1.5)
connected to eth2 although I can ping 192.168.1.5 from my Linux machine
using the command:
ping -I eth2 192.168.1.5
I would be grateful if anyone can help me to solve this problem.
Regards,
Jason
------------------------------
From: Dean Thompson <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux,comp.os.linux,comp.os.linux.networking,comp.os.linux.setup,linux.redhat,linux.redhat.misc,uk.comp.os.linux
Subject: Re: How To Share Network Connections Among 3 Machines?
Date: Thu, 24 May 2001 23:47:47 +1000
Hi!,
[Note: Follow-ups have been set to comp.os.linux.networking]
> I have just installed Redhat 7.1 (with kernel 2.4.2) in my machine with 3
> network cards. One of the network card (say eth0) is connected to the
> Internet through PPPoE and I would like to use the other network cards
> (eth1 and eth2) to share this connection with other 2 machines running
> Linux and Windows.
>
> However, I don't know how to setup iptables or ipchains in order to finish
> the task.
>
> I tried the following commands:
>
> iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
You should have eth0 instead of ppp0. This is your outbound ethernet
connection isn't it, or is your ppp0 interface the magic output.
> echo 1 > /proc/sys/net/ipv4/ip_forward
Additionally, make sure that you have activated the ip forwarding in the
/etc/sysctl.conf file. Make sure that you have the IP forwarding and IP
Defagging options open as well.
> Yes, it works for my second network card (eth1). I can share the connection
> with the machine connected to this network card.
> But I don't know how to setup the third one (eth2). Does anyone know how?
>
> The IP addresses of eth1 and eth2 are 192.168.1.1 and 192.168.1.2
> respectively.
>
> I can't even ping 192.168.1.2 from the machine (with IP address
> 192.168.1.5) connected to eth2 although I can ping 192.168.1.5 from my
> Linux machine using the command:
This is of some concern, that you are having problems with the ping. How are
the machines connected to your network cards. Are you using cross-over cables
between the machine and the eth1 and eth2 interfaces or is it the standard
RJ45 cable ?
Remember, that direct machine connections should be using a cross-over cable
as opposed to the standard direct cable.
See ya
Dean Thompson
--
+____________________________+____________________________________________+
| Dean Thompson | E-mail - [EMAIL PROTECTED] |
| Bach. Computing (Hons) | ICQ - 45191180 |
| PhD Student | Office - <Off-Campus> |
| School Comp.Sci & Soft.Eng | Phone - +61 3 9903 2787 (Gen. Office) |
| MONASH (Caulfield Campus) | Fax - +61 3 9903 1077 |
| Melbourne, Australia | |
+----------------------------+--------------------------------------------+
------------------------------
From: LRW <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.help,comp.os.linux.setup
Subject: Montego and sndconfig problems with 'make'
Date: Thu, 24 May 2001 08:55:21 -0500
I have a Turtle Beach Montego II sound card (yeah yeah I know.)
And I found drivers for Aureal Vortex 2 which is supposed to support the
Montego II.
When I untar'ed them, I get an asp10.o and an asp30.o.
The instructions say to 'make install', but when I do that all I get is
an error:
***No rule to make target 'install'. Stop.
I've read elsewhere that people have used 'make rebuild' or 'make
rebuild10' but I get the same thing.
Any ideas about that? I have every development package installed that my
RedHat 6.2 came with.
On a side note, when it comes to configuring the settings, under Windows
my card has one set of IRQ and DMA etc, but it also has a SoundBlaster
Emulation in devices with a different set of IRQ and DMA. What's up with
that? Which should I use when it comes time to tell Linux?
Thanks!!!
Liam
------------------------------
From: Eirik Newth <[EMAIL PROTECTED]>
Subject: Left-handed mouse in IceWM
Date: Thu, 24 May 2001 15:55:03 +0200
A simple (and possibly stupid question): I want to use my mouse left-handed
under IceWM, but how do I configure it?
I've looked at the preferences file without finding the relevant commands,
and following advice I've tried putting " xmodmap -e "pointer = 3 2 1" "
in my .Xclients-localhost file (I run RH 7.0), but that doesn't help.
Ideas, anyone?
Regards,
Eirik Newth
---
The Seven site: http://newth.net/psion7
------------------------------
From: "Patrick Chan" <[EMAIL PROTECTED]>
Subject: disable relay deny of sendmail
Date: Thu, 24 May 2001 20:18:43 +0800
How to disable all relay deny of sendmail
so that all hosts can relay to my sendmail server?
------------------------------
From: "Eric Chow" <[EMAIL PROTECTED]>
Subject: Mount a Windows printer in Linux with Samba.
Date: Thu, 24 May 2001 21:29:25 +0800
Hello,
I am a dummy in using Samba.
I want to map a Windows Printer to use in Linux. How can I do this with
Samba ?
My Simple home network is like following :
LinuxBox(192.168.0.1) (Samba Server)
|
|
---------------------------------------------------
|
|
|
|
Windows98 Windows 2000
Professonal
(192.168.0.100)
(192.168.0.101)
Would you please to teach me how I can map both printers connect in
192.168.0.100 and 192.168.101 ?
I want to map the Printer in 192.168.0.100 to LinuxBox with identity
PRINTER_100 and map the Printer in 192.168.0.101 to LinuxBox with identity
PRINTER_101.
So that in the LinuxBox, I can use "lpr __file_name_ PRINTER_100" or "lpr
__file_name_ PRINTER_101" to print files to different printers that mount in
the LinuxBox ?
Best regards,
Eric
------------------------------
Subject: automatic raising of X windows in RHL 7.1 w/ GNOME
From: John Hunter <[EMAIL PROTECTED]>
Date: 24 May 2001 08:05:18 -0500
In the gnome desktop that shipped with my RHL 6.2 system, I could
choose 'Automatic raising of windows after X seconds' and then specify
a time. If I drag my mouse over a window for that amount of time, it
will get the focus and be raised. I can't find this option in the
configuration for 7.1.
Can anyone tell me how to do this?
Thanks,
John Hunter
------------------------------
From: Kevin Zembower <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Problems CD writing with NEC 465
Date: Thu, 24 May 2001 14:14:01 -0000
I'm having problems trying to burn my first CD with a NEC 465 drive.
I can't find any information about this drive from NEC, but I found it
listed on a few (but not many) lists of CD-R drives. Yet, the drive
itself doesn't have any lights or other attributes that makes me think
it's a CD-R. My main suggestion that it is comes from these lines in
my dmesg:
Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0
(scsi1:0:5:0) Synchronous at 20.0 Mbyte/sec, offset 15.
Vendor: NEC Model: CD-ROM DRIVE:465 Rev: 1.03
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi1, channel 0, id 5, lun 0
sr0: scsi3-mmc drive: 14x/32x cd/rw xa/form2 cdda tray
This seems to say that the NEC 465 is an mmc-compliant CD-RW.
Yet, when I try to write to it, I get:
centernet:~/tmp/cdrtools-1.11/cdrecord/OBJ/i686-linux-cc # ./cdrecord -v
speed=2 dev=1,5,0 -data ~/tmp/binary-i386-3.iso
Cdrecord 1.11a01 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jorg
Schilling
TOC Type: 1 = CD-ROM
scsidev: '1,5,0'
scsibus: 1 target: 5 lun: 0
Linux sg driver version: 2.1.39
Using libscg version 'schily-0.5'
atapi: 0
Device type : Removable CD-ROM
Version : 2
Response Format: 2
Capabilities : SYNC
Vendor_info : 'NEC '
Identifikation : 'CD-ROM DRIVE:465'
Revision : '1.03'
Device seems to be: Generic mmc CD-ROM.
./cdrecord: Sorry, no CD/DVD-Recorder or unsupported CD/DVD-Recorder
found on this target.
centernet:~/tmp/cdrtools-1.11/cdrecord/OBJ/i686-linux-cc #
These lines from my /var/log/warn may be related. They were logged at
the same time as my attempt to record.
May 24 09:49:32 centernet kernel: paride: version 1.04 installed
May 24 09:49:32 centernet kernel: pg: pg version 1.02, major 97
May 24 09:49:32 centernet modprobe: modprobe: Can't locate module
paride_protocol
May 24 09:49:32 centernet kernel: pg0: Autoprobe failed
May 24 09:49:32 centernet kernel: pg: No ATAPI device detected
May 24 09:49:32 centernet insmod: /lib/modules/2.2.18/misc/pg.o:
init_module: Device or resource busy
May 24 09:49:32 centernet insmod: /lib/modules/2.2.18/misc/pg.o:
insmod char-major-97 failed
I compiled cdrecord 1.11a01 using the version of make included with
the SuSE 7.1 distribution, which is on this host, instead of smake.
Any ideas if I have a CD-RW, and if so, what I need to do to get
it to work?
Thanks for all your time and thought helping me with this problem.
-Kevin Zembower
=====
E. Kevin Zembower
Unix Administrator
Johns Hopkins University/Center for Communication Programs
111 Market Place, Suite 310
Baltimore, MD 21202
410-659-6139
--
--
[EMAIL PROTECTED] Kevin Zembower
------------------------------
From: "Mr. X" <[EMAIL PROTECTED]>
Subject: about the make utility
Date: Thu, 24 May 2001 16:15:02 +0200
Hi,
does anybody know where I can find a good reference or tutorial
about the make utility.
I did not find a howto for make and
in the man pages there is not really much about it.
------------------------------
From: Mike Douglas <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: printing problem
Date: Thu, 24 May 2001 07:28:43 -0700
I've suddenly found myself unable to print. I get the message:
lpr: connect: Connection refused
jobs queued, but cannot start daemon
This happens whether I'm root or a regular user. I'm using a Lexmark
OptraColor 40 printer on a RH6.2 system. I have no idea what caused this
but printing has been working fine up until now. Can anyone tell me how
to restore the connection?
thanks - Mike
--
Mike Douglas
[EMAIL PROTECTED]
registered Linux user 185263
------------------------------
From: David <[EMAIL PROTECTED]>
Subject: Re: about the make utility
Date: Thu, 24 May 2001 14:29:22 GMT
"Mr. X" wrote:
>
> Hi,
>
> does anybody know where I can find a good reference or tutorial
> about the make utility.
>
> I did not find a howto for make and
> in the man pages there is not really much about it.
You might check here:
http://www.gnu.org/software/make/make.html
http://www.gnu.org/manual/make/index.html
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
Completed more W/U's than 99.216% of seti users. +/- 0.01%
------------------------------
From: [EMAIL PROTECTED] (Charles Wilkins)
Subject: Re: stripping leading /
Date: Thu, 24 May 2001 14:44:09 GMT
Reply-To: [EMAIL PROTECTED]
On 24 May 2001 15:08:50 +0200, Stefano Ghirlanda <[EMAIL PROTECTED]>
wrote:
>[EMAIL PROTECTED] (Charles Wilkins) writes:
>
>> I am looking for the most generic way to strip the leading frontslash
>> character from a string from within a shell script.
>
>If by 'most general' you mean 'understood by as many shells as
>possible' you may be safer in using some standard external program,
>such as cut:
>
>$ FILE="/my/file"
>$ echo ${FILE} | cut -c 2-
>my/file
>
>or even better sed that does the right thing when / is not there:
>
>$ echo ${FILE} | sed -e 's/^\///'
Yes, cut was not correct as some paths may already be absolute paths
and not have the leading /.
The sed arguments are what i needed.
Thank you so much!
Charles
------------------------------
From: Cyrille Lefevre <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.shell,comp.unix.questions,comp.os.linux.questions
Subject: Re: xargs & mv
Date: 24 May 2001 16:52:53 +0200
Reply-To: Cyrille Lefevre <[EMAIL PROTECTED]>
Alex Vinokur <[EMAIL PROTECTED]> writes:
> I want to rename all files *.c to *.C.
it's a FAQ, please, read it.
http://www.faqs.org/faqs/unix-faq/faq/part2/section-6.html
PS : don't forget to fu2 when you xpost.
Cyrille.
--
home: mailto:[EMAIL PROTECTED] | UNIX is user-friendly;
work: mailto:[EMAIL PROTECTED] | it's just particular
Supprimer "%no-spam" et ".invalid" pour me repondre. | about who it chooses
Remove "%no-spam" and ".invalid" to answer me back. | to be friends with.
------------------------------
From: Dave Reader <[EMAIL PROTECTED]>
Subject: Re: How To Share Network Connections Among 3 Machines?
Crossposted-To:
alt.os.linux,comp.os.linux.networking,comp.os.linux.setup,linux.redhat,linux.redhat.misc,uk.comp.os.linux
Date: 24 May 2001 14:57:51 GMT
Note: follow-ups trimmed
In uk.comp.os.linux Jason Ng <[EMAIL PROTECTED]> wrote:
> The IP addresses of eth1 and eth2 are 192.168.1.1 and 192.168.1.2
> respectively.
that is nonsense. why do you want two cards on one network?[1]
if you must have two "point-to-point" ethernet connections for your
machines, instead of using a hub, then give them seperate network numbers.
you might choose 192.168.1.0/24 for one and 192.168.2.0/24 for the other.
> I can't even ping 192.168.1.2 from the machine (with IP address 192.168.1.5)
> connected to eth2 although I can ping 192.168.1.5 from my Linux machine
> using the command:
> ping -I eth2 192.168.1.5
> I would be grateful if anyone can help me to solve this problem.
type 'route -n' or 'netstat -r -n' and see if you can spot it.
dave.
[1] you don't. you have misunderstood something fundamental to IP
neworking.
------------------------------
From: LRW <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.help,comp.os.linux.setup
Subject: @Home setup SO SLOW
Date: Thu, 24 May 2001 10:26:38 -0500
I'd ask the @Home newsgroups, unfortunately you have to be connected to
@Home to access their newsgroups, and the following problem is
preventing me from doing so. =P
I can get connected to the @Home service, and can even ping out and
resolve addresses, etc, but my x-fer rate is no more than about 2kbps!
And stalls out constantly.
There's a GREAT reference page at
http://members.home.net/randal.leavitt/CableModemConnectionNotes.html
which I followed, but it doesn't help.
No change in performance from when all I had was a host name a default
gateway to when I put in all the rest of the info.
Can anyone who has a good connection using cable modem give me some
pointers?
Like for Host, go ahead and use the full c123456-a.xxxx.mo.home.com or
just use c123456-a, use DHCP or BOOTP, etc.
There are some odd discrepancies too. My IPCOFIG /ALL under WIndows
(before Windows crashed) gave me my default gateway etc...and it ends in
a .1. But the network settings has my domain set as ending in .0 and no
way to change it.
Anyway, I'd appreciate any pointers from anyone regarding this.
Thanks!!!
Liam
------------------------------
From: [EMAIL PROTECTED] (kalimuthu pothi)
Crossposted-To: gnu.gcc.help
Subject: Strange GCC problem on LINUX box
Date: 24 May 2001 08:28:59 -0700
Hai,
Today i had some strange problem with newline character before the
end of the file. Here is my program which explains my problem in
detail...
Program:
========
#include <stdio.h>
int main(void) {
FILE *fp = fopen("readme", "r");
int c;
while ((c = getc(fp)) != EOF) {
if (c == '\n')
printf ("newline character detected\n");
}
fclose(fp);
return 0;
}
Content on readme file:
=======================
hello
output:
=======
newline character detected
But note that i NEVER included any newline character in
my readme file. And also if i included any (say n) newline
character(s), then the output shows that it detects n+1 newline
characters.
I don't know where is the problem (ie, whether the
problem with linux or gcc compiler, that's why i put this messages on
both newsgroups, sorry).
Please tell me some suggestions to solve this and where
the problem has actually occured.
Thanks a lot.
Yours,
Pothi K.
------------------------------
From: J Hayward <[EMAIL PROTECTED]>
Subject: Re: automatic raising of X windows in RHL 7.1 w/ GNOME
Date: Thu, 24 May 2001 08:30:31 -0700
Hello,
Run Control Center then look under Sawfish window manager/focus behavior or
click on window manager, select sawfish, select run configuration tool for
sawfish, select focus. Or from the Gnome menu, Programs/Setting/Sawfish
window manager/Focus behavior.
Regards,
Jim H
John Hunter wrote:
> In the gnome desktop that shipped with my RHL 6.2 system, I could
> choose 'Automatic raising of windows after X seconds' and then specify
> a time. If I drag my mouse over a window for that amount of time, it
> will get the focus and be raised. I can't find this option in the
> configuration for 7.1.
>
> Can anyone tell me how to do this?
>
> Thanks,
> John Hunter
>
------------------------------
From: "Michael Pye" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux
Subject: Re: Routing keystrokes through network connection
Date: Thu, 24 May 2001 16:27:54 +0100
Thanks, but I think the point of the question was missed a little... I would
like to manually make the telnet (or other) connection as well...
I know I can have my keystrokes echoed exactly with telnet, but I want to
control the output from the port and see the returned values, telnet clients
themselves make much transparent (don't they?)
MP
"Bernd Prager" <[EMAIL PROTECTED]> wrote in message
news:2mVO6.2784$[EMAIL PROTECTED]...
> perl module Net::Telnet should do it!
>
> "Bas Nedermeijer" <[EMAIL PROTECTED]> wrote in message
> news:9eh3lg$hg2$[EMAIL PROTECTED]...
> > Telnet
> >
> > - Bas
------------------------------
Subject: ls won't diplay filenames of files d/l'ed with Netscape
From: Andrew Nesbit <[EMAIL PROTECTED]>
Date: Thu, 24 May 2001 15:40:08 GMT
hi all, I am having a slight problem here in that I have a few files I
downloaded using Netscape 4.77. I used 'save as' etc etc and they get
saved properly, it's jsut that when I use 'ls' or 'ls -la', the actual
name of the file is missing from the display!
if i pipe the output thru 'less' then I can see the names, but this
gets really annoying. How can I see these filenames? And how do I
prevent this from happening in the future.
(BTW, there's nothing weird about the characters used in the filenames,
they just use the characters a-z, A-Z, 0-9 and period.
Any help appreciated. Thanks.
-Andrew
------------------------------
From: "Michael Pye" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.setup
Subject: Re: Security Testing
Date: Thu, 24 May 2001 16:32:13 +0100
"Dan Hobbs" <[EMAIL PROTECTED]> wrote
> Do not confuse hacker with cracker. A hacker, old school, will tell you
> every possible way to mess up your box, show you how to plug it and will
> not screw with anything you have not given explicit permission to screw
> with.
True, but if I publish my details they become public. I can't write "hackers
only" on it, and there is no way to vet a hacker I have never met...
Good honest hackers are hard to come by. Or you can't tell...
MP
------------------------------
From: "Michael Pye" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.setup
Subject: Re: Security Testing
Date: Thu, 24 May 2001 16:33:23 +0100
"John Hasler" <[EMAIL PROTECTED]> wrote
> If the machine is there, so is the temptation (For crackers, that is.
> Hackers do not engage in such stupidities).
Yeah, but drawing attention to the fact that I have a box with publicly
visible IP xxx.xxx.xxx.xxx which hasn't had proper security testing is
probably to sensible. I don't know who will read it...
MP
------------------------------
From: Stephen Rank <[EMAIL PROTECTED]>
Subject: Re: about the make utility
Date: 24 May 2001 16:47:56 +0100
"Mr. X" <[EMAIL PROTECTED]> writes:
> does anybody know where I can find a good reference or tutorial
> about the make utility.
>
> I did not find a howto for make and
> in the man pages there is not really much about it.
The info pages (info make) are pretty comprehensive, though perhaps
not geared towards absolute beginners.
HTH,
Stephen
--
990719221
------------------------------
Subject: Re: printing problem
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Thu, 24 May 2001 15:54:30 GMT
Mike Douglas <[EMAIL PROTECTED]> writes:
> I've suddenly found myself unable to print. I get the message:
> lpr: connect: Connection refused
> jobs queued, but cannot start daemon
> This happens whether I'm root or a regular user. I'm using a Lexmark
> OptraColor 40 printer on a RH6.2 system. I have no idea what caused this
> but printing has been working fine up until now. Can anyone tell me how
> to restore the connection?
> thanks - Mike
Is your printer connected directly to your machine or you print through
the network? Is the printer daemon running?
Vilmos
------------------------------
Date: Thu, 24 May 2001 17:57:45 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: disable relay deny of sendmail
Patrick Chan wrote:
>
> How to disable all relay deny of sendmail
> so that all hosts can relay to my sendmail server?
Why do you won't to know this?
Spammers will be using your MTA faster than I can type this message,
to send shitloads of SPAM to others on the net.
I'm sorry, but I don't think you'll find many who'll give some advice on
this topic.
Michael Heiming
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,linux.redhat.misc
Subject: Re: LILO and Operating System Missing
Date: Thu, 24 May 2001 10:02:58 -0500
LRW wrote:
>
> I have WinME installed on /dev/hda1, and Linux on /dev/hdb1.
> I set up the install the first time to accidently install LILO onto /hda1
> instead of /hdb1. No biggie, I just had to type "dos" at the LILO: prompt to
> boot up WinME.
>
> However, I had to reinstall Linux, and put LILO on /hdb1 and start from
> floppy.
If you are booting from a floppy, then the lilo boot loader you put
in /dev/hdb1 is irrelevant. What you are probably doing is booting
from a lilo boot loader on the floppy. What you put on the second
hard disk doesn't come into play. Indeed, you can't use lilo to
boot from hdb1 normally. (You can if you are using another boot
loader such as Boot Magic.) You should have put lilo in the
master boot record of the first disk /dev/hda not /dev/.hda1.
>
> Now when I boot up w/o the floppy, after the POST I get only "LI" of "LILO:"
> and it stalls. With the floppy in I get the whole LILO: and it boots to
> Linux fine, but if I try to type dos, it says partition doesn't exist.
> During setup with Disk Druid, I made no changes to the FAT partitions.
>
> Any ideas?
What you have done is mess up the start of the Windows partition,
which is used to boot Windows. Control is transferred to that
if you've done it right either from the original master boot
record---the way it came---or from the lilo boot loader if you
installed lilo correctly. The problem is really how to fix
a messed up Windows ME partition. Under Windows 95/8, you
could take a bootable Windows floppy disk, boot from that and
try
sys c:
(but check the syntax). This might rewrite the things you messed
up. Unfortunately Windows ME has departed from DOS, and the
startup disk it lets you make may not be capable of that.
But probably the easiest thing to do would be what one person
already suggested. When you ran /sbin/lilo, it kept a copy
of the boot sector in /dev/hda1 which it wrote over. You can
use lilo as suggested to restore it. Unless you have done
something else in the meantime to muck things up more, you
ought to be back where you were. You should still be able
to boot Linux from your floppy and if you put the lilo loader
in /dev/hda (the master boot record), you should be okay.
>
> IF I have to reinstall WinME, it's no big deal. My WinME OS is partioned off
> on a seperate partition from the other FAT drive, so nothing important
> should be hurt. (Again, I didn't make any changes to the FAT drive.)
>
> My followup question then is if I have to reinstall WinME back onto drive a,
> will it change Linux on the drive b at all? I'm doubting it, since I have a
> boot floppy for it.
>
> And a last question, I tried to edit the lilo.conf (sp?) file that contains
> what OS options to boot too, and while /etc (?) has it, I mounted and ls'ed
> the floppy and there's nothing there. How can I edit it on the floppy to
> make sure the "dos" aprtition is an option?
>
> Thanks!!!
>
> Liam
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.setup
Subject: Re: Sort of urgent: Recreating boot disk
Date: Thu, 24 May 2001 10:05:21 -0500
michael james obrien wrote:
>
> Michael Pye ([EMAIL PROTECTED]) wrote:
> : OK, I ran LILO from a floppy because the linux partition on my disk falls at
> : about 12GB, too large for my BIOS to boot to it...
>
> : The disk is (physically) buggered. No, I don't have a rescue disk, but I do
> : have another functioning Linux machine and windows 98 on the machine with
> : the buggered disk.
>
> : I also have a boot disk (unnecessary) for the other machine. The two
> : machines run (very) different systems, the unbootable one is Redhat 7.0 the
> : other is Redhat 5 WITHOUT the 2.2.2 kernel update. Is there any way I can
> : rebuild my LILO disk?
>
> : Thanks
>
> : MP
>
> Get the redhat install disk. Put it in the machine you need a boot disk
> for. at the LILO prompt type
> linux root=/dev/hda2 ro
>
> substitute whatever partition your root partition is on for hda2.
>
> Should get you into your system. Then you can make a new boot floppy (see
> man lilo for command line options).
>
> -Michael
The command is mkbootdisk and the man page tells you how to use it.
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
** 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.misc.
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
******************************