Question relayd.conf
Hi, I am trying to use the relayd as proxy server and I have a question, i can use tables to make specific rules for particular group of clients? like squid acl!! Example: relayd.conf table example {192.168.0.2, 192.168.0.3} table example1 {192.168.0.3, 192.168.0.4} request header filter *sexy.com* from example request header filter *youtube.com* from example1 ?? regards, MuriloBSD -- MuriloBSD silc.dotbsd.org, dotbsd http://www.dotbsd.org/
Atheros 5424 - Acer Aspire One
Hi. I'm having trouble connecting to a wireless network. My card is an Atheros AR5424! I do not see the networks, much less connect. The dmesg can speak for me anymore. regards -- MuriloBSD silc.dotbsd.org, dotbsd http://www.dotbsd.org/ OpenBSD 4.6-current (GENERIC.MP) #1: Sat Sep 26 20:32:56 UTC 2009 r...@microbio.dotbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP RTC BIOS diagnostic error 80clock_battery cpu0: Intel(R) Atom(TM) CPU N270 @ 1.60GHz (GenuineIntel 686-class) 1.60 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,xTPR real mem = 2136002560 (2037MB) avail mem = 2061152256 (1965MB) RTC BIOS diagnostic error 80clock_battery mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 04/13/09, SMBIOS rev. 2.4 @ 0xe7f30 (31 entries) bios0: vendor Acer version V1.03 date 04/13/2009 bios0: Acer Aspire one acpi0 at bios0: rev 2 acpi0: tables DSDT FACP SSDT HPET APIC MCFG ASF! NSLI BOOT acpi0: wakeup devices UHC1(S3) UHC2(S3) UHC3(S3) UHC4(S3) ECHI(S3) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) AZAL(S0) MODM(S0) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 133MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Atom(TM) CPU N270 @ 1.60GHz (GenuineIntel 686-class) 1.60 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,xTPR ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 4 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (EXP1) acpiprt2 at acpi0: bus 2 (EXP2) acpiprt3 at acpi0: bus 3 (EXP3) acpiprt4 at acpi0: bus -1 (EXP4) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpipwrres0 at acpi0: FN00 acpitz0 at acpi0: critical temperature 100 degC acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: LID0 acpibtn2 at acpi0: SLPB acpibat0 at acpi0: BAT0 model GC86508SAT0 type Lion oem SANYO acpiac0 at acpi0: AC unit online acpivideo0 at acpi0: OVGA acpivout0 at acpivideo0: CRT1 acpivout1 at acpivideo0: DTV1 acpivout2 at acpivideo0: DFP1 acpivout3 at acpivideo0: LCD_ acpivout4 at acpivideo0: DTV2 acpivout5 at acpivideo0: DFP2 bios0: ROM list: 0xc/0xec00! 0xcf000/0x1000 cpu0: Enhanced SpeedStep 1597 MHz: speeds: 1600, 1333, 1066, 800 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82945GME Host rev 0x03 vga1 at pci0 dev 2 function 0 Intel 82945GME Video rev 0x03 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0x8000, size 0x1000 inteldrm0 at vga1: apic 4 int 16 (irq 11) drm0 at inteldrm0 Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 4 int 16 (irq 11) azalia0: codecs: Realtek ALC272 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 4 int 16 (irq 255) pci1 at ppb0 bus 1 ath0 at pci1 dev 0 function 0 Atheros AR5424 rev 0x01: apic 4 int 16 (irq 11) ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR5_ETSIC, address 00:24:2c:9a:1f:ff ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 4 int 17 (irq 255) pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 4 int 18 (irq 255) pci3 at ppb2 bus 3 alc0 at pci3 dev 0 function 0 Attansic Technology L2C rev 0xc0: apic 4 int 18 (irq 11), address 00:23:5a:dd:9b:7c atphy0 at alc0 phy 0: F1 10/100/1000 PHY, rev. 11 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 4 int 16 (irq 11) uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 4 int 17 (irq 11) uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 4 int 18 (irq 11) uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 4 int 19 (irq 11) ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 4 int 16 (irq 11) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2 pci4 at ppb3 bus 4 ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x02: PM disabled pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility pciide0: channel 0 disabled (no drives) pciide0: channel 1 ignored (disabled) ahci0 at pci0 dev 31 function 2 Intel 82801GBM AHCI rev 0x02: apic 4 int 17 (irq 11), AHCI 1.1 ahci0: PHY offline on port 2 scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: ATA, TOSHIBA MK1655GS, FG01 SCSI3 0/direct fixed sd0: 152627MB, 512 bytes/sec, 312581808 sec total ichiic0 at pci0 dev 31
Re: 3G not navigate
Stuart Thanks for responding, sorry for the delay, different zones =] I added the lines (vjcomp disable and deny vjcomp) in ppp.conf, however still the same problem. thanks for the detailed information in your post! everything important is there, with a good explanation of the problem, and it's collected in a single email. On 2009-05-22, Murilo da Silva Ijanc mur...@dotbsd.org wrote: Hello misc@, I am trying to use 3G technology in OpenBSD. Currently my problem is that I can not navigate, I modified the dns's, and exchanged some information from /etc/ppp/options, still not provided. Below some information that might help in solving the problem: /etc/ppp/options that file is used by pppd, not ppp. /etc/ppp/ppp.conf this is the right one for the program you're using. 4 packets transmitted, 4 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 494.942/593.611/679.708/70.161 ms lynx www.openbsd.org HTTP request sent; waiting for response. .. 10 min . 20 min this might be a problem with Van Jacobson header compression. some devices don't support it correctly, and the usual symptom is that ping/udp work but tcp fails. you can try adding this to ppp.conf: disable vjcomp deny vjcomp does that help? -- MuriloBSD silc.dotbsd.org, dotbsd http://www.dotbsd.org/
Re: 3G not navigate
Hi Fred, Hi Fred, It seems that nslookup is normal, see: # nslookup www.google.com Server: 208.67.222.222 Address: 208.67.222.222 # 53 Non-authoritative answer: Canonical name = www.google.com google.navigation.opendns.com. Name: google.navigation.opendns.com Address: 208.69.32.231 Name: google.navigation.opendns.com Address: 208.69.32.230 # nslookup www.openbsd.org Server: 208.67.222.222 Address: 208.67.222.222 # 53 Non-authoritative answer: Name: www.openbsd.org Address: 129.128.5.191 I had no opportunity to use pppd, I read the man or get information on google on setting up 3G in pppd. Thanks On 5/22/09, Murilo da Silva Ijanc mur...@dotbsd.org wrote: Stuart Thanks for responding, sorry for the delay, different zones =] I added the lines (vjcomp disable and deny vjcomp) in ppp.conf, however still the same problem. what happens when you do an nslookup(1) ? Have you tried pppd(8)? Does that give you a different result? Thanks Fred -- MuriloBSD silc.dotbsd.org, dotbsd http://www.dotbsd.org/
Re: 3G not navigate
I tried using pppd do not succeed, it returns me to the log: Murilo may 22 10:31:58 pppd [19228]: pppd 2.3.5 started by murilobsd, uid 0 Murilo may 22 10:32:01 pppd [19228]: Connect script failed May 22 10:32:03 Murilo pppd: Exit. My Settings: /etc/ppp/chat-claro ABORT BUSY ABORT 'NO CARRIER' ABORT ERROR REPORT CONNECT TIMEOUT 60 SAY Calling ... \n '' ATZ '' 'AT + COPS? '' AT_OPSYS = 3 '' 'AT + CSQ '' 'AT + CGDCONT = 1, ip, bandalarga.claro.com.br' '' ATD * 99 *** 1 # CONNECT \d\c /etc/ppp/pap-secrets # $ OpenBSD: pap-secrets, v 1.3 2002/06/09 06:15:15 todd Exp $ # Secrets for authentication using PAP # Client server secret IP addresses claro * pass /etc/ppp/peers/claro ttyU0 384000 idle 7200 lock debug crtscts modem noauth defaultroute ipcp-restart 10 ipcp-accept-local ipcp-accept-remote 0.0.0.0:10.64.64.64 noipdefault novj connect /usr/sbin/chat -v -f /etc/ppp/chat-claro # cu -l /dev/ttyU0 ATI Manufacturer: huawei Model: E156B Revision: 11.609.05.00.150 IMEI: 358642020845993 +GCAP: +CGSM,+DS,+ES OK ~ [EOT] # Hi Fred, It seems that nslookup is normal, see: # nslookup www.google.com Server: 208.67.222.222 Address: 208.67.222.222 # 53 Non-authoritative answer: Canonical name = www.google.com google.navigation.opendns.com. Name: google.navigation.opendns.com Address: 208.69.32.231 Name: google.navigation.opendns.com Address: 208.69.32.230 # nslookup www.openbsd.org Server: 208.67.222.222 Address: 208.67.222.222 # 53 Non-authoritative answer: Name: www.openbsd.org Address: 129.128.5.191 I had no opportunity to use pppd, I read the man or get information on google on setting up 3G in pppd. Thanks On 5/22/09, Murilo da Silva Ijanc mur...@dotbsd.org wrote: Stuart Thanks for responding, sorry for the delay, different zones =] I added the lines (vjcomp disable and deny vjcomp) in ppp.conf, however still the same problem. what happens when you do an nslookup(1) ? Have you tried pppd(8)? Does that give you a different result? Thanks Fred -- MuriloBSD silc.dotbsd.org, dotbsd http://www.dotbsd.org/ -- MuriloBSD silc.dotbsd.org, dotbsd http://www.dotbsd.org/
3G not navigate
Hello misc@, I am trying to use 3G technology in OpenBSD. Currently my problem is that I can not navigate, I modified the dns's, and exchanged some information from /etc/ppp/options, still not provided. Below some information that might help in solving the problem: uname: OpenBSD murilo.dotbsd.org 4.5 BUDA#8 i386 dmesg: OpenBSD 4.5-current (BUDA) #8: Fri May 8 14:49:24 UTC 2009 r...@murilo.dotbsd.org:/usr/src/sys/arch/i386/compile/BUDA cpu0: Intel(R) Core(TM) Duo CPU T2350 @ 1.86GHz (GenuineIntel 686-class) 1.87 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,EST,TM2,xTPR real mem = 1063284736 (1014MB) avail mem = 1019748352 (972MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 02/15/07, BIOS32 rev. 0 @ 0xfdc94, SMBIOS rev. 2.4 @ 0xdc010 (38 entries) bios0: vendor NEC COMPUTERS SAS version NOTE BIOS Version Q4A04 date 02/15/2007 bios0: NEC COMPUTERS SAS NEC VERSA M360 acpi0 at bios0: rev 0 acpi0: tables DSDT FACP APIC HPET MCFG SLIC APIC BOOT SSDT SSDT SSDT acpi0: wakeup devices LID0(S3) HDEF(S4) PXS1(S4) PXS2(S4) PXS3(S4) PXS4(S4) PXS5(S4) PXS6(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB7(S3) LANC(S4) MODM(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 133MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) Duo CPU T2350 @ 1.86GHz (GenuineIntel 686-class) 1.87 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,EST,TM2,xTPR ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEGP) acpiprt2 at acpi0: bus -1 (RP01) acpiprt3 at acpi0: bus -1 (RP02) acpiprt4 at acpi0: bus -1 (RP03) acpiprt5 at acpi0: bus -1 (RP04) acpiprt6 at acpi0: bus -1 (RP05) acpiprt7 at acpi0: bus -1 (RP06) acpiprt8 at acpi0: bus 2 (PCIB) acpiec0 at acpi0 acpicpu0 at acpi0 acpicpu1 at acpi0 acpitz0 at acpi0: critical temperature 100 degC acpibtn0 at acpi0: LID0 acpibtn1 at acpi0: PWRB acpibat0 at acpi0: BAT1 model EUP-K2-B-40 serial type NiMH oem NEC acpiac0 at acpi0: AC unit offline acpivideo at acpi0 not configured bios0: ROM list: 0xc/0xec00! 0xdc000/0x4000! 0xe/0x1c00! cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130e2c06000613 cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 800 MHz (1004 mV): speeds: 1867, 800 MHz pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03 vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xc000, size 0x1000 inteldrm0 at vga1: apic 1 int 16 (irq 10) drm0 at inteldrm0 Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 1 int 22 (irq 10) azalia0: codecs: Realtek ALC262, ATT/Lucent/0x3026, using Realtek ALC262 audio0 at azalia0 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 1 int 23 (irq 10) uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 1 int 19 (irq 10) uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 1 int 18 (irq 10) uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 1 int 16 (irq 10) ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 1 int 23 (irq 10) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb0 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2 pci1 at ppb0 bus 2 re0 at pci1 dev 0 function 0 Realtek 8169SC rev 0x10: RTL8169/8110SCd (0x1800), apic 1 int 19 (irq 10), address 00:1b:24:1f:d4:7d rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2 cbb0 at pci1 dev 7 function 0 Ricoh 5C476 CardBus rev 0xb4: apic 1 int 16 (irq 255) sdhc0 at pci1 dev 7 function 1 Ricoh 5C822 SD/MMC rev 0x18: apic 1 int 18 (irq 10) sdmmc0 at sdhc0 Ricoh 5C843 MMC rev 0x00 at pci1 dev 7 function 2 not configured Ricoh 5C592 Memory Stick rev 0x09 at pci1 dev 7 function 3 not configured Ricoh 5C852 xD rev 0x04 at pci1 dev 7 function 4 not configured cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x0, lattimer 0x20 pcmcia0 at cardslot0 ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x02: PM disabled pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: MATSHITA, UJ-850D, 1.10 ATAPI 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4,
Re: pppoe0 doesn't get ip address - how to reconnect ?
Hi Xavier, Look at this file: ppp.linkdown.sample it will be in /etc/ppp/ 2008/7/15 Xavier Millihs-Lacroix [EMAIL PROTECTED]: Sometimes when I boot a soekris box (net5501) - OpenBSD 4.3, I didn't get each times an ip address for the pppoe0 link. This is a problem as I can connect to this box only remotely. I didn't find on the documentation how to reconnect automatically if the link goes down. Any ideas ? Xavier. Here is my configuration : /etc/sysctl.conf file : net.inet.ip.forwarding=1 net.inet6.ip6.forwarding=1 /etc/rc.conf.local file : named_flags= # nameserver ntpd_flags= # timeserver dhcpd_flags= # DHCP server ftpproxy_flags= # ftp proxy server pf=YES pf_rules=/etc/pf.conf check_quotas=NO # desactivate quotas /etc/resolv.conf file : lookup file bind nameserver 127.0.0.1 */etc/hostname.pppoe0 file file :* inet 0.0.0.0 255.255.255.255 0.0.0.1 pppoedev vr0 \ authproto pap authname my_USER authkey my_PASSWORD up !/sbin/route add default 0.0.0.1 */etc/hostname.**vr0 file :* up * * */etc/hostname.**vr1 file :* inet 10.0.0.1 255.255.255.0 NONE I don't have /etc/mygate file. I don't have /var/named/named.boot file I use pf. -- - Murilo da Silva Ijanc' (MuriloBSD) SILC: silc.br.dotbsd.org Canal: dotbsd E-mail: [EMAIL PROTECTED] End.: http://murilo.dotbsd.org