Re: httpd.conf, allow from lu can't get it to work
Didier Wiroth wrote: Hi, sorry to repost this one. (obsd 3.8 with httpd 1.3.29) I still can't get it to work and was not able to find any related info in the faq or in the httpd manual, so I give it a second and last try on the list. I'm trying to use an allow from lu directive, only .lu domains should have access to the directory. Unfortunately it doesn't work. I've tried every possible combination. I also tried entire host names etc, no way ... The only combination that works, is with IP Adresses/Networks (allow from 10.0.0.10 etc...) I only get this in the error_log, it looks like the allow from lu directive is simply ignored. [snip until end] Hi, 1) Make sure your httpd can resolve names towards IP addresses (mkdir /var/www/etc cp /etc/resolv.conf /var/www/etc/resolv.conf) 2) Try adding a dot before ``lu'': ``Allow from .lu'' Regards, Stoyan Genov
Re: PHP + SSH2
Stop in /root/libssh2-0.11/src (line 16 of Makefile). *** Error code 1 Use a binary pkg or build from ports! Regards Edd
回覆: Re: add wireless router using openbsd-3.8 (i386)
Thanks. I find out that I have to setup a dns and pf at the AP in order to allowed the clients (window, obsd) to access the internet. However, it is plain text mode. Any idea (I am new to this sort of thing wireless setup). here is my configuration: ifconfig out put lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33224 groups: lo inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 rl0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500 lladdr 00:e0:4c:3b:a9:ed groups: egress media: Ethernet autoselect (100baseTX full-duplex) status: active inet 192.168.1.120 netmask 0xff00 broadcast 192.168.1.255 inet6 fe80::2e0:4cff:fe3b:a9ed%rl0 prefixlen 64 scopeid 0x1 pflog0: flags=141UP,RUNNING,PROMISC mtu 33224 pfsync0: flags=0 mtu 1348 enc0: flags=0 mtu 1536 wi0: flags=8d43UP,BROADCAST,RUNNING,PROMISC,OACTIVE,SIMPLEX,MULTICAST mtu 1500 lladdr 00:05:5d:d9:84:6c media: IEEE802.11 autoselect hostap (DS2) status: active ieee80211: nwid obsd-group 2dBm (auto) inet 192.168.2.1 netmask 0xff00 broadcast 192.168.2.255 inet6 fe80::205:5dff:fed9:846c%wi0 prefixlen 64 scopeid 0x6 bridge0: flags=41UP,RUNNING mtu 1500 groups: bridge wicontrol output = NIC serial number: [ 99SA0100 ] Station name: [ air ] SSID for IBSS creation: [ obsd-group ] Current netname (SSID): [ obsd-group ] Desired netname (SSID): [ obsd-group ] Current BSSID: [ 00:05:5d:d9:84:6c ] Channel list: [ 2047 ] IBSS channel: [ 6 ] Current channel:[ 6 ] Comms quality/signal/noise: [ 0 81 27 ] Promiscuous mode: [ Off ] Process 802.11b Frame: [ Off ] Port type (1=BSS, 3=ad-hoc, 6=Host AP): [ 6 ] MAC address:[ 00:05:5d:d9:84:6c ] TX rate (selection):[ 3 ] TX rate (actual speed): [ 2 ] Maximum data length:[ 2304 ] RTS/CTS handshake threshold:[ 2347 ] Create IBSS:[ On ] Antenna diversity (0=auto,1=pri,2=aux): [ ] Microwave oven robustness: [ On ] Roaming mode(1=firm,3=disable): [ 1 ] Access point density: [ 1 ] Power Management: [ Off ] Max sleep time: [ 100 ] Enhanced Security mode: [ ] Intersil Prism2-based card: [ 1 ] Card info: [ PRISM2.5 ISL3873, Firmware 1.3.4 ] Encryption: [ Off ] Encryption algorithm: [ Firmware WEP ] Authentication type (1=OpenSys, 2=Shared Key): [ 1 ] TX encryption key: [ 1 ] Encryption keys:[ abcdef1234567 ][ ][ ][ ] air# cat /tmp/a NIC serial number: [ 99SA0100 ] Station name: [ air ] SSID for IBSS creation: [ obsd-group ] Current netname (SSID): [ obsd-group ] Desired netname (SSID): [ obsd-group ] Current BSSID: [ 00:05:5d:d9:84:6c ] Channel list: [ 2047 ] IBSS channel: [ 6 ] Current channel:[ 6 ] Comms quality/signal/noise: [ 0 81 27 ] Promiscuous mode: [ Off ] Process 802.11b Frame: [ Off ] Port type (1=BSS, 3=ad-hoc, 6=Host AP): [ 6 ] MAC address:[ 00:05:5d:d9:84:6c ] TX rate (selection):[ 3 ] TX rate (actual speed): [ 2 ] Maximum data length:[ 2304 ] RTS/CTS handshake threshold:[ 2347 ] Create IBSS:[ On ] Antenna diversity (0=auto,1=pri,2=aux): [ ] Microwave oven robustness: [ On ] Roaming mode(1=firm,3=disable): [ 1 ] Access point density: [ 1 ] Power Management: [ Off ] Max sleep time: [ 100 ] Enhanced Security mode: [ ] Intersil Prism2-based card: [ 1 ] Card info: [ PRISM2.5 ISL3873, Firmware 1.3.4 ] Encryption: [ Off ] Encryption algorithm: [ Firmware WEP ] Authentication type (1=OpenSys, 2=Shared Key): [ 1 ] TX encryption key: [ 1 ] Encryption keys:[ abcdef1234567 ][ ][ ][ ] = sysctl.conf net.inet.ip.forwarding=1 net.inet6.ip6.forwarding=1 Thomas [EMAIL
upgrade 3.6 - 3.7
Hi I am upgrading a i386 box from 3.6 to 3.7. In the upgrade guide I miss any hint to mergemaster. Is it obsolete? Tia Erwin -- 10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail +++ GMX - die erste Adresse f|r Mail, Message, More +++
Re: very, very slow usb data transfer speed on 3.7
Andreas Bihlmaier wrote: -- [EMAIL PROTECTED]: ~ (17:39) -- # dd if=/dev/wd0c of=/dev/null bs=819200 count=20 20+0 records in 20+0 records out 16384000 bytes transferred in 0.711 secs (23012820 bytes/sec) recall the old speed with apm0: - -- [EMAIL PROTECTED]: ~ (17:13) -- # dd if=/dev/wd0c of=/dev/null bs=819200 count=20 20+0 records in 20+0 records out 16384000 bytes transferred in 1.129 secs (14509606 bytes/sec) that's pretty harsh if other people can reproduce it. :( Incidentally usb transfers *weren't* improved by removing apm0 - -- [EMAIL PROTECTED]: ~ (17:39) -- # dd if=/dev/sd0c of=/dev/null bs=819200 count=20 20+0 records in 20+0 records out 16384000 bytes transferred in 6.017 secs (2722653 bytes/sec) so there's some other factor limiting those. I'm getting the same speed on a snapshot from 09/21 with amd64 on a brand new amd 64 3800+. Lately I was copying around 40G of data onto a usb 2.0 hard disk (yes it was attached to EHCI) and wondered why it took so long, but I didn't pursue the issue further. I also tried with different blocksizes and to eliminate the issue of a too short benchmark I ran for a couple of minutes (about count=500). Actually wait a minute ... /dev/sd0c and /dev/wd0c ? Are you SUPPOSED to read of a block device ? SHOULDN'T it be /dev/rsd0c and /dev/rwd0c ??? ^ ^ RAW DEVICE With the raw devices the speed looks QUITE different: BLOCK DEVICE: sudo dd if=/dev/wd0c of=/dev/null bs=512k count=500 500+0 records in 500+0 records out 262144000 bytes transferred in 16.957 secs (15458831 bytes/sec) # Top shows CPU usage as 28.7% system, 27.9% interrupt, 41.9% idle RAW DEVICE: sudo dd if=/dev/rwd0c of=/dev/null bs=512k count=200 200+0 records in 200+0 records out 104857600 bytes transferred in 1.787 secs (58666485 bytes/sec) # Top shows CPU usage as 4.6% system, 5.4% interrupt, 90.0% idle (same with USB device) BLOCK DEVICE: sudo dd if=/dev/sd0c of=/dev/null bs=512k count=500 500+0 records in 500+0 records out 262144000 bytes transferred in 96.561 secs (2714791 bytes/sec) # Top shows CPU usage as 4.7% system, 10.8% interrupt, 84.6% idle RAW DEVICE: sudo dd if=/dev/rsd0c of=/dev/null bs=512k count=500 500+0 records in 500+0 records out 262144000 bytes transferred in 19.015 secs (13785462 bytes/sec) # Top shows CPU usage as 1.6% system, 2.3% interrupt, 96.1% idle I'm sorry if I understood something wrong, but my understanding was/is that you only use RAW devices with dd (since it uses it's own blocks ). Please tell me if I'm wrong, since (right) knowledge is valueable! I think you're right. I've been in the FreeBSD/DragonFly world for about 11 years now and about 5 years ago FreeBSD ripped out block device support so that block devices are now really just character devices. From your observations in OpenBSD block devices are clearly still block devices ;) .. Since I've only being using it for about a week now I can still claim to be a newbie on OpenBSD. :O but not for much longer. :) Incidentally, I now get (DragonFly) - # dd if=/dev/da0 of=/dev/null bs=8192000 count=10 10+0 records in 10+0 records out 8192 bytes transferred in 5.940737 secs (13789535 bytes/sec) and on OpenBSD 3.7-stable I get - # dd if=/dev/rsd0c of=/dev/null bs=8192000 count=10 10+0 records in 10+0 records out 8192 bytes transferred in 3.798 secs (21563802 bytes/sec) which is quite impressive! Woohoo! Thanks Andreas! Andrew.
lost dns/gateway in VMware installation
Hi out there, I have some problems with network communication from my 3.7 installation within VMware 4.5 (under WinXPHome) over the bridged network. I use an unsupported USB-WLAN-Stick to connect to my DSL-router. Thats why i have to use VMware. The installation itself worked fine: the configuration of the le1 interface was simple: used my local DSL-router IP for dns and gateway and could do the installation over ftp. But after the reboot routing and dns did not work anymore. in /etc/mygate and /etc/resolv.conf the correct IP is listed. I can ping that IP; i can connect to the http-port of the router, but nothing else. Did anyone ran into s similar problem? -- not using Ruby is punishment enough -- James Britt, 8.5.2005, [EMAIL PROTECTED]
Re: Anyone tried this hardware raid solution?
Not that particular solution but I have used several of these without problem. http://www.arcoide.com/disk_raidcase.php Not tried their SATA solutions, they currently don't do one with 'hot plug' cages but do have the following: http://www.arcoide.com/ezraid_3.5_dd4_baymount.php Regards Simon Jean-Daniel Beaubien wrote: Hi everyone, I am wondering if anyone tried this (http://www.allmediait.com/html/araid.html) hardware raid solution. It seems to only support PATA. Anyways I was just wondering if anyone had any experiences with this box. Anyone ever compared it to an Accusys 7500? On a side note, anyone knows hardware raid solution similar to this or to Accusys's 7500 solution but SATA? Jd http://www.allmediait.com/html/araid.html
trouble with file system
Hello During the power failure my file system was probably corrupted. But the problem is strange for me. Here is fsck: # fsck ** /dev/rwd0a (NO WRITE) ** Last Mounted on / ** Root file system ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts UNREF FILE I=1686 OWNER=_mysql MODE=100600 SIZE=0 MTIME=Oct 12 11:20 2005 CLEAR? no UNREF FILE I=1689 OWNER=_mysql MODE=100600 SIZE=0 MTIME=Oct 12 11:20 2005 CLEAR? no UNREF FILE I=1691 OWNER=_mysql MODE=100600 SIZE=0 MTIME=Oct 12 11:20 2005 CLEAR? no ** Phase 5 - Check Cyl groups 1690 files, 14295 used, 61088 free (56 frags, 7629 blocks, 0.1% fragmentation) ** /dev/rwd0d (NO WRITE) ** Last Mounted on /home ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 96 files, 96 used, 25183 free (7 frags, 3147 blocks, 0.0% fragmentation) ** /dev/rwd0e (NO WRITE) ** Last Mounted on /usr ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 83681 files, 525918 used, 2568933 free (1045 frags, 320986 blocks, 0.0% fragmentation) ** /dev/rwd0f (NO WRITE) ** Last Mounted on /var ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 15026 files, 2102174 used, 4192337 free (4777 frags, 523445 blocks, 0.1% fragmentation) So if I understand correctly, some files are corrupted and all partitions are in read-only status. Interesting is that I can write files to all partitions. Here is a mount output: /dev/wd0a on / type ffs (local) /dev/wd0d on /home type ffs (local, nodev, nosuid) /dev/wd0e on /usr type ffs (local, nodev) /dev/wd0f on /var type ffs (local, nodev, nosuid) Because file owned by mysqld are on /var I decided to unmount /var repair it by fsck and then mount it again. But it is really strange. # umount -f /dev/wd0f # fsck /dev/wd0f ** /dev/rwd0f ** File system is clean; not checking it means that /var is ok, i rather forced fsck but same result: # fsck -f /dev/wd0f ** /dev/rwd0f ** File system is already clean ** Last Mounted on /var ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 15024 files, 2102173 used, 4192338 free (4778 frags, 523445 blocks, 0.1% fragmentation) Now I performed fsck for all mount points again and corrupted files have gone: # fsck ** /dev/rwd0a (NO WRITE) ** Last Mounted on / ** Root file system ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 1687 files, 14295 used, 61088 free (56 frags, 7629 blocks, 0.1% fragmentation) ** /dev/rwd0d (NO WRITE) ** Last Mounted on /home ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 96 files, 96 used, 25183 free (7 frags, 3147 blocks, 0.0% fragmentation) ** /dev/rwd0e (NO WRITE) ** Last Mounted on /usr ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 83681 files, 525918 used, 2568933 free (1045 frags, 320986 blocks, 0.0% fragmentation) ** /dev/rwd0f ** File system is clean; not checking I rebooted but fsck shows same problem as before. All mount point are read-only, they are not marked as clean and I see corrupted files. # fsck ** /dev/rwd0a (NO WRITE) ** Last Mounted on / ** Root file system ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts UNREF FILE I=1686 OWNER=_mysql MODE=100600 SIZE=0 MTIME=Oct 12 11:20 2005 CLEAR? no UNREF FILE I=1689 OWNER=_mysql MODE=100600 SIZE=0 MTIME=Oct 12 11:20 2005 CLEAR? no UNREF FILE I=1691 OWNER=_mysql MODE=100600 SIZE=0 MTIME=Oct 12 11:20 2005 CLEAR? no ** Phase 5 - Check Cyl groups 1690 files, 14295 used, 61088 free (56 frags, 7629 blocks, 0.1% fragmentation) ** /dev/rwd0d (NO WRITE) ** Last Mounted on /home ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 96 files, 96 used, 25183 free (7 frags, 3147 blocks, 0.0% fragmentation) ** /dev/rwd0e (NO WRITE) ** Last Mounted on /usr ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 83681 files, 525918 used, 2568933 free (1045 frags, 320986 blocks, 0.0% fragmentation) ** /dev/rwd0f (NO WRITE) ** Last Mounted on /var ** Phase 1 -
Re: trouble with file system
On Wed, 12 Oct 2005, MK wrote: This situation is wired for me and I do not understand it. Can somebody help? Thanks a lot Checking a fs while mounted is not very handy, since inconsistencies will be reported: the fs is being modified while fsck runs. fsck is trying to tell you that by reverting to NOWRITE operation. -Otto
Sun's AMD 64 lineup
Does anyone have any experience with these sun boxes eg (the 'X' series or aquarius are pretty new; X2100 X4100 X4200 v20z v40z I'd expect openbsd would work a charm but would like to know for sure before purchasing for a customer. Cheers.
Re: upgrade 3.6 - 3.7
Erwin Zbinden wrote: Hi I am upgrading a i386 box from 3.6 to 3.7. In the upgrade guide I miss any hint to mergemaster. Is it obsolete? Tia Erwin Mergemaster is not a part of the base system. OpenBSD is and should be a complete system, the set of CDs, and in fact, the base download, should be all you need to use it and maintain it. Therefore, the upgradeXX.html documents are written to use obscure and sophisticated commands like cp(1) and mv(1). :) I've got nothing against Mergemaster, people whom I respect greatly use it and recommend it. But unless or until it goes into the base system (and it won't due to OTHER dependencies, as I recall), the official upgrade process won't include it. Feel free to write your own upgrade guide using whatever tools you want. :) Nick.
Re: Sun's AMD 64 lineup
OpenBSD Admin([EMAIL PROTECTED])@2005.10.12 20:28:05 +: Does anyone have any experience with these sun boxes eg (the 'X' series or aquarius are pretty new; X2100 X4100 X4200 v20z v40z I'd expect openbsd would work a charm but would like to know for sure before purchasing for a customer. read the archives .. -- Every man takes the limits of his own field of vision for the limits of the world. - Schopenhauer [demime 1.01d removed an attachment of type application/pgp-signature]
Re: very, very slow usb data transfer speed on 3.7
On Tue, 11 Oct 2005, Andrew Atrens wrote: I don't see the 'EHCI' controller in there anywhere. :( UHCI == usb1.1 EHCI == usb2.0 Top speed for usb1.1 is roughly 1MB/s. Your getting that. :| Two possibilities - your mobo doesn't do usb2.0 - or the ehci device probe isn't grokking your hardware. Andrew. Thank you Andrew and Peter for the explanation of why that drive is so slow. I inherited it at work. It's also got a firewire interface, so perhaps when firewire support comes along it will actually be usable. Jeff Jeff Ross wrote: I've got a USB external drive that is virtually unusable because it is so slow. mount dev/sd0a on / type ffs (local) /dev/sd0p on /backup type ffs (local, nodev, nosuid, softdep) /dev/sd0o on /destdir type ffs (local, nodev, nosuid, softdep) /dev/sd0d on /home type ffs (local, nodev, nosuid, softdep) /dev/sd0n on /releasedir type ffs (local, nodev, nosuid, softdep) /dev/sd0e on /tmp type ffs (local, nodev, nosuid, softdep) /dev/sd0f on /usr type ffs (local, nodev, softdep) /dev/sd0g on /usr/X11R6 type ffs (local, nodev, softdep) /dev/sd0h on /usr/local type ffs (local, nodev, softdep) /dev/sd0i on /cvs type ffs (local, nodev, nosuid, softdep) /dev/sd0j on /usr/src type ffs (local, nodev, nosuid, softdep) /dev/sd0k on /var type ffs (local, nodev, nosuid, softdep) /dev/sd0l on /var/qmail/bin type ffs (local, nodev, softdep) /dev/sd0m on /var/qmail/queue type ffs (local, nodev, nosuid) /dev/sd1a on /log type ffs (local, nodev, nosuid, softdep) /dev/sd1d on /offline type ffs (local, nodev, nosuid, softdep) /dev/sd1e on /wal type ffs (local, nodev, nosuid, softdep) mfs:13470 on /var/mfs type mfs (asynchronous, local, size=200 512-blocks) /dev/sd2a on /usb_drive type ffs (local) (write a file to the usb drive) time sudo dd if=/dev/zero of=/usb_drive/test_file count=100 100+0 records in 100+0 records out 51200 bytes transferred in 452.234 secs (1132156 bytes/sec) 7m32.69s real 0m0.51s user 0m3.88s system (write a file to the crappy 3WARE RAID1) time sudo dd if=/dev/zero of=/offline/test_file count=100 100+0 records in 100+0 records out 51200 bytes transferred in 9.298 secs (55064036 bytes/sec) 0m13.68s real 0m0.58s user 0m3.78s system dmesg: OpenBSD 3.8-current (GENERIC) #0: Wed Sep 14 22:05:15 MDT 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Xeon(TM) CPU 2.66GHz (GenuineIntel 686-class) 2.67 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID real mem = 2147000320 (2096680K) avail mem = 1953087488 (1907312K) using 4278 buffers containing 107454464 bytes (104936K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(00) BIOS, date 02/04/03, BIOS32 rev. 0 @ 0xf0010 pcibios0 at bios0: rev 2.1 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf2fb0/256 (14 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801CA LPC rev 0x00) pcibios0: PCI bus #4 is the last bus bios0: ROM list: 0xc/0x8000 0xc8000/0x1000 0xc9800/0x800 0xca000/0x1800 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel E7501 MCH Host rev 0x01 ppb0 at pci0 dev 2 function 0 Intel E7500 MCH rev 0x01 pci1 at ppb0 bus 1 Intel 82870P2 IOxAPIC rev 0x04 at pci1 dev 28 function 0 not configured ppb1 at pci1 dev 29 function 0 Intel 82870P2 PCI-PCI rev 0x04 pci2 at ppb1 bus 2 em0 at pci2 dev 1 function 0 Intel PRO/1000MT (82545EM) rev 0x01: irq 10, address: 00:e0:81:28:e9:71 Intel 82870P2 IOxAPIC rev 0x04 at pci1 dev 30 function 0 not configured ppb2 at pci1 dev 31 function 0 Intel 82870P2 PCI-PCI rev 0x04 pci3 at ppb2 bus 3 ahc1 at pci3 dev 3 function 0 Adaptec AHA-29160 U160 rev 0x02: irq 10 scsibus0 at ahc1: 16 targets st0 at scsibus0 targ 6 lun 0: SEAGATE, DAT 9SP40-000, 910B SCSI3 1/sequential removable st0: density code 0x26, 512-byte blocks, write-enabled twe0 at pci3 dev 6 function 0 3ware Escalade IDE RAID rev 0x01: irq 10 twe0: Escalade V1.3 scsibus1 at twe0: 16 targets sd0 at scsibus1 targ 0 lun 0: 3WARE, Host drive #00, SCSI2 0/direct fixed sd0: 117799MB, 15017 cyl, 255 head, 63 sec, 512 bytes/sec, 241252672 sec total sd1 at scsibus1 targ 2 lun 0: 3WARE, Host drive #02, SCSI2 0/direct fixed sd1: 117799MB, 15017 cyl, 255 head, 63 sec, 512 bytes/sec, 241252672 sec total uhci0 at pci0 dev 29 function 0 Intel 82801CA/CAM USB rev 0x02: irq 10 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 82801CA/CAM USB rev 0x02: irq 9 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 82801CA/CAM USB rev 0x02:
Re: dual boot XP , Openbsd
On 10/8/05, Roelof Wobben [EMAIL PROTECTED] wrote: Hello, On this moment I have XP on my system. Now i want a dual boot XP and Openbsd. XP has now the first 20 GB of total 40 GB. When install Openbsd after XP i get a problem regarding the install instructions. But when i first install Openbsd and then XP i think XP is not working well because i heard that XP wants to have the first partition. How can i solve this problem ?? http://darkuncle.net/OpenBSD/OpenBSD_dualboot.txt comments/errata welcome -- [EMAIL PROTECTED],darkuncle.net} || 0x5537F527 encrypted email to the latter address please http://darkuncle.net/pubkey.asc for public key
making packages out of the portstree
hi all, i wanted to install a package on an box, which i built out of the portstree via make package. everything goes fine and the package is available in /usr/ports/packages/i386/cdrom/ and ../ftp/. i copied the .tgz to the machine, where i wanted to install it on, but it failed with the following error: # pkg_add nut-2.0.0p0.tgz Unknown element: @pkgpath sysutils/nut,no_cgi i looked untarred it and looked through +CONTENTS and found following lines regarding @pkgpath: @pkgpath sysutils/nut,no_cgi @pkgpath sysutils/nut,snmp @pkgpath sysutils/nut,no_cgi,snmp in other packages' +CONTENT, e.g. wget from ftp.openbsd.org, there are no lines referring to this pkgpath. am i missing something in the buildprocess for a package? i read the man page of bsd.port.mk(5), ports(7) and pkg_add(1) but didn't find anything regarding this element and how to turn this of in the process of make package and i didn't find anything in the archives of marc.theaimsgroup.com regarding this problem. can anyone point me in the right direction? tia, marc
Re: pf tables and interface groups
* Ryan Puckett [EMAIL PROTECTED] [2005-10-07 22:36]: Under the Tables section in the pf.conf(5) man page, it is indicated that tables can be created with a valid interface group. I'm taking this to mean I can do the following: table all-of-my-vlans { vlan } or better yet: table outside { egress } but when loading up the ruleset or even trying to manually add the table via command line pfctl -t outside -T add egress I receive: no IP address found for egress I have no problems when specifying the exact interface such as vlan0. So my question is: did I misread this? no, I managed to miss implementing the static expansion, the way more complicated dynamic expansion for interface groups works fine. I'll add the static one asap. however, you probably don't want that anyway. extending your example slightly. table all-of-my-vlans { vlan } pass to all-of-my-vlans is equal to pass to (vlan) except that the latter saves some tiny amounts of memory, and, more important, gets dynamically updated when vlan interfaces get added or removed or IPs change on any vlan interface. -- BS Web Services, http://www.bsws.de/ OpenBSD-based Webhosting, Mail Services, Managed Servers, ... Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie)
Re: making packages out of the portstree
Hello! On Wed, Oct 12, 2005 at 05:04:56PM +0200, Marc Peters wrote: hi all, i wanted to install a package on an box, which i built out of the portstree via make package. everything goes fine and the package is available in /usr/ports/packages/i386/cdrom/ and ../ftp/. i copied the .tgz to the machine, where i wanted to install it on, but it failed with the following error: # pkg_add nut-2.0.0p0.tgz Unknown element: @pkgpath sysutils/nut,no_cgi I'd guess you're using a newer OpenBSD installation to build the port/package compared to the installation you try to pkg_add the package. [...] Kind regards, Hannah.
Re: making packages out of the portstree
On 10/12/05, Marc Peters [EMAIL PROTECTED] wrote: hi all, i wanted to install a package on an box, which i built out of the portstree via make package. everything goes fine and the package is available in /usr/ports/packages/i386/cdrom/ and ../ftp/. i copied the .tgz to the machine, where i wanted to install it on, but it failed with the following error: # pkg_add nut-2.0.0p0.tgz Unknown element: @pkgpath sysutils/nut,no_cgi can anyone point me in the right direction? You must be using the current port tree with a stable release. This does not work. Eric.
Re: making packages out of the portstree
Quoting Marc Peters [EMAIL PROTECTED]: # pkg_add nut-2.0.0p0.tgz Unknown element: @pkgpath sysutils/nut,no_cgi Make sure all your systems are running the same version of OpenBSD, and you're not using -current ports with a -stable/-release OS.
openAFS or arla support?
heya, i'm interested in getting an AFS server setup, but openAFS 1.3.87 will not compile from source on 3.8-current (same as http://marc.theaimsgroup.com/?l=openbsd-miscm=112867186930581w=2). i also noticed that ober had posted a howto for getting openAFS working on openbsd 3.7 (see http://www.linbsd.org/afs_on_openbsd_client.html), but this doesn't work when compiling from source since it requires the --with-afs-sysname to be set to i386_obsd3X where X only goes up to 6. when i set it to i386_obsd36, i get an error when i make and i get an error when i configure if i don't set --with-afs-sysname. i can post the configure/build errors if anyone thinks i should, and they are easily reproducible. i've also looked at arla and found it worrisome when reading the notes on installation from source for version 0.40.0 and seeing the following: (from section on quirks of running arla) {Net|Open}BSD: You can not load kernel modules (the modload step) when your securelevel is above zero. There are two ways to make sure that you can load kernel modules: * You can compile a new kernel with option INSECURE. This will make the securelevel be zero in multiuser. Then you can load the modules with the above commands. Some people might consider this a security risk. * You can load the modules in /etc/lkm.conf (for NetBSD) or /etc/rc.securelevel (for OpenBSD). recompiling my kernel so that it can run in securelevel 0 doesn't seem like a good thing to do. i noticed that the release notes for 3.8 state that Arla 0.35.7 is part of the base system. i assume this is only the AFS client, afsd, and not the server daemons since i can't find anything useful besides the afsd manual page. could someone point me clue me in as to how i can get an AFS server up and running on 3.8-current? i hope this is doable, although the archive post i referenced above leads me to believe otherwise. cheers, jake
Re: isakmpd.conf multinet question
On Tue, Oct 11, 2005 at 12:42:08PM +0200, Runo Forrisdahl wrote: Can I add a second net to the remote end like this: Remote-ID= net-remote, net-remote2 no you can't.
Re: Sun's AMD 64 lineup
OpenBSD Admin wrote: Does anyone have any experience with these sun boxes eg (the 'X' series or aquarius are pretty new; X2100 X4100 X4200 These three are new and not available now. Last time I check with Sun, they will start to ship early November. So, I don't expect to many feedback on these yet! (; v20z v40z The archive provide feedback on them and well as the hardware support page will give you some too. Daniel
Re: Sun's AMD 64 lineup
Daniel Ouellet wrote: OpenBSD Admin wrote: Does anyone have any experience with these sun boxes eg (the 'X' series or aquarius are pretty new; X2100 X4100 X4200 These three are new and not available now. Last time I check with Sun, they will start to ship early November. So, I don't expect to many feedback on these yet! (; v20z v40z The archive provide feedback on them and well as the hardware support page will give you some too. Daniel Thanks Daniel, I was also advised by Sun that they would not be available until november in Australia. I just assumed that they would be available everywhere else before then. Cheers. Brian.
Re: Sun's AMD 64 lineup
Teemu Schaabl wrote: OpenBSD Admin([EMAIL PROTECTED])@2005.10.12 20:28:05 +: Does anyone have any experience with these sun boxes eg (the 'X' series or aquarius are pretty new; X2100 X4100 X4200 v20z v40z I'd expect openbsd would work a charm but would like to know for sure before purchasing for a customer. read the archives .. -- Every man takes the limits of his own field of vision for the limits of the world. - Schopenhauer [demime 1.01d removed an attachment of type application/pgp-signature] Did *you* read the archives ?
Re: 回覆: Re: add wireless router using openbsd-3.8 (i386)
Going back to your network layout, does your obsd-3.6 box know how to get your wireless clients? If it's like this: internet - obsd-3.6 - rl0/obsd-3.8/wi0 - wireless clients then on the obsd-3.6 box you need to add a route to the 192.168.2.x network. Greg On 10/11/05, man Chan [EMAIL PROTECTED] wrote: Thanks. I find out that I have to setup a dns and pf at the AP in order to allowed the clients (window, obsd) to access the internet. However, it is plain text mode. Any idea (I am new to this sort of thing wireless setup). here is my configuration: ifconfig out put lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33224 groups: lo inet 127.0.0.1 http://127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 rl0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500 lladdr 00:e0:4c:3b:a9:ed groups: egress media: Ethernet autoselect (100baseTX full-duplex) status: active inet 192.168.1.120 http://192.168.1.120 netmask 0xff00 broadcast 192.168.1.255 http://192.168.1.255 inet6 fe80::2e0:4cff:fe3b:a9ed%rl0 prefixlen 64 scopeid 0x1 pflog0: flags=141UP,RUNNING,PROMISC mtu 33224 pfsync0: flags=0 mtu 1348 enc0: flags=0 mtu 1536 wi0: flags=8d43UP,BROADCAST,RUNNING,PROMISC,OACTIVE,SIMPLEX,MULTICAST mtu 1500 lladdr 00:05:5d:d9:84:6c media: IEEE802.11 autoselect hostap (DS2) status: active ieee80211: nwid obsd-group 2dBm (auto) inet 192.168.2.1 http://192.168.2.1 netmask 0xff00 broadcast 192.168.2.255 http://192.168.2.255 inet6 fe80::205:5dff:fed9:846c%wi0 prefixlen 64 scopeid 0x6 bridge0: flags=41UP,RUNNING mtu 1500 groups: bridge wicontrol output = NIC serial number: [ 99SA0100 ] Station name: [ air ] SSID for IBSS creation: [ obsd-group ] Current netname (SSID): [ obsd-group ] Desired netname (SSID): [ obsd-group ] Current BSSID: [ 00:05:5d:d9:84:6c ] Channel list: [ 2047 ] IBSS channel: [ 6 ] Current channel: [ 6 ] Comms quality/signal/noise: [ 0 81 27 ] Promiscuous mode: [ Off ] Process 802.11b Frame: [ Off ] Port type (1=BSS, 3=ad-hoc, 6=Host AP): [ 6 ] MAC address: [ 00:05:5d:d9:84:6c ] TX rate (selection): [ 3 ] TX rate (actual speed): [ 2 ] Maximum data length: [ 2304 ] RTS/CTS handshake threshold: [ 2347 ] Create IBSS: [ On ] Antenna diversity (0=auto,1=pri,2=aux): [ ] Microwave oven robustness: [ On ] Roaming mode(1=firm,3=disable): [ 1 ] Access point density: [ 1 ] Power Management: [ Off ] Max sleep time: [ 100 ] Enhanced Security mode: [ ] Intersil Prism2-based card: [ 1 ] Card info: [ PRISM2.5 ISL3873, Firmware 1.3.4 ] Encryption: [ Off ] Encryption algorithm: [ Firmware WEP ] Authentication type (1=OpenSys, 2=Shared Key): [ 1 ] TX encryption key: [ 1 ] Encryption keys: [ abcdef1234567 ][ ][ ][ ] air# cat /tmp/a NIC serial number: [ 99SA0100 ] Station name: [ air ] SSID for IBSS creation: [ obsd-group ] Current netname (SSID): [ obsd-group ] Desired netname (SSID): [ obsd-group ] Current BSSID: [ 00:05:5d:d9:84:6c ] Channel list: [ 2047 ] IBSS channel: [ 6 ] Current channel: [ 6 ] Comms quality/signal/noise: [ 0 81 27 ] Promiscuous mode: [ Off ] Process 802.11b Frame: [ Off ] Port type (1=BSS, 3=ad-hoc, 6=Host AP): [ 6 ] MAC address: [ 00:05:5d:d9:84:6c ] TX rate (selection): [ 3 ] TX rate (actual speed): [ 2 ] Maximum data length: [ 2304 ] RTS/CTS handshake threshold: [ 2347 ] Create IBSS: [ On ] Antenna diversity (0=auto,1=pri,2=aux): [ ] Microwave oven robustness: [ On ] Roaming mode(1=firm,3=disable): [ 1 ] Access point density: [ 1 ] Power Management: [ Off ] Max sleep time: [ 100 ] Enhanced Security mode: [ ] Intersil Prism2-based card: [ 1 ] Card info: [ PRISM2.5 ISL3873, Firmware 1.3.4 ] Encryption: [ Off ] Encryption algorithm: [ Firmware WEP ] Authentication type (1=OpenSys, 2=Shared Key): [ 1 ] TX encryption key: [ 1 ] Encryption keys: [ abcdef1234567 ][ ][ ][ ] = sysctl.conf net.inet.ip.forwarding=1 net.inet6.ip6.forwarding=1 Thomas [EMAIL PROTECTED] ;!!G On 10/11/05, man Chan [EMAIL PROTECTED] wrote: Hello, I recently tried to setup a wireless AP machine using openbsd-3.8 (i386) without any luck. I tried to search the google to find out the way to solve my problem with no success. Can anyone show me the direction to do it ? Thanks for your time . clarence ps. 1. the hardware is Dlink 802.11b prism2.5 2. I can use wicontrol -l to list the connected machine. 3. I can use ssh from the window-xp to the AP machine 4. here is the diagram of my case internet -- adsl - obsd-3.6 - switch - wired clients | AP (obsd3.8) | wireless clients We need much much more info than that. IP configs, output of ifconfig and wicontrol from the AP, sysctl.conf from the AP, etc. Greg
Re: openAFS or arla support?
Nice. Was just in the process of putting a howto together for OpenAFS Server on OBSD. For the client on 3.8 -current I just used --with-sysname=obsd_37 -Ober On Wed, 12 Oct 2005, Chris Kuethe wrote: On 12/10/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: could someone point me clue me in as to how i can get an AFS server up and running on 3.8-current? i hope this is doable, although the archive post i referenced above leads me to believe otherwise. It's not all that hard to do. Take the i386 openbsd 3.7 configuration, copy it to 3.8. Edit configure (or the autoconfornication stuff) to recognize 3.8 and configure it appropriately. You'll need to patch the various sources to teach openafs that openbsd does have strcasestr. It's not all that painful. I'd send you the diff but my current+openafs dev box just blew a disk. as for loading the module, I just do it in rc.securelevel. afs gets its grubby little fingers in so many places that trying to load/unload it on the fly is a fool's errand. Just do it in rc.securelevel, and reboot (via single user mode to give you a chance to disable the modload) if you don't need afs any more. OpenAFS has been pretty stable for me in testing and has been serving 40+ GB afs volumes for some months now. We're running it on our production login servers, and a goodly number of our user home directories are served out of afs running openafs on i386 openbsd. CK -- GDB has a 'break' feature; why doesn't it have 'fix' too?
automate on/off switch for usb serial devices
What is the best way of automating on/off switch for a usb serial device via ttyU? One solution would be a script accessible via visudo (see init_ttyU below). The idea is not to do the following by hand, but automate it. Are there any security risks involved by automating it? 1. su to root 2. edit on/off in /etc/ttys ttyU0 /usr/libexec/getty std.9600 vt100 on secure 3. kill -HUP 1 to restart init getty's Solution for on: 1. Attach usb serial, check dmesg 2. Run `init_ttyU on` Solution for off: 1. Run `init_ttyU off` 2. Detach usb serial Note: We always switch ttyU? off before switching it on. If the device is detached whilst on, the getty ttyU? process can disappear. Before init can switch it on, it needs to switch it off. init_ttyU = #!/bin/sh if [[ $# -ne 1 || ! ($1 = off || $1 = on) ]] then echo Usage $0 on or $0 off exit 1 fi tmp=/tmp/ttyU$$ /usr/bin/sed /^ttyU[01]/s/on/off/g /etc/ttys $tmp if [[ -s $tmp ]] then /bin/cat $tmp /etc/ttys fi /bin/kill -HUP 1 if [[ $1 = on ]] then /usr/bin/sed /^ttyU[01]/s/off/on/g /etc/ttys $tmp if [[ -s $tmp ]] then /bin/cat $tmp /etc/ttys fi /bin/kill -HUP 1 fi rm -rf $tmp Ed.
Re: making packages out of the portstree
On Wed, Oct 12, 2005 at 05:04:56PM +0200, Marc Peters wrote: hi all, i wanted to install a package on an box, which i built out of the portstree via make package. everything goes fine and the package is available in /usr/ports/packages/i386/cdrom/ and ../ftp/. i copied the .tgz to the machine, where i wanted to install it on, but it failed with the following error: # pkg_add nut-2.0.0p0.tgz Unknown element: @pkgpath sysutils/nut,no_cgi i looked untarred it and looked through +CONTENTS and found following lines regarding @pkgpath: @pkgpath sysutils/nut,no_cgi @pkgpath sysutils/nut,snmp @pkgpath sysutils/nut,no_cgi,snmp in other packages' +CONTENT, e.g. wget from ftp.openbsd.org, there are no lines referring to this pkgpath. am i missing something in the buildprocess for a package? i read the man page of bsd.port.mk(5), ports(7) and pkg_add(1) but didn't find anything regarding this element and how to turn this of in the process of make package and i didn't find anything in the archives of marc.theaimsgroup.com regarding this problem. @pkgpath is a fairly recent addition to the package tools. The stuff on the machines you built packages on obviously knows about it, since pkg_create was able to create the packages. The machines you try to add the package on doesn't know about it. -stable vs. -current looks like the more likely explanation. You won't find a way to turn this off. The OpenBSD ports tree doesn't work that way, you don't turn stuff off. @pkgpath is a very useful addition for the update process...
Re: openAFS or arla support?
On Wed, 2005-10-12 at 16:57:27 -0500, ober proclaimed... Was just in the process of putting a howto together for OpenAFS Server on OBSD. Please share it with us when done; I know I'm definitely interested and can help test.
Re: Sun's AMD 64 lineup
OpenBSD Admin wrote: X2100 X4100 X4200 I think Sun is going to be providing one of these as a Sunray server for the AUUG 2005 conference (http://www.auug.org.au) - although the box they supply may turn out to be a v40z. If it is one of the new ones, at the end of the conference Adrian Close and I will try running OpenBSD up on it. We'll let you know how it goes. Cheers, DavidP
Re: openAFS or arla support?
Do you guys prefer --with-transarc paths? I am rewriting my http://www.linbsd.org/AFS_INSTALL script with better logic, and OpenBSD based. However I also compile with --enable-transarc-paths which puts all binaries in /usr/afs/bin and config/cache/modules in /usr/vice/etc and /usr/vice/cache. Since I come from the Transarc AFS world I am currently coding it to use these paths. This also reduces conflicts with Arla binaries (eg fs(1)/bos(1)/vos(1)/pts(1)) So let me know as I am writing it as we speak. The goal is to allow you to install a single server AFS cell with a single script. I use it the old version on Linux fine. However would like feedback for transarc/non transarc paths. Second thought I will code for both, and set it as a variable. -Ober On Wed, 12 Oct 2005, eric wrote: On Wed, 2005-10-12 at 16:57:27 -0500, ober proclaimed... Was just in the process of putting a howto together for OpenAFS Server on OBSD. Please share it with us when done; I know I'm definitely interested and can help test.
Re: openAFS or arla support?
Ok here is the first shot at this. I tested it, and it appears to work. However since I dont have a dedicated box for it just yet, it most likely has some bugs. Please review it before just running it. It is most likely broken in some way that only testing will find. http://www.linbsd.org/oafs_server_install_obsd.sh -Ober On Wed, 12 Oct 2005, ober wrote: Do you guys prefer --with-transarc paths? I am rewriting my http://www.linbsd.org/AFS_INSTALL script with better logic, and OpenBSD based. However I also compile with --enable-transarc-paths which puts all binaries in /usr/afs/bin and config/cache/modules in /usr/vice/etc and /usr/vice/cache. Since I come from the Transarc AFS world I am currently coding it to use these paths. This also reduces conflicts with Arla binaries (eg fs(1)/bos(1)/vos(1)/pts(1)) So let me know as I am writing it as we speak. The goal is to allow you to install a single server AFS cell with a single script. I use it the old version on Linux fine. However would like feedback for transarc/non transarc paths. Second thought I will code for both, and set it as a variable. -Ober On Wed, 12 Oct 2005, eric wrote: On Wed, 2005-10-12 at 16:57:27 -0500, ober proclaimed... Was just in the process of putting a howto together for OpenAFS Server on OBSD. Please share it with us when done; I know I'm definitely interested and can help test.
Welcome to our Newsletter
Welcome to our Newsletter Please keep this email for later reference. Your email address has been added to the following newsletter(s): * None of them To update your details and preferences please go to http://www.aheadsup.com/lists/?p=preferencesuid=9a383d20ed4f30df80bba687fe0f2676. If you do not want to receive any more messages, please go to http://www.aheadsup.com/lists/?p=unsubscribeuid=9a383d20ed4f30df80bba687fe0f2676. Thank you
Re: RAID for dummies
On Mon, Oct 10, 2005 at 09:50:29PM -0700, the unit calling itself Raymond Lillard wrote: I want to set up an OBSD box as a file server for some Windoze boxes. I think a RAID 1 setup will provide sufficient reliability - and it appears to be the cheapest way to go. I don't desire to become an expert on RAID, I don't want to spend a lot of money, and I'm confused by what I've read on the subject. Here's how I'd like it to work: One of the disks craps out... an alarm goes off... I walk in with a new drive, and replace the failed one (hot-swap?)... beeping stops... no data is lost, system heals itself by taking care of the new drive... years pass, and life is good. Is this feasible - can I remain ignorant of the RAID details and jargon, and still benefit from it? Ignorance often leads to a very expensive education. I agree - it also leads to off-point drivel Are you certain that archival backups are not necessary? Certain!? Would you care to point out where I stated or even implied that backups weren't necessary?
Re: RAID for dummies
On Tue, Oct 11, 2005 at 07:11:03AM -0400, the unit calling itself Nick Holland wrote: There's only one RAID system that I think is anything close to as simple as you desire: ... Accusys ACS-7500 or its competitors. No equity position in any of them. And yes, that's it. :) I'll admit to a lot of sweat equity in the Accusys ACS7500. I love the things -- the simplicity, the fact that they usually just work, etc. Actually, there seem to be three (3) similar offerings: Accusys (http://www.accusys.com.tw/, or http://www.accusysusa.com/index.htm) Accordance (http://www.accordancesystems.com/) ArcoIDE (http://www.arcoide.com/) They all seem to have pretty uninformative or confusing info on their websites, and they all appear to be hard to find (in that retailers are few and far between). It's encouraging to hear that you've had a positive experience with the Accusys hardware. Anyway...you HAVE to spend time getting to know whatever RAID solution you are using. Practice, practice, practice!!! Try swapping drives -- what happens if you swap a drive with a larger drive? smaller drive? how does it indicate errors? etc... In short: never trust anyone else to haul your butt out of the fire. Not quite sure what point you're trying to make here... are you advocating that one develop expertise in all areas to become totally self-sufficient? If so, I suppose you are all at once: thoracic surgeon, firefighter, psychiatrist, tax lawyer, microbiologist, etc, etc, etc. Jay
3 VPNs, 3 networks, 2 subnets
I'm trying to do something I'm pretty sure I recall reading couldn't be done. Although I wasn't able to find any information this last time around. We're going to be temporarily splitting our data centre, but still want both data centre halfs connected to our office through our VPN. Everyone needs to maintain the same subnet as we have software that is licensed based on the subnet it is on. So: 192.168.120.x - 192.168.121.x - 192.168.120.x I don't care if the two .120's can talk to one another, I just need to be able to talk to both .120's from the .121 Now, some cursory poking around, using a local ID type of IPV4_ADDR_SUBNET is no good. Using IPV4_ADDR isn't working for me, as the .121 firewall (understandably) doesn't know to route the internal traffic that way. So, immidate question would be, would there be a way to add routing table entries for the specifc IPs I want going to the second .120 network? I understand how arp requests work, but obviously not how an arp proxy works, as I wasn't able to fix network unreachable errors. If that's a no go, is this even possible? At all? I'm willing to do bizarre things. The other thought I've had is to have a .130 subnet on a vlan and the second .120 on another vlan, and then just translate packets. Any help appreciated. Chris
some ospf setup questions
I have a couple of OpenBSD 3.7 machines that I use for a firewall/gateway to a particulare network at work using carp. I had these machines set up to advertise the route to this network using routed (RIP). Today some changes were amde to the networking topolgy, and I sudently find myselef in a postion of needing to change to ospf. I built the zebra prt, and now I'm having a bit of trouble getting thisng to work. First, I;m assuming that since I only need ospf, I should be able to just run ospfd, is this correct, or do I need to run the zebra executbale, and let it call opsfd? Here's my /etc/ospfd.conf file: # $OpenBSD: ospfd.conf,v 1.2 2005/02/06 20:07:09 norby Exp $ # macros # password=secret # global configuration router-id 170.85.113.111 # fib-update no # spf-delay 1 # spf-holdtime 5 # auth-key $password # auth-type none hello-interval 10 # metric 10 retransmit-interval 5 router-dead-time 40 router-priority 1 transmit-delay 1 # areas area 0.0.0.120 { interface fxp0 { auth-type none } interface fxp2 { auth-type none } } I'm peering with an Aclere (sp) router, and when I run opsfd, I cna't get them to work with each other. here's some ouptut from the daemon: recv_db_description: neighbor ID 170.85.115.1, seq_num 2d5830df recv_dd_description: invalid MTU, neighbor ID 170.85.115.1 db_tx_timer: neighbor ID 170.85.115.1 send_db_description: neighbor ID 170.85.115.1, seq_num 2d5830df send_db_description: state EXSTART, neighbor ID 170.85.115.1 By googling I did find a reference to changing the check for MTU size, but it references changing code in a file called database.c, which does not seem to exist in the zebra port build directory. I want this machine to advertise a route to the network on fxp2. This advertisement should go out on the network fxp0 connects to. Any idea how to solve the MTU problem? and am I close on my config file? -- U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong Terror - New York Times 9/3/1967
Problems With Thinkpad R51
hi, i've got a problem with my ibm thinkpad r51, so i tought was better first post it here instead of use sendbug (got i the right way?), maybe it can be some wrong conf.. When i flip down the lcd of the computer, when i turn it up again i got a black screen with just a cursor blinking, my keyboard doesn't work.. the only way to get my computer back without restarting the system (using the power button, cause i can't control it) or going trough ssh and killing the X server.. to reproduce it is just enter the X, and pull the flip down. I'm using OpenBSD 3.7 with the official x11 and fluxbox packages. my machine is a ibm thinkpad r51 and my dmesg is above: OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) M processor 1500MHz (GenuineIntel 686-class) 1.50 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,EST,TM2 cpu0: Enhanced SpeedStep 1500 MHz (1484 mV): speeds: 1500, 1400, 1200, 1000, 800, 600 MHz real mem = 53588 (523112K) avail mem = 482000896 (470704K) using 4278 buffers containing 26886144 bytes (26256K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(d2) BIOS, date 10/29/04, BIOS32 rev. 0 @ 0xfd750 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #3 is the last bus bios0: ROM list: 0xc/0x1 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82855PE Hub rev 0x03 ppb0 at pci0 dev 1 function 0 Intel 82855PE AGP rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M7 LW rev 0x00 wsdisplay0 at vga1: 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, class 9/0, 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 11 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: Intel UHCI root hub, class 9/0, 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 11 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: Intel UHCI root hub, class 9/0, 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 11 ehci0: EHCI version 1.0 ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 usb3 at ehci0: USB revision 2.0 uhub3 at usb3 uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: single transaction translator uhub3: 6 ports with 6 removable, self powered ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x81 pci2 at ppb1 bus 2 cbb0 at pci2 dev 0 function 0 Texas Instruments PCI4520 CardBus rev 0x01: irq 11 Texas Instruments PCI4520 FireWire rev 0x01 at pci2 dev 0 function 2 not configured em0 at pci2 dev 1 function 0 Intel PRO/1000MT Mobile (82540EP) rev 0x03: irq 11, address: 00:11:25:30:b9:f8 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0xb0 pcmcia0 at cardslot0 ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x01 pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: IC25N040ATMR04-0 wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: TEAC, DW-225, 2.2A SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 Intel 82801DB SMBus rev 0x01 at pci0 dev 31 function 3 not configured auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x01: irq 11, ICH4 AC97 ac97: codec id 0x41445374 (Analog Devices AD1981B) ac97: codec features headphone, 20 bit DAC, No 3D Stereo audio0 at auich0 Intel 82801DB Modem rev 0x01 at pci0 dev 31 function 6 not configured 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 (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 npx0 at isa0 port 0xf0/16: using exception 16 biomask effd netmask effd ttymask pctr: 686-class user-level performance counters enabled mtrr: Pentium Pro MTRR support dkcsum: wd0 matched BIOS