Re: D-Link DWL-G520 not configured
I think you have to read manpage before trying ifconfig. There are more conf. options for WLAN than just an IP address. man 4 ath On Friday 13 May 2005 09:44, PP;P5P:QP5P9 P!P0P4QP8P:PP2 wrote: Hi All! I just install snapshot OpenBSD 3.7 and see that my D-Link DWL-G520 wireless card detected by kernel: /*dmesg output*/ # dmesg OpenBSD 3.7-current (GENERIC) #110: Mon May 2 20:07:58 MDT 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Celeron (GenuineIntel 686-class, 128KB L2 cache) 468 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR real mem = 268001280 (261720K) avail mem = 237731840 (232160K) using 3297 buffers containing 13504512 bytes (13188K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(54) BIOS, date 03/15/00, BIOS32 rev. 0 @ 0xf06c0 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown pcibios0 at bios0: rev 2.1 @ 0xf/0xf22 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf0e80/160 (8 entries) pcibios0: PCI Interrupt Router at 000:04:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0x8000 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x03 ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Rage Fury rev 0x00 wsdisplay0 at vga1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 4 function 0 Intel 82371AB PIIX4 ISA rev 0x02 pciide0 at pci0 dev 4 function 1 Intel 82371AB IDE rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: IBM-DTLA-307015 wd0: 16-sector PIO, LBA, 14649MB, 30003120 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 wdc_atapi_intr: warning: reading only 0 of 36 bytes sd0 at scsibus0 targ 0 lun 0: , , SCSI0 0/direct fixed sd0: drive offline sd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 uhci0 at pci0 dev 4 function 2 Intel 82371AB USB rev 0x01: irq 9 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered Intel 82371AB Power Mgmt rev 0x02 at pci0 dev 4 function 3 not configured rl0 at pci0 dev 11 function 0 D-Link Systems 530TX+ rev 0x10: irq 10 address 00:05:5d:49:d9:7d rlphy0 at rl0 phy 0: RTL internal phy ath0 at pci0 dev 14 function 0 Atheros AR5212 rev 0x01: irq 5 ath0: mac 112.9 phy 4.5 radio 5.6 5.6, 802.11a/b/gath0: no valid channels for regdomain NONE(32976) isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker sysbeep0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo 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 biomask eb65 netmask ef65 ttymask ffe7 pctr: 686-class user-level performance counters enabled mtrr: Pentium Pro MTRR support dkcsum: wd0 matched BIOS disk 80 dkcsum: read of sd0 failed (0) root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 /*end*/ , but if I give a command #ifconfig ath0 192.168.1.1 255.255.255.0 system responded ifconfig: SIOCGIFFLAGS: Device not configured # what shall I do? Help please. Alexey -- Best regards Maxim Bourmistrov
Re: Extended Mail
ALERT! This e-mail, in its original form, contained one or more attached files that were infected with a virus, worm, or other type of security threat. This e-mail was sent from a Road Runner IP address. As part of our continuing initiative to stop the spread of malicious viruses, Road Runner scans all outbound e-mail attachments. If a virus, worm, or other security threat is found, Road Runner cleans or deletes the infected attachments as necessary, but continues to send the original message content to the recipient. Further information on this initiative can be found at http://help.rr.com/faqs/e_mgsp.html. Please be advised that Road Runner does not contact the original sender of the e-mail as part of the scanning process. Road Runner recommends that if the sender is known to you, you contact them directly and advise them of their issue. If you do not know the sender, we advise you to forward this message in its entirety (including full headers) to the Road Runner Abuse Department, at [EMAIL PROTECTED] openbsd.org :: New mail secure method implement: for [EMAIL PROTECTED] This message is available as a secure Zip file format due to a new security policy. New service policy for security added from openbsd.org. file attachment: text.zip This e-mail in its original form contained one or more attached files that were infected with the [EMAIL PROTECTED] virus or worm. They have been removed. For more information on Road Runner's virus filtering initiative, visit our Help Member Services pages at http://help.rr.com, or the virus filtering information page directly at http://help.rr.com/faqs/e_mgsp.html.
Re: Bandwidth loss
Further, since the switch is manageable, it has some ability to report port status. Odds-on that there is a disagreement on FULL/HALF-DUPLEX between the switch and the network card. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Stuart Henderson Sent: Friday, May 13, 2005 5:01 AM To: N. Raghavendra; OpenBSD Miscellaneous Subject: Re: Bandwidth loss --On 13 May 2005 15:01 +0530, N. Raghavendra wrote: We are running an OpenBSD 3.4 host, which is connected to a 1 Mbps, (=128 KBps) link to the Internet through a manageable switch. There are two problems with this report: 1. The OpenBSD version is nearly two years old. Update to recent software, and see if the problem still exists. Nobody wants to spend time diagnosing a fault which may have been fixed long ago... 2. You provide no information about the hardware. If the problem still exists after upgrading, send a complete dmesg, output of 'ifconfig -a', output of 'netstat -in' after the box has carried some traffic, and information about what media type the switch is using for the port (full/half-duplex etc).
Re: File system mirroring for SMTP/POP Servers
Mario Lopez skrev: I'm sorry I didn't mention it earlier, we use NetQMAIL + VPOPMAIL + mysql centralized auth. with this kind of setup you should be able to get insane availability figures using standard tricks like ups, quality hardware (no ata), conservative time-proven settings, raid... (i do) having two cheaper boxes setup with some fancy replication clustering between them will likely to be more trouble than one expensive. my guess is that your weakest point is mysql. you shouldn't find it too hard to have the auth part replicated, but when it comes to the mail repository, as far as i know maildir storage is *not* the choice for replication. /k
How can i mount an external USB hard disk?
Hi folks, How can i mount an external USB hard disk? Thanks. PS: OpenBSD 3.6 -- Joco Salvatti
Re: How can i mount an external USB hard disk?
On Fri, 13 May 2005, Joco Salvatti wrote: How can i mount an external USB hard disk? Look which device is assigned to the attached disk (kernel message). Then look at the disklabel. If it is an automatic generated label and the disk is formatted with fat32 it is most likely something like /dev/sd0i. Greetings Markus
Re: Beefier alternative to soekris 4801 for openbsd router?
On Wed, 2005-05-11 at 16:02 -0600, Diana Eichert wrote: I purchased mine from http://www.bwi.com/ . Bob was always very helpful in getting any questions I had answered. thanks! ryanc
Re: General IPsec configuration vunerabilities (links)
Thank you Hans-Joreg for your quick reply. On 5/13/05, Hans-Joerg Hoexer [EMAIL PROTECTED] wrote: Use esp with enc+auth, as written in isampd.conf(5). On Fri, May 13, 2005 at 01:28:29PM +0200, Johan P. Lindstrvm wrote: I am trying to set up ESP tunnels with ISAKMPD myself, but I am far from an IPSec pro, does anyone know what would be best practice in the light of this event? / Johan P On 5/13/05, Peter Galbavy [EMAIL PROTECTED] wrote: FYI; This is not specific, but should be interesting to misc@ readers. http://www.theregister.co.uk/2005/05/12/ipsec_crypto_alert/ which point to: http://www.niscc.gov.uk/niscc/docs/al-20050509-00386.html?lang=en Three attacks that apply to certain configurations of IPsec have been identified. These configurations use Encapsulating Security Payload (ESP) in tunnel mode with confidentiality only, or with integrity protection being provided by a higher layer protocol. Some configurations using AH to provide integrity protection are also vulnerable. Peter -- pub 1024D/513AEFD9 1999-12-18 Hans-Joerg Hoexer [EMAIL PROTECTED] Key fingerprint = 83D2 436A 0D3C 34A9 E0FF 4C33 35F6 617C 513A EFD9
Re: File system mirroring for SMTP/POP Servers
but when it comes to the mail repository, as far as i know maildir storage is *not* the choice for replication. Why? Or are you implying that mbox storage is? no Or that neither is? neither, it's not a problem with maildir, it's a general problem of maintaining files synchronized. Basis for the theory? ok, unison seems to be an option (as in: somebody on google seems to have gotten it to work reasonably). however i prefer to think of replicated instances as being constantly and correctly synchronized. the whole point of qmail and maildirs are that there is never any doubt about what messages exist or not. having something go off on cron even once every five minutes will negate this as well as piss off this particular sysop's overdemanding users. imagine, getting the same spam, twice! this guy uses pop, a imap/webmail service would be even worse off. i regard reliability more important than availability as it comes to my mail, userland arrangements like these give me the creeps. i'm suggesting that he should try mitigating the reasons for his unavailability first. users should get used to 99.9% availability, and that's a reasonable figure for a non-replicated system. or look into some database system with built-in replication functionality. anyway, have you any good examples to throw back at me? /k
skc0: bad VPD resource id: expected 82 got 0
hello, the sk integrated in the MSI K8N Neo4 Platinum mainboard of this machine is giving device not configured. the following message appears (full dmesg below): skc0: bad VPD resource id: expected 82 got 0 also, the fd0 device is not recognized. it works fine with an i386 kernel. thanks for any suggestions. steven OpenBSD 3.7-current (GENERIC) #89: Tue May 10 12:44:38 MDT 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 2147020800 (2096700K) avail mem = 1836572672 (1793528K) using 22937 buffers containing 214908928 bytes (209872K) of memory mainbus0 (root) cpu0 at mainbus0: (uniprocessor) cpu0: AMD Athlon(tm) 64 Processor 3800+, 2412.63 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative pci0 at mainbus0 bus 0: configuration mode 1 vendor Nvidia, unknown product 0x005e (class memory subclass miscellaneous, rev 0xa3) at pci0 dev 0 function 0 not configured vendor Nvidia, unknown product 0x0050 (class bridge subclass ISA, rev 0xa3) at pci0 dev 1 function 0 not configured Nvidia nForce4 SMBus rev 0xa2 at pci0 dev 1 function 1 not configured ohci0 at pci0 dev 2 function 0 vendor Nvidia, unknown product 0x005a rev 0xa2: irq 10, version 1.0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: Nvidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 10 ports with 10 removable, self powered ehci0 at pci0 dev 2 function 1 vendor Nvidia, unknown product 0x005b rev 0xa3: irq 11 usb1 at ehci0: USB revision 2.0 uhub1 at usb1 uhub1: Nvidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub1: 10 ports with 10 removable, self powered auich0 at pci0 dev 4 function 0 Nvidia nForce4 AC-97 rev 0xa2: irq 12, nForce4 AC97 ac97: codec id 0x414c4790 (Avance Logic ALC850) audio0 at auich0 pciide0 at pci0 dev 6 function 0 Nvidia nForce4 IDE rev 0xa2: DMA (unsupported), channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: WDC WD2000JB-00GVA0 wd0: 16-sector PIO, LBA48, 190782MB, 390721968 sectors pciide0: channel 1 ignored (not responding; disabled or no drives?) ppb0 at pci0 dev 9 function 0 vendor Nvidia, unknown product 0x005c rev 0xa2 pci1 at ppb0 bus 1 VIA VT6306 FireWire rev 0x80 at pci1 dev 12 function 0 not configured pciide1 at pci1 dev 13 function 0 CMD Technology SiI3114 SATA rev 0x02: DMA pciide1: using irq 11 for native-PCI interrupt Nvidia CK804 LAN rev 0xa3 at pci0 dev 10 function 0 not configured ppb1 at pci0 dev 11 function 0 vendor Nvidia, unknown product 0x005d rev 0xa3 pci2 at ppb1 bus 2 ppb2 at pci0 dev 12 function 0 vendor Nvidia, unknown product 0x005d rev 0xa3 pci3 at ppb2 bus 3 skc0 at pci3 dev 0 function 0 Marvell Yukon 8053 rev 0x15: irq 11 skc0: bad VPD resource id: expected 82 got 0 skc0: Marvell Yukon (Unknown) Gigabit Ethernet (0x1) sk0 at skc0 port A: address 00:0c:76:4e:e6:68 skc0: unknown device type 182sk1 at skc0 port B: address 00:0c:76:4e:e6:68 skc0: unknown device type 182ppb3 at pci0 dev 13 function 0 vendor Nvidia, unknown product 0x005d rev 0xa3 pci4 at ppb3 bus 4 ppb4 at pci0 dev 14 function 0 vendor Nvidia, unknown product 0x005d rev 0xa3 pci5 at ppb4 bus 5 vga1 at pci5 dev 0 function 0 ATI Radeon X300 rev 0x00 wsdisplay0 at vga1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ATI Radeon X300 Sec rev 0x00 at pci5 dev 0 function 1 not configured 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 mainbus0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 sysbeep0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 lm0 at isa0 port 0x290/8: W83627THF umass0 at uhub1 port 8 configuration 1 interface 0 umass0: USB2.0 External Mass Storage Device, rev 2.00/0.01, addr 2 umass0: using SCSI over Bulk-Only scsibus0 at umass0: 2 targets cd0 at scsibus0 targ 1 lun 0: LITE-ON, DVDRW LDW-851S, GS0C SCSI0 5/cdrom removable dkcsum: wd0 matched BIOS disk 80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302
How can I set default crypt to md5?
How can I set the crypt_default to md5 or blf or whatever? On FreeBSD I can do set it in /etc/auth.conf Thanks. -- Adam Papai Digital Influence Inc. E-mail: [EMAIL PROTECTED] Phone: +36 30 33-55-735
Re: building ccd during install
On Fri, May 13, 2005 at 01:06:19PM +0200, Per Engelbrecht wrote: Hi all [OpenBSD 3.7 amd64 bsd.mp] Is it possible to build a ccd during install ? I need an extreemly large /var (spanning the remains of two disks) and would like /var/ to be installed there. Looks to me a bit like the 'chiken and egg' thing. As OpenBSD is shipped, the initial /var directory is less than 10MB of data. This is so little data that you can keep it in your / partition until you create your ccd later, once your computer is setup. (It isn't like you are working with 120MB hard-drives here and want to ccd /usr.) Then the FAQ should help you with moving existing data into a new partition and rewriting /etc/fstab. As for ccd in the install. It isn't supported by the script. You are on your own. pseudo-device ccd is in RAMDISK_CD but ccdconfig isn't on the miniroot offered while installing. That would mean that some shell hacking would be needed to create ccds at install (or setup existings ccds at upgrade time). Can't find 'pseudo-device ccd' in GENERIC but 'config' tells me it's there i.e. kernel-tweaks should not be needed. Follow the include statement in GENERIC. Note that I haven't used ccd since I replaced 2 small 1GB drive with a 4GB one in my VAXstation 4000/60. ccd was more efficient than /usr/src or /usr/obj on NFS. -- Hugo Villeneuve [EMAIL PROTECTED] http://EINTR.net/
restore partitions 2
I would like to know if it is possible to continue restoring partitions after having restored the root partition. The FAQ mentions that the new root filesystem should be ready enough so you can reboot and continue restoring the rest of the filesystems in single user mode. I tried to restore without rebooting but I get errors relating to hardlinks when restoring the /usr partition.(I mount every partition to /mnt and umount after every partition has been restored) Would mounting to /usr instead of /mnt be possible? The reason I ask this is because I try to make the disaster recovery procedure as simple as possible, by booting a customized install cd with an added restore script that uses fdisk and disklabel to recreate all partitions based on the size of the new harddisk and uses restore to retrieve the dumped partitions backups from tape. Can I avoid to reboot in single user mode? The restore script I want to use: _disk=wd0 #_disk=`dmesg | grep dkcsum | sed 's/^dkcsum://;s/matched.*$//;s/^[ \t]//;s/[ \t]*$//'` _mem=`dmesg | grep real mem | sed 's/^real mem.*(//;s/K)//'` fdisk -e $_disk EOF reinit update write quit EOF K=1024 M=$(($K * $K)) echo \nCalculating partition sizes... # grep: find the line with unused # sed: drop c: # sed: drop everything starting with unused and onwards # sed: drop any leading spaces on the line # sed: drop single character followed by spaces until end of line # sed: drop trailing spaces DISKSIZE=`disklabel $_disk | grep unused | sed 's/c://;s/unused.*$//;s/^[ \t]*//;s/.[ \t]*$//;s/[ \t]*$//'` echo \ndisksize \t\t\t\t$DISKSIZE\n FS=4.2BSD offset_a=63 # Default offset size_a=$(($DISKSIZE / 10)) # 10% of disksize echo size partition a for mountpoint / \t\t$size_a\n offset_b=$(($size_a + $offset_a)) size_b=$(($_mem * $K / 512)) # two times amount of RAM (real mem) for swap echo size swap \t\t\t\t$size_b\n offset_d=$(($size_b + $offset_b)) size_d=$((120 * $M / 512)) # use 120MB echo size partition d for mountpoint /tmp \t$size_d\n offset_e=$(($size_d + $offset_d)) size_e=$((200 * $M / 512)) # use 200MB echo size partition e for mountpoint /var \t$size_e\n offset_g=$(($size_e + $offset_e)) size_g=$(($DISKSIZE * 4 / 10)) # use 40% of disksize echo size partition g for mountpoint /usr \t$size_g\n offset_h=$(($size_g + $offset_g)) size_h=$(($DISKSIZE * 25 / 100)) # use 25% of disksize echo size partition h for mountpoint /home \t$size_h\n totalsize=$(($size_a + $size_b + $size_d + $size_e + $size_g + $size_h)) if [ $totalsize -ge $DISKSIZE ]; then echo Combined size of the partitions exceeds the size of the disk\n echo Disksize $DISKSIZE Totalsize $totalsize\n exit 1 else echo Total space used \t\t\t$totalsize\n fi # Done calculating, now time to interact with disklabel tool. # echo Creating partitions ...\n disklabel -f /tmp/fstab.${_disk} -E ${_disk} __EOT /dev/null z w a a $offset_a $size_a $FS / a b $offset_b $size_b swap a d $offset_d $size_d $FS /tmp a e $offset_e $size_e $FS /var a g $offset_g $size_g $FS /usr a h $offset_h $size_h $FS /home w __EOT echo ...partition creation completed\n # create filesystems for mountpoints echo Creating filesystems on the partitions...\n diska=${_disk}a newfs -q /dev/$diska echo ...created filesystem on $diska\n diskb=${_disk}b newfs -q /dev/$diskb echo ...created filesystem on $diskb\n diskd=${_disk}d newfs -q /dev/$diskd echo ...created filesystem on $diskd\n diske=${_disk}e newfs -q /dev/$diske echo ...created filesystem on $diske\n diskg=${_disk}g newfs -q /dev/$diskg echo ...created filesystem on $diskg\n diskh=${_disk}h newfs -q /dev/$diskh echo ...created filesystem on $diskh\n # mount /dev/$diska /mnt cd /mnt # restore mountpoint / echo Restoring mountpoint / on partition $diska...\n restore -rs 1 -b 64 -f /dev/rst0 # write new mbr to disk fdisk -i $_disk # install bootblocks to boot from cp /usr/mdec/boot /mnt/boot /usr/mdec/installboot -v /mnt/boot /usr/mdec/biosboot wd0 cd / umount /mnt ## FAQ says you can reboot in single user mode now and continue restore ## I want to continue now with the next backupset on the tape # Restore of the other partitions # restore mountpoint /tmp echo Restoring mountpoint /tmp on partition $diskd...\n mount /dev/$diskd /mnt cd /mnt restore -rs 2 -b 64 -f /dev/rst0 cd / umount /mnt # restore mountpoint /var echo Restoring mountpoint /var on partition $diske...\n mount /dev/$diske /mnt cd /mnt restore -rs 3 -b 64 -f /dev/rst0 cd / umount /mnt # restore mountpoint /usr echo Restoring mountpoint /usr on partition $diskg...\n mount /dev/$diskg /mnt cd /mnt restore -rs 4 -b 64 -f /dev/rst0 cd / umount /mnt ## Restore of backupset of mountpoint /usr to /mnt gives errors creating hardlinks, how can I avoid that? # restore mountpoint /home echo Restoring mountpoint /home on partition $diskh...\n mount /dev/$diskh /mnt cd /mnt restore -rs 5 -b 64 -f /dev/rst0 cd /
Re: How can i mount an external USB hard disk?
All, A while ago Jo?o Salvatti tapped: How can i mount an external USB hard disk? Cloth backed tape to the side of your monitor. Simon -- Well, an engineer is not concerned with the truth; that is left to philosophers and theologians: the prime concern of an engineer is the utility of the final product. Lectures on the Electrical Properties of Materials, L.Solymar, D.Walsh
Re: OpenBSD 3.6, Intel 3.0 HT processor!!
On May 13 05:09 PM, Dries Schellekens wrote: Ted Unangst wrote: On Thu, 12 May 2005, Henning Brauer wrote: * J.D. Bronson [EMAIL PROTECTED] [2005-05-12 16:23]: No matter what I set the BIOS to - I cannot get SMP/HTT to work in OpenBSD, but it does work with others OpenBSD will only use HT on systems with an MPBIOS, which almost no uniprocessor board has. not that this is a loss... it's a security feature. :) Indeed: http://www.daemonology.net/hyperthreading-considered-harmful/ Cheers, Dries Was this the big security vulnerability that the FreeBSD guys were hiding back in March? http://openbsd.monkey.org/misc/200503/msg00097.html Matt
Re: building ccd during install
On Fri, May 13, 2005 at 01:06:19PM +0200, Per Engelbrecht wrote: | Hi all | | [OpenBSD 3.7 amd64 bsd.mp] | | Is it possible to build a ccd during install ? | I need an extreemly large /var (spanning the remains of two disks) and | would like /var/ to be installed there. | Looks to me a bit like the 'chiken and egg' thing. | | Can't find 'pseudo-device ccd' in GENERIC but 'config' tells me it's | there i.e. kernel-tweaks should not be needed. | Thank you! Hi Per, It seems that on amd64, ccd is included in the RAMDISK and RAMDISK_CD kernel configuration files : $ grep ccd /usr/src/sys/arch/amd64/conf/* /usr/src/sys/arch/amd64/conf/RAMDISK:#pseudo-device ccd 4 # concatenated disk devices /usr/src/sys/arch/amd64/conf/RAMDISK_CD:pseudo-device ccd 4 # concatenated disk devices /usr/src/sys/arch/amd64/conf/files.amd64:major {ccd = 16} So that's a good hint that you should be able to use CCD during install. I'd suggest (as suggested earlier) first installing /var on / (as it's only ~10MB). Then, when the installer finishes, you can simply enter your newly installed system with $ /mnt/usr/sbin/chroot /mnt After that you can mv /var /var_ORIG mkdir /var. After that, you can create a ccd, edit /etc/fstab to mount the new ccd on /var, temporarily mount it there yourself, move the data from /var_ORIG/ to /var/, remove /var_ORIG/, unmount /var/, exit the chroot, unmount other filesystems, reboot and rejoice ;) Hope that helps, Paul 'WEiRD' de Weerd PS: ccd is included in the default kernel (no matter what platform you're running). See /usr/src/sys/conf/GENERIC, this is included from most (all?) platform specific GENERIC's. -- [++-]+++.+++[---].+++[+ +++-].++[-]+.--.[-] http://www.weirdnet.nl/ [demime 1.01d removed an attachment of type application/pgp-signature]
Re: OpenBSD tested on students learning Unix
Will H. Backman wrote: Just thought I would let the OpenBSD folks know that students in my class found OpenBSD easy to use compared to other Unix-like operating systems. Do you think that OpenBSD did things in a way that seemed more obvious to your students, or was it just better/accurate documentation?
Re: File system mirroring for SMTP/POP Servers
On Fri, 13 May 2005 16:43:42 +0200, kami petersen wrote: anyway, have you any good examples to throw back at me? No. I was merely interested why you specifically said that maildirs were *not* the choice for replication. and what you thought might be. I would be surprised if anybody thought that mboxes were candidates unless there was ironclad locking which could really piss off some users with large files trying to access mail during the rep. 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.
development server
I am thinking about building a development/test server that we need here to test our application. This application needs to be tested on a variety of platforms in all kinds of different component combinations requiring at least 10-15 easily managable, re-creatable environments. We have already decided to use vmware images to set up all the test environments with the host OS OBSD. I was able to get vmware workstation working on OBSD with few tweaks so I am pretty set on using that. Performance is not really an issue here because testing will be strictly functional although server will be equiped with ample memory and fast storage. Questions is: 1. Will such server significantly benefit from multiple processors where most applications are not threaded but rather separate processes (vmware images)? I am thinking of going with a socket 939 motheboard and Athlon64 so that it will be possibe to upgrade to Athlon64 X2 dual core when it comes out in few months and switch to MP kernel if necessary although my feeling is single cpu will suffice. Any feedback, experiences are much appreciated. Cheers, Mikhail.
Re: development server
Mikhail Malamud on 2005-05-13 18:12:29 -0700: 1. Will such server significantly benefit from multiple processors where most applications are not threaded but rather separate processes (vmware images)? If you are running multiple VMWare instances simultaneously as separate processes, you will benefit from multiple processors.
DWL-520 WiFi Card with an Ultra5
Hello, I've been working on setting up a Sun Ultra5 running OpenBSD 3.6 Current (Sparc64). My plan is to use it as a router/wireless access point for my home network. The card I'm using is a D-Link DWL-520 rev. B (Prism 2.5 chipset). I checked the hardware compatibility list and it is listed. I get this with dmesg: # dmesg |grep wi0 wi0 at pci2 dev 3 function 0 Intersil PRISM2.5 rev 0x01: ivec 18wi0: init failed ifconfig doesn't work either: # ifconfig wi0 up ifconfig: SIOCGIFFLAGS: Device not configured I asked someone over at freebsdforums.org and they said it sounded like the card hadn't been given seen by the hardware. I know next to nothing about Sun hardware but a brief tour through the manuals didn't mention any special steps about setting up PCI cards. My PCI ethernet card seems to be working fine as well. I also understand their might be some issue as to if the card is supported or not since it seems these days manufactures like to change chipsets without changing model numbers. However it does seem to be a Prism 2.5-based card and it is listed as a compatible card... but then again... wireless... Anyway, I'm not to sure where to go from here but any help or ideas would be very welcome. Thanks in advance. I've also included my full dmesg output just in case someone might find it useful: - console is keyboard/display Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2004 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 3.6-stable (GENERIC) #0: Sun May 1 12:07:28 AKDT 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/sparc64/compile/GENERIC total memory = 536870912 avail memory = 480428032 using 3276 buffers containing 26836992 bytes of memory bootpath: /[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED],0/[EMAIL PROTECTED],0 mainbus0 (root): Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 400MHz) cpu0 at mainbus0: SUNW,UltraSPARC-IIi @ 400 MHz, version 0 FPU cpu0: physical 32K instruction (32 b/l), 16K data (32 b/l), 2048K external (64 b/l) psycho0 at mainbus0 addr 0xfffc4000 SUNW,sabre: impl 0, version 0: ign 7c0 bus range 0 to 2; PCI bus 0 DVMA map: c000 to e000 IOTDB: 29e8000 to 2a68000 pci0 at psycho0 ppb0 at pci0 dev 1 function 1 Sun Simba PCI-PCI rev 0x13 pci1 at ppb0 bus 1 ebus0 at pci1 dev 1 function 0 Sun PCIO Ebus2 rev 0x01 auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003, 72c000-72c003, 72f000-72f003 power at ebus0 addr 724000-724003 ipl 37 not configured SUNW,pll at ebus0 addr 504000-504002 not configured sab0 at ebus0 addr 40-40007f ipl 43: rev 3.2 sabtty0 at sab0 port 0 sabtty1 at sab0 port 1 comkbd0 at ebus0 addr 3083f8-3083ff ipl 41: layout 34 wskbd0 at comkbd0: console keyboard com0 at ebus0 addr 3062f8-3062ff ipl 42, mouse: ns16550a, 16 byte fifo lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 70-7f ipl 34: polled fdthree at ebus0 addr 3023f0-3023f7, 706000-70600f, 72-720003 ipl 39 not configured clock0 at ebus0 addr 0-1fff: mk48t59: hostid 80d15042 flashprom at ebus0 addr 0-f not configured audioce0 at ebus0 addr 20-2000ff, 702000-70200f, 704000-70400f, 722000-722003 ipl 35 ipl 36: nvaddrs 0 audio0 at audioce0 hme0 at pci1 dev 1 function 1 Sun HME rev 0x01: address 08:00:20:d1:50:42 nsphy0 at hme0 phy 1: DP83840 10/100 media interface, rev. 1 hme0: using ivec 3021 for interrupt vgafb0 at pci1 dev 2 function 0 ATI Mach64 GP rev 0x5c wsdisplay0 at vgafb0: console (std, sun emulation), using wskbd0 pciide0 at pci1 dev 3 function 0 CMD Technology PCI0646 rev 0x03: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide0: using ivec 1820 for native-PCI interrupt wd0 at pciide0 channel 0 drive 0: WDC WD102BA wd0: 16-sector PIO, LBA, 9779MB, 20028960 sectors wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: LG, CD-ROM CRD-8322B, 1.05 SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 ppb1 at pci0 dev 1 function 0 Sun Simba PCI-PCI rev 0x13 pci2 at ppb1 bus 2 xl0 at pci2 dev 1 function 0 3Com 3c905 100Base-TX rev 0x00: ivec 10, address 00:60:08:1c:53:7e nsphy1 at xl0 phy 24: DP83840 10/100 media interface, rev. 1 wi0 at pci2 dev 3 function 0 Intersil PRISM2.5 rev 0x01: ivec 18wi0: init failed : unable to read station address pcons at mainbus0 not configured No counter-timer -- using %tick at 400MHz as system clock. root on wd0a rootdev=0xc00 rrootdev=0x1a00 rawdev=0x1a02 WARNING: clock gained 2 days -- CHECK AND RESET THE DATE!
Re: OpenBSD 3.6, Intel 3.0 HT processor!!
that'd be the one. -- so what do you want you want to be famous and rich and happy but you're terrified you have nothing to offer this world