Linux-Setup Digest #392, Volume #21 Thu, 7 Jun 01 13:13:14 EDT
Contents:
NIS problems (Pietro Belotti)
GRUB (Marcelo Rodrigues)
Re: Weird lilo problem, never seen before ("David Anderson")
Re: integrated xircom modem not detected on Red hat 7.1 (Alex Yung)
Printing - 3Com home ethernet gateway (model 3C510) (Arnold Juster)
ip addresses help... ("john")
Re: XFree86 problems ("Michael David Pedersen")
Problem with biff sourcing mail file for header information (Anne P. Mitchell, Esq.)
Re: Printing - 3Com home ethernet gateway (model 3C510) ("luther")
Re: NIS problems ("Peter T. Breuer")
Two file execution problems (Richard Everhart)
Re: ip addresses help... (root@localho$t)
Re: rc.local file. (Markku Kolkka)
Re: Two file execution problems ("Peter T. Breuer")
Re: ip addresses help... ("Peter T. Breuer")
----------------------------------------------------------------------------
From: Pietro Belotti <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: NIS problems
Date: Thu, 07 Jun 2001 17:03:10 +0200
Hi there,
I've been trying to install NIS on a small lab (4 computers). I've read
Stern's book (I know, it is a bit obsolete) and T. Kukuk's howto, but
that annoying "YPBINDPROC_DOMAIN: Domain not bound" msg keeps appearing.
Here's what I did by following Kukuk's Howto, I hope some of you find
the mistake (assume fausto is the server and cesare is a client, and
they are located at 131.175.122.54 and .52 respectively):
1. I run
domainname bartali
both on the server and the client.
2. /var/yp/Makefile on the server contains the target
all: passwd group hosts services netid protocols networks mail rpc netid
3. /var/yp/securenets on the server contains the lines
host 127.0.0.1
host 131.175.122.52
4. /etc/ypserv.conf gives me some doubts... it's more or less the same
as suggested by the authors:
dns: no
* : shadow.byname : port : yes
* : passwd.adjunct.byname : port : yes
* : * : none
Then I start ypserv and it runs, as from the output of rpcinfo -u
localhost ypserv:
la versione 1 del programma 100004 � pronta e in attesa
la versione 2 del programma 100004 � pronta e in attesa
Yes, this is the italian translation of the message you would expect.
Then, let's generate the NIS database (output follows):
[fausto /var/yp] /usr/lib/yp/ypinit -m
At this point, we have to construct a list of the hosts which will run
NIS
servers. fausto.elet.polimi.it is in the list of NIS server hosts.
Please continue to add the names for the other hosts, one per line.
When you are done with the
list, type a <control D>.
next host to add: fausto.elet.polimi.it
next host to add:
The current list of NIS servers looks like this:
fausto.elet.polimi.it
Is this correct? [y/n: y]
We need some minutes to build the databases...
Building /var/yp/orlab/ypservers...
Running /var/yp/Makefile...
gmake[1]: Entering directory `/var/yp/orlab'
Updating passwd.byname...
Updating passwd.byuid...
Updating group.byname...
Updating group.bygid...
Updating hosts.byname...
Updating hosts.byaddr...
Updating services.byname...
Updating services.byservicename...
Updating netid.byname...
Updating protocols.bynumber...
Updating protocols.byname...
Updating networks.byaddr...
Updating networks.byname...
Updating mail.aliases...
Updating rpc.byname...
Updating rpc.bynumber...
gmake[1]: Leaving directory `/var/yp/orlab'
[fausto /var/yp] rpcinfo -p localhost
programma vers proto porta
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100021 1 udp 1024 nlockmgr
100021 3 udp 1024 nlockmgr
100024 1 udp 1025 status
100024 1 tcp 1024 status
100004 2 udp 668 ypserv
100004 1 udp 668 ypserv
100004 2 tcp 671 ypserv
100004 1 tcp 671 ypserv
So the server side should be ok... the ypserv launched with option -d
gives lots of output which make me think it's all ok.
The client side should be even easier, since starting ypbind is enough.
/etc/yp.conf only contains the line
ypserver 131.175.122.54
[cesare ~] ypbind
[cesare ~] rpcinfo -p localhost
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 1026 status
100024 1 tcp 1024 status
100007 2 udp 836 ypbind
100007 1 udp 836 ypbind
100007 2 tcp 839 ypbind
100007 1 tcp 839 ypbind
Well, no way, it does not work. Let's try debugging...
[fausto ~] ypserv -d
[Welcome to the NYS YP Server, version 1.3.11 (with securenets)]
Find securenet: 255.255.255.255 127.0.0.1
Find securenet: 255.255.255.255 131.175.122.42
Find securenet: 255.255.255.255 131.175.122.43
ypserv.conf: dns: 0
ypserv.conf: 0.0.0.0/0.0.0.0:shadow.byname:2:1:2
ypserv.conf: 0.0.0.0/0.0.0.0:passwd.adjunct.byname:2:1:2
ypserv.conf: 0.0.0.0/0.0.0.0:*:0:0:2
[cesare ~] ypbind -d
parsing config file
Trying entry: ypserver 131.175.122.44
parsed ypserver 131.175.122.44
add_server() domain: orlab, host: 131.175.122.44, nobroadcast, slot: 0
[Welcome to ypbind-mt, version 1.7]
ping host '131.175.122.44', domain 'orlab'
host '131.175.122.44' doesn't answer.
Pinging all active server.
ping host '131.175.122.44', domain 'orlab'
host '131.175.122.44' doesn't answer.
And so on.
Any clue, pleeease?
Thanks,
Pietro
------------------------------
From: Marcelo Rodrigues <[EMAIL PROTECTED]>
Subject: GRUB
Date: Thu, 7 Jun 2001 11:44:15 +0000
I'm using Conectiva LINUX (based on Red Hat) and Grub on hda. I have
Windows installed on hdb1, and i'd like to dual boot.... But, when I try,
nothing happens... The screen remains dark, and system does nothing. LINUX
boots fine - only windows refuses...
I believe it has to do with Grub...
So, if someone could tell me (or point a How-To) a way out of this mess...
TIA
--
I am the one hidding under your bed!
Teeth ground sharp, and eyes glowing red!
To reply by mail change everything before @ to paternot
Avatar
------------------------------
From: "David Anderson" <[EMAIL PROTECTED]>
Subject: Re: Weird lilo problem, never seen before
Date: Thu, 7 Jun 2001 17:22:34 +0200
Reply-To: "David Anderson" <[EMAIL PROTECTED]>
> Ahhhh... The plot thickens!...
> Compaq Utilities partition is present on the hard drive.
> Linux boot's okay if the prompt time's out...
> You don't have F10 access to the Compaq utilities but...
> You can boot to the Compaq utilities through a floppy...
> Did I get that right?
Exactly :-)
What a weird machine I have been gifted with...
------------------------------
From: [EMAIL PROTECTED] (Alex Yung)
Crossposted-To: comp.os.linux.portable
Subject: Re: integrated xircom modem not detected on Red hat 7.1
Date: 7 Jun 2001 15:31:29 GMT
Reply-To: [EMAIL PROTECTED]
I have used Toshiba Tecra 8000 and experienced your problem. I don't
have the laptop anymore so I can not tell you the exact pharse in
the BIOS setting. If you go into the BIOS setting, there are 3
choices regarding to the PCMCIA Bus which are [AUTO], [CardBus] and
[Other]. You should not use [AUTO], just try [CardBus] or [Other].
Ronald ([EMAIL PROTECTED]) wrote:
: Hi,
: Has anybody have successfully installed red hat 7.1 on Toshiba Satellite
: 2800-400 laptop??? I setup my machine as dual boot on Windows ME and Linux,
: (the windows ME has two partition C and D, and the Linux is also on a
: separate partition.
: After the installation, Modem is not detected on the Linux OS. Anybody out
: there have some tips and tricks how can I make it running.
: Thanks.
: - Ronald
------------------------------
From: [EMAIL PROTECTED] (Arnold Juster)
Crossposted-To: comp.os.linux.help,comp.os.linux.networking,comp.os.linux.questions
Subject: Printing - 3Com home ethernet gateway (model 3C510)
Date: 7 Jun 2001 08:46:00 -0700
Hi,
I'm having difficulty printing through the gateway mentioned above.
At the bottom of this post there is a description of how the print
server setup works from w/i windows, a link to product details on the
gateway and copies of the /etc/hosts and /etc/printcap files.
In brief, the gateway has
* four 10/100BASE-TX RJ-45 ports to connect networked devices
* an additional RJ-45 port for a WAN device (DSL or cable modem)
* a serial port to allow you to connect an analog modem and
* a parallel port to connect to a printer.
When I scan the gateway (while running linux) for open ports, the port
505 is reported to be available for printing.
I'm using Mandrake Linux 8.0 (kernel 2.4.3), my printer is a HP 6L.
The gateway has an internal IP address of 192.168.2.1, the linux box
is assigned 192.168.2.2, and a windows 2000 box is assigned
192.168.2.3. There is a DSL modem connected to the RJ-45 WAN
connection on gateway that works fine with both the linux box and
the windows 2000 machine. The Windows 2000 machine can print through
the gateway without a problem. At the bottom of this post is a
description of the setup routine to get the gateway to act as a
print server for Windows.
A few other things. When I directly connect the printer to the parallel port
on the linux box and configure the printer as a local printer using
KUPS, the printer works fine.
Any advice would be greatly appreciated. I think that if I could
figure out how to setup the /etc/printcap and /etc/host files correctly
that the print server features of this gateway might actually work.
Sincerely,
Arnold Juster
**Setting up the print server from Windows: There is an installation a
provided CD-Rom. This seems to create a port called the
"PRTmate (all-in-one)". After the port has been created (and the
requisite reboot, of course), You can go to Start->Settings->Printers,
then open the properties of the appropriate printer and tell it to
print to this new port, which now appears on the list of possible
ports that the system can print to.
** Files /etc/hosts and /etc/printcap
---File "/etc/hosts" begins below this line ------
127.0.0.1 localhost.localdomain localhost
192.168.2.3 localhost
192.168.2.1 homeGateway
192.168.2.2 localhost
---File ends above this line -----------------------
---File "/etc/printcap" begins below this line--------
lp:
lp4:
---File ends above this line -------------------------
** Details on the 3com Home Ethernet Gateway can be found at
http://www.3com.com/products/en_US/detail.jsp?tab=support&sku=3C510&pathtype=purchase
------------------------------
From: "john" <[EMAIL PROTECTED]>
Subject: ip addresses help...
Date: Thu, 7 Jun 2001 09:16:37 -0700
Hello. I'm still kinda a newbie on tcp/ip, linux, etc. This is probably a
stupid question, but can one ethernet card have 2 or more ip addresses at
once? Thanks.
------------------------------
From: "Michael David Pedersen" <[EMAIL PROTECTED]>
Subject: Re: XFree86 problems
Date: Thu, 7 Jun 2001 18:23:38 +0200
Hej again, and thank you for the reply.
The only way I could get i working was to install XFree86 4.03 with the
detonator drivers, and now everything is ok.
- Michael.
------------------------------
From: [EMAIL PROTECTED] (Anne P. Mitchell, Esq.)
Subject: Problem with biff sourcing mail file for header information
Date: 7 Jun 2001 16:21:56 GMT
Hi Folks!
First, please accept my apologies if this is not the right newsgroup in
which to post this question; *please* feel free to tell me if there is a
more appropriate newsgroup.
We've had a problem getting both biff and newmail to run correctly -
specifically the problem is that while we can get them to run, they weren't
including the relevant information such as the sender and subject lines.
All they were saying was "New mail for <userid>".
The only way that I've been able to "fix" it, and make it include the
header and other information in writes to the terminal are to set the
mailbox file to 715, which of course makes it world readable, which isn't
such a good thing for email. :-) (I've tried every possible combination of
permission settings on the file, and it *only* works with it being world
readable.)
I'm _guessing_ that maybe there is a way to give the biff program
"privileges", rather than making the mail files world readable - but darned
if I can figure out what it is (I'm _not_, by any stretch, a system admin
type - and this is all new to me).
If anybody has any ideas or suggestions, I'd be very grateful.
Thanks!
Anne
http://www.intuitiveparenting.org
Resources on intuitive parenting, breastfeeding, co-sleeping, and
more
I am: Mom, Attorney, Professor, Advocate for Fathers and Against
Spam
http://www.annepmitchell.com
------------------------------
From: "luther" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.networking,comp.os.linux.questions
Subject: Re: Printing - 3Com home ethernet gateway (model 3C510)
Date: Thu, 7 Jun 2001 09:32:42 -0700
I would like to find this out too. BTW, good to see another 3C510 user out
there. Have you ever had any problems with the device?
I read the following about using the print server from UNIX (Linux probably
similar in this case):
reference
http://consumer.3com.com/hubs/3c510/documents/printserversetup.cfm:
Configuring on UNIX-based Platforms
Follow the traditional configuration procedure on UNIX platforms to
setup the print
server for this product. The printer name is "lp." (An abbreviation for
"line printer")"
Great- lots of documentation there, huh?
Well, I am a Linux newbie so hopefully someone else will shed some light on
this.
Also, where can I find a driver for Epson Stylus Photo 870 for Linux (RedHat
7.1)?
"Arnold Juster" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi,
>
> I'm having difficulty printing through the gateway mentioned above.
> At the bottom of this post there is a description of how the print
> server setup works from w/i windows, a link to product details on the
> gateway and copies of the /etc/hosts and /etc/printcap files.
>
> In brief, the gateway has
> * four 10/100BASE-TX RJ-45 ports to connect networked devices
> * an additional RJ-45 port for a WAN device (DSL or cable modem)
> * a serial port to allow you to connect an analog modem and
> * a parallel port to connect to a printer.
> When I scan the gateway (while running linux) for open ports, the port
> 505 is reported to be available for printing.
>
> I'm using Mandrake Linux 8.0 (kernel 2.4.3), my printer is a HP 6L.
> The gateway has an internal IP address of 192.168.2.1, the linux box
> is assigned 192.168.2.2, and a windows 2000 box is assigned
> 192.168.2.3. There is a DSL modem connected to the RJ-45 WAN
> connection on gateway that works fine with both the linux box and
> the windows 2000 machine. The Windows 2000 machine can print through
> the gateway without a problem. At the bottom of this post is a
> description of the setup routine to get the gateway to act as a
> print server for Windows.
>
> A few other things. When I directly connect the printer to the parallel
port
> on the linux box and configure the printer as a local printer using
> KUPS, the printer works fine.
>
> Any advice would be greatly appreciated. I think that if I could
> figure out how to setup the /etc/printcap and /etc/host files correctly
> that the print server features of this gateway might actually work.
>
> Sincerely,
>
> Arnold Juster
>
> **Setting up the print server from Windows: There is an installation a
> provided CD-Rom. This seems to create a port called the
> "PRTmate (all-in-one)". After the port has been created (and the
> requisite reboot, of course), You can go to Start->Settings->Printers,
> then open the properties of the appropriate printer and tell it to
> print to this new port, which now appears on the list of possible
> ports that the system can print to.
>
> ** Files /etc/hosts and /etc/printcap
>
> ---File "/etc/hosts" begins below this line ------
> 127.0.0.1 localhost.localdomain localhost
> 192.168.2.3 localhost
> 192.168.2.1 homeGateway
> 192.168.2.2 localhost
> ---File ends above this line -----------------------
>
>
> ---File "/etc/printcap" begins below this line--------
> lp:
> lp4:
> ---File ends above this line -------------------------
>
> ** Details on the 3com Home Ethernet Gateway can be found at
>
http://www.3com.com/products/en_US/detail.jsp?tab=support&sku=3C510&pathtype
=purchase
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: NIS problems
Date: Thu, 7 Jun 2001 18:13:00 +0200
In comp.os.linux.setup Pietro Belotti <[EMAIL PROTECTED]> wrote:
> 1. I run
> domainname bartali
> both on the server and the client.
fine.
> 2. /var/yp/Makefile on the server contains the target
> all: passwd group hosts services netid protocols networks mail rpc netid
This is not necessary. You need to make these maps, yes, but it's up to
you how you care to do it. The default Makefiles are but one way.
> 3. /var/yp/securenets on the server contains the lines
> host 127.0.0.1
> host 131.175.122.52
eh? You need the entries:
255.0.0.0 127.0.0.0
255.255.255.0 131.175.122.0
otherwise nobody will be able to talk to the server!
> 4. /etc/ypserv.conf gives me some doubts... it's more or less the same
> as suggested by the authors:
> dns: no
> * : shadow.byname : port : yes
> * : passwd.adjunct.byname : port : yes
> * : * : none
what? You need just the last line.
> Then I start ypserv and it runs, as from the output of rpcinfo -u
> localhost ypserv:
> la versione 1 del programma 100004 pronta e in attesa
> la versione 2 del programma 100004 pronta e in attesa
> Yes, this is the italian translation of the message you would expect.
> Then, let's generate the NIS database (output follows):
> [fausto /var/yp] /usr/lib/yp/ypinit -m
Thsi si something you never want to do. Run "make" instead.
> At this point, we have to construct a list of the hosts which will run NIS
> servers. fausto.elet.polimi.it is in the list of NIS server hosts.
Eh? This is all overkill. Please don't. They're just trying to
bootstrap you a ypservers map. Ignore it. Nobody cares.
> Running /var/yp/Makefile...
> gmake[1]: Entering directory `/var/yp/orlab'
That's all you needed.
> The client side should be even easier, since starting ypbind is enough.
> /etc/yp.conf only contains the line
> ypserver 131.175.122.54
That's not certain to be the correct syntax. I'd stick to
domain bartali server 131.175.122.54
(only use a name)
> program vers proto port
> 100000 2 tcp 111 portmapper
> 100000 2 udp 111 portmapper
> 100024 1 udp 1026 status
> 100024 1 tcp 1024 status
> 100007 2 udp 836 ypbind
> 100007 1 udp 836 ypbind
> 100007 2 tcp 839 ypbind
> 100007 1 tcp 839 ypbind
> Well, no way, it does not work. Let's try debugging...
Things look fine.
> [cesare ~] ypbind -d
> parsing config file
> Trying entry: ypserver 131.175.122.44
> parsed ypserver 131.175.122.44
> add_server() domain: orlab, host: 131.175.122.44, nobroadcast, slot: 0
domain orlab? You said your domain was "bartali". The client thinks
your domain is orlab! Try again. And make sure that on the server the
right directory
/var/yp/bartali/
exists and contaisn the maps.
> [Welcome to ypbind-mt, version 1.7]
> ping host '131.175.122.44', domain 'orlab'
> host '131.175.122.44' doesn't answer.
> Pinging all active server.
> ping host '131.175.122.44', domain 'orlab'
> host '131.175.122.44' doesn't answer.
> And so on.
> Any clue, pleeease?
Try specifying your domainname as bartali instead of orlab.
Peter
------------------------------
From: Richard Everhart <[EMAIL PROTECTED]>
Subject: Two file execution problems
Date: Thu, 07 Jun 2001 16:38:38 GMT
I'm having two problems related to execution. Both for these problems
are exemplified in the shar file I'm trying to run. This file,
linux-x86.shar, is essentially a shell script. I was originally
created, I'm pretty sure, on a Solaris box. However when I try to
execute it like so:
sh linux-x86.shar
I get the following error message:
`inux-x86.shar: line 22: syntax error near unexpected token `do
`inux-x86.shar: line 22: `do
I've noticed this when executing other shell scripts not created on my
machine. If I re-type all the newlines in the file, which is laborious,
then this problem goes away and I can execute the script.
My second problem occurs when I try to run the application appsrvr,
which is created by executing linux-x86.shar (after re-typing all the
newlines). When I do this I get the following:
bash: /home/richard/bin/appsrvr: No such file or directory
I tried the command: file appsrvr, and it seems that this is an
executable file (sorry, don't have the output here). bin is in my path
as is my current directory. Also, I made sure that appsrvr does have
executable permissions.
Any ideas welcome!
Rich
------------------------------
From: root@localho$t <[EMAIL PROTECTED]>
Subject: Re: ip addresses help...
Date: Thu, 07 Jun 2001 16:51:24 GMT
john wrote:
> Hello.
Hi
> I'm still kinda a newbie on tcp/ip, linux, etc. This is probably
> a stupid question, but can one ethernet card have 2 or more ip addresses
> at
> once? Thanks.
Sure you can, you can even have more (supposing your card is "eth0" here) :
# Make sure your primary adr is setup,
# then....
# Second ip adr
ifconfig eth0:0 xxx.yyy.zzz.sss
# Third ip adr
ifconfig eth0:1 vvv.sss.fff.ggg
# Fourth ip adr
ifconfig eth0:2 ddf.ff.ggg.hh
# etc.....
------------------------------
From: Markku Kolkka <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.misc
Subject: Re: rc.local file.
Date: 07 Jun 2001 19:48:46 +0300
[EMAIL PROTECTED] (Lew Pitcher) writes:
> >Services are started at boot by scripts in the /etc/rc.d/init.d
> >directory and symlinks to those scripts in /etc/rc.d/rc[0-6].d
>
> Not on all systems. This is a SysV'ism that only _some_ Linux distros
> have adopted.
The question was specifically about Red Hat 7.0, and the answers apply
to that distribution.
--
Markku Kolkka
[EMAIL PROTECTED]
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Two file execution problems
Date: Thu, 7 Jun 2001 18:49:01 +0200
Richard Everhart <[EMAIL PROTECTED]> wrote:
> I'm having two problems related to execution. Both for these problems
> are exemplified in the shar file I'm trying to run. This file,
> linux-x86.shar, is essentially a shell script. I was originally
> created, I'm pretty sure, on a Solaris box. However when I try to
> execute it like so:
> sh linux-x86.shar
> I get the following error message:
> `inux-x86.shar: line 22: syntax error near unexpected token `do
> `inux-x86.shar: line 22: `do
Well, show the line! You also have a problem with 'inux!
> I've noticed this when executing other shell scripts not created on my
> machine. If I re-type all the newlines in the file, which is laborious,
> then this problem goes away and I can execute the script.
Ummmmm .. how can you "retype" newlines? Newlines are line terminators.
They aren't part of a line. And no, it isn't laborious. Any repetitive
task can be done by a computer. That's what they're for.
It sounds like the syntax is wrong or you have rogue characters in the
script.
Peter
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: ip addresses help...
Date: Thu, 7 Jun 2001 18:45:35 +0200
john <[EMAIL PROTECTED]> wrote:
> Hello. I'm still kinda a newbie on tcp/ip, linux, etc. This is probably a
> stupid question, but can one ethernet card have 2 or more ip addresses at
> once? Thanks.
Yes. Also two ethernet cards can have the same IP address at once (but
you won't like it).
Peter
------------------------------
** 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
******************************