Linux-Setup Digest #176, Volume #20 Wed, 6 Dec 00 23:13:15 EST
Contents:
Re: Ping localhost: 0 packets received, 100% packet loss RedHat 6.2 (Brian Wildasinn)
Re: Installing CD Rom connected to a sound card (C. L. Lewis)
Re: Word 97 on Wine ("Philo")
Re: Ping localhost: 0 packets received, 100% packet loss RedHat 6.2 (Steve Martin)
Re: EIDE CD-ROM Writer problem ("Vigil")
Re: How to fix bad sectors on HD? ([EMAIL PROTECTED])
Re: Telnet connections refused ([EMAIL PROTECTED])
Re: help....setup of xinetd.d for talk command ([EMAIL PROTECTED])
Re: Telnet connections refused (freedman)
environment variables problem 2nd post (Robert Stia)
----------------------------------------------------------------------------
From: Brian Wildasinn <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: Ping localhost: 0 packets received, 100% packet loss RedHat 6.2
Date: Wed, 06 Dec 2000 17:45:32 -0800
Reply-To: [EMAIL PROTECTED]
Brian Wildasinn wrote:
> Hi,
> Why can't I ping localhost?
>
> I have a dynamic dialup connection to my school's isp.
>
> Here's what is happening. BTW I can't change the netmask for the
> loopback interface to what should be: ifconfig lo netmask 255.0.0.0.
> See error below. Is that the problem?
Silly me. Just one button needs to be clicked in Linuxconf:
linuxconf>Config>Networking>Client tasks>Name Services
Specification>DNS required for normal operation. Make sure this button
is not checked.
That's all !
Brian
Script started on Wed Dec 6 17:35:18 2000
]0;[EMAIL PROTECTED]: /home/brian[brian@localhost brian]$ ping
localhost
PING localhost.localdomain (127.0.0.1) from 127.0.0.1 : 56(84) bytes of
data.
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=0 ttl=255
time=0.4 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=255
time=0.3 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=2 ttl=255
time=0.3 ms
--- localhost.localdomain ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.3/0.3/0.4 ms
]0;[EMAIL PROTECTED]: /home/brian[brian@localhost brian]$ ping
127.0.0.1
PING 127.0.0.1 (127.0.0.1) from 127.0.0.1 : 56(84) bytes of data.
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=0 ttl=255
time=0.6 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=255
time=0.3 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=2 ttl=255
time=0.3 ms
--- 127.0.0.1 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.3/0.4/0.6 ms
[brian@localhost brian]$ ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:3888 errors:0 dropped:0 overruns:0 frame:0
TX packets:3888 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
ppp0 Link encap:Point-to-Point Protocol
inet addr:134.139.23.202 P-t-P:134.139.23.5
Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:600 errors:139 dropped:0 overruns:0 frame:139
TX packets:620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
[brian@localhost brian]$
]0;[EMAIL PROTECTED]: /home/brian[brian@localhost brian]$ telnet
localhost
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
Red Hat Linux release 6.2 (Zoot)
Kernel 2.2.14-5.0 on an i586
login: brian
Password:
Last login: Wed Dec 6 17:34:46 from localhost
[7m]0;[EMAIL PROTECTED]: /home/brian[brian@localhost brian]$
pwd
/home/brian
]0;[EMAIL PROTECTED]: /home/brian[brian@localhost brian]$ ps
PID TTY TIME CMD
1184 pts/3 00:00:00 bash
1206 pts/3 00:00:00 ps
]0;[EMAIL PROTECTED]: /home/brian[brian@localhost brian]$ exit
logout
[H[2JConnection closed by foreign host.
]0;[EMAIL PROTECTED]: /home/brian[brian@localhost brian]$ ls
[00m[34;01;07;47mBook_php[00m
[00mlynx_bookmarks.html[00m
[34;01;07;47mIopener[00m [34;01;07;47mmail[00m
[34;01;07;47mMail[00m [00mmbox[00m
[34;01;07;47mNews[00m [00mmysql_note:tmp
mysql.sock.txt[00m
[00mNo_route_to_localhost.html[00m [34;01;07;47mnews[00m
[00mREADME-source[00m [34;01;07;47mnsmail[00m
[00mREADME-source_navigator.html[00m [00mpinging_localhost.html[00m
[00mRe_pinging_localhost.html[00m [00mprofile[00m
[34;01;07;47mRp3_vwdial[00m [00mps.tmp[00m
[34;01;07;47mSoftware[00m
[01;32;07;40mps_ax.sh[00m
[34;01;07;47mWorkspace[00m
[01;32;07;40mrdate.sh[00m
[00mXmasLetter2000.doc[00m [00mrxvt-help.txt[00m
[00mYahoo_messenger_install.html[00m
[01;31;07;47msawmill-gnome-0.24-3.i386.rpm[00m
[00mdb_notes.ps_page_2[00m [34;01;07;47msawmill-themer[00m
[00mdb_notes2.PDF[00m
[01;31;07;47msawmill-themer-0.24-3.i386.rpm[00m
[00mdead.letter[00m [00msetterm-help.txt[00m
[00mdircolors.txt[00m [00msignup.html[00m
[00menv-brian.txt[00m [00mt
brian]typescript-ping-localhost.txt2 ifconfig[00m
[00menv-root.txt[00m [00mtypescript-gnome.txt[00m
[00mfixing_localhost.html[00m
[00mtypescript-localhost-settings.txt[00m
[34;01;07;47mflash[00m
[00mtypescript-ping-localhost.txt2[00m
[00mindex-cecs.html[00m
[00mtypescript-testing-localhost.txt[00m
[00mloopback_device_problem.html[00m [00m~.newsrc[00m
[m]0;[EMAIL PROTECTED]: /home/brian[brian@localhost brian]$ ftp
localhost
Connected to localhost.localdomain.
220 localhost.localdomain FTP server (Version wu-2.6.0(1) Mon Feb 28
10:30:36 EST 2000) ready.
Name (localhost:brian): brian
331 Password required for brian.
Password:
230-Please read the file README-source
230- it was last modified on Wed Nov 29 20:21:44 2000 - 7 days ago
230-Please read the file README-source_navigator.html
230- it was last modified on Wed Nov 29 20:22:25 2000 - 7 days ago
230 User brian logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> pwd
257 "/home/brian" is current directory.
ftp> exit
221-You have transferred 0 bytes in 0 files.
221-Total traffic for this session was 520 bytes in 0 transfers.
221-Thank you for using the FTP service on localhost.localdomain.
221 Goodbye.
]0;[EMAIL PROTECTED]: /home/brian[brian@localhost brian]$
]0;[EMAIL PROTECTED]: /home/brian[brian@localhost brian]$ lynx
http://127.0.0.1[7Plocalhost
[?1048h[?1047h[1;24r[4l(B)0[m[39m[49m[1;24r[H[2J[22;1H[1m[33m[44mLooking
up localhost first.Getting
http://localhost/[m[39m[49m[K[1m[33m[44mLooking up
localhost.[m[39m[49m[K[1m[33m[44mMaking HTTP connection to
localhost.Sending HTTP request.[m[39m[49m[K[1m[33m[44mHTTP request
sent; waiting for response.[22;5H/1.1 200 OK[m[39m[49m[K[1;18HTest
Page for the Apache Web Server on Red Hat Linux (p1 of 3)[3;34HTest
Page[5;4HThis page is used to test the proper operation of the Apache
Web[6;4Hserver after it has been installed. If you can read this page,
it[7;4Hmeans that the Apache Web server installed at this site is
working[8;4Hproperly.[9;21H___________________________________[11;16HIf
you are the administrator of this website:[13;6HYou may now add content to
this directory, and replace this page.[14;6HNote that until you do so,
people visiting your website will see[15;6Hthis page, and not your
content.[16;21H___________________________________[18;18HIf you are a
member of the general public:[20;6HThe fact that you are seeing this page
indicates that the website[21;6Hyou just visited is either experiencing
problems, or is undergoing
[1m[33m[44mData transfer complete[23;3H[m[39m[49mArrow keys: Up and
Down to move. Right to follow a link; Left to go back.[24;2HH)elp
O)ptions P)rint G)o M)ain screen Q)uit /=search [delete]=history
list[22;1H[1m[33m[44m-- press space for next page --Are you sure you
want to quit? (y)
[24;2H[m[39m[49m[K[m[39;49m[K[?1047l[?1048l]0;[EMAIL PROTECTED]:
/home/brian[brian@localhost brian]$ exit
exit
Script done on Wed Dec 6 17:38:49 2000
------------------------------
From: C. L. Lewis <[EMAIL PROTECTED]>
Subject: Re: Installing CD Rom connected to a sound card
Date: Thu, 07 Dec 2000 01:48:11 GMT
Several variables involved Sumedi, if it is, as suggested in another
post to the thread, a really old CD-ROm drive(pre-IDE and ATAPI) you may
need to do a recompile on the kernel and include support for it, if it
is just an old IDE CD-ROM drive, you can make it work a couple of
different ways. One is to boot into Win or DOS if you have the
appropriate software installed to initialize the soundcard and
controller, and then do a soft boot into Linux and it will come up
recognized, but the problem I had with that was on the next soft boot in
Linux, the drive designation was changed.
If the card is pnp and can be initialized with the isapnp tools, for
example, I have a SoundWave card that has the IDE CD-ROM interface on it
and configuring the /etc/isapnp.conf to initialize it on irq 11 at
0x01e8 & 0x03ee, having my bios set to non-pnp with resources controlled
by manual, enabled me to use the CD-ROM attatched to it on my older 486
which only had two onboard controllers also.
I'm not currently using the set up and it's been a long time since I did
it. but I think all the information for doing it that way is still in
the docs for isapnp tools and I think there might even be a way in the
newer kernels to set it up to initialize and boot off board chipsets
first.
I'm sure all this is confusing as hell, but I guess it's basically just
to let you know it's not impossible and if you have the will to research
it out and do a little reading, it can be done.
Charles
In article
<[EMAIL PROTECTED]>,
"Sumedi P. Nugraha" <[EMAIL PROTECTED]> wrote:
> I am new in Linux world. I would like to operate an old CD Rom which
> connected to a sound card.
--
Laughter is the best laxative there is for a constipated mind. Humor is
an ideal spoon to dose it.
--Chronocidal Charlie, 1995-2000, RIP--
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: "Philo" <[EMAIL PROTECTED]>
Subject: Re: Word 97 on Wine
Date: Wed, 6 Dec 2000 11:39:53 -0600
i'm runing mandrake7.2
just upgraded from mandrake7.0
the older version of wine would only run win3x os/2 apps...
but the newer version of win will run win9x apps to some extent.
i could not quite bring up word 95 with the current version of wine, even
though i did have
microsoft fonts installed...it was still missing fonts...so i have currently
given up.
i did...just for the heck of it...bring up wordpad...and that did work ok...
worked almost as well under linux as it did from windows.
but if you want to try word97 i'd look into which fonts are required
first...
hopefully someone will post here
--
Philo
website: www.plazaearth.com/philo
------------------------------
From: Steve Martin <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.networking
Subject: Re: Ping localhost: 0 packets received, 100% packet loss RedHat 6.2
Date: Thu, 07 Dec 2000 02:08:40 GMT
Brian Wildasinn wrote:
> ifconfig -a
> lo Link encap:Local Loopback
> LOOPBACK MTU:3924 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
>
> ppp0 Link encap:Point-to-Point Protocol
> POINTOPOINT NOARP MULTICAST MTU:1500 Metric:1
> RX packets:954 errors:180 dropped:0 overruns:0 frame:180
> TX packets:982 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:10
If this is a complete printout, it looks like your loopback
interface isn't up. The word "UP" should show just before
the word "LOOPBACK" in the listing above for the lo interface.
Try the command
ifconfig lo up
to see if it brings the interface up.
------------------------------
From: "Vigil" <[EMAIL PROTECTED]>
Subject: Re: EIDE CD-ROM Writer problem
Date: Thu, 07 Dec 2000 02:24:32 +0000
You missed the `hdx=ide-scsi' kernel boot option :-)
Of course, `x' is whatever IDE device your CD-RW is.
"Michel Poirier" <[EMAIL PROTECTED]> had the audacity to claim:
> Well I'm sure many other users asked the same question in the past. But it
> seems that I'm unable to get the status of my EIDE CDRW drive using
> 'cdrecord -scanbus'. It's complaining about the fact that no SCSI drives
> were found. I compiled the kernel with the SCSI Emulation 'Y' and the Generic
> SCSI 'Y'.
>
> Did I miss something ?
--
.
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: How to fix bad sectors on HD?
Date: 7 Dec 2000 02:14:54 GMT
Jc <[EMAIL PROTECTED]> wrote:
> I currently have RH 6.2 installed and recently I have been getting some
> problems and these seem to be caused by bad sectors on my HD since I
> keep getting read errors poping up on my console ...
> How to I go about cchecking my HD for bad sectors, fixing them and then
> marking the sectors as bad?
Man "badblocks", "mkfs.ext2" (or "mkfs"). As far as I'm aware there
is no way to mark blocks as bad without a HLF. IDE drives do their own
bad sector relocation, and bad sectors appear generally mean the drive
is poked.
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Telnet connections refused
Date: Thu, 07 Dec 2000 02:20:00 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (J. Robert Buchanan) wrote:
> Hello,
>
> After upgrading to RedHat 7.0 I noticed that telnet attempts into my
> system are now refused. Connections to the web server running on my
> machine are also refused. However, ftp connections work
> fine. Everything used to work fine under 6.2. I believe that RH 7.0 is
> using xinetd whereas RH 6.2 was using inetd. A quick examination of
> the xinetd.conf files did not reveal a problem. Is there some
> configuration file which has changed? What do I need to reset?
There should be a config file /etc/xinetd.d/telnet
that looks like this.
# default: on
# description: The telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication.
service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
disable = yes
}
make sure this file exists and run
/etc/rc.d/init.d/xinetd restart
and it should work.
> Thanks in advance.
>
> --
> Bob Buchanan ([EMAIL PROTECTED])
> Phone: 717-872-3659, FAX: 717-871-2320,
http://www.millersville.edu/~jbuchana
> Mathematics Dept. Millersville University
> P.O. Box 1002, Millersville, PA 17551-0302
>
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: help....setup of xinetd.d for talk command
Date: Thu, 07 Dec 2000 02:24:24 GMT
In article <90juid$mm$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> Hello,
> I am trying to run the talk command but I get the message that
> the connection is refused. I changed the disable = yes to no for the
> talk file in the /etc/xinet.d/talk but still get the error. Am I
> missing some other config file? I could not find any usefull
> documention on the configuration of this. Any help would be much
> appreciated. Thanks in advance.
try commenting out the disable = yes line like this
#disable = yes
or removing the line altogether.
Derek
> John
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (freedman)
Subject: Re: Telnet connections refused
Date: 7 Dec 2000 03:23:00 GMT
Reply-To: [EMAIL PROTECTED]
Thu, 07 Dec 2000 02:20:00 GMT, [EMAIL PROTECTED]<[EMAIL PROTECTED]> wrote:
>In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] (J. Robert Buchanan) wrote:
>> Hello,
>>
>> After upgrading to RedHat 7.0 I noticed that telnet attempts into my
>> system are now refused. Connections to the web server running on my
>> machine are also refused. However, ftp connections work
>> fine. Everything used to work fine under 6.2. I believe that RH 7.0 is
>> using xinetd whereas RH 6.2 was using inetd. A quick examination of
>> the xinetd.conf files did not reveal a problem. Is there some
>> configuration file which has changed? What do I need to reset?
>
>There should be a config file /etc/xinetd.d/telnet
>that looks like this.
>
># default: on
># description: The telnet server serves telnet sessions; it uses \
># unencrypted username/password pairs for authentication.
>service telnet
>{
> flags = REUSE
> socket_type = stream
> wait = no
> user = root
> server = /usr/sbin/in.telnetd
> log_on_failure += USERID
> disable = yes
>}
>
>make sure this file exists and run
>/etc/rc.d/init.d/xinetd restart
>
>and it should work.
>
>> Thanks in advance.
>>
>> --
>> Bob Buchanan ([EMAIL PROTECTED])
>> Phone: 717-872-3659, FAX: 717-871-2320,
>http://www.millersville.edu/~jbuchana
>> Mathematics Dept. Millersville University
>> P.O. Box 1002, Millersville, PA 17551-0302
>>
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.
I have the same problem with mandrake 7.2. The is not telnet file in
/etc/xinet.d and furthermore there is no /usr/sbin/in.telnetd. Is there
some package I need to install?
--
Dick Freedman
------------------------------
From: [EMAIL PROTECTED] (Robert Stia)
Subject: environment variables problem 2nd post
Date: Thu, 07 Dec 2000 04:10:09 GMT
Hello all,
I am evidently missing something here. I really hope that
somebody can set me straight. I also hope that I am in the
right newsgroup for this question.
Attempting to intall qt-x11-2.2.1 over an older version
of qt installed with RH 6. Untarred and put it in /usr/local
which created a /qt folder in /usr/local. qt install then says
to check environment variables in the file .profile in the home
directory, and if there was none, to create it, and that
it should have the following lines:
QTDIR=/usr/local/qt
PATH=$QTDIR/bin:$PATH
MANPATH=$QTDIR/man:$MANPATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export QTDIR PATH MANPATH LD_LIBRARY_PATH
Then went looking for.profile and found only the following;
/root/autosave/#\!home\!.profile This is what was in that file
for the environment variables:
QTDIR=/usr/local/qt
PATH=$QTDIR/bin:$/usr/local/qt
MANPATH=$QTDIR/man:$MANPATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export QTDIR PATH MANPATH LD_LIBRARY_PATH
I made a copy of that and placed it in /home and rebooted.
Now, when I try to do a ./configure, I get the following complaint:
The environment variable $QTDIR is not set correctly. It is
currently set to "", but it should be set to this directory,
which is "/usr/local/qt".
I then went back and edited .profile to exactly the same as the qt
example. Got the same complaint.
Can somebody please help me out here?
------------------------------
** 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 (and comp.os.linux.setup) via:
Internet: [EMAIL PROTECTED]
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
******************************