Linux-Networking Digest #562, Volume #12         Sun, 12 Sep 99 13:13:21 EDT

Contents:
  Re: Bogus ppp device after kernel upgrade? ("Gene Heskett")
  Re: Unresponsive DHCP server? (Scott Nolde)
  Re: Unresponsive DHCP server? (Steve)
  Re: How Do I configure Linux so you can dial in (M. Buchenrieder)
  Re: Netscape 4.6 + JAVA -> freezes (John Soltow)
  Re: Homes section in Samba ("Steve Cowles")
  Which library for dev_get()  ? (Sai Prasad Matam)
  ppp PAP and strange behavior connecting ([EMAIL PROTECTED])
  Re: A good Networking code overview ? (Sai Prasad Matam)
  Re: ppp and SUID (Bill Unruh)
  Re: question about network card (Pete)
  Re: ifconfig question (Bernd Eckenfels)
  Re: How Do I configure Linux so you can dial in (Bill Unruh)

----------------------------------------------------------------------------

Date: 12 Sep 99 10:31:18 -0500
From: "Gene Heskett" <[EMAIL PROTECTED]>
Subject: Re: Bogus ppp device after kernel upgrade?
Crossposted-To: comp.os.linux.misc

Unrot13 this;
Reply to: <[EMAIL PROTECTED]>

Gene Heskett sends Greetings to Bill Unruh;

 BU> In <[EMAIL PROTECTED]> "G.
 BU> Georgiev" <[EMAIL PROTECTED]> writes:

 BU> ]  When I dial from one comp. to another the serial link is
 BU> ]established OK, the ppp device appears in /proc/net/dev, but ifconfig
 BU> does
 BU> ]not show it and it can not be accessed or included in the routing table.
 BU> ]pppd leaves a message 'ioctl(SIOCADDRT) device route: Network is down'
 BU> in
 BU> ]the syslog and that's all. The result is the same on both machines I
 BU> want
 BU> ]to connect. One is still with kernel 2.0.30, other is with 2.2.11, the
 BU> ]pppd is version 2.2.0, I do use slackware on both of them.

 BU> ]  So, if the kernel opens the device why ifconfig does not recognize
 BU> ]it and why it may not function?

 BU> ]                  Thanks, George.


 BU> ]  /var/log/messages:
 BU> ]Sep 12 01:47:17 gate pppd[651]: pppd 2.2.0 started by solex, uid 517
 BU> ]Sep 12 01:47:17 gate pppd[651]: Using interface ppp0
 BU> ]Sep 12 01:47:17 gate pppd[651]: Connect: ppp0 <--> /dev/ttyS3
 BU> ]Sep 12 01:47:21 gate pppd[651]: local  IP address 10.0.0.1
 BU> ]Sep 12 01:47:21 gate pppd[651]: remote IP address 10.1.1.31
 BU> ]Sep 12 01:47:21 gate pppd[651]: IPCP terminated at peer's request

 BU> Your ppp connection is NOT made. Note this last error message. To
 BU> find out what is happening, you need to switch on debugging.
 BU> debug
 BU> in /etc/ppp/options and turned on in /etc/syslog.conf.

There are 4 other files that need to be upgraded when moving from a 2.0
kernel to a 2.2 kernel.  One of them is pppd.  There is a HOWTO about
this on, IIRC, any local kernel.org.  It will take you through it step
by step.

Cheers, Gene
-- 
  Gene Heskett, CET, UHK       |Amiga A2k Zeus040 50 megs fast/2 megs chip
    Ch. Eng. @ WDTV-5          |A2091,GuruRom,1g Seagate,CDROM,Multiface III
                               |Buddha + 4 gig WDC drive, 525 meg tape
                               |Stylus Pro, EnPrint, Picasso-II, 17" vga
         RC5-Moo! 690kkeys/sec isn't much, but it all helps
email gene underscore heskett at iolinc dot net
-- 


------------------------------

From: Scott Nolde <[EMAIL PROTECTED]>
Subject: Re: Unresponsive DHCP server?
Date: Sun, 12 Sep 1999 14:31:22 GMT

if you're using a PCI card, take out any io and irq references in your
/etc/conf.modules.  Also, your /etc/sysconfig/network-scripts/ifcfg-eth0
should look like this (at least it does for me):
DEVICE="eth0"
ONBOOT="yes"
BOOTPROTO="dhcp"
GATEWAY=xx.xx.xx.xx    <-- gateway IP address
IPXNETNUM_802_2=""
IPXPRIMARY_802_2="no"
IPXACTIVE_802_2="no"
IPXNETNUM_802_3=""
IPXPRIMARY_802_3="no"
IPXACTIVE_802_3="no"
IPXNETNUM_ETHERII=""
IPXPRIMARY_ETHERII="no"
IPXACTIVE_ETHERII="no"
IPXNETNUM_SNAP=""
IPXPRIMARY_SNAP="no"
IPXACTIVE_SNAP="no"
USERCTL=yes


rich wrote:
> 
> Hi Folks
>         I know variations of this question are being asked on a daily
> basis, but after reading through this group for a while, I haven't
> been able to find a specific solution to my problem
> 
> I'm running linux mandrake 6.0, and attempting to connect to the
> internet with a cable modem, my isp (videotron in montreal, canada)
> uses DHCP.
> 
> I know for certain that my NIC is working properly in linux because
> I've been able to set up a sygate proxy on a win98 box, and use that
> as a gateway to get onto the net and surf with the linux box, but that
> isn't how I want things set up.
> 
> I've tried installing the dhcpcd rpm package that came with mandrake
> (version 1.3.1 7pl2), but with no luck.
> 
> and have also tried using the ICS DHCP package (version 2.0) from
> www.isc.org.  (experimented with dhcrelay as well)
> 
> my problem is that no matter what i do, the interface won't initialize
> when i set it to DHCP, i just get the message
> "Determining ip information for eth0... Operation failed."
> on bootup, or any time i do an ifup eth0.
> The cable modem's transmission lights flash, but they don't seem to
> get a response back.
> 
> I've been reading any HOW-TOs, FAQs, man pages for DHCP
> that i can find, I've spent the last 3 days working on it...
> 
> Any help would be GREATLY appreciated
> 
> Thanks in advance,
> Rich

-- 
================================================
                 Scott Nolde
          [EMAIL PROTECTED]
================================================

------------------------------

From: Steve <[EMAIL PROTECTED]>
Subject: Re: Unresponsive DHCP server?
Date: Sun, 12 Sep 1999 14:50:58 GMT

Not a fix, but I experience the same problem with dhcp while under
Linux.  I have 3 boxes, PC1 runs DHCPD, the other 2 look for dhcp info
on bootup.  When I boot PC2 amd PC3 under Windows 95 they boot just
fine, the dhcp info is there and all is good.  When I boot them to Linux
on the SAME 2 machines they stall out at the eth0 init for maybe 30
seconds but eventually get through, they then stall at the smb and nmb
for may 30 seconds more apiece. Curiously PC3 is a laptop and when I
take it to work and fire it up it acceses the Win NT dhcp just fine and
boots right through in the same time as using a static address.

It seems, IMHO, the problem lies in the dhcpd.

Maybe this will narrow the problem down some and we can get an answer.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  [EMAIL PROTECTED] wrote:
> Hi Folks
>       I know variations of this question are being asked on a daily
> basis, but after reading through this group for a while, I haven't
> been able to find a specific solution to my problem
>
> I'm running linux mandrake 6.0, and attempting to connect to the
> internet with a cable modem, my isp (videotron in montreal, canada)
> uses DHCP.
>
> I know for certain that my NIC is working properly in linux because
> I've been able to set up a sygate proxy on a win98 box, and use that
> as a gateway to get onto the net and surf with the linux box, but that
> isn't how I want things set up.
>
> I've tried installing the dhcpcd rpm package that came with mandrake
> (version 1.3.1 7pl2), but with no luck.
>
> and have also tried using the ICS DHCP package (version 2.0) from
> www.isc.org.  (experimented with dhcrelay as well)
>
> my problem is that no matter what i do, the interface won't initialize
> when i set it to DHCP, i just get the message
> "Determining ip information for eth0... Operation failed."
> on bootup, or any time i do an ifup eth0.
> The cable modem's transmission lights flash, but they don't seem to
> get a response back.
>
> I've been reading any HOW-TOs, FAQs, man pages for DHCP
> that i can find, I've spent the last 3 days working on it...
>
> Any help would be GREATLY appreciated
>
> Thanks in advance,
> Rich
>
>


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

------------------------------

From: [EMAIL PROTECTED] (M. Buchenrieder)
Subject: Re: How Do I configure Linux so you can dial in
Date: Sun, 12 Sep 1999 14:06:52 GMT

Anonymous <[EMAIL PROTECTED]> writes:

>On Sat, 11 Sep 1999 02:31:18 GMT, [EMAIL PROTECTED] wrote:
>> I have RedHat6.0. and I have being trying to configure my Linux
>> so I could dial-in using moderm.  I am not even sure if that is
>> possible.  Can someone please help.

>Yes, it is possible.  Read the "man" page on "agetty".

Minor correction: Replace agetty with mgetty.

Michael
-- 
Michael Buchenrieder * [EMAIL PROTECTED] * http://www.muc.de/~mibu
          Lumber Cartel Unit #456 (TINLC) & Official Netscum
    Note: If you want me to send you email, don't munge your address.

------------------------------

From: John Soltow <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,netscape.public.mozilla.java
Subject: Re: Netscape 4.6 + JAVA -> freezes
Date: Sun, 12 Sep 1999 10:56:55 -0400

Howard Pepper wrote:

> Robert,
>
>     Please share the fix, I've been all over RedHat's errata site and I can't find
> anything remotely resembeling a fix for the Navigator + Java problem
>
> Howard Pepper
>
> Robert Bernier wrote:

  To see if this is the problem you are facing, try:

 chkfontpath --list

 You should get output that looks like the following:

 Current directories in font path:
 1: /usr/X11R6/lib/X11/fonts/misc:unscaled
 2: /usr/X11R6/lib/X11/fonts/75dpi:unscaled
 3: /usr/X11R6/lib/X11/fonts/100dpi:unscaled
 4: /usr/X11R6/lib/X11/fonts/misc
 5: /usr/X11R6/lib/X11/fonts/Type1
 6: /usr/X11R6/lib/X11/fonts/Speedo

 You should then add the 75dpi scaled font to your path list using the  command:

 chkfontpath --add /usr/X11R6/lib/X11/fonts/75dpi

 This should fix the problem you are seeing.





------------------------------

From: "Steve Cowles" <[EMAIL PROTECTED]>
Subject: Re: Homes section in Samba
Date: Sun, 12 Sep 1999 15:18:31 GMT

Steve,

In the "homes" section of your smb.conf, change the parameter "browseable" from yes to 
no.
This will fix your problem. In fact, I was able to recreate your problem by changing 
the
browseable flag on my system (in my case from no to yes). After restarting samba, both 
the
"homes" and "scowles" shares showed up in network neighborhood pointing to the same
directory.

Steve Cowles
SWCowles at gte dot net


Steven Sykes <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi everyone,
>
> On my system I am using the 'homes' section in smb.conf so that users on
> the system can get to their home directory without me having to have
> configuration sections for each person (the whole point of the 'homes'
> section really!)
>
> Anyway, under Windows when looking in the Network Neighbourhood the
> Samba server appears fine, but when I double click on the server name,
> as well as the printers section appearing there are two directories,
> both of which relate to the users home directory.
>
> One of these is called 'homes', the other is the name of their login,
> e.g 'steven'. The smb.conf man page leads me to believe that Samba is
> meant to replace the name 'homes' with their UNIX login name *only*, but
> it seems to have their name, *and* 'homes'.
>
> I'm using Samba 2.0.5a, and any help would be appreciated.
>
> Cheers,
>
> --
> Steven
>
> Webmaster of WACC - Wellington Acorn Computer Club
> WACC pages: http://homepages.paradise.net.nz/~pbrowne/WACC/
> Phone: (03) 358-5601 or (025) 908-448
> My pages: http://homepages.paradise.net.nz/~acorn/
>
> ... Start slow and taper off.
>
>



------------------------------

From: Sai Prasad Matam <[EMAIL PROTECTED]>
Subject: Which library for dev_get()  ?
Date: Sun, 12 Sep 1999 08:59:56 -0700

In the file linux/netdevice.h there is the function dev_get().
In order for me to use this function what is the library I
should link with ?

thanks
-- Sai


------------------------------

From: [EMAIL PROTECTED]
Subject: ppp PAP and strange behavior connecting
Date: Sun, 12 Sep 1999 15:44:29 GMT

I have had PPP set up for some time.  It usually took a few calls before I
actually got a connection, but I could eventually connect up.  I installed
diald, and everything still pretty much worked the same way.

After  a while I got sick and tired of having to wait for 5, 10 sometimes 15
minutes of calling my ISP to get connected (while other times I got hooked up on
the first call.)  When I investigated my log files things just got more
confusing.  I was actually getting through and started negotiation, but after a
while my ISP and my computer decided not to talk.

I have included my diald.conf and my ppp options file along with excerpts from
my debug log and message log.  If anyone can explain why ppp is connecting up
just every once in a while I would appreciate it.  I am running version 2.3.7 of
PPP.

************ PPP Options file *****************
# General configuration options for PPPD:
#lock
#defaultroute
noipdefault
#modem
#/dev/ttyS1
#115200
#crtscts
# Uncomment the line below for more verbose error reporting:
debug
# If you have a default route already, pppd may require the other side
# to authenticate itself, which most ISPs will not do.  To work around this,
# uncomment the line below.  Note that this may have negative side effects
# on system security if you allow PPP dialins.  See the docs in /usr/doc/ppp*
# for more information.
noauth
passive
#default-asyncmap
asyncmap 0
# JMC - I think this was causing the link to go down. I will see.....
##idle 900



************************  Diald.conf  **************
mode ppp
connect "/usr/sbin/chat -v -f /etc/ppp/pppscript"
device /dev/ttyS1
##speed 115200
modem
lock
crtscts
local 192.168.0.1
remote 192.168.0.2
dynamic
defaultroute
##mtu 500
##route-wait
##start-ppd-timeout 90
##connect-timeout 190
disconnect-timeout 3
redial-timeout 2
redial-backoff-start 4
redial-backoff-limit 600
fifo /etc/diald/diald.ctl
include /usr/lib/diald/standard.filter


************ debug log ***************
********************
***** Didn't work
********************
Sep 12 09:46:43 jcmain diald[1242]: Running pppd: /usr/sbin/pppd -defaultroute
-detach modem crtscts mtu 1500 mru 1500 
Sep 12 09:46:47 jcmain pppd[1242]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0xcc8d3abc> <pcomp> <accomp>]
Sep 12 09:46:48 jcmain pppd[1242]: rcvd [LCP ConfReq id=0x5e <asyncmap 0xa0000>
<auth pap> <magic 0xee0cfbc8> <pcomp> <accomp>]
Sep 12 09:46:48 jcmain pppd[1242]: sent [LCP ConfRej id=0x5e <auth pap>]
Sep 12 09:46:48 jcmain pppd[1242]: rcvd [LCP ConfReq id=0x5f <asyncmap 0xa0000>
<auth pap> <magic 0xee0cfbc8> <pcomp> <accomp>]
Sep 12 09:46:48 jcmain pppd[1242]: sent [LCP ConfRej id=0x5f <auth pap>]
Sep 12 09:46:48 jcmain pppd[1242]: rcvd [LCP ConfReq id=0x60 <asyncmap 0xa0000>
<auth pap> <magic 0xee0cfbc8> <pcomp> <accomp>]
Sep 12 09:46:48 jcmain pppd[1242]: sent [LCP ConfRej id=0x60 <auth pap>]
Sep 12 09:46:48 jcmain pppd[1242]: rcvd [LCP ConfReq id=0x61 <asyncmap 0xa0000>
<auth pap> <magic 0xee0cfbc8> <pcomp> <accomp>]
Sep 12 09:46:48 jcmain pppd[1242]: sent [LCP ConfRej id=0x61 <auth pap>]
Sep 12 09:46:49 jcmain pppd[1242]: rcvd [LCP ConfReq id=0x62 <asyncmap 0xa0000>
<auth pap> <magic 0xee0cfbc8> <pcomp> <accomp>]
Sep 12 09:46:49 jcmain pppd[1242]: sent [LCP ConfRej id=0x62 <auth pap>]
Sep 12 09:47:17 jcmain pppd[1261]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0xfa4454da> <pcomp> <accomp>]
********************
***** Didn't work
********************
Sep 12 09:47:17 jcmain diald[1261]: Running pppd: /usr/sbin/pppd -defaultroute
-detach modem crtscts mtu 1500 mru 1500 
Sep 12 09:47:20 jcmain pppd[1261]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0xfa4454da> <pcomp> <accomp>]
Sep 12 09:47:21 jcmain pppd[1261]: rcvd [LCP ConfReq id=0x28 <asyncmap 0xa0000>
<auth pap> <magic 0xee0d7ea0> <pcomp> <accomp>]
Sep 12 09:47:21 jcmain pppd[1261]: sent [LCP ConfRej id=0x28 <auth pap>]
Sep 12 09:47:22 jcmain pppd[1261]: rcvd [LCP ConfReq id=0x29 <asyncmap 0xa0000>
<auth pap> <magic 0xee0d7ea0> <pcomp> <accomp>]
Sep 12 09:47:22 jcmain pppd[1261]: sent [LCP ConfRej id=0x29 <auth pap>]
Sep 12 09:47:22 jcmain pppd[1261]: rcvd [LCP ConfReq id=0x2a <asyncmap 0xa0000>
<auth pap> <magic 0xee0d7ea0> <pcomp> <accomp>]
Sep 12 09:47:22 jcmain pppd[1261]: sent [LCP ConfRej id=0x2a <auth pap>]
Sep 12 09:47:22 jcmain pppd[1261]: rcvd [LCP ConfReq id=0x2b <asyncmap 0xa0000>
<auth pap> <magic 0xee0d7ea0> <pcomp> <accomp>]
Sep 12 09:47:22 jcmain pppd[1261]: sent [LCP ConfRej id=0x2b <auth pap>]
Sep 12 09:47:22 jcmain pppd[1261]: rcvd [LCP ConfReq id=0x2c <asyncmap 0xa0000>
<auth pap> <magic 0xee0d7ea0> <pcomp> <accomp>]
Sep 12 09:47:22 jcmain pppd[1261]: sent [LCP ConfRej id=0x2c <auth pap>]
Sep 12 09:47:49 jcmain pppd[1275]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0x3d2947d7> <pcomp> <accomp>]
********************
***** Didn't work
********************
Sep 12 09:47:49 jcmain diald[1275]: Running pppd: /usr/sbin/pppd -defaultroute
-detach modem crtscts mtu 1500 mru 1500 
Sep 12 09:47:52 jcmain pppd[1275]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0x3d2947d7> <pcomp> <accomp>]
Sep 12 09:47:54 jcmain pppd[1275]: rcvd [LCP ConfReq id=0x4a <asyncmap 0xa0000>
<auth pap> <magic 0xee0dfded> <pcomp> <accomp>]
Sep 12 09:47:54 jcmain pppd[1275]: sent [LCP ConfRej id=0x4a <auth pap>]
Sep 12 09:47:54 jcmain pppd[1275]: rcvd [LCP ConfReq id=0x4b <asyncmap 0xa0000>
<auth pap> <magic 0xee0dfded> <pcomp> <accomp>]
Sep 12 09:47:54 jcmain pppd[1275]: sent [LCP ConfRej id=0x4b <auth pap>]
Sep 12 09:47:54 jcmain pppd[1275]: rcvd [LCP ConfReq id=0x4c <asyncmap 0xa0000>
<auth pap> <magic 0xee0dfded> <pcomp> <accomp>]
Sep 12 09:47:54 jcmain pppd[1275]: sent [LCP ConfRej id=0x4c <auth pap>]
Sep 12 09:47:54 jcmain pppd[1275]: rcvd [LCP ConfReq id=0x4d <asyncmap 0xa0000>
<auth pap> <magic 0xee0dfded> <pcomp> <accomp>]
Sep 12 09:47:54 jcmain pppd[1275]: sent [LCP ConfRej id=0x4d <auth pap>]
Sep 12 09:47:54 jcmain pppd[1275]: rcvd [LCP ConfReq id=0x4e <asyncmap 0xa0000>
<auth pap> <magic 0xee0dfded> <pcomp> <accomp>]
Sep 12 09:47:54 jcmain pppd[1275]: sent [LCP ConfRej id=0x4e <auth pap>]
Sep 12 09:48:24 jcmain pppd[1288]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0xa59782f8> <pcomp> <accomp>]
********************
***** Worked!!!!
********************
Sep 12 09:48:24 jcmain diald[1288]: Running pppd: /usr/sbin/pppd -defaultroute
-detach modem crtscts mtu 1500 mru 1500 
Sep 12 09:48:27 jcmain pppd[1288]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0xa59782f8> <pcomp> <accomp>]
Sep 12 09:48:28 jcmain pppd[1288]: rcvd [LCP ConfReq id=0x63 <asyncmap 0xa0000>
<magic 0x78776a34> <pcomp> <accomp>]
Sep 12 09:48:28 jcmain pppd[1288]: sent [LCP ConfAck id=0x63 <asyncmap 0xa0000>
<magic 0x78776a34> <pcomp> <accomp>]
Sep 12 09:48:30 jcmain pppd[1288]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0xa59782f8> <pcomp> <accomp>]
Sep 12 09:48:33 jcmain pppd[1288]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0xa59782f8> <pcomp> <accomp>]
Sep 12 09:48:33 jcmain pppd[1288]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0>
<magic 0xa59782f8> <pcomp> <accomp>]
Sep 12 09:48:33 jcmain pppd[1288]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>
<compress VJ 0f 01>]
Sep 12 09:48:35 jcmain pppd[1288]: rcvd [LCP ConfReq id=0x65 <asyncmap 0xa0000>
<magic 0x78777d07> <pcomp> <accomp>]
Sep 12 09:48:35 jcmain pppd[1288]: sent [LCP ConfReq id=0x2 <asyncmap 0x0>
<magic 0x495c676d> <pcomp> <accomp>]
Sep 12 09:48:35 jcmain pppd[1288]: sent [LCP ConfAck id=0x65 <asyncmap 0xa0000>
<magic 0x78777d07> <pcomp> <accomp>]
Sep 12 09:48:35 jcmain pppd[1288]: rcvd [LCP ConfAck id=0x2 <asyncmap 0x0>
<magic 0x495c676d> <pcomp> <accomp>]
Sep 12 09:48:35 jcmain pppd[1288]: sent [IPCP ConfReq id=0x2 <addr 0.0.0.0>
<compress VJ 0f 01>]
Sep 12 09:48:35 jcmain pppd[1288]: rcvd [IPCP ConfReq id=0x73 <compress VJ 0f
00> <addr 216.68.35.1>]
Sep 12 09:48:35 jcmain pppd[1288]: sent [IPCP ConfAck id=0x73 <compress VJ 0f
00> <addr 216.68.35.1>]
Sep 12 09:48:35 jcmain pppd[1288]: rcvd [IPCP ConfNak id=0x2 <addr
216.68.31.204>]
Sep 12 09:48:35 jcmain pppd[1288]: sent [IPCP ConfReq id=0x3 <addr
216.68.31.204> <compress VJ 0f 01>]
Sep 12 09:48:35 jcmain pppd[1288]: rcvd [IPCP ConfAck id=0x3 <addr
216.68.31.204> <compress VJ 0f 01>]
Sep 12 09:48:35 jcmain pppd[1288]: Script /etc/ppp/ip-up started; pid = 1289
Sep 12 09:48:36 jcmain pppd[1288]: Script /etc/ppp/ip-up finished (pid 1289),
status = 0x0

*************** message log ******************
Sep 12 09:47:26 jcmain diald[168]: Calling site 216.68.35.1 
Sep 12 09:47:27 jcmain chat[1274]: timeout set to 60 seconds
Sep 12 09:47:27 jcmain chat[1274]: abort on (ERROR)
Sep 12 09:47:27 jcmain chat[1274]: abort on (BUSY)
Sep 12 09:47:27 jcmain chat[1274]: abort on (NO CARRIER)
Sep 12 09:47:27 jcmain chat[1274]: abort on (NO DIALTONE)
Sep 12 09:47:27 jcmain chat[1274]: send (ATZ^M)
Sep 12 09:47:27 jcmain chat[1274]: send (AT&FH0^M)
Sep 12 09:47:27 jcmain chat[1274]: expect (OK)
Sep 12 09:47:27 jcmain chat[1274]: ATZ^M^M
Sep 12 09:47:27 jcmain chat[1274]: OK
Sep 12 09:47:27 jcmain chat[1274]:  -- got it 
Sep 12 09:47:27 jcmain chat[1274]: send (atdt<MyISPsPhoneNumber>^M)
Sep 12 09:47:27 jcmain chat[1274]: timeout set to 120 seconds
Sep 12 09:47:27 jcmain chat[1274]: expect (CONNECT)
Sep 12 09:47:27 jcmain chat[1274]: ^M
Sep 12 09:47:48 jcmain chat[1274]: atdt<MyISPsPhoneNumber>^M^M
Sep 12 09:47:48 jcmain chat[1274]: CONNECT
Sep 12 09:47:48 jcmain chat[1274]:  -- got it 
Sep 12 09:47:48 jcmain chat[1274]: send (^M)
Sep 12 09:47:49 jcmain chat[1274]: expect (ogin)
Sep 12 09:47:49 jcmain chat[1274]:  38400^M
Sep 12 09:47:49 jcmain chat[1274]: ^M
Sep 12 09:47:49 jcmain chat[1274]: ^M
Sep 12 09:47:49 jcmain chat[1274]: User Access Verification^M
Sep 12 09:47:49 jcmain chat[1274]: ^M
Sep 12 09:47:49 jcmain chat[1274]: Login
Sep 12 09:47:49 jcmain chat[1274]:  -- got it 
Sep 12 09:47:49 jcmain chat[1274]: send (<MyUsername>^M)
Sep 12 09:47:49 jcmain chat[1274]: expect (assword)
Sep 12 09:47:49 jcmain chat[1274]: : <MyUsername>^M
Sep 12 09:47:49 jcmain chat[1274]: Password
Sep 12 09:47:49 jcmain chat[1274]:  -- got it 
Sep 12 09:47:49 jcmain chat[1274]: send (<MyPassword>^M)
Sep 12 09:47:49 jcmain chat[1274]: expect (PPP)
Sep 12 09:47:49 jcmain chat[1274]: : ^M
Sep 12 09:47:49 jcmain chat[1274]: ^M
Sep 12 09:47:49 jcmain chat[1274]: Entering PPP
Sep 12 09:47:49 jcmain chat[1274]:  -- got it 
Sep 12 09:47:49 jcmain chat[1274]: send (^M)
Sep 12 09:47:49 jcmain diald[168]: Connected to site 216.68.35.1 
Sep 12 09:47:49 jcmain diald[168]: Running pppd (pid = 1275).
Sep 12 09:47:49 jcmain pppd[1275]: pppd 2.3.7 started by root, uid 0
Sep 12 09:47:49 jcmain pppd[1275]: Using interface ppp0
Sep 12 09:47:49 jcmain pppd[1275]: Connect: ppp0 <--> /dev/ttyS1
Sep 12 09:47:55 jcmain pppd[1275]: Hangup (SIGHUP)
Sep 12 09:47:55 jcmain pppd[1275]: Modem hangup
Sep 12 09:47:55 jcmain pppd[1275]: Connection terminated.
Sep 12 09:47:55 jcmain pppd[1275]: Connect time 0.1 minutes.
Sep 12 09:47:55 jcmain pppd[1275]: Exit.
Sep 12 09:47:55 jcmain diald[168]: start sl0: SIOCSIFMETRIC: Operation not
supported on transport endpoint 
Sep 12 09:47:55 jcmain diald[168]: start sl0: SIOCADDRT: File exists 
Sep 12 09:47:55 jcmain diald[168]: start sl0: SIOCADDRT: File exists 
Sep 12 09:47:55 jcmain diald[168]: stop ppp0: SIOCDELRT: No such process 
Sep 12 09:47:55 jcmain diald[168]: start sl0: SIOCSIFMETRIC: Operation not
supported on transport endpoint 
Sep 12 09:47:55 jcmain diald[168]: start sl0: SIOCADDRT: File exists 
Sep 12 09:47:56 jcmain diald[168]: start sl0: SIOCADDRT: File exists 
Sep 12 09:47:57 jcmain diald[168]: Delaying 2 seconds before clear to dial.
*************
**** Worked
*************
Sep 12 09:48:00 jcmain diald[168]: Calling site 216.68.35.1 
Sep 12 09:48:01 jcmain chat[1285]: timeout set to 60 seconds
Sep 12 09:48:01 jcmain chat[1285]: abort on (ERROR)
Sep 12 09:48:01 jcmain chat[1285]: abort on (BUSY)
Sep 12 09:48:01 jcmain chat[1285]: abort on (NO CARRIER)
Sep 12 09:48:01 jcmain chat[1285]: abort on (NO DIALTONE)
Sep 12 09:48:01 jcmain chat[1285]: send (ATZ^M)
Sep 12 09:48:01 jcmain chat[1285]: send (AT&FH0^M)
Sep 12 09:48:01 jcmain chat[1285]: expect (OK)
Sep 12 09:48:01 jcmain chat[1285]: ATZ^M^M
Sep 12 09:48:01 jcmain chat[1285]: OK
Sep 12 09:48:01 jcmain chat[1285]:  -- got it 
Sep 12 09:48:01 jcmain chat[1285]: send (atdt<MyISPsPhoneNumber>^M)
Sep 12 09:48:01 jcmain chat[1285]: timeout set to 120 seconds
Sep 12 09:48:01 jcmain chat[1285]: expect (CONNECT)
Sep 12 09:48:01 jcmain chat[1285]: ^M
Sep 12 09:48:22 jcmain chat[1285]: atdt<MyISPsPhoneNumber>^M^M
Sep 12 09:48:22 jcmain chat[1285]: CONNECT
Sep 12 09:48:22 jcmain chat[1285]:  -- got it 
Sep 12 09:48:22 jcmain chat[1285]: send (^M)
Sep 12 09:48:22 jcmain chat[1285]: expect (ogin)
Sep 12 09:48:22 jcmain chat[1285]:  38400^M
Sep 12 09:48:23 jcmain chat[1285]: ^M
Sep 12 09:48:23 jcmain chat[1285]: ^M
Sep 12 09:48:23 jcmain chat[1285]: User Access Verification^M
Sep 12 09:48:23 jcmain chat[1285]: ^M
Sep 12 09:48:23 jcmain chat[1285]: Login
Sep 12 09:48:23 jcmain chat[1285]:  -- got it 
Sep 12 09:48:23 jcmain chat[1285]: send (<MyUsername>^M)
Sep 12 09:48:23 jcmain chat[1285]: expect (assword)
Sep 12 09:48:23 jcmain chat[1285]: : <MyUsername>^M
Sep 12 09:48:23 jcmain chat[1285]: Password
Sep 12 09:48:23 jcmain chat[1285]:  -- got it 
Sep 12 09:48:23 jcmain chat[1285]: send (<MyPassword>^M)
Sep 12 09:48:23 jcmain chat[1285]: expect (PPP)
Sep 12 09:48:23 jcmain chat[1285]: : ^M
Sep 12 09:48:23 jcmain chat[1285]: ^M
Sep 12 09:48:24 jcmain chat[1285]: Entering PPP
Sep 12 09:48:24 jcmain chat[1285]:  -- got it 
Sep 12 09:48:24 jcmain chat[1285]: send (^M)
Sep 12 09:48:24 jcmain diald[168]: Connected to site 216.68.35.1 
Sep 12 09:48:24 jcmain diald[168]: Running pppd (pid = 1288).
Sep 12 09:48:24 jcmain pppd[1288]: pppd 2.3.7 started by root, uid 0
Sep 12 09:48:24 jcmain pppd[1288]: Using interface ppp0
Sep 12 09:48:24 jcmain pppd[1288]: Connect: ppp0 <--> /dev/ttyS1
Sep 12 09:48:35 jcmain pppd[1288]: local  IP address 216.68.31.204
Sep 12 09:48:35 jcmain pppd[1288]: remote IP address 216.68.35.1
Sep 12 09:48:36 jcmain diald[168]: New addresses: local 216.68.31.204, remote
216.68.35.1, broadcast 0.0.0.0
Sep 12 09:48:36 jcmain diald[168]: start ppp0: SIOCSIFMETRIC: Operation not
supported on transport endpoint 


------------------------------

From: Sai Prasad Matam <[EMAIL PROTECTED]>
Subject: Re: A good Networking code overview ?
Date: Sun, 12 Sep 1999 08:45:36 -0700

Try this website.
http://anchor.cs.binghamton.edu/courses/cs628/Resources.html

You can find really good information in the Linux Documentation Project.




Arion Blishen wrote:

> Is there a good overview of the networking code in Linux ?
>
> Thanks very much.


------------------------------

From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: ppp and SUID
Date: 12 Sep 1999 16:37:44 GMT

In <[EMAIL PROTECTED]> Josh Gentry 
<[EMAIL PROTECTED]> writes:

>Does PPP have to run as SUID to root?  Makes me nervous.  

If you want to run it as a user yes it does. If youalways run it as
root, then no it does not.

>If it does have to, what are the best safeguards to prevent 
>someone from trying to take advantage?

The competence of the programmer of pppd.
You could also run it as root from an suid wrapper program, which sets
up a minimal environment for the system. Not sure that this is better.


------------------------------

From: [EMAIL PROTECTED] (Pete)
Crossposted-To: alt.os.linux,comp.os.linux.questions
Subject: Re: question about network card
Date: 12 Sep 1999 16:31:16 GMT

chuck ([EMAIL PROTECTED]) wrote:
: Greetings,

:       Have you tried telneting out using just the IP number of the host
: you want to connect to? From what you have shown it seems like your DNS
: isn't set correctly.

sorry, i should've mentioned -- dns is set up correctly.

but from the look of things, does it look like the ethernet card is set up
correctly?

pete

------------------------------

From: Bernd Eckenfels <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: ifconfig question
Date: 12 Sep 1999 16:55:46 GMT

In comp.os.linux.networking Michael Starkie <[EMAIL PROTECTED]> wrote:
> What about domain name services? Right now I have two /etc/resolv.conf
> files one for the internet and the other for the private network (
> /etc/resolv.conf.default && /etc/resolv.conf.private ).  I manually copy the
> appropriate file to /etc/resolv.conf before connection establishment. How can

> I configure my DNS list to include all domain name servers in both networks
> if I am to use both networks simultaneously?

You can use a list in which u place both. But that wont work very well,
since it is random which nameserver is asked for which domain. You could do
3 things: 

a) use a configurable resolver... there is one around, but dont ask me
where, search for something like "selective resolver".
b) use your own forwarding name server and configure it as a secondary to
your internal zone.
c) if you are onlien only use the internal nameserver as long as this one
is forwarding requests to the internet.

Greetings
Bernd

------------------------------

From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: How Do I configure Linux so you can dial in
Date: 12 Sep 1999 16:09:21 GMT

In <[EMAIL PROTECTED]> Anonymous <[EMAIL PROTECTED]> writes:

]On Sat, 11 Sep 1999 02:31:18 GMT, [EMAIL PROTECTED] wrote:
]> I have RedHat6.0. and I have being trying to configure my Linux
]> so I could dial-in using moderm.  I am not even sure if that is
]> possible.  Can someone please help.

]Yes, it is possible.  Read the "man" page on "agetty".
And ater that, get and use mgetty. Alll the recommendations are to use 
mgetty for such purposes.

------------------------------


** 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
******************************

Reply via email to