Re: Interface sequencing
That needs to go in a dhclient config file, you'll need different config files for each interface and run dhclient from a hostname.if line like !dhclient -c /etc/dhclient-nogw em0. is it not enough to just append the following to /etc/dhclient.conf?: interface em0 { ignore routers; }
ftp-proxy
Hi, I can't get active ftp to work through pf and ftp-proxy. -Passive ftp works fine. I use ftp from a Windows-pc and have been testing on ftp.openbsd.org and ftp.sunet.se. I've dumbed down pf.conf as much as I possibly can. Still no go. I had an older snapshot but upgraded just now - no difference. ---# cat /etc/pf.confset block-policy returnset loginterface egressset skip on loanchor ftp-proxy/*pass in quick log on em0 inet proto tcp to port ftp divert-to 127.0.0.1 port 8021pass out quick log proto tcp from (self) to any port ftpmatch out on egress from em0:network nat-to egresspass in on em0 inet proto tcp to em0:0 port sshpass out logpass in log on em0--# ps auxwww | grep ftp-proxyproxy16586 0.0 0.1 640 1104 ?? Is 8:38PM 0:00.01 /usr/sbin/ftp-proxy -vv -D7--# uname -aOpenBSD left.hytherm.local 5.6 GENERIC#335 i386-- # grep -v unbound /var/log/daemonSep 22 20:00:01 left newsyslog[2774]: logfile turned overSep 22 20:25:53 left ntpd[31904]: ntp engine readySep 22 20:25:54 left savecore: no core dumpSep 22 20:25:55 left ftp-proxy[20919]: listening on 127.0.0.1 port 8021Sep 22 20:25:55 left sensorsd[29748]: startup, system has 1 sensorsSep 22 20:26:14 left ntpd[31904]: peer 87.232.1.41 now validSep 22 20:26:17 left ntpd[31904]: peer 54.246.100.200 now validSep 22 20:26:20 left ntpd[31904]: peer 54.229.136.168 now validSep 22 20:27:12 left ntpd[19159]: adjusting local clock by 0.605419sSep 22 20:27:45 left ntpd[19159]: adjusting local clock by 0.440419sSep 22 20:29:22 left ntpd[31904]: clock is now syncedSep 22 20:31:46 left ntpd[31904]: peer 149.157.192.5 now validSep 22 20:38:06 left ftp-proxy[20919]: exiting on signal 15Sep 22 20:38:27 left ftp-proxy[16586]: listening on 127.0.0.1 port 8021Sep 22 20:38:40 left ftp-proxy[16586]: #1 FTP session 1/100 started: client 192.168.1.89 to server 194.71.11.69 via proxy x.x.x.xSep 22 20:38:46 left ftp-proxy[16586]: #1 active: server to client port 16240 via port 51904Sep 22 20:41:42 left ftp-proxy[16586]: #1 client closeSep 22 20:41:42 left ftp-proxy[16586]: #1 ending sessionSep 22 20:41:44 left ftp-proxy[16586]: #2 FTP session 1/100 started: client 192.168.1.89 to server 129.128.5.191 via proxy x.x.x.xSep 22 20:41:48 left ftp-proxy[16586]: #2 active: server to client port 16259 via port 57767Sep 22 20:42:25 left ftp-proxy[16586]: #2 active: server to client port 16265 via port 63504Sep 22 20:42:36 left ftp-proxy[16586]: #2 server closeSep 22 20:42:36 left ftp-proxy[16586]: #2 ending sessionSep 22 20:43:22 left ftp-proxy[16586]: #3 FTP session 1/100 started: client 192.168.1.89 to server 129.128.5.191 via proxy x.x.x.xSep 22 20:43:25 left ftp-proxy[16586]: #3 active: server to client port 16276 via port 49835Sep 22 20:43:28 left ftp-proxy[16586]: #3 active: server to client port 16277 via port 52764Sep 22 20:43:39 left ftp-proxy[16586]: #3 active: server to client port 16278 via port 53960Sep 22 20:43:44 left ftp-proxy[16586]: #3 server closeSep 22 20:43:44 left ftp-proxy[16586]: #3 ending sessionSep 22 20:51:54 left ntpd[19159]: adjusting clock frequency by 0.252153 to 29.320203ppm
Re: ftp-proxy
Hi, I can't get active ftp to work through pf and ftp-proxy. -Passive ftp works fine. I use ftp from a Windows-pc and have been testing on ftp.openbsd.org and ftp.sunet.se. I've dumbed down pf.conf as much as I possibly can. Still no go. I had an older snapshot but upgraded just now - no difference. --- # cat /etc/pf.conf set block-policy return set loginterface egress set skip on lo anchor ftp-proxy/* pass in quick log on em0 inet proto tcp to port ftp divert-to 127.0.0.1 port 8021 pass out quick log proto tcp from (self) to any port ftp match out on egress from em0:network nat-to egress pass in on em0 inet proto tcp to em0:0 port ssh pass out log pass in log on em0 -- # ps auxwww | grep ftp-proxy proxy16586 0.0 0.1 640 1104 ?? Is 8:38PM 0:00.01 /usr/sbin/ftp-proxy -vv -D7 -- # uname -a OpenBSD left.hytherm.local 5.6 GENERIC#335 i386 -- # grep -v unbound /var/log/daemon Sep 22 20:00:01 left newsyslog[2774]: logfile turned over Sep 22 20:25:53 left ntpd[31904]: ntp engine ready Sep 22 20:25:54 left savecore: no core dump Sep 22 20:25:55 left ftp-proxy[20919]: listening on 127.0.0.1 port 8021 Sep 22 20:25:55 left sensorsd[29748]: startup, system has 1 sensors Sep 22 20:26:14 left ntpd[31904]: peer 87.232.1.41 now valid Sep 22 20:26:17 left ntpd[31904]: peer 54.246.100.200 now valid Sep 22 20:26:20 left ntpd[31904]: peer 54.229.136.168 now valid Sep 22 20:27:12 left ntpd[19159]: adjusting local clock by 0.605419s Sep 22 20:27:45 left ntpd[19159]: adjusting local clock by 0.440419s Sep 22 20:29:22 left ntpd[31904]: clock is now synced Sep 22 20:31:46 left ntpd[31904]: peer 149.157.192.5 now valid Sep 22 20:38:06 left ftp-proxy[20919]: exiting on signal 15 Sep 22 20:38:27 left ftp-proxy[16586]: listening on 127.0.0.1 port 8021 Sep 22 20:38:40 left ftp-proxy[16586]: #1 FTP session 1/100 started: client 192.168.1.89 to server 194.71.11.69 via proxy x.x.x.x Sep 22 20:38:46 left ftp-proxy[16586]: #1 active: server to client port 16240 via port 51904 Sep 22 20:41:42 left ftp-proxy[16586]: #1 client close Sep 22 20:41:42 left ftp-proxy[16586]: #1 ending session Sep 22 20:41:44 left ftp-proxy[16586]: #2 FTP session 1/100 started: client 192.168.1.89 to server 129.128.5.191 via proxy x.x.x.x Sep 22 20:41:48 left ftp-proxy[16586]: #2 active: server to client port 16259 via port 57767 Sep 22 20:42:25 left ftp-proxy[16586]: #2 active: server to client port 16265 via port 63504 Sep 22 20:42:36 left ftp-proxy[16586]: #2 server close Sep 22 20:42:36 left ftp-proxy[16586]: #2 ending session Sep 22 20:43:22 left ftp-proxy[16586]: #3 FTP session 1/100 started: client 192.168.1.89 to server 129.128.5.191 via proxy x.x.x.x Sep 22 20:43:25 left ftp-proxy[16586]: #3 active: server to client port 16276 via port 49835 Sep 22 20:43:28 left ftp-proxy[16586]: #3 active: server to client port 16277 via port 52764 Sep 22 20:43:39 left ftp-proxy[16586]: #3 active: server to client port 16278 via port 53960 Sep 22 20:43:44 left ftp-proxy[16586]: #3 server close Sep 22 20:43:44 left ftp-proxy[16586]: #3 ending session Sep 22 20:51:54 left ntpd[19159]: adjusting clock frequency by 0.252153 to 29.320203ppm
Re: Dansguardian not working after updating OBSD Current
Date: Wed, 17 Sep 2014 15:08:48 +0100 From: kayasa...@gmail.com Just a quick observation, not sure if by design or other but ulimit doesn't seem to have a man page? -It is a ksh builtin. man ksh -It would be nice to have it show up when doing apropos though...
wildcard poisoning
I came across an interesting article on wildcards in shell: http://www.defensecode.com/public/DefenseCode_Unix_WildCards_Gone_Wild.txt Tested some of the above in pdksh on a current OpenBSD-host: $ mkdir test $ cd test $ touch file1 file2 file3 -rf $ mkdir DIR1 DIR2 $ ls -al total 16 -rw-r--r-- 1 sturban sturban 0 Sep 10 04:26 -rf drwxr-xr-x 4 sturban sturban 512 Sep 10 04:26 ./ drwxr-xr-x 10 sturban sturban 1024 Sep 10 04:25 ../ drwxr-xr-x 2 sturban sturban 512 Sep 10 04:26 DIR1/ drwxr-xr-x 2 sturban sturban 512 Sep 10 04:26 DIR2/ -rw-r--r-- 1 sturban sturban 0 Sep 10 04:26 file1 -rw-r--r-- 1 sturban sturban 0 Sep 10 04:26 file2 -rw-r--r-- 1 sturban sturban 0 Sep 10 04:26 file3 $ rm * $ ls -al total 8 -rw-r--r-- 1 sturban sturban 0 Sep 10 04:26 -rf drwxr-xr-x 2 sturban sturban 512 Sep 10 04:26 ./ drwxr-xr-x 10 sturban sturban 1024 Sep 10 04:25 ../
carp preempt
Hi Misc, Now I seem to have issues with carp preemption. If I have net.inet.carp.preempt=1 and take down carp0 on the Master with ifconfig carp0 down, isn't the idea for carp7 on the same firewall to have carpdemote set to 128 or similar? -According to tcpdump it doesn't change carpdemote at all. I have two firewalls, Right and Left (pf not currently enabled since I am testing carp) em0 + carp0 is on internal network on both firewalls em7 + carp7 is on external network on both firewalls Right # sysctl net.inet.carp net.inet.carp.allow=1 net.inet.carp.preempt=1 net.inet.carp.log=7 Left # sysctl net.inet.carp net.inet.carp.allow=1 net.inet.carp.preempt=1 net.inet.carp.log=7
Re: troubleshooting carp [solved]
I've pinpointed the issue with my carp setup. Finally! It seems like the order of things in hostname.carp0 matters more than I thought it did. This doesn't work so well: # cat /etc/hostname.carp0 inet 192.168.16.1/24 vhid 100 pass blahblah advbase 5 advskew 0 This works however: # cat /etc/hostname.carp0 vhid 100 pass blahblah advbase 5 advskew 0 inet 192.168.16.1/24 Both result in exactly this: # ifconfig carp0 carp0: flags=28843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,NOINET6 mtu 1500 lladdr 00:00:5e:00:01:64 priority: 0 carp: MASTER carpdev em0 vhid 100 advbase 5 advskew 0 groups: carp status: master inet 192.168.16.1 netmask 0xff00 broadcast 192.168.16.255 -The difference is that with the latter order, carp becomes muted. Although ip-traffic and arp passes through fine, there is no sign of carp when I do tcpdump on em0. If the vhid is added before the ip-address however, carp works as expected and tcpdump can capture the carp-advertisements going out on em0. -It would be nice if someone with more insight could explain in detail why the second order in hostname.carp0 doesn't work. -I am aware that I could have had it all in one line, but because of readability etc I chose to split it into two lines.
Re: troubleshooting carp
OK, this is wrecking my head. As previously mentioned I have TWO firewalls, both with a total of 8 em-ports (2 x quad-cards). -Some of the ports are forfuture use and thus not configured and don't have a corr corresponding carp. So far it has really been:em0 - carp0 - internal LANem1 - pfsync0 - pfsyncem6 - carp6 - wifiem7 - carp7 - egress -I've been able to set up basic rules for the above and traffic has been pushing through in any direction - CARP traffic has been troublesome however. At first I was convinced it had something to do with my rules, but that doesn'tseem to be the case. In order to isolate the problem(s) I've turned off pf (pf=NO in /etc/rc.conf.local + reboot)and now I am going through port by port using (setting up dummy carp on some ports). So far I've verified on the first firewall that carp multicasts have transmitted OKon em0 and em7. On em3 and em4 only arp who-has-requests have appeared.Now I am on port em5 and as that was not configured before I created a dummy address and a dummy carp. Then I ran /etc/netstart and got this error: $ sudo sh /etc/netstart em5 ifconfig: SIOCGVH: Inappropriate ioctl for device -Is the root of my problems maybe due to system resources not available for so many ports? Do I need to tune something because of the 8 em-ports +corresponding carp's?
Re: troubleshooting carp
DOH! - I had left a line referring to vhid (i.e. carp) in there - worked ok when that was out. From: stur...@hotmail.com To: misc@openbsd.org Subject: RE: troubleshooting carp Date: Fri, 15 Aug 2014 17:58:06 -0400 OK, this is wrecking my head. As previously mentioned I have TWO firewalls, both with a total of 8 em-ports (2 x quad-cards). -Some of the ports are forfuture use and thus not configured and don't have a corr corresponding carp. So far it has really been:em0 - carp0 - internal LANem1 - pfsync0 - pfsyncem6 - carp6 - wifiem7 - carp7 - egress -I've been able to set up basic rules for the above and traffic has been pushing through in any direction - CARP traffic has been troublesome however. At first I was convinced it had something to do with my rules, but that doesn'tseem to be the case. In order to isolate the problem(s) I've turned off pf (pf=NO in /etc/rc.conf.local + reboot)and now I am going through port by port using (setting up dummy carp on some ports). So far I've verified on the first firewall that carp multicasts have transmitted OKon em0 and em7. On em3 and em4 only arp who-has-requests have appeared.Now I am on port em5 and as that was not configured before I created a dummy address and a dummy carp. Then I ran /etc/netstart and got this error: $ sudo sh /etc/netstart em5 ifconfig: SIOCGVH: Inappropriate ioctl for device -Is the root of my problems maybe due to system resources not available for so many ports? Do I need to tune something because of the 8 em-ports +corresponding carp's?
troubleshooting carp
Hi Misc, I am having problems with setting up a pair of firewalls (Soekris 6501-70 with an extra lan1841 quad-card, i.e. total 8 em-ports) - I can not get CARP to work - both firewalls insist on becoming Master. I did have it working a week or two ago, since then I've been working on the rulesets and have updated to current snapshots several times, latest was last night. I've been thinking it was the rulesets that prevented the carp-traffic somehow, but even with pf turned off the carp announcements doesn't seem to be transmitted on the em-port. In order to isolate the problem I've turned on tcpdump in one session: # tcpdump -vvv -i em7 proto carp and then in another session I've done the following# pfctl -d# ifconfig carp7 down# ifconfig carp7 up -Should I not see some carp-traffic in the tcpdump-session? -I don't see any carp-traffic there, so I am starting to wonder whether something has changed with em-driver and/or carp in current? - -# ifconfig carp7 carp7: flags=28843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,NOINET6 mtu 1500 lladdr 00:00:5e:00:01:01 description: ISP priority: 0 carp: MASTER carpdev em7 vhid 1 advbase 20 advskew 100 groups: carp status: master inet X.X.X.116 netmask 0xfff0 broadcast X.X.X.127 # ifconfig em7 em7: flags=28b43UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST,NOINET6 mtu 1500 lladdr 00:00:24:d0:de:03 description: ISP priority: 0 groups: egress media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause) status: active inet X.X.X.125 netmask 0xfff0 broadcast X.X.X.127 # dmesg sdhc0 at pci2 dev 4 function 0 Intel EG20T SDIO rev 0x01: apic 0 int 18 sdmmc0 at sdhc0 sdhc1 at pci2 dev 4 function 1 Intel EG20T SDIO rev 0x01: apic 0 int 18 sdmmc1 at sdhc1 ahci0 at pci2 dev 6 function 0 Intel EG20T AHCI rev 0x02: msi, AHCI 1.1 scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: ATA, TS4GMSA500, 2012 SCSI3 0/direct fixed t10.ATA_TS4GMSA500_20140403B37910026705 sd0: 3775MB, 512 bytes/sector, 7732368 sectors ohci3 at pci2 dev 8 function 0 Intel EG20T USB rev 0x02: apic 0 int 16, version 1.0 ohci4 at pci2 dev 8 function 1 Intel EG20T USB rev 0x02: apic 0 int 16, version 1.0 ohci5 at pci2 dev 8 function 2 Intel EG20T USB rev 0x02: apic 0 int 16, version 1.0 ehci1 at pci2 dev 8 function 3 Intel EG20T USB rev 0x02: apic 0 int 16 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1 Intel EG20T DMA rev 0x00 at pci2 dev 10 function 0 not configured puc0 at pci2 dev 10 function 1 Intel EG20T Serial rev 0x01: ports: 1 com com4 at puc0 port 0 apic 0 int 19: ti16750, 64 byte fifo puc1 at pci2 dev 10 function 2 Intel EG20T Serial rev 0x00: ports: 1 com com5 at puc1 port 0 apic 0 int 19: ti16750, 64 byte fifo puc2 at pci2 dev 10 function 3 Intel EG20T Serial rev 0x00: ports: 1 com com6 at puc2 port 0 apic 0 int 19: ti16750, 64 byte fifo puc3 at pci2 dev 10 function 4 Intel EG20T Serial rev 0x00: ports: 1 com com7 at puc3 port 0 apic 0 int 19: ti16750, 64 byte fifo Intel EG20T DMA rev 0x00 at pci2 dev 12 function 0 not configured Intel EG20T SPI rev 0x00 at pci2 dev 12 function 1 not configured Intel EG20T I2C rev 0x00 at pci2 dev 12 function 2 not configured Intel EG20T CAN rev 0x00 at pci2 dev 12 function 3 not configured Intel EG20T 1588 rev 0x01 at pci2 dev 12 function 4 not configured usb2 at ohci0: USB revision 1.0 uhub2 at usb2 Intel OHCI root hub rev 1.00/1.00 addr 1 usb3 at ohci1: USB revision 1.0 uhub3 at usb3 Intel OHCI root hub rev 1.00/1.00 addr 1 usb4 at ohci2: USB revision 1.0 uhub4 at usb4 Intel OHCI root hub rev 1.00/1.00 addr 1 usb5 at ohci3: USB revision 1.0 uhub5 at usb5 Intel OHCI root hub rev 1.00/1.00 addr 1 usb6 at ohci4: USB revision 1.0 uhub6 at usb6 Intel OHCI root hub rev 1.00/1.00 addr 1 usb7 at ohci5: USB revision 1.0 uhub7 at usb7 Intel OHCI root hub rev 1.00/1.00 addr 1 ppb2 at pci0 dev 24 function 0 Intel E600 PCIE rev 0x00 pci3 at ppb2 bus 3 ppb3 at pci3 dev 0 function 0 IDT 89HPES4T4 rev 0x0e pci4 at ppb3 bus 4 ppb4 at pci4 dev 2 function 0 IDT 89HPES4T4 rev 0x0e pci5 at ppb4 bus 5 em0 at pci5 dev 0 function 0 Intel 82574L rev 0x00: msi, address 00:00:24:d0:cd:c4 ppb5 at pci4 dev 3 function 0 IDT 89HPES4T4 rev 0x0e pci6 at ppb5 bus 6 em1 at pci6 dev 0 function 0 Intel 82574L rev 0x00: msi, address 00:00:24:d0:cd:c5 ppb6 at pci4 dev 4 function 0 IDT 89HPES4T4 rev 0x0e pci7 at ppb6 bus 7 ppb7 at pci0 dev 25 function 0 Intel E600 PCIE rev 0x00 pci8 at ppb7 bus 8 ppb8 at pci8 dev 0 function 0 IDT 89HPES4T4 rev 0x0e pci9 at ppb8 bus 9 ppb9 at pci9 dev 2 function 0 IDT 89HPES4T4 rev 0x0e pci10 at ppb9 bus 10 em2 at pci10 dev 0 function 0 Intel 82574L rev 0x00: msi, address 00:00:24:d0:cd:c6 ppb10 at pci9 dev 3 function 0 IDT 89HPES4T4 rev 0x0e pci11 at ppb10 bus 11 em3 at pci11 dev 0 function 0 Intel 82574L
Re: troubleshooting carp
Subject: Re: troubleshooting carp From: m...@alumni.chalmers.se Date: Thu, 14 Aug 2014 19:31:06 +0200 CC: misc@openbsd.org To: stur...@hotmail.com What switch do you have? advbase 20 and advskew 100 means that youll have to wait 20+ sec in order to see announcement in tcpdump. Are you sure you have waited enough? -Yeah, I waited long enough, and in the meantime this came up in /var/log/messages: Aug 14 17:40:09 left /bsd: carp7: state transition: MASTER - INIT Aug 14 17:40:30 left /bsd: carp7: state transition: INIT - BACKUP Aug 14 17:41:30 left /bsd: carp7: state transition: BACKUP - MASTER By the way, here is some output from sysctl:$ sysctl net.inet.carpnet.inet.carp.allow=1net.inet.carp.preempt=1 net.inet.carp.log=7 -I don't actually see anything else from carp in /var/log/messages other than these transitions, even though net.inet.carp.log=7 -Just to clarify, when I do tcpdump without filtering, there is a lot of traffic entering and exiting, but nothing carp-related. I am not entirely sure what model the switch is since it is in Ireland and I'm in the U.S. - but it shouldn't really matter that much since I am trying to capture outgoing traffic from the host itself, or should it?
Re: troubleshooting carp
From: stur...@hotmail.com To: m...@alumni.chalmers.se CC: misc@openbsd.org Subject: RE: troubleshooting carp Date: Thu, 14 Aug 2014 14:00:37 -0400 Subject: Re: troubleshooting carp From: m...@alumni.chalmers.se Date: Thu, 14 Aug 2014 19:31:06 +0200 CC: misc@openbsd.org To: stur...@hotmail.com What switch do you have? -OK, so I tried tcpdump and carp up/down on em1 instead as that is connected directly to the other firewall, i.e. no switch in between, and lo and behold, I can see CARPadvertisements! -So, considering that it is the same host and same driver (em), it seems to be a wrongly configured switch rather than anything else! That begs the question though - what is so special with CARP, and what in the switch would be preventing it?? Multicast? VLAN? ...? I believe the switch might be a Netgear GSM724, or it could be a GS105.
disklabel/scan_ffs
Hi, I have a hard drive that crashed in some way or the other, and I'd like to see if I can access it, and ideally retrieve some of the files. I've connected it to a USB-bridge, but I fear it is beyond repair as it gets an error when I try to do disklabel: # disklabel sd1disklabel: ioctl DIOCGDINFO: Input/output error I also tried scan_ffs in different ways:# scan_ffs /dev/rsd1c scan_ffs: read: Input/output error# scan_ffs /dev/sd1c scan_ffs: /dev/sd1c: No medium found # scan_ffs /dev/sd1 scan_ffs: /dev/sd1: No such file or directory # scan_ffs /dev/sd1a scan_ffs: /dev/sd1a: No medium found # scan_ffs /dev/rsd1a scan_ffs: /dev/rsd1a: No medium found -Should I just give up, or are there other options? Some info:# sysctl hw.disknameshw.disknames=sd0:1ea2ee1a14a6352d,cd0:,sd1: # dmesg OpenBSD 5.6 (GENERIC.MP) #299: Fri Aug 8 00:10:33 MDT 2014 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz (GenuineIntel 686-class) 1.29 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,V MX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,LAHF,PERF real mem = 3745349632 (3571MB) avail mem = 3671699456 (3501MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/11/09, BIOS32 rev. 0 @ 0xffa10, SMBIOS rev. 2.4 @ 0xf67a0 (55 entries) bios0: vendor Dell Inc. version A07 date 08/11/2009 bios0: Dell Inc. Precision M6400 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET DMAR APIC ASF! MCFG TCPA SLIC SSDT acpi0: wakeup devices PCI0(S5) PCIE(S4) USB1(S0) USB2(S0) USB3(S0) USB4(S0) USB5(S0) USB6(S0) EHC2(S0) EHCI(S0) AZAL(S3) RP01(S4) RP02(S4) RP03(S4) RP04(S3) RP05(S3) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) mtrr: Pentium Pro MTRR support, 7 var ranges, 88 fixed ranges cpu0: apic clock running at 266MHz cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz (GenuineIntel 686-class) 2.80 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,V MX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,LAHF,PERF ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpiprt0 at acpi0: bus 3 (PCIE) acpiprt1 at acpi0: bus 1 (AGP_) acpiprt2 at acpi0: bus 11 (RP01) acpiprt3 at acpi0: bus 12 (RP02) acpiprt4 at acpi0: bus 13 (RP03) acpiprt5 at acpi0: bus 14 (RP04) acpiprt6 at acpi0: bus 16 (RP05) acpiprt7 at acpi0: bus 9 (RP06) acpiprt8 at acpi0: bus 0 (PCI0) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpitz0 at acpi0: critical temperature is 107 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: PBTN acpibtn2 at acpi0: SBTN acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model DELL H355F8A serial 10297 type LION oem Samsung SDI acpivideo0 at acpi0: VID_ acpivout0 at acpivideo0: LCD_ bios0: ROM list: 0xc/0xe000 0xce000/0x2000 cpu0: Enhanced SpeedStep 2794 MHz: speeds: 2801, 2800, 2134, 1600 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel Q45 Host rev 0x03 ppb0 at pci0 dev 1 function 0 Intel Q45 PCIE rev 0x03: apic 2 int 16 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 vendor NVIDIA, unknown product 0x063a rev 0xa1 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x02: apic 2 int 20 uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x02: apic 2 int 21 uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x02: apic 2 int 22 ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x02: apic 2 int 22 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x02: msi azalia0: codecs: IDT 92HD71B7 audio0 at azalia0 ppb1 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x02: apic 2 int 16 pci2 at ppb1 bus 11 ppb2 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x02: apic 2 int 17 pci3 at ppb2 bus 12 Broadcom BCM4313 rev 0x01 at pci3 dev 0 function 0 not configured ppb3 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x02: apic 2 int 18 pci4 at ppb3 bus 13 ppb4 at pci0 dev 28 function 3 Intel 82801I PCIE rev 0x02: apic 2 int 19 pci5 at ppb4 bus 14 re0 at pci5 dev 0 function 0 Realtek 8168 rev 0x06: RTL8168E/8111E-VL (0x2c80), msi, address 00:13:3b:85:05:69 rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 5 ppb5 at pci0 dev 28 function 4
Re: disklabel/scan_ffs
Bliss! -A simple power cycle while bridge was still connected with USB, woke the disk up! Both disklabel and fdisk worked fine on the disk after this and I've got my files. Before the powercycle I got same Input/output error from fdisk as from disklabel: # fdisk sd1 fdisk: DIOCGPDINFO: Input/output error fdisk: Can't get disk geometry, please use [-chs] to specify.
Re: etcsum moved?
Date: Fri, 8 Aug 2014 18:20:29 +0200 From: ajacou...@bsdfrog.org To: stur...@hotmail.com CC: misc@openbsd.org Subject: Re: etcsum moved? On Fri, Aug 08, 2014 at 11:00:07AM -0400, Stefan Olsson wrote: Hi Misc, I've run into problems with recent snapshots and sysmerge. It complains about lack of ./var/db/sysmerge/etcsum - has etcsum been moved and sysmerge script not been updated, or what is wrong really? Did you run sysmerge *before* updating your system? Antoine et al, -No, I ran sysmerge after the update, but I hadn't actually included base56.tgz in the update! I think that would be considered bad practice. *DOH!*
etcsum moved?
Hi Misc, I've run into problems with recent snapshots and sysmerge. It complains about lack of ./var/db/sysmerge/etcsum - has etcsum been moved and sysmerge script not been updated, or what is wrong really? # uname -a OpenBSD HeadOfTheNetwork.xxx.local 5.6 GENERIC#273 i386 # sysmerge -s etc56.tgz -x xetc56.tgz === Fetching file:///usr/rel/etc56.tgz === Fetching file:///usr/rel/SHA256.sig === Verifying etc56.tgz against /etc/signify/openbsd-56-base.pub === Fetching file:///usr/rel/xetc56.tgz === Fetching file:///usr/rel/SHA256.sig === Verifying xetc56.tgz against /etc/signify/openbsd-56-base.pub === Populating temporary root under /var/tmp/sysmerge.dYvaTYHlRu/temproot tar: WARNING! These patterns were not matched: ./var/db/sysmerge/etcsum ERROR: etc56.tgz: badly formed etc set, lacks ./var/db/sysmerge/etcsum # tar tvzpf etc56.tgz | grep sum -rw-r--r-- 1 root wheel11776 Aug 8 00:18 ./usr/share/sysmerge/etcsum -rw-r--r-- 1 root wheel 3578 Aug 8 00:18 ./usr/share/sysmerge/examplessum
fxp driver - bsd.rd vs bsd
Hi, My colleague is after trying to install Current onto an old Dell PC several times now. -She can go through the install without problem, she gets connected with dhcp and can download the filesets, so obviously she has network connection. -However, after rebooting into the freshly installed system (still set to dhcp), the machine will just not appear on the network. -While it was installing it could be pinged, but as soon as it restarts into the installed Current, it will not reply to ping anymore, it is not accessible over ssh and it is impossible to connect from it as well. -ifconfig fxp0 tells me that the state is active and it appears to have kept the same ip-address as it had when it was being installed. -Cables have been changed and it was connected to ports on other switches to no avail. -I was just wondering what would be the difference between being booted into bsd.rd vs bsd - in the latter fxp seems to have some kind of issue while it is working fine while in install-mode?-We will work around this issue by using a different machine, but I am still curious, how come it works fine while installing, but not when it is actually installed? Any clue-sticks to hit me with? Cheers
Re: fxp driver - bsd.rd vs bsd
Subject: Re: fxp driver - bsd.rd vs bsdFrom: andres@msu.eduDate: Tue, 24 Jun 2014 17:43:57 -0400To: stur...@hotmail.com; misc@openbsd.org First guess is do you have /etc/mygate ? --STeve Andre' -It doesn't really matter if I have mygate or not as this is on the LAN, no routing involved. It works fine to ping from other hosts on the LAN while it is installing (after getting an address from dhcp), but it doesn't reply to ping after rebooting to the *fresh* install of current.
X -configure -- Segmentation fault at address 0x28
Hello, When I use startx things works quite well with X-windows, but since I want a multihead config I tried to run X -configure. That configuration doesn't get very far though, it lists the available graphics drivers and then chokes and gives Segmentation fault at address 0x28. -The config that is created is very basic but I note that it has entries for both intel and vesa. -What can I do to get a more useful xorg.conf? Prevent the segmentation fault? xorg.conf.new: Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 Screen 1 Screen1 RightOf Screen0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection Section Files ModulePath /usr/X11R6/lib/modules FontPath /usr/X11R6/lib/X11/fonts/misc/ FontPath /usr/X11R6/lib/X11/fonts/TTF/ FontPath /usr/X11R6/lib/X11/fonts/OTF/ FontPath /usr/X11R6/lib/X11/fonts/Type1/ FontPath /usr/X11R6/lib/X11/fonts/100dpi/ FontPath /usr/X11R6/lib/X11/fonts/75dpi/ EndSection Section Module Load dbe Load dri Load dri2 Load extmod Load glx Load record EndSection Section InputDevice Identifier Keyboard0 Driver kbd EndSection Section InputDevice Identifier Mouse0 Driver mouse OptionProtocol wsmouse OptionDevice /dev/wsmouse OptionZAxisMapping 4 5 6 7 EndSection Section Monitor Identifier Monitor0 VendorName Monitor Vendor ModelNameMonitor Model EndSection Section Monitor Identifier Monitor1 VendorName Monitor Vendor ModelNameMonitor Model EndSection Section Device ### Available Driver options are:- ### Values: i: integer, f: float, bool: True/False, ### string: String, freq: f Hz/kHz/MHz, ### percent: f% ### [arg]: arg optional #Option NoAccel # [bool] #Option AccelMethod # str #Option Backlight # str #Option DRI # str #Option ColorKey # i #Option VideoKey # i #Option Tiling # [bool] #Option LinearFramebuffer # [bool] #Option SwapbuffersWait # [bool] #Option TripleBuffer # [bool] #Option XvPreferOverlay # [bool] #Option HotPlug # [bool] #Option RelaxedFencing # [bool] #Option XvMC # [bool] #Option FallbackDebug # [bool] #Option DebugFlushBatches # [bool] #Option DebugFlushCaches # [bool] #Option DebugWait # [bool] #Option BufferCache # [bool] Identifier Card0 Driver intel BusID PCI:0:2:0 EndSection Section Device ### Available Driver options are:- ### Values: i: integer, f: float, bool: True/False, ### string: String, freq: f Hz/kHz/MHz, ### percent: f% ### [arg]: arg optional #Option ShadowFB # [bool] #Option DefaultRefresh # [bool] #Option ModeSetClearScreen # [bool] Identifier Card1 Driver vesa BusID PCI:0:2:0 EndSection Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 SubSection Display Viewport 0 0 Depth 1 EndSubSection SubSection Display Viewport 0 0 Depth 4 EndSubSection SubSection Display Viewport 0 0 Depth 8 EndSubSection SubSection Display Viewport 0 0 Depth 15 EndSubSection SubSection Display Viewport 0 0 Depth 16 EndSubSection SubSection Display Viewport 0 0 Depth 24 EndSubSection EndSection Section Screen Identifier Screen1 Device Card1 MonitorMonitor1 SubSection Display Viewport 0 0 Depth 1 EndSubSection SubSection Display Viewport 0 0 Depth 4 EndSubSection SubSection Display Viewport 0 0 Depth 8 EndSubSection SubSection Display Viewport 0 0 Depth 15 EndSubSection SubSection Display Viewport 0 0 Depth 16 EndSubSection SubSection Display Viewport 0 0 Depth 24 EndSubSection EndSection -- dmesg OpenBSD 5.3-current (GENERIC.MP) #108: Tue Apr 30 11:35:41 MDT 2013 t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP RTC BIOS diagnostic error 3fconfig_unit,memory_size,fixed_disk,invalid_time real mem = 8448847872 (8057MB) avail mem = 8216231936 (7835MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xf2210 (102 entries) bios0: vendor Dell Inc. version A09 date 09/12/2012 bios0: Dell Inc. Latitude XT3 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC TCPA SSDT MCFG HPET BOOT SSDT SSDT SLIC acpi0: wakeup devices UAR1(S3) HDEF(S4) GLAN(S4) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) PXSX(S4) RP06(S4) PXSX(S4) RP07(S4) PXSX(S4) RP08(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEG2(S4) PEG3(S4) PXSX(S4) RP03(S4) EHC2(S1) EHCI(S1) LID_(S3) PBTN(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT
xrandr crtc [was: X -configure -- Segmentation fault at address 0x28]
On 10 May 2013 10:41, Zé Loff zel...@zeloff.org wrote: xrandr -That was good advice to try xrandr instead, however, now I have a problem with crtc's - I have two crtc, 0 and 1. But I have three monitors - LVDS1, VGA1 and HDMI1. It seems like I just can not get it to work on all three monitor at once. My guess is that I would need more crtc's, but is that even possible? VGA1 and HDMI1 are identical monitors able for 1680x1050 and should thus be able to share a crtc, but even if I specify that they both should have crtc 1 and then configure LVDS1 to have crtc 0 I get xrandr: cannot find crtc for output LVDS1 -Am I fighting a hopless battle? Is it only possible to get to monitors working at the same time with this graphics card? Kind Regards
order site down?
Hello, https://https.openbsd.org/cgi-bin/order times out for me, is the order site down? Kind Regards
up/down in pdksh-history with set -o vi
Hello, I suspect my problem is not entirely OpenBSD-related but more to do with pdksh and keybindings. I usually do set -o vi in my .profile. In bash on OS/X it then works to go up and down in history with both j+k or up+down-keys. If I ssh to a OpenBSD host from my Mac, I can NOT use up+down in the shell (ksh), but it works fine in less or vi. It even works fine with up+down keys in bash on OpenBSD - so what do I need to do in ksh to make up+down-keys work (apart from doing set -o emacs)?? sturban@LassoLouise:~ $ bind | egrep prefix-2|up-history|down-history ^N = down-history ^P = up-history ^X = prefix-2 ^[O = prefix-2 ^[[ = prefix-2 ^XA = up-history ^XB = down-history - TERM=xterm-256color And yes, I have read this message already: http://www.mail-archive.com/misc@openbsd.org/msg81796.html Kind Regards,
re1: watchdog timeout
Hello, I have an intermittent problem on one of my firewalls. It has worked well for years with different openbsd-releases but a few days after installing a snapshot a few months ago it sometimes just stops taking traffic on the internal nic. And all you get at the console is watchdog timeout on re1. I have upgraded the snapshot and have swapped to another re-nic, but to no avail. I can see in the archives that there has been some similar issues with the re-driver in the past but nothing to say what to actually do to fix it. $ ifconfig lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33200 priority: 0 groups: lo inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:17:3f:99:ff:20 description: notinuse priority: 0 media: Ethernet autoselect (none) status: no carrier inet 8.13.17.226 netmask 0xfff0 broadcast 8.13.17.239 inet6 fe80::217:3fff:fe99:ff20%re0 prefixlen 64 scopeid 0x1 re1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:17:3f:9b:cf:d5 priority: 0 media: Ethernet autoselect (1000baseT full-duplex,master,rxpause,txpause) status: active inet 192.168.16.252 netmask 0xff00 broadcast 255.255.255.0 inet6 fe80::217:3fff:fe9b:cfd5%re1 prefixlen 64 scopeid 0x2 re2: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:17:3f:9b:d3:e3 description: external priority: 0 groups: egress media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause) status: active inet 8.14.18.134 netmask 0xfffc broadcast 8.14.18.135 inet6 fe80::217:3fff:fe9b:d3e3%re2 prefixlen 64 scopeid 0x3 enc0: flags=41UP,RUNNING mtu 1536 priority: 0 tun0: flags=11UP,POINTOPOINT mtu 1500 priority: 0 groups: tun media: Ethernet autoselect status: no carrier pflog0: flags=141UP,RUNNING,PROMISC mtu 33200 priority: 0 groups: pflog $ dmesg OpenBSD 4.6-current (GENERIC) #442: Sun Nov 29 23:02:05 MST 2009 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium III (GenuineIntel 686-class) 931 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,S SE real mem = 267743232 (255MB) avail mem = 250806272 (239MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 11/28/00, BIOS32 rev. 0 @ 0xfda74, SMBIOS rev. 2.3 @ 0xf0ea0 (49 entries) bios0: vendor Intel Corp. version A06 date 11/28/2000 bios0: Dell Computer Corporation XPS-Z apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf2c40/224 (12 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #2 is the last bus bios0: ROM list: 0xc/0x9400 cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82815 Host rev 0x02 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xf800, size 0x240 ppb0 at pci0 dev 1 function 0 Intel 82815 AGP rev 0x02 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 NVIDIA Vanta rev 0x15 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ppb1 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0x02 pci2 at ppb1 bus 2 re0 at pci2 dev 10 function 0 Realtek 8169 rev 0x10: RTL8110S (0x0400), irq 3, address 00:17:3f:99:ff:20 rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 0 re1 at pci2 dev 11 function 0 Realtek 8169 rev 0x10: RTL8110S (0x0400), irq 11, address 00:17:3f:9b:cf:d5 rgephy1 at re1 phy 7: RTL8169S/8110S PHY, rev. 0 re2 at pci2 dev 12 function 0 Realtek 8169 rev 0x10: RTL8110S (0x0400), irq 9, address 00:17:3f:9b:d3:e3 rgephy2 at re2 phy 7: RTL8169S/8110S PHY, rev. 0 ichpcib0 at pci0 dev 31 function 0 Intel 82801BA LPC rev 0x02: 24-bit timer at 3579545Hz pciide0 at pci0 dev 31 function 1 Intel 82801BA IDE rev 0x02: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: QUANTUM FIREBALLlct20 20 wd0: 8-sector PIO, LBA, 19470MB, 39876480 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: LG, CD-ROM CRD-8482B, 1.05 ATAPI 5/cdrom removable atapiscsi1 at pciide0 channel 1 drive 1 scsibus1 at atapiscsi1: 2 targets sd0 at scsibus1 targ 0 lun 0: IOMEGA, ZIP 100, 14.A ATAPI 0/direct removable sd0: drive offline cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 sd0(pciide0:1:1): using PIO mode 0 uhci0 at pci0 dev 31 function 2 Intel 82801BA USB rev 0x02: irq 10 ichiic0 at pci0 dev 31 function
Re: re1: watchdog timeout
unfortunately I did a new install with the snapshot a couple of months ago and didn't bother keeping anything from /var/log from previous install (or anything else for that matter). Stuart Henderson wrote: On 2009-12-17, Stefan Olsson undefined.sarame...@gmail.com wrote: I have an intermittent problem on one of my firewalls. It has worked well for years with different openbsd-releases but a few days after installing a snapshot a few months ago it sometimes just stops taking traffic on the internal nic. And all you get at the console is watchdog timeout on re1. Diff the working and non-working dmesg and see if anything's different. You might have a working one sitting in /var/log/messages.*.gz
Re: European orders
Richard Ben Aleya wrote: But this conflict does not give you the rights in any manner to insult the Europeans and their culture (you reference to the beer). We cannot accept a such behaviour. European people is offended when they read such things. We do not want to purchase CDs to pay the salary of an American guy who does not respect European citizens. Now we know the man you are. We do not need an OpenBSD project leader, working with all the developers day after day to get changes into the source tree, and making releases every 6 months at the price of being offended. I am a European citizen and if I am insulted or offended by anything it is this crap you are writing. Go. Away.
snapshots
Hello, I've been using snapshots quite a bit lately but am a little bit confused regarding the snapshot packages vs the snapshots themselves. At the time of writing there are i386 snapshots dated the 27th of October while the snapshot packages for i386 are dated 22nd of October. -Do they belong together or do these packages belong to the previous i386 snapshot? Is there any way to tell which snapshot-packages belong to which snapshot-build? Kind Regards, Stefan
Re: ath wpn511 no network
On Sun, 30 Sep 2007 18:24:35 +0100, Stefan Olsson [EMAIL PROTECTED] said: Dear Misc, I am pulling my hairs out, the last few days I've been trying to install OpenBSD on my Dell Latitude D510. I've disabled the internal wireless BCM card and instead put in a Netgear WPN511. -First I tried 4.1 release which meant I had to download the firmware to get it recognized but it kept saying no network so I went and downloaded a snapshot instead (dated 20070924). -Same thing: no network. I have verified the card itself is working (in a redmond based O/S) but in OpenBSD it keeps saying no network. WHAT AM I DOING WRONG? Here's some info: the actual router is a Netgear DG834PN. This is my WPN511 $ ifconfig -m ath0 ath0: flags=8822BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST mtu 1500 lladdr 00:14:6c:f7:22:ef groups: wlan media: IEEE802.11 autoselect status: no network ieee80211: nwid supported media: media autoselect media autoselect mediaopt ibss media autoselect mediaopt hostap media autoselect mediaopt monitor media autoselect mode 11b media autoselect mode 11b mediaopt ibss media autoselect mode 11b mediaopt hostap media autoselect mode 11b mediaopt monitor media DS1 mode 11b media DS1 mode 11b mediaopt ibss media DS1 mode 11b mediaopt hostap media DS1 mode 11b mediaopt monitor media DS2 mode 11b media DS2 mode 11b mediaopt ibss media DS2 mode 11b mediaopt hostap media DS2 mode 11b mediaopt monitor media DS5 mode 11b media DS5 mode 11b mediaopt ibss media DS5 mode 11b mediaopt hostap media DS5 mode 11b mediaopt monitor media DS11 mode 11b media DS11 mode 11b mediaopt ibss media DS11 mode 11b mediaopt hostap media DS11 mode 11b mediaopt monitor media DS1 media DS1 mediaopt ibss media DS1 mediaopt hostap media DS1 mediaopt monitor media DS2 media DS2 mediaopt ibss media DS2 mediaopt hostap media DS2 mediaopt monitor media DS5 media DS5 mediaopt ibss media DS5 mediaopt hostap media DS5 mediaopt monitor media DS11 media DS11 mediaopt ibss media DS11 mediaopt hostap media DS11 mediaopt monitor interestingly it DOES pick up the nwid (mywifinet) when I do the following) $ sudo ifconfig ath0 192.168.0.10 netmask 255.255.255.0 $ ifconfig ath0 ath0: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:14:6c:f7:22:ef groups: wlan media: IEEE802.11 autoselect (DS1 mode 11b) status: no network ieee80211: nwid mywifinet chan 11 bssid 00:14:6c:63:c5:70 71% inet 192.168.0.10 netmask 0xff00 broadcast 192.168.0.255 inet6 fe80::214:6cff:fef7:22ef%ath0 prefixlen 64 scopeid 0x4 When putting in a WPN111 I get a uath0 and it works! $ sudo ifconfig uath0 192.168.0.11 netmask 255.255.255.0 $ ifconfig uath0 uath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:14:6c:52:88:63 groups: wlan media: IEEE802.11 autoselect (OFDM54 mode 11g) status: active ieee80211: nwid mywifinet chan 11 bssid 00:14:6c:63:c5:70 23dB 100dBm inet 192.168.0.11 netmask 0xff00 broadcast 192.168.0.255 inet6 fe80::214:6cff:fe52:8863%uath0 prefixlen 64 scopeid 0x5 $ dmesg OpenBSD 4.2-current (GENERIC) #408: Mon Sep 24 14:42:39 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) M processor 1.86GHz (GenuineIntel 686-class) 1.87 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,A CPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2 real mem = 1064738816 (1015MB) avail mem = 1021825024 (974MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 07/04/05, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 0xf7910 (60 entries) bios0: vendor Dell Inc. version A02 date 07/04/2005 bios0: Dell Inc. Latitude D510 pcibios0 at bios0: rev 2.1 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfb2d0/176 (9 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371 ISA and IDE rev 0x00) pcibios0: PCI bus #3 is the last bus bios0: ROM list: 0xc/0xf800! 0xcf800/0x800 acpi at mainbus0 not configured cpu0 at mainbus0 cpu0: unknown Enhanced SpeedStep CPU, msr 0x06120e2906000e29 cpu0: using only highest and lowest power states cpu0: Enhanced
Re: Hack OpenBSD and improve fitness at the same time
- Original Message - From: Karel Kulhavy [EMAIL PROTECTED] Add an everyday job to this and you get a shortage of time. Therefore I have developed a special open source fitness machine for computer hackers which allows exercising while sitting at the keyboard. Twibright Exciter: http://ronja.twibright.com/exciter/ -Apart from health this could be used to generate electricity for Theo's servers! Then you could put in a section on the Donations page to come over and do a few hours on the bike and help keeping the electricity bill down. On the hackathons developers could be put on bikes while developing or there could be separate bikeathons for people who want to donate some physical effort to the project. *yes, this is a joke*
dying ftp-proxy
Hello, ftp-proxy starts up and runs fine for most of the time on one of my firewalls, but sometimes and intermittently it just silently dies without any trace in the daemon-log or messages. It is easy enough to just start it again, but it is a bit annoying. I suppose I should start with upping the logging to max on the daemon, but are there any suggestions straight away what could cause it to die, or what files/logs to check? $ uname -a OpenBSD here.some.where 4.0 GENERIC#1107 i386 /S
Re: ppp.conf for ueagle and pppoa
On Wed, 29 Nov 2006 11:46:00 +0100, Przemyslaw Nowaczyk [EMAIL PROTECTED] said: On Wed, Nov 29, 2006 at 08:27:14AM +0100, Damien Bergamini wrote: You must recompile user ppp with ATM enabled: cd /usr/src/usr.sbin/ppp/ppp/ vi Makefile remove line NOATM= /usr/include/netnatm required then run make make install then ppp -dedicated adsl this is explained here: http://damien.bergamini.free.fr/ueagle/ppp.html (just skip the synchronizing the modem section which is outdated). hi, i'm also having some difficulties in making my sagem fast 800 e2t work, i'm running a generic kernel with ueagle and noatm enabled (dmesg below), recompiled ppp (as you mentioned above, since i'm using pppoa) and after booting the machine the modem doesn't synchronize.. running ppp -dedicated adsl in that state (ppp.conf from your page, with vpi and vci set to 0 35) shows: Warning: PPPoA:ueagle0:0.35: connect: Device not configured Warning: deflink: Device (PPPoA:ueagle0:0.35) must begin with a '/', a '!' or contain at least one ':' I have now followed the FAQ 5.3.* sections and also Damien's guidelines in the ppp.html as above. And it STILL comes back with: Warning: deflink: Device (PPPoA:ueagle0:0.35) must begin with a '/', a '!' or contain at least one ':' That message is contained in physical.c in the ppp-directory btw. After having to add new file systems for /usr/src and /usr/obj, editing and building a new GENERIC, re-compiling ppp etc etc - all first-time experiences, I think I a will call it a day with this driver. While everything else in OpenBSD just works this driver seems to be the opposite. And I am apparently not the only one having this problem. Rgds -- http://www.fastmail.fm - Does exactly what it says on the tin
Re: ppp.conf for ueagle and pppoa
- Original Message - From: Damien Bergamini [EMAIL PROTECTED] Sent: Tuesday, November 28, 2006 7:26 AM The route command is only necessary for plain IPoA. For PPPoA, ppp will create the route for you. Just put: set device PPPoA:ueagle0:8.35 in your ppp.conf file. That gives me: /etc/ppp:4365$ sudo ppp adsl Working in interactive mode Warning: iface rm: ioctl(SIOCDIFADDR_IN6, fe80:8::250:4ff:fe5d:1022/64): Can't assign requested address Using interface: tun1 Command: adsl: set device PPPoA:ueagle0:8.35 Command: adsl: set authname [EMAIL PROTECTED] Command: adsl: set authkey ppp ON saltkudde dial Command: /dev/tty: dial Warning: deflink: Device (PPPoA:ueagle0:8.35) must begin with a '/', a '!' or contain at least one ':' /etc/ppp:4366$ cat ppp.conf default: set log Phase Warning add! default HISADDR set ifaddr 0.0.0.1/0 0.0.0.2/0 255.255.255.0 0.0.0.0 set login adsl: set log local CCP Command DNS IPCP LCP TCP/IP Warning set device PPPoA:ueagle0:8.35 set authname [EMAIL PROTECTED] set authkey nytt95 # enable lqr # enable dns # disable ipv6cp # set reconnect 10 100 --- /etc/ppp:4367$ dmesg [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium III (GenuineIntel 686-class) 702 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real mem = 133722112 (130588K) avail mem = 114577408 (111892K) using 1657 buffers containing 6787072 bytes (6628K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(32) BIOS, date 05/19/00, BIOS32 rev. 0 @ 0xfd890, SMBIOS rev. 2.3 @ 0xebd60 (50 entries) bios0: Dell Computer Corporation Inspiron 7500 apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 100% apm0: AC on, battery charge high, estimated 3:20 hours apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xfd890/0x770 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf50/144 (7 entries) pcibios0: PCI Interrupt Router at 000:07:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #3 is the last bus bios0: ROM list: 0xc/0x1 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x03 ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Mobility 1 rev 0x64 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) cbb0 at pci0 dev 4 function 0 TI PCI1225 CardBus rev 0x01: irq 11 cbb1 at pci0 dev 4 function 1 TI PCI1225 CardBus rev 0x01: irq 11 pcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x02 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: IBM-DARA-218000 wd0: 16-sector PIO, LBA, 17301MB, 35433216 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets sd0 at scsibus0 targ 0 lun 0: MATSHITA, LS-120 SLIM3 00, F710 SCSI0 0/direct removable sd0: drive offline atapiscsi1 at pciide0 channel 1 drive 1 scsibus1 at atapiscsi1: 2 targets cd0 at scsibus1 targ 0 lun 0: TOSHIBA, DVD-ROM SD-C2402, 1009 SCSI0 5/cdrom removable sd0(pciide0:1:0): using PIO mode 0, DMA mode 1 cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 uhci0 at pci0 dev 7 function 2 Intel 82371AB USB rev 0x01: irq 5 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 piixpm0 at pci0 dev 7 function 3 Intel 82371AB Power rev 0x02: SMI iic0 at piixpm0 maestro0 at pci0 dev 8 function 0 ESS Maestro 2E rev 0x10: irq 5 ac97: codec id 0x83847609 (SigmaTel STAC9721/23) ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D audio0 at maestro0 ATT/Lucent LTMODEM rev 0x01 at pci0 dev 16 function 0 not configured cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 3 device 0 cacheline 0x0, lattimer 0x20 pcmcia1 at cardslot1 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo biomask ef6d netmask ef6d ttymask ffef pctr: 686-class user-level performance counters enabled mtrr: Pentium Pro MTRR support xl0 at cardbus0 dev 0 function 0 3Com Corporation, 3CCFE575BT, LAN Cardbus Card: 3Com 3c575B-TX Ethernet: irq 11, address 00:50:04:5d:10:22 tqphy0 at xl0 phy 0: 78Q2120 10/100 PHY, rev. 3 ueagle0 at uhub0 port 1 ueagle0: Analog Devices Eagle III, rev
ppp.conf for ueagle and pppoa
Hello, I've got my Sagem 800 to be recognized properly by uncommenting the ueagle* and NATM lines and rebuild the kernel, but the man-pages for ueagle and ppp.conf are kind of confusing. -In the ueagle(4) it says to use route to create a PVC, but I don't understand how to use this information in the ppp.conf. The bergamini-pages only confuses the matter even more: http://damien.bergamini.free.fr/ueagle/ppp.html -Could some just tell me what to put in set device for a ppoa connection (vc, vpi=8, vci=35) in a ppp.conf, and what else I need to do to get it to work? Thx
Re: [OT, rant and despair] Re: More ammunition for the Blob fight
- Original Message - From: Ingo Schwarze [EMAIL PROTECTED] i should rather like to use another idiom: Auf dem Teppich bleiben. remain on the carpet? -Please explain...
Re: Partitions
From: Lars Hansson [EMAIL PROTECTED] On Friday 30 June 2006 20:45, Craig Skinner wrote: I always symlink /var/tmp to my /tmp partition and mount /tmp with: nodev,noexec,nosuid,noatime,async - as it gets wiped at boot anyway. /var/tmp is not wiped at boot. -No, but /tmp is and if you symlink /var/tmp to /tmp ... I kind of like the idea.
Re: ueagle driver
Stefan Olsson wrote: Hello, I'm trying to get my Dell Inspiron 7500 laptop to load the ueagle driver with OpenBSD 3.9 so I can use my SAGEM 800 ADSL modem, but it does not want to play. The ueagle firmware files was nowhere to be found in /etc/firmware so I downloaded from http://damien.bergamini.free.fr/ueaglefw/ # usbdevs addr 1: UHCI root hub, Intel addr 2: Eagle III, Analog Devices # dmesg OpenBSD 3.9 (GENERIC) #617: Thu Mar 2 02:26:48 MST 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC ... ugen0 at uhub0 port 1 ugen0: Analog Devices Eagle III, rev 1.10/20.00, addr 2 dkcsum: wd0 matches BIOS drive 0x80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 -I'm after checking the source on the web and it seems like Theo disabled ueagle 11 months ago in conf/GENERIC: *1.414|deraadt184: #optionNATM ** | 185: #ueagle* at uhub? # Analog Devices Eagle ADSL -The comment is Not ready for NATM. Should this not be mentioned in ueagle(4)? And what is the problem with NATM anyway? *
Re: Windows OpenBSD
- Original Message - From: Gustavo Rios [EMAIL PROTECTED] I am in need for integrating a set of windows dektops with some openbsd servers. I have two openbsd boxes: one acting like an NFS server and another with NIS + Kerberos. The problem comes when i think on about 50 desktops running Windows XP/2003. I would like those windows boxes to grab the users/groups information directly from my nis/krb server, as also performs SSO based on the user principal stored on that same nis/krb server. You can use the Windows XP support tools to get your windows boxen authenticate directly with your KDC: http://www.dice.inf.ed.ac.uk/groups/user_support/windows/winxpauthmit.html
Re: OBDII, Anyone?
From: Christopher Snell [EMAIL PROTECTED] Has anybody done any work to port Freediag (http://freediag.sourceforge.net/) to OpenBSD or to write similar ODBII software for our favorite OS? Googling did not yield anything useful. -Just being curious, if some developer actually ported this to OpenBSD, how would the real-time scheduling be sorted out? From Freediag page: The Scantool should be run as SuperUser as the process has to set real-time scheduling in order to get accurate timing control under Linux.
Re: Mail Server Architecture
From: J.C. Roberts [EMAIL PROTECTED] PS - Maybe someone can teach you mail 101. It's never a good idea to have a CNAME to be the MX. confuciun.com. 497 IN MX 10 mail.confuciun.com. mail.confuciun.com. 600 IN CNAME confuciun.com. Though the answer is supposedly in mail 101 or maybe DNS 101, I've been unable find a decent reason for your statement? I hope you don't mind the dumb question of why? because it says so in the RFCs. http://www.faqs.org/rfcs/rfc1912.html http://www.faqs.org/rfcs/rfc974.html http://www.faqs.org/rfcs/rfc1034.html excerpt from rfc1912: strongly discouraged: podunk.xx. IN MX mailhost mailhostIN CNAME mary maryIN A 1.2.3.4 [RFC 1034] in section 3.6.2 says this should not be done, and [RFC 974] explicitly states that MX records shall not point to an alias defined by a CNAME. -The above given example is even worse since any e-mail going to the domain confuciun.com is supposed to go to mail.confuciun.com which is an alias for confuciun.com which hmmm. CONFUSING!