hi, i have some routing problems after starting a pptp connection via wlan, here is what i did:
# pfctl -d pf disabled # dhclient wi0 DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 18 DHCPOFFER from 172.16.3.254 DHCPREQUEST on wi0 to 255.255.255.255 port 67 DHCPACK from 172.16.3.254 bound to 172.16.3.89 -- renewal in 300 seconds. # ifconfig ppp0 up # pptp vpn.wlan.rz.xxx.de name [EMAIL PROTECTED] with the following options: # cat /etc/ppp/options: lock noauth mru 1500 mtu 1500 noccp noipx nomagic novj nobsdcomp nodeflate debug local passive nodetach noipdefault the connection seems to be established - from log: Jun 8 17:10:02 karbon pptp[28513]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:580]: Client connection established. Jun 8 17:10:03 karbon pptp[28513]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:708]: Outgoing call established (call ID 0, peer's call ID 1528). Jun 8 17:10:03 karbon pppd[26609]: pppd 2.3.5 started by yogi, uid 0 Jun 8 17:10:03 karbon pppd[26609]: Connect: ppp0 <--> /dev/ttyp3 Jun 8 17:10:09 karbon pppd[26609]: Unsupported protocol (0x80fd) received Jun 8 17:10:12 karbon pppd[26609]: Couldn't set interface address: Address xxx.xxx.xxx.xxx already exists Jun 8 17:10:12 karbon pppd[26609]: local IP address xxx.xxx.xxx.xxx Jun 8 17:10:12 karbon pppd[26609]: remote IP address 172.16.3.253 # ifconfig -a lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33224 inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 sis0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 address: 00:fe:e1:ba:d0:a7 media: Ethernet autoselect (none) status: no carrier pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33224 pfsync0: flags=0<> mtu 2020 enc0: flags=0<> mtu 1536 wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 address: 00:20:e0:d0:43:61 ieee80211: nwid "XXX" media: IEEE802.11 autoselect status: active inet6 fe80::220:e0ff:fed0:4361%wi0 prefixlen 64 scopeid 0x6 inet 172.16.3.89 netmask 0xfffffe00 broadcast 172.16.3.255 ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500 i think this means, point to point connections is established but route is not set correctly: # route show Routing tables Internet: Destination Gateway Flags Refs Use Mtu Interface default gw.wlan.rz.uni-pot UGS 0 2 - wi0 loopback localhost UGRS 0 0 33224 lo0 localhost localhost UH 0 2 33224 lo0 172.16.2/23 link#6 UC 0 0 - wi0 172.16.3.89 localhost UGHS 0 0 33224 lo0 vpn.wlan.rz.xxxxxx 00:03:a0:88:47:d0 UHLc 0 43 - wi0 gw.wlan.rz.xxxxxxx 00:03:fd:fa:10:38 UHLc 0 0 - wi0 BASE-ADDRESS.MCAST localhost URS 0 0 33224 lo0 ... # ping google.com PING google.com (216.239.57.99): 56 data bytes --- google.com ping statistics --- 4 packets transmitted, 0 packets received, 100.0% packet loss defaultroute goes via wi0 not via the created tunnel at ppp0. there was an error in log above on setting ppp0 interface address, so i try to set ppp0 by hand: # ifconfig ppp0 xxx.xxx.xxx.xxx 172.16.3.253 ifconfig: SIOCAIFADDR: File exists :( why is the tunnel not set correctly? under linux i would say: route add default ppp0 under openbsd i tried: # route add 0/0 -interface ppp0 route: ppp0: bad address :( any ideas? i run obsd 3.7 stable. i think ppp has a problem on binding to my internal prism usb-wlan - right? greets umaxx dmesg output: OpenBSD 3.7 (GENERIC) #2: Wed May 11 20:05:35 CEST 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Mobile Intel(R) Pentium(R) III CPU - M 933MHz ("GenuineIntel" 686-class) 930 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real mem = 335106048 (327252K) avail mem = 298508288 (291512K) using 4116 buffers containing 16859136 bytes (16464K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(a3) BIOS, date 01/30/03, BIOS32 rev. 0 @ 0xf1090 apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 0% apm0: AC off, battery charge unknown, estimated 0:00 hours pcibios0 at bios0: rev 2.1 @ 0xf0000/0x16f2 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf1680/112 (5 entries) pcibios0: PCI Interrupt Router at 000:01:0 ("SIS 85C503 System" rev 0x00) pcibios0: PCI bus #3 is the last bus bios0: ROM list: 0xc0000/0xc000 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "SIS 630 PCI" rev 0x31 pciide0 at pci0 dev 0 function 1 "SIS 5513 EIDE" rev 0xd0: 630S: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: <IC25N040ATCS04-0> wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 ignored (disabled) pcib0 at pci0 dev 1 function 0 "SIS 85C503 System" rev 0x00 sis0 at pci0 dev 1 function 1 "SIS 900 10/100BaseTX" rev 0x82: irq 5, address 05:26:02:50:80:00 icsphy0 at sis0 phy 0: ICS1893 10/100 PHY, rev. 1 autri0 at pci0 dev 1 function 4 "SIS 7018 Audio" rev 0x02: irq 7 ac97: codec id 0x41445360 (Analog Devices AD1885) ac97: codec features headphone, Analog Devices Phat Stereo audio0 at autri0 midi0 at autri0: <4DWAVE MIDI UART> "SIS 7013 Modem" rev 0xa0 at pci0 dev 1 function 6 not configured ppb0 at pci0 dev 2 function 0 "SIS 86C201 AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "SIS 6300" rev 0x31: aperture at 0xd8000000, size 0x400000 wsdisplay0 at vga1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) cbb0 at pci0 dev 9 function 0 "Ricoh 5C476 CardBus" rev 0x88: irq 11 cbb1 at pci0 dev 9 function 1 "Ricoh 5C476 CardBus" rev 0x88: irq 11 vendor "Ricoh", unknown product 0x0576 (class system subclass miscellaneous, rev 0x00) at pci0 dev 9 function 2 not configured "Texas Instruments TSB43AB21 FireWire" rev 0x00 at pci0 dev 10 function 0 not configured ohci0 at pci0 dev 15 function 0 "NEC USB" rev 0x43: irq 11, version 1.0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ohci1 at pci0 dev 15 function 1 "NEC USB" rev 0x43: irq 7, version 1.0, legacy support usb1 at ohci1: USB revision 1.0 uhub1 at usb1 uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 1 port with 1 removable, self powered ehci0 at pci0 dev 15 function 2 "NEC USB" rev 0x04: irq 5 ehci0: EHCI version 1.0 ehci0: companion controllers, 2 ports each: ohci0 ohci1 usb2 at ehci0: USB revision 2.0 uhub2 at usb2 uhub2: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: single transaction translator uhub2: 3 ports with 3 removable, self powered 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 (mux 1 ignored for console): 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 midi1 at pcppi0: <PC speaker> sysbeep0 at pcppi0 npx0 at isa0 port 0xf0/16: using exception 16 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 biomask effd netmask effd ttymask ffff pctr: 686-class user-level performance counters enabled mtrr: Pentium Pro MTRR support dkcsum: wd0 matched BIOS disk 80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 wi0 at uhub0 port 2 wi0: JVC MP-XP7250 Builtin WLAN, rev 1.10/1.32, addr 2 wi0: PRISM3 (USB), Firmware 1.1.2 (primary), 1.5.6 (station), address 00:20:e0:d0:43:61 WARNING: /home was not properly unmounted