Linux-Misc Digest #366, Volume #27 Thu, 15 Mar 01 09:13:02 EST
Contents:
Re: Why did kernel jump to 2.4? ("Tauno Voipio")
Re: Help! partitioning woes with RH 6.1 (Christoph Kukulies)
Openssh problem on Slackware Current (Martin Boening)
Re: compile error - gcc (=?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?=)
Re: ping, syslogd, startx woes ([EMAIL PROTECTED])
Re: anyone running VMWARE? (John Thompson)
*.po and *.mo (Brian Lere)
"telent localhost" failure (Pai-Yi HSIAO)
Re: "telent localhost" failure ([EMAIL PROTECTED])
Re: HOW TO: XWindows Client? ("Stephane Bourdeaud")
How to run smbmount as non-root? ("Stephane Bourdeaud")
Re: Debian apt question (Gene Wilburn)
Re: "telent localhost" failure (Suresh Ramasubramanian)
Re: No web based administration of cups (Colonel Panic)
Re: Extending Filesystems (Jean-David Beyer)
Re: can't kill! (Jean-David Beyer)
Re: modprobe: cannot locate xxxx (Andre John Mas)
Re: Extracting the bootimage from a bootable (El Torito) CD ? (Rainer Krienke)
Re: How to run smbmount as non-root? (Dances With Crows)
Re: How to run smbmount as non-root? ("Jan Hackel")
Re: modprobe: cannot locate xxxx ("Darren Davison")
Re: "telent localhost" failure (Pai-Yi HSIAO)
Re: How to run smbmount as non-root? ("Stephane Bourdeaud")
Re: modprobe: cannot locate xxxx ("Stephane Bourdeaud")
Re: "telent localhost" failure ([EMAIL PROTECTED])
----------------------------------------------------------------------------
From: "Tauno Voipio" <[EMAIL PROTECTED]>
Subject: Re: Why did kernel jump to 2.4?
Date: Thu, 15 Mar 2001 09:07:14 GMT
"Arctic Storm" <[EMAIL PROTECTED]> wrote in
message news:auWr6.2463$[EMAIL PROTECTED]...
> > >I was just curious why we were all using 2.2.something and suddenly 2.4
> > >came out? Was there a reason, like 2.3 is bad luck in Finland ;-)
> >
No, it is the same numbers (13, 666 etc) as elsewhere 8-).
Tauno Voipio
tauno voipio @ iki fi
------------------------------
From: Christoph Kukulies <[EMAIL PROTECTED]>
Subject: Re: Help! partitioning woes with RH 6.1
Date: 15 Mar 2001 09:10:12 GMT
Eric <[EMAIL PROTECTED]> wrote:
:> I see. It works now. A side note on linux fdisk. I find the
:> output of fdisk confusing (compared to the old BSD fdisk) since
:> it lists hard disk devices (/dev/hdax) instead of partition numbers.
: No it lists partition numbers, but it is the one tool that doesn't read
: /proc for it's information. It directly reads the table from HDD.
:> Later fdisk asks for a partition number but you have no idea but guessing
:> which partition number you want to choose.
: four primary partitions: hda1 hda2 hda3 hda4
: one of these can be an extended partition.
: The logical partitions inside this extended partition, are numbered hda5 and
: up
: There's no confusion if you ask me, but I may not have understood your
: question
OK, once you know that /dev/hda1 corresponds to partition number 1
and so on and someone told you that secret knowledge that
For me a number is a number. But don't let us get nitpicky :-)
I finally understood linux fdisk through this discussion.
--
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Martin Boening)
Subject: Openssh problem on Slackware Current
Date: Thu, 15 Mar 2001 09:15:38 +0000 (UTC)
Hello there,
on my workstation I am running Slackware 7.x (from the slackware-current
directory on the ftp-server). This prerelease distro contains Openssh
2.5.1p2, which I installed, since I need it. However, I have a little
problem with it: when I try to access a server also running Openssh
using SSH Protocol Version 2, the public key authentication fails in
a strange way, if I haven't loaded the key in id_dsa into the ssh-agent.
What happens is, that I am asked to enter the passphrase for the key file
/home/mboen/.ssh/id_dsa, which I do. However, the passphrase is not accep-
ted, I am asked 2 times more, then the authentication falls back to
password (or interactive keayboard, or whatchamacallit) authentication.
I know that the passphrase is correct, because I can add the key to
the ssh-agent with it and I can maintain the key information for
the key using ssh-keygen.
Has anybody else seen this? Did I missconfigure something?
TIA,
Martin
--
Martin Boening, MB3792-ARIN | [EMAIL PROTECTED]
To find out a girl's faults, praise her to her girl friends.
-- Benjamin Franklin
------------------------------
From: =?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?= <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: compile error - gcc
Date: Thu, 15 Mar 2001 10:41:22 +0100
On Wed, 14 Mar 2001, Nick Traxler wrote:
> I am trying to replace the compiler packaged with redhat
> 7 (gcc 2.96) with the current stable release, 2.95.2.
> But, the compile dies with what appears to be incorrect
> code. I'm running a pentium2/300 w/ 192 MB.
> Does anyone have suggestions? Or, are there RPMs
> anywhere? (I've looked on gcc.gnu.org, but I didn't
> see anything)
Good idea to replace it :)
However gcc 2.95.2 does not compile out-of-the-box with glibc 2.2, which
RedHat 7 comes with.
So instead you could download a patched one - for example mine:
www.amagerkollegiet.dk/~moffe/
This one will compile and install fine on RedHat 7 (at least it did on
my box and a couple of others).
Good luck
Rasmus
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: ping, syslogd, startx woes
Date: Thu, 15 Mar 2001 09:42:48 GMT
In <[EMAIL PROTECTED]>, on 03/14/01
at 10:56 PM, [EMAIL PROTECTED] (Juergen Heinzl)
said:
>What does your /etc/nsswitch.conf look like ?
>##
># /etc/nsswitch.conf
>#
>....
>hosts: files dns [NOTFOUND=return UNAVAIL=return]
Somehow, magically, the problem solved itself last night!
I think the relevant moves -- tho' I'm not sure -- were:
(a) setting linuxconf so that dns is required
(b) copying a copy of nsswitch.conf over from my unused Mandrake
7.0 partition
I've made other small changes at diverse times which might have
contributed.
I'm using Mandrake 7.2. I loved how easily it went on the system,
recognizing all the hardware and producing a beautiful gui, but
getting it to do some serious stuff like networking or gcc
required extra steps. (I may have installed the wrong setup
scenario though.)
I'm not sure what went wrong here though or what corrected it.
F.
===========================================================
Felmon John Davis
Union College / Schenectady, NY
os/2 - ma kauft koi katz em sack
===========================================================
------------------------------
From: John Thompson <[EMAIL PROTECTED]>
Subject: Re: anyone running VMWARE?
Date: Wed, 14 Mar 2001 21:07:14 -0600
Jon Tsu wrote:
> I am considering running vmware on my laptop. However I was wondering if it
> is possible to configure vmware to look for an existing installation of
> windows rather than forcing you to install a new copy? I read you can do
> this which saves a lot of time, but I cannot find the docs that support the
> claim.
Yes, you can, but I found it to be rather a bother (lots of
trouble with locked files, FAT corruption, etc.). Instead, I
installed Win98 in a virtual partiton under linux and mount the
original Win98 partition as a network drive from the VMware
virtual machine. Seems to work much better that way.
--
-John ([EMAIL PROTECTED])
------------------------------
From: Brian Lere <[EMAIL PROTECTED]>
Subject: *.po and *.mo
Date: Thu, 15 Mar 2001 10:57:11 GMT
Hi,
Where can I get docs about *.po and *.mo? I think the files are
about localization but I don't know how to understand it and
create it.
- Brian,.
------------------------------
From: Pai-Yi HSIAO <[EMAIL PROTECTED]>
Subject: "telent localhost" failure
Date: Thu, 15 Mar 2001 12:06:39 +0100
I have a linux machine WITHOUT network card.
I want to do "telnet localhost", it TOLD me unable to establish=20
connection.
How can I solve this problem? Which configure file should I check?
Thank you in advance!
paiyi=20
(1) I've checked /sbin/ifconfig; it told me local loop is well installed:
lo Lien encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
Paquets Re=E7us:18 erreurs:0 jet=E9s:0 d=E9bordements:0 trames:0
Paquets transmis:18 erreurs:0 jet=E9s:0 d=E9bordements:0 carrier:=
0
collisions:0 lg file transmission:0 =
=20
(2) I've tried "ping localhost" and it told me "packets transmitted and no
packet loss":=20
packets transmitted, 4 packets received, 0% packet loss=20
=20
(3) I've checked "/etc/inetd.conf". And the telnet service is opened.
ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd -l -a
telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
(4) I've examed "/etc/services". telnet is setup at port 23.
telnet 23/tcp =20
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: "telent localhost" failure
Date: 15 Mar 2001 11:23:58 GMT
Pai-Yi HSIAO <[EMAIL PROTECTED]> wrote:
> I have a linux machine WITHOUT network card.
> I want to do "telnet localhost", it TOLD me unable to establish
> connection.
You must have the telnet server installed and the inetd deamon
installed and running.
Davide
------------------------------
From: "Stephane Bourdeaud" <[EMAIL PROTECTED]>
Subject: Re: HOW TO: XWindows Client?
Date: Thu, 15 Mar 2001 11:31:37 -0000
Thanks for the replies.
Here are two things I did that work quite well:
Using VNC, I downloaded the binaries for Linux and Windows.
I copied the VNC binaries in my /usr/bin on my Linux server, then ran
vncserver and did a cat $home/.vnc/*.log to see what port it was listening
on.
I then ran vncviewer.exe on my Windows system to the given port and it came
up with a twm window (I normally use gdm, Gnome).
I then edited my $home/.vnc/xstartup script, commented out the twm & line,
and added /etc/X11/gdm/Sessions/Gnome instead.
I killed the vncserver process (vncserver -kill :1) and restarted it.
Ran vncviewer.exe on Windows and this time it came up with my Gnome session!
The other way to do it was to edit /etc/X11/gdm/gdm.conf and change enable=0
to enable=1 in the [xdmcp] section.
Edited /etc/X11/xdm/xdm-config and commented out the last line
(DisplayManagerRequestPort:0) with a !
I then added my Windows host IP address to /etc/X11/Xaccess and killed all
the gdm processes to restart my windows manager.
I then installed Exceed on my Windows client and connected to my Linux
server. It came up with the X login window and then on to my Gnome sessions.
Using vncserver you actually need one vncserver process per user session and
it also uses a passwd file (in the $home/.vnc dir) for credentials.
Using Exceed it uses native X authentication and any given number of clients
can connect w/out further configuration.
Cheers,
Stephane B.
------------------------------
From: "Stephane Bourdeaud" <[EMAIL PROTECTED]>
Subject: How to run smbmount as non-root?
Date: Thu, 15 Mar 2001 11:33:55 -0000
Hi,
I am trying to mount smb shares from my Linux server but I don't want to su
everytime I need to do that.
I have done a chmod 4755 on /usr/bin/smbmount and /usr/bin/smbmnt, but I
still can't mount my shares...
I have serached in vain all the FAQs and doc files I have on my system...
Any ideas? (I am sure this question has been asked a thousand times
already...)
Cheers,
Stephane B.
------------------------------
From: [EMAIL PROTECTED] (Gene Wilburn)
Subject: Re: Debian apt question
Reply-To: [EMAIL PROTECTED]
Date: Thu, 15 Mar 2001 11:42:14 GMT
On 14 Mar 2001 23:43:32 -0500, Paul Kimoto <[EMAIL PROTECTED]> wrote:
>In article <bCVr6.390703$[EMAIL PROTECTED]>,
>Gene Wilburn wrote:
>> Hit http://http.us.debian.org potato/main Sources
>> Ign http://http.us.debian.org potato/main Release
>> Hit http://http.us.debian.org potato/non-free Sources
>> Ign http://http.us.debian.org potato/non-free Release
>> Hit http://http.us.debian.org potato/contrib Sources
>> Ign http://http.us.debian.org potato/contrib Release
>>
>> I've been looking for an explanation and haven't found it yet.
>> What does "Ign" mean? Is it a problem?
>
>Doesn't it just mean that the corresponding "Releases" file couldn't
>be found? (The files downloaded by potato's "apt-get update" go in
>/var/state/apt/lists.) There are several (seven, today) machines
>serving as http.us.debian.org, and sometimes a few seem rather flaky.
>
>(P.S. Is there a reason for using "potato" rather than "stable"?
>Are you skipping the security.debian.org stable/updates deliberately?)
No, I was only showing a partial list that highlighted the "Ign" line.
Thanks for pointing out potato vs. stable. I've now adjusted and all
seems well:
Get:1 http://non-us.debian.org stable/non-US/main Packages [14.5kB]
Get:2 http://http.us.debian.org stable/main Packages [824kB]
Get:3 http://non-us.debian.org stable/non-US/main Release [100B]
Get:4 http://non-us.debian.org stable/non-US/contrib Packages [20B]
Get:5 http://non-us.debian.org stable/non-US/contrib Release [103B]
Get:6 http://security.debian.org stable/updates/main Packages [48.2kB]
Hit http://spidermonkey.helixcode.com unstable/main Packages
Hit http://spidermonkey.helixcode.com unstable/main Release
Get:7 http://non-us.debian.org stable/non-US/non-free Packages [6071B]
Get:8 http://security.debian.org stable/updates/main Release [111B]
Get:9 http://non-us.debian.org stable/non-US/non-free Release [104B]
Get:10 http://security.debian.org stable/updates/contrib Packages [29B]
Get:11 http://security.debian.org stable/updates/contrib Release [114B]
Get:12 http://http.us.debian.org stable/main Release [95B]
Get:13 http://security.debian.org stable/updates/non-free Packages [4541B]
Get:14 http://security.debian.org stable/updates/non-free Release [115B]
Get:15 http://http.us.debian.org stable/contrib Packages [30.5kB]
Get:16 http://http.us.debian.org stable/contrib Release [98B]
Get:17 http://http.us.debian.org stable/non-free Packages [77.3kB]
Get:18 http://http.us.debian.org stable/non-free Release [99B]
------------------------------
From: [EMAIL PROTECTED] (Suresh Ramasubramanian)
Subject: Re: "telent localhost" failure
Date: 15 Mar 2001 12:05:07 GMT
Reply-To: [EMAIL PROTECTED]
[EMAIL PROTECTED] proclaimed on comp.os.linux.misc that:
> Pai-Yi HSIAO <[EMAIL PROTECTED]> wrote:
> > I have a linux machine WITHOUT network card.
> > I want to do "telnet localhost", it TOLD me unable to establish
> > connection.
> You must have the telnet server installed and the inetd deamon
> installed and running.
... and the line
telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
uncommented in /etc/inetd.conf
-s
--
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
------------------------------
From: Colonel Panic <[EMAIL PROTECTED]>
Subject: Re: No web based administration of cups
Date: Thu, 15 Mar 2001 23:02:08 +0000
Hi Frank
Does /var/log/cups/error_log give any clues ?
Rgrds
The colonel
> What else can I check for?
>
> Frank.
>
--
Remove the dot in my hotmail account name for my email address
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: Extending Filesystems
Date: Thu, 15 Mar 2001 07:21:06 -0500
[EMAIL PROTECTED] wrote:
>
> <[EMAIL PROTECTED]> writes:
> > How do you increase the size of a filesystem?
> > I am using Mandrake 7.2
>
> You run fdisk, delete the partitions that are the wrong size, create
> new ones of the appropriate size, mke2fs them, mount them, and then
> recover the data that should go onto them from your system backup.
>
> If the filesystems include /, /usr, or /var, you may need to pick up
> one of the "Linux-on-a-floppy" distributions and do the work while
> running a separate Linux install in order to ensure that you don't
> fdisk components out from under yourself.
If you have complete backups (and, IMAO, you are nuts if you do not),
you could just reinstall everything. In the process of
re-installation, just setup all the partitions you want, and then
restore all the files from the backup. Just be careful of /etc/fstab;
you will want that to reflect your new partitions.
I find it soothing to the nerves to make two backup tapes before doing
something like this, and checking each one to be sure it compares with
what is on disk.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 7:15am up 12 days, 14:19, 3 users, load average: 2.03, 2.11,
2.09
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: can't kill!
Date: Thu, 15 Mar 2001 07:36:30 -0500
Tommy Tang wrote:
>
> Dear all,
>
> I am writing a program under linux and encounter
> a difficult problem.
> When my program run, it opens the /dev/video and
> soon it hangs. I try to kill that process but it
> survive even after my kill -9. How can I release
> the device /dev/video? Even unloading the module
> bttv failed.
>
> root@h254225 fd]# date; ps -A | grep a.out
> Thu Mar 15 15:00:44 HKT 2001
> 4487 pts/3 00:00:00 a.out
> [root@h254225 fd]# kill -9 4487
> [root@h254225 fd]# date; ps -A | grep a.out
> Thu Mar 15 15:00:46 HKT 2001
> 4487 pts/3 00:00:00 a.out
> [root@h254225 fd]#
>
> I know it is possible to kill that by rebooting,
> but is there any better method?
>
Your process may be stuck in state D. If this is the case, you are
screwed and will have to reboot. You can see the state by running the
top (man top) command. I would think you could get it from ps (man
ps), but I have not figured out how.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 7:25am up 12 days, 14:29, 3 users, load average: 2.16, 2.13,
2.09
------------------------------
From: Andre John Mas <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: modprobe: cannot locate xxxx
Date: Thu, 15 Mar 2001 13:04:05 GMT
Are they in /lib/module directory that correponds to the kernel name?
Andre
Darren Davison wrote:
>
> hi,
>
> after having rebuilt a kernel, I'm trying to load the modules required for
> an ISDN card. The module is correctly compiled when I do 'make modules' and
> moved to the /lib/modules... folder when I do 'make modules_install', but
> modprobe refuses to find it.
>
> There seem to be comments in various forums about changing modules.conf or
> other files, but neither these or the relevant man pages are clear.
>
> Can anyone please explain this to me?
>
> Many thanks,
>
> --
> Darren Davison
------------------------------
From: [EMAIL PROTECTED] (Rainer Krienke)
Subject: Re: Extracting the bootimage from a bootable (El Torito) CD ?
Date: 15 Mar 2001 13:13:09 GMT
In article <[EMAIL PROTECTED]>,
David <[EMAIL PROTECTED]> writes:
> Rainer Krienke wrote:
>>
>> Hello,
>>
>> does anyone know how to extract the boot image from a CD that is on bootable
>> CDs. If you create a bootable CD you have to give a disk image file (1.44 or 2.88
>> MBytes) that is placed according to the El Torito standard
>> somewhere in the iso9660 image.
>>
>> What I'd like to have is a utility which extracts exactly this image from a
>> existing bootable CD.
>>
>> Does anyone know such a tool (for linux)?
>
>
> Extract it to where?
>
> To a floppy in linux:
>
> dd if=/path/to/boot.img of=/dev/fd0 bs=1440k
>
This is roughly the image but not exactly. It seems that there is still a header
in front of the image because the first 1440K contain for example the options of
mkisofs, the command the ISO filesystem on the CD was created with.
Thats why I asked for a tool that exactly extracts only the image leaving all
other iso9660 stuff alone).
Thanks
Rainer
--
=====================================================================
Rainer Krienke [EMAIL PROTECTED]
Universitaet Koblenz, http://www.uni-koblenz.de/~krienke
Rechenzentrum, Voice: +49 261 287 - 1312
Rheinau 1, 56075 Koblenz, Germany Fax: +49 261 287 - 1001312
=====================================================================
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: How to run smbmount as non-root?
Date: 15 Mar 2001 13:17:31 GMT
Reply-To: [EMAIL PROTECTED]
On Thu, 15 Mar 2001 11:33:55 -0000, Stephane Bourdeaud staggered into
the Black Sun and said:
>I am trying to mount smb shares from my Linux server but I don't want
>to su everytime I need to do that. I have done a chmod 4755 on
>/usr/bin/smbmount and /usr/bin/smbmnt, but I still can't mount my
>shares...
>I have serached in vain all the FAQs and doc files I have on my system...
No, you haven't. It's not completely obvious, but from the smbmnt(8)
man page:
smbmnt is meant to be installed setuid root so that normal users can
mount their smb shares. It checks whether the user has write
^^^^^^^^^^^^^^^^^^^^^^^^^^
permissions on the mount point and then mounts the directory.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
So find your mount point and either chown it to yourself or chmod it
so you can write to it. (This caused me half an hour of confusion quite
some time ago....)
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com / Workin' in a code mine, whoops!
=============================/ I hit a seg fault....
------------------------------
From: "Jan Hackel" <[EMAIL PROTECTED]>
Subject: Re: How to run smbmount as non-root?
Date: Thu, 15 Mar 2001 14:20:35 +0100
> I am trying to mount smb shares from my Linux server but I don't want to
su
> everytime I need to do that.
> I have done a chmod 4755 on /usr/bin/smbmount and /usr/bin/smbmnt, but I
> still can't mount my shares...
A few thing to try:
1) put them in fstab (man fstab)
2) use autofs, very useful if there are many host with equally named
shares, because autofs supports wildcards
3) use "sudo", it can be configured in a way that ordinary users will
not have to authenticate for a certain command
I am sure there are lots of other ways too.
CU, Jan
------------------------------
From: "Darren Davison" <[EMAIL PROTECTED]>
Subject: Re: modprobe: cannot locate xxxx
Date: Thu, 15 Mar 2001 13:17:42 -0000
yes, the full path to the module in question is..
/lib/modules/2.4.1/kernel/drivers/isdn/hisax/hisax.o
The old kernel (2.2.14-3) still has a directory under /lib/modules too, and
a sym link file called '/lib/modules/current' was pointing at this folder.
I changed the sym link to point at 2.4.1 but that didn't help.
# modprobe hisax
modprobe: Can't locate module hisax
# modprobe hisax.o
modprobe: Can't locate module hisax.o
If I try to load it with insmod, and point it directly at the full path to
the hisax.o file, then it sees it (although insmod complains of some unknown
symbol and doesn't load it.)
Regards,
DD
"Andre John Mas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Are they in /lib/module directory that correponds to the kernel name?
>
> Andre
>
> Darren Davison wrote:
> >
> > hi,
> >
> > after having rebuilt a kernel, I'm trying to load the modules required
for
> > an ISDN card. The module is correctly compiled when I do 'make modules'
and
> > moved to the /lib/modules... folder when I do 'make modules_install',
but
> > modprobe refuses to find it.
> >
> > There seem to be comments in various forums about changing modules.conf
or
> > other files, but neither these or the relevant man pages are clear.
> >
> > Can anyone please explain this to me?
> >
> > Many thanks,
> >
> > --
> > Darren Davison
------------------------------
From: Pai-Yi HSIAO <[EMAIL PROTECTED]>
Subject: Re: "telent localhost" failure
Date: Thu, 15 Mar 2001 14:25:28 +0100
On 15 Mar 2001, Suresh Ramasubramanian wrote:
> [EMAIL PROTECTED] proclaimed on comp.os.linux.misc that:
> > Pai-Yi HSIAO <[EMAIL PROTECTED]> wrote:
> > > I have a linux machine WITHOUT network card.
> > > I want to do "telnet localhost", it TOLD me unable to establish
> > > connection.
>
> > You must have the telnet server installed and the inetd deamon
> > installed and running.
>
> ... and the line
> telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
> uncommented in /etc/inetd.conf
I've checked in /etc/inetd.conf file, it's UNCOMMENTED.
But how to check telnet server is installed and inetd deamon is running?
thank you.
paiyi
------------------------------
From: "Stephane Bourdeaud" <[EMAIL PROTECTED]>
Subject: Re: How to run smbmount as non-root?
Date: Thu, 15 Mar 2001 13:28:39 -0000
I do have wrtie permission to the mount point.
Permissions are rwxrwxr-- for root root and I am a member of the root
group...
Cheers,
Stephane B.
------------------------------
From: "Stephane Bourdeaud" <[EMAIL PROTECTED]>
Subject: Re: modprobe: cannot locate xxxx
Date: Thu, 15 Mar 2001 13:35:46 -0000
Hello Darren,
I'm not sure this will help, but I remember I had a very hard time setting
up my ISDN modem as well.
Here is the documentation I put together at the time. I hope you will find
it useful.
**How to Intsall and Configure the USR Sportster TA ISDN Modem :
- Hardware settings are :
io=0x268, irq=7, type=16
- Install gisdnconf utility and run it as root from /usr/bin/
- Configure Hardware and ISP
- Install isdn4kutils RPM
- "vi /etc/resolv.conf"
nameserver <dnsaddress>
- "vi /etc/ppp/pap-secrets" (and chap-secrets)
client = username
server = *
- "vi /etc/isdn/init-isdn"
#!/bin/sh
/sbin/modprobe slhc
/sbin/modprobe isdn
/sbin/modprobe hisax type=16 protocol=2 io=0x268 irq=7
# /sbin/isdnctrl readconf /etc/isdn/isdn1b.conf
/sbin/isdnctrl addif ippp0
/sbin/isdnctrl eaz ippp0 8068
/sbin/isdnctrl addphone ippp0 out 08453530121
/sbin/isdnctrl secure ippp0 on
/sbin/isdnctrl dialmode ippp0 auto
/sbin/isdnctrl dialmax ippp0 1
/sbin/isdnctrl huptimeout ippp0 180
/sbin/isdnctrl ihup ippp0 on
/sbin/isdnctrl chargehup ippp0 off
/sbin/isdnctrl l2_prot ippp0 hdlc
/sbin/isdnctrl l3_prot ippp0 trans
/sbin/isdnctrl encap ippp0 syncppp
/sbin/isdnctrl sdelay ippp0 10
/sbin/isdnctrl pppbind ippp0 0
/sbin/ifconfig ippp0 default
# /sbin/ipppd file /etc/isdn/ioptions1B
# /sbin/ipppd /dev/ippp0 defaultroute user <ISP login username>
/sbin/ipppd
/sbin/route add default /dev/ippp0
- "chmod 755 /etc/isdn/init-isdn"
- "vi /etc/rc.d/rc.local"
add "/etc/isdn/init-isdn" at the end
- "vi /etc/conf.modules"
add "alias isdn hisax
options hisax type=16 protocol=2 io=0x268 irq=7"
- "vi /etc/rc.d/init.d/isdn"
#!/bin/bash
case "$1" in
start)
echo -n "Starting isdn configuration: "
/sbin/modprobe slhc
/sbin/modprobe isdn
echo -n isdn
echo
touch /var/lock/subsys/isdn
;;
stop)
echo -n "Stopping isdn configuration"
/sbin/rmmod -s hisax
/sbin/rmmod -s isdn
/sbin/rmmod -s slhc
rm -f /var/lock/subsys/isdn
echo -n isdn
echo
;;
restart)
$0 stop
$0 start
;;
status)
cat /proc/devices | grep -q "\(isdn\)"
if [ $? = 0 ]; then
lsmod | grep -q "\(shlc\|isdn\|hisax\)"
echo "isdn card detected"
else
echo "isdn card not configured"
fi
;;
*)
echo "usage: isdn {start|stop|status|restart}
exit 1
esac
exit 0
- "chmod 755 /etc/rc.d/init.d/isdn"
- "ln -s /etc/rc.d/init.d/isdn /etc/rc.d/rc0.d/K17isdn
ln -s /etc/rc.d/init.d/isdn /etc/rc.d/rc1.d/K17isdn
ln -s /etc/rc.d/init.d/isdn /etc/rc.d/rc2.d/K17isdn
ln -s /etc/rc.d/init.d/isdn /etc/rc.d/rc3.d/S87isdn
ln -s /etc/rc.d/init.d/isdn /etc/rc.d/rc5.d/S87isdn
ln -s /etc/rc.d/init.d/isdn /etc/rc.d/rc6.d/K17isdn"
- "chmod 755 /sbin/isdnctrl
chmod 666 /dev/isdninfo
chmod 666 /dev/isdnctrl*"
- "vi /bin/connect"
case "$1" in
start)
/sbin/isdnctrl dial ippp0
;;
stop)
/sbin/isdnctrl hangup ippp0
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac
exit 0
- "chmod 755 /bin/connect"
- To connect : "connnect start"
- To disconnect : "connect stop"
- To verify that the connection is ok : "cat /var/log/messages"
Cheers,
Stephane B.
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: "telent localhost" failure
Date: 15 Mar 2001 13:43:30 GMT
Pai-Yi HSIAO <[EMAIL PROTECTED]> wrote:
> But how to check telnet server is installed and inetd deamon is running?
If you have installed the telnet server, you should have the
/usr/sbin/in.telnetd file (or whatever is called in your inetd.conf
file).
For inetd, ps -ef | grep inetd should do the trick, in my system this
is what I get:
$ ps -ef | grep inetd
root 417 1 0 07:49 ? 00:00:00 inetd
davide 1575 1351 0 14:44 pts/1 00:00:00 grep inetd
The first line is the important one, it shows that inetd is up
and running.
Davide
------------------------------
** 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
******************************