Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 1998 16:27:52 -0700
From:      Richard Furda <rfurda@wgss.net>
To:        Doug White <dwhite@resnet.uoregon.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: pppd
Message-ID:  <3.0.5.32.19980413162752.007a3590@wgss.net>
In-Reply-To: <Pine.BSF.3.96.980413151919.5663L-100000@gdi.uoregon.edu>
References:  <3.0.5.32.19980412174208.0079cd60@wgss.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Doug,

I though that was the problem. In my kernel config file I had:

pseudo-device   ppp             2
pseudo-device   tun              2

(because there was a plan to add another modem, didn't happen). 
On Wed Apr  8 09:54:52 PDT 1998 I recopiled the kernel with:

pseudo-device   ppp             1
pseudo-device   tun              1

and last night, the system kicked me off 2x in 5minutes. Before that, I was
fine for
42hrs. I am really confused... :-)

Help is greatly appriciated.

Rich


At 03:19 PM 4/13/98 -0700, you wrote:
>On Sun, 12 Apr 1998, Richard Furda wrote:
>
>> I am having problems with pppd. Can anyone tell me what is wrong ? And,
>> what do these logs mean ?
>
>Looks like pppd got lost and tried to use ioctl's on devices it doesn't
>own or not of the correct type.  Do you have plenty of ppp devices
>compiled into your kernel?
>
>> Apr 12 17:25:06 gator pppd[15233]: Modem hangup
>> Apr 12 17:25:06 gator pppd[15233]: Hangup (SIGHUP)
>> Apr 12 17:25:06 gator pppd[15233]: ioctl (PPPIOCGFLAGS): Inappropriate
>> ioctl for device
>> Apr 12 17:25:06 gator pppd[15233]: ioctl(PPPIOCSASYNCMAP): Inappropriate
>> ioctl for device
>> Apr 12 17:25:06 gator pppd[15233]: ioctl(TIOCSETD): Inappropriate ioctl for
>> device
>> Apr 12 17:25:06 gator pppd[15233]: Couldn't restore device fd flags:
>> Inappropriate ioctl for device
>> Apr 12 17:25:06 gator pppd[15233]: tcsetattr: Inappropriate ioctl for
device
>> 
>> Server:		Hayess Accura 28.8 internal		207.102.50.2 (wgss.net)
>> Client:		US Robotics 28.8 internal		207.102.50.10 (hmm.wgss.net)
>> 
>> /etc/ttys has:
>> ttyd0   "/usr/libexec/getty std.38400"          unknown on secure
>> 
>> I tried changing the speeds to 28 800, 57600 and 112500. Some made the
>> modem fail to pick up
>> and some had the same problem.
>> 
>> /etc/ppp/options.ttyd0 has:
>> 207.102.50.2:207.102.50.10
>> 
>> ifconfig -a
>> vx0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>>         inet 207.102.50.2 netmask 0xfffffff0 broadcast 207.102.50.15
>>         inet 207.102.50.17 netmask 0xfffffff0 broadcast 207.102.50.31
>>         inet 207.102.50.33 netmask 0xffffffe0 broadcast 207.102.50.63
>>         inet 207.102.50.65 netmask 0xffffffc0 broadcast 207.102.50.127
>>         inet 207.102.50.129 netmask 0xffffff80 broadcast 207.102.50.255
>>         ether 00:60:97:7f:92:f6 
>> tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
>> ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
>>         inet 207.102.50.2 --> 207.102.50.10 netmask 0xfffffff0 
>> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>>         inet 127.0.0.1 netmask 0xff000000 
>> 
>> dmesg says:
>> 
>> FreeBSD 2.2.6-STABLE #0: Wed Apr  8 09:54:52 PDT 1998
>>     riso@gator.wgss.net:/usr/src/sys/compile/gator
>> CPU: Pentium Pro (179.63-MHz 686-class CPU)
>>   Origin = "GenuineIntel"  Id = 0x619  Stepping=9
>>   Features=0xf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV>
>> real memory  = 134217728 (131072K bytes)
>> avail memory = 128696320 (125680K bytes)
>> Probing for devices on PCI bus 0:
>> chip0 <Intel 82440FX (Natoma) PCI and memory controller> rev 2 on pci0:0:0
>> chip1 <Intel 82371SB PCI-ISA bridge> rev 1 on pci0:1:0
>> chip2 <Intel 82371SB IDE interface> rev 0 on pci0:1:1
>> ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 0 int a irq 11 on pci0:10:0
>> ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
>> ahc0 waiting for scsi devices to settle
>> ahc0: target 0 Tagged Queuing Device
>> (ahc0:0:0): "MICROP 3391WS P419" type 0 fixed SCSI 2
>> sd0(ahc0:0:0): Direct-Access 8681MB (17780058 512 byte sectors)
>> (ahc0:1:0): "MATSHITA CD-ROM CR-506 8S05" type 5 removable SCSI 2
>> cd0(ahc0:1:0): CD-ROM cd present [1200816 x 512 byte records]
>> (ahc0:2:0): "ARCHIVE Python 02779-XXX 6100" type 1 removable SCSI 2
>> st0(ahc0:2:0): Sequential-Access density code 0x24, 512-byte blocks,
>> write-enabled
>> ahc0: target 3 Tagged Queuing Device
>> (ahc0:3:0): "SEAGATE ST19171W 0024" type 0 fixed SCSI 2
>> sd1(ahc0:3:0): Direct-Access 8683MB (17783112 512 byte sectors)
>> vx0 <3COM 3C905 Fast Etherlink XL PCI> rev 0 int a irq 10 on pci0:11:0
>> mii[*mii*] address 00:60:97:7f:92:f6
>> vga0 <VGA-compatible display device> rev 84 int a irq 9 on pci0:12:0
>> Probing for devices on the ISA bus:
>> sc0 at 0x60-0x6f irq 1 on motherboard
>> sc0: VGA color <16 virtual consoles, flags=0x0>
>> sio0 at 0x3f8-0x3ff irq 4 on isa
>> sio0: type 16550A
>> psm0 at 0x60-0x64 irq 12 on motherboard
>> psm0: model Generic PS/2 mouse, device ID 0
>> fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
>> fdc0: FIFO enabled, 8 bytes threshold
>> fd0: 1.44MB 3.5in
>> npx0 on motherboard
>> npx0: INT 16 interface
>> IP packet filtering initialized, divert enabled, logging limited to 1000
>> packets/entry
>> 
>> 
>> 
>> Thanks in advance,
>> 
>> Richard Furda
>> rfurda@wgss.net
>> 
>> 
>> 
>> 
>> 
>> To Unsubscribe: send mail to majordomo@FreeBSD.org
>> with "unsubscribe freebsd-questions" in the body of the message
>> 
>
>Doug White                              | University of Oregon  
>Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
>http://gladstone.uoregon.edu/~dwhite    | Computer Science Major
>
>
>
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.19980413162752.007a3590>