Re: ppp.conf for ueagle and pppoa

2006-12-01 Thread Stefan Olsson
On Wed, 29 Nov 2006 11:46:00 +0100, Przemyslaw Nowaczyk
[EMAIL PROTECTED] said:
 On Wed, Nov 29, 2006 at 08:27:14AM +0100, Damien Bergamini wrote:
  You must recompile user ppp with ATM enabled:
  
  cd /usr/src/usr.sbin/ppp/ppp/
  vi Makefile
  remove line NOATM= /usr/include/netnatm required
  then run make  make install
  
  then ppp -dedicated adsl
  
  this is explained here:
  http://damien.bergamini.free.fr/ueagle/ppp.html
  (just skip the synchronizing the modem section
  which is outdated).
  
 
 hi,
 i'm also having some difficulties in making my sagem fast 800 e2t work,
 i'm running a generic kernel with ueagle and noatm enabled (dmesg below),
 recompiled ppp (as you mentioned above, since i'm using pppoa) and after
 booting the machine the modem doesn't synchronize.. running ppp
 -dedicated adsl
 in that state (ppp.conf from your page, with vpi and vci set to 0 35)
 shows:
 
 Warning: PPPoA:ueagle0:0.35: connect: Device not configured 
 Warning: deflink: Device (PPPoA:ueagle0:0.35) must begin with a '/', a
 '!' or contain at least one ':' 

I have now followed the FAQ 5.3.* sections and also Damien's guidelines
in 
the ppp.html as above. And it STILL comes back with: 
Warning: deflink: Device (PPPoA:ueagle0:0.35) must begin with a '/', a
'!' or contain at least one ':'

That message is contained in physical.c in the ppp-directory btw.
 
After having to add new file systems for /usr/src and /usr/obj, editing
and building a new GENERIC, re-compiling ppp etc etc - all first-time
experiences, I think I a will call it a day with this driver. While 
everything else in OpenBSD just works this driver seems to be the
opposite. And I am apparently not the only one having this problem.

Rgds




-- 
http://www.fastmail.fm - Does exactly what it says on the tin



Re: ppp.conf for ueagle and pppoa

2006-11-29 Thread Przemyslaw Nowaczyk
On Wed, Nov 29, 2006 at 08:27:14AM +0100, Damien Bergamini wrote:
 You must recompile user ppp with ATM enabled:
 
 cd /usr/src/usr.sbin/ppp/ppp/
 vi Makefile
 remove line NOATM= /usr/include/netnatm required
 then run make  make install
 
 then ppp -dedicated adsl
 
 this is explained here:
 http://damien.bergamini.free.fr/ueagle/ppp.html
 (just skip the synchronizing the modem section
 which is outdated).
 

hi,
i'm also having some difficulties in making my sagem fast 800 e2t work,
i'm running a generic kernel with ueagle and noatm enabled (dmesg below),
recompiled ppp (as you mentioned above, since i'm using pppoa) and after
booting the machine the modem doesn't synchronize.. running ppp -dedicated adsl
in that state (ppp.conf from your page, with vpi and vci set to 0 35) shows:

Warning: PPPoA:ueagle0:0.35: connect: Device not configured 
Warning: deflink: Device (PPPoA:ueagle0:0.35) must begin with a '/', a '!' or 
contain at least one ':' 
Warning: PPPoA:ueagle0:0.35: connect: Device not configured 
Warning: deflink: Device (PPPoA:ueagle0:0.35) must begin with a '/', a '!' or 
contain at least one ':' 

in 30sec. intervals (till i kill ppp), the power led on the modem is on, but
the other one (sync) is still off.. is there something that can be done to
make this modem work?

cheers,

my dmesg:
OpenBSD 4.0-current (UEAGLE) #0: Wed Nov 29 10:49:03 CET 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/UEAGLE
cpu0: Intel(R) Celeron(R) M processor 1.40GHz (GenuineIntel 686-class) 1.40 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF
real mem  = 526872576 (514524K)
avail mem = 472522752 (461448K)
using 4256 buffers containing 26468352 bytes (25848K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(e8) BIOS, date 08/21/06, BIOS32 rev. 0 @ 0xfd740, 
SMBIOS rev. 2.33 @ 0xe0010 (53 entries)
bios0: IBM 1834S5G
pcibios0 at bios0: rev 2.1 @ 0xfd6d0/0x930
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/256 (14 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc/0xd000! 0xcd000/0x1000 0xce000/0x1000 0xdc000/0x4000! 
0xe/0x1
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82852GM Hub-PCI rev 0x02
Intel 82852GM Memory rev 0x02 at pci0 dev 0 function 1 not configured
Intel 82852GM Configuration rev 0x02 at pci0 dev 0 function 3 not configured
vga1 at pci0 dev 2 function 0 Intel 82852GM AGP rev 0x02: aperture at 
0xe000, size 0x800
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Intel 82852GM AGP rev 0x02 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 11
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 11
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
ppb0 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x81
pci1 at ppb0 bus 2
cbb0 at pci1 dev 0 function 0 TI PCI1510 CardBus rev 0x00: irq 11
iwi0 at pci1 dev 2 function 0 Intel PRO/Wireless 2200BG rev 0x05: irq 11, 
address 00:12:f0:f1:25:08
fxp0 at pci1 dev 8 function 0 Intel PRO/100 VE rev 0x81, i82562: irq 11, 
address 00:0a:e4:37:7c:d8
inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0xb0
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x01
pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x01: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: HTS541040G9AT00
wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVDRAM GSA-4080N, 0X21 SCSI0 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
ichiic0 at pci0 dev 31 function 3 Intel 82801DB SMBus rev 0x01: irq 11
iic0 at ichiic0
auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x01: irq 11, ICH4 
AC97
ac97: codec id 0x41445374 (Analog Devices AD1981B)
ac97: codec 

Re: ppp.conf for ueagle and pppoa

2006-11-28 Thread Stefan Olsson
- Original Message - 
From: Damien Bergamini [EMAIL PROTECTED]

Sent: Tuesday, November 28, 2006 7:26 AM

The route command is only necessary for plain IPoA.
For PPPoA, ppp will create the route for you.
Just put:

   set device PPPoA:ueagle0:8.35

in your ppp.conf file.


That gives me:
/etc/ppp:4365$ sudo ppp adsl
Working in interactive mode
Warning: iface rm: ioctl(SIOCDIFADDR_IN6,
fe80:8::250:4ff:fe5d:1022/64): Can't assign requested address
Using interface: tun1
Command: adsl: set device PPPoA:ueagle0:8.35
Command: adsl: set authname [EMAIL PROTECTED]
Command: adsl: set authkey 
ppp ON saltkudde dial
Command: /dev/tty: dial
Warning: deflink: Device (PPPoA:ueagle0:8.35) must begin
with a '/', a '!' or contain at least one ':'


/etc/ppp:4366$ cat ppp.conf
default:
set log Phase Warning
add! default HISADDR
set ifaddr 0.0.0.1/0 0.0.0.2/0 255.255.255.0 0.0.0.0
set login

adsl:
set log local CCP Command DNS IPCP LCP TCP/IP Warning
set device PPPoA:ueagle0:8.35
set authname [EMAIL PROTECTED]
set authkey nytt95
# enable lqr
# enable dns
# disable ipv6cp
# set reconnect 10 100
---
/etc/ppp:4367$ dmesg 
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC

cpu0: Intel Pentium III (GenuineIntel 686-class) 702 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE

real mem  = 133722112 (130588K)
avail mem = 114577408 (111892K)
using 1657 buffers containing 6787072 bytes (6628K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(32) BIOS, date 05/19/00, BIOS32 rev. 0 @ 0xfd890, 
SMBIOS rev. 2.3 @ 0xebd60 (50 entries)

bios0: Dell Computer Corporation Inspiron 7500
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 100%
apm0: AC on, battery charge high, estimated 3:20 hours
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xfd890/0x770
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf50/144 (7 entries)
pcibios0: PCI Interrupt Router at 000:07:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc/0x1
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x03
ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Mobility 1 rev 0x64
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
cbb0 at pci0 dev 4 function 0 TI PCI1225 CardBus rev 0x01: irq 11
cbb1 at pci0 dev 4 function 1 TI PCI1225 CardBus rev 0x01: irq 11
pcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x02
pciide0 at pci0 dev 7 function 1 Intel 82371AB IDE rev 0x01: DMA, channel 
0 wired to compatibility, channel 1 wired to compatibility

wd0 at pciide0 channel 0 drive 0: IBM-DARA-218000
wd0: 16-sector PIO, LBA, 17301MB, 35433216 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
sd0 at scsibus0 targ 0 lun 0: MATSHITA, LS-120 SLIM3 00, F710 SCSI0 
0/direct removable

sd0: drive offline
atapiscsi1 at pciide0 channel 1 drive 1
scsibus1 at atapiscsi1: 2 targets
cd0 at scsibus1 targ 0 lun 0: TOSHIBA, DVD-ROM SD-C2402, 1009 SCSI0 
5/cdrom removable

sd0(pciide0:1:0): using PIO mode 0, DMA mode 1
cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 7 function 2 Intel 82371AB USB rev 0x01: irq 5
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
piixpm0 at pci0 dev 7 function 3 Intel 82371AB Power rev 0x02: SMI
iic0 at piixpm0
maestro0 at pci0 dev 8 function 0 ESS Maestro 2E rev 0x10: irq 5
ac97: codec id 0x83847609 (SigmaTel STAC9721/23)
ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio0 at maestro0
ATT/Lucent LTMODEM rev 0x01 at pci0 dev 16 function 0 not configured
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 3 device 0 cacheline 0x0, lattimer 0x20
pcmcia1 at cardslot1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
biomask ef6d netmask ef6d ttymask ffef
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
xl0 at cardbus0 dev 0 function 0 3Com Corporation, 3CCFE575BT, LAN Cardbus 
Card: 3Com 3c575B-TX Ethernet: irq 11, address 00:50:04:5d:10:22

tqphy0 at xl0 phy 0: 78Q2120 10/100 PHY, rev. 3
ueagle0 at uhub0 port 1
ueagle0: Analog Devices Eagle III, rev 

Re: ppp.conf for ueagle and pppoa

2006-11-27 Thread Damien Bergamini
Hi,

The route command is only necessary for plain IPoA.
For PPPoA, ppp will create the route for you.
Just put:

set device PPPoA:ueagle0:8.35

in your ppp.conf file.

And make sure to copy the firmware files (which are not
freely redistributable) in your /etc/firmware/ directory.
You can find them here:
http://damien.bergamini.free.fr/ueaglefw/

Damien


| Hello,
| 
| I've got my Sagem 800 to be recognized properly by
| uncommenting the ueagle* and NATM lines and rebuild
| the kernel, but the man-pages for ueagle and ppp.conf are
| kind of confusing. -In the ueagle(4) it says to use route
| to create a PVC, but I don't understand how to use this
| information in the ppp.conf. The bergamini-pages only
| confuses the matter even more:
| http://damien.bergamini.free.fr/ueagle/ppp.html
| 
| -Could some just tell me what to put in set device for a ppoa connection 
| (vc, vpi=8, vci=35) in a ppp.conf, and what else I need to do to get it to 
| work?
| 
| Thx