Linux-Misc Digest #986, Volume #23 Wed, 29 Mar 00 03:13:02 EST
Contents:
Re: NOT a Winmodem (David Efflandt)
Re: ld missing C++ library (James Silverton)
Re: staroffice running slowly (Dances With Crows)
Re: PPP can only start as root? (Ed Hurst)
Re: Newbie questions: (Bastian)
FS: Toshiba 340CDT w/48megs and bag $520 (Christian)
How do I make shared libraries? ("Marc E. Christensen")
FAQ? shutdown and halt accts? (Raymond Blum)
Re: dhcpd under slackware : the question of century (nicolas)
recovery from tape (Raymond Blum)
Re: pppd non-root access (Gary Krupa)
Re: small server for home (Christopher Browne)
Re: How do I make shared libraries? ("Arthur H. Gold")
linux 2.3, Abit BP6, 40gb IDE HD (Jehsom)
Re: FAQ? shutdown and halt accts? (Andreas Kahari)
Re: Remote terminal ("Peet Grobler")
Re: Soundblaster Live problem ("Gene Heskett")
Can't install X11 ("Peet Grobler")
Re: pppd non-root access (Bill Unruh)
e2fsck causes kernel panic ("John Quigley")
Re: How do I make shared libraries? (Andreas Kahari)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: NOT a Winmodem
Date: 29 Mar 2000 04:15:27 GMT
Reply-To: [EMAIL PROTECTED]
On Tue, 28 Mar 2000 18:45:29 -0800, Mike Long <[EMAIL PROTECTED]> wrote:
>I have a 3Com USRobotics 56k Faxmodem. It is NOT a Winmodem, but I can't get
>it to work in Redhat 5.2.
>Do I need a driver?
>Where can I find one?
Does a device similar to your modem show up in the boot messages where you
think it is and does it show the proper 1655A UART? Although, a device
that shows up as ttys02 during boot is actually accessed as /dev/ttyS3
(capital S and no zero in dev number) for a modem connection. If you see
anything that refers to similar cua devices you should get out of the
habit of using those, since cua devices are not in newer Linux versions.
All regular modems use the standard serial driver. But you may need to
set up /etc/isapnp.conf if it is a PNP modem (isapnptool package including
pnpdump and isapnp) and/or the setserial command to tell Linux what irq it
uses if not the standard one for that port. I am not familiar with PCI
modems.
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/ http://cgi-help.virtualave.net/
------------------------------
From: James Silverton <[EMAIL PROTECTED]>
Subject: Re: ld missing C++ library
Date: Tue, 28 Mar 2000 23:24:41 -0500
Deja User wrote:
>
> Hi,
> I just installed Linux on a machine. It is my first time. I tried
> to build a sample C++ program with gcc. Unfortunately, my program
> failed to link. My program is the classic one:
> #include <iostream>
> int main()
> {
> std::cout << "Hello" << std::endl;
> return 0;
> }
> gcc (version 2.91.66) compiles it without complaints. But when it
> tried to link it with some library implementing iostream, I got the
> following error messages:
> undefined reference to `endl(ostream &)'
> undefined reference to `cout'
> So what should I do to make gcc find the libraries?
> Thanks,
> Liu Bin
>
Sounds like I have been there too! Are sure that iostream was installed
and that you are using g++ (not gcc) to compile?
Jim.
--
James V. Silverton
Potomac, Maryland.
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: staroffice running slowly
Date: 28 Mar 2000 23:29:55 EST
Reply-To: [EMAIL PROTECTED]
On Wed, 22 Mar 2000 05:30:26 GMT, Jorge Ravazzola
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>hi , im trying staroffice for linux under red hat 6.0 and it haves a
>really poor performance on my pentium 233 with 32 mb ram .Is this a
^^^^^^^^^^^^^^^^^^^^^^^^^^
>common problem among staroffice users or it is just me and my machine, and
StarOffice 5.1a takes approx. 8 seconds to just load up on my machine, a
K6-2 400 with 96M and a 7200RPM IDE disk. I think the problem is with the
program itself (enormously huge, why the f**k did they need to put a web
browser and a Java virtual machine in an office suite?) and partially with
your machine. If you put another 32M in, I'm sure you'd notice a
performance boost.
If all you're doing is word processing, try AbiWord out. It's much
leaner.
--
Matt G / Dances With Crows \###| Programmers are playwrights
There is no Darkness in Eternity \##| Computers are lousy actors
But only Light too dim for us to see \#| Lusers are vicious drama critics
(Unless, of course, you're working with NT)\| BOFHen burn down theatres.
------------------------------
From: Ed Hurst <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: PPP can only start as root?
Date: Tue, 28 Mar 2000 22:12:00 -0600
vsteel wrote:
> I have caldera 2.3, with a recompiled kernel 2.2.14
> I have PPP compiled internal to the kernel and not as a module.
>
> Root can access the internet fine.
> when a regular user tries to access the internet with kppp an error
> message is generated about ppp not available in the kernel or the module
> can't be found. A regular user can't run kppp but if he runs pppd and
> lets it try to negotiate ppp while there is no connection and fail, kppp
> will then work.
>
> I can also log in as a regular user, open a shell, then su to root and
> start everthing fine. I know that there has to be something not passing
> the right permissions but I just can't find it. Here are how my kppp
> and pppd files are set.
>
> -rwsr-xr-x 1 root root 371796 Aug 10 1999 /opt/kde/bin/kppp
> -rwsr-xr-x 1 root root 139768 Aug 10 1999 /usr/sbin/pppd
>
> I have used the chmod u+s on both of them (logged in as root).
> I am out of idea's.
Look to see if you have PAM installed on your system ("locate pam"). In
the pam directory, there is a file for kppp. There is a line there that
starts with the word "auth" followed by "required"-- change that line to
read thusly:
auth required /lib/security/pam_permit.so
and you should have no trouble. The other option, according to KDE's folks
is the /etc/kppp.allow file, wherein you need only list your user name on a
line by itself.
Ed
------------------------------
From: [EMAIL PROTECTED] (Bastian)
Subject: Re: Newbie questions:
Date: 29 Mar 2000 05:05:44 GMT
On Tue, 28 Mar 2000 20:47:04 +0200, Erlend Str�msvik wrote:
>How can you find out how much space there is left on the Harddrive?
>And how do you find out how much space the files in a directory and
>sub-dirs use?
>
>Any help appreciated :)
man df
man du
Bastian
------------------------------
From: [EMAIL PROTECTED] (Christian)
Subject: FS: Toshiba 340CDT w/48megs and bag $520
Date: Wed, 29 Mar 2000 00:06:40 +0100
I have my Toshiba Satellite Pro 430CDT with an active matrix LCD for
sale. The CPU is a Pentium running at 120mhz, it has the CD-ROM
attachment and the Floppy Disk attachment. The condition is fair because
of a small crack near one of the hinges (I think this a common problem)
and there are a couple of stickers on the case (a CRYSTAL METHOD and a
SWITCH BLADE SYMPHONY). I still have the original manuals as I'm the
original owner. Also included is a PC-Card FaxModem rated at 56k Flex. I
will not erase the HD which has MS OFFICE 97 PRO, MS MONEY 99 and more!
You will be responsible to delete those Apps. I will include a very nice
laptop bag which the Satellite Pro fits very well in and an external mouse
(when you don't want to use the trackpoint) PRICE $520
E-mail me for more info or if you wish to buy the laptop at
[EMAIL PROTECTED]
------------------------------
From: "Marc E. Christensen" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system,comp.os.linux.development.apps
Subject: How do I make shared libraries?
Date: Tue, 28 Mar 2000 22:17:45 -0700
I have recently made some RPMs of libpcap for Caldera's OpenLinux
eServer 2.3 and noticed that the source only creates a static library.
I would like to make a dynamic library in addition to the static one and
would like to patch the makefile to do so, however, I don't know how to
make dynamic libraries. What is nessasery to make a '.so' instead of a
'.a' on Linux with egcs-2.91.66?
Thanks.
--
Marc C.
An Official LDP Mirror:
http://www.mecworks.com
------------------------------
From: Raymond Blum <[EMAIL PROTECTED]>
Subject: FAQ? shutdown and halt accts?
Date: Wed, 29 Mar 2000 00:20:26 -0500
Hi
This must be a FAQ somewhere, but I can't find the answer so...
My redhat 6.1 installation created 2 accts: halt and shutdown - What are
these for? If I su to them, I just get the msg from the halt / shutdown
commands that I'm not root.
I assume that these are meant to be given to operations staff to reboot
the server, which is just what I need. How can I get shutdown to run
from someone other than root?
Thank you
---Raymond
------------------------------
From: nicolas <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.slackware
Subject: Re: dhcpd under slackware : the question of century
Date: Wed, 29 Mar 2000 06:22:01 +0200
nicolas wrote:
>
> apologizes for the lengh of this message but circonstances are important
> to understand the final question...
> and apologize for my english
>
>
> my system :
> slackware 7.0
> my modem is a cable modem : motorola with ethernet connection
> my provider : cybercable ( aka "french disaster", aka "satan" )
> my dhcpd daemon : 2.0
> dhcp client : 1.3.18-pl1.diff.gz
>
> in the night of 3-4 mars I go out and when I return in my home I see the
> upload led who works without internet network applications launched
> In France we paid for upload traffic ( 50 cents / mo ) and we have a
> html page to see our consommation ; In 8 hours I have 500 mo in upload
> traffic ;
>
> I have thought that someone had cracking my firewall and I have had the
> stupid idea not to log in my firewall script ...
> But after this error I have modify my firewall script and I shutdown
> every night my cable modem ...
> Few days after , and irregularly , BUT NOT ALL DAYS , just after I start
> my modem ( I precise that my linux station is always started, just the
> modem is up or down ) , my upload led works again and again and the only
> thing to stop it is the shutdown of my linux station ( or kill dhcpd
> daemon )
>
> I have remarked with a tcpdump that the cause of all traffic is dhcp
> traffic !!!
...
even if you don't have the solution I appreciate a method and help to
analyze dhc p network traffic to find the reason ot this strange problem
------------------------------
From: Raymond Blum <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.admin
Subject: recovery from tape
Date: Wed, 29 Mar 2000 00:22:53 -0500
Hi
Can anyone point me at, or give me a quick description of, a good
procedure to follow to backup and FULLY restore from tape? I would like
to be able to do a full backup to a tape volume and then restore to a
new hard drive. I could partition the drive to match the old one but
ideally would have ALL files fully restored.
Thanks
---Raymond
------------------------------
From: Gary Krupa <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.networking
Subject: Re: pppd non-root access
Date: Tue, 28 Mar 2000 21:42:06 -0800
Reply-To: Gary Krupa <[EMAIL PROTECTED]>
After several attempts, I still couldn't connect successfully with the user
option. The handshake is made, unlike before, but then the modem
disconnects. I'd see either a "PAP authentication failed" message, or
"Serial line is looped back". The former error happened if I duplicated the
first line in the pap-secrets file, substituting my own name for my login
name in the duplicated line. I used the same password on the second line as
I did for the first line.
Would I need to receive another login name and / or password from my ISP,
to authenticate the login for a particular user? That's my best guess as to
why it's not connecting. I've made no other changes to the options file.
GK
On Mon, 27 Mar 2000, Bill Unruh wrote:
>
> I assume that you are calling out to a remote system, and that you have
> a list of usernames in /etc/ppp/pap-secrets or /etc/ppp/chap-secrets.
> bob * bobolink
> fred * frediewood
>
> You then, with pppd having the suid bit set, run
> /usr/sbin/pppd user bob connect....
>
> To use name, the name option must either be used by root, or be placed
> in a file which is writable only by root-- /etc/ppp/options for example.
>
> >
> > In fact, the pppd man page describes the user option virtually identically
> > to the name option.
>
> Yes, except name is priviledged. I am still not sure what the difference
> in practice is.
>
>
> >
> > I was able to run pppd as a non-root user by means of the
> > /etc/ppp/peers/name configuration recommended in the pppd man page.
> >
> > Still, I'd be curious to know how I could accomplish the same result just
> > by using the user option. I tried using it with the same argument as
> > the name option, and it didn't work. It also didn't work when I substituted
> > my own name for the argument to user.
>
------------------------------
From: [EMAIL PROTECTED] (Christopher Browne)
Crossposted-To: comp.os.linux.hardware
Subject: Re: small server for home
Reply-To: [EMAIL PROTECTED]
Date: Wed, 29 Mar 2000 06:18:23 GMT
Centuries ago, Nostradamus foresaw a time when Allen Ahoffman would say:
>In comp.os.linux.misc Yan Seiner <[EMAIL PROTECTED]> wrote:
>See http://booksizepc.com
>the dm9102 network driver is in the 2.2.14 kernel.
>but you'll need to get a distribution with 2.2.14 kernel
>or
>upgrade the kernel after load then you can network
>see the caldera openlinux 2.3 release has 2.2.14 in it.
>Haven't tried it with this unit to see if they include the dm9102 driver
>yet.
>Nice systems otherwise.
There seem to be a number of vendors of "NLX" motherboards and
cases...
<li><a href= "http://www.teleport.com/~nlx/"> NLX Generic Riser Card
Design Overview </a>
This is a PCI motherboard form factor design for building compact
computer systems.
<itemizedlist>
<li><a href= "http://www.ic-direct.com/"> IC-Direct.com </a>
<li><a href= "http://booksizepc.com/"> Booksize PC.com </a>
<li><a href= "http://www.a-pro.com/NX8201.htm"> Low Profile NLX
Desktop Case : CS-NX8201 </a>
</itemizedlist>
This looks like a rather slick form factor for building little
systems...
--
"I will not send lard through the mail" ^ 100 -- Bart Simpson
[EMAIL PROTECTED] <http://www.hex.net/~cbbrowne/lsf.html>
------------------------------
Date: Wed, 29 Mar 2000 00:45:15 +0000
From: "Arthur H. Gold" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system,comp.os.linux.development.apps
Subject: Re: How do I make shared libraries?
"Marc E. Christensen" wrote:
>
> I have recently made some RPMs of libpcap for Caldera's OpenLinux
> eServer 2.3 and noticed that the source only creates a static library.
>
> I would like to make a dynamic library in addition to the static one and
> would like to patch the makefile to do so, however, I don't know how to
> make dynamic libraries. What is nessasery to make a '.so' instead of a
> '.a' on Linux with egcs-2.91.66?
>
> Thanks.
>
> --
> Marc C.
> An Official LDP Mirror:
> http://www.mecworks.com
Make sure that your *.o files are compiled with the -fPIC option to gcc.
Then link (libyourlib.so) with the options -nostartfiles -shared.
That should get you started.
HTH,
--ag
BTW - the whole deal is in the ELF HOWTO (IIRC)
--
Artie Gold, Austin, TX (finger the cs.utexas.edu account for more info)
mailto:[EMAIL PROTECTED] or mailto:[EMAIL PROTECTED]
--
A: Look for a lawyer who speaks Aramaic...about trademark infringement.
------------------------------
From: [EMAIL PROTECTED] (Jehsom)
Subject: linux 2.3, Abit BP6, 40gb IDE HD
Date: 29 Mar 2000 06:40:17 GMT
I'm so completely burned out over this that it's not even funny.
Here is my situation:
I have a 40gb maxtor IDE hard drive (udma 66) plugged into the
3rd ide controller (which is a udma66 controller) on my abit bp6
motherboard. I just upgraded to this motherboard and to 2.3.99pre3
kernel. Strangely, my 40gb drive is recognized as a 6.6gb drive.
Is there any way to fix this? It seems as if I have gone back to
the kernels that don't support large drives.
This kernel should support this. Please let me know if you have
any ideas.
Thanks,
Moshe
--
jehsom(@)resnet.gatech.edu - ICQ 1900670
Geek code v3.12 (www.geekcode.com):
GCS/E d- s+:-- a-- C++$ UL++>+++$ P+>++ L+++>$ E--- W+ N++ w--
!O M-- V? PS+ PE Y+ !PGP t 5? X+ R- tv b- DI+ D+ G e>++ h r y
------------------------------
From: Andreas Kahari <[EMAIL PROTECTED]>
Subject: Re: FAQ? shutdown and halt accts?
Date: Wed, 29 Mar 2000 06:54:51 GMT
In article <[EMAIL PROTECTED]>,
Raymond Blum <[EMAIL PROTECTED]> wrote:
> Hi
> This must be a FAQ somewhere, but I can't find the answer so...
>
> My redhat 6.1 installation created 2 accts: halt and shutdown - What
are
> these for? If I su to them, I just get the msg from the halt /
shutdown
> commands that I'm not root.
>
> I assume that these are meant to be given to operations staff to
reboot
> the server, which is just what I need. How can I get shutdown to run
> from someone other than root?
>
> Thank you
> ---Raymond
>
The FAQ is at <URL:http://www.mainmatter.com/>. This question was
answerd less than a week ago. Try searching on Deja.com for "non-root
shutdown".
/A
--
# Andreas K�h�ri, <URL:http://hello.to/andkaha/>
# Scandinavinans, without us "thursday" wouldn't exist!
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: "Peet Grobler" <[EMAIL PROTECTED]>
Subject: Re: Remote terminal
Date: Wed, 29 Mar 2000 09:04:20 +0200
I tried running getty on ttyS0 and ttyS1, but it doesn't work. I get the
following message in the system log (/var/log/secure):
getty: Segmentation fault[xx]
What does this mean? Anybody knows?
I also tried, according to the Serial-HOWTO to run mgetty. That one just
hangs my session (don't know if it's supposed to do this). So I ran it in
the background (&) on both ports, but I still can't connect.
John Loukidelis wrote in message ...
>The Text-Terminal HOWTO has a quick install section that is quite
>good.
>
>The process you are looking for is started by getty. Make sure you
>get the right package: I wasted endless amounts of time trying to do
>what you're doing because I was using the wrong getty. I use the
>getty provided by getty_ps-2_0_7j-8_i386.rpm. getty monitors the port
>on your linux box to which the dos box is attached. It looks for
>attempts to login through the port, and it controls the communications
>parameters (line speed etc) and terminal type that will be used to
>communicate with your dos box once an attempt is made. You start the
>getty by using a line like the following in /etc/inittab
>
>s1:23:respawn:/sbin/getty ttyS0 DT19200 vt102
>
>Having a text terminal available can be quite useful: just the other
>day, StarOffice locked up my main box's keyboard completely, so my
>machine had effectively crashed. I logged in as root through my
>terminal (a 386 running minicom over an old linux distro) and
>terminated StarOffice with extreme prejudice. Everything went back to
>normal on the main box right away.
>
>On Mon, 27 Mar 2000 14:38:54 +0200, Peet Grobler <[EMAIL PROTECTED]>
>wrote:
>
>>Sorry for flooding the newsgroup, one last question.
>>
>>I want to connect to my Linux machine with a MS-DOS machine running a
>>terminal emulator on COM1. How do I run a process on the Linux machine to
>>monitor the port, and start the terminal session?
>>
>>
>
>
>--
>John Loukidelis
>I am not your lawyer; this is not legal advice
>
------------------------------
Date: 29 Mar 2000 1:2:44 -0500
From: "Gene Heskett" <[EMAIL PROTECTED]>
Subject: Re: Soundblaster Live problem
Crossposted-To: comp.os.linux.hardware
Unrot13 this;
Reply to: <[EMAIL PROTECTED]>
Gene Heskett sends Greetings to J. C.;
JC> In article <[EMAIL PROTECTED]>, "Gene
JC> Heskett" <[EMAIL PROTECTED]> wrote:
JC>: Thats how it works on a RH6.0 system at any rate. I get a small click
JC>: fairly early in the boot cycle, and another one late as it scans
JC>: (probably) rc3.d.
JC>:
JC>: I have xmms on a x screen button, and it plays mp3's, wav's & cdroms
JC>: great. Its a decent card for the money IMO.
JC> There's a name I recognize. What kernel are you using Mr. Heskett?
2.2.15pre13 ATM, subject to change AAT there's a new one worth compiling
out.
JC> I've got an ancient Multisound Classic that works just fine with
JC> 2.2.14, but gives me a very nasty "oops" when I try it with 2.3.99-pre3
JC> (which is getting very close to a 2.4; there hasn't been any activity
JC> on www.kernel.org for a day or three). The driver for this card is
JC> available to be compiled in to the kernel, or loaded as a module, but
JC> the result is always the same: the kernel tells me it can't handle the
JC> paging request. The irq is "clean," the ioport likewise, and I'm
JC> stumped to the point where I might just go out and get a new soundcard.
I'm afraid I'm not going to be much help here Tony, sorry.
I recall spending a couple of weeks with one of those last summer, and
never got anything out of it but raw digital noises. I too was a rank
newbie then, so it wasn't a surprise. Then I went out and spent 2 weeks
trying to make a Yamaha XG-724 based gismo work, but at the time
opensound (OSS) wanted 30 bucks for the driver. I put 2 and 2 together
and got 5.1, so I took it back and got the SBLive, which _did_ have
drivers from creative although badly broken at that time, and had 10
bucks less in the setup. The next version of the driver was much
better. Then they made it available as opensource at
ftp://ftp.opensource.creative.com for the linux drivers, and the rest is
history. I go get the new drivers about once a week just to say I'm
keeping up with the Jones's. :-)
JC> Have you played with the 2.3.x kernels at all?
I was thinking about getting the 2.3.99 a couple of days ago, but then
figured that I'd be lost since the docs may be out of step a bit. Thats
pprobably what the holdup is right now, getting the docs in sync.
I was fooling around trying to make lm_sensors work over the weekend,
but regardless of what options I give the compiler, it doesn't generate
anything I can do a modprobe or insmod on without half a shell full of
errors. I even thought maybe the I2O option in make xconfig was a typo,
but there's a vanishingly small amount of info, so I took that back out
of the kernel.
If anyone has managed to make the latest version of that run on a TYAN
S1590S board with a AMD K6-2/3Dnow on it, I'd like to hear about how you
did it. Supposedly a VIA MP3 chipset.
Cheers, Gene
--
Gene Heskett, CET, UHK |Amiga A2k Zeus040, Linux @ 400mhz
Ch. Eng. @ WDTV-5 |This Space for rent
RC5-Moo! 350kkeys/sec, Seti@home 16 hrs a block
email gene underscore heskett at iolinc dot net
This messages reply content, but not any previously quoted material, is
� 2000 by Gene Heskett, all rights reserved.
--
------------------------------
From: "Peet Grobler" <[EMAIL PROTECTED]>
Subject: Can't install X11
Date: Wed, 29 Mar 2000 09:20:31 +0200
When running XF86Setup (as root) It tells me cannot find "libtk.so".
Where do I get it?
------------------------------
From: Bill Unruh <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.networking
Subject: Re: pppd non-root access
Date: Tue, 28 Mar 2000 23:31:14 -0800
The first entry in the pap-secrets file must be the logon name which you
ISP has assigned to you. No other will do. The second entry should be a
* or if youreally want to ( and have different ISPs ) you can make the
second entry a name for your ISP and use the
remotename
option to select that particular line.
The third must be your password at the ISP. The fourth should be a *
(not really needed for you authenticating yourself to the ISP).
You need to place
debug
into /etc/ppp/options.
And place the line
local2.*;daemon.* /var/log/ppp
into /etc/syslog.conf and then do
killall -1 syslogd
That way one can see what is going wrong.
]
] After several attempts, I still couldn't connect successfully with the user
] option. The handshake is made, unlike before, but then the modem
] disconnects. I'd see either a "PAP authentication failed" message, or
This means that you have the wrong username and/or password to the
remote system.
] "Serial line is looped back". The former error happened if I duplicated the
This means that the remote end has not answered at all, and all info is
simply reflected back. It is a totally and entirely different error from
the former. The two errors are completely incompatible. One indicates
that ppp negotiation has not even started while the former that it has
started, and proceeded quite far and then not succeeded at
authentication.
] first line in the pap-secrets file, substituting my own name for my login
] name in the duplicated line. I used the same password on the second line as
] I did for the first line.
There is no way this will work. You must use EXACTLY the name tht your
ISP gave you. You cannot substitute something else.
]
] Would I need to receive another login name and / or password from my ISP,
] to authenticate the login for a particular user? That's my best guess as to
] why it's not connecting. I've made no other changes to the options file.
Each user is given a different username. each use must use the username
he/she is given.
]
]
] GK
]
] On Mon, 27 Mar 2000, Bill Unruh wrote:
]
] >
] > I assume that you are calling out to a remote system, and that you have
] > a list of usernames in /etc/ppp/pap-secrets or /etc/ppp/chap-secrets.
] > bob * bobolink
] > fred * frediewood
] >
] > You then, with pppd having the suid bit set, run
] > /usr/sbin/pppd user bob connect....
] >
] > To use name, the name option must either be used by root, or be placed
] > in a file which is writable only by root-- /etc/ppp/options for example.
] >
] > >
] > > In fact, the pppd man page describes the user option virtually identically
] > > to the name option.
] >
] > Yes, except name is priviledged. I am still not sure what the difference
] > in practice is.
] >
] >
] > >
] > > I was able to run pppd as a non-root user by means of the
] > > /etc/ppp/peers/name configuration recommended in the pppd man page.
] > >
] > > Still, I'd be curious to know how I could accomplish the same result just
] > > by using the user option. I tried using it with the same argument as
] > > the name option, and it didn't work. It also didn't work when I substituted
] > > my own name for the argument to user.
------------------------------
From: "John Quigley" <[EMAIL PROTECTED]>
Subject: e2fsck causes kernel panic
Date: Tue, 28 Mar 2000 23:34:25 -0800
Hello,
A power failure crashed my Linux server. After bringing it back up I'm
having problems with one of the filesystems. When I try to e2fsck the
filesystem, I get this message:
e2fsck 1.18, 11-Nov-1999 for EXT2 FS 0.5b, 95/08/09
/dev/hdc2 was not cleanly unmounted, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap
differences: -1173618 -1173619 -1173620 -1173621 -1173622 -1173623 -1173626
-1173627 -1173628 -1173629 -1173630 -1173631 -2239767 -2239768 -2239769 -22
39770 -223977
1 -2239772 -2244833 -2244834 -2244835 -2244836 -2244837 -2244838 -2244839
Fix<y>?
If I say Yes to the above, the Kernel panics and the box crashes again. :)
I'm running kernel 2.2.14. Any ideas on what I can do to fix the problem,
short of re-formating? Isn't it unlikely that a power failure would cause
such a bad filesystem error?
Thanks
- John
------------------------------
From: Andreas Kahari <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system,comp.os.linux.development.apps
Subject: Re: How do I make shared libraries?
Date: Wed, 29 Mar 2000 07:49:27 GMT
In article <[EMAIL PROTECTED]>,
"Marc E. Christensen" <[EMAIL PROTECTED]> wrote:
> I have recently made some RPMs of libpcap for Caldera's OpenLinux
> eServer 2.3 and noticed that the source only creates a static library.
>
> I would like to make a dynamic library in addition to the static one
and
> would like to patch the makefile to do so, however, I don't know how
to
> make dynamic libraries. What is nessasery to make a '.so' instead of a
> '.a' on Linux with egcs-2.91.66?
>
> Thanks.
>
I'm more used to downloading GNU source arhieves directly off the GNU
mirrors. When I do that I often get to run a 'configure' script to
create the Makefiles. The flags for that script may sometimes include a
flag for building a static/shared version of libraries.
/A
--
# Andreas K�h�ri, <URL:http://hello.to/andkaha/>
# Scandinavinans, without us "thursday" wouldn't exist!
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
** 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.misc) 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-Misc Digest
******************************