Re: OT: Iphone with OpenBSD
Here is dmesg from my 16G ipod touch: Don't know if it is useful Bruce's iPod:~ root# dmesg 2SPI: disabled power AppleMBXDevice(0xc0b70c00)::changePowerStateGated(0) AppleMRVL868x::setPOWER() [kernel_task]: 0 AppleMRVL868x Deauth'ed AP: BSSID = 00:21:29:97:2b:e4, rssi = 25, rate = 18 ( 33%), channel = 6, encryption = 0x4, ap = 1, hidden = 0, directed = 0, failures = 0, age = 84, ssid = Garnet House AppleMRVL868x::setCIPHER_KEY(): WiFi not powered on (0x3) AppleMRVL868x::setCIPHER_KEY(): WiFi not powered on (0x3) AppleMRVL868x::setCIPHER_KEY(): WiFi not powered on (0x3) AppleMRVL868x::setCIPHER_KEY(): WiFi not powered on (0x3) AppleMRVL868x::setCIPHER_KEY(): WiFi not powered on (0x3) AppleMRVL868x::setPOWER(): Flushing beacons!! AppleMRVL868x::setPowerStateGated(): 1 - 0, 0xc0bf4800 AppleSynopsysOTG2::handleUSBCableDisconnect 0 [Time 1253304525] [Message System Sleep pmu wake events: exton1(buttons) System Wake + AppleMPVDDriver[0xc0a5d600]::setPowerStateGated() AppleMBXDevice(0xc0b70c00)::setPowerState(1) AppleMBXDevice(0xc0b70c00)::changePowerStateGated(1) AppleMRVL868x::setPowerStateGated(): 0 - 1, 0xc0bf4800 AppleMRVL868x::wakeupSequence() AppleMRVL868x::setPOWER() [kernel_task]: 1 AppleMultitouchZ2SPI: enabled power, scheduled bootloading AppleMultitouchSPIUserClient: Inhibited externally initiated reset AppleMRVL868x::setASSOCIATE() [configd]: lowerAuth = AUTHTYPE_OPEN, upperAuth = AUTHTYPE_WPA_PSK, key = CIPHER_PMK, flags = 0x2 tlv_wmm_ie type=221, len=7 oui = 0x00 0x00 0x00 type= 0x00 subType = 0x00 vers = 0x00 QoSInfo 0x00 AppleMRVL868x Joined AP:BSSID = 00:21:29:97:2b:e4, rssi = 22, rate = 54 (100%), channel = 6, encryption = 0x4, ap = 1, hidden = 0, directed = 0, failures = 0, age = 1, ssid = Garnet House AirPort: Link Up on en0 AppleMRVL868x::setCIPHER_KEY() [kernel_task]: type = CIPHER_TKIP, index = 0, flags = 0x4 AppleMRVL868x::setCIPHER_KEY() [kernel_task]: type = CIPHER_TKIP, index = 2, flags = 0x0 + AppleMPVDDriver[0xc0a5d600]::setPowerStateGated() AppleMBXDevice(0xc0b70c00)::setPowerState(0) AppleMultitouchZ2SPI: disabled power AppleMBXDevice(0xc0b70c00)::changePowerStateGated(0) AppleMRVL868x::setPOWER() [kernel_task]: 0 AppleMRVL868x Deauth'ed AP: BSSID = 00:21:29:97:2b:e4, rssi = 25, rate = 36 ( 66%), channel = 6, encryption = 0x4, ap = 1, hidden = 0, directed = 0, failures = 0, age = 37, ssid = Garnet House AppleMRVL868x::setCIPHER_KEY(): WiFi not powered on (0x3) AppleMRVL868x::setCIPHER_KEY(): WiFi not powered on (0x3) AppleMRVL868x::setCIPHER_KEY(): WiFi not powered on (0x3) AppleMRVL868x::setCIPHER_KEY(): WiFi not powered on (0x3) AppleMRVL868x::setCIPHER_KEY(): WiFi not powered on (0x3) AppleMRVL868x::setPOWER(): Flushing beacons!! AppleMRVL868x::setPowerStateGated(): 1 - 0, 0xc0bf4800 AppleSynopsysOTG2::handleUSBCableDisconnect 0 [Time 1253304640] [Message System Sleep pmu wake events: exton1(buttons) System Wake + AppleMPVDDriver[0xc0a5d600]::setPowerStateGated() AppleMBXDevice(0xc0b70c00)::setPowerState(1) AppleMBXDevice(0xc0b70c00)::changePowerStateGated(1) AppleMRVL868x::setPowerStateGated(): 0 - 1, 0xc0bf4800 AppleMRVL868x::wakeupSequence() AppleMRVL868x::setPOWER() [kernel_task]: 1 AppleMultitouchSPIUserClient: Inhibited externally initiated reset AppleMultitouchZ2SPI: enabled power, scheduled bootloading AppleMRVL868x::setASSOCIATE() [configd]: lowerAuth = AUTHTYPE_OPEN, upperAuth = AUTHTYPE_WPA_PSK, key = CIPHER_PMK, flags = 0x2 tlv_wmm_ie type=221, len=7 oui = 0x00 0x00 0x00 type= 0x00 subType = 0x00 vers = 0x00 QoSInfo 0x00 AppleMRVL868x::handleCommandPacket(): Error, aborting scan! (fScanningForNetworks = 0, fScanMechanism = 0) AppleMRVL868x Joined AP:BSSID = 00:21:29:97:2b:e4, rssi = 14, rate = 54 (100%), channel = 6, encryption = 0x4, ap = 1, hidden = 0, directed = 0, failures = 0, age = 1, ssid = Garnet House AirPort: Link Up on en0 AppleMRVL868x::setCIPHER_KEY() [kernel_task]: type = CIPHER_TKIP, index = 0, flags = 0x4 AppleMRVL868x::setCIPHER_KEY() [kernel_task]: type = CIPHER_TKIP, index = 2, flags = 0x0 AppleMRVL868x::setCIPHER_KEY() [kernel_task]: type = CIPHER_TKIP, index = 2, flags = 0x0 Bruce's iPod:~ root# ifcong fig -a lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet 127.0.0.1 netmask 0xff00 en0: flags=8863UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.1.102 netmask 0xff00 broadcast 192.168.1.255 ether 00:1d:4f:d7:36:31 Bruce's iPod:~ root# uname -ap Darwin Bruce's iPod 9.4.1 Darwin Kernel Version 9.4.1: Mon Dec 8 20:59:30 PST 2008; root:xnu-1228.7.37~4/RELEASE_ARM_S5L8900X iPod1,1 arm N45AP Darwin Bruce's iPod:~ root# exit logout --- h...@stare.cz wrote: From: Jan Stary h...@stare.cz To: misc@openbsd.org Subject: Re: OT: Iphone with OpenBSD Date: Fri, 18 Sep 2009 19:30:46 +0200 On Sep 18 10:04:11, Alvaro Mantilla Gimenez wrote: Jan Stary escribis: We will be trying to develop an entire
Re: How to add new non-continuous A6 partition after install
Have you read the relevant portion of the FAQ? http://openbsd.org/faq/faq14.html#NewDisk --- obvvb...@googlemail.com wrote: From: obvvbooo obvvbooo obvvb...@googlemail.com To: OpenBSD Misc misc@openbsd.org Subject: How to add new non-continuous A6 partition after install Date: Wed, 26 Aug 2009 14:22:50 +0800 Hi, For kinds of reasons, my disk is partitionized like this: 1st partition is for Windows system(Primary) 2nd is for OpenBSD(Primary) 3rd is Windows extended partition(Extended) 4th is originally not used, now I created a new one and mark it as A6.(Primary) Question is after I created the 4th partition, I can get the partition information using fdisk, but can't see anything using disklabel. How do I use the 4th partition? Will it be helpful if I just reformat it to fat32 or ext3? Anybody help? Thanks.
Re: boot disk ???
my similar experience: I was recently trying to add 4.5 as a second OS on my laptop. It has a combo DVD reader/CD burner drive. For years it has produced perfect burned CD's under Windows. I burned install45.iso - disk was unreadable. Downloaded a linux live CD image - burned - unreadable. I now have a stack of about 20 coasters made with 4 different CD burning programs. Then I did some driver updates on Windows. The driver that fixed the problem was the SiS IDE driver. This is on an Alienware Area 51m laptop. Windows Update could not fix this problem. I had to find the drivers direct from the manufacturer of the chipset - SiS. The drive functioned normally for everything except burning. my advice: check your assumptions verify your image files don't give up Bruce --- dera...@cvs.openbsd.org wrote: From: Theo de Raadt dera...@cvs.openbsd.org To: Jason Dixon ja...@dixongroup.net cc: neal hogan n...@lambdaserver.com, PJ af.gour...@videotron.ca, Marcus Watts m...@umich.edu, misc@openbsd.org Subject: Re: boot disk ??? Date: Wed, 05 Aug 2009 18:40:50 -0600 The OpenBSD community is a very fun and helpful bunch. But we're not good at suffering fools or assholes. Oh come now... we are very good at making fools and assholes suffer.
Re: Capture serial port output to a file -Solved
Combining suggestions from several people. I installed screen This gives me an interactive screen that doesn't die when I disconnect the session. Then in the screen session: cu -l /dev/cua00 -t | tee /var/log/log.console I can then kill my ssh connction, connect again and see that the screen and cu processes are still running. I can tail -f /var/log/log.console to see new output from the console Bonus: I can reconnect to the screen session to issue interactive commands to get more debugging info out of the device. Thanks all --- [EMAIL PROTECTED] wrote: From: Nick Holland [EMAIL PROTECTED] To: misc misc@openbsd.org Subject: Re: Capture serial port output to a file Date: Tue, 28 Oct 2008 22:03:58 -0400 Marc Balmer wrote: * Bruce Bauer wrote: Problem: OpenBSD 4.2 on i386 Serial port /dev/cua00 connected to the console port on a firewall. I need to catch all text output from the serial port to a file. The process doing this must survive a loss of network. The box is running headless. I could suggest you run cu in a screen session. I have used cu ... | tee logfile in the past, but there are possibly more elegant solutions Not sure it is more elegant, but I mention it just because I was happy to find out about it: script(1). It's in base. Nick.
Capture serial port output to a file
Problem: OpenBSD 4.2 on i386 Serial port /dev/cua00 connected to the console port on a firewall. I need to catch all text output from the serial port to a file. The process doing this must survive a loss of network. The box is running headless. I have tried simple things like cat and buffer, but these processes exit after one or two lines of output. I need a process that will run until interrupted, and that doesn't need a controlling session. Google searches on this yield a lot of noise about redirecting console output to a serial port. _ OpenBSD is the _only_ operating system that takes security as seriously as it should be taken. Consider the why of OpenBSD's accomplishments. Remove the why and you remove what they accomplished. Use OpenBSD and think like Windows and get Windows security.
Re: Capture serial port output to a file
screen looks like it will work. I must have missed the other mail. I'm building the port now and will report later. Thanks --- [EMAIL PROTECTED] wrote: From: Jussi Peltola [EMAIL PROTECTED] To: misc@openbsd.org Subject: Re: Capture serial port output to a file Date: Tue, 28 Oct 2008 17:22:54 +0200 On Tue, Oct 28, 2008 at 02:45:07PM +0100, Marc Balmer wrote: I could suggest you run cu in a screen session. I have used cu ... | tee logfile in the past, but there are possibly more elegant solutions Screen can do logging and open windows to serial ports directly by itself (as I mentioned in my other mail). It's been working very reliably for me; some my servers are daisy chained together, and whenever I've had one fail, the one before it has had a log of its output, even after unattended reboots. screen is a gem. A soekris and a serial card and openbsd is an incredible console server for server administration, especially compared to the dedicated hardware ones.
Re: 4.1 install issue
After the install, everything working now. Summary disks: wd0 300GB sata wd1 40GB pata wd2 30GB pata wd2 is boot disk as wd0 is reserved for virtual tape drives and will be erased frequently. The bios on this Dell Dimension 2400 is stupid, so I just avoided it by installing GAG boot manager http://gag.sourceforge.net/ and configuring it to boot with no delay from wd2. $ dmesg OpenBSD 4.1 (GENERIC) #1435: Sat Mar 10 19:07:45 MST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) 4 CPU 2.80GHz (GenuineIntel 686-class) 2.80 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,CNXT-ID,xTPR real mem = 1071693824 (1046576K) avail mem = 970477568 (947732K) using 4278 buffers containing 53706752 bytes (52448K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+ BIOS, date 12/02/03, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 0xf0450 (60 entries) bios0: Dell Computer Corporation Dimension 2400 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfeae0/144 (7 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801DB LPC rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0xb800 0xcb800/0x4800 0xd/0x1800! 0xd1800/0x2800 acpi at mainbus0 not configured cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82845G/GL rev 0x01 vga1 at pci0 dev 2 function 0 Intel 82845G/GL Video rev 0x01: aperture at 0xe800, size 0x800 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 10 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 9 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 5 usb3 at ehci0: USB revision 2.0 uhub3 at usb3 uhub3: Intel EHCI root hub, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered ppb0 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0x81 pci1 at ppb0 bus 1 pciide0 at pci1 dev 6 function 0 CMD Technology SiI3512 SATA rev 0x01: DMA pciide0: using irq 9 for native-PCI interrupt pciide0: port 1: device present, speed: 1.5Gb/s wd0 at pciide0 channel 1 drive 0: ST3320820AS wd0: 16-sector PIO, LBA48, 305245MB, 625142448 sectors wd0(pciide0:1:0): using BIOS timings, Ultra-DMA mode 6 bce0 at pci1 dev 9 function 0 Broadcom BCM4401 rev 0x01: irq 3, address 00:0f:1f:58:03:2b bmtphy0 at bce0 phy 1: BCM4401 10/100baseTX PHY, rev. 0 ichpcib0 at pci0 dev 31 function 0 Intel 82801DB LPC rev 0x01 pciide1 at pci0 dev 31 function 1 Intel 82801DB IDE rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd1 at pciide1 channel 0 drive 0: WDC WD400BB-75FJA1 wd1: 16-sector PIO, LBA, 38146MB, 78125000 sectors wd1(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide1 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: LITE-ON, COMBO SOHC-5236V, R$0K SCSI0 5/cdrom removable wd2 at pciide1 channel 1 drive 1: WDC WD300BB-75DEA0 wd2: 16-sector PIO, LBA, 28610MB, 58593750 sectors cd0(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 2 wd2(pciide1:1:1): using PIO mode 4, Ultra-DMA mode 2 ichiic0 at pci0 dev 31 function 3 Intel 82801DB SMBus rev 0x01: irq 3 iic0 at ichiic0 auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x01: irq 3, ICH4 AC97 ac97: codec id 0x41445374 (Analog Devices AD1981B) ac97: codec features headphone, 20 bit DAC, No 3D Stereo audio0 at auich0 isa0 at ichpcib0 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 pmsi0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pmsi0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 biomask ef6d netmask ef6d ttymask ffef pctr: user-level cycle counter enabled dkcsum: wd0 matches BIOS drive 0x82 dkcsum: wd1 matches BIOS drive 0x80 dkcsum: wd2 matches BIOS drive 0x81 root on wd2a rootdev=0x20 rrootdev=0x320 rawdev=0x322 On 6/18/07, bofh [EMAIL
Re: Random crash
Funny, my GENERIC kernel gives me: OpenBSD 4.1 (GENERIC) #1435: Sat Mar 10 19:07:45 MST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC Try downloading bsd from ftp.openbsd.org/pub/OpenBSD/4.1/i386 and replace the one you have and see what happens On 6/19/07, Luca Losio [EMAIL PROTECTED] wrote: Hi all, I'm having a lot of crashes with my 4.1 since I updated from 4.0 ...the console output is: page fault trap code=0 stopped at enqueue_randomness+0xc5addb%al,0(%eax) ddb I tried checking the RAM (Memtest runned 20 hours withour any error and I used this box with another ram stick) and I get the same result..a crash every 10-15 hours. Any suggestion? OpenBSD 4.1 (GENERIC) #6: Sun May 6 22:37:50 CEST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD-K6(tm) 3D processor (AuthenticAMD 586-class) 500 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX real mem = 536440832 (523868K) avail mem = 481771520 (470480K) using 4278 buffers containing 26947584 bytes (26316K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+ BIOS, date 12/27/99, BIOS32 rev. 0 @ 0xfd9a0, SMBIOS rev. 2.3 @ 0xf04f0 (23 entries) bios0: American Megatrends Inc. Uknown apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf7630/144 (7 entries) pcibios0: PCI Interrupt Router at 000:07:0 (Acer Labs M1533 ISA rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0x1 0xd/0x800 acpi at mainbus0 not configured cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Acer Labs M1541 PCI rev 0x04 ppb0 at pci0 dev 1 function 0 Acer Labs M5243 AGP/PCI-PCI rev 0x04 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 NVIDIA Vanta rev 0x15 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 7 function 0 Acer Labs M1533 ISA rev 0xc3 pciide0 at pci0 dev 15 function 0 Acer Labs M5229 UDMA IDE rev 0xc1: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: IC35L060AVVA07-0 wd0: 16-sector PIO, LBA, 58644MB, 120103200 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: LITEON, CD-ROM LTN362, UL28 SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 xl0 at pci0 dev 16 function 0 3Com 3c905 100Base-TX rev 0x00: irq 11, address 00:60:97:ad:10:76 nsphy0 at xl0 phy 24: DP83840 10/100 PHY, rev. 1 xl1 at pci0 dev 18 function 0 3Com 3c905C 100Base-TX rev 0x74: irq 9, address 00:01:02:b9:48:2c bmtphy0 at xl1 phy 24: Broadcom 3C905C internal PHY, rev. 6 ohci0 at pci0 dev 20 function 0 Opti 82C861 rev 0x10: irq 10, version 1.0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: Opti OHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: 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 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec isapnp0 at isa0 port 0x279: read port 0x203 sb1 at isapnp0 Creative SB16 PnP, CTL0031, , Audio port 0x220/16,0x330/2,0x388/4 irq 5 drq 1,5: dsp v4.13 midi1 at sb1: SB MPU-401 UART audio0 at sb1 opl0 at sb1: model OPL3 midi2 at opl0: SB Yamaha OPL3 wdc2 at isapnp0 Creative SB16 PnP, CTL2011, PNP0600, IDE port 0x100/8,0x300/2 irq 15 Creative SB16 PnP, PNP, , Reserved at isapnp0 port 0x108/1 not configured joy0 at isapnp0 Creative SB16 PnP, CTL7001, PNPB02F, Game port 0x200/8 biomask f545 netmask ff45 ttymask ffc7 pctr: user-level cycle counter enabled mtrr: K6-family MTRR support (2 registers) umass0 at uhub0 port 2 configuration 1 interface 0 umass0: Generic Flash Disk, rev 2.00/1.00, addr 2 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets sd0 at scsibus1 targ 1 lun 0: Generic, USB Flash Drive, 1.00 SCSI2 0/direct removable sd0: 508MB, 508 cyl, 64 head, 32 sec, 512 bytes/sec, 1040384 sec total dkcsum: wd0 matches BIOS drive 0x80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 wd0a: DMA error reading fsbn 128 of 128-0 (wd0 bn 191; cn 0 tn 3 sn 2), retrying wd0: soft error (corrected) WARNING: / was not properly unmounted wd0: transfer error, downgrading to Ultra-DMA mode 1 wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 1 wd0a: DMA error reading fsbn 4832 of 4832-0 (wd0 bn 4895; cn 5 tn 2 sn 44),
4.1 install issue
I'm doing some server remixes. Installing OpenBSD 4.1 on this one Dell box for 3rd time. 1st time no problem, but had a suspected application issue with AMANDA. So installed Fedora Core 6. no problem, but needed more disk space. Added SATA controller and disk. Had stability issues so upgraded to Fedora 7 and AMANDA puked. Installed OpenBSD 4.1 2nd time. No problems during install. 3 drives recognized and formatted. wd0 and wd1 are IDE and wd2 is SATA. Received congratulations message on successful install, typed in halt, removed CD and rebooted. Using disk 0, partition 3 No OS Went to the FAQ and fdisk -u wd0 no change and mount /dev/wd0a /mnt /usr/mdec/installboot -v /mnt/boot /usr/mdec/biosboot wd0 still no change I have removed the SATA card and am installing OpenBSD 4.1 3rd time. I will try putting the SATA card back in after getting a running system. When this install is finished I will have a Dmesg available.
Re: 4.1 install issue
rrootdev=0x300 rawdev=0x302 On 6/18/07, Bruce Bauer [EMAIL PROTECTED] wrote: I'm doing some server remixes. Installing OpenBSD 4.1 on this one Dell box for 3rd time. 1st time no problem, but had a suspected application issue with AMANDA. So installed Fedora Core 6. no problem, but needed more disk space. Added SATA controller and disk. Had stability issues so upgraded to Fedora 7 and AMANDA puked. Installed OpenBSD 4.1 2nd time. No problems during install. 3 drives recognized and formatted. wd0 and wd1 are IDE and wd2 is SATA. Received congratulations message on successful install, typed in halt, removed CD and rebooted. Using disk 0, partition 3 No OS Went to the FAQ and fdisk -u wd0 no change and mount /dev/wd0a /mnt /usr/mdec/installboot -v /mnt/boot /usr/mdec/biosboot wd0 still no change I have removed the SATA card and am installing OpenBSD 4.1 3rd time. I will try putting the SATA card back in after getting a running system. When this install is finished I will have a Dmesg available.
Re: 4.1 install issue
Nice conversation with myself here. did some googling tried: boot-c disable pciide pciide disabled quit system booted with the SATA hard drive attached but not recognized This snippet from dmesg shows why: CMD Technology SiI3512 SATA rev 0x01 at pci1 dev 6 function 0 not configured pciide(4) shows this is supported hardware: Silicon Image SiI3112, SiI3512, SiI3114 Anybody with a relavent cluebat is welcome to give me a whack. On 6/18/07, Bruce Bauer [EMAIL PROTECTED] wrote: 3rd install finished, booted up with no problem. Added SATA card back in, booted up with no problem. Connected SATA hard drive, get many problems with various mounts being busy Here is some hand copied console output with a SATA drive connected during boot: /dev/rwd0d: MARKING FILE SYSTEM CLEAN /dev/rwd0e: MARKING FILE SYSTEM CLEAN mount_ffs: /dev/wd0a on /: Invalid argument mount_ffs: /dev/wd1a on /usr: Device busy mount_ffs: /dev/wd0a on /: Invalid argument setting tty flags machdep.allowaperture: 0-2 startnetwork override rw-r--r-- root/wheel for /etc/resolv.conf? I stopped it there. dmesg is below: The SATA card shows up as pciide0 This is with SATA card, but no SATA drive OpenBSD 4.1 (GENERIC) #1435: Sat Mar 10 19:07:45 MST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) 4 CPU 2.80GHz (GenuineIntel 686-class) 2.80 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,CNXT-ID,xTPR real mem = 1071693824 (1046576K) avail mem = 970477568 (947732K) using 4278 buffers containing 53706752 bytes (52448K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+ BIOS, date 12/02/03, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 0xf0450 (60 entries) bios0: Dell Computer Corporation Dimension 2400 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfeae0/144 (7 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801DB LPC rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0xb800 0xcb800/0x1800! 0xcd000/0x3000 acpi at mainbus0 not configured cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82845G/GL rev 0x01 vga1 at pci0 dev 2 function 0 Intel 82845G/GL Video rev 0x01: aperture at 0xe800, size 0x800 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 10 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 9 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 5 usb3 at ehci0: USB revision 2.0 uhub3 at usb3 uhub3: Intel EHCI root hub, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered ppb0 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0x81 pci1 at ppb0 bus 1 pciide0 at pci1 dev 5 function 0 CMD Technology SiI3512 SATA rev 0x01: DMA pciide0: using irq 3 for native-PCI interrupt bce0 at pci1 dev 9 function 0 Broadcom BCM4401 rev 0x01: irq 3, address 00:0f:1f:58:03:2b bmtphy0 at bce0 phy 1: BCM4401 10/100baseTX PHY, rev. 0 ichpcib0 at pci0 dev 31 function 0 Intel 82801DB LPC rev 0x01 pciide1 at pci0 dev 31 function 1 Intel 82801DB IDE rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide1 channel 0 drive 0: WDC WD400BB-75FJA1 wd0: 16-sector PIO, LBA, 38146MB, 78125000 sectors wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide1 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: LITE-ON, COMBO SOHC-5236V, R$0K SCSI0 5/cdrom removable wd1 at pciide1 channel 1 drive 1: WDC WD300BB-75DEA0 wd1: 16-sector PIO, LBA, 28610MB, 58593750 sectors cd0(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 2 wd1(pciide1:1:1): using PIO mode 4, Ultra-DMA mode 2 ichiic0 at pci0 dev 31 function 3 Intel 82801DB SMBus rev 0x01: irq 3 iic0 at ichiic0 auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x01: irq 3, ICH4 AC97 ac97: codec id 0x41445374 (Analog Devices AD1981B) ac97: codec features headphone, 20 bit DAC, No 3D Stereo audio0 at auich0 isa0 at ichpcib0 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 pmsi0 at pckbc0 (aux slot) pckbc0
Re: 4.1 install issue
You nailed it down! After boot-s, examining the dmesg shows the SATA drive is wd0 and the former wd0 is wd1 and the former wd1 is wd2. Now if my thinking is correct, all I should have to do is edit fstab to reflect the changed drive positions and the system should be happy. On 6/18/07, Stuart Henderson [EMAIL PROTECTED] wrote: On 2007/06/18 11:53, Bruce Bauer wrote: Anybody with a relavent cluebat is welcome to give me a whack. boot -s, look at disklabels and/or manually mount partitions and work out what's showing up where. Perhaps the SATA drive appears as wd0 and shunts the other drives along.
Re: 4.1 install issue
Here is new dmesg from working system: Thanks for your help! Bruce OpenBSD 4.1 (GENERIC) #1435: Sat Mar 10 19:07:45 MST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) 4 CPU 2.80GHz (GenuineIntel 686-class) 2.80 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,CNXT-ID,xTPR real mem = 1071693824 (1046576K) avail mem = 970477568 (947732K) using 4278 buffers containing 53706752 bytes (52448K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+ BIOS, date 12/02/03, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 0xf0450 (60 entries) bios0: Dell Computer Corporation Dimension 2400 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfeae0/144 (7 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801DB LPC rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0xb800 0xcb800/0x4800 0xd/0x1800! 0xd1800/0x2800 acpi at mainbus0 not configured cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82845G/GL rev 0x01 vga1 at pci0 dev 2 function 0 Intel 82845G/GL Video rev 0x01: aperture at 0xe800, size 0x800 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 10 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 9 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 5 usb3 at ehci0: USB revision 2.0 uhub3 at usb3 uhub3: Intel EHCI root hub, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered ppb0 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0x81 pci1 at ppb0 bus 1 pciide0 at pci1 dev 6 function 0 CMD Technology SiI3512 SATA rev 0x01: DMA pciide0: using irq 9 for native-PCI interrupt pciide0: port 1: device present, speed: 1.5Gb/s wd0 at pciide0 channel 1 drive 0: ST3320820AS wd0: 16-sector PIO, LBA48, 305245MB, 625142448 sectors wd0(pciide0:1:0): using BIOS timings, Ultra-DMA mode 6 bce0 at pci1 dev 9 function 0 Broadcom BCM4401 rev 0x01: irq 3, address 00:0f:1f:58:03:2b bmtphy0 at bce0 phy 1: BCM4401 10/100baseTX PHY, rev. 0 ichpcib0 at pci0 dev 31 function 0 Intel 82801DB LPC rev 0x01 pciide1 at pci0 dev 31 function 1 Intel 82801DB IDE rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd1 at pciide1 channel 0 drive 0: WDC WD400BB-75FJA1 wd1: 16-sector PIO, LBA, 38146MB, 78125000 sectors wd1(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide1 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: LITE-ON, COMBO SOHC-5236V, R$0K SCSI0 5/cdrom removable wd2 at pciide1 channel 1 drive 1: WDC WD300BB-75DEA0 wd2: 16-sector PIO, LBA, 28610MB, 58593750 sectors cd0(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 2 wd2(pciide1:1:1): using PIO mode 4, Ultra-DMA mode 2 ichiic0 at pci0 dev 31 function 3 Intel 82801DB SMBus rev 0x01: irq 3 iic0 at ichiic0 auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x01: irq 3, ICH4 AC97 ac97: codec id 0x41445374 (Analog Devices AD1981B) ac97: codec features headphone, 20 bit DAC, No 3D Stereo audio0 at auich0 isa0 at ichpcib0 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 pmsi0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pmsi0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 biomask ef6d netmask ef6d ttymask ffef pctr: user-level cycle counter enabled dkcsum: wd0 matches BIOS drive 0x82 dkcsum: wd1 matches BIOS drive 0x80 dkcsum: wd2 matches BIOS drive 0x81 root on wd1a rootdev=0x10 rrootdev=0x310 rawdev=0x312 On 6/18/07, Bruce Bauer [EMAIL PROTECTED] wrote: You nailed it down! After boot-s, examining the dmesg shows the SATA drive is wd0 and the former wd0 is wd1 and the former wd1 is wd2. Now if my thinking is correct, all I should have to do is edit fstab to reflect the changed drive positions and the system should be happy. On 6/18/07
Re: 4.1 install issue
Well, the loader actually looks at hd0 and the system was able to boot with a modified fstab, but then disklabel shows info for incorrect drives and I am not able to mount the new drive. I will try boot -c and your suggestions and let you know what happens On 6/18/07, Marco S Hyman [EMAIL PROTECTED] wrote: Bruce Bauer writes: You nailed it down! After boot-s, examining the dmesg shows the SATA drive is wd0 and the former wd0 is wd1 and the former wd1 is wd2. Now if my thinking is correct, all I should have to do is edit fstab to reflect the changed drive positions and the system should be happy. If the loader is looking to wd0 for the kernel changing the fstab will do nothing. I have a custom kernel to set the sata as wd0 # IDE hard drives wd1 at pciide? flags 0x wd0 at pciide? flags 0x wd* at pciide? flags 0x but you can do the same thing with a GENERIC kernel by playing with config -e or boot -c neko[GENERIC]$ config -e bsd OpenBSD 4.1-current (GENERIC) #34: Sun May 27 15:11:12 PDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC warning: no output file specified Enter 'help' for information ukc find wd 42 wd* at wdc*|pciide* channel -1 flags 0x0 ukc add wd1 Clone Device (DevNo, 'q' or '?') ? 42 Insert before Device (DevNo, 'q' or '?') ? 42 42 wd1 at wdc*|pciide* channel -1 flags 0x0 ukc add wd0 Clone Device (DevNo, 'q' or '?') ? 43 Insert before Device (DevNo, 'q' or '?') ? 43 43 wd0 at wdc*|pciide* channel -1 flags 0x0 ukc find wd 42 wd1 at wdc*|pciide* channel -1 flags 0x0 43 wd0 at wdc*|pciide* channel -1 flags 0x0 44 wd* at wdc*|pciide* channel -1 flags 0x0 ukc // marc
Re: 4.1 install issue
Call me stupid and beat me with that cluebat until it's in little pieces! I finally realized that I caused all my problems by assuming the drive order during install. I am now installing again and before initializing the drives, dropped to the shell and confirmed the drive order. The SATA drive is wd0 and bios drives 80 and 81 are wd1 and wd2. So now I'll be booting from the 30G drive instead of trying to boot from the 300G drive. I'm pretty sure this will resolve the problems I have been dealing with, and will follow up here with status when the install completes Bruce On 6/18/07, Bruce Bauer [EMAIL PROTECTED] wrote: Well, the loader actually looks at hd0 and the system was able to boot with a modified fstab, but then disklabel shows info for incorrect drives and I am not able to mount the new drive. I will try boot -c and your suggestions and let you know what happens On 6/18/07, Marco S Hyman [EMAIL PROTECTED] wrote: Bruce Bauer writes: You nailed it down! After boot-s, examining the dmesg shows the SATA drive is wd0 and the former wd0 is wd1 and the former wd1 is wd2. Now if my thinking is correct, all I should have to do is edit fstab to reflect the changed drive positions and the system should be happy. If the loader is looking to wd0 for the kernel changing the fstab will do nothing. I have a custom kernel to set the sata as wd0 # IDE hard drives wd1 at pciide? flags 0x wd0 at pciide? flags 0x wd* at pciide? flags 0x but you can do the same thing with a GENERIC kernel by playing with config -e or boot -c neko[GENERIC]$ config -e bsd OpenBSD 4.1-current (GENERIC) #34: Sun May 27 15:11:12 PDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC warning: no output file specified Enter 'help' for information ukc find wd 42 wd* at wdc*|pciide* channel -1 flags 0x0 ukc add wd1 Clone Device (DevNo, 'q' or '?') ? 42 Insert before Device (DevNo, 'q' or '?') ? 42 42 wd1 at wdc*|pciide* channel -1 flags 0x0 ukc add wd0 Clone Device (DevNo, 'q' or '?') ? 43 Insert before Device (DevNo, 'q' or '?') ? 43 43 wd0 at wdc*|pciide* channel -1 flags 0x0 ukc find wd 42 wd1 at wdc*|pciide* channel -1 flags 0x0 43 wd0 at wdc*|pciide* channel -1 flags 0x0 44 wd* at wdc*|pciide* channel -1 flags 0x0 ukc // marc
Re: 4.0 locked up over the weekend
Update: I've experienced 3 more hard lockups. No messgaes on the console screen. Nothing unusual in any of the log file that I've found. Make running in /upr/ports/x11/kde was interrupted at different tasks each time, (downloading, compiling, and running a configure script). System recovered each time with no problems after a powercycle. Are there some system monitoring tools I should be running to keep track of various resources? On 5/8/07, Bruce Bauer [EMAIL PROTECTED] wrote: Initial results: complied bonnie++ from ports make is running in ports/x11/kde 2 video streams passsing through VPN tunnel at abou 32 fps total output from bonnie++: Version 1.03 --Sequential Output-- --Sequential Input- --Random- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- MachineSize K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP roadrunner.for 300M 50379 46 49432 6 6322 1 25376 41 34974 4 130.7 0 --Sequential Create-- Random Create -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 2542 5 + +++ 5113 8 2898 7 + +++ 5478 9 roadrunner.fortechsw.com,300M,50379,46,49432,6,6322,1,25376,41,34974,4,130.7,0,16,2542,5,+,+++,5113,8,2898,7,+,+++,5478,9 ran uptime after bonnie++ finished 11:21AM up 1 day, 2:15, 2 users, load averages: 4.08, 3.15, 2.55 Everything seems to be running smoothly Bruce On 5/8/07, Joachim Schipper [EMAIL PROTECTED] wrote: On Tue, May 08, 2007 at 09:05:44AM -0700, Bruce Bauer wrote: Probably a good idea to put some load on the sytem anyway. See how the VPN data transfer holds up. Downloading ports.tar.gz now Running make in ports/www/kde should keep it busy for a while Not familiar with bonnie++, I'll check it out Bonnie++ just generates a lot of I/O. The 'ghetto' version involves running 'tar xzf srf.tar.gz; rm -rf src' in a loop. Let us know how it goes... Joachim -- TFMotD: tht, thtc (4) - Tehuti Networks 10Gb Ethernet device
Re: 4.0 locked up over the weekend
Hmmm... Probably a good idea to put some load on the sytem anyway. See how the VPN data transfer holds up. Downloading ports.tar.gz now Running make in ports/www/kde should keep it busy for a while Not familiar with bonnie++, I'll check it out Thanks, Bruce On 5/7/07, Joachim Schipper [EMAIL PROTECTED] wrote: On Mon, May 07, 2007 at 12:42:55PM -0700, Bruce Bauer wrote: On 5/7/07, Jack J. Woehr [EMAIL PROTECTED] wrote: On May 7, 2007, at 12:20 PM, Bruce Bauer wrote: This system has been running flawlessly since mid-March with GENERIC plus the 010 patch. dmesg below This morning I found it totally unresponsive both through network and at the console. Had to use the power switch to recover. Where do I start trying to track this down? Open the box and check your power supply and blow it out with air if it's full of dust. Number one cause of mysterious lockups in my personal experience. Next, run a memory test. Only then start trying to debug software, e.g., OpenBSD. Thanks for the response. OK, maybe a little less basic than that. The system is sitting in a restricted access server room. Not a clean room, but very little dust. Nice and cool.. The system still looks brand new, inside and out. The purpose of this system is to receive streaming video data over the VPN from IP webcams. It doesn't do anything with the data except pass it on to a DVR system over the local network. Plans are to add another network card so the VPN and the local network will be on separate channels. But, for now, it all goes through one card. It has worked in this configuration for over a month with video from 2 cameras coming in. Oops! Message from Joachim Schipper just came in: There were no console messages The authlog does show that someone is trying to brute force an ssh login. I think I'll turn off sshd for now... Nah, script kiddies trying to bruteforce SSH logins are so common that I just tuned them out of the log parser altogether. Just use public keys, or good passwords. That said, Jack might be right to suspect some random hardware failure. If this is the case, how about some proper stress testing (compiling the whole system is fairly good in exercising CPU and memory, something like bonnie++ might help you to test the disk?). If that doesn't work, the software might be problematic... Joachim -- TFMotD: piconv (1) - iconv(1), reinvented in perl
Re: Prevent circumventing dansguardian with pf
Any working TCP/IP connection can transmit covert data by encoding the data in the sequence numbers. Let's not forget to block/allow new protocols such as described in RFC 1149 On 5/7/07, Open Phugu [EMAIL PROTECTED] wrote: On 5/7/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: From: Sebastian Benoit [EMAIL PROTECTED] If you want deny users the possiblility to smuggle data outside of their workplace (or whatever) then don't connect them to the internet. No, no, no. You must go one step beyond this if you want to prevent employees from smuggling data. To do this properly, copy machines should be remove! Pen, pencils and papers removed! Employees should be searched for thumb drives, zip drive, floppy drives, tape recorders, papers, cd's, dvd's, and burners. It's better to strip search them just to be sure. As a matter of fact, because humans are so innovative, all materials should be removed from the office because I'm sure someone will come up with some way to write something down. Oh, don't forget to remove phones, faxes and cell phones, and cameras. You should only hire people who don't know how to read or write to reduce the work load of preventing others from smuggling data. It's probably best that they don't know how to receive or transmit any form of language/communication either. Also, make the whole building a large faraday cage to prevent them from using radio communication. And have automatic direction-finding recievers to triangulate the location of (l)users who attempt to use radio. In fact, there is a much cheaper method: don't hire humans. _Every_ compromise of security or instance of data exfiltration has been traced back to a human action. If you don't have humans, you don't have problems.
Re: 4.0 locked up over the weekend
Initial results: complied bonnie++ from ports make is running in ports/x11/kde 2 video streams passsing through VPN tunnel at abou 32 fps total output from bonnie++: Version 1.03 --Sequential Output-- --Sequential Input- --Random- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- MachineSize K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP roadrunner.for 300M 50379 46 49432 6 6322 1 25376 41 34974 4 130.7 0 --Sequential Create-- Random Create -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 2542 5 + +++ 5113 8 2898 7 + +++ 5478 9 roadrunner.fortechsw.com,300M,50379,46,49432,6,6322,1,25376,41,34974,4,130.7,0,16,2542,5,+,+++,5113,8,2898,7,+,+++,5478,9 ran uptime after bonnie++ finished 11:21AM up 1 day, 2:15, 2 users, load averages: 4.08, 3.15, 2.55 Everything seems to be running smoothly Bruce On 5/8/07, Joachim Schipper [EMAIL PROTECTED] wrote: On Tue, May 08, 2007 at 09:05:44AM -0700, Bruce Bauer wrote: Probably a good idea to put some load on the sytem anyway. See how the VPN data transfer holds up. Downloading ports.tar.gz now Running make in ports/www/kde should keep it busy for a while Not familiar with bonnie++, I'll check it out Bonnie++ just generates a lot of I/O. The 'ghetto' version involves running 'tar xzf srf.tar.gz; rm -rf src' in a loop. Let us know how it goes... Joachim -- TFMotD: tht, thtc (4) - Tehuti Networks 10Gb Ethernet device
Re: Any Gotchas when installing on a box and running on another box?
I've done this about release of 3.0. As long as you are using supported hardware in both machines you shouldn't have any problems. Don't configure X (if you plan on using it) until you're on the final hardware. That and NIC changes should take care of most if not all issues Bruce On 5/8/07, Jean-Daniel Beaubien [EMAIL PROTECTED] wrote: Hi everyone, What do I have to take into account if I plan on doing a fresh install in one box and then take the hard drive and put it in another box? I am aware of the networking configs that I will have to change. But apart from that, can this cause any problem? Thank you, -Jd
4.0 locked up over the weekend
This system has been running flawlessly since mid-March with GENERIC plus the 010 patch. dmesg below This morning I found it totally unresponsive both through network and at the console. Had to use the power switch to recover. Where do I start trying to track this down? The system is running sshd and openvpn only DMESG: OpenBSD 4.0 (GENERICp) #0: Fri Mar 16 19:07:33 MST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERICp cpu0: AMD Sempron(tm) Processor 3000+ (AuthenticAMD 686-class, 256KB L2 cache) 1.61 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16 real mem = 501706752 (489948K) avail mem = 449642496 (439104K) using 4256 buffers containing 25186304 bytes (24596K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(f0) BIOS, date 02/27/07, BIOS32 rev. 0 @ 0xfa820, SMBIOS rev. 2.4 @ 0xf (41 entries) 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 3.0 @ 0xf/0xcfd4 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfcee0/240 (13 entries) pcibios0: bad IRQ table checksum pcibios0: PCI BIOS has 13 Interrupt Routing table entries pcibios0: PCI Exclusive IRQs: 5 10 11 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/0xde00 0xd/0x1800 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) NVIDIA C51 Host rev 0xa2 at pci0 dev 0 function 0 not configured NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 1 not configured NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 2 not configured NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 3 not configured NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 4 not configured NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 5 not configured NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 6 not configured NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 7 not configured ppb0 at pci0 dev 3 function 0 NVIDIA C51 PCIE rev 0xa1 pci1 at ppb0 bus 1 ppb1 at pci0 dev 4 function 0 NVIDIA C51 PCIE rev 0xa1 pci2 at ppb1 bus 2 vga1 at pci0 dev 5 function 0 NVIDIA GeForce 6100 rev 0xa2 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) NVIDIA MCP51 Host rev 0xa2 at pci0 dev 9 function 0 not configured pcib0 at pci0 dev 10 function 0 vendor NVIDIA, unknown product 0x0261 rev 0xa3 nviic0 at pci0 dev 10 function 1 NVIDIA MCP51 SMBus rev 0xa3 iic0 at nviic0 iic1 at nviic0 NVIDIA MCP51 Memory rev 0xa3 at pci0 dev 10 function 2 not configured ohci0 at pci0 dev 11 function 0 NVIDIA MCP51 USB rev 0xa3: irq 10, version 1.0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: NVIDIA OHCI root hub, rev 1.00/1.00, addr 1 uhub0: 8 ports with 8 removable, self powered ehci0 at pci0 dev 11 function 1 NVIDIA MCP51 USB rev 0xa3: irq 11 usb1 at ehci0: USB revision 2.0 uhub1 at usb1 uhub1: NVIDIA EHCI root hub, rev 2.00/1.00, addr 1 uhub1: 8 ports with 8 removable, self powered pciide0 at pci0 dev 13 function 0 NVIDIA MCP51 IDE rev 0xa1: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility pciide0: channel 0 disabled (no drives) atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: Lite-On, LTN486 48x Max, YD01 SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 pciide1 at pci0 dev 14 function 0 NVIDIA MCP51 SATA rev 0xa1: DMA pciide1: using irq 11 for native-PCI interrupt wd0 at pciide1 channel 0 drive 0: WDC WD800JD-00MSA1 wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 ppb2 at pci0 dev 16 function 0 NVIDIA MCP51 PCI-PCI rev 0xa2 pci3 at ppb2 bus 3 auich0 at pci0 dev 16 function 2 NVIDIA MCP51 AC97 rev 0xa2: irq 11, MCP51 AC97 ac97: codec id 0x414c4760 (Avance Logic ALC655 rev 0) audio0 at auich0 nfe0 at pci0 dev 20 function 0 NVIDIA MCP51 LAN rev 0xa3: irq 10, address 00:19:21:33:1d:93 ukphy0 at nfe0 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI 0x0050ef, model 0x0007 pchb0 at pci0 dev 24 function 0 AMD AMD64 HyperTransport rev 0x00 pchb1 at pci0 dev 24 function 1 AMD AMD64 Address Map rev 0x00 pchb2 at pci0 dev 24 function 2 AMD AMD64 DRAM Cfg rev 0x00 pchb3 at pci0 dev 24 function 3 AMD AMD64 Misc Cfg rev 0x00 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 it0 at isa0 port 0x290/8: IT87 npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 biomask ef6d
Re: 4.0 locked up over the weekend
On 5/7/07, Jack J. Woehr [EMAIL PROTECTED] wrote: On May 7, 2007, at 12:20 PM, Bruce Bauer wrote: This system has been running flawlessly since mid-March with GENERIC plus the 010 patch. dmesg below This morning I found it totally unresponsive both through network and at the console. Had to use the power switch to recover. Where do I start trying to track this down? Open the box and check your power supply and blow it out with air if it's full of dust. Number one cause of mysterious lockups in my personal experience. Next, run a memory test. Only then start trying to debug software, e.g., OpenBSD. -- Jack J. Woehr Director of Development Absolute Performance, Inc. [EMAIL PROTECTED] 303-443-7000 ext. 527 Thanks for the response. OK, maybe a little less basic than that. The system is sitting in a restricted access server room. Not a clean room, but very little dust. Nice and cool.. The system still looks brand new, inside and out. The purpose of this system is to receive streaming video data over the VPN from IP webcams. It doesn't do anything with the data except pass it on to a DVR system over the local network. Plans are to add another network card so the VPN and the local network will be on separate channels. But, for now, it all goes through one card. It has worked in this configuration for over a month with video from 2 cameras coming in. Oops! Message from Joachim Schipper just came in: There were no console messages The authlog does show that someone is trying to brute force an ssh login. I think I'll turn off sshd for now...
Re: booteasy fate?
Don't beat a dead horse. This should do whatever you need: http://gag.sourceforge.net/ On 5/7/07, Aaron Hsu [EMAIL PROTECTED] wrote: On Mon, 07 May 2007 15:09:34 -0500, Michael Dexter [EMAIL PROTECTED] wrote: I have found references to: /pub/OpenBSD/3.6/tools/booteasy suggesting that it was part of the distribution but I do not see it listed for 3.7 and newer. I do not see a 3.7 changelist entry for it and I the online man pages to not seem to refer to it. From the looks however, it was an official OpenBSD boot manager. I fold! What was it and what happend to it? It is a boot manager. :-) I used to use it around the 3.6 era. However, I haven't used it for some time, and I'm not sure if it is still around. I haven't searched for it. Hrm, a quick search reveals that it, at least, is not in the tools directory anymore, though os-bs still is. os-bs is a boot manager that I have been using when necessary since 3.8 I think. -- Aaron Hsu [EMAIL PROTECTED] No one could make a greater mistake than he who did nothing because he could do only a little. - Edmund Burke
binat questions
Using OpenBSD 4.0 Using binat for the first time in the real world Questions: binat pass on fxp0 from $server_int to any - $server_ext does this bypass all other pf filter rules? binat on fxp0 from $server_int to any - $server_ext does this form allow filtering? Googleing comes up with many different opinions
Re: binat questions
Yes, it shows that for a nat rule but doesn't mention anything about pass on a binat rule. I only discovered that binat accepts pass from the grammer section of pf.conf(5). I can't find any authority that states that binat pass... causes a bypass of all filtering as it does with nat pass... On 3/22/07, Dag Richards [EMAIL PROTECTED] wrote: A quick read of the faq shows the pass keyword causes a bypass all filtering ...so don't use it if you want your filters to be applied . Bruce Bauer wrote: Using OpenBSD 4.0 Using binat for the first time in the real world Questions: binat pass on fxp0 from $server_int to any - $server_ext does this bypass all other pf filter rules? binat on fxp0 from $server_int to any - $server_ext does this form allow filtering? Googleing comes up with many different opinions
Re: Tyan v. Supermicro for Opteron?
I have used MBs from both of these manufacturers. Not with OBSD and not with AMD. I have found that both make quality server boards. The difference I have seen is that Tyan has had some quality control problems. I had a string of boards from them that had problems with the serial ports while the rest of the board functioned properly.Tyan replaced the defective boards in a timely manner so I remain a fan of Tyan. I have never had any problem with a SuperMicro board. I have built several quad Xeon servers with them and the only problem encountered was a redundant power supply failure in a SuperMicro system. No board problems. I don't think you could go wrong by selecting a product from either of these manufacturers On 8/6/06, Darrin Chandler [EMAIL PROTECTED] wrote: Ok, I've got it narrowed down a bit. Anyone have experiences good or bad to report with Tyan versus Supermicro mobos? I find archives for people using one or the other, so they both seem workable. Anyone used both and prefer one for some reason? I'm looking at 2xCPU, and maybe dual-core in addition. Any help *greatly* appreciated! -- Darrin Chandler| Phoenix BSD Users Group [EMAIL PROTECTED] | http://bsd.phoenix.az.us/ http://www.stilyagin.com/ |
Re: Do mp3 concatenation programs exist?
Very enteraining. Thanks all for brightening my morning On 7/17/06, Rod.. Whitworth [EMAIL PROTECTED] wrote: On Mon, 17 Jul 2006 05:53:04 -0400, Marcus Watts wrote: Randomness leading up to There are no useful answers for idiots. I like that phrase, I'll have to remember that one. Just for the hell of it, I'll try offering a few useless answers. { it's clear the originator isn't worried about secrecy or anonymity, given he's using a remote radius server and asked for help in a public forum. } { if he *was* interested in privacy anonymity, surely he'd be exploring broadcast or unidirectional protocols such as digital radio mondiale and not asking us questions. } 1. I'm pretty sure Vincent Cerf didn't intend for any tcp protocols to survive changing the IP address every minute. Although a lot of his work seems to have involved machines that were too heavy to carry and too expensive to re-address every minute, he appears to have nevertheless been keenly interested in mobile computing radio use before either were common. I've no doubt he'd be amused by the originator's attempt, though I doubt he'd be supportive. The problem does sound remarkably like a worst case roaming scenario with wireless IP. Maybe something involving a revolving restaurant? { Since the originator of this thread appears to have been relying on what are presumably non-dedicated data circuits shared servers, his connections are subject to random delay depending on competition from other user(s) of those services. Excessive delay will surely lead to lost data, and snippets that cannot be pasted together without weirdness. Presumably those delays will get worse with time... } 2. If you *were* trying to piece together a reliable data feed out of very short snippets, you'd probably have much better luck if you managed up to *two* separate overlapping connections -- dropping one once you've sync'd up with the other. Dropping duplicated data is easier than recreating lost data. 3. If you wanted to use internet protocols to give you a reliable feed (instead of making one yourself as in 2), you'll want to run a vpn on top of your physical connection, so that you can then use tcp to manage packet drops due to the underlying connection randomly disappearing. 4. sox will concatenate mp3 input's together. You'd then need to re-encode the output stream using some mp3 encoder. sox won't be capable of recovering data lost due to network drops, and it's not going to help you with pasting snippets together either. There is tons of other audio software that can do the same thing, with variable amounts of fluff and bother. 5. There are a bunch of people who are very keen on matching audio fragments up. Some phrases they like to use are audio finger-printing, or automatic music identification. Unfortunately these are also the very same people who tend to be real keen on proprietary data software techniques. Fortunately for you, the patent process is supposed to encourage people to provide sufficient information to make it possible to make experimental use of patented technology. Unfortunately for you, supposed to to a lawyer is rather like what possible means to a mathematician who is asked if the product of large primes can be factored. -Marcus Watts What a beautiful piece of writing. There are chunks that I cannot claim expertise on. Even they sound plausible (in the non-derogatory sense) and the bits that I do know about seem consistant with reality. Marcus, it was a joy to read a well constructed essay with no ad hominem bits that should, but I would not bet my lefty on it, be the end of this tiresome thread. Or at least the end of the discursive part, you may see other compliments. ;-) From the land down under: Australia. Do we look umop apisdn from up over? Do NOT CC me - I am subscribed to the list. Replies to the sender address will fail except from the list-server. Your IP address will also be greytrapped for 24 hours after any attempt. I am continually amazed by the people who run OpenBSD who don't take this advice. I always expected a smarter class. I guess not.
Re: BOB is dying.
I actually ran across one of those shady web sites selling commercial software at rediculous prices last year. The interesting part was that they were offering Microsoft BOB 1.0 for $30.00 On 7/16/06, Chris Zakelj [EMAIL PROTECTED] wrote: Matthias Kilian wrote: On Sun, Jul 16, 2006 at 02:54:35PM -0400, Tim Donahue wrote: I swear, spam keeps getting wierder and wierder It's not spam, it's modern art. You can use it for poetry. I thought it might have been one of those BSD is dying! trolls on slashdot, except they were referring to Microsoft BOB. Ten years late, but at least they'd have gotten one right for a change :)
Re: dhcpd in combination with foolish windows computers
On 8/29/05, Stephan Leemburg [EMAIL PROTECTED] wrote: Hello @misc, I am in the unfortunate position to have been donated 2 windowsnetworks, due to a merger of our company. As a unix/macos (which now is unix) only site, I'm confronted with very strange things. At the moment I'm experiencing an unwilling windows client. It has an DHCP Client Identifier configured and in it's DHCPDISCOVER it is overwriting the chaddr field (which should contain it's hardware address) with a 16 bytes long Client Identifier. It has it's hlen field set to this 16 bytes, but the hardware type is set to 1, which is Ethernet. And as we all know Ethernet addresses are not 16 bytes long. So now my generated dhcpd.conf does not accept this. I have put in an option dhcp-client-identifier, but still dhcpd looks at the hardware address and refuses it. Deleting the hardware ethernet line, leaving only the dhcp-client-identifier also does not solve the problem. Has anyone ever had similar experiences and know how to solve this? I also think a patch to dhcpd would be in place. I will write one tomorrow and submit it. The dhcpd server will have to look at the chaddr/type and hlen and if the combination is wrong (a 16 byte ethernet address, which matches the client identifier value), then it should either replace the chaddr with the correct ethernet address or just ignore the message, which as far as I can tell is violating the rfc. -- Stephan Leemburg Windows DHCP client always has been and probably always will be broken. Look here: http://lists.debian.org/debian-laptop/2002/02/msg00357.html The problem was well documented in NetWare 5 DHCP server docs. After watching the debug screen on one of these, it looks like the Windows client ignors DHCP NACK packets for requested IP addresses. YMMV
Re: PF and routing
sorry for the top post, but it makes more sense in this case. change the netmask for all internal interfaces to 255.255.0.0 and they will all be on the same subnet - no routing needed. Then make the default route on all workstations and the ciscos point to the internal interface on the firewall. _ Unix has the bottom 95% of what you'd want in an OS. Windows has the top 30% (it's kinda pretty to the new, but if you dig a bit, you find that's it's all on top of nothing). --- B4nsh33 [EMAIL PROTECTED] wrote: From: B4nsh33 [EMAIL PROTECTED] Date: Thu, 25 Aug 2005 17:02:54 -0600 To: misc@openbsd.org Subject: PF and routing Hi people, im having some problems implementing a firewall/router for my company. the firewall has two interfaces, one to local lan and one to the isp's router (static ip). We have local and remote offices, interconnected by a wan link (cisco routers). the local office is configured in the 192.168.10.x network, default gateway 192.168.10.100 (firewall's internal ip), remote office is configured in 192.168.20.x network, default gateway 192.168.20.1 (remote router's internal ip). local firewall will be providing internet access to both networks.this is working flawlessly, my problem is the routing between local and remote office, i want the firewall route between both networks and internet.ie. INTERNET ^ | ++ | PF | ++ .100 | | | LOCAL OFFICE | REMOTE OFFICE 192.168.10.x | +--+ +--+ 192.168.20.x |R1|---|R2|-- | | .1 +--+ ^ +--+ .1 | .2 | .3 | | .6 | +---+ +---+ | +---+ |ws1| |ws2| | |ws3| +---+ +---+ SERIAL +---+ LINK tipical ws1 ip configuration: IP Address. . . . . . . . . . . . : 192.168.10.2 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.10.100 tipical ws3 ip configuration IP Address. . . . . . . . . . . . : 192.168.20.6 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.20.1 netstat -rn on the firewall Internet: Destination Gateway Flags Interface default 200.13.161.65 UGS fxp0 127/8 127.0.0.1 UGRS lo0 127.0.0.1 127.0.0.1 UH lo0 192.168.10/24 link#2 UC fxp1 192.168.20/24 192.168.10.1 UGS fxp1 this is my pf.conf ### ## pf.conf ### # interfaces if_net = fxp0 # internet if_loc = fxp1 # red local # groups table loc_nets { 192.168.10.0/24, 192.168.20.0/24 } # Options set block-policy drop scrub in all # NAT nat pass on $if_net from loc_nets to any - $ip_pub # Packet Filtering # default policy block log all label DEFAULT BLOCK: # trusted interfaces pass in quick on lo0 all pass out quick on lo0 all ## FILTER RULES pass in quick on $if_loc from loc_nets to any flags S/SA keep state If ping from ws1 to ws2 i get Request timed out, trying to solve the problem i addedd this line to pf.conf: pass out quick on $if_loc from loc_nets to loc_nets keep state Is this lines really necesary or am i missing something, may be in sysctl.conf? sorry for the endlessly email, but i wanted to make clear, thanks
Re: wireless support
On 6/28/05, David Hill [EMAIL PROTECTED] wrote: On Tue, Jun 28, 2005 at 08:53:13AM -0400, Josh Grosse wrote: On Mon, Jun 27, 2005 at 11:46:42PM -0700, Bruce Bauer wrote: ..Get another WAP11($40-$60), make sure they have the same firmware version and configure them as a wireless bridge. They can be configured so they will only talk to each other. Of course, that means that if you still need an access point to connect to you will need another access point for that purpose. Very true. But it's more than just firmware, the hardware versions should also match. There have been several different hardware products called WAP11 by Linksys: The original WAP11, then Version 2.2, Version 2.6 and Version 2.8. Each of these has different firmware, too. Yes, and the version 2.2 hardware has hacked firmware available that lets you overpower it. But that also makes the signal bleed all over the ajacent channels. Why would you choose a Linksys AP over a PCI card though? That would be because he stated that he wanted to connect two networks, not just connect to his neighbor's network. Also the WAP11 is a multiprotocol router that will connect more than just TCP/IP networks. I have a pair of these (Version 2.8) in operation getting 11mb / sec at a distance of about 100ft through 2 walls
Re: wireless support
--- David Hill [EMAIL PROTECTED] wrote: From: David Hill [EMAIL PROTECTED] Date: Tue, 28 Jun 2005 00:19:46 -0400 (EDT) To: misc@openbsd.org Subject: wireless support Hello - My neighbor has a Linksys WAP11 access point. We would like to join networks.Both our networks are in our basements. The distance is about 70ft. Would I get better signal/performance buying something similar to my neighbor, or purchasing a wireless PCI card for my OpenBSD box? If the PCI card would be the better solution, which chipset should I look into getting? Thanks David Get another WAP11($40-$60), make sure they have the same firmware version and configure them as a wireless bridge. They can be configured so they will only talk to each other. Of course, that means that if you still need an access point to connect to you will need another access point for that purpose. Bruce
Re: wireless usb
Linksys WUSB12 recognized as wi0 on 3.6 and 3.7 configures for the network by running dhclient wi0 connecting to an open access point On 6/26/05, Qv6 [EMAIL PROTECTED] wrote: Folks, I'm trying to set up a wireless system and looking to use a wireless usb adapter. If anyone has successfully configured a wirelesss usb on obsd, please email me the make and model. TIA, Qv6