Re: bsdanywhere
On your web site, in your FAQ on your liveCD, you have recommendations that include disabling the hard drives in bios. I tried that with the OpenBSD install iso, and it still found my sata drive. jafyi -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Josh Grosse Sent: Friday, June 06, 2008 11:55 AM To: [EMAIL PROTECTED]; misc Subject: Re: bsdanywhere On Fri, 6 Jun 2008 19:42:08 +0200, Pau wrote > a nice thing to test hardware and get dmesg > > http://bsdanywhere.org/ > > Of course, I guess that booting the obsd installer cd is much faster > and you get also dmesg > but this is an interesting alternative Yes, I just discovered it this week and had a quick e-mail conversation with Stephan the other day. We have both produced similar works, and were unaware of each other's efforts. Basic difference (at the moment): bsdanywhere has Evolution DR17 window management, mine has fvwm/cwm, FluxBox, XFCE, KDE, Gnome for window management. Link to mine: www.jggimi.homeip.net
Re: Mouse Pointer Disappeared
What version of OpenBSD, what mouse hardware, what video driver, etc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel B. Sent: Wednesday, June 18, 2008 2:17 PM To: misc@openbsd.org Subject: Mouse Pointer Disappeared Hi, sometimes my mouse pointer disappear. Restarting xorg do not solve the problem. Any hints? Thank you.
Re: no thttpd.conf for OpenBSD?
Considering how small the program is, and the license (seems like a bsd style license to my inexperienced eye) are there any reasons why this couldn't be included in base? Anathae
Re: Dissertation ideas for my degree
Shell commands for accessing web based search engines. I would like to do it myself, but am expecting that what seems like a simple idea on the surface quickly becomes non trivial. Anathae Townsend -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Edd Barrett Sent: Wednesday, June 18, 2008 3:16 PM To: misc@openbsd.org Cc: William French Subject: OT: Dissertation ideas for my degree Hi, As it seems my last two project ideas for my degree have fallen through, I wonder if anyone here has any ideas for software projects which are: a) Useful b) Conceptually new Ideas need not be OpenBSD based, but it's a bonus if it is. Usually a project consists of a software build and a write up. -- Best Regards Edd http://students.dec.bmth.ac.uk/ebarrett
Re: booting a different kernel
There are documents available off of the OpenBSD website that explain how to set up a dual boot system. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of annne annnie Sent: Monday, June 23, 2008 8:07 AM To: misc@openbsd.org Subject: booting a different kernel If I had windows installed first, then I installed openbsd, what would I type to boot into windows?B Don't you have to type the name of the kernel?B What is windows xp's kernel called?B I would also have to type the partition too right?B Like sd0, that kind of thing.B If windows was my first partition, would it be sd0a? __ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
Unable to connect to Xvfb using sshd
I am running an HP Vectra VL400 system under OpenBSD 4.4 beta 2007-07-11. When I attempt to connect using ssvnc from my windows box using the ssh option I am getting "connection refused by server: Administratively prohibited" When I check authlog, the error message is July 19 23:19:22 kendra sshd[4501]: error: connect to 127.0.0.1 port 5900 failed: Undefined error: 0 /etc/ssh/sshd_config is set to defaults which appears to allow for port forwarding. Any additional information or suggestions on how to resolve this issue? Anathae
Re: Unable to connect to Xvfb using sshd
On Sunday, July 20, 2008 1:45 AM Paul de Weerd wrote: |On Sat, Jul 19, 2008 at 11:53:44PM -0600, Anathae Townsend wrote: | | I am running an HP Vectra VL400 system under OpenBSD 4.4 beta 2007-07-11. | | | | When I attempt to connect using ssvnc from my windows box using the ssh | | option I am getting "connection refused by server: Administratively | | prohibited" | | | | When I check authlog, the error message is | | July 19 23:19:22 kendra sshd[4501]: error: connect to 127.0.0.1 port 5900 | | failed: Undefined error: 0 | | | | /etc/ssh/sshd_config is set to defaults which appears to allow for port | | forwarding. | | | | Any additional information or suggestions on how to resolve this issue? | | I ran into the same problem with that particular version. Apparently, | it's a buglet that somehow crept into this snapshot, upgrade to more a | recent snap and you should be golden (I was). | | Oh, and I'm assuming you meant 2008, not 2007 ;) | | Cheers, | | Paul 'WEiRD' de Weerd | | -- | >[<++>-]<+++.>+++[<-->-]<.>+++[<+ | +++>-]<.>++[<>-]<+.--.[-] | http://www.weirdnet.nl/ bleh... yes. Will update if this fixes issue.
Re: Unable to connect to Xvfb using sshd
Tried your fix and the progress is that I'm now getting 'Jul 20 03:14:06 kendra sshd[23354]: error: connect to 127.0.0.1 port 5910 failed: Connection refused' in authlog. I think I have to look in the direction of the ssvnc people now... seems to be a usage Problem on my Vista box now. On Sunday, July 20, 2008 1:45 AM Paul de Weerd wrote | On Sat, Jul 19, 2008 at 11:53:44PM -0600, Anathae Townsend wrote: | | I am running an HP Vectra VL400 system under OpenBSD 4.4 beta 2007-07-11. | | | | When I attempt to connect using ssvnc from my windows box using the ssh | | option I am getting "connection refused by server: Administratively | | prohibited" | | | | When I check authlog, the error message is | | July 19 23:19:22 kendra sshd[4501]: error: connect to 127.0.0.1 port 5900 | | failed: Undefined error: 0 | | | | /etc/ssh/sshd_config is set to defaults which appears to allow for port | | forwarding. | | | | Any additional information or suggestions on how to resolve this issue? | | I ran into the same problem with that particular version. Apparently, | it's a buglet that somehow crept into this snapshot, upgrade to more a | recent snap and you should be golden (I was). | | Oh, and I'm assuming you meant 2008, not 2007 ;) | | Cheers, | | Paul 'WEiRD' de Weerd | | -- | >[<++>-]<+++.>+++[<-->-]<.>+++[<+ | +++>-]<.>++[<>-]<+.--.[-] | http://www.weirdnet.nl/
Re: Unable to connect to Xvfb using sshd
Stuart Henderson, on Sunday, July 20, 2008 at 4:40 AM wrote > > On 2008-07-20, Anathae Townsend <[EMAIL PROTECTED]> wrote: > > Tried your fix and the progress is that I'm now getting > > > > 'Jul 20 03:14:06 kendra sshd[23354]: error: connect to 127.0.0.1 port 5910 > > failed: Connection refused' > > > > in authlog. > > > > I think I have to look in the direction of the ssvnc people now... seems to > > be a usage > > Problem on my Vista box now. > > It should be fairly straightforward, does it fail if you do > "vncviewer -via "? > > Also check the mirror you updated from is up-to-date. Updated from ftp.openbsd.org. I have the joy of living in Edmonton. :) vncviewer -via [EMAIL PROTECTED] faith Results in unable to connect because vmrc version 3.6 or later required. When I have been able to get vncviewer to run, I've gotten an error message about unable to connect to Kendra:30 on the vista side.
rxterm replacement
In my delving into the OpenBSD system and using Xorg, I noticed that .fvwmrc contains references to rsh, rxterm, and rxvt. Replacing rsh with ssh and rxvt with xterm was easy. However creating a replacement for the rxterm not so much. >From the information I was able to gather, rxterm is a shell script that creates a remote xterm (duh). The .fvwmrc line could easily be replaced with 'Exec ssh [remotehost] xterm -display $HOSTDISPLAY &' but that would defeat the intent of the original line. I have not been able in my admittedly limited search of openbsd.org and google to find a shell script that has replaced rxterm. Is there one? My intent is to provide a diff of the current .fvwmrc with references to the insecure rsh etc stuff replaced with ssh alternatives.
sub-notebook computers
Besides the ASUS EEEPCs, has anyone tried to get other sub-notebooks working under OpenBSD? Two computers I am thinking of are the MSI WIND (street price around $550 canadian) and the Acer Aspire One A110-1955 (street price around $380 canadian) Anathae
Re: Vlan Tag on Vlan Tag (l2tunneling)
Metro is a model name for cisco. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Shockley Sent: Friday, August 22, 2008 12:08 PM To: misc@openbsd.org Subject: Re: Vlan Tag on Vlan Tag (l2tunneling) Insan Praja SW wrote: > This is beyond expectation, as an openbsd user, I'am blown over since > now, my so called router/switch is a metro switch.. geez.. I patching > now, and let's see what happens. OT, but what makes a metro switch "metro"?
Possibly OT... allowing daemon mpd to access samba shares
I'm currently trying to set up and OpenBSD machine (4.4 beta 08/08/23) To run as a SaMBa server and a music server using the mpd package. A global windows share known as //Rowena/music has been set up to gather the songs and I attempted to configure mpd as using that as the music directory. When mpd is started, it complains that /var/samba/music can not be opened because of permissions /var/samba/music has group set to samba and user set to samba uid 561 gid 561. Permissions are -rwxrwx---, user _mpd (mpd drops to this user when started by root, is a member of _mpd and samba. If I set permissions on the directory to 777, mpd runs fine. Any pointers on where in the manual I should look? Or even suggestions on how to fix the problem? Anathae
Re: Possibly OT... allowing daemon mpd to access samba shares
The latest cvs version (as of 08/09/09 early morning) of the mpd package has this fixed.
Re: forcing system disk to wd0
My two cents (your mileage etc.) Having the system disk "just work (tm)" is a good thing. Having it work in a secure and correct way seems like something not so trivial. Perhaps linking at least root to the system disk could be set as a boot option. A combination of a uuid, boot options, and mount using these two perhaps?
snapshots/packages/i386 newer than snapshot/i386
Just an fyi. I am unable to install a package as the libs installed by the iso are older than the libs required by the package.
Re: snapshots/packages/i386 newer than snapshot/i386
Right, my bad -Original Message- From: Joe Gidi [mailto:[EMAIL PROTECTED] Sent: Saturday, September 13, 2008 2:25 PM To: Anathae Townsend Subject: Re: snapshots/packages/i386 newer than snapshot/i386 > Just an fyi. I am unable to install a package as the libs installed by > the > iso are older than the libs required by the package. Are you sure it's not the package wanting older libs than those included in the ISO? Right now package snapshots are behind -current install ISOs (by almost a month in the case of the i386 arch) due to the upcoming release of 4.4. Theo's explanation: http://marc.info/?l=openbsd-misc&m=120620984225011&w=2 -- Joe Gidi [EMAIL PROTECTED]
Re: gdmsetup - Segmentation fault (core dumped) at OpenBSD 4.3
There is a difference between the libgthread library you have on your system and the one that was used in the creation of the gnome that you installed from packages. Are you using OpenBSD 4.3 -release and did you get the gnome package from the OpenBSD/4.3/packages/i386 directory of the ftp server you used? Anathae -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of my mail Sent: Tuesday, September 16, 2008 11:35 PM To: misc@openbsd.org Subject: gdmsetup - Segmentation fault (core dumped) at OpenBSD 4.3 i have run gnome at openbsd 4.3, install from package, when i try to run gdmsetup at console i got this error: # gdmsetup gdmsetup:/usr/local/lib/libgthread-2.0.so.1400.3: undefined symbol 'pthread_mutex_trylock' lazy binding failed! Segmentation fault (core dumped) i have try to search with google but can found the solution. th
Re: gdmsetup - Segmentation fault (core dumped) at OpenBSD 4.3
If you have checked out the -stable ports, you should be able to do make and make install in each of the appropriate ports sub directories. Please check the faq on following -stable. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of my mail Sent: Wednesday, September 17, 2008 7:22 PM To: misc@openbsd.org Subject: Re: gdmsetup - Segmentation fault (core dumped) at OpenBSD 4.3 -- On Wed, 9/17/08, Anathae Townsend <[EMAIL PROTECTED]> wrote: > From: Anathae Townsend <[EMAIL PROTECTED]> > Subject: Re: gdmsetup - Segmentation fault (core dumped) at OpenBSD 4.3 > To: [EMAIL PROTECTED], misc@openbsd.org > Date: Wednesday, September 17, 2008, 9:23 AM > There is a difference between the libgthread library you > have on your system > and the one that was used in the creation of the gnome that > you installed > from packages. > > Are you using OpenBSD 4.3 -release and did you get the > gnome package from > the OpenBSD/4.3/packages/i386 directory of the ftp server > you used? > > Anathae > i have installed OpenBSD 4.3 from release, and then install gnome from packages, after that i have update my box into -stable, i have build new kernel, src, xenocara and running good, but the only problem is gdmsetup not running, i try to run this: # ./out-of-date Collecting installed packages Collecting port versions: complete Collecting port signatures: complete Outdated ports: x11/gnome/vfs2,-main # bzip2-1.0.4 -> bzip2-1.0.5 it's the problem? i'll try to update vfs2 and will report it again thx
Re: Slow SATA write speeds with SMB
[Quote] pciide1 at pci0 dev 14 function 0 "NVIDIA MCP73 AHCI" rev 0xa2: DMA (unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI [end quote] The AHCI implementation on your mb is not supported by the version of OpenBSD you are using. That, or it is configured to something other than true AHCI by the bios. I'd suggest checking to see if you have mode options for it in your bios and see if that moves it from being a wd? drive (driven by pciide) to a sd? drive (driven by the AHCI driver)
Re: Slow SATA write speeds with SMB
I'm not an expert by any means when it comes to OpenBSD, AHCI, or SATA, but here are some shots in the dark. Does your machine have four SATA ports on it? Can you identify which of the four ports your two SATA drives are plugged into? Can you add additional SATA drives and see if these errors are resolved or multiplied? First guess is that the AHCI method for deciding which ports have SATA devices attached is not working properly on your motherboard/chipset. Second guess is that the chipset or motherboard has some problems with DMA happening the way that the ahci device expects it to work. Are there any sd devices listed after the scsibus0 line? something like this? scsibus1 at umass0: 2 targets, initiator 0 sd0 at scsibus1 targ 1 lun 0: SCSI0 0/direct removable sd0: drive offline sd1 at scsibus1 targ 1 lun 1: SCSI0 0/direct removable sd1: drive offline sd2 at scsibus1 targ 1 lun 2: SCSI0 0/direct removable sd2: drive offline sd3 at scsibus1 targ 1 lun 3: SCSI0 0/direct removable sd3: drive offline Kristian Rooke Wrote > Thanks for the suggestions. > > I checked the BIOS configuration and it appears that the SATA > controller was > set to IDE (not sure how that happened). I have now set it to AHCI, but > I am > seeing another error in dmesg > > ahci0 at pci0 dev 14 function 0 "NVIDIA MCP73 AHCI" rev 0xa2: irq 11, > AHCI > 1.1 > ahci0: failed to start command DMA on port 0, disabling > ahci0: failed to start command DMA on port 2, disabling > scsibus0 at ahci0: 32 targets, initiator 32 > > Does this mean that AHCI on my m/b is not supported in OpenBSD? > Any other thoughts?
Re: multilink VPN
James Mackinnon wrote on Friday, May 29, 2009 6:25 PM > Hi All > > Thanks for your feedback. > > The guy regarding the cisco is a CCIE so I tend to accept his > statements > quick enough.. > > In VPN, I am referencing it in general terms in the creation of a > private > network over a public network of course. I would go with MPLS or > another > technology, however again, not 100% failsafe. > > Their application is a thick app which has allowances for network > drops, > however, the data is a real-time life and death type of solution in > that > they are a security monitoring company with multiple sites to which > access > data in 1 location. This is what I must ensure stays up because staff > must > be able to handle the alarms.. > > Roughly 1 million alarms a day go through this network, thus, any > outage can > result in dropped alarms.. Our solutions in both facilities also offer > some > allowances for drops by caching an alarm until network return, however > applications failures are also bad in this case. > > At first, I was looking at BGP, and in the past have used it, but with > convergence time on a net down situation, it doesn't come close to the > time > required. > > Personally, I think any solution that can rebuild in 10-30 seconds is a > very > solid solution. If they are not happy with that, I could recommend a > very > expensive alternative but that won't fly. > > Stuart, do you know of some sources I should review on your mentioned > idea. > > I am also looking at multi-segmenting the locations systems and having > their > applications account for loss to failover to the second IP. > > fun little project, very small to almost nil budget is the challange. > > Cheers If it absolutely has to be up, OpenVMS
Re: OpenBSD as a storage SAN
> -Original Message- > From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf > Of Friedrich Locke > Sent: Wednesday, June 03, 2009 6:11 AM > To: misc@openbsd.org > Subject: OpenBSD as a storage SAN > > Dear gentleman/madam, > > i would like to use openbsd in order to build a SAN solution, i.e., > one that provides block access to the box's disks. > I want to build a SAN, not a NAS. Is it possible? > > Thank in advance. Currently, there are no iSCSI implimentations in ports, AFAIK. Marco is working on softraid (which, personally I like to call softscsi) and has some initial work done on iSCSI and AoE (ATA over Ethernet), but neither is very ready for primetime. Anathae
pkg_add on OpenBSD 6.1, fresh install
I have done a fresh install of 6.1 (downloaded it today, from ftp.openbsd.org/pub/OpenBSD/6.1/amd64 as the file install61.fs (I live in Edmonton, Alberta, that's why I use the source ftp)) and was trying to install some packages... When I type in pkg_add -v http://ftp.openbsd.org/%m/joe (as an example), pkg_add reports joe not found. If instead I do pkg_add -v http://ftp.openbsd.org/pub/OpenBSD/6.1/packages/amd64/joe, it works. Admittedly, I am running this from the root login... am I doing something wrong? Anathae
Re: dhclient.conf alias declarations?
Look at hostname.if, for the vr0 interface, it would be called hostname.vr0 This is how you define aliases for a particular alias in OpenBSD. -Original Message- From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of Kimmo Paasiala Sent: Sunday, July 26, 2015 5:12 PM To: misc@openbsd.org Subject: dhclient.conf alias declarations? Hello, I'm in the process of migrating my router/firewall system from FreeBSD to OpenBSD and I came across a minor problem. I want to have a static alias address on an interface that is otherwise configured with DHCP. What I had in FreeBSD was this entry in /etc/dhclient.conf: alias { interface "vr0"; fixed-address 192.168.1.200; option subnet-mask 255.255.255.0; } This seems to be silently ignored on OpenBSD 5.7 and the dhclient.conf manual page makes no mention of alias declarations. How am I supposed to achieve the same effect? -Kimmo
Re: Record for total number of rigs running OpenBSD
At home, P4 system running 4.4 current, currently samba file server. P1 system (dell optiplex sff) running 4.4 current, will be firewall P1 system (hp vectra) running 4.4 current, internal web server P1 system (white box) will be running 4.4 current, asterix test machine Athelon (white box) flexible intelligent/inexpensive reliable Network Area Storage development machine (not online yet)
firNAS (flexible, inexpensive, reliable Network Area Storage)
I'm working on an idea that might be what a friends responds to with "Just because you can do something, doesn't mean you should." I've looked at a local retailer of computer equipment (they have good prices) and noticed that the least expensive of the four drive NAS appliances without drives was around $470 cdn. I pieced together a mother board, processor, memory, CF card, CF to IDE adapter, and case that would accept four SATA drives and was around $150 less expensive. Consumer NAS devices. don't look so good with that. Also, from what I hear, the consumer NAS devices typically have barely enough power to do simple SaMBa serving. How this is on topic for OpenBSD is OpenBSD seems like a good choice to use as the OS layer of the NAS. NFS, httpd (with ssl), ftp, sftp are included in the base install. Alternate Network File Systems are about the only thing that would have to be added, other than configuration settings and a management interface. The final two are what I would be developing, and adding to a package or some other release bundle. I know how I'm intending to implement it, but I'm looking for some suggestions from the readers of openbsd misc. Anathae
Re: RES: OpenBSD on IBM System X3550 7879
If you read the nearly top line of that page you'll notice that it request that you read the date of the message before going ape shit. Unfortunately, Adaptec has fallen from OpenBSD Heaven. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ricardo Augusto de Souza Sent: Thursday, October 23, 2008 3:22 PM To: Theo de Raadt; misc@openbsd.org Subject: RES: RES: OpenBSD on IBM System X3550 7879 Theo, I will keep bothering Adaptec and IBM then. There is a popular speech in my country ( I am brazilian). It is: I am brazilian and I WILL NEVER GIVE UP. One day they will wake up and I hope to be alive to see it happening. Btw, Is this true: http://mongers.org/openbsd/hardware Cause there you said you use adaptec. Wow.. how come? If it not work under openbsd, you should not even suggest/say their name. right? I tought my problem is due to my SAS hard drives. If we wont able to have it working, I will replace my Adaptec controller. I already mailed my local IBM vendor about that. I don't want cause any trouble. I just love using OpenBSD and I mailed this list cause I bought a US$6000 server and its still off. I don't wanna see it running windows 2003( bleh ). Peace.
Stupid question time.
As I have a number of local boxes (NAS development box, File server box, firewall) and would like to follow either -stable or -current on any or all of them, I have used CVSync to grab a copy of the OpenBSD CVS tree. Here's my problem. I don't know how to add the user 'anoncvs' to allow no password access to the cvs on the server 'rowena' from the client 'jenny'. I figured out that there is no 'cvs server' program, just ssh or (heaven and the divine bit forbid) rsh. Any help would be greatly appreciated. Anathae
Re: Promise SATA 300 TX4 strangeness
I have one of these cards working in my file server system. Something I noticed is that while I had four drives hooked up to it, I ran into system freezes as well. The system console had some time out errors however. It is working well with just two 500 GB drives hooked up to it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joseph A Borg Sent: Tuesday, November 04, 2008 8:16 AM To: Duncan Patton a Campbell Cc: misc@openbsd.org Subject: Re: Promise SATA 300 TX4 strangeness I'm having the same problem. At first i thought it was a failed pci card, then the old bios. Now with a replacement card and updated bios, I tried to copy a hefty multi-Gb gzip file from an other disk to drive on the sata card and the machine is still hanging, hard: I have to switch it off. I just placed an order for 4.4. If this is resolved there I'll wait for it, but in the meantime any pointers would be appreciated. dmesg > OpenBSD 4.3 (netatalk) #0: Sun May 18 21:32:08 CEST 2008 > [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/netatalk > cpu0: Intel(R) Celeron(R) CPU 2.53GHz ("GenuineIntel" 686-class) > 2.54 GHz > cpu0: > FPU > ,V86 > ,DE > ,PSE > ,TSC > ,MSR > ,PAE > ,MCE > ,CX8 > ,APIC > ,SEP > ,MTRR > ,PGE > ,MCA > ,CMOV > ,PAT > ,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS- > CPL,TM2,CNXT-ID,CX16,xTPR > real mem = 2146267136 (2046MB) > avail mem = 2067304448 (1971MB) > mainbus0 at root > bios0 at mainbus0: AT/286+ BIOS, date 05/28/07, BIOS32 rev. 0 @ > 0xf0010, SMBIOS rev. 2.4 @ 0xfcd70 (22 entries) > bios0: vendor American Megatrends Inc. version "P3.20" date 05/28/2007 > apm0 at bios0: Power Management spec V1.2 > apm0: battery life expectancy 0% > apm0: AC off, battery charge unknown, estimated 0:00 hours > acpi at bios0 function 0x0 not configured > pcibios0 at bios0: rev 2.1 @ 0xf/0x1 > pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf4a80/192 (10 entries) > pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801EB/ER LPC" > rev 0x00) > pcibios0: PCI bus #2 is the last bus > bios0: ROM list: 0xc/0xf800 0xcf800/0x5000 > cpu0 at mainbus0 > pci0 at mainbus0 bus 0: configuration mode 1 (no bios) > pchb0 at pci0 dev 0 function 0 "Intel 82865G Host" rev 0x02 > agp0 at pchb0: aperture at 0xf800, size 0x400 > ppb0 at pci0 dev 1 function 0 "Intel 82865G AGP" rev 0x02 > pci1 at ppb0 bus 1 > vga1 at pci1 dev 0 function 0 "NVIDIA GeForce FX 5200" rev 0xa1 > 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 82801EB/ER USB" rev 0x02: irq > 10 > uhci1 at pci0 dev 29 function 1 "Intel 82801EB/ER USB" rev 0x02: irq 3 > uhci2 at pci0 dev 29 function 2 "Intel 82801EB/ER USB" rev 0x02: irq 5 > uhci3 at pci0 dev 29 function 3 "Intel 82801EB/ER USB" rev 0x02: irq > 10 > ehci0 at pci0 dev 29 function 7 "Intel 82801EB/ER USB2" rev 0x02: > irq 11 > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 > ppb1 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xc2 > pci2 at ppb1 bus 2 > pciide0 at pci2 dev 0 function 0 "Promise PDC40718" rev 0x02: DMA > wd0 at pciide0 channel 1 drive 0: > wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors > wd0(pciide0:1:0): using BIOS timings, Ultra-DMA mode 5 > wd1 at pciide0 channel 3 drive 0: > wd1: 16-sector PIO, LBA48, 152627MB, 312581808 sectors > wd1(pciide0:3:0): using BIOS timings, Ultra-DMA mode 5 > pciide0: using irq 5 for native-PCI interrupt > re0 at pci2 dev 1 function 0 "Realtek 8169" rev 0x10: RTL8169S > (0x0400), irq 11, address 00:0e:2e:c2:e1:07 > rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 0 > rl0 at pci2 dev 5 function 0 "Realtek 8139" rev 0x10: irq 11, > address 00:13:8f:ca:39:3d > rlphy0 at rl0 phy 0: RTL internal PHY > ichpcib0 at pci0 dev 31 function 0 "Intel 82801EB/ER LPC" rev 0x02: > 24-bit timer at 3579545Hz > pciide1 at pci0 dev 31 function 1 "Intel 82801EB/ER IDE" rev 0x02: > DMA, channel 0 configured to compatibility, channel 1 configured to > compatibility > pciide1: channel 0 disabled (no drives) > atapiscsi0 at pciide1 channel 1 drive 0 > scsibus0 at atapiscsi0: 2 targets > cd0 at scsibus0 targ 0 lun 0: SCSI0 > 5/cdrom removable > wd2 at pciide1 channel 1 drive 1: > wd2: 16-sector PIO, LBA48, 381554MB, 781422768 sectors > cd0(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 2 > wd2(pciide1:1:1): using PIO mode 4, Ultra-DMA mode 5 > pciide2 at pci0 dev 31 function 2 "Intel 82801EB SATA" rev 0x02: > DMA, channel 0 configured to native-PCI, channel 1 configured to > native-PCI > pciide2: using irq 5 for native-PCI interrupt > wd3 at pciide2 channel 0 drive 0: > wd3: 16-sector PIO, LBA48, 152627MB, 312581808 sectors > wd3(pciide2:0:0): using PIO mode 4, Ultra-DMA mode 5 > wd4 at pciide2 channel 1 drive 0: > wd4: 16-sector PIO, LBA48, 239372MB, 490234752 sectors > wd4(pciide2:1:
pcidevs diff, Radeon HD 3650 AGP, Mobility HD 3650, SIS 5518 EIDE Controller
Is this better? Index: pcidevs === RCS file: /cvs/src/sys/dev/pci/pcidevs,v retrieving revision 1.1435 diff -c -r1.1435 pcidevs *** pcidevs 18 Nov 2008 23:26:38 - 1.1435 --- pcidevs 23 Nov 2008 00:54:28 - *** *** 1092,1097 --- 1092,1099 product ATI RADEON_HD3870 0x9501 Radeon HD 3870 product ATI RADEON_HD2600_M76 0x9581 Mobility Radeon HD 2600 product ATI RADEON_HD2600_PRO 0x9589 Radeon HD 2600 Pro + product ATI RADEON_HD3650_M 0x9591 Mobility Radeon HD 3650 + product ATI RADEON_HD3650_AGP 0x9596 Radeon HD 3650 AGP product ATI RADEON_HD3650 0x9598 Radeon HD 3650 product ATI RADEON_HD3450 0x95c5 Radeon HD 3450 product ATI RS780_HB 0x9600 RS780 Host *** *** 4203,4208 --- 4205,4211 product SIS 5511 0x5511 5511 product SIS 5512 0x5512 5512 product SIS 5513 0x5513 5513 EIDE + product SIS 5518 0x5518 5518 UDMA EIDE product SIS 5571 0x5571 5571 PCI product SIS 5581 0x5581 5581 product SIS 5582 0x5582 5582
Re: How can I mount a NTFS( sharing) remote partition on openBSD?
I'd suggest looking at the samba package for 4.3. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Ricardo Augusto de Souza > Sent: Tuesday, November 25, 2008 9:06 AM > To: misc@openbsd.org > Subject: How can I mount a NTFS( sharing) remote partition on openBSD? > > Hi, > > > > i need to Access a sharing on a Windows from a openBSD. > > I did that in the past on linux using mount -t vfat or smbclient. > > How can I do that on obsd 4.3 ? > > > > > > thanks
Re: dmesg Asus EEE Box 202
I extracted the dmesg that was at the bottom of the op's email for reference. The Intel Atom 270 is a single physical core with a new type of hyperthreading. I notice that the dmesg reports it as two separate cpus (cpu0 cpu1). I'm guessing that this would mean that with dual core Atom 330 it bsd.mp would report four cpus? (cut and pasted dmesg) OpenBSD 4.4-current (GENERIC.MP) #1171: Sat Nov 29 17:25:48 MST 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Atom(TM) CPU N270 @ 1.60GHz ("GenuineIntel" 686-class) 1.61 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS, ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,xTPR real mem = 1064529920 (1015MB) avail mem = 1021018112 (973MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 09/11/08, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.5 @ 0xf0690 (33 entries) bios0: vendor American Megatrends Inc. version "0802" date 09/11/2008 bios0: ASUSTeK Computer INC. B202 acpi0 at bios0: rev 0 acpi0: tables DSDT FACP APIC MCFG OEMB HPET SSDT acpi0: wakeup devices P0P2(S4) P0P1(S4) MC97(S4) HDAC(S4) P0P4(S4) P0P5(S4) P0P7(S4) P0P8(S4) P0P9(S4) USB0(S4) USB1(S4) USB2(S4) USB3(S4) EUSB(S4) P0P6(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 134MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Atom(TM) CPU N270 @ 1.60GHz ("GenuineIntel" 686-class) 1.61 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS, ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,xTPR ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 1, remapped to apid 2 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 5 (P0P1) acpiprt2 at acpi0: bus 4 (P0P4) acpiprt3 at acpi0: bus 3 (P0P5) acpiprt4 at acpi0: bus 1 (P0P6) acpicpu0 at acpi0 acpicpu1 at acpi0 acpiasus0 at acpi0 acpibtn0 at acpi0: PWRB acpivideo at acpi0 not configured bios0: ROM list: 0xc/0xec00! 0xcf000/0x1000 cpu0: unknown Enhanced SpeedStep CPU, msr 0x060f0c2606000c26 cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 1600 MHz (1308 mV): speeds: 1600, 800 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82945GME Host" rev 0x03 vga1 at pci0 dev 2 function 0 "Intel 82945GME Video" rev 0x03 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xd000, size 0x1000 inteldrm0 at vga1 drm0 at inteldrm0 "Intel 82945GM Video" rev 0x03 at pci0 dev 2 function 1 not configured azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: apic 2 int 16 (irq 5) azalia0: codecs: Realtek ALC888 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 2 int 16 (irq 5) pci1 at ppb0 bus 4 re0 at pci1 dev 0 function 0 "Realtek 8168" rev 0x02: RTL8168C/8111C (0x3c00), apic 2 int 16 (irq 5), address 00:23:54:xx:yy:zz rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2 ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 2 int 17 (irq 10) pci2 at ppb1 bus 3 ral0 at pci2 dev 0 function 0 "Ralink RT2790" rev 0x00: apic 2 int 17 (irq 10), address 00:22:43:xx:yy:zz ral0: MAC/BBP RT2872 (rev 0x0200), RF RT2720 (1T2R) ppb2 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: apic 2 int 18 (irq 11) pci3 at ppb2 bus 1 uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 2 int 23 (irq 3) uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 2 int 19 (irq 7) uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 2 int 18 (irq 11) uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 2 int 16 (irq 5) ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 2 int 23 (irq 3) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2 pci4 at ppb3 bus 5 ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM disabled pciide0 at pci0 dev 31 function 2 "Intel 82801GBM SATA" rev 0x02: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: apic 2 int 19 (irq 7) iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM spdmem1 at iic0 addr 0x51: 512MB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM usb1 at uhci0: USB revision 1.0 uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 u
Re: dmesg Asus EEE Box 202
Ted Unangst Sent Wednesday, December 03, 2008 3:46 PM > On Wed, Dec 3, 2008 at 5:14 PM, Anathae Townsend > <[EMAIL PROTECTED]> wrote: > > The Intel Atom 270 is a single physical core with a new type of > > hyperthreading. > > I notice that the dmesg reports it as two separate cpus (cpu0 cpu1). > I'm > > guessing > > that this would mean that with dual core Atom 330 it bsd.mp would > report > > four cpus? > > most likely, but you probably don't want to use them in this > configuration if it's possible to disable hyperthreading. I'm aware of the issues with the hyperthreading that was available on the Pentium 4 and would have to see evidence that the cache miss flaw has been removed. Is there any information on disabling the hyper- threading on the Atom processor?
Re: dmesg Asus EEE Box 202
> Daniel E. Hassler Sent: Wednesday, December 03, 2008 3:56 PM > > Below is dmesg.boot from an Intel D945GCLF2 - MP kernel sees 4 CPU's ;) > > OpenBSD 4.4-stable (GENERIC.MP) #0: Mon Nov 24 20:06:06 PST 2008 > [EMAIL PROTECTED]:/sys/arch/i386/compile/GENERIC.MP [snippage] > pciide1 at pci0 dev 31 function 2 "Intel 82801GB SATA" rev 0x01: DMA, > channel 0 configured to native-PCI, channel 1 configured to native-PCI > pciide1: using apic 4 int 19 (irq 11) for native-PCI interrupt > wd0 at pciide1 channel 1 drive 0: > wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors > wd0(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5 [more snippage] The sata controller that is on that board (ICH7) is suppose to be ahci capable. Is there a bios option to turn this on? Would be interesting to be able to do hotswap with this board. Anathae
What am I doing wrong.
Not bothering with the asbestos suit, but still expecting some flamage. On a fresh install of OpenBSD 4.4 current as of 08-11-14, I created my own user with group of wheel, and secondary group of wsrc. Login is set as "staff". /etc/sudoers is set to allow members of wheel to execute it after entering the password or within the standard time after the last sudo. "$cd /usr; sudo cvs -d/cvs get src" was executed after mounting a network share of cvsync copy of the cvs repository. When I go to /etc/src/sys/arch/i386/conf/ to execute "$config GENERIC" it errors out saying I don't have permission to create ../compile/ GENERIC Checking the owner/group/permissions on my source tree, it's root (as expected) wsrc (as expected) and rw-r--r--. Okay... the wsrc group only has read permissions, that would explain why my user can't execute the config command. Section 2 of man release shows a '$' as the prompt character for the config command. Doesn't this mean that a member of wsrc should be able to configure a kernel?
Re: Soekris equivalent
the same site that has the atom based board from msi also has a jetway board. http://www.logicsupply.com/products/nc92_230_lf with add on, it can do 4 10/100/1000 network attachments.
Re: Intel D945GCLF2
checkout http://kerneltrap.org/mailarchive/openbsd-misc/2008/9/30/3457064 > -Original Message- > From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf > Of Chris Cohen > Sent: Friday, January 02, 2009 12:41 PM > To: misc@openbsd.org > Subject: Intel D945GCLF2 > > Has anyone installed openbsd on the Atom board "D945GCLF2"? If so could > you post a dmesg and does it run stable? > > -- > Thanks > Chris
Re: Intel D945GCLF2
msi has one, http://global.msi.com.tw/index.php?func=proddesc&maincat_no=388&cat2_no=599&; cat3_no=601&prod_no=1614# > -Original Message- > From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf > Of Nenhum_de_Nos > Sent: Friday, January 02, 2009 7:20 PM > To: misc@openbsd.org > Subject: Re: Intel D945GCLF2 > > On Fri, January 2, 2009 17:40, Chris Cohen wrote: > > Has anyone installed openbsd on the Atom board "D945GCLF2"? If so > could > > you post a dmesg and does it run stable? > > > > -- > > Thanks > > Chris > > has anyone seen any atom dual core with two lan ? > > I'd like a pf router that would be low energy :) > > Alix is openbsd friend right ? ( 2d3 in this case ) > I did like alix but a mini itx with regular vga is better for me :) > > thanks, > > matheus > > > -- > We will call you cygnus, > The God of balance you shall be
Re: Testing in a virtual environment
I have openbsd running under both of microsoft's virtual systems, virtual pc and virtual server. The advantage of virtual server is the process runs as a service, not as a user program and is available whenever the machine is up.
Segfault under MS Virtual Server 2005 R2 SP1 Enterprise Edition
>From the Just Because You Can department. I am attempting to install a current snapshot of OpenBSD 4.4 onto a MS Virtual Server VM running under Microsoft Home Server. During startup I am getting a seg fault error, unknown error message. When I am prompted with the shell after the error, what do I need to do to get further information on this? dmesg: OpenBSD 4.4-current (GENERIC) #1671: Wed Feb 4 01:28:11 MST 2009 t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Sempron(tm) Processor 3000+ ("AuthenticAMD" 686-class, 128KB L2 cache) 905 MHz cpu0: FPU,V86,PSE,TSC,MSR,PAE,CX8,SEP,PGE,CMOV,MMX,FXSR,SSE,SSE2 cpu0: AMD erratum 89 present, BIOS upgrade may be required real mem = 133722112 (127MB) avail mem = 121044992 (115MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 02/22/06, SMBIOS rev. 2.3 @ 0xf8cc0 (39 entries) bios0: vendor American Megatrends Inc. version "080002" date 02/22/2006 bios0: Microsoft Corporation Virtual Machine apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown acpi at bios0 function 0x0 not configured pcibios at bios0 function 0x1a not configured bios0: ROM list: 0xc/0xc000! 0xcc000/0x800 cpu0 at mainbus0: (uniprocessor) cpu0: AMD erratum 89 present, BIOS upgrade may be required cpu0: AMD erratum 89 present, BIOS upgrade may be required pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82443BX" rev 0x03 piixpcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x01 pciide0 at pci0 dev 7 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: wd0: 128-sector PIO, LBA, 130046MB, 266334240 sectors wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets, initiator 7 cd0 at scsibus0 targ 0 lun 0: ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x02: polling iic0 at piixpm0 vga1 at pci0 dev 8 function 0 "S3 Trio32/64" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) de0 at pci0 dev 10 function 0 "DEC 21140" rev 0x20, 21140A pass 2.0: irq 11, address 00:03:ff:7c:39:53 isa0 at piixpcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ti16750, 64 byte fifo com0: probed fifo depth: 0 bytes com1 at isa0 port 0x2f8/8 irq 3: ti16750, 64 byte fifo com1: probed fifo depth: 0 bytes 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: spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec fd1 at fdc0 drive 1: density unknown biomask e765 netmask ef65 ttymask softraid0 at root root on wd0a swap on wd0b dump on wd0b
Re: Segfault under MS Virtual Server 2005 R2 SP1 Enterprise Edition
The Error message was "unknown error, help" or very nearly. However, as the system that it was to be installed on is a production server, my 'boss' decided that we shouldn't be attempting to do development work of installing SaMBa on a VM to implement Active Directory Single-Sign-On. When playing with your own systems at home... the line between production and development can get a little... blurry. Thanks for the information though, folks. Anathae
Postscript versions of MAN files.
>From the looks of the /usr/share/man directory, there are provisions in OpenBSD for postscript versions of the various manual pages for OpenBSD. I have looked, but not exhaustively, in the make files under /usr/src/share/man to see if there was any simple way to automatically generate the required .ps files. I was unable to understand enough to find such, but I did find that I could generate individual files by using 'nroff -Tps -mandoc example.0 > ~/example.ps". Is there any perceived use for a non default target in the /usr/src/share/man make file that would be able to generate a document that would include all the man pages in it? Suitably formatted of course, blank pages for man pages with an odd number of pages, maybe even table of contents, index, and section header pages. Anathae
OpenBSD 4.5 pf port forwarding
I am currently trying to open up a few ports on my firewall to allow an internal windows home server to provide services to the outside world. My OpenBSD version is OpenBSD 4.5-current (GENERIC) #6: Sat May 16 21:50:41 MDT 2009 I am trying to use the simple proxy method mentioned in the faq on the OpenBSD.org to forward internal requests to the external ip address to the home server. However, I can't get there from here. Neither internal nor external requests to the external ip address work. A msdos telnet session to the external ip address, port 25 returns an SMTP 421 error immediately and exits. Any help on opening up these ports would be greatly appreciated, below is my current pf.conf, as well as (slightly edited) output of ifconfig for the internal (ingress) and external (egress) interfaces on the firewall. NAT is working internally, and I am able to both send email and read web pages (among other stuff.) --pf.conf--- -- # pf.conf created july 6, 2009 # author: Anathae Townsend # macros homeserv = "192.168.0.195" homeport = "{http, https, 4125, smtp, pop3, imap }" # skip loop back, makes rules quicker set skip on lo # redirects for home server rdr on egress proto tcp from any to egress port $homeport -> $homeserv # redirects for internal web access to proxy server rdr on ingress proto tcp from ingress:network to egress port 80 -> 127.0.0.1 port 5000 # NAT rules to allow inside->out nat on egress from ingress:network -> (egress) # allow internal systems to make connection pass in # to establish keep-state # allow home server services pass proto tcp from any to $homeserv port $homeport synproxy state pass proto tcp from $homeserv to any port smtp synproxy state # By default, do not permit remote connections to X11 block in on ! lo0 proto tcp from any to any port 6000 --ifconfig sk0 sk0: flags=8843 mtu 1500 lladdr 00:1e:58:ab:13:8c priority: 0 groups: ingress media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause) status: active inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255 inet 192.168.0.51 netmask 0xff00 broadcast 192.168.0.255 --ifconfig rl0 rl0: flags=8843 mtu 1500 lladdr 00:05:5d:d2:6e:48 priority: 0 groups: egress media: Ethernet autoselect (10baseT half-duplex) status: active inet #.#.#.# netmask 0xff80 broadcast #.#.#.#
Re: OpenBSD 4.5 pf port forwarding
Discovered what my problem was, for some reason synproxy on the redirect statements was preventing the connection from completing. I suppose that I should install current and see if synproxy still breaks redirects.
Re: Install difficulties
> -Original Message- > From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf > Of Anathae Townsend > Sent: Thursday, July 09, 2009 1:02 PM > To: jfsimon1...@gmail.com; misc@openbsd.org > Subject: Re: Install difficulties > > read the install documentation. > > since you don't seem to be able to, here goes. > > when you install an operating system to a computer the majority > of them will store a boot record on the MBR (master boot record, > go figure) of the drive used by the BIOS to boot the system. > > I'm guessing that SD0 is your primary hard drive, the one used > to boot the system. installing openbsd changed the MBR. if you > want to be able to boot multiple operating systems, read up on > that. if you installed an os to a second and third drive, the boot code was still written to the first drive, so guess what, the boot code for your other two operating systems were on the MBR of the first drive, SD0. again, read up on booting multiple operating systems. > > -Original Message- > > From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On > Behalf > > Of jean-francois > > Sent: Thursday, July 09, 2009 11:56 AM > > To: Theo de Raadt; misc@openbsd.org > > Subject: Re: Install difficulties > > > > I remember that I used to start install procedure on each disk > > answering > > yes to 'all disk should be used for this install', then I just > checked > > the size of the disk in the disklabel, in order to identify the one I > > was look for and then quit & reboot without more modifications (p at > > disklabel then q and halt). > > > > After this the two disks sdb/sdc that were hosting win and linux did > > not > > boot anymore. > > > > Could you tell me if doing so has modified in any way the partitions > or > > mbr ? > > > > Thank you
Re: Install difficulties
read the install documentation. since you don't seem to be able to, here goes. when you install an operating system to a computer the majority of them will store a boot record on the MBR (master boot record, go figure) of the drive used by the BIOS to boot the system. I'm guessing that SD0 is your primary hard drive, the one used to boot the system. installing openbsd changed the MBR. if you want to be able to boot multiple operating systems, read up on that. > -Original Message- > From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf > Of jean-francois > Sent: Thursday, July 09, 2009 11:56 AM > To: Theo de Raadt; misc@openbsd.org > Subject: Re: Install difficulties > > I remember that I used to start install procedure on each disk > answering > yes to 'all disk should be used for this install', then I just checked > the size of the disk in the disklabel, in order to identify the one I > was look for and then quit & reboot without more modifications (p at > disklabel then q and halt). > > After this the two disks sdb/sdc that were hosting win and linux did > not > boot anymore. > > Could you tell me if doing so has modified in any way the partitions or > mbr ? > > Thank you
Question about connection rate limiting with pf.
the following pf.conf fragment allows ssh connections from the outside world to my firewall pass in on egress proto tcp from any to egress port ssh keep state \ (max-src-conn 10, max-src-conn-rate 4/20, overload flush global) If I understand tables and pf properly, and I have a default block all in rule could I not change it to the following fragment and allow only those not already added to the table in? pass in on egress proto tcp from ! to egress port ssh keep state \ (max-src-conn 10, max-src-conn-rate 4/20, overload flush global)
New Translation Options in PF
My OpenBSD 4.6 current firewall is currently designed to service three internal networks, 192.168.0.0/24, 192.168.1.0/24, 192.168.2.0/24. I have assigned the group external to my connection to my isp. Using the following, I'm able to have internal connections to use network address translation with the outside world. table {192.168.0.0/24, 192.168.1.0/24, 192.168.2.0/24} match out out on external from nat-to (external) This works, however, when I do a sudo pfctl -s rules the match rule is displayed as match out on external from to any nat-to (external) round-robin Should round-robin be showing up in the rule? Anathae