Linux-Networking Digest #420, Volume #12 Tue, 31 Aug 99 02:13:41 EDT
Contents:
Re: MySQL, chroot and shared libs ("Sean O'Dell")
Re: 100BaseT NIC step-down? ("guru meditation")
Re: best NIC card for IBM Aptiva P2 200? (LhD Administrator)
CHAP for Worldnet ("Jeffrey Kiefer")
Re: pci NIC on Linux (Scott Nolde)
PPP Server is working - ALMOST (David Akins)
Re: MySQL, chroot and shared libs ("Sean O'Dell")
eth0: tulip.o: init_module: device or resource busy (Robert Inskeep)
ip problem (heavydrinker)
Re: ISP disconnects after about 30 secs.. (Clifford Kite)
Re: PPP and DNS problem (Mark)
Need help: POP/SMTP not working (RH5.2) (Gary Helbig)
accessing serial port from bash? ([EMAIL PROTECTED])
SAMBA? What else? (Gregory Kraft)
Netmeeting & IP Masquerading ("TURBO1010")
Re: ip masq. - problem w/ ipfwadm (David Greer)
Re: How to make sendmail automatic connect and disconnect? (Raphael Mankin)
Re: NIS and .rhosts required? (David Efflandt)
Re: CGI displays raw HTML code? (Jason Vroustouris)
Re: GUI for ppp? ("Noah Roberts (jik-)")
----------------------------------------------------------------------------
From: "Sean O'Dell" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux.security
Subject: Re: MySQL, chroot and shared libs
Date: Mon, 30 Aug 1999 20:16:20 -0700
Well, your suggestion actually lead me to the actual problem I think. I
tried using the domain name for the mysql server and got pretty much the
same results. However, when I tried the plain old IP address, it worked
just fine. So, it's got something to do with my DNS lookup activities
somewhere. Gonna track that down...thanks for the info!
-Sean
<[EMAIL PROTECTED]> wrote in message
news:7qek65$a29$[EMAIL PROTECTED]...
> In comp.os.linux.development.system Sean O'Dell <[EMAIL PROTECTED]> wrote:
>
> [ summary: mysql can't connect to local mysql server in
> a chroot'd environment ]
>
> Mysql makes a named pipe in /tmp for local connects. I'd bet
> your chroot'd environment doesn't have /tmp, or doesn't have
> the named pipe that mysql needs.
>
> Regards,
>
> Craig
------------------------------
From: "guru meditation" <[EMAIL PROTECTED]>
Subject: Re: 100BaseT NIC step-down?
Date: Mon, 30 Aug 1999 21:39:35 -0500
use the ifconfig command in the /sbin directory
Vincent wrote in message ...
>Hi. We're using a 3Com 3c905B Cyclone 10/100Mb NIC connected to a Black
>Box hub that shows the card running at only 10Mb. Anybody know in what
>file I can configure the card, and what arguements I should use to get
>running at 100Mb? I'm running RedHat 5.2. Thank you.
>
>Vincent
------------------------------
From: LhD Administrator <[EMAIL PROTECTED]>
Subject: Re: best NIC card for IBM Aptiva P2 200?
Date: Mon, 30 Aug 1999 15:31:03 GMT
adrien wrote:
> Can somebody recommend a good NIC card for an IBM aptiva P2 200 and
> linux Redhat 5.2.
Almost any decent card will work, there is nothing really special about an
Aptiva. You may want to look at the EtherNet HOWTO, Donald Becker's
driver pages and LhD ratings at
http://lhd.datapower.com/db/searchproduct.cgi?_catid=4
LhD Administrator
LhD: Linux Hardware Database
http://lhd.datapower.com
================== Posted via CNET Linux Help ==================
http://www.searchlinux.com
------------------------------
From: "Jeffrey Kiefer" <[EMAIL PROTECTED]>
Subject: CHAP for Worldnet
Date: Mon, 30 Aug 1999 19:05:34 -0700
OpenLinux 2.2 KDE. I have finally configured my modem. How do I set CHAP? I
have the chap-secrets file - now what? I'm such a newbie, and I need help.
------------------------------
From: Scott Nolde <[EMAIL PROTECTED]>
Subject: Re: pci NIC on Linux
Date: Tue, 31 Aug 1999 03:03:41 GMT
You could possibly edit /etc/conf.modules (RH6) for the proper module.
It worked for me when I added my second NIC.
mark wrote:
>
> I have a ISA NIC card (3c509) running fine on LINUX. If I want to
> upgrade to a PCI (3c905B), how should I do it? Is there anyway
> to reconfig the system so that it recognize the new card instead
> of reinstall the whole system?
> Thanks a lot
--
================================================
Scott Nolde
[EMAIL PROTECTED]
================================================
------------------------------
From: [EMAIL PROTECTED] (David Akins)
Subject: PPP Server is working - ALMOST
Date: Tue, 31 Aug 1999 01:17:15 GMT
I'm running Redhat 6.0 w/Shadow passwords, mgetty 1.1.14 with AutoPPP
and am trying to set the machine up so I can dial in with my Win95
machine and setup a PPP connection.
If I tell Win95 to bring up a terminal window after dialing, and then
login myself and run PPP manually, I can hit continue and everything
will work great. If I try to have Win95 login automatically, I
get....
/var/log/messages
Aug 30 18:03:40 arnofw PAM_pwdb[26445]: (login) session opened for
user root by (uid=0)
Aug 30 18:03:40 arnofw login: FAILED LOGIN 1 FROM (null) FOR
/AutoPPP/, User not known to the underlying authentication module
Aug 30 18:03:43 arnofw login: FAILED LOGIN 2 FROM (null) FOR
~�}#�!}!}#} }7}"}&} }*} } }%}&}.9d]}'}"}(}"}-}#}&2}<~, User not known
to the underlying authentication module
Aug 30 18:03:46 arnofw login: FAILED LOGIN 3 FROM (null) FOR
~�}#�!}!}$} }7}"}&} }*} } }%}&}.9d]}'}"}(}"}-}#}&�Z~, User not known
to the underlying authentication module
Aug 30 18:03:49 arnofw login: FAILED LOGIN SESSION FROM (null) FOR
~�}#�!}!}%} }4}"}&} }*} } }%}&}., User not known to the underlying
authentication module
Is this as a result of the shadow passwords?
Can someone who has done this with Redhat 6.0/shadow please tell me
briefly what I need to do to get this working??
Thanks.
------------------------------
From: "Sean O'Dell" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux.security
Subject: Re: MySQL, chroot and shared libs
Date: Mon, 30 Aug 1999 20:05:40 -0700
Well, it actually does have /tmp, but not that named pipe. As well, I can't
see any pipes in /tmp either, or I might just try hard linking to them.
Nevertheless, it gave me the bright idea of maybe not connecting "locally"
and just using the IP...if mysql isn't smart enough to catch on and revert
back to the named pipe thingy, maybe that'll solve the problem.
-Sean
<[EMAIL PROTECTED]> wrote in message
news:7qek65$a29$[EMAIL PROTECTED]...
> In comp.os.linux.development.system Sean O'Dell <[EMAIL PROTECTED]> wrote:
>
> [ summary: mysql can't connect to local mysql server in
> a chroot'd environment ]
>
> Mysql makes a named pipe in /tmp for local connects. I'd bet
> your chroot'd environment doesn't have /tmp, or doesn't have
> the named pipe that mysql needs.
>
> Regards,
>
> Craig
------------------------------
From: Robert Inskeep <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: eth0: tulip.o: init_module: device or resource busy
Date: Tue, 31 Aug 1999 02:54:14 GMT
I try starting eth0: whether in the bootup as a module OR at the command
prompt (/sbin/ifup eth0) and I get a message OR modprobe tulip.o
(whatever) and I receive the message
'init_module: device or resource busy'. What does this mean? Where do
I go from here?
--
Robert Inskeep
[EMAIL PROTECTED]
------------------------------
From: heavydrinker <[EMAIL PROTECTED]>
Subject: ip problem
Date: Tue, 31 Aug 1999 11:50:51 +0800
dear all,
our company not enough ip to use,
how to do it?please give me any suggestion.
thank you
------------------------------
From: kite@NoSpam.%inetport.com (Clifford Kite)
Crossposted-To: redhat.config,redhat.networking.general
Subject: Re: ISP disconnects after about 30 secs..
Date: 30 Aug 1999 21:17:36 -0500
NuB2Linux ([EMAIL PROTECTED]) wrote:
: I was wondering if there is a terminal window that can pop up after the
: modem connects to see what exactly the computer is send to my ISP server?
: It acts as though the name and password that it's suppling isn't correct
: and the modem disconnects after about 30sec (it's and external and I can
: see it sending info to the server). I'm currently using RH Linux 5.2 (RH6
: should be here within the week). Also, there is a way to log your connect
: responses and things for troubleshooting purposes. What is that command?
Use chat with the -v option and pppd with the debug option. Messages
should be a file or files in /var/log . The /etc/syslog.conf file
controls where syslogd sends the messages for the different facilities
at various kernel severity levels, described in "man syslog.conf" and
"man 3 syslog".
You can also set up a special PPP log file as described in my signature.
--
Clifford Kite <kite@inet%port.com> Not a guru. (tm)
/* Create a PPP debug log: Add the line " daemon.* /var/log/ppp-log "
(may need Tab field separators) to /etc/syslog.conf, create the file,
" touch /var/log/ppp-log ", and do " kill -HUP `pidof syslogd` ". */
------------------------------
From: Mark <[EMAIL PROTECTED]>
Subject: Re: PPP and DNS problem
Date: Mon, 30 Aug 1999 23:41:08 -0400
==============72557ECBABA968618537F72D
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I sure hope someone has helped you by now... but if not, maybe this will
help.
As far as your ISP not giving you their DNS servers.... I think that's
pretty sad. It's public info. Follow this link and type in your ISP's
name i.e. www.yourisp.com
and it will give you all the info
http://www.networksolutions.com/cgi-bin/whois/whois/
Concering the "host not found problem" when using traceroute
www.domainname.com, this is probably due to you not having your ISP's
DNS in /etc/resolv.conf It should list something like this
nameserver xxx.yyy.xxx.yyy
nameserver xxx.yyy.xxx.yyyy
xx and yy being the IP numbers of your ISP
You probably don't need any gateway information as when you connect to
your ISP,
the portmaster you dial into handles all the routing.
Not sure about the multiple interface issue.
Hope some of this helps
"Scott M. Stookey" wrote:
> Karl Bradley wrote:
>
>> Hi, hope someone can help. I've got a linux box that I use as a
>> file and
>> print server on a small network. (address 192.168.0.2). I also
>> want to use
>> the linux box to connect to the internet.
>>
>> Now my problem is this........I have connected to my ISP fine.
>> pppd
>> launches, I'm assigned an IP address and I can ping any ip address
>> on the
>> net. (my ISP won't give me their nameserver addresses so I'm
>> running a
>> cahing name server). If I use nslookup, it will give me all the
>> correct
>> details, but if I try and then ping that name (eg, www.yahoo.com) it
>> says
>> "ping: unknown host www.yahoo.com"
>>
>> I suspect that it may be something to do with my gateway address, in
>> that I
>> do not know what to set the gateway address on my linux box to.
>>
>> If I do traceroute, it says multiple interfaces using 192.168.0.2 @
>> eth0. I
>> think that this may be the root of my problems, but have no idea how
>> to
>> rectify it.
>>
>> I really hope that someone out there can help me. I'm afraid that
>> being a
>> novice, I'm completely over my head here.
>>
>> Karl Bradley
>> [EMAIL PROTECTED]
>
> Do a dig -x on your isp's domain name. You will get some interesting
> info from there, including your ISP name servers!
>
> --
>
> NT makes the possible easy, and the impossible, impossible
> LINUX makes the possible difficult, and the impossible, possible
> Scott M. Stookey
>
>
==============72557ECBABA968618537F72D
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
I sure hope someone has helped you by now... but if not, maybe this will
help.
<p>As far as your ISP not giving you their DNS servers.... I think that's
pretty sad. It's public info. Follow this link and type in
your ISP's name i.e. www.yourisp.com
<br>and it will give you all the info
<p><A
HREF="http://www.networksolutions.com/cgi-bin/whois/whois/">http://www.networksolutions.com/cgi-bin/whois/whois/</A>
<p>Concering the "host not found problem" when using traceroute www.domainname.com,
this is probably due to you not having your ISP's DNS in /etc/resolv.conf
It should list something like this
<p>nameserver xxx.yyy.xxx.yyy
<br>nameserver xxx.yyy.xxx.yyyy
<p>xx and yy being the IP numbers of your ISP
<p>You probably don't need any gateway information as when you connect
to your ISP,
<br>the portmaster you dial into handles all the routing.
<p>Not sure about the multiple interface issue.
<p>Hope some of this helps
<br>
<br>
<br>
<br>
<p>"Scott M. Stookey" wrote:
<blockquote TYPE=CITE>Karl Bradley wrote:
<blockquote TYPE=CITE>Hi, hope someone can help. I've got a linux
box that I use as a file and
<br>print server on a small network. (address 192.168.0.2).
I also want to use
<br>the linux box to connect to the internet.
<p>Now my problem is this........I have connected to my ISP fine.
pppd
<br>launches, I'm assigned an IP address and I can ping any ip address
on the
<br>net. (my ISP won't give me their nameserver addresses so I'm
running a
<br>cahing name server). If I use nslookup, it will give me all the
correct
<br>details, but if I try and then ping that name (eg, www.yahoo.com) it
says
<br>"ping: unknown host www.yahoo.com"
<p>I suspect that it may be something to do with my gateway address, in
that I
<br>do not know what to set the gateway address on my linux box to.
<p>If I do traceroute, it says multiple interfaces using 192.168.0.2 @
eth0. I
<br>think that this may be the root of my problems, but have no idea how
to
<br>rectify it.
<p>I really hope that someone out there can help me. I'm afraid that
being a
<br>novice, I'm completely over my head here.
<p>Karl Bradley
<br>[EMAIL PROTECTED]</blockquote>
Do a dig -x on your isp's domain name. You will get some interesting
info from there, including your ISP name servers!
<pre>--
NT makes the possible easy, and the impossible, impossible
LINUX makes the possible difficult, and the impossible, possible
Scott M. Stookey</pre>
</blockquote>
</html>
==============72557ECBABA968618537F72D==
------------------------------
From: Gary Helbig <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Need help: POP/SMTP not working (RH5.2)
Date: Mon, 30 Aug 1999 21:38:32 -0700
Hi, and TIA.
I'm having trouble setting up my mail server.
I'm using RedHat 5.2 as a firewall; The inside net is 192.168.1.0/24,
and the firewall has a static IP to my ISP.
I can get mail on the firewall; running elm in a shell works fine.
If I try to send, most of it gets rejected with a "we do not relay"
message. How do I tell it that the inside net is OK?
The real problem is that I can't get a pop connection on the inside net.
If I telnet to port 110, the firewall disconnects me. Regular telnet
works just fine.
If I try to use a pop3 client, I get a very uninformative error message,
like "contact your system administrator".
It's an 'out-of-the-box' installation, I've done very few mods other
than add a firewalling script and a local DNS server.
I can send mail _through_ the firewall to my ISP's mail server, but the
desired goal is to have the firewall act as the local server, and
forward mail to the ISP's server.
What am I doing wrong?
Gary
------------------------------
From: [EMAIL PROTECTED]
Subject: accessing serial port from bash?
Date: Tue, 31 Aug 1999 04:09:18 GMT
I have a device (lock-in amplifier) that is able to communicate using a
serial port. I can setup the serial line and communicate successfully
with the device using minicom.
I would like to read and write to the device using the bash shell
commands, is this possible? I am running RedHat 6.
Thanks,
Chip
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: Gregory Kraft <[EMAIL PROTECTED]>
Subject: SAMBA? What else?
Date: Tue, 31 Aug 1999 00:44:38 -0400
Maybe someone can help me. I have Win98 on a pc downstairs. My pc is
upstairs and is running win95/redhat linux 2.2.9. I can network via cat5 cable
and two ne2000 comp. ethernet cards with ipx driver win95/win98 But I would
like to see if I can connect to the win98 system downstairs via linux. Do I
use Samba for this? What would be the steps to do this. I looked at the ipx
howtoo and the samba howtoo but there not clear to me what to do in this
peticular situation.
I'm not looking for a step by step...but if you could generally point me or
tell me the direction to go, it would be greatly appreciated!!
regards
Greg
------------------------------
From: "TURBO1010" <[EMAIL PROTECTED]>
Subject: Netmeeting & IP Masquerading
Date: Mon, 30 Aug 1999 21:32:02 -0700
I got netmeeting 3.1 to work, no problem if I call someone on the net. But
if they want to contact me, oviously they can't because they're calling the
Linux box. My question is, and maybe this could be done, how can I get IP
chains, to forward the requests of netmeeting to my internal lan, on a
certain computer(s). Example, a request comes in on eth0 for netmeeting, to
be forwarded to eth1. So, if a request comes in on a port for netmeeting,
then it shoud be forwarded to 192.168.1.3 eth1. I get the concept, just
don't know what ports, or how to tell IP chains to forward the requests.
Anyone run into something similar?
Thanks in advance for any input.
------------------------------
From: David Greer <[EMAIL PROTECTED]>
Subject: Re: ip masq. - problem w/ ipfwadm
Date: Mon, 30 Aug 1999 21:49:47 -0700
Richard James Panturis Giuly wrote:
> i type this:
> ipfwadm -F -p deny
>
> and get this:
> ipfwadm: setsockopt failed: Invalid argument
ipfwadm was cool with 2.0.x kernels, but 2.2.x kernels use ipchains.
the HOWTO can be found at
http://sunsite.doc.ic.ac.uk/public/packages/Linux/sunsite.unc-mirror/docs/howto/IPCHAINS-HOWTO
David Greer
Ordained Priest of the Church of Linuxology
------------------------------
From: Raphael Mankin <[EMAIL PROTECTED]>
Crossposted-To:
uk.comp.os.linux,tw.bbs.comp.linux,comp.os.linux.setup,aus.computers.linux,alt.uu.comp.os.linux.questions,alt.os.linux
Subject: Re: How to make sendmail automatic connect and disconnect?
Date: 30 Aug 1999 07:56:40 GMT
In comp.os.linux.networking kwyeung <[EMAIL PROTECTED]> wrote:
: Hello, I had just set up an Sendmail server, And I want to set it
: automatic dial up to internet when there is relay messages and
: disconnect after that, Can u tell me how to do that? Thank You.
Run diald with the defaultroute option. No changes to sendmail.
--
--
Politics: The conduct of public affairs for private advantage
Ambrose Bierce
Raphael Mankin
E-Mail: [EMAIL PROTECTED]
==================================
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: NIS and .rhosts required?
Date: 31 Aug 1999 04:45:57 GMT
Reply-To: [EMAIL PROTECTED]
On Mon, 30 Aug 1999 09:57:47 -0600, Brian Dudek
<[EMAIL PROTECTED]> wrote:
>Is NIS required for an rlogin that does not require a password? I have
>set up my .rhosts file, so the password should not be needed ( even
>without NIS ? ), but the user is prompted when logging into another box.
Without NIS, and just .rhosts, I can rlogin to a Linux box on the same
subnet with no password (from dialin on router). I can also rlogin to my
ISP with no password from one of their own dialup lines with my static IP.
However, a Linux box across a private WAN (frame relay) to another subnet
requests my password (no DNS just /etc/hosts). I get no response trying
to connect to that same box via the internet (telnet works). But that may
be due to firewall or masquerade setting, since I can connect from within
the private network.
So I haven't quite figured out what the conditions are for requiring a
password.
>NIS makes network admin easy but does it add this type of
>functionality? I some respects I can see that it would because the
>password file would be a single network shared file.
>
>If my assumption is correct, that one would negate the need for another,
>then there must be something in my network setup that is creating the
>problem?
>
>I have found no documentation on the uses of the .rhosts file and little
>on NIS, any good URLs or text I should check out?
I know nothing about NIS. My .rhosts contains a list of:
hostname_or_ip remote_username
>Thanks,
>Brian
--
David Efflandt [EMAIL PROTECTED] http://www.xnet.com/~efflandt/
http://www.de-srv.com/ http://cgi-help.virtualave.net/
------------------------------
From: Jason Vroustouris <[EMAIL PROTECTED]>
Subject: Re: CGI displays raw HTML code?
Date: Mon, 30 Aug 1999 20:31:03 GMT
I had this problem to.
I was using a redhat 5.2 linux box.
In my case all the files with .html whould show fine.
Files with .cgi and .htm would not.
I whent into the file /etc/mime.types and added lines 1 and 3:
text/html htm
text/html html
text/html cgi
After restarting the web server the problem was fixed.
I think that ie will display files not classified as text/html as html if
it finds tags. Howerver NS relys on the mime info. If you are on another
os I think there may be some keys in the server's registry (nt/95/98) that
associate file extentions with mime types.
Hope that this was help full,
Jason Vroustouris :)
www.jasonv.com
================== Posted via CNET Linux Help ==================
http://www.searchlinux.com
------------------------------
Crossposted-To:
comp.os.linux.networking,comp.os.linux.misc,comp.os.linux.setup,comp.os.linux.x
Subject: Re: GUI for ppp?
From: "Noah Roberts (jik-)" <[EMAIL PROTECTED]>
Date: 30 Aug 1999 16:37:04 -0700
[EMAIL PROTECTED] writes:
> Is there a way to configure the ppp client to pipe output received by a
> remote ppp server to an xterm? I need to loginto the remote server
> using a secure ID password which changes every 30 seconds. It is
> impossible to use a scripting method with this password. I need to
> physically type a new password at the remote prompt every time I log
> in.?????
use minicom and then attatch pppd to that serial port and exit minicom
without hanging up.
------------------------------
** 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.networking) 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-Networking Digest
******************************