Linux-Setup Digest #313, Volume #21 Sun, 27 May 01 12:13:06 EDT
Contents:
Re: kppp connects, but no internet (Steve Martin)
Re: Telnet Problem - Help (daemonX)
Re: Telnet Problem - Help (=?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?=)
Re: Telnet Problem - Help (daemonX)
Re: Apache now working (Chris Ahlstrom)
Re: Samba with Windows 2000 Professional (Rod Smith)
Re: Telnet Problem - Help (=?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?=)
Re: Telnet Problem - Help (daemonX)
PATH (Huub)
strange problem (omry)
Please read... ("psy")
Internet ("Daniel")
Re: PATH (Bit Twister)
Re: PATH (Dave Uhring)
Re: Please read... ("Peter T. Breuer")
Re: Using linux as secondary DNS (Dave Uhring)
Re: Please read... (=?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?=)
Re: My own worst enemy and /dev/dsp (John Thompson)
Re: PATH ("Gene Heskett")
Need driver for Lexmark Z31 printer ("Al Llorca")
help ! (Ashish G.)
----------------------------------------------------------------------------
From: Steve Martin <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: kppp connects, but no internet
Date: Sun, 27 May 2001 08:06:41 -0400
mike wrote:
>
> i have configured kppp... it will connect, but i can not use the internet...
> no ping, nothing...
> what am i doing wrong??
Well, just on this information, it's kinda hard to say.
Just a couple of thoughts...
What does the output of the "ifconfig" command show? If kppp
is in fact connecting, then the PPP interface should show
up and should indicate something like:
ppp0 Link encap:Point-to-Point Protocol
inet addr:xxx.yyy.zz.qq P-t-P:aaa.bbb.ccc.ddd
Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:124 errors:0 dropped:0 overruns:0 frame:0
TX packets:148 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
The "inet addr" section shows your assigned IP address, while the
"P-t-P"
section shows the IP address on the remote end of the connection. Try
pinging the remote IP address. Also, look for the "UP". If that's not
there, then the interface isn't functioning. While this is on your
screen, check the "errors" fields. They should show if you're having
problems.
What's /etc/resolv.conf look like? You need the IP address(es)
of your ISP's name resolver(s) in there, something like:
nameserver xxx.yyy.zzz.qqq
else your system won't be able to resolve names, so nothing
will work. In that same vein, can you at least ping IP
addresses? If that works, then your basic connection is
functional, and it's probably a resolution issue.
Finally, look at the output of the "route" command. It should show a
"default" route to your ISP on the PPP interface. If not, then your
PPP is not configured properly or else is simply failing to connect.
Hope this helps.
------------------------------
From: daemonX <[EMAIL PROTECTED]>
Subject: Re: Telnet Problem - Help
Date: Sun, 27 May 2001 20:18:58 +0800
Telnet has no problem but everytime after i type in the root password it
says..LOGIN INCORRECT.
What's wrong I wonder ? I used to have a linux running with no problem until
I get this in RH7.
Any ideas ?
Thanks.
Bert.
------------------------------
From: =?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?= <[EMAIL PROTECTED]>
Subject: Re: Telnet Problem - Help
Date: Sun, 27 May 2001 14:31:36 +0200
On Sun, 27 May 2001, daemonX wrote:
> Telnet has no problem but everytime after i type in the root password it
> says..LOGIN INCORRECT.
> What's wrong I wonder ? I used to have a linux running with no problem until
> I get this in RH7.
You cannot login via telnet as root as it is insecure. Use ssh instead.
If you really want to login as root via telnet, you have to edit
/etc/securetty.
Rasmus
--
-- [ Rasmus 'M�ffe' B�g Hansen ] --------------------------------------
Computers are like airconditioners:
They stop working properly if you open windows.
================================= [ moffe at amagerkollegiet dot dk ] =0
------------------------------
From: daemonX <[EMAIL PROTECTED]>
Subject: Re: Telnet Problem - Help
Date: Sun, 27 May 2001 21:01:08 +0800
Thank you so much Rasmus.....well last time we used to be able to telnet and login
as root...old verison of RH. What should I add to securetty if i want root to be
able to telnet ?
What ssh ? Can you please give some info on this and its advantages and what it
does anyway.
Thanks again Rasmus and ver much appreciated.
Regards,
Bert.
------------------------------
From: Chris Ahlstrom <[EMAIL PROTECTED]>
Crossposted-To:
linux.redhat.misc,comp.os.linux,comp.os.linux.admin,comp.os.linux.help,comp.os.linux.misc,comp.os.linux.questions,comp.os.linux.redhat
Subject: Re: Apache now working
Date: Sun, 27 May 2001 13:18:58 GMT
Lamar Thomas wrote:
>
> It turns out that Apache was working all along. The problem was that @Home was
> blocking web access to my server from other @Home users. When tried access from a
> dial-up account everything worked just fine!
You can change port numbers, but then all your visitors will have to
know which port you're using, and add it to the URL. Sigh. @Home
restricts upload rates; shouldn't that be enough protection of their
precious bandwidth?
Chris
--
Please enter your Message Activation
Code now to read this message
------------------------------
From: [EMAIL PROTECTED] (Rod Smith)
Crossposted-To: comp.os.linux.networking
Subject: Re: Samba with Windows 2000 Professional
Date: Sun, 27 May 2001 13:21:16 -0000
Reply-To: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>,
Dean Thompson <[EMAIL PROTECTED]> writes:
>
> Hi!,
>
>> I only want to configure my Suse linux 7.0 machine and Windows 2000
>> Professional to access from Win2000 to Linux.
...
> You need to either apply the registry patch which comes with SAMBA to tell
> Win2000 to send plaintext passwords to samba or you need to tell SAMBA that it
> is to expect "encrypt passwords = yes". This will solve your access problems
> from Win2000 to the Linux server.
In addition to setting the "encrypt password" parameter in smb.conf,
it's necessary to add encrypted passwords to Linux's Samba printer
database. This is done as follows:
smbpasswd -a username
Substitute the appropriate username for "username", of course. This
account must already exist as a regular user account; you can't give
access to users who don't exist in Linux. (You can map different Windows
and Linux usernames, by using the "username map" parameter to point to a
file with these associations, though.)
--
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration
------------------------------
From: =?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?= <[EMAIL PROTECTED]>
Subject: Re: Telnet Problem - Help
Date: Sun, 27 May 2001 15:39:56 +0200
On Sun, 27 May 2001, daemonX wrote:
> Thank you so much Rasmus.....well last time we used to be able to telnet and login
> as root...old verison of RH. What should I add to securetty if i want root to be
> able to telnet ?
You should add 'pts/0', 'pts/1' and so on (depending on how many
pseudo-tty's are normally used on the system).
> What ssh ? Can you please give some info on this and its advantages and what it
> does anyway.
Ssh is basically encrypted telnet. It supports encryption (not only of
passwords but of any traffic), compression and X forwarding (so you can
sit with X applications over an ssh line).
In RedHat 7.0 and 7.1 it is on the cd as openssh, openssh-clients and
openssh-server. Just install them and run 'chkconfig --add sshd' and it
should work. Then you login to the box with 'ssh -l login
server.domain.com'.
Rasmus
--
-- [ Rasmus 'M�ffe' B�g Hansen ] --------------------------------------
================================= [ moffe at amagerkollegiet dot dk ] =0
------------------------------
From: daemonX <[EMAIL PROTECTED]>
Subject: Re: Telnet Problem - Help
Date: Sun, 27 May 2001 21:54:26 +0800
Rasmus....
Great help and thank you very much.
Regards,
Bert.
------------------------------
From: Huub <[EMAIL PROTECTED]>
Crossposted-To: redhat.config
Subject: PATH
Date: Sun, 27 May 2001 16:04:54 +0200
Hi,
after compiling I got the message that /usr/local/bin should be in my
PATH. Where can I find this path? Is this /etc/ld.so.conf?
Thanks
Huub
------------------------------
From: [EMAIL PROTECTED] (omry)
Subject: strange problem
Date: 27 May 2001 07:44:28 -0700
Hi all
I have w2k and win98 installed. After installing red-hat 7.1, I found
out that I could only boot linux with a boot floppy. I have installed
linux MBC to the linux main partition and again into the MBR but
nothing seems to change, I always get the NTLDR and can boot Linux
only with floppy disk.
I have copied the linux boot record to a floppy from the right hda
num. which is 11. I have checked the num with the lilo.conf.
I have done it with dd if=/dev/hda11 of=/tmp/liloboot.bin bs=512
count=1.
After copying it to my c:\ directory (w2k root), and updating the
boot.ini with the link, when ever I chose linux from my NTLOADER the
screen hangs all dark with flikerring currsor at the top left corner
of the PC.
What should I do ?
thx
------------------------------
From: "psy" <[EMAIL PROTECTED]>
Subject: Please read...
Date: Sun, 27 May 2001 10:50:58 -0400
Hi!
Since I am new to Linux, please be patient with me. I have had problems
with Linux recognizing my two ethernet cards since I got the message "failed
to bringing up interface eth0".
My first ethernet card is a D-Link DFE-530tx + PCI adapter and my second one
is a Realtek rtl8139(A) pci fast ethernet.
What I did is the following: I went on D-Link website (through windows) and
downloaded a driver for Linux which is an executable (I installed it on a
floppy disk). Happy with that, I went back on Linux, KDE, double clicked on
a: drive and double clicked on the file. Then, nothing happened... Back to
square one!!
In a previous message I got some advise such as "activate driver with
"kudzu"", etc. Now, since I know nothing about Linux, how do I activate
that? And how can I install this D-Link driver?
Also, when I double clicked on "linux config" I got this message "couldn't
execute /usr/bin/kdesu"/sbin/linuxconf" Please install the linuxconf
package". I have with me 5 cds. The first two is intall, the third one is
called "source", the fourth one is "powertools" and 5th one is
"documentation". I have to confess that I went through the documentation
but was quite hard to understand...
Again, many thanks for your patience. I sincerely appreciate your help...
--
Daniel
Visitez mon site Web!!
http://dromadaire.com/cimetiere/psychologie
------------------------------
From: "Daniel" <[EMAIL PROTECTED]>
Subject: Internet
Date: Sun, 27 May 2001 17:04:31 +0200
visitate il mio sito www.danielcity.com
Ciao a Tutti
Daniel
------------------------------
From: [EMAIL PROTECTED] (Bit Twister)
Crossposted-To: redhat.config
Subject: Re: PATH
Reply-To: [EMAIL PROTECTED]
Date: Sun, 27 May 2001 15:06:14 GMT
On Sun, 27 May 2001 16:04:54 +0200, Huub <[EMAIL PROTECTED]> wrote:
>Hi,
>
>after compiling I got the message that /usr/local/bin should be in my
>PATH. Where can I find this path? Is this /etc/ld.so.conf?
Global for everyone
/etc/profile - environment variables (PATH, USER, LOGNAME,...)
/etc/bashrc - contain function and aliases
I would place site/custom global environment variables in xx_local.sh
That way you can pop it in on new installs.
If you have an /etc/profile.d directory; do a
cd /etc/profile.d
touch xx_local.sh
chmod +x xx_local.sh
User only
~userid_here/.bash_profile - for environment variables
~userid_here/.bashrc - for function and aliases
--
The warranty and liability expired as you read this message.
If the above breaks your system, it's yours and you keep both pieces.
Practice safe computing. Backup the file before you change it.
Do a, man command_here or cat command_here, before using it.
------------------------------
From: Dave Uhring <[EMAIL PROTECTED]>
Crossposted-To: redhat.config
Subject: Re: PATH
Date: Sun, 27 May 2001 10:11:02 -0500
Huub wrote:
> Hi,
>
> after compiling I got the message that /usr/local/bin should be in my
> PATH. Where can I find this path? Is this /etc/ld.so.conf?
>
> Thanks
>
> Huub
>
>
In your home directory edit .bashrc and add the line:
export PATH=$PATH:/usr/local/bin
Then execute "source .bashrc"
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Please read...
Date: Sun, 27 May 2001 15:09:18 GMT
psy <[EMAIL PROTECTED]> wrote:
> In a previous message I got some advise such as "activate driver with
> "kudzu"", etc. Now, since I know nothing about Linux, how do I activate
> that? And how can I install this D-Link driver?
You should read the instructions that come with it! But you don't want
it anyway. The drivers in the kernel are fine. There is a fine
D-link driver already on your disk. But what makes you think it is a
d-link card? Read the Ethernet HOWTO for instructions on getting
ethernet cards in general up and going. It should be as simple
as inserting the driver and configuring the net.
I.e., stop doing what you are doing, and instead pay attention to
the HOWTO. Look at the error messages you get when you insert
the module (see the howto for where to look, and so on), and
correct them.
Peter
------------------------------
From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: Using linux as secondary DNS
Date: Sun, 27 May 2001 10:16:30 -0500
Steve Martin wrote:
> Dave Uhring wrote:
>>
>> Mark Johnson wrote:
>
>> > I would like to setup my Linux box as a secondary DNS in addition to
>> > the
>> > primary corporate DNS at our office. What I would like to do is set it
>> > up so that I can type http://voodoo or telnet foobar from my windows
>> > machine
>> > and it will resolve to the linux box. I know that I could easily do
>> > this by editing my local etc/hosts file on my windows machine but i
>> > don't want to do it this way becuase there are about 10 of us in our
>> > little cube pod
>> > at work that need this type of resovling. I don't want to bother out
>> > IT group about updating the DNS everytime we are screwing around with
>> > this type of thing.
>
>> Adding another DNS server is very likely to upset your network
>> administrator. Create a /etc/hosts file on 1 machine and ftp it to the
>> rest.
>
> An alternative you might consider is asking the IT guys to allow you
> to administer your own zone. Then you could set your Linux box up
> to be authoritative just for those ten or so machines, and have it
> refer all other queries to the corporate DNS machines. They might not
> want to do this, but it's better than simply hanging another DNS
> machine on the network without permission.
>
Maintaining DNS zone files is considerably more difficult and time
consuming than editing one /etc/hosts file and distributing it with FTP or
SCP. Not to mention the probable difficulty in getting permission to set
up a separate zone. It's usually best to let sleeping dogs lie when it
comes to running Linux in a Microsoft network, which I assume is present
here.
------------------------------
From: =?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?= <[EMAIL PROTECTED]>
Subject: Re: Please read...
Date: Sun, 27 May 2001 17:27:40 +0200
On Sun, 27 May 2001, psy wrote:
> Hi!
>
> Since I am new to Linux, please be patient with me. I have had problems
> with Linux recognizing my two ethernet cards since I got the message "failed
> to bringing up interface eth0".
>
> My first ethernet card is a D-Link DFE-530tx + PCI adapter and my second one
> is a Realtek rtl8139(A) pci fast ethernet.
The dlink cards use different chips in different revisions. Although I
think it is a rtl8139-based chipset too, better send us the output from
'lspci -v'.
> What I did is the following: I went on D-Link website (through windows) and
> downloaded a driver for Linux which is an executable (I installed it on a
> floppy disk). Happy with that, I went back on Linux, KDE, double clicked on
> a: drive and double clicked on the file. Then, nothing happened... Back to
> square one!!
No. modules (drivers) are not executables.
> In a previous message I got some advise such as "activate driver with
> "kudzu"", etc. Now, since I know nothing about Linux, how do I activate
> that? And how can I install this D-Link driver?
You start a terminal window (xterm, konsole or something like that). The
you type the command 'kudzu' (without quotes).
> Also, when I double clicked on "linux config" I got this message "couldn't
> execute /usr/bin/kdesu"/sbin/linuxconf" Please install the linuxconf
> package". I have with me 5 cds. The first two is intall, the third one is
> called "source", the fourth one is "powertools" and 5th one is
> "documentation". I have to confess that I went through the documentation
> but was quite hard to understand...
Linuxconf is on CD 2. You can install it with either the rpm command
line tool, gnorpm or kpackage.
Rasmus
--
-- [ Rasmus 'M�ffe' B�g Hansen ] --------------------------------------
Drink wet cement: Get Stoned.
================================= [ moffe at amagerkollegiet dot dk ] =0
------------------------------
From: John Thompson <[EMAIL PROTECTED]>
Subject: Re: My own worst enemy and /dev/dsp
Date: Sun, 27 May 2001 10:09:06 -0500
Peter Kelly wrote:
> I've installed RH 7.1, but had problems getting linuxconf to work. It
> was telling me that /dev/dsp was busy.
>
> In a beer inspired act of stupidity, I deleted /dev/dsp.
>
> Since I have no information on what the device should look like, I
> need help.
>
> What are the parameters for mknod to re-create the device?
If you have the kernel sources installed you can find the major
and minor numbers of most devices in
/usr/src/linux/Documentation/devices.txt. Here is the section on
the OSS sound devices. These are char devices, major number is
14, minor numbers as listed:
14 char Open Sound System (OSS)
0 = /dev/mixer Mixer control
1 = /dev/sequencer Audio sequencer
2 = /dev/midi00 First MIDI port
3 = /dev/dsp Digital audio
4 = /dev/audio Sun-compatible digital
audio
6 = /dev/sndstat Sound card status
information {2.6}
7 = /dev/audioctl SPARC audio control
device
8 = /dev/sequencer2 Sequencer -- alternate
device
16 = /dev/mixer1 Second soundcard mixer
control
17 = /dev/patmgr0 Sequencer patch manager
18 = /dev/midi01 Second MIDI port
19 = /dev/dsp1 Second soundcard digital
audio
20 = /dev/audio1 Second soundcard Sun
digital audio
33 = /dev/patmgr1 Sequencer patch manager
34 = /dev/midi02 Third MIDI port
50 = /dev/midi03 Fourth MIDI port
--
-John ([EMAIL PROTECTED])
------------------------------
Date: 27 May 2001 11:3:42 -0500
From: "Gene Heskett" <[EMAIL PROTECTED]>
Subject: Re: PATH
Crossposted-To: redhat.config
Gene Heskett sends Greetings to Huub ;
> Hi,
> after compiling I got the message that /usr/local/bin should be in my
> PATH. Where can I find this path? Is this /etc/ld.so.conf?
> Thanks
> Huub
PATH (note case), or more correctly addressed when reading it, $PATH, is
an environment variable, a long string in the form of
"/path/to/directory:[path/to/another/directory:]" etc.
An 'echo $PATH' will show you what it is now.
The place where I put additions to the PATH is usually in the file
/etc/rc.d/rc.local
To append to the pathlist do PATH=$PATH:/path/to/directory
To prepend to the pathlist do PATH=/path/to/directory:$PATH
and then
export PATH
where it will then be in effect for anything run from thr current shell.
One could also, and its a good idea for security, do these additions in
the individual users /home/user/.bash.rc as that would prevent some
users from haveing access to the whole system without knowing where a
possibly dangerous utility is.
Cheers, Gene
--
Gene Heskett, CET, UHK |Amiga A2k Zeus040, Linux @ 500mhz
email gene underscore heskett at iolinc dot net
#Amiga based X10 home automation program EZHome, see at:#
<http://www.iolinc.net/gene_heskett>
This messages reply content, but not any previously quoted material,
is � 2001 by Gene Heskett, all rights reserved. Due to recent
changes in M$ lusers TOS, mail from msn.com, msn.net, microsoft.com,
microsoft.net, hotmail.com, and hotmail.net is auto-deleted, unread.
--
------------------------------
From: "Al Llorca" <[EMAIL PROTECTED]>
Subject: Need driver for Lexmark Z31 printer
Date: Sun, 27 May 2001 15:44:40 GMT
Does anyone know where I can get the driver for a Lexmark Z31 inkjet
printer?
Are there any gotcha's I should know to make this printer work?
------------------------------
From: [EMAIL PROTECTED] (Ashish G.)
Subject: help !
Date: 27 May 2001 09:05:00 -0700
Hi !
I have two hard disks, one has 20GB storage space and the other has
4.3GB sotrage space. Both the HDDs have 3 partitions. I have loaded
Win98SE and all my software on the 20GB HDD while the 4.3GB HDD is
blank and not connected to my PC.
I am new to Linux and Linux-like OSes so I want to load Linux as a
secondary OS, on the 4.3GB HDD and connect the HDD as a slave to the
other HDD ( atleast till I get familiar with Linux). Please tell me
how to go about it.
Rgds,
Ashish G.
p.s. Please don't tell me to RTFM !!
------------------------------
** 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
******************************