Linux-Misc Digest #729, Volume #26 Sat, 6 Jan 01 08:13:02 EST
Contents:
Re: Chown problem (Michael Heiming)
Re: Trying to get sendmail working...(RH6.2) ("Peter T. Breuer")
Re: Parents of 15 year old find $71,000 in his closet! (M. Buchenrieder)
Re: what news reader do you use? (John Hasler)
Why is sendmail using the wrong NIC??? (Bo Berglund)
Re: Problems moving to Ultra66 controller (Dan Amborn)
Re: cdrecord won't scan bus for cdwriter (Steve Martin)
Re: Why is sendmail using the wrong NIC??? (Michael Heiming)
nfs problem.. permission denied.? ("ID")
Re: what news reader do you use? (Karel Venken)
Re: Step-by step to install Linux RH7 and Win98. ("ID")
rt18139.c ([EMAIL PROTECTED])
Re: 10mbit vs. 100mbit NIC (Karel Venken)
Re: nfs problem.. permission denied.? (Robert Kiesling)
Re: Why is sendmail using the wrong NIC??? (Bo Berglund)
pppd troubles 2.4-0b2-2 -> 2.4.0 (Robert Schweikert)
----------------------------------------------------------------------------
Date: Sat, 06 Jan 2001 10:56:35 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: Chown problem
Andrew Chan wrote:
> I want to change a file's owner to andrew.chan. But if I type chown
> andrew.chan abc, it will recogize the user as andrew and group as chan since
> there is a period between the name and the firstname. Chown delimits user
> and group using period. So how do I put a username with a period in between?
Hello,
cat /etc/passwd | grep andrew.chan
andrew.chan:x:500:100:test:/home/andrew.chan:/bin/bash
chown 500 <filename>
-rw-r--r-- 1 andrew.c .....
Just use the UID instead of the user name and you're done....:-)
Good luck
Michael Heiming
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.networking
Subject: Re: Trying to get sendmail working...(RH6.2)
Date: Sat, 6 Jan 2001 11:06:07 +0100
In comp.os.linux.help Bo Berglund <[EMAIL PROTECTED]> wrote:
> Why do I need a relay? My Linux box is on the Internet and can ping
> anywhere so it should be able to deliver to the destination by itself,
> should it not?
Nope. Do you have a DNS entry? If not, no machine will accept mail from
you. How are you connected to the internet? If it is via an ISP, then I
HOPE your ISP will firewall you off from sending mail. Etc. Etc.
Peter
------------------------------
Crossposted-To:
alt.linux,alt.comp.hardware,nf.general,can.general,nb.general,bc.general,ns.general
From: [EMAIL PROTECTED] (M. Buchenrieder)
Subject: Re: Parents of 15 year old find $71,000 in his closet!
Date: Sat, 6 Jan 2001 08:18:01 GMT
[Note FollowUp-To: header !]
"Chris" <[EMAIL PROTECTED]> writes:
>"Trevor" <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]...
>> It Works, Its Legal, Its Easy, so Why Not?
>Why not? Becuase it's cheap to burn your money... really!!!!
Besides that , it is _illegal_ almost everywhere, despite
of what the message tells.
That's what is called a pyramid scheme, specifically, a Ponzi scheme,
and it will get you in jail.
Michael
--
Michael Buchenrieder * [EMAIL PROTECTED] * http://www.muc.de/~mibu
Lumber Cartel Unit #456 (TINLC) & Official Netscum
Note: If you want me to send you email, don't munge your address.
------------------------------
From: John Hasler <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc
Subject: Re: what news reader do you use?
Date: Sat, 6 Jan 2001 04:55:22 GMT
blix writes:
> But I've been trying to use emacs to read the news...
I assume that by this you mean gnus?
> ...but find it very non-intuitive and cumbersome.
Nothing on a computer is intuitive. You do realize that gnus is more or
less infinitely customizable?
> Is it worth it to learn to read the news in emacs?
Is it worth what? What do you want that PAN doesn't have?
> What news readers do you all use?
Gnus. Before it I used readnews.
--
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin
------------------------------
From: [EMAIL PROTECTED] (Bo Berglund)
Crossposted-To: comp.os.linux.networking
Subject: Why is sendmail using the wrong NIC???
Reply-To: [EMAIL PROTECTED]
Date: Sat, 06 Jan 2001 11:43:11 GMT
I can't get sendmail to work over my Internet connection (ADSL on
eth1). The default gateway is 192.168.0.129 (the ADSL gateway) and my
NIC:s are set up so:
eth0 192.168.1.1
eth1 192.168.0.1
default gateway is 192.168.0.129
No mail gets delivered to Internet recipients...
But when I look in /var/logs/maillog I see lines like this:
Jan 6 11:01:52 linuxpc sendmail[8647]: gethostbyaddr(192.168.1.1)
failed: 1
It looks like it is trying to use eth0 even though the correct one
(with gateway) is eth1. Why is this so??
How to change it?
Bo Berglund
[EMAIL PROTECTED]
------------------------------
From: Dan Amborn <[EMAIL PROTECTED]>
Subject: Re: Problems moving to Ultra66 controller
Date: Sat, 06 Jan 2001 05:14:52 -0600
Reply-To: [EMAIL PROTECTED]
Thank you. I should have thought of putting lilo on in the MBR. This
was my biggest stumbling block. I got it working great and then screwed
it up when I tried to put lilo in /dev/hde5. For some reason it
wouldn't boot from there. I use System Commander and for some reason it
just stopped at=20
LI
I backed up that partition with Drive Image so I will try again. I
don't know how to make a good boot disk for Redhat 6.2. I tried to make
one but found out later it only worked when I had it on the controller
on the board. I made one using this syntax
dd if=3D/boot/k6_linux of=3D/dev/fd0 bs=3D8192
Is there a better way?
Getting close though. I can taste it. Pretty soon doing this will be
obsolete now that the 2.4 kernels are out Yippee!
On Fri, 05 Jan 2001 13:01:04 +0100, "Gerard H. Pille" <[EMAIL PROTECTED]>
wrote:
>
>Well, that is indeed about it:
>
>Tell Lilo you will be booting from /dev/hde5 but that for now the boot
>sector is to be put on /dev/hda (MBR !!) (Once you are running, modify
>lilo.conf again for the next time you run lilo, your disk is on
>/dev/hde)
>
>Be sure that you didn't specify the udma66 support as a module, but
>built into the kernel.
>
>Modify your bios to boot from UDMA66
>
>But before you try this: make a boot-diskette or better still, a
>working resque-set of diskettes: boot & root filesystem with goodies.=20
>Boot with them and see if you can get to your hd where it is now. Plug
>it it the new controller, and try again.
>
>The second time I moved from ide to udma66 it worked, the first time it
>didn't and I found a very ease way out: use Gentus Linux from Abit. It
>is based on RedHat (6.2 I believe), you can download a cd-image if you
>have time or adsl.
>
>May the force be with you,
>
>Gerard
--
Dan Amborn
[EMAIL PROTECTED]
Yoda of Borg are we: Futile is resistance. Assimilate you, we will.
------------------------------
From: Steve Martin <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: cdrecord won't scan bus for cdwriter
Date: Sat, 06 Jan 2001 12:01:37 GMT
Bill Unruh wrote:
>
> In <[EMAIL PROTECTED]> dan <[EMAIL PROTECTED]> writes:
>
> >if this is an ide burner, you need to load the scsi emulation module
> >(ide-scsi)
> >insmod ide-scsi
> >i haven't figured out how to put this into /etc/conf.modules yet
>
> Just put it at the end of /etc/rc.d/rc.local
...or put it in /etc/rc.d/rc.modules
------------------------------
Date: Sat, 06 Jan 2001 12:58:49 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: Why is sendmail using the wrong NIC???
Bo Berglund wrote:
> I can't get sendmail to work over my Internet connection (ADSL on
> eth1). The default gateway is 192.168.0.129 (the ADSL gateway) and my
> NIC:s are set up so:
> eth0 192.168.1.1
> eth1 192.168.0.1
> default gateway is 192.168.0.129
> No mail gets delivered to Internet recipients...
> But when I look in /var/logs/maillog I see lines like this:
> Jan 6 11:01:52 linuxpc sendmail[8647]: gethostbyaddr(192.168.1.1)
> failed: 1
>
> It looks like it is trying to use eth0 even though the correct one
> (with gateway) is eth1. Why is this so??
> How to change it?
>
> Bo Berglund
> [EMAIL PROTECTED]
Hello,
looks for me like a DNS problem, sendmail can't resolv it's own
hostname, set it up in /etc/hosts:
192.168.1.1 hostname.your_domain.com hostname
If it doesn't help you can set it in /etc/sendmail.cf
# my official domain name
# ... define this only if sendmail cannot automatically determine your
domain
Djhostname.your_domain.com
Don't forget to restart sendmail!
Good luck
Michael Heiming
------------------------------
From: "ID" <[EMAIL PROTECTED]>
Subject: nfs problem.. permission denied.?
Date: Sat, 6 Jan 2001 20:11:00 +0800
hello,
i'm trying to setup nfs with rh7-linux both machines, but seems not working.
on top of a fresh installed linux system,
----
fstab of client (globalchinalink)
192.168.0.91:/tmp /mnt/tmp nfs exec,dev,suid,rw 1 1
----
/etc/exprots of server (192.168.0.91)
/tmp globalchinalink(rw)
----
i'm puzzled, everything seems right, yet all i got is this error message.
"failed, reason given by server: Permission denied"
anyone know what could be wrong?
regards
ismet
------------------------------
From: Karel Venken <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc
Subject: Re: what news reader do you use?
Date: Sat, 06 Jan 2001 12:29:07 GMT
Netscape. It is the same under Linux, Unix, Windows.
Advantages :
1.You have browser, mail newsreader and composer with one installation
2. The files, (mail,...) can be transferred between different OS.
> I am currently using PAN... it seems to be the closest to the newsreader
> I am used to on my Windows machine (MS Outlook Express).
>
> But I've been trying to use emacs to read the news but find it very
> non-intuitive and cumbersome. Is it worth it to learn to read the news in
> emacs?
>
> What news readers do you all use?
>
> Thanks in advance,
> blix
------------------------------
From: "ID" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: Step-by step to install Linux RH7 and Win98.
Date: Sat, 6 Jan 2001 20:27:35 +0800
1= install win98
2= install partitionmagic.. but do NOT install bootmagic.
3=resize your existing partition with partitionmagic to create ampty space
for linux. (min. 600mb. 2+GB is good idea)
do NOT need to create a partition, just an empty space for linux.
than try to install RH7-linux, follow on-screen instructions, you don't need
a boot manager, linux has its own bootmanager called "lilo" that will take
care of your win98 too.
good luck
ismet
"gataway" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I'm going to setup a new system with two ATA 100 harddisk, one for win
> 98 the other for Linux RH7.I'm planning to have BootMAgic and Partition
> Magic install .
> So which OS do i install first? And what partition is needed for noth
> win98SE and Linux? Can i have and exmaple of how much space for each
> partition? I will
> Install most of the application and games on win98SE ,as for linux i am
> a newbie still
> need to explore more about it.Kindly give me a senerio on what to do.
>
>
------------------------------
From: [EMAIL PROTECTED]
Subject: rt18139.c
Date: Sat, 06 Jan 2001 12:26:59 GMT
now i've got the driver for the my ethernet card for Redhat 5.2
installed in my pc. (i know this version is.....)
The guidance for gettn the driver run and connect the pc to the internet
is as follows:
*****************************************************************************
*
*
* 32-Bit PCI Fast Ethernet Adapter
*
*
*
* Driver Installation for LINUX
*
*
*
*****************************************************************************
Below are the instructions for installing linux driver. You must complie the
source code to generate rtl8139.o and use "insmod" to insert rtl8139.o
as module.
You can use "netconfig" utilities to setup network parameters for the
driver.
Files Description:
==================
rtl8139.c The adapter source code. You can download the newest version from
http://cesdis.gsfc.nasa.gov/linux/drivers/rtl8139.html or
ftp://cesdis.gsfc.nasa.gov/pub/linux/drivers/rtl8139.c
trans Compile batch file.
linux.txt This file.
Installation:
=============
1. Plug 32-Bit PCI Fast Ethernet Adapter into PC's PCI-bus slot.
2. Boot into LINUX and keyin the following commands at the LINUX prompt.
Remember, LINUX is case sensitive.
mkdir /temp
mcopy a:/linux/rtl8139.c /temp
mcopy a:/linux/trans /temp
cd /temp
chmod 777 trans
3. Run trans file to complie and copy driver to linux source code:
/temp/trans
(rtl8139.o will be generated and be copied to /usr/src/linux/modules.)
4. Run netconfig (or netcfg) to set you network parameter (like ip,
gateway).
Slackware: Run "netconfig" to configure IP environment.
This will create '/etc/rc.d/rc.inet1' and 'rc.inet2' files.
netconfig
RedHat:
- Add "alias eth0 rtl8139" into the /etc/conf.modules file.
cd /etc
vi conf.modules
alias eth0 rtl8139
- Run "netcfg" in the xterm of X-window to configure IP environment.
startx
netcfg
(Configure IP of eth0 and enable "Activate interface at boot time".)
5. Use editor vi to modify 'rc.inet1'(or 'rc') in the /etc/rc.d directory to
insmod driver. This file will be run at boot time. You just add a line
at the beginning of 'rc.inet1'(or 'rc').
Slackware:
cd /etc/rc.d
vi rc.inet1
insmod /usr/src/linux/modules/rtl8139.o
RedHat: Add a line at the beginning of 'rc' file.
cd /etc/rc.d
vi rc
insmod /usr/src/linux/modules/rtl8139.o
6. Reboot the LINUX.
reboot ( or shutdown -r now )
When system boots, the driver will be loaded. Then the driver will
scan I/O port to see if a card is there.
(You can run 'dmesg' to see the boot message.)
7. Run 'ifconfig' or 'netstat -i' to see if there is a interface 'eth0'.
**********************************8
Questions:
a)
i've done step 1 & 2, when it comes to step number 3 -- /temp/trans
--- i got unsure cos after i key in
as root:
cd /temp
trans
it display "bad command or file name" -- kindly advise which command
code i should enter to execute "trans"??? pls help so that the .c file
could be compiled successfully. :-D
b) and what is "chmod 777" actually??
pls help.......tx in advance.
chilli ???????????
Sent via Deja.com
http://www.deja.com/
------------------------------
From: Karel Venken <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc
Subject: Re: 10mbit vs. 100mbit NIC
Date: Sat, 06 Jan 2001 12:43:34 GMT
If you have an ethernet-hub in between the two cards, check if it is not a
cheaper/older 10 Mbps version, and supports really the 100 Mbps.
> I have a W2K and Linux (RH7.0) machine networked together via 10/100mbit
> NICs. I have a network monitor on my W2K machine that shows the speed of
> incoming and outgoing data on that interface.
>
> When I transfer large amounts of data to my W2K hard drive from my linux
> machine (using cp), the W2K monitor shows the transfer speed of the W2K
> incoming NIC at about 715KB/s. This seems to be only 10mbit. Any ideas?
>
> Is there something special I need to do with the cards? There are no
> jumpers on the cards, I checked.
Several cards have a special LED which indicates if teh card is running at 10
or 100 Mbps. Eg the indicator is green for 10 Mbps but yellow for 100 Mbps.
Check the manual of the boards. If no indication, then you can not know,
because 100 Mbps interfaces are backwards compatible with 10 Mbps versions and
can therefor always run on this speed. As far as I know this is autodetect so
you can not set the speed yourself.
> When I copied from the W2K machine to the Linux machine (via samba) the
> W2k NIC maxed out at 4.1MB/s for just an instant... but averaged 535.6KB/s.
A difference in speed in the two cases will always be there. This depend on the
OS and the mechanisms. Make sure you use protocols which can handle this,
typically tcp-based (ftp eg.) with proper tcp-settings and transfer large files
to give the tcp-mechanism time to stabilize. Another problem is too much
overhead/processes in your OS. Depends on the machine you are using. A simple
OS with proper settings and no background tasks might be faster. Hard to say.
Experiment a little. Real throughput is depending on a lot of things.
------------------------------
Subject: Re: nfs problem.. permission denied.?
From: Robert Kiesling <[EMAIL PROTECTED]>
Date: Sat, 06 Jan 2001 12:54:56 GMT
"ID" <[EMAIL PROTECTED]> writes:
> hello,
>
> i'm trying to setup nfs with rh7-linux both machines, but seems not working.
> on top of a fresh installed linux system,
> ----
> fstab of client (globalchinalink)
> 192.168.0.91:/tmp /mnt/tmp nfs exec,dev,suid,rw 1 1
> ----
> /etc/exprots of server (192.168.0.91)
> /tmp globalchinalink(rw)
> ----
>
> i'm puzzled, everything seems right, yet all i got is this error message.
> "failed, reason given by server: Permission denied"
I guess that executing "/etc/rc.d/init.d/nfs start" does not, on its
own, start the NFS server in the std RH 7 configuration. Use "rpcinfo
-p" to determine what RPC daemons are running, and then start
/usr/sbin/rpc.nfsd, /usr/sbin/rpc.rstatd, /usr/sbin/rpc.mountd,
/usr/sbin/rpc.rquotad, and /usr/sbin/rpc.rusersd, if necessary.
--
Robert Kiesling <[EMAIL PROTECTED]>
Web Page : http://www.mainmatter.com/kiesling
Linux FAQ:
http://www.mainmatter.com/linux-faq/toc.html http://www.mainmatter.com/
---
Tired of spam? Please forward messages to [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Bo Berglund)
Crossposted-To: comp.os.linux.networking
Subject: Re: Why is sendmail using the wrong NIC???
Reply-To: [EMAIL PROTECTED]
Date: Sat, 06 Jan 2001 12:59:56 GMT
On Sat, 06 Jan 2001 12:58:49 +0100, Michael Heiming
<[EMAIL PROTECTED]> wrote:
>Bo Berglund wrote:
>
>> I can't get sendmail to work over my Internet connection (ADSL on
>> eth1). The default gateway is 192.168.0.129 (the ADSL gateway) and my
>> NIC:s are set up so:
>> eth0 192.168.1.1
>> eth1 192.168.0.1
>> default gateway is 192.168.0.129
>> No mail gets delivered to Internet recipients...
>> But when I look in /var/logs/maillog I see lines like this:
>> Jan 6 11:01:52 linuxpc sendmail[8647]: gethostbyaddr(192.168.1.1)
>> failed: 1
>>
>> It looks like it is trying to use eth0 even though the correct one
>> (with gateway) is eth1. Why is this so??
>> How to change it?
>>
>> Bo Berglund
>> [EMAIL PROTECTED]
>
>Hello,
>
>looks for me like a DNS problem, sendmail can't resolv it's own
>hostname, set it up in /etc/hosts:
>
>192.168.1.1 hostname.your_domain.com hostname
>
>If it doesn't help you can set it in /etc/sendmail.cf
>
># my official domain name
># ... define this only if sendmail cannot automatically determine your
>domain
>Djhostname.your_domain.com
>
>Don't forget to restart sendmail!
>
>Good luck
>
>Michael Heiming
>
Thanks,
my hosts file looks like this now (after changing):
127.0.0.1 localhost.localdomain localhost
192.168.0.30 eagle2.xxxxx.com eagle2
192.168.0.1 linuxpc.xxxxx.com linuxpc # First ethernet card
192.168.1.1 linuxpc.xxxxx.com linuxpc # Second ethernet card
Please note two IP addresses with the same names. I can't think of any
way else to set it up because there are two NIC:s on the same computer
so they should have the same name, or not? To me at least it is one
host with several NIC:s and IP addresses.
But I have seen elsewhere that you can't have the same names but
different IP addresses in the hosts file. Please advice what to do.
The second issue is that I tried to restart sendmail like this:
[root@linuxpc bosse]# /etc/rc.d/init.d/sendmail restart
Shutting down sendmail: [FAILED]
Starting sendmail:
[root@linuxpc bosse]#
Is this an indication that sendmail had problems even stopping?
And since there was no [OK] after starting, does this mean that I now
have an unstable system?
Grateful for advice!
Bo Berglund
[EMAIL PROTECTED]
------------------------------
From: Robert Schweikert <[EMAIL PROTECTED]>
Subject: pppd troubles 2.4-0b2-2 -> 2.4.0
Date: Sat, 06 Jan 2001 08:11:49 -0500
I am trying to get the new kernel going, and one of the recommendation
in the changes file was to upgrade to pppd 2.4.0, thus I downloaded the
rpm from rpmfind and installed it with rpm -U. Using the same options
file I used for 2.4.0b2-2 I get the following message.
/usr/sbin/pppd: local/remote LL address required for demand-dialling
Trying to get info on this with "man pppd" resulted in "No manual entry
for pppd"; after restoring pppd-2.4.0b2-2 "man pppd" works again.
However, this obviously does not give me the info I need.
Any help is appreciated.
Thanks,
Robert
--
Robert Schweikert MAY THE SOURCE BE WITH YOU
[EMAIL PROTECTED] LINUX
------------------------------
** 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
******************************