Re: [OT] Re: OpenBSD in the webcomic XKCD
Amarendra Godbole [EMAIL PROTECTED] writes: Never knew that non-dualboot=non-sissy folks carry around multiple machines with them. ;-) One possible theory is you need to be a non-sissy in order to be able to lug them around -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://bsdly.blogspot.com/ http://www.datadok.no/ http://www.nuug.no/ Remember to set the evil bit on all malicious network traffic delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
Ports Question
I have been compiling the ports and some of the ports fail flat. On checking the ftp.openbsd.org, I found the ports.tar.gz was created on Sep 1. Will there be a newer ports file, since a lot ports dont compile some because of missing files to be downloaded, Others just give error that kernel interface has changed and the downloaded source is not compilable against the 4.2 kernel. Manpreet
Unsupported Card reader on TOSHIBA Satellite P105
Hello misc, Now almost all works on my laptop -current! Great! Only one device which I can't use is Card reader (embeded into laptop). I see in dmesg output that it isn't supported :( maybe it's possible make it working ? TI PCIXX12 Multimedia Card Reader rev 0x00 at pci4 dev 4 function 2 not configured sdhc0 at pci4 dev 4 function 3 TI PCIXX12 Secure Data rev 0x00: irq 11 sdmmc0 at sdhc0 -- full dmesg output OpenBSD 4.2-current (GENERIC) #558: Tue Nov 20 10:36:15 MST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz (GenuineIntel 686-class) 1.68 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR real mem = 2137157632 (2038MB) avail mem = 2058678272 (1963MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 12/22/06, BIOS32 rev. 0 @ 0xfd4a0, SMBIOS rev. 2.4 @ 0xdf010 (30 entries) bios0: vendor TOSHIBA version V3.30 date 12/22/2006 bios0: TOSHIBA Satellite P105 pcibios0 at bios0: rev 2.1 @ 0xfd4a0/0xb60 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdd70/224 (12 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #11 is the last bus bios0: ROM list: 0xc/0xea00! 0xcf000/0x1800 0xdf000/0x1000! 0xe/0x1800! acpi0 at mainbus0: rev 2 acpi0: tables DSDT FACP APIC HPET MCFG APIC BOOT SLIC SSDT SSDT SSDT acpi0: wakeup devices HDEF(S3) LANE(S5) PXS2(S4) PXS3(S4) PXS4(S4) PXS5(S4) PXS6(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB7(S3) LANC(S5) CIR_(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (RP01) acpiprt2 at acpi0: bus 3 (RP02) acpiprt3 at acpi0: bus 4 (RP03) acpiprt4 at acpi0: bus -1 (RP04) acpiprt5 at acpi0: bus -1 (RP05) acpiprt6 at acpi0: bus -1 (RP06) acpiprt7 at acpi0: bus 10 (PCIB) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2 acpicpu1 at acpi0: C3, C2 acpitz0 at acpi0: critical temperature 104 degC acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT1 not present acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: PWRB cpu0 at mainbus0 cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130a2806000a28 cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 1667 MHz (1340 mV): speeds: 1667, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82945GM MCH rev 0x03 vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03: aperture at 0xc000, size 0x1000 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) 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: irq 11 azalia0: codec[s]: Conexant/0x5045 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02 pci1 at ppb0 bus 2 ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02 pci2 at ppb1 bus 3 ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02 pci3 at ppb2 bus 4 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: irq 7 uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: irq 11 uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: irq 11 uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: irq 11 ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: irq 7 ehci0: timed out waiting for BIOS 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 10 cbb0 at pci4 dev 4 function 0 TI PCIXX12 CardBus rev 0x00: irq 11 TI PCIXX12 FireWire rev 0x00 at pci4 dev 4 function 1 not configured TI PCIXX12 Multimedia Card Reader rev 0x00 at pci4 dev 4 function 2 not configured sdhc0 at pci4 dev 4 function 3 TI PCIXX12 Secure Data rev 0x00: irq 11 sdmmc0 at sdhc0 fxp0 at pci4 dev 8 function 0 Intel PRO/100 VM rev 0x02, i82562: irq 11, address 00:16:36:d1:9e:4e inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 11 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 2 Intel 82801GBM SATA rev 0x02: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: FUJITSU MHV2200BT PL wd0: 16-sector PIO, LBA48, 190782MB, 390721968 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: MATSHITA, DVD-RAM UJ-850S, 1.10 SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 ichiic0 at pci0 dev 31 function 3 Intel 82801GB SMBus rev 0x02: irq 11 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-4200CL5 SO-DIMM
Re: asterisk 1.2.22 package on OpenBSD 4.2 configuration problems
--- Anders Langworthy [EMAIL PROTECTED] wrote: Robert Gilaard wrote: Dear OpenBSD people, I'm a newbie on OpenBSD and have never asked help on this mailinglist. ... What I'm expecting is that I haven't installed all of asterisk. Can't seem to find the sounds directory anywhere. Is it that my installation is not complete? I've installed it from the package provided OpenBSD 4.2 and I just did a pkg_add asterisk. Any help is appreciated. Thanks in advanced. There is also a package asterisk-sounds. This contains all of the extra sound files etc. Install this with pkg_add this as well. I've run Asterisk 1.2.22 (using SIP) on OpenBSD 4.2 without any trouble. Install the above, then try to simplify your dialplan as much as possible (just one path with an Answer) and see what errors you get. Ooh thanks for that tip. I didn't notice those extra files on the ftp server I'm using, ftp://ftp.calyx.nl/pub/OpenBSD/4.2/packages/i386/ However, trying to do a pkg_add asterisk-sounds and a pkg_add asterisk-native-sounds-1.2p0 both give the following results: stat() on closed filehandle $out at /usr/libdata/perl5/OpenBSD/Ustar.pm line 550. syswrite() on closed filehandle $out at /usr/libdata/perl5/OpenBSD/Ustar.pm line 588. asterisk-native-sounds-1.2p0: completerisk/sounds/agent-alreadyon.ulaw: Bad file descriptor can't open /usr/local/share/asterisk/sounds/agent-alreadyon.ulaw: No such file or directory at /usr/libdata/perl5/OpenBSD/md5.pm line 27. What is wrong here? Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/
Offre n°354
Si ce message ne s'affiche pas correctement, vous pouvez le visualiser en suivant ce lien. [IMAGE] [IMAGE] [IMAGE] [IMAGE] [IMAGE] Pour fidiliser vos clients, pensez aussi aux cadeaux d'affaires ! UEPCO vous propose plus de 25000 rifirences de cadeaux d'entreprise en ligne, avec la possibiliti de dicouvrir certains cadeaux en vidio. Vos demandes de devis par Internet sont traities dans les meilleurs dilais par une iquipe de professionnels qui sauront vous apporter les meilleurs conseils en communication par l'objet. UEPCO., plus de 25 000 rifirences Union Europienne des Professionnels de la Communication par l'Objet Contactez-nous Pour ne plus recevoir nos informations, suivez le lien
Configuring sendmail openbsd 4.2
Hi, I'm configuring sendmail on openbsd 4.2. Trying to get sendmail to send all mail via my smart host. What do I edit since there is no / etc/mail/sendmail.mc and in /usr/share/sendmail/cf there are lots of configs. The docs look pretty major reading so I thought I'd just ask people that have done this before. So I'm trying to send all outgoing mail via my smart host on my network and not set this up as a smart host. thanks khalid
Re: Ports Question
On Nov 27, 2007 1:55 PM, Manpreet Nehra [EMAIL PROTECTED] wrote: I have been compiling the ports and some of the ports fail flat. On checking the ftp.openbsd.org, I found the ports.tar.gz was created on Sep 1. Will there be a newer ports file, since a lot ports dont compile some because of missing files to be downloaded, Others just give error that kernel interface has changed and the downloaded source is not compilable against the 4.2 kernel. [...] If you follow -current, then you need to update your src and ports tree, rebuild the kernel, and then try building the ports (with the updated source). If you follow -release, then the snapshot should work fine. These are mere guesses, as your email lacks information. Oh, and if you follow -current http://www.openbsd.org/faq/current.html is a good place to look. -Amarendra
Re: Configuring sendmail openbsd 4.2
Hi Khalid, [EMAIL PROTECTED] [07-11-27 10:04] (with possible deletions): I'm configuring sendmail on openbsd 4.2. Trying to get sendmail to send all mail via my smart host. What do I edit since there is no / etc/mail/sendmail.mc and in /usr/share/sendmail/cf there are lots of configs. just make use of the archive. Diana Eichert explained it step by step in June this year [1] cu, -holu [1] http://archives.neohapsis.com/archives/openbsd/2007-06/0198.html The docs look pretty major reading so I thought I'd just ask people that have done this before. So I'm trying to send all outgoing mail via my smart host on my network and not set this up as a smart host. thanks khalid
Re: adjusting the mtu with vr(4)
Sevan / Venture37 wrote: On Sunday 25 November 2007 00:00:45 Sevan / Venture37 wrote: Is the support for adjusting the mtu with VIA Rhine-II chipset based interfaces missing because of hardware limitations or because support for it hasn't been written yet?? # ifconfig vr0 mtu 1492 ifconfig: SIOCSIFMTU: Inappropriate ioctl for device Sevan / Venture37 Appears to me that via hands out specs on a nda case-by-case basis. Not sure why soekris decided to use those chips in the net-5501. Actually they use via rhine-III but they behave the same. If you're routing to dsl you can workaround in pf.conf by putting a line like scrub out on $ext_if max-mss 1452 in the normalization section. Regards, Dorian Hi Dorian I'm aware of that option from reading the pppoe(4) man page, but I'm not too keen on the side effects, hence why I was asking on the list about the interface as I wouldn't mind testing a snapshot which did support it. The system I'm going to be using is a jetway mini-itx board with a vr interface built onboard 3 re interfaces on a daughterboard, it'd be a shame to waste a gigabit interface for the pppoe connection. Use the suggested pf setting. It is the right way do handle it and there will be no ill side effects. Sevan / Venture37 _ 100s of Music vouchers to be won with MSN Music https://www.musicmashup.co.uk
Re: Hardware support IDE to USB adapter
2007/11/27, Theo de Raadt [EMAIL PROTECTED]: Buy a bad device? Why not give a shot at fixing it. It's not hard to learn. Anyone care to give some reference or links about where to begin learning to write/fix drivers or what not? -- Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
Re: Configuring sendmail openbsd 4.2
On 11/27/07, Khalid Schofield [EMAIL PROTECTED] wrote: I'm configuring sendmail on openbsd 4.2. Trying to get sendmail to send all mail via my smart host. What do I edit since there is no / etc/mail/sendmail.mc and in /usr/share/sendmail/cf there are lots of configs. The docs look pretty major reading so I thought I'd just ask people that have done this before. So I'm trying to send all outgoing mail via my smart host on my network and not set this up as a smart host. Nothing beats reading the docs. It's there for a reason, and you *have* to know what you are doing, because some day something goes wrong, and *you* will have to troubleshoot it. And in this very (possible trivial) moment it pays having read the docs at least *once* before, just to roughly know where you can find which information. --knitti
Re: adjusting the mtu with vr(4)
Use the suggested pf setting. It is the right way do handle it and there will be no ill side effects. Ok, so where does this statement from the pppoe(4) man page come in to play? Note that setting the MSS this way can have undesirable effects, such as reducing TCP/IP throughput, and interfering with the OS detection features of pf(4). Should I go back to reading the man pages because I've missed something?? Sevan / Venture37 _ 100s of Music vouchers to be won with MSN Music https://www.musicmashup.co.uk
Re: Configuring sendmail openbsd 4.2
On Nov 27, 2007 2:24 PM, Khalid Schofield [EMAIL PROTECTED] wrote: Hi, I'm configuring sendmail on openbsd 4.2. Trying to get sendmail to send all mail via my smart host. What do I edit since there is no / etc/mail/sendmail.mc and in /usr/share/sendmail/cf there are lots of configs. The docs look pretty major reading so I thought I'd just ask people that have done this before. You should read the docs at least *once*, just in case things go wrong... So I'm trying to send all outgoing mail via my smart host on my network and not set this up as a smart host. Aaron Hsu has a decent writeup on setting up sendmail on an OpenBSD box, here: http://www.sacrideo.us/Sacrificum_Deo/Stuff_files/sendmail_openbsd.txt If you wish to do SMTP AUTH, then this email will help you: http://archives.neohapsis.com/archives/openbsd/2007-10/1145.html -Amarendra
Re: adjusting the mtu with vr(4)
On 2007/11/27 09:44, Sevan / Venture37 wrote: Use the suggested pf setting. It is the right way do handle it and there will be no ill side effects. Ok, so where does this statement from the pppoe(4) man page come in to play? Note that setting the MSS this way can have undesirable effects, such as reducing TCP/IP throughput, and interfering with the OS detection features of pf(4). That's usually better than the alternative (i.e. going to all the machines behind the NAT and changing their MTU).
Re: adjusting the mtu with vr(4)
On Tue, Nov 27, 2007 at 04:22:23AM +, Sevan / Venture37 wrote: On Sunday 25 November 2007 00:00:45 Sevan / Venture37 wrote: Is the support for adjusting the mtu with VIA Rhine-II chipset based interfaces missing because of hardware limitations or because support for it hasn't been written yet?? # ifconfig vr0 mtu 1492 ifconfig: SIOCSIFMTU: Inappropriate ioctl for device Sevan / Venture37 Appears to me that via hands out specs on a nda case-by-case basis. Not sure why soekris decided to use those chips in the net-5501. Actually they use via rhine-III but they behave the same. If you're routing to dsl you can workaround in pf.conf by putting a line like scrub out on $ext_if max-mss 1452 in the normalization section. Regards, Dorian Hi Dorian I'm aware of that option from reading the pppoe(4) man page, but I'm not too keen on the side effects, hence why I was asking on the list about the interface as I wouldn't mind testing a snapshot which did support it. The system I'm going to be using is a jetway mini-itx board with a vr interface built onboard 3 re interfaces on a daughterboard, it'd be a shame to waste a gigabit interface for the pppoe connection. If you run pppoe over the vr(4) interface so why do you need to reduce the MTU of the interface. Do you like to break your network before it is working? -- :wq Claudio
Immobilier d'entreprise
Bonjour, Vous souhaitez acquirir, vendre, louer ou investir⦠Inscrivez gratuitement votre annonce sur le site didii exclusivement riservi ` lâimmobilier dâentreprise. Nâhisitez pas ` intigrer un descriptif, des photos et/ou une vidio permettant de mettre en valeur vos bureaux, entreptts, locaux commerciaux, commerces⦠Dans lâattente de votre visite, Veuillez agrier lâexpression de nos sinchres salutations IMMOBILIER D'ENTREPRISE www.immobilier-entreprise.fr Ne plus recevoir d'information de notre part, suivez le lien
Re: Best way to automate administration of multiple servers
On Wed, Nov 14, 2007 at 02:30:34PM +, Edd Barrett wrote: Hi, On 14/11/2007, Mikel Lindsaar [EMAIL PROTECTED] wrote: Hello all, I want to automate handling them as much as possible and would like some list suggestions on reading materials, software, or web howtos. The multixterm program that comes with expect is useful for ssh'ing to lots of machines and running the same commands on them all. Unfortunately vi has stopped working for me in multixterm. Might be something to do with the value of $TERM. multixterm is a bit strange, the started xterms inherit the settings from the xterm multixterm was started from, but the new xterms have default settings. So if you start it from a resized xterm, the new xterm will probably have the have wrong settings. -Otto
ipsec vpn netgear DG834 : openbsd 4.2 (new thread)
New thread .. after some new test.. And stiill the same ... shit ! Here is the LAn/WAn network 192.168.0/24(lan)--Netgear DG 834 (adsl + NAT + ipsec +ip fix A) | ---WEB--- | Openbsd 4.2 (ipsec.conf+isakmpd.policy+ip fix B+ NAT) -- 10.7.22.0/24(lan) Here are the conf : netgear : local lan : 192.168.0.0/24 remote lan : 10.7.22.0/24 IKE : direction : initiator respond mode : main diffie-Hellman : Groupe 2 (1024) local id : IP wan remote id: IP Params Crypto algo : 3DES Algo auth : SHA-1 pre shared key : 123456789 SA life time : 36000 Openbsd : ipsec.conf ike passive esp tunnel from IP_A to IP_B \ main auth hmac-sha1 enc 3des group modp1024 \ quick auth hmac-sha1 enc 3des psk 123456789 ike dynamic esp tunnel from 192.168.0.0/24 to 10.7.22.0/24 peer IP_A \ main auth hmac-sha1 enc 3des group modp1024 \ quick auth hmac-sha1 enc 3des psk 123456789 i have tried passive dynamic for ike esp .. it's the same isakmpd.policy KeyNote-Version: 2 Authorizer: POLICY pf.conf pass in on $ext_if1 proto udp from $IP_A to $IP_B port {500,4500} pass out on $ext_if1 proto udp from $IP_B to $IP_A port {500,4500} pass in on $IP_B proto esp from $IP_A to $IP_B pass out on $IP_B proto esp from $IP_B to $IP_A pass in on enc0 proto ipencap from $IP_A to $IP_B keep state (if-bound) pass out on enc0 proto ipencap from $IP_B to $IP_A keep state (if-bound) pass in on enc0 from 192.168.0.0/24 to 10.7.22.0/24 keep state (if-bound) pass out on enc0 from 10.7.22.0/24 to 192.168.0.0/24 keep state (if-bound) i have a rule for nat on $IP_B enc0 is up and running i start my vpn with isakmpd -dv -D 8=99 And Finally here is the Trouble , i got this on isakmpd console 151330.400513 Negt 30 message_negotiate_sa: transform 0 proto 1 proposal 0 ok 151330.400933 Negt 20 ike_phase_1_validate_prop: success 151330.401046 Negt 30 message_negotiate_sa: proposal 0 succeeded 151357.435134 Default transport_send_messages: giving up on exchange peer-IP_A, no response from peer IP_A:500 And this on the DG834 Fri, 2007-11-23 14:13:30 - [idle] initiating Main Mode Fri, 2007-11-23 14:13:40 - [idle] STATE_MAIN_I1: retransmission; will wait 20s for response Fri, 2007-11-23 14:14:00 - [idle] STATE_MAIN_I1: retransmission; will wait 40s for response Fri, 2007-11-23 14:14:40 - [idle] max number of retransmissions reached STATE_MAIN_I1. No acceptable response to our first IKE message and finally ( As wanted for those who try to help me .. thanks) echo p on /var/run/isakmpd.fif and tcpdump -r /var/run/isakmpd.pcap -vvn tcpdump: WARNING: snaplen raised from 96 to 65536 11:40:31.600710 IP_A.500 IP_B.500: [udp sum ok] isakmp v1.0 exchange ID_PROT cookie: cb79617a4b409a8f- msgid: len: 100 payload: SA len: 52 DOI: 1(IPSEC) situation: IDENTITY_ONLY payload: PROPOSAL len: 40 proposal: 0 proto: ISAKMP spisz: 0 xforms: 1 payload: TRANSFORM len: 32 transform: 0 ID: ISAKMP attribute LIFE_TYPE = SECONDS attribute LIFE_DURATION = 3600 attribute ENCRYPTION_ALGORITHM = 3DES_CBC attribute HASH_ALGORITHM = SHA attribute AUTHENTICATION_METHOD = PRE_SHARED attribute GROUP_DESCRIPTION = MODP_1024 payload: VENDOR len: 20 (supports DPD v1.0) [ttl 0] (id 1, len 128) 11:40:31.601712 IP_B.500 IP_A.500: [udp sum ok] isakmp v1.0 exchange ID_PROT cookie: cb79617a4b409a8f-76316a628a99ce2b msgid: len: 180 payload: SA len: 52 DOI: 1(IPSEC) situation: IDENTITY_ONLY payload: PROPOSAL len: 40 proposal: 0 proto: ISAKMP spisz: 0 xforms: 1 payload: TRANSFORM len: 32 transform: 0 ID: ISAKMP attribute LIFE_TYPE = SECONDS attribute LIFE_DURATION = 3600 attribute ENCRYPTION_ALGORITHM = 3DES_CBC attribute HASH_ALGORITHM = SHA attribute AUTHENTICATION_METHOD = PRE_SHARED attribute GROUP_DESCRIPTION = MODP_1024 payload: VENDOR len: 20 (supports OpenBSD-4.0) payload: VENDOR len: 20 (supports v2 NAT-T, draft-ietf-ipsec-nat-t-ike-02) payload: VENDOR len: 20 (supports v3 NAT-T, draft-ietf-ipsec-nat-t-ike-03) payload: VENDOR len: 20 (supports NAT-T, RFC 3947) payload: VENDOR len: 20 (supports DPD v1.0) [ttl 0] (id 1, len 208) And then nothing it is not related to my FAI i have tried with 2 different.. it is the same For me it is around pf.conf .. but i can't find where jc
Re: Ports Question
On 2007/11/27 13:55, Manpreet Nehra wrote: I have been compiling the ports and some of the ports fail flat. On checking the ftp.openbsd.org, I found the ports.tar.gz was created on Sep 1. Will there be a newer ports file ftp ls /pub/OpenBSD/snapshots/ports.tar.gz 227 Entering Passive Mode (129,128,5,191,169,249) 150 Have a Gorilla. -r--r--r--1 1114 1114 13733974 Nov 26 04:05 ports.tar.gz 226 There, everyone likes a Gorilla. ftp bye 221 Goodbye. since a lot ports dont compile some because of missing files to be downloaded, Others just give error that kernel interface has changed and the downloaded source is not compilable against the 4.2 kernel. http://www.openbsd.org/faq/faq15.html#NoFun
Re: adjusting the mtu with vr(4)
If you run pppoe over the vr(4) interface so why do you need to reduce the MTU of the interface. Do you like to break your network before it is working? Read the MTU/MSS issues of pppoe(4) _ Celeb spotting Play CelebMashup and win cool prizes https://www.celebmashup.com
Re: ipsec vpn netgear DG834 : openbsd 4.2 (new thread)
Hi, here my 50 cent: tcpdump looks good, obsd maschine receives first message of phase 1 exchange and sends a suitable response. your netgear log says, that no response to first message is received. this means, response from isakmpd gets lost, either in local pf or in netgear ( dont know if they have some sort packet filter ) or somewhere in between . you could distinguish there two possibilities by either tcpdump -lenvvi pflog0 # watch out for packets to if_A that are blocked or tcpdump -lenvvi external if ip host if_A ( you should see exactly one message in and one message out ) Once we know whether the packets really leave openBSD, we can do further analysis. -Urspr|ngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von jcr Gesendet: Dienstag, 27. November 2007 12:10 An: misc@openbsd.org Betreff: ipsec vpn netgear DG834 : openbsd 4.2 (new thread) New thread .. after some new test.. And stiill the same ... shit ! Here is the LAn/WAn network 192.168.0/24(lan)--Netgear DG 834 (adsl + NAT + ipsec +ip fix A) | ---WEB--- | Openbsd 4.2 (ipsec.conf+isakmpd.policy+ip fix B+ NAT) -- 10.7.22.0/24(lan) Here are the conf : netgear : local lan : 192.168.0.0/24 remote lan : 10.7.22.0/24 IKE : direction : initiator respond mode : main diffie-Hellman : Groupe 2 (1024) local id : IP wan remote id: IP Params Crypto algo : 3DES Algo auth : SHA-1 pre shared key : 123456789 SA life time : 36000 Openbsd : ipsec.conf ike passive esp tunnel from IP_A to IP_B \ main auth hmac-sha1 enc 3des group modp1024 \ quick auth hmac-sha1 enc 3des psk 123456789 ike dynamic esp tunnel from 192.168.0.0/24 to 10.7.22.0/24 peer IP_A \ main auth hmac-sha1 enc 3des group modp1024 \ quick auth hmac-sha1 enc 3des psk 123456789 i have tried passive dynamic for ike esp .. it's the same isakmpd.policy KeyNote-Version: 2 Authorizer: POLICY pf.conf pass in on $ext_if1 proto udp from $IP_A to $IP_B port {500,4500} pass out on $ext_if1 proto udp from $IP_B to $IP_A port {500,4500} pass in on $IP_B proto esp from $IP_A to $IP_B pass out on $IP_B proto esp from $IP_B to $IP_A pass in on enc0 proto ipencap from $IP_A to $IP_B keep state (if-bound) pass out on enc0 proto ipencap from $IP_B to $IP_A keep state (if-bound) pass in on enc0 from 192.168.0.0/24 to 10.7.22.0/24 keep state (if-bound) pass out on enc0 from 10.7.22.0/24 to 192.168.0.0/24 keep state (if-bound) i have a rule for nat on $IP_B enc0 is up and running i start my vpn with isakmpd -dv -D 8=99 And Finally here is the Trouble , i got this on isakmpd console 151330.400513 Negt 30 message_negotiate_sa: transform 0 proto 1 proposal 0 ok 151330.400933 Negt 20 ike_phase_1_validate_prop: success 151330.401046 Negt 30 message_negotiate_sa: proposal 0 succeeded 151357.435134 Default transport_send_messages: giving up on exchange peer-IP_A, no response from peer IP_A:500 And this on the DG834 Fri, 2007-11-23 14:13:30 - [idle] initiating Main Mode Fri, 2007-11-23 14:13:40 - [idle] STATE_MAIN_I1: retransmission; will wait 20s for response Fri, 2007-11-23 14:14:00 - [idle] STATE_MAIN_I1: retransmission; will wait 40s for response Fri, 2007-11-23 14:14:40 - [idle] max number of retransmissions reached STATE_MAIN_I1. No acceptable response to our first IKE message and finally ( As wanted for those who try to help me .. thanks) echo p on /var/run/isakmpd.fif and tcpdump -r /var/run/isakmpd.pcap -vvn tcpdump: WARNING: snaplen raised from 96 to 65536 11:40:31.600710 IP_A.500 IP_B.500: [udp sum ok] isakmp v1.0 exchange ID_PROT cookie: cb79617a4b409a8f- msgid: len: 100 payload: SA len: 52 DOI: 1(IPSEC) situation: IDENTITY_ONLY payload: PROPOSAL len: 40 proposal: 0 proto: ISAKMP spisz: 0 xforms: 1 payload: TRANSFORM len: 32 transform: 0 ID: ISAKMP attribute LIFE_TYPE = SECONDS attribute LIFE_DURATION = 3600 attribute ENCRYPTION_ALGORITHM = 3DES_CBC attribute HASH_ALGORITHM = SHA attribute AUTHENTICATION_METHOD = PRE_SHARED attribute GROUP_DESCRIPTION = MODP_1024 payload: VENDOR len: 20 (supports DPD v1.0) [ttl 0] (id 1, len 128) 11:40:31.601712 IP_B.500 IP_A.500: [udp sum ok] isakmp v1.0 exchange ID_PROT cookie: cb79617a4b409a8f-76316a628a99ce2b msgid: len: 180 payload: SA len: 52 DOI: 1(IPSEC) situation: IDENTITY_ONLY payload: PROPOSAL len: 40 proposal: 0 proto: ISAKMP spisz: 0 xforms: 1 payload: TRANSFORM len: 32
Re: ipsec vpn netgear DG834 : openbsd 4.2 (new thread)
I forgot to ask: what are the NAT statements in your pf.conf, that you mention. the ipsec packets should not be NAT'ed inyour configuration ( although ipsec can go through NAT in general ). -Urspr|ngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von jcr Gesendet: Dienstag, 27. November 2007 12:10 An: misc@openbsd.org Betreff: ipsec vpn netgear DG834 : openbsd 4.2 (new thread) New thread .. after some new test.. And stiill the same ... shit ! Here is the LAn/WAn network 192.168.0/24(lan)--Netgear DG 834 (adsl + NAT + ipsec +ip fix A) | ---WEB--- | Openbsd 4.2 (ipsec.conf+isakmpd.policy+ip fix B+ NAT) -- 10.7.22.0/24(lan) Here are the conf : netgear : local lan : 192.168.0.0/24 remote lan : 10.7.22.0/24 IKE : direction : initiator respond mode : main diffie-Hellman : Groupe 2 (1024) local id : IP wan remote id: IP Params Crypto algo : 3DES Algo auth : SHA-1 pre shared key : 123456789 SA life time : 36000 Openbsd : ipsec.conf ike passive esp tunnel from IP_A to IP_B \ main auth hmac-sha1 enc 3des group modp1024 \ quick auth hmac-sha1 enc 3des psk 123456789 ike dynamic esp tunnel from 192.168.0.0/24 to 10.7.22.0/24 peer IP_A \ main auth hmac-sha1 enc 3des group modp1024 \ quick auth hmac-sha1 enc 3des psk 123456789 i have tried passive dynamic for ike esp .. it's the same isakmpd.policy KeyNote-Version: 2 Authorizer: POLICY pf.conf pass in on $ext_if1 proto udp from $IP_A to $IP_B port {500,4500} pass out on $ext_if1 proto udp from $IP_B to $IP_A port {500,4500} pass in on $IP_B proto esp from $IP_A to $IP_B pass out on $IP_B proto esp from $IP_B to $IP_A pass in on enc0 proto ipencap from $IP_A to $IP_B keep state (if-bound) pass out on enc0 proto ipencap from $IP_B to $IP_A keep state (if-bound) pass in on enc0 from 192.168.0.0/24 to 10.7.22.0/24 keep state (if-bound) pass out on enc0 from 10.7.22.0/24 to 192.168.0.0/24 keep state (if-bound) i have a rule for nat on $IP_B enc0 is up and running i start my vpn with isakmpd -dv -D 8=99 And Finally here is the Trouble , i got this on isakmpd console 151330.400513 Negt 30 message_negotiate_sa: transform 0 proto 1 proposal 0 ok 151330.400933 Negt 20 ike_phase_1_validate_prop: success 151330.401046 Negt 30 message_negotiate_sa: proposal 0 succeeded 151357.435134 Default transport_send_messages: giving up on exchange peer-IP_A, no response from peer IP_A:500 And this on the DG834 Fri, 2007-11-23 14:13:30 - [idle] initiating Main Mode Fri, 2007-11-23 14:13:40 - [idle] STATE_MAIN_I1: retransmission; will wait 20s for response Fri, 2007-11-23 14:14:00 - [idle] STATE_MAIN_I1: retransmission; will wait 40s for response Fri, 2007-11-23 14:14:40 - [idle] max number of retransmissions reached STATE_MAIN_I1. No acceptable response to our first IKE message and finally ( As wanted for those who try to help me .. thanks) echo p on /var/run/isakmpd.fif and tcpdump -r /var/run/isakmpd.pcap -vvn tcpdump: WARNING: snaplen raised from 96 to 65536 11:40:31.600710 IP_A.500 IP_B.500: [udp sum ok] isakmp v1.0 exchange ID_PROT cookie: cb79617a4b409a8f- msgid: len: 100 payload: SA len: 52 DOI: 1(IPSEC) situation: IDENTITY_ONLY payload: PROPOSAL len: 40 proposal: 0 proto: ISAKMP spisz: 0 xforms: 1 payload: TRANSFORM len: 32 transform: 0 ID: ISAKMP attribute LIFE_TYPE = SECONDS attribute LIFE_DURATION = 3600 attribute ENCRYPTION_ALGORITHM = 3DES_CBC attribute HASH_ALGORITHM = SHA attribute AUTHENTICATION_METHOD = PRE_SHARED attribute GROUP_DESCRIPTION = MODP_1024 payload: VENDOR len: 20 (supports DPD v1.0) [ttl 0] (id 1, len 128) 11:40:31.601712 IP_B.500 IP_A.500: [udp sum ok] isakmp v1.0 exchange ID_PROT cookie: cb79617a4b409a8f-76316a628a99ce2b msgid: len: 180 payload: SA len: 52 DOI: 1(IPSEC) situation: IDENTITY_ONLY payload: PROPOSAL len: 40 proposal: 0 proto: ISAKMP spisz: 0 xforms: 1 payload: TRANSFORM len: 32 transform: 0 ID: ISAKMP attribute LIFE_TYPE = SECONDS attribute LIFE_DURATION = 3600 attribute ENCRYPTION_ALGORITHM = 3DES_CBC attribute HASH_ALGORITHM = SHA attribute AUTHENTICATION_METHOD = PRE_SHARED attribute GROUP_DESCRIPTION = MODP_1024 payload: VENDOR len: 20 (supports OpenBSD-4.0) payload: VENDOR len: 20 (supports
Re: Hardware support IDE to USB adapter
On Mon, 26 Nov 2007 17:11:06 +0100 Pieter Verberne [EMAIL PROTECTED] wrote: a few months ago I bought a Western Digital extern USB harddisk. It worked with OpenBSD for the first x minutes, but stoped working with an dmesg-error: Umass0 Phase Error, residue=0 I don't know if it has any relevance but (similar?) problems with Western Digital 'MyBook' usb drives has been reported on FreeBSD 6.1 (patched and solved?). http://www.freebsd.org/cgi/query-pr.cgi?pr=99419 - Ulf
usb problems with external drive (on current)
Hello, I'm using an external usb2 freecom toughdrive 250gb see: http://www.freecom.com/ecproduct_detail.asp?ID=3506CatID=8020sCatID=1146187ssCatID=1146191 The drive has no power supply! I have some strange results while working with current. When the drive is plugged into a running system, the drive is not attached. Here is the error output: Nov 27 13:17:48 amd64 /bsd: umass1 at uhub0 Nov 27 13:17:48 amd64 /bsd: port 4 configuration 1 interface 0 Freecom Freecom ToughDrivePro rev 2.00/0.00 addr 2 Nov 27 13:17:48 amd64 /bsd: umass1: using SCSI over Bulk-Only Nov 27 13:17:53 amd64 /bsd: umass1: Get Max Lun failed: TIMEOUT Nov 27 13:17:53 amd64 /bsd: umass1: unable to get Max Lun: TIMEOUT The drive only works when it is attached to the system while loading the openbsd kernel during a standard boot. (I hope I made myself clear, otherwise, here is the sequence: 1) connect the usb drive 2) reboot openbsd 3) now the drive is recognized and attached.) Detaching and reattaching the usb drive afterwards gives the same error results as mentionned previously. (I tried the same drive on the same hardware with windows xp installed and it worked without problems.) Thanks a lot! Didier Here is a dmesg with the drive attached while booting the os: OpenBSD 4.2-current (GENERIC.MP) #2: Tue Nov 27 09:58:52 CET 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 3201396736 (3053MB) avail mem = 3093200896 (2949MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe2d00 (38 entries) bios0: vendor Intel Corp. version CO96510J.86A.5975.2007.1010.1807 date 10/10/2007 bios0: PRIMINFO UNLOCK INSTALL acpi0 at mainbus0: rev 0 acpi0: tables DSDT FACP APIC WDDT MCFG ASF! SSDT SSDT SSDT SSDT SSDT TCPA acpi0: wakeup devices SLPB(S4) P32_(S4) UAR1(S4) UAR2(S4) ILAN(S4) PEGP(S4) PEX0(S4) PEX1(S4) PEX2(S4) PEX3(S4) PEX4(S4) PEX5(S4) UHC1(S3) UHC2(S3) UHC3(S3) UHC4(S3) EHCI(S3) EHC2(S3) UH42(S3) UHC5(S3) AZAL(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 CPU 6320 @ 1.86GHz, 1865.05 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG cpu0: 4MB 64b/line 16-way L2 cache cpu0: apic clock running at 266MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 CPU 6320 @ 1.86GHz, 1864.80 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG cpu1: 4MB 64b/line 16-way L2 cache ioapic0 at mainbus0 apid 2 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 7 (P32_) acpiprt2 at acpi0: bus 2 (PEX0) acpiprt3 at acpi0: bus 3 (PEX1) acpiprt4 at acpi0: bus 4 (PEX2) acpiprt5 at acpi0: bus 5 (PEX3) acpiprt6 at acpi0: bus 6 (PEX4) acpiprt7 at acpi0: bus -1 (PEX5) acpicpu0 at acpi0: FVS, 1862, 1596 MHz acpicpu1 at acpi0: FVS, 1862, 1596 MHz acpibtn0 at acpi0: SLPB pci0 at mainbus0 bus 0: configuration mode 1 pchb0 at pci0 dev 0 function 0 Intel 82Q963 Host rev 0x02 agp0 at pchb0: can't find internal VGA device config space ppb0 at pci0 dev 1 function 0 Intel 82Q963 PCIE rev 0x02: apic 2 int 16 (irq 255) pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 NVIDIA GeForce 7300 LE rev 0xa1 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) Intel 82Q963 HECI rev 0x02 at pci0 dev 3 function 0 not configured pciide0 at pci0 dev 3 function 2 Intel 82Q963 PT IDER rev 0x02: DMA (unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI pciide0: using apic 2 int 18 (irq 9) for native-PCI interrupt pciide0: channel 0 ignored (not responding; disabled or no drives?) pciide0: channel 1 ignored (not responding; disabled or no drives?) Intel 82Q963 KT rev 0x02 at pci0 dev 3 function 3 not configured em0 at pci0 dev 25 function 0 Intel ICH8 IGP AMT rev 0x02: apic 2 int 20 (irq 11), address 00:19:d1:69:cb:c1 uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x02: apic 2 int 16 (irq 11) uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x02: apic 2 int 21 (irq 9) ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x02: apic 2 int 18 (irq 9) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio rev 0x02: apic 2 int 22 (irq 10) azalia0: codec[s]: Sigmatel STAC7618 audio0 at azalia0 ppb1 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x02: apic 2 int 17 (irq 255) pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 1 Intel 82801H PCIE rev 0x02: apic 2 int 16 (irq 255) pci3 at ppb2 bus 3 pciide1 at pci3 dev 0 function 0 Marvell 88SE6101 IDE rev 0xb1: DMA (unsupported), channel 0
sk(4) vs em(4)
Hi all, I'm planning to build a FW based on OpenBSD 4.2 + Packet Filter. In PF lists people says that NICs based on sk(4) chipset has the best network performance. ?What about Intel NICs based on em(4) chipset? I'm talking about production environment in hosting company scenario, so the price/vendor it's not the first item. The main searched feature is the performance. -- Thanks, Jordi Espasa Clofent
Re: adjusting the mtu with vr(4)
On 2007/11/27 11:32, Sevan / Venture37 wrote: If you run pppoe over the vr(4) interface so why do you need to reduce the MTU of the interface. Do you like to break your network before it is working? Read the MTU/MSS issues of pppoe(4) You need to read it again, paying more careful attention to *which* interface has the changed MTU. Hint: not the one with pppoe(4) running over it. But, this is the wrong way to do things anyway, please just use scrub max-mss.
Re: adjusting the mtu with vr(4)
Date: Tue, 27 Nov 2007 13:00:38 + From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: misc@openbsd.org Subject: Re: adjusting the mtu with vr(4) On 2007/11/27 11:32, Sevan / Venture37 wrote: If you run pppoe over the vr(4) interface so why do you need to reduce the MTU of the interface. Do you like to break your network before it is working? Read the MTU/MSS issues of pppoe(4) You need to read it again, paying more careful attention to *which* interface has the changed MTU. Hint: not the one with pppoe(4) running over it. But, this is the wrong way to do things anyway, please just use scrub max-mss. http://marc.info/?l=openbsd-cvsm=119616724432197w=2 :) _ Get free emoticon packs and customisation from Windows Live. http://www.pimpmylive.co.uk
Re: Ports Question
--- Stuart Henderson [EMAIL PROTECTED] wrote: On 2007/11/27 13:55, Manpreet Nehra wrote: I have been compiling the ports and some of the ports fail flat. On checking the ftp.openbsd.org, I found the ports.tar.gz was created on Sep 1. Will there be a newer ports file ftp ls /pub/OpenBSD/snapshots/ports.tar.gz 227 Entering Passive Mode (129,128,5,191,169,249) 150 Have a Gorilla. -r--r--r--1 1114 1114 13733974 Nov 26 04:05 ports.tar.gz 226 There, everyone likes a Gorilla. ftp bye 221 Goodbye. Using a snapshot ports tree to use with RELEASE or STABLE is very unintuitive. Shouldn't we simply just replace the older ports tarball? since a lot ports dont compile some because of missing files to be downloaded, Others just give error that kernel interface has changed and the downloaded source is not compilable against the 4.2 kernel. http://www.openbsd.org/faq/faq15.html#NoFun I don't see how this faq applies to the OP. It refers to making sure your source and your ports tree are in sync. It doesn't mention using the snapshot ports tree. // juan Looking for a X-Mas gift? Everybody needs a Flickr Pro Account. http://www.flickr.com/gift/
sk0 not found on boot
Hello, When booting 4.2 I cannot see sk0 anymore. I could see it no problem under 4.0 with no customized settings. Do I need to force it somehow with pcibios? If so how can I set this? nfe0 still shows up fine. thanks. Moe OpenBSD 4.2 (PC-RAID) #0: Fri Nov 23 12:34:06 JST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/BLAZER-RAID cpu0: AMD Athlon(tm) XP 2600+ (AuthenticAMD 686-class, 512KB L2 cache) 1.93 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real mem = 804814848 (767MB) avail mem = 769695744 (734MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 02/04/04, BIOS32 rev. 0 @ 0xfb3e0, SMBIOS rev. 2.2 @ 0xf (48 entries) bios0: vendor Phoenix Technologies, LTD version ASUS A7N8X-E Deluxe ACPI BIOS Rev 1009 date 02/04/2004 bios0: ASUSTeK Computer INC. A7N8X-E apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 70102 dobusy 1 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf/0xdf84 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/224 (12 entries) pcibios0: PCI Exclusive IRQs: 5 9 10 11 12 pcibios0: no compatible PCI ICU found pcibios0: Warning, unable to fix up PCI interrupt routing pcibios0: PCI bus #3 is the last bus bios0: ROM list: 0xc/0x9400 0xcc000/0x4000! 0xd/0x1800 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 NVIDIA nForce2 PCI rev 0xc1 NVIDIA nForce2 rev 0xc1 at pci0 dev 0 function 1 not configured NVIDIA nForce2 rev 0xc1 at pci0 dev 0 function 2 not configured NVIDIA nForce2 rev 0xc1 at pci0 dev 0 function 3 not configured NVIDIA nForce2 rev 0xc1 at pci0 dev 0 function 4 not configured NVIDIA nForce2 rev 0xc1 at pci0 dev 0 function 5 not configured pcib0 at pci0 dev 1 function 0 NVIDIA nForce2 ISA rev 0xa4 nviic0 at pci0 dev 1 function 1 NVIDIA nForce2 SMBus rev 0xa2 iic0 at nviic0 iic1 at nviic0 asbtm0 at iic1 addr 0x2d ohci0 at pci0 dev 2 function 0 NVIDIA nForce2 USB rev 0xa4: irq 10, version 1.0, legacy support ohci1 at pci0 dev 2 function 1 NVIDIA nForce2 USB rev 0xa4: irq 11, version 1.0, legacy support ehci0 at pci0 dev 2 function 2 NVIDIA nForce2 USB rev 0xa4: irq 9 usb0 at ehci0: USB revision 2.0 uhub0 at usb0: NVIDIA EHCI root hub, rev 2.00/1.00, addr 1 nfe0 at pci0 dev 4 function 0 NVIDIA nForce2 LAN rev 0xa1: irq 11, address 00:0e:a6:90:5a:c4 rlphy0 at nfe0 phy 1: RTL8201L 10/100 PHY, rev. 1 NVIDIA nForce2 Audio rev 0xa2 at pci0 dev 5 function 0 not configured auich0 at pci0 dev 6 function 0 NVIDIA nForce2 AC97 rev 0xa1: irq 5, nForce2 AC97 ac97: codec id 0x414c4720 (Avance Logic ALC650) ac97: codec features 20 bit DAC, 18 bit ADC, Realtek 3D audio0 at auich0 ppb0 at pci0 dev 8 function 0 NVIDIA nForce2 PCI-PCI rev 0xa3 pci1 at ppb0 bus 1 pciide0 at pci0 dev 9 function 0 NVIDIA nForce2 IDE rev 0xa2: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: WDC WD400BB-00DEA0 wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectors wd1 at pciide0 channel 0 drive 1: WDC WD1200JB-00CRA1 wd1: 16-sector PIO, LBA, 114473MB, 234441648 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5 pciide0: channel 1 disabled (no drives) ppb1 at pci0 dev 30 function 0 NVIDIA nForce2 AGP rev 0xc1 pci2 at ppb1 bus 3 vga1 at pci2 dev 0 function 0 NVIDIA Riva TNT2 rev 0x15 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) 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 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: reported by CPUID; using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 usb1 at ohci0: USB revision 1.0 uhub1 at usb1: NVIDIA OHCI root hub, rev 1.00/1.00, addr 1 usb2 at ohci1: USB revision 1.0 uhub2 at usb2: NVIDIA OHCI root hub, rev 1.00/1.00, addr 1 biomask ff45 netmask ff45 ttymask ffc7 pctr: user-level cycle counter enabled mtrr: Pentium Pro MTRR support Kernelized RAIDframe activated dkcsum: wd0 matches BIOS drive 0x80 dkcsum: wd1 matches BIOS drive 0x81 root on wd0a swap on wd0b dump on wd0b
You have won Nokia Mobile Promo....
You Have Won Nokia Mobile Promo Of Five Hundred Thousand Pounds. Contact Rev Mary Sharon. E MAIL:[EMAIL PROTECTED] Tel:+447031919824 +447031909285
Re: Ports Question
On 2007/11/27 08:08, Juan Miscaro wrote: --- Stuart Henderson [EMAIL PROTECTED] wrote: On 2007/11/27 13:55, Manpreet Nehra wrote: I have been compiling the ports and some of the ports fail flat. On checking the ftp.openbsd.org, I found the ports.tar.gz was created on Sep 1. Will there be a newer ports file ftp ls /pub/OpenBSD/snapshots/ports.tar.gz 227 Entering Passive Mode (129,128,5,191,169,249) 150 Have a Gorilla. -r--r--r--1 1114 1114 13733974 Nov 26 04:05 ports.tar.gz 226 There, everyone likes a Gorilla. ftp bye 221 Goodbye. Using a snapshot ports tree to use with RELEASE or STABLE is very unintuitive. Shouldn't we simply just replace the older ports tarball? You don't use it with release or stable, you use it with a snapshot. http://www.openbsd.org/faq/faq15.html#NoFun I don't see how this faq applies to the OP. 15.4.1 - I'm getting all kinds of crazy errors. I just can't seem to get this ports stuff working at all. sounds about right to me.
Re: Ports Question
--- Stuart Henderson [EMAIL PROTECTED] wrote: On 2007/11/27 08:08, Juan Miscaro wrote: --- Stuart Henderson [EMAIL PROTECTED] wrote: On 2007/11/27 13:55, Manpreet Nehra wrote: I have been compiling the ports and some of the ports fail flat. On checking the ftp.openbsd.org, I found the ports.tar.gz was created on Sep 1. Will there be a newer ports file ftp ls /pub/OpenBSD/snapshots/ports.tar.gz 227 Entering Passive Mode (129,128,5,191,169,249) 150 Have a Gorilla. -r--r--r--1 1114 1114 13733974 Nov 26 04:05 ports.tar.gz 226 There, everyone likes a Gorilla. ftp bye 221 Goodbye. Using a snapshot ports tree to use with RELEASE or STABLE is very unintuitive. Shouldn't we simply just replace the older ports tarball? You don't use it with release or stable, you use it with a snapshot. Right, but is he using a snapshot? I don't think so. // juan Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca
Re: How to track down a suspected memory leak?
* Josh [EMAIL PROTECTED] [2007-11-26 21:57]: Henning Brauer wrote: Thanks David for this pointer. It may very well be the same issue. Even though the two bridged interfaces are em(4) (1 Gb/s), the Out-of-Band Management (OOBM) interface is fxp(4) that carries two VLANs, one for pfsync(4), and one for commandcontrol/monitoring. the leak had nothing to do with fxp. it's simply a generic memory leak in a state insertion error path that single firewalls tend to trigger seldom if at all, but pfsync regularily hits. Still, I will given Henning's patch a try, while waiting for results of the instrumentation with 'vmstat -m', as suggested by the previous responder. if you're running pfsync i make bets it is that. if you look at vmstat -m and pfstatekeypl has more objects in use than pfstatepl you know it is that. Yeah your patch thankfully does fix the problem. Just had another pair of 4.2 boxes fall over from the same bug this morning. Is it serious enough to put an errata note up? assuming no ill effects from the fix show up, yes, soon. -- Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED] BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting - Hamburg Amsterdam
Re: asterisk 1.2.22 package on OpenBSD 4.2 configuration problems
On 2007/11/26 23:39, Robert Gilaard wrote: --- Anders Langworthy [EMAIL PROTECTED] wrote: Robert Gilaard wrote: Dear OpenBSD people, I'm a newbie on OpenBSD and have never asked help on this mailinglist. ... What I'm expecting is that I haven't installed all of asterisk. Can't seem to find the sounds directory anywhere. Is it that my installation is not complete? I've installed it from the package provided OpenBSD 4.2 and I just did a pkg_add asterisk. Any help is appreciated. Thanks in advanced. There is also a package asterisk-sounds. This contains all of the extra sound files etc. Install this with pkg_add this as well. I've run Asterisk 1.2.22 (using SIP) on OpenBSD 4.2 without any trouble. Install the above, then try to simplify your dialplan as much as possible (just one path with an Answer) and see what errors you get. Ooh thanks for that tip. I didn't notice those extra files on the ftp server I'm using, ftp://ftp.calyx.nl/pub/OpenBSD/4.2/packages/i386/ However, trying to do a pkg_add asterisk-sounds and a pkg_add asterisk-native-sounds-1.2p0 both give the following results: stat() on closed filehandle $out at /usr/libdata/perl5/OpenBSD/Ustar.pm line 550. syswrite() on closed filehandle $out at /usr/libdata/perl5/OpenBSD/Ustar.pm line 588. asterisk-native-sounds-1.2p0: completerisk/sounds/agent-alreadyon.ulaw: Bad file descriptor can't open /usr/local/share/asterisk/sounds/agent-alreadyon.ulaw: No such file or directory at /usr/libdata/perl5/OpenBSD/md5.pm line 27. What is wrong here? That should work. Did you do anything unusual with /usr/local/share or /usr/local/share/asterisk?
Re: Ports Question
On 2007/11/27 08:53, Juan Miscaro wrote: --- Stuart Henderson [EMAIL PROTECTED] wrote: On 2007/11/27 08:08, Juan Miscaro wrote: --- Stuart Henderson [EMAIL PROTECTED] wrote: On 2007/11/27 13:55, Manpreet Nehra wrote: I have been compiling the ports and some of the ports fail flat. On checking the ftp.openbsd.org, I found the ports.tar.gz was created on Sep 1. Will there be a newer ports file ftp ls /pub/OpenBSD/snapshots/ports.tar.gz 227 Entering Passive Mode (129,128,5,191,169,249) 150 Have a Gorilla. -r--r--r--1 1114 1114 13733974 Nov 26 04:05 ports.tar.gz 226 There, everyone likes a Gorilla. ftp bye 221 Goodbye. Using a snapshot ports tree to use with RELEASE or STABLE is very unintuitive. Shouldn't we simply just replace the older ports tarball? You don't use it with release or stable, you use it with a snapshot. Right, but is he using a snapshot? I don't think so. In that case, 4.2 release ports.tar.gz, dated Sept 1 2007, is the right one.
Re: Annoying startx problem on 4.2/i386
On Nov 24, 2007 10:11 PM, Manuel Ravasio [EMAIL PROTECTED] wrote: check your DNS configuration. xauth(1) needs a working DNS to translates names to addresses and vice-versa. If it block, this blocks X startup. Hmmm... Maybe the first time the problem showed up the laptop was disconnected from the network, but I'm positive it showed more than once when the laptop was connected to my company's network. DNS addresses are configured via DHCP and I was able to connect to both company network and the internet once the X environment server was up, so I think DNS was not the problem. I'll double-check next time I'll fire the laptop up. Thank you anyway, bye, Also check for stale .Xauthority-? files in your home directory. These are locks created by xauth while it touches the mail .Xauthority file. If they didn't get removed for some reason, xauth will wait.
Re: howto restored rm-ed files/directory
On Nov 25, 2007 4:45 AM, [EMAIL PROTECTED] wrote: Insan Praja SW wrote: Hi Misc, I got an important directory in my 4.1 bsd and it's deleted using rm -rf :(. Anyone had experience restoring them? I really.. (I mean Really) need help on this one.. Thanks, Kind Regards, Insan depends how much trouble you want to go to and in what format your files were. there are companies who will charge 800-2000$ for recovery... for a DYI-er: stop using the box/filesystem use dd or something like that to get a bit-for-bit copy of the filesystem. the underlying data is probably still there, maybe not so accessible - something like this: dd if=/dev/rsd0f of=/var/tmp/dd_rsd0f bs=64k use strings(1) and then grep or less on this to see what readable stuff you can get out of it. txt files will emerge quite usable, but not necessarily in order. if you need complete unadulterated data then there are a few other things you could try, but basically you'll need to get down dirty with disk blocks. NB suggest using vsconfig to mount a copy of your dd file as a volume again, and then fsdb to see what you can recover. a+ scorch ports/sysutils/sleuthkit makes things a bit easer... although you still need to understand things about filesystems to use it efficiently.
Re: Configuring sendmail openbsd 4.2
Thanks for all the replies. In the end this document made great reading. http://www2.papamike.ca:8082/tutorials/pub/sendmail-m4.html On 27 Nov 2007, at 08:54, Khalid Schofield wrote: Hi, I'm configuring sendmail on openbsd 4.2. Trying to get sendmail to send all mail via my smart host. What do I edit since there is no / etc/mail/sendmail.mc and in /usr/share/sendmail/cf there are lots of configs. The docs look pretty major reading so I thought I'd just ask people that have done this before. So I'm trying to send all outgoing mail via my smart host on my network and not set this up as a smart host. thanks khalid
Re: howto restored rm-ed files/directory
Insan Praja SW [EMAIL PROTECTED] writes: Hi Misc, I got an important directory in my 4.1 bsd and it's deleted using rm -rf :(. Anyone had experience restoring them? I really.. (I mean Really) need help on this one.. Forget it. We zero block before they are marked as free in the filesystem, so by the time you've finished writing this mail, your blocks were zeroed. You can pay a few bazillions to Ibas and they might attempt to save your data, but it's more likely they'll just laugh at you. And it's probably cheaper to recreate the data from scratch anyway. //art Thanks, Kind Regards, Insan -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Re: Ports Question
i am using the 4.2 release and that's why wondering if the ports tree is a little outdated, since alot of stuff has changed over from september 1 to Novemeber 1 when 4.2 actually released. Arent the release base and ports in sync? On Nov 27, 2007 7:59 PM, Stuart Henderson [EMAIL PROTECTED] wrote: On 2007/11/27 08:53, Juan Miscaro wrote: --- Stuart Henderson [EMAIL PROTECTED] wrote: On 2007/11/27 08:08, Juan Miscaro wrote: --- Stuart Henderson [EMAIL PROTECTED] wrote: On 2007/11/27 13:55, Manpreet Nehra wrote: I have been compiling the ports and some of the ports fail flat. On checking the ftp.openbsd.org, I found the ports.tar.gz was created on Sep 1. Will there be a newer ports file ftp ls /pub/OpenBSD/snapshots/ports.tar.gz 227 Entering Passive Mode (129,128,5,191,169,249) 150 Have a Gorilla. -r--r--r--1 1114 1114 13733974 Nov 26 04:05 ports.tar.gz 226 There, everyone likes a Gorilla. ftp bye 221 Goodbye. Using a snapshot ports tree to use with RELEASE or STABLE is very unintuitive. Shouldn't we simply just replace the older ports tarball? You don't use it with release or stable, you use it with a snapshot. Right, but is he using a snapshot? I don't think so. In that case, 4.2 release ports.tar.gz, dated Sept 1 2007, is the right one.
Re: Ports Question
--- Ted Unangst [EMAIL PROTECTED] wrote: On 11/27/07, Manpreet Nehra [EMAIL PROTECTED] wrote: i am using the 4.2 release and that's why wondering if the ports tree is a little outdated, since alot of stuff has changed over from september 1 to Novemeber 1 when 4.2 actually released. Arent the release base and ports in sync? it's not possible to build thousands of packages and burn cdroms and then ship them so that they arrive before the release date if we start on the release date. I think he's talking about having the ports tree updated online. // juan Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/
Re: Ports Question
On 11/27/07, Manpreet Nehra [EMAIL PROTECTED] wrote: i am using the 4.2 release and that's why wondering if the ports tree is a little outdated, since alot of stuff has changed over from september 1 to Novemeber 1 when 4.2 actually released. Arent the release base and ports in sync? it's not possible to build thousands of packages and burn cdroms and then ship them so that they arrive before the release date if we start on the release date.
Re: Ports Question
On Nov 27, 2007 9:56 PM, Manpreet Nehra [EMAIL PROTECTED] wrote: i am using the 4.2 release and that's why wondering if the ports tree is a little outdated, since alot of stuff has changed over from september 1 to Novemeber 1 when 4.2 actually released. Arent the release base and ports in sync? [...] Actually not. It is the correct ports tree you are looking at. Though 4.2 officially released on 01/Nov/2007, the src was tagged earlier, and on 01/Nov, developers' were working on -current. -Amarendra
Re: howto restored rm-ed files/directory
Artur Grabowski [EMAIL PROTECTED] writes: Insan Praja SW [EMAIL PROTECTED] writes: Hi Misc, I got an important directory in my 4.1 bsd and it's deleted using rm -rf :(. Anyone had experience restoring them? I really.. (I mean Really) need help on this one.. Forget it. We zero block before they are marked as free in the filesystem, so by the time you've finished writing this mail, your blocks were zeroed. I was wrong here. I thought we did, but we don't. So your files might still be there. //art You can pay a few bazillions to Ibas and they might attempt to save your data, but it's more likely they'll just laugh at you. And it's probably cheaper to recreate the data from scratch anyway. //art Thanks, Kind Regards, Insan -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Re: howto restored rm-ed files/directory
On Wed, 28 Nov 2007 00:50:48 +0700, Jeff Quast [EMAIL PROTECTED] wrote: On Sun, Nov 25, 2007 at 03:25:27AM +0700, Insan Praja SW wrote: Hi Misc, I got an important directory in my 4.1 bsd and it's deleted using rm -rf :(. Anyone had experience restoring them? I really.. (I mean Really) need help on this one.. Thanks, Kind Regards, Insan i've recovered rm'd C code using hexedit open the disk block device, and used the built-in search, select, copy, and paste into new file features to recover it. You have to know some keywords of what you are looking for, like a function name, etc. good idea to leave that partition unmounted/read-only until the data is recovered Well.. I got icat from sleuthkit.. right now I'm lookin' for hdd to back them up.. I will update this soon.. Thanks, Insan -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Re: sk(4) vs em(4)
* Jordi Espasa Clofent [EMAIL PROTECTED] [2007-11-27 13:54]: Hi all, I'm planning to build a FW based on OpenBSD 4.2 + Packet Filter. In PF lists people says that NICs based on sk(4) chipset has the best network performance. ?What about Intel NICs based on em(4) chipset? em is fine too -- Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED] BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting - Hamburg Amsterdam
mc problem under 4.2
Hello I have a strange problem with mc (MidnightCommander). After install OpenBSD 4.2 mc doesn't work properly. When i type: mc I have to wait 5 min to see the Midnight Commander. After comannd it hangs and it's ready to work after 5 minutes. It doesnt matter I use bsd or bsd.mp kernel. It doesn't matter which terminal I use. I tried to instal mc using ports but it won't help. There is no problem with other software. Thanks for any help Regards, Bambero
4.2 xenocara + Radeon 9600 Pro problem
Hello. Since 4.2 i have strange problem with my Ati Radeon 9600 Pro, and flat LCD display, Eizo FlexScan L568, connected through DVI. When I boot computer, run startx my monitor display frequency error: Digital fD: 108.0 Mhz fH: 65.2 kHz (red color and blinking) fV: 61.2 HZ After about 40 seconds X server starts, or at least I can see it on display. When I close X server, and start it again, it starts with no problem. But when I boot computer again, the problem shows up again. There was no such thing in 4.1. Refreshing rates are from monitor's manual 31-64 and 59-61 accordingly. Thanks for any solutions? -- Rafal Brodewicz [EMAIL PROTECTED] Section Module Loaddbe SubSection extmod Optionomit xfree86-dga EndSubSection Loadfreetype EndSection Section Files FontPath /usr/X11R6/lib/X11/fonts/misc/ FontPath /usr/X11R6/lib/X11/fonts/TTF/ FontPath /usr/X11R6/lib/X11/fonts/OTF FontPath /usr/X11R6/lib/X11/fonts/Type1/ FontPath /usr/X11R6/lib/X11/fonts/100dpi/ FontPath /usr/X11R6/lib/X11/fonts/75dpi/ FontPath /usr/X11R6/lib/X11/fonts/Speedo/ EndSection Section ServerFlags EndSection Section InputDevice Identifier Keyboard1 Driver kbd Option AutoRepeat 500 30 Option XkbRules xorg Option XkbModel pc105 Option XkbLayout pl EndSection Section InputDevice Identifier Mouse1 Driver mouse Option Protocolwsmouse # wsmouse protocol Option Device /dev/wsmouse Option ZAxisMapping 4 5 6 7 Option ZAxisMapping 4 5 EndSection Section Monitor Identifier Eizo HorizSync 31-64 VertRefresh 59-61 EndSection Section Device Identifier Standard VGA VendorName Unknown BoardName Unknown Driver vga EndSection Section Device Identifier 9600Pro Driver radeon #VideoRam131072 # Insert Clocks lines here if appropriate EndSection Section Screen Identifier Screen 1 Device 9600Pro Monitor Eizo DefaultDepth 24 Subsection Display Depth 8 Modes 1280x1024 ViewPort0 0 EndSubsection Subsection Display Depth 16 Modes 1280x1024 ViewPort0 0 EndSubsection Subsection Display Depth 24 Modes 1280x1024 ViewPort0 0 EndSubsection EndSection Section ServerLayout Identifier Simple Layout Screen Screen 1 InputDevice Mouse1 CorePointer InputDevice Keyboard1 CoreKeyboard EndSection OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Athlon(tm) XP 2000+ (AuthenticAMD 686-class, 256KB L2 cache) 1.71 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real mem = 536379392 (511MB) avail mem = 511012864 (487MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/10/04, BIOS32 rev. 0 @ 0xf9e80, SMBIOS rev. 2.3 @ 0xf0120 (37 entries) bios0: vendor Award Software International, Inc. version F4 date 08/10/2004 bios0: Gigabyte Technology Co., Ltd. GA-7VAX apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 70102 dobusy 1 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf/0xc9c4 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfc910/176 (9 entries) pcibios0: PCI Exclusive IRQs: 5 10 11 12 pcibios0: PCI Interrupt Router at 000:17:0 (VIA VT82C596A ISA rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0xd000 0xd/0x8000! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 VIA VT8377 PCI rev 0x00 ppb0 at pci0 dev 1 function 0 VIA VT8235 AGP rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon 9600 Pro rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ATI Radeon 9600 Pro Sec rev 0x00 at pci1 dev 0 function 1 not configured ral0 at pci0 dev 11 function 0 Ralink RT2560 rev 0x01: irq 10, address 00:13:d3:73:7a:38 ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525 uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x80: irq 12 uhci1 at pci0 dev 16 function 1 VIA VT83C572 USB rev 0x80: irq 5 uhci2 at pci0 dev 16 function 2 VIA VT83C572 USB rev 0x80: irq 11 ehci0 at pci0 dev 16 function 3 VIA VT6202 USB rev 0x82: irq 10 usb0 at ehci0: USB revision 2.0 uhub0 at usb0: VIA EHCI root hub, rev 2.00/1.00, addr 1 viapm0 at pci0 dev 17 function 0 VIA VT8235 ISA rev 0x00 iic0 at viapm0 maxtmp0 at iic0 addr 0x4c: lm90 pciide0 at pci0 dev 17 function 1 VIA VT82C571 IDE rev 0x06: ATA133, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: ST340014A wd0: 16-sector PIO, LBA48, 38166MB, 78165360 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at
Re: mc problem under 4.2
On Tue, Nov 27, 2007 at 08:02:46PM +0100, Bambero wrote: Hello I have a strange problem with mc (MidnightCommander). After install OpenBSD 4.2 mc doesn't work properly. fresh install or upgrade from say, 4.1? When i type: mc I have to wait 5 min to see the Midnight Commander. After comannd it hangs and it's ready to work after 5 minutes. It doesnt matter I use bsd or bsd.mp kernel. It doesn't matter which terminal I use. I tried to instal mc using ports but it won't help. You built mc from source? used a binary package? stale package from before the upgrade? This feels like a dns resolution issue, maybe a missing entry in /etc/hosts if you just did an upgrade, maybe you blew away your hosts or resolv.conf ? I don't use mc, but doesn't it do some sort of ftp or remote file transfer, and may like to know its' hostname/address? Does it maybe take long to ping $(hostname)? you can use ktrace(1) to examine what mc is busy waiting for from the system, if thats the case.
Re: mc problem under 4.2
On Nov 27, 2007, at 12:02 PM, Bambero wrote: When i type: mc I have to wait 5 min to see the Midnight Commander. After comannd it hangs and it's ready to work after 5 minutes. [[ This probably should have been reported to ports@ rather than misc@ ]] Bambero, I'm an 'mc' fanatic running it under 4.2. There is no problem for me. My wild analytical guess about your problem is this: One of the two panes of the mc display is logged into some remote device or file system -- nfs, ftp, unmounted disk, etc. Something. And that file system is not active so mc tries after each command until it times out. Was that a good guess? -- Jack J. Woehr Director of Development Absolute Performance, Inc. [EMAIL PROTECTED] 303-443-7000 ext. 527
Re: mc problem under 4.2
On Nov 27, 2007 8:25 PM, Jack J. Woehr [EMAIL PROTECTED] wrote: On Nov 27, 2007, at 12:02 PM, Bambero wrote: When i type: mc I have to wait 5 min to see the Midnight Commander. After comannd it hangs and it's ready to work after 5 minutes. [[ This probably should have been reported to ports@ rather than misc@ ]] Bambero, I'm an 'mc' fanatic running it under 4.2. There is no problem for me. My wild analytical guess about your problem is this: One of the two panes of the mc display is logged into some remote device or file system -- nfs, ftp, unmounted disk, etc. Something. And that file system is not active so mc tries after each command until it times out. Was that a good guess? Hmm the problem is not so simple i have second machine with OpenBSD 4.2 and everything works fine. Secondly when i chroot to this instalation under OpenBSD 4.0 it works without any problems. Maybe something with my hardware, but under OpenBSD 4.0 it works fine on the same computer. -- Jack J. Woehr Director of Development Absolute Performance, Inc. [EMAIL PROTECTED] 303-443-7000 ext. 527
Re: mc problem under 4.2
On Nov 27, 2007, at 12:32 PM, Bambero wrote: On Nov 27, 2007 8:25 PM, Jack J. Woehr [EMAIL PROTECTED] performance.com wrote: On Nov 27, 2007, at 12:02 PM, Bambero wrote: When i type: mc I have to wait 5 min to see the Midnight Commander. After comannd it hangs and it's ready to work after 5 minutes. My wild analytical guess about your problem is this: One of the two panes of the mc display is logged into some remote device or file system -- nfs, ftp, unmounted disk, etc. Hmm the problem is not so simple i have second machine with OpenBSD 4.2 and everything works fine. Secondly when i chroot to this instalation under OpenBSD 4.0 it works without any problems. Maybe something with my hardware, but under OpenBSD 4.0 it works fine on the same computer. Very doubtful that this is hardware. Very doubtful it is OBSD 4.2. It's most likely something about your mc setup. Can you post your ~/.mc/ini file, or at least the following keys?: clear_before_exec= fast_reload= fast_reload_msg_shown= confirm_execute= dive_into_subdirs= vfs_timeout= vfs_use_targz_memlimit= ftpfs_directory_timeout= use_netrc= ftpfs_retry_seconds= ftpfs_always_use_proxy= ftpfs_use_passive_connections= other_dir= current_is_left= -- Jack J. Woehr Director of Development Absolute Performance, Inc. [EMAIL PROTECTED] 303-443-7000 ext. 527
Re: mc problem under 4.2
On Nov 27, 2007 8:24 PM, Jeff Quast [EMAIL PROTECTED] wrote: On Tue, Nov 27, 2007 at 08:02:46PM +0100, Bambero wrote: Hello I have a strange problem with mc (MidnightCommander). After install OpenBSD 4.2 mc doesn't work properly. fresh install or upgrade from say, 4.1? Yes it's fresh install. When i type: mc I have to wait 5 min to see the Midnight Commander. After comannd it hangs and it's ready to work after 5 minutes. It doesnt matter I use bsd or bsd.mp kernel. It doesn't matter which terminal I use. I tried to instal mc using ports but it won't help. You built mc from source? used a binary package? stale package from before the upgrade? I used binary package and package built from source using ports. This feels like a dns resolution issue, maybe a missing entry in /etc/hosts if you just did an upgrade, maybe you blew away your hosts or resolv.conf ? I don't use mc, but doesn't it do some sort of ftp or remote file transfer, and may like to know its' hostname/address? Does it maybe take long to ping $(hostname)? you can use ktrace(1) to examine what mc is busy waiting for from the system, if thats the case. Yes I have to do some tests
Re: asterisk 1.2.22 package on OpenBSD 4.2 configuration problems
--- Stuart Henderson [EMAIL PROTECTED] wrote: On 2007/11/26 23:39, Robert Gilaard wrote: --- Anders Langworthy [EMAIL PROTECTED] wrote: Robert Gilaard wrote: Dear OpenBSD people, I'm a newbie on OpenBSD and have never asked help on this mailinglist. ... What I'm expecting is that I haven't installed all of asterisk. Can't seem to find the sounds directory anywhere. Is it that my installation is not complete? I've installed it from the package provided OpenBSD 4.2 and I just did a pkg_add asterisk. Any help is appreciated. Thanks in advanced. There is also a package asterisk-sounds. This contains all of the extra sound files etc. Install this with pkg_add this as well. I've run Asterisk 1.2.22 (using SIP) on OpenBSD 4.2 without any trouble. Install the above, then try to simplify your dialplan as much as possible (just one path with an Answer) and see what errors you get. Ooh thanks for that tip. I didn't notice those extra files on the ftp server I'm using, ftp://ftp.calyx.nl/pub/OpenBSD/4.2/packages/i386/ However, trying to do a pkg_add asterisk-sounds and a pkg_add asterisk-native-sounds-1.2p0 both give the following results: stat() on closed filehandle $out at /usr/libdata/perl5/OpenBSD/Ustar.pm line 550. syswrite() on closed filehandle $out at /usr/libdata/perl5/OpenBSD/Ustar.pm line 588. asterisk-native-sounds-1.2p0: completerisk/sounds/agent-alreadyon.ulaw: Bad file descriptor can't open /usr/local/share/asterisk/sounds/agent-alreadyon.ulaw: No such file or directory at /usr/libdata/perl5/OpenBSD/md5.pm line 27. What is wrong here? That should work. Did you do anything unusual with /usr/local/share or /usr/local/share/asterisk? Stuart, Anders and Joe, thanks for your involvement! Everything works fine as from now. I've simplified my dialplan and got an answer from my asterisk machine. Off course I was stupid enough to forget that I had locked down my asterisk installation by making some modifications in /etc/rc.securelevel. That's the reason I couldn't install the two extra packages. Again thanks, and now I'm on my way to figuring out this asterisk thing. ps on a side note, OpenBSD is a very fine OS!! Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now. http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ
Re: mc problem under 4.2
On Nov 27, 2007 8:40 PM, Jack J. Woehr [EMAIL PROTECTED] wrote: On Nov 27, 2007, at 12:32 PM, Bambero wrote: On Nov 27, 2007 8:25 PM, Jack J. Woehr [EMAIL PROTECTED] performance.com wrote: On Nov 27, 2007, at 12:02 PM, Bambero wrote: When i type: mc I have to wait 5 min to see the Midnight Commander. After comannd it hangs and it's ready to work after 5 minutes. My wild analytical guess about your problem is this: One of the two panes of the mc display is logged into some remote device or file system -- nfs, ftp, unmounted disk, etc. Hmm the problem is not so simple i have second machine with OpenBSD 4.2 and everything works fine. Secondly when i chroot to this instalation under OpenBSD 4.0 it works without any problems. Maybe something with my hardware, but under OpenBSD 4.0 it works fine on the same computer. Very doubtful that this is hardware. Very doubtful it is OBSD 4.2. It's most likely something about your mc setup. Can you post your ~/.mc/ini file, or at least the following keys?: clear_before_exec= fast_reload= fast_reload_msg_shown= confirm_execute= dive_into_subdirs= vfs_timeout= vfs_use_targz_memlimit= ftpfs_directory_timeout= use_netrc= ftpfs_retry_seconds= ftpfs_always_use_proxy= ftpfs_use_passive_connections= other_dir= current_is_left= All my .mc/ini It's default I made no changes here [Midnight-Commander] show_backups=1 show_dot_files=1 verbose=1 mark_moves_down=1 pause_after_run=1 shell_patterns=1 auto_save_setup=1 auto_menu=0 use_internal_view=1 use_internal_edit=1 clear_before_exec=1 mix_all_files=0 fast_reload=0 fast_reload_msg_shown=0 confirm_delete=1 confirm_overwrite=1 confirm_execute=0 confirm_exit=1 safe_delete=0 mouse_repeat_rate=100 double_click_speed=250 use_8th_bit_as_meta=0 confirm_view_dir=0 mouse_move_pages=1 mouse_move_pages_viewer=1 fast_refresh=0 navigate_with_arrows=0 drop_menus=0 wrap_mode=1 old_esc_mode=0 cd_symlinks=1 show_all_if_ambiguous=0 have_fast_cpu=0 max_dirt_limit=10 torben_fj_mode=0 use_file_to_guess_type=1 alternate_plus_minus=0 only_leading_plus_minus=1 show_output_starts_shell=0 panel_scroll_pages=1 xtree_mode=0 num_history_items_recorded=60 file_op_compute_totals=1 vfs_timeout=60 ftpfs_directory_timeout=900 use_netrc=1 ftpfs_retry_seconds=30 ftpfs_always_use_proxy=0 ftpfs_use_passive_connections=1 ftpfs_use_unix_list_options=1 ftpfs_first_cd_then_ls=0 editor_word_wrap_line_length=72 editor_key_emulation=0 editor_tab_spacing=8 editor_fill_tabs_with_spaces=0 editor_return_does_auto_indent=0 editor_backspace_through_tabs=0 editor_fake_half_tabs=1 editor_option_save_mode=0 editor_option_save_position=1 editor_option_backup_ext_int=-1 editor_option_auto_para_formatting=0 editor_option_typewriter_wrap=0 editor_edit_confirm_save=1 editor_syntax_highlighting=1 nice_rotating_dash=1 horizontal_split=0 [Layout] equal_split=1 first_panel_size=43 message_visible=1 keybar_visible=1 xterm_title=1 output_lines=0 command_prompt=1 menubar_visible=1 show_mini_info=1 permission_mode=0 filetype_mode=1 [Dirs] other_dir=/root current_is_left=1 [New Left Panel] display=listing reverse=0 case_sensitive=1 sort_order=name list_mode=full user_format=half type name | size | perm user_status0=half type name | size | perm user_status1=half type name | size | perm user_status2=half type name | size | perm user_status3=half type name | size | perm user_mini_status=0 [New Right Panel] display=listing reverse=0 case_sensitive=1 sort_order=name list_mode=full user_format=half type name | size | perm user_status0=half type name | size | perm user_status1=half type name | size | perm user_status2=half type name | size | perm user_status3=half type name | size | perm user_mini_status=0 [Misc] ftpfs_password=anonymous@ ftp_proxy_host=gate display_codepage=Other_8_bit [Panelize] Find *.orig after patching=find . -name \*.orig -print Find SUID and SGID programs=find . \( \( -perm -04000 -a -perm +011 \) -o \( -perm -02000 -a -perm +01 \) \) -print Find rejects after patching=find . -name \*.rej -print -- Jack J. Woehr Director of Development Absolute Performance, Inc. [EMAIL PROTECTED] 303-443-7000 ext. 527
Re: mc problem under 4.2
On Nov 27, 2007, at 1:14 PM, Robert Zajda wrote: [Dirs] other_dir=/root Does this directory exist? Is it local? If you are chrooted, does it exist in your chroot layout? -- Jack J. Woehr Director of Development Absolute Performance, Inc. [EMAIL PROTECTED] 303-443-7000 ext. 527
Monitoring OpenBGPD through SNMP
Hi, all In the past we used a Net-SNMP extension script to remotely monitor our quagga routers. Now that we use OpenBGPD, we needed to do the same. I could not find any work done on this matter through googleing and search the archives, so i took the script we used for quagga and changed it to work with OpenBGPD. In case anyone needs it, it's available here: http://mirror.net1.cc/projects/openbgpd-snmp/ Any feedback, comments suggestions are highly welcome! Regards, Doichin
Re: mc problem under 4.2
On Nov 27, 2007 9:18 PM, Jack J. Woehr [EMAIL PROTECTED] wrote: On Nov 27, 2007, at 1:14 PM, Robert Zajda wrote: [Dirs] other_dir=/root Does this directory exist? Is it local? If you are chrooted, does it exist in your chroot layout? Of course but in chroot there is no problem. -- Jack J. Woehr Director of Development Absolute Performance, Inc. [EMAIL PROTECTED] 303-443-7000 ext. 527
alpha hardware (DEC3000-300X) available for donation in Munich, Germany
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Folks, I've got a DEC3000-300X which I'm going to have to trash, unless someone would like it... details: CPU: Alpha 21064 175MHz Memory: 4x32MB, 4x8MB (total 160MB) Bus: Turbo-Channel Turbo-Channel cards: PMAZB-A (2-port fast-SCSI controller) PMAZC-AA (2-port fast-SCSI controller) Disks: RZ28 (2GB), RZ28M-E (2GB) The mainboard has built-in: Fast-SCSI 10Mbit Ethernet (RJ45) ISDN!!! keyboard/mouse combined connector (not sure if I've got the cable..) DB23 serial RGB Video Any interest? Please let me know soon. Rob Urban Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFHTJZr33x7lJjLFm4RAua8AKCQLXb4R/OnSNsm7NEeKeEzESPT4gCfXMzM GzK93pWHUB7LgBP4xavsJl8= =Zi3Q -END PGP SIGNATURE-
Re: updating source code from updated tarballs
Hi Juan, Juan Miscaro wrote on Mon, Nov 26, 2007 at 08:17:03AM -0500: --- Nick Holland [EMAIL PROTECTED] wrote: Juan Miscaro wrote: --- Ingo Schwarze [EMAIL PROTECTED] wrote: The standard way to handle upgrades is to update the src on the master only, to build new release sets on the master, and to use the official upgrade process to install these new release sets on the clients. That way, none of the clients will ever need source code. You can extend this to cover ports and packages: The standard way to handle port upgrades is to update the ports tree on the master only, to build new binary packages on the master, and to use pkg_add -u on the clients. That way, none of the clients will ever need the ports tree installed. I'm embarrassed to say that I was intending to build my client systems locally. Save yourself time and work, make a release. Well I've done that on the master and used the release to install the client but I didn't think of using release sets to upgrade the client, especially when it becomes a remote system. Not sure how to do that (upgrade via sets remotely). Just unpack the sets? No, download the new /bsd.rd, boot it, select upgrade, and tell it to fetch the install sets from your private server when it asks you where to get the install sets from. Alternatively, burn your self-built install sets onto your own CD and carry them with you when travelling around the field. The whole upgrade process is very similar to the install process, see the coverlet of your official OpenBSD release CD set for a nice example. The ports tree can be useful though. eh. I keep telling myself that, but I hardly ever use it 'cept on a couple machines. Those are usually NOT machines I'm installing packages to. (i.e., I use the ports tree on my management console machines, but on actual production machines, I never use it. I can look at the tree on my machine I'm sitting at, rather than the machine I'm sshed into, find what I need to know, then pkg_add -i whatever...) I don't get it. How did you go from installing from the ports tree to using pre-compiled packages (pkg_add)? As far as i understand Nick, he is basically not using the ports tree at all, except for looking things up. Having the ports tree around on your desktop machine is nice so you can grep /usr/ports/INDEX and /usr/ports/*/*/Makefile when you feel like it. But when i need optional software, i install the binary package from a package repository - either a public mirror or, if needed, my own binary package collection, a private FTP server inside our intranet. My only machine having the ports tree is my build machine. But over there, it is only used to build committed -current ports nor yet available in snapshots, to test uncommitted -current ports found on ports@, to build modified ports i hacked into and to build completely new ports of so far unported software. Juan Miscaro wrote: The trouble is that when I performed a test update of this code there was a immense amount of downloading taking place. This should not have been the case. Unless you tell us what you mean by test update (cvs update? which server? which command, exactly?) even guessing is difficult. unanswered important question. I use cvsup to update my sources (to STABLE): [...] Hm, sorry, i'm not really experienced concerning cvsup. Maybe it's quicker than plain cvs, maybe the same argument still applies: Syncing a large tree might take some time, even when it finally turns out not that much of the stuff changed after all. Thanks for your comments. You are welcome, Ingo -- Ingo Schwarze [EMAIL PROTECTED] Serverbetrieb usta.de / studis.de
4.2 xenocara + Radeon 9600 Pro problem
Hello. Since 4.2 i have strange problem with my Ati Radeon 9600 Pro, and flat LCD display, Eizo FlexScan L568, connected through DVI. When I boot computer, run startx my monitor display frequency error: Digital fD: 108.0 Mhz fH: 65.2 kHz (red color and blinking) fV: 61.2 HZ After about 40 seconds X server starts, or at least I can see it on display. When I close X server, and start it again, it starts with no problem. But when I boot computer again, the problem shows up again. There was no such thing in 4.1. Refreshing rates are from monitor's manual 31-64 and 59-61 accordingly. dmesg, xorg.conf, Xorg.0.log http://brodewicz.pl/OpenBSD Thanks for any solutions. -- Rafal Brodewicz [EMAIL PROTECTED]
Re: mc problem under 4.2
Hmm, I found the answer: lookup file bind in /etc/resolv.conf solves the problem. ping localhost won't works too becouse of bad dns configuration. Thanks On Nov 27, 2007 9:18 PM, Jack J. Woehr [EMAIL PROTECTED] wrote: On Nov 27, 2007, at 1:14 PM, Robert Zajda wrote: [Dirs] other_dir=/root Does this directory exist? Is it local? If you are chrooted, does it exist in your chroot layout? -- Jack J. Woehr Director of Development Absolute Performance, Inc. [EMAIL PROTECTED] 303-443-7000 ext. 527
Re: mc problem under 4.2
On Nov 27, 2007 8:24 PM, Jeff Quast [EMAIL PROTECTED] wrote: On Tue, Nov 27, 2007 at 08:02:46PM +0100, Bambero wrote: Hello I have a strange problem with mc (MidnightCommander). After install OpenBSD 4.2 mc doesn't work properly. fresh install or upgrade from say, 4.1? When i type: mc I have to wait 5 min to see the Midnight Commander. After comannd it hangs and it's ready to work after 5 minutes. It doesnt matter I use bsd or bsd.mp kernel. It doesn't matter which terminal I use. I tried to instal mc using ports but it won't help. You built mc from source? used a binary package? stale package from before the upgrade? This feels like a dns resolution issue, maybe a missing entry in /etc/hosts if you just did an upgrade, maybe you blew away your hosts or resolv.conf ? I don't use mc, but doesn't it do some sort of ftp or remote file transfer, and may like to know its' hostname/address? Does it maybe take long to ping $(hostname)? you can use ktrace(1) to examine what mc is busy waiting for from the system, if thats the case. Exactly, it was dns. Naow everything works perfectly. Thanks
Re: Best way to automate administration of multiple servers
On 14/11/2007, Mikel Lindsaar [EMAIL PROTECTED] wrote: Hello all, I want to automate handling them as much as possible and would like some list suggestions on reading materials, software, or web howtos. Just my idea (never had more than 3 boxes at once): On my main box, I'd have a separate copy of /etc and other files for each class of box, where a class is a group of boxes with the same configs. Perhaps each of your boxes are different so the class concept is irrelevant. To change a box's config, I'd change these files in the normal way, then use rsync (via ssh) to update the altered boxes. To run a command-line command on a group of boxes, I'd likely write a script that took the command line and a class of machines on which to run it. The script would send back any error messages recevied and from which box it was received. This script would be useful for making changes other than to individual files, e.g. deleting files (more direct than relying on rsync --delete), or chmod/chown. Unless all the boxes are using the same OS, I'd probably write a script for handling adding and removing users and groups (since each OS does it slightly differently). Then again, this is probably reinventing the wheel. Doug.
OpenBSD 4.2 not booting on alix2c2
Hello. I've installed OpenBSD 4.2 on a 512M CF for use with the alix2c2. The system boots with problems (but works fine so far) when the CF is hooked up in my desktop with an IDE adapter. The error message I get is in the dmesg below. But the OS won't even boot in the alix board. And there's nothing in var/log/messages. A null modem cable is on order for me, so I have no info yet through minicom. The alix board is straight out of the box - with whichever bios PC Engines had on it when it was shipped out a week ago. The lack of anything in /var/log/messages is what tells me the system isn't booting. Also I can ping neither vr0 nor vr1 on the alix. With the same card booted on the desktop I can see the network fine. The packages installed on the card (all loaded into /) are bsd, base42.tgz, etc42.tgz and man42.tgz only. Again, the dmesg below is from the successful boot of the CF card in a desktop machine. Any suggestions on what the problem is, and possibly a resolution? I've scanned these archives and looked through about a dozen sites on how to install OpenBSD on a CF for Wrap and Soekris. One possible reason I've found is that the CF card may need to be UDMA. It isn't, and the alix documentation only mentions DMA. In the meantime, has anyone had better luck using flashdist as a means of installing? Here's the dmesg: Nov 27 13:52:06 alix syslogd: start Nov 27 13:52:06 alix /bsd: OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007 Nov 27 13:52:06 alix /bsd: [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC Nov 27 13:52:06 alix /bsd: cpu0: Intel Pentium III (GenuineIntel 686-class, 512KB L2 cache) 448 MHz Nov 27 13:52:06 alix /bsd: cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE Nov 27 13:52:06 alix /bsd: real mem = 402219008 (383MB) Nov 27 13:52:07 alix /bsd: avail mem = 381022208 (363MB) Nov 27 13:52:07 alix /bsd: mainbus0 at root Nov 27 13:52:07 alix /bsd: bios0 at mainbus0: AT/286+ BIOS, date 07/20/99, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.2 @ 0xfb5f0 (83 entries) Nov 27 13:52:07 alix /bsd: bios0: vendor Dell Computer Corporation version A09 date 07/20/99 Nov 27 13:52:07 alix /bsd: bios0: Dell Computer Corporation Precision WorkStation 410 MT Nov 27 13:52:07 alix /bsd: apm0 at bios0: Power Management spec V1.2 Nov 27 13:52:07 alix /bsd: apm0: AC on, battery charge unknown Nov 27 13:52:07 alix /bsd: apm0: flags 30102 dobusy 0 doidle 1 Nov 27 13:52:07 alix /bsd: pcibios0 at bios0: rev 2.1 @ 0xf/0x1 Nov 27 13:52:07 alix /bsd: pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfcac0/192 (10 entries) Nov 27 13:52:07 alix /bsd: pcibios0: PCI Interrupt Router at 000:07:0 (Intel 82371FB ISA rev 0x00) Nov 27 13:52:07 alix /bsd: pcibios0: PCI bus #2 is the last bus Nov 27 13:52:07 alix /bsd: bios0: ROM list: 0xc/0xf800 0xcf800/0x800 0xd/0x800 0xd0800/0x3800 Nov 27 13:52:07 alix /bsd: cpu0 at mainbus0 Nov 27 13:52:08 alix /bsd: pci0 at mainbus0 bus 0: configuration mode 1 (no bios) Nov 27 13:52:08 alix /bsd: pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x03 Nov 27 13:52:08 alix /bsd: ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x03 Nov 27 13:52:08 alix /bsd: pci1 at ppb0 bus 1 Nov 27 13:52:08 alix /bsd: piixpcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x02 Nov 27 13:52:08 alix /bsd: pciide0 at pci0 dev 7 function 1 Intel 82371AB IDE rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility Nov 27 13:52:08 alix /bsd: wd0 at pciide0 channel 0 drive 0: SAMSUNG SP0822N Nov 27 13:52:08 alix /bsd: wd0: 16-sector PIO, LBA48, 32253MB, 66055248 sectors Nov 27 13:52:08 alix /bsd: atapiscsi0 at pciide0 channel 0 drive 1 Nov 27 13:52:08 alix /bsd: scsibus0 at atapiscsi0: 2 targets Nov 27 13:52:08 alix /bsd: cd0 at scsibus0 targ 0 lun 0: TDK, CDRW8432, 1.05 SCSI0 5/cdrom removable Nov 27 13:52:09 alix /bsd: wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 Nov 27 13:52:09 alix /bsd: cd0(pciide0:0:1): using PIO mode 4, DMA mode 2 Nov 27 13:52:10 alix /bsd: wd1 at pciide0 channel 1 drive 0: SanDisk SDCFB-512 Nov 27 13:52:10 alix /bsd: wd1: 4-sector PIO, LBA, 488MB, 1000944 sectors Nov 27 13:52:11 alix /bsd: wd1(pciide0:1:0): using PIO mode 4, DMA mode 2 Nov 27 13:52:12 alix /bsd: uhci0 at pci0 dev 7 function 2 Intel 82371AB USB rev 0x01: irq 11 Nov 27 13:52:13 alix /bsd: piixpm0 at pci0 dev 7 function 3 Intel 82371AB Power rev 0x02: SMBus disabled Nov 27 13:52:13 alix /bsd: vga1 at pci0 dev 14 function 0 NVIDIA GeForce4 MX 4000 rev 0xc1 Nov 27 13:52:13 alix /bsd: wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) Nov 27 13:52:13 alix /bsd: xl0 at pci0 dev 17 function 0 3Com 3c905B 100Base-TX rev 0x00: irq 11, address 00:c0:4f:60:cb:b2Nov 27 13:52:14 alix /bsd: exphy0 at xl0 phy 24: 3Com internal media interface Nov 27 13:52:14 alix /bsd: ppb1 at pci0 dev 19 function 0 DEC 21152 PCI-PCI rev 0x03 Nov 27 13:52:14 alix /bsd: pci2 at ppb1 bus 2 Nov 27 13:52:14 alix /bsd: ral0 at
Patch 004 does not apply properly on 4.2
What am I overlooking here ? - I have been doing like this for the last years, no problem. Today there is: # cd /usr/src # ls -l 004_pf.patch -rw-r--r-- 1 root wsrc 1303 Nov 27 17:32 004_pf.patch # patch -p0 004_pf.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -- |Apply by doing: | cd /usr/src | patch -p0 004_pf.patch | |And then build, install and boot a new kernel: | cd /usr/src/sys/arch/`arch -s`/conf | config GENERIC | cd ../compile/GENERIC | make depend make sudo make install | |If you are using the multiprocessor kernel, replace GENERIC by |GENERIC.MP above. | |Index: sys/net/pf.c |=== |RCS file: /cvs/src/sys/net/pf.c,v |retrieving revision 1.564 |retrieving revision 1.565 |diff -u -p -r1.564 -r1.565 |--- pf.c 18 Nov 2007 21:53:47 - 1.564 |+++ pf.c 22 Nov 2007 02:01:46 - 1.565 -- File to patch: No file found--skip this patch? [n] y Skipping patch... Hunk #1 ignored at 816. Hunk #2 ignored at 960. 2 out of 2 hunks ignored--saving rejects to Oops.rej done And, yes, I have unzipped the respective tar: # pwd /usr/src # ls 001_dhcpd.patch Oops.rejgnu sbin 002_openssl.patch Oops.rej.orig include share 004_pf.patchbin kerberosV sys CVS distrib lib usr.bin Makefileetc libexec usr.sbin Makefile.cross games regress xenocara And I have that file: # ls -l sys/net/pf.c -rw-r--r-- 1 root wsrc 155860 Aug 22 02:44 sys/net/pf.c So where is my mistake, please ? Uwe
Re: Best way to automate administration of multiple servers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Douglas A. Tutty wrote: On 14/11/2007, Mikel Lindsaar [EMAIL PROTECTED] wrote: Hello all, I want to automate handling them as much as possible and would like some list suggestions on reading materials, software, or web howtos. Just my idea (never had more than 3 boxes at once): On my main box, I'd have a separate copy of /etc and other files for each class of box, where a class is a group of boxes with the same configs. Perhaps each of your boxes are different so the class concept is irrelevant. To change a box's config, I'd change these files in the normal way, then use rsync (via ssh) to update the altered boxes. To run a command-line command on a group of boxes, I'd likely write a script that took the command line and a class of machines on which to run it. The script would send back any error messages recevied and from which box it was received. This script would be useful for making changes other than to individual files, e.g. deleting files (more direct than relying on rsync --delete), or chmod/chown. Unless all the boxes are using the same OS, I'd probably write a script for handling adding and removing users and groups (since each OS does it slightly differently). Then again, this is probably reinventing the wheel. Doug. Too much work. Use cfengine. It is on ports. Regards, Alvaro Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHTNbxh0VmNM2kfikRAsugAJ9hsbhF+aanFn2bJ6sKop/oHr8X2wCePR1z NtJq74d4/a0cP7IvwhR5nbA= =aDn5 -END PGP SIGNATURE-
Re: Patch 004 does not apply properly on 4.2
On Nov 27, 2007 5:34 PM, Uwe Dippel [EMAIL PROTECTED] wrote: So where is my mistake, please ? One way you can solve this is by moving the patch to /usr/src/sys/net before applying it, the patch lists pf.c with no directories leading up to the filename (probably unlike the other patches you are used to applying), so when you go to apply it in /usr/src it fails, unable to find pf.c in /usr/src. Gordon
Re: Patch 004 does not apply properly on 4.2
Gordon Stratton wrote: One way you can solve this is by moving the patch to /usr/src/sys/net before applying it, the patch lists pf.c with no directories leading up to the filename Yes, and you have to cd into it. Otherwise it still won't work. Someone might want to change the instructions in the header, or better apply diff in the right location. Thanks, Uwe
Re: indexing the internet
hmm... i checked dmoz.org, noble idea, but a lot of hardwork, and it might fail in the longrun. There is one major hurdle in its future, since lot of people are adding content to web everyday and most of them are not following any guideline, so it is: 1. very difficult for a small subset of humans to catalog for all of the internet-publishers. 2. it is unfair, in the name of free/opensource, to expect a subset of people to clean others' mess. Back to the original topic: For one thing, Perhaps one part of the problem can be solved very easily. Since every document created on any OS has date and timestamp attached to it. AND, most of the publishing on web is on Apache, what if the basic behavior of apache is set to read this info, and show document/page creation and modification date on top/in the beginning, of the 'web-page/document'. And it should be available to the search engines as small lightweight string as well? technical papers and HOWTO's relevance is actually the relevance of their content, with passing of time. So, to intelligently figure that out is going to be too resource consuming for the computing in general. ultimately humans will have to follow some documenting guidelines to keep information useful and 'at our fingertips'. Else it(information) will be like it is now, scattered and lost in web-space. *and hence, google's search engine if does not change with time, will be a thing of past within next 4 years. Thank you. -BG --- Lars Noodin [EMAIL PROTECTED] wrote: badeguruji wrote: ... just making it a habit to add the date and version on top will make it easy to 'index the web', and will help the newcomer to understand and decide... ... There are a lot of people who should know better who do not do that, regardless of the benefits. Probably the best bet would be to find how people are making the documents and see if the tools' creators cannot be convinced to make the tool default to add a date / time stamp. I've written to a few authors and asked when they first published material. Perhaps it is time for an all-out campaign to tidy up legacy documents. -Lars ~~Kalyan-mastu~~
Question about AnonCVS Instructions
What is the difference between these two cvs commands? I know what the first one does... checks out the source code to stable and assumes a CVSROOT is around... but is the second command not the same? I understand all the options... except for 'get'... how is that different from checkout? cvs checkout -P -rOPENBSD_4_2 src cvs -qd [EMAIL PROTECTED]:/cvs get -rOPENBSD_4_2 -P src Also, if one has the source tar files, neither of those commands are needed, right? Won't this alone do (assuming the tar files have been extracted to the appropriate areas): # Do this for /usr/src /usr/ports and /usr/src/xenocara cvs -q up -rOPENBSD_4_2 -Pd OpenBSD docs are rather good, but IMO, http://openbsd.org/anoncvs.html; could be simplified somewhat. -- View this message in context: http://www.nabble.com/Question-about-AnonCVS-Instructions-tf4886332.html#a13985918 Sent from the openbsd user - misc mailing list archive at Nabble.com.
Re: Question about AnonCVS Instructions
new_guy wrote: What is the difference between these two cvs commands? I know what the first one does... checks out the source code to stable and assumes a CVSROOT is around... but is the second command not the same? I understand all the options... except for 'get'... how is that different from checkout? CVS has a lot of redundant commands. See man cvs: checkout [options] modules... Requires: repository. Changes: working directory. Synonyms: co, get cvs checkout -P -rOPENBSD_4_2 src cvs -qd [EMAIL PROTECTED]:/cvs get -rOPENBSD_4_2 -P src and since the second one does NOT assume anything about CVSROOT, it is potentially very different. the -q is of marginal value in a checkout, but in a up, it eliminates massive amounts of chatter. On the other hand, if you have a slow link, maybe you want to know that it is still working. Also, if one has the source tar files, neither of those commands are needed, right? Won't this alone do (assuming the tar files have been extracted to the appropriate areas): # Do this for /usr/src /usr/ports and /usr/src/xenocara cvs -q up -rOPENBSD_4_2 -Pd you really want a -d in there. Pretty much mandatory if you are using the source tar files. OpenBSD docs are rather good, but IMO, http://openbsd.org/anoncvs.html; could be simplified somewhat. try http://www.openbsd.org/faq/faq5.html instead. (yeah, there's some redundancy that should be eliminated). Nick.
Re: usb problems with external drive (on current)
Didier Wiroth wrote: Hello, I'm using an external usb2 freecom toughdrive 250gb see: http://www.freecom.com/ecproduct_detail.asp?ID=3506CatID=8020sCatID=1146187ssCatID=1146191 The drive has no power supply! people have reported problems with those...they sound like they are right on the edge of what you can power off the USB bus, and not all computers provide all the power the spec suggests. I have some strange results while working with current. When the drive is plugged into a running system, the drive is not attached. Here is the error output: Nov 27 13:17:48 amd64 /bsd: umass1 at uhub0 Nov 27 13:17:48 amd64 /bsd: port 4 configuration 1 interface 0 Freecom Freecom ToughDrivePro rev 2.00/0.00 addr 2 Nov 27 13:17:48 amd64 /bsd: umass1: using SCSI over Bulk-Only Nov 27 13:17:53 amd64 /bsd: umass1: Get Max Lun failed: TIMEOUT Nov 27 13:17:53 amd64 /bsd: umass1: unable to get Max Lun: TIMEOUT The drive only works when it is attached to the system while loading the openbsd kernel during a standard boot. (I hope I made myself clear, otherwise, here is the sequence: 1) connect the usb drive 2) reboot openbsd 3) now the drive is recognized and attached.) Detaching and reattaching the usb drive afterwards gives the same error results as mentionned previously. (I tried the same drive on the same hardware with windows xp installed and it worked without problems.) how about if you use a powered hub? I'm wondering if your USB port isn't putting out the juice needed to spin it up fast enough, and you get the timeouts. If you have to wait for a POST and a OS boot, it probably has plenty of time to get to speed. Nick.
Re: Best way to automate administration of multiple servers
On 14/11/2007, Mikel Lindsaar [EMAIL PROTECTED] wrote: Hello all, I want to automate handling them as much as possible and would like some list suggestions on reading materials, software, or web howtos. http://tentakel.biskalar.de/ http://www.garbled.net/clusterit.html http://fermitools.fnal.gov/abstracts/rgang/abstract.html http://www.netfort.gr.jp/~dancer/software/dsh.html.en http://sourceforge.net/projects/dcmd/ http://www.cfengine.org/ http://puppet.reductivelabs.com/ http://www.lcfg.org/ http://quattor.web.cern.ch/quattor/ http://www.hpl.hp.com/research/smartfrog/ ...probably several more. DS