Linux-Networking Digest #516, Volume #12 Wed, 8 Sep 99 17:14:17 EDT
Contents:
Re: Browsers and Linux (Andre van Dijk)
Finding ppp0 IP (dynamic) in a C program ("Colin Guthrie")
DSL: Bridging to PPP breaks SSH. Help. (Roger Rouse)
AMD K7 550mhz for 199$ ([EMAIL PROTECTED])
Re: Problem with NFS caching files? (Peter Tufvesson)
Re: Linux & Stollman ISDN adapter (Clifford Kite)
Re: xdm while NCD to RedHat6.0 - no response (Jeffery Browning)
Re: Network Card Question ("JK")
Re: How can I syncronize the date in my network? (Bill Unruh)
Re: Tulip.c NIC Driver Compiling Problems ("Y. T. Chow")
Re: accessing serial port from bash? (VAN LABEKE)
Re: secure ftp directories ("Steven J. Hathaway")
[Q] On pppd, /etc/ppp/ip-up, Dynamic DNS (Linux Hacker)
Netscape 4.51 and RH 6.0 ("Andy Jaworski")
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Andre van Dijk)
Crossposted-To: alt.os.linux,comp.os.linux.setup
Subject: Re: Browsers and Linux
Date: 8 Sep 1999 19:11:02 GMT
Reply-To: [EMAIL PROTECTED]
Op Wed, 8 Sep 1999 06:42:36 +0200 is het volgende aan Ernest ontsproten:
>Now what would that convention be? And, where does it state it.
>
>To me it make sense to accept that my message (the reply) is most important.
>Like a letter - do I repeat the complete letter and then put my reply to it?
>No, I reply and then refer to sections in your letter. So, what goes on top is
>my reply. (The most important issue). What goes at the bottom is what I am
>refer to (Your question).
You got it right dude, when you say question. If you only answer a simple
question there's nothing wrong, when a discussion starts there's trouble. It's
far more logical and chronological to use reply at the bottom. Also assures
you cut some text etc. Besides i think it's sort off usenet standard to reply
at the bottom. It's sure nice if we all use the same quoting mechanism, it
keeps long threads readable you see.
Why should the most important thing go at the top of the message? If you have
a smart reader let it jump to the most important part automagically. With
snail mail you usually don't send a copy of the original message along. So you
really quote inside your reply. Where u say someting like:
In your letter of bla bla you say quote quote ..... and i think it sucks.
So that's also reply after the original, really.
[cut my own text which Ernest should have replied beneath, so people that
dropping in this discussion can understand it and don't have to get the parent
article]
Tellyhoe
--
Andre van Dijk
,----------------------------------+-------------+-----------------------.
| mailto:[EMAIL PROTECTED] | icq:4249631 | fax:(+31)(0)208833917 |
`----------------------------------+-------------+-----------------------'
You get your b*tch *ss in the kitchen and bake me some pie.
-- Cartman, South Park.
------------------------------
From: "Colin Guthrie" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux
Subject: Finding ppp0 IP (dynamic) in a C program
Date: Wed, 8 Sep 1999 20:19:51 +0100
Hi,
I want to write a program that can get the IP address of the device ppp0.
This is only valid when I am online, but I want to use the value in a
program I am writing. I can write a shell script to get it, but I can't
work
out how to find it programatically in C.
Any help would be great.
Colin Guthrie
------------------------------
From: Roger Rouse <[EMAIL PROTECTED]>
Crossposted-To: [EMAIL PROTECTED]
Subject: DSL: Bridging to PPP breaks SSH. Help.
Date: Wed, 08 Sep 1999 09:30:23 -0700
==============0CBD5F343DD44B2E0BEF3C5B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi folks,
My DSL provider just switched from using bridging to PPP. Of course
they don't know anything about Linux. So, I'm asking my question of
this group. Fortunately my provider let me choose when I would actually
be switched. Three things happened in this order:
1) I had to get a new modem - Cisco 675. I installed and used it in
bridging mode (just like my old modem) and everything worked
beautifully. (No did *not* have to pay for it again.)
2) I went to my provider's web site and told them to switch me to PPP.
3) I configured the Cisco 675 to use PPP instead of bridging mode. It
works great except for one thing:
When I try to ssh to my other machines they refuse my connection:
ssh other.machine.edu
Secure connection to other.machine.edu refused; reverting to insecure
method.
Using rsh. WARNING: Connection will not be encrypted.
other: Connection refused
Not exactly sure where to start. Any hints/clues would be appreciated.
I'm assuming the worst that ssh on other.machine.edu is looking at my
packets and saying "oh no that's a dynamically allocated IP from some
PPP server. No way I'm letting you connect!" I hope this is not the
case.
Thanks, Roger
==============0CBD5F343DD44B2E0BEF3C5B
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<TT></TT>
<BR><TT>Hi folks,</TT><TT></TT>
<P><TT>My DSL provider just switched from using bridging to PPP.
Of course they don't know anything about Linux. So, I'm asking my
question of this group. Fortunately my provider let me choose when
I would actually be switched. Three things happened in this order:</TT><TT></TT>
<P><TT>1) I had to get a new modem - Cisco 675. I installed
and used it in bridging mode (just like my old modem) and everything worked
beautifully. (No did *not* have to pay for it again.)</TT><TT></TT>
<P><TT>2) I went to my provider's web site and told them to switch me to
PPP.</TT><TT></TT>
<P><TT>3) I configured the Cisco 675 to use PPP instead of bridging
mode. It works great except for one thing:</TT><TT></TT>
<P><TT>When I try to ssh to my other machines they refuse my connection:</TT><TT></TT>
<P><TT>ssh other.machine.edu</TT>
<BR><TT>Secure connection to other.machine.edu refused; reverting to insecure
method.</TT>
<BR><TT>Using rsh. WARNING: Connection will not be encrypted.</TT>
<BR><TT>other: Connection refused</TT><TT></TT>
<P><TT>Not exactly sure where to start. Any hints/clues would be
appreciated. I'm assuming the worst that ssh on other.machine.edu
is looking at my packets and saying "oh no that's a dynamically allocated
IP from some PPP server. No way I'm letting you connect!" I
hope this is not the case.</TT><TT></TT>
<P><TT>Thanks, Roger</TT></HTML>
==============0CBD5F343DD44B2E0BEF3C5B==
------------------------------
From: [EMAIL PROTECTED]
Subject: AMD K7 550mhz for 199$
Date: Wed, 08 Sep 1999 19:14:41 GMT
Hey I got your attention ...
Hi! I need a network guru to help me slipt a cable modem connection
between two PCs.
#1 It's very important that one PC is not depending on the other. Each
PC can up/down load from/to
the internet without having the other one on.
#2 I think I need a hub and 2 nics (plus the cable modem which has a
10baseT connector)
It is important to me not to have a computer acting as server. If
possible I want both
computers to be able to use the internet (in this case a Cable modem
connection) independantly from
the other (being on or off). If I connect both my PCs to a HUB then
connect the hub to the
internet (my cable modem in this case) I should be able to pull it off?
i think. do you?
As far as my limited networking knowledge goes, this is how it "should"
work:
Both computers are connected to the hub so in Win98 I will configure my
internet connection to that
IP. Then anytime I want to download or upload to the net the hub will
repeat all info coming in
and going out from/to my PCs. (Creating extra traffic but .. still
successfully creating my
independant PC2Internet scenario)...right? I know my ethernet cards
have mac addresses and no IPs
... do they need IPs?
Gurus reply to [EMAIL PROTECTED]
thank you
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: [EMAIL PROTECTED] (Peter Tufvesson)
Subject: Re: Problem with NFS caching files?
Date: 7 Sep 1999 21:02:19 +0200
In article <7pj030$oj8$[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote:
>Douglas Radmacher spoke these words of wisdom:
>
>[...]
>
>: Now, immediately attempt to copy dispcust from alpha to beta as before
>: and
>: do a sum on it:
>
>: beta > cp /users/dispcust /tmp
>: beta > sum /tmp/dispcust
>: 43854 184
>
>: As you can see the checksum didn't change. If I wait for a period of
>: time
>: then the copy finally takes place properly:
>
>: beta > cp /users/dispcust /tmp
>: beta > sum /tmp/dispcust
>: 19492 184
>
>: The time that I have to wait is random but usually not more than a
>: minute.
>
>Hi,
>
>I read in an answer to a similar post that nfs does not require
>clients to check its cache every time a file is accessed but
>only every 30 seconds or so, so this behaviour is to be
>expected.
>
>Bye,
>Mike
Hi,
Do a 'man nfs' and look for 'acdirmin' 'acdirmax' 'nocto' and 'noac'.
Haven't tried them myself, but looks like the thing you're after.
/Peter
------------------------------
From: kite@NoSpam.%inetport.com (Clifford Kite)
Crossposted-To: comp.os.linux.hardware
Subject: Re: Linux & Stollman ISDN adapter
Date: 8 Sep 1999 08:19:56 -0500
Zlatko Rek ([EMAIL PROTECTED]) wrote:
> Last night, I tried with 'pppd /dev/ttyS0 57600 -vj ...' and the problem
> with stalling transfer disappears, although there are still errors for Rx
> packets and of course the transfer rate is smaller.
> The reason why I think that integrated serial port is source of troubles is
> strange behavior of LM440LX motherboard (BIOS). When I reboot a PC usually
> the CD drive, and sometimes even the hard disk, is not found and I have to
> turn PC off and wait a few minutes.
It might be a good idea then to get a serial board. If you are capable
of the full 128k ISDN then you'd likely benefit by one with a 16650 UART,
and maybe benefit even with a 64k connection. The flow control problem
*might* go away and you could bring the pppd speed back up.
--
Clifford Kite <kite@inet%port.com> Not a guru. (tm)
/* To extract lines: View file with "vi -R". Move cursor to first line.
Press "v". Move cursor to mark lines (Esc unmarks). Write lines to
fubar with ":w fubar <Enter>". Exit with ":q <Enter>". */
------------------------------
From: Jeffery Browning <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x
Subject: Re: xdm while NCD to RedHat6.0 - no response
Date: Wed, 08 Sep 1999 15:25:39 -0400
FEEB wrote:
>
> I have an NCD terminal that connects regularly to HP-UX box. I can connect
> with it to all kinds of other *NIX boxes like SUN and SGI without problems
> just by changing the NCD's configuration and using 'bt' monitor command.
>
> Now I am trying to connect to RedHat6.0. I can connect to tftpd, read in
> all software and fonts (no error messages), then the terminal screen
> becomes shaded with a little cross in the middle (it moves with the mouse)
> and that's it. No xdm, no login screen. I checked /var/log - no errors.
> No errors on NCD either. I tried to completely relax /etc/pam.d/xdm in
> case the problem had something to do with the PAM. I read NCD-X Terminal
> mini HOWTO back and forth and searched dejanews for any clues. Nothing.
>
> Could please someone help me out here?
>
> Thanks
>
> P.S. When I hit SETUP on NCD, I can telnet to the host.
> X works fine on the console (including xdm).
>
> Frank Bures, [EMAIL PROTECTED] # look like:
(use this address for replies)
> http://frank.chem.utoronto.ca/electronics
> Warning: Received flame-mail will be reposted on the UseNet in full
comment out the following line in /etc/X11/xdm/Xservers
:0 local /usr/X11R6/bin/X
--
Jeffery C. Browning, Enhanced Solutions
Computing
Systems Administrator 2251 Old Cornelia Hwy
Gainesville, Ga 30507
------------------------------
Reply-To: "JK" <[EMAIL PROTECTED]>
From: "JK" <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.install
Subject: Re: Network Card Question
Date: Wed, 08 Sep 1999 20:25:25 GMT
I use the Linksys PCI Lan Card II as my second network card and it works
fine with Linux. It uses the Ne2K PCI driver.
JK
Stephen Jones <[EMAIL PROTECTED]> wrote in message
news:7r5srh$rt8$[EMAIL PROTECTED]...
> I need to get a second PCI network adapter for DSL service...does anyone
> know if linksys Ethernet cards work with linux. I am using RH 6.0
> distribution. Thanks
>
> Stephen
>
>
>
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: How can I syncronize the date in my network?
Date: 8 Sep 1999 16:36:22 GMT
In <[EMAIL PROTECTED]> [EMAIL PROTECTED] (David Efflandt)
writes:
>On Tue, 07 Sep 1999 23:58:58 GMT, [EMAIL PROTECTED]
><[EMAIL PROTECTED]> wrote:
>>been modified in the future. I figure out that I can fix the problem
>>using NTP, but I didn't find any documentation about the installation.
Get the chrony ntp suite. has nice feature- easier to set up than xntp,
and will keep track of your hardware clock as well.
------------------------------
From: "Y. T. Chow" <[EMAIL PROTECTED]>
Subject: Re: Tulip.c NIC Driver Compiling Problems
Date: Wed, 08 Sep 1999 20:28:40 GMT
This is a multi-part message in MIME format.
=======_NextPart_000_001D_01BEFA06.783F1360
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Thanks for the heads-up on the underscores. Actually, I have SOHOware =
Fast Ethernet NICs that I really want to keep because they work great =
under Windows. I tried compiling the tulip.c driver recommended and =
provided by NDC (a.k.a., SOHOware) but have heard from others at this =
newsgroup that the latest tulip.c driver (v. 0.91g) works with these =
cards. So, I'm going to give that a whirl now that you've straightened =
me out on the syntax error.
Thanks again.
John Soltow <[EMAIL PROTECTED]> wrote in message =
news:[EMAIL PROTECTED]...
"Y. T. Chow" wrote:=20
I'm having trouble trying to compile the latest version of tulip.c =
(v. 0.91). Here's what I've done and the results:=20
1.. Copied tulip.c (version 0.91) to =
/usr/src/linux-2.2.5/drivers/net (that's where Red Hat's version 0.89 =
was).=20
2.. Tried to compile tulip.c from it's directory location using =
the following syntax on a single processor PC:<?xml:namespace prefix =3D =
o ns =3D "urn:schemas-microsoft-com:office:office" />=20
gcc -DMODULE -D_KERNEL_ -Wall -Wstrict-prototypes -O6 -c tulip.c `[ =
-f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS'
First, note that your gcc line is incorrect. There are TWO =
underscores ( "_" ) instead of one in front of and after KERNEL. The =
following comes from the NetGear floppy containing the help file (you =
can find it in the /help/linux directory on the floppy.) I put numbers =
under the underscores to highlight the point - it's easily missed (I did =
the same thing the first time).=20
gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall =
-Wstrict-prototypes -O6 -c tulip.c=20
12 12 =
=20
(Note that I tried both zero-six and oh-six for "O6"; zero-six =
generates an error message so I assume it's oh-six.)
zero-six is correct.
Also, I tried the same driver (the one provided on the floppy) =
with my Netgear FA310TX and found it would not work with my card. I had =
to return to the driver provided with RH6.0 Since you didn't say what =
manufacturer & card, I'm presuming we're talking about the same one.=20
=20
=20
=20
=======_NextPart_000_001D_01BEFA06.783F1360
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR></HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000080>Thanks for the heads-up on the =
underscores. =20
Actually, I have SOHOware Fast Ethernet NICs that I really want to keep =
because=20
they work great under Windows. I tried compiling the tulip.c =
driver=20
recommended and provided by NDC (a.k.a., SOHOware) but have heard from =
others at=20
this newsgroup that the latest tulip.c driver (v. 0.91g) works with =
these=20
cards. So, I'm going to give that a whirl now that you've =
straightened me=20
out on the syntax error.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=3D#000080>Thanks again.</FONT></DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000080 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV>John Soltow <<A=20
href=3D"mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</A>> wrote in =
message=20
<A=20
=
href=3D"news:[EMAIL PROTECTED]">news:[EMAIL PROTECTED]=
m</A>...</DIV>"Y.=20
T. Chow" wrote:=20
<BLOCKQUOTE TYPE=3D"CITE">
<STYLE></STYLE>
<FONT color=3D#000080>I'm having trouble trying to compile the =
latest version=20
of tulip.c (v. 0.91). Here's what I've done and the =
results:</FONT>=20
<OL style=3D"mso-margin-top-alt: 0in" type=3D1>
<LI class=3DMsoNormal=20
style=3D"COLOR: #333399; mso-list: l0 level1 lfo1; tab-stops: list =
.5in"><SPAN=20
class=3DEmailStyle15><SPAN=20
style=3D"FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt; =
mso-bidi-font-family: Arial"><FONT=20
face=3D"Times New Roman"><FONT color=3D#333399><FONT =
size=3D+0>Copied tulip.c=20
(version 0.91) to /usr/src/linux-2.2.5/drivers/net (that's where =
Red Hat's=20
version 0.89 was).</SPAN></SPAN><SPAN class=3DEmailStyle15><SPAN=20
style=3D"FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt; =
mso-bidi-font-family: Arial"></SPAN></SPAN></FONT></FONT></FONT><FONT=20
color=3D#000080></FONT>=20
<LI class=3DMsoNormal=20
style=3D"COLOR: #333399; mso-list: l0 level1 lfo1; tab-stops: list =
.5in"><SPAN=20
class=3DEmailStyle15><SPAN=20
style=3D"FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt; =
mso-bidi-font-family: Arial"><FONT=20
face=3D"Times New Roman"><FONT color=3D#333399><FONT =
size=3D+0>Tried to compile=20
tulip.c from it's directory location using the following syntax on =
a=20
single processor PC:<?xml:namespace prefix =3D o ns =3D "<A=20
=
href=3D"urn:schemas-microsoft-com:office:office">urn:schemas-microsoft-co=
m:office:office</A>"=20
/><O:P></O:P></SPAN></SPAN></FONT></FONT></FONT><FONT=20
color=3D#000080></FONT> </LI></OL>
<DIV class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><SPAN=20
class=3DEmailStyle15><SPAN=20
style=3D"FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt; =
mso-bidi-font-family: Arial"><FONT=20
face=3D"Times New Roman"><FONT color=3D#333399><FONT size=3D+0>gcc =
-DMODULE=20
-D_KERNEL_ -Wall -Wstrict-prototypes -O6 -c tulip.c `[ -f=20
/usr/include/linux/modversions.h ] && echo=20
=
-DMODVERSIONS'</FONT></FONT></FONT><O:P></O:P></SPAN></SPAN></DIV></BLOCK=
QUOTE> =20
First, note that your gcc line is incorrect. There are=20
TWO underscores ( "_" ) instead of one in front of and =
after=20
KERNEL. The following comes from the NetGear floppy containing =
the help=20
file (you can find it in the /help/linux directory on the =
floppy.) I put=20
numbers under the underscores to highlight the point - it's easily =
missed (I=20
did the same thing the first time).=20
<P> gcc -DMODULE -D__KERNEL__=20
-I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -c tulip.c=20
=
<BR> &nb=
sp; &nbs=
p;  =
; =20
=
12  =
; =20
12=20
<BLOCKQUOTE TYPE=3D"CITE">
<DIV class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT=20
face=3D"Times New Roman"><FONT color=3D#333399><FONT=20
size=3D+0></FONT></FONT></FONT></DIV> =20
<P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><SPAN =
class=3DEmailStyle15><SPAN=20
style=3D"FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt; =
mso-bidi-font-family: Arial"><FONT=20
face=3D"Times New Roman"><FONT color=3D#333399><FONT size=3D+0>(Note =
that I tried=20
both zero-six and oh-six for "O6"; zero-six generates an error =
message so I=20
assume it's=20
=
oh-six.)</FONT></FONT></FONT><O:P></O:P></SPAN></SPAN></P></BLOCKQUOTE>
<DIV class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"> =
zero-six is=20
correct.</DIV>
<P> Also, I tried the same driver (the one =
provided on=20
the floppy) with my Netgear FA310TX and found it would not work with =
my=20
card. I had to return to the driver provided with =
RH6.0 Since=20
you didn't say what manufacturer & card, I'm presuming we're =
talking=20
about the same one. <BR> <BR> <BR> =20
</P></BLOCKQUOTE></BODY></HTML>
=======_NextPart_000_001D_01BEFA06.783F1360==
------------------------------
From: VAN LABEKE <[EMAIL PROTECTED]>
Subject: Re: accessing serial port from bash?
Date: Wed, 08 Sep 1999 17:42:16 +0200
[EMAIL PROTECTED] wrote:
> 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.
Hello !
I don't know if this can help you, but I use the read and write commands to
send bytes to the machine ports. Perhaps the equivalent exists in bash (or
build a special compiled program which read/send to ports...)
BYe Me
------------------------------
From: "Steven J. Hathaway" <[EMAIL PROTECTED]>
Subject: Re: secure ftp directories
Date: Wed, 08 Sep 1999 11:58:45 -0700
alkimist wrote:
> I'm running redhat 6 and I have "real" users setup in /etc/ftpaccess which
> works. They only have access to their home directory, but can still browse
> the entire file system. Specifically what I would like to do is make their
> home directory appear as if it was their root ftp directory.
>
Read the manpage for ftpaccess
File: /etc/ftpaccess
guestgroup ftp
File: /etc/passwd
guest1:pwd:1234:222:Guest User Name:/rootdir/./subdir/:/shell
Note: FTP does a chroot (/rootdir)
FTP does a chdir (./subdir/)
Note: If /./ is not included, the entire homedirectory is
treated as the new chroot directory.
Note: All necessary programs and support files must be available
to (/rootdir) similar setup for anonymous FTP.
File: /etc/group
ftp:x:555:guest1
Directory: /rootdir
/rootdir/etc
/rootdir/etc/passwd - a dummy password file
/rootdir/etc/group - a dummy group file
/rootdir/bin
/rootdir/bin/ls - program to process directory lists
/rootdir/subdir - home directory for ftp guest1 user
------------------------------
From: Linux Hacker <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: [Q] On pppd, /etc/ppp/ip-up, Dynamic DNS
Date: Wed, 08 Sep 1999 11:30:13 -0400
Hi,
I am able to connect my AMD K6-2 400Mhz that runs on a SuSE-6.2 distro
to the Internet through a local dialup using KPPP. When I looked at the
/var/log/messages file, I found some strange things regarding the ppp
connection as follows:
Sep 8 10:57:36 abc modprobe: modprobe: Can't locate module
ppp-compress-24
Sep 8 10:57:36 abc pppd[7944]: Script /etc/ppp/ip-up started (pid
7948)
Sep 8 10:57:36 abc pppd[7944]: Script /etc/ppp/ip-up finished (pid
7948), status = 0x0
Sep 8 10:58:06 abc pppd[7944]: sent [LCP EchoReq id=0x1
magic=0x21d638c1]
Sep 8 10:58:06 abc pppd[7944]: rcvd [LCP EchoRep id=0x1 magic=0x0]
Sep 8 10:58:36 abc pppd[7944]: sent [LCP EchoReq id=0x2
magic=0x21d638c1]
Sep 8 10:58:36 abc pppd[7944]: rcvd [LCP EchoRep id=0x2 magic=0x0]
Sep 8 10:59:06 abc pppd[7944]: sent [LCP EchoReq id=0x3
magic=0x21d638c1]
Sep 8 10:59:06 abc pppd[7944]: rcvd [LCP EchoRep id=0x3 magic=0x0]
The questions I have are as follows:
1. Why the message "modprobe: Can't locate module ppp-compress-24"
appeared when pppd is established?
2. What are those sent [LCP ... and rcvd [LCP ... messages? Should I
worry about them?
3. I noticed that pppd exec's the /etc/ppp/ip-up script. This is why I
modified my /etc/ppp/ip-up script to accomodate the need to update some
dynamic DNS servers. Below is stripped version of my /etc/ppp/ip-up
script:
:
.
case "$BASENAME" in
ip-up)
:
.
/sbin/route add default gw $REMOTEIP dev $INTERFACE
:
.
# Here is the added code to update dynamic DNS servers
/home/local/bin/ddup --host abc.DynDNS.org # <=== dyndns.org
/home/local/bin/jlclient.pl -u # <=== justlinux.com
ip-down)
# delete dns entry (go offline) for justlinux.com
#
/home/local/bin/jlclient.pl -d
:
.
The above script should work and the dynamic DNS servers should show my
new IP when requested. However, when I "ping abc.DynDNS.org", it just
sit there. And, when checked with nslookup, the IP address remained the
same as the old one. This means the dynamic DNS servers did not get
updated. If I did "/home/local/bin/ddup --host abc.DynDNS.org" and
"/home/local/bin/jlclient.pl -u" as root at the shell, the dynamic DNS
servers responded. "ping abc.DynDNS.org" works and nslookup gives the
current IP address. This means that there is something wrong with my
/etc/ppp-ip-up script that the dynamic DNS scripts did not get
executed. I certainly will appreciate if anyone can please shed
somelight on how to use the /etc/ppp/ip-up to automatically update to
the dynamic DNS servers?
TIA.
--
[EMAIL PROTECTED]
PS> Remove the "4" from e-mail address to respond.
------------------------------
From: "Andy Jaworski" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Netscape 4.51 and RH 6.0
Date: Wed, 8 Sep 1999 10:29:53 -0500
Hi,
This is a small problem, but it is driving me crazy.
I just upgraded my RH 5.2 to 6.0. Most things went smoothly, but now
I have a small problem with Netscape. When I am not connected to the
network (I only have a modem connection, so this is usually the case)
and I invoke the Navigator on a local file, it goes blank for about 3
minutes and then displays the file fine. It looks to me like
something times out but I do not know what and how to stop it from
happening. The only obvious thing I changed was the home page. I
changed it to blank or a local html file, but to no avail.
Any ideas are welcome.
Thanks in advance,
--
Andy Jaworski
[EMAIL PROTECTED]
------------------------------
** 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
******************************