Re: script
Nick Guenther wrote: Does anybody provide a commercial shell scripting??? for i in "Don't wait" "Buy Things Now" "Save Now" "$0.99" "Get your instant trial account now" "Double Your Sales Calls, Free Script Demo"; do echo $i done Like that? Hey man, that wasn't just 'commercial grade', that was Enterprise(tm) ready! Almost ready to be: #!/usr/games/fortune 500 ...
Re: panic: rtfree 2
Hi Misc@, On Tue, Jan 13, 2009 at 6:32 AM, Claudio Jeker wrote: > On Tue, Jan 13, 2009 at 05:49:00AM +0700, Insan Praja SW wrote: >> Hi Misc@, >> So I tried to move the cable (and configs) to other interfaces. >> Unplugging the cable will reproduce the problem. So IMHO it must be >> something in bgpd or something in kernel that manages routes. >> Thanks, >> > > Could you please send me the output of netstat -Arn just before you > produce the panic. Hopefully this gives me the hint what goes wrong. > It's a lot of output (full routes), but I could cut some of the first output Routing tables Netmasks: 0xd2ab54a0 (root node) 0xd2e1db00 (255) Qff.ff.f0 0xd2e1da00 (255) Qff.ff.ff 0xd2e2b100 (255) Qff.ff.ff.80 0xd2e2bb80 (255) Qff.ff.ff.c0 0xd2e28d80 (255) Qff.ff.ff.e0 0xd2e26a80 (255) Qff.ff.ff.f0 0xd2e25600 (255) Qff.ff.ff.f8 0xd2e25580 (255) Qff.ff.ff.fc 0xd2e26e80 (255) Qff.ff.ff.fe 0xd2e26b00 (255) Qff.ff.ff.ff 0xd2e1d280 (255) Qff.ff.ff.ff.80 0xd2e2b800 (255) Qff.ff.ff.ff.c0 0xd2e2b700 (255) Qff.ff.ff.ff.e0 0xd2e2b200 (255) Qff.ff.ff.ff.f0 0xd2e2be00 (255) Qff.ff.ff.ff.f8 0xd2e2bd80 (255) Qff.ff.ff.ff.fc 0xd2e1df00 (255) Qff.ff.ff.ff.fe 0xd2e1df80 (255) Qff.ff.ff.ff.ff 0xd2e2bd00 (255) Qff.ff.ff.ff.ff.e0 0xd2e1dc00 (255) Qff.ff.ff.ff.ff.f0 0xd2e1d900 (255) Qff.ff.ff.ff.ff.f8 0xd2b75a00 (255) Qff.ff.ff.ff.ff.fc 0xd2b75c80 (255) Qff.ff.ff.ff.ff.ff.ff.c0 0xd2b75480 (255) Qff.ff.ff.ff.ff.ff.ff.ff 0xd2b75780 (255) Qff.ff.ff.ff.ff.ff.ff.ff.f0 0xd2b75680 (255) Qff.ff.ff.ff.ff.ff.ff.ff.ff 0xd2b75080 (255) Qff.ff.ff.ff.ff.ff.ff.ff.ff.ff 0xd2ae5e00 (255) Qff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff 0xd2b75b80 (255) Qff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff 0xd2b75a80 (255) Qff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.f0 0xd2b75980 (255) Qff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff 0xd2ab54d0 (root node) Internet: AddressDestinationGatewayFlags Refs Use Mtu Prio Iface 0xd2ab5338 (32) (0xd2ab5338) 0xd98bd018 : 0xd97172ac mk = 0xd2e22be0 {(0), , default} 0xd98bd018 (33) (0xd2ab5338) 0xd976d10c : 0xd97669b8 0xd976d10c (34) (0xd98bd018) 0xd96fe5c4 : 0xd9768188 0xd96fe5c4 (35) (0xd976d10c) 0xd98b3a14 : 0xd956a030 0xd98b3a14 (36) (0xd96fe5c4) 0xd95c0af8 : 0xd976ca94 0xd95c0af8 (37) (0xd98b3a14) 0xe05af698 : 0xe0dbc630 If you need more, I'm willing to send a private message to your email with the output attached. > thanks. > > -- > :wq Claudio > Thanks, Insan > >> >> Insan >> >>> Hi Misc@, >>> recently installed a i386-current from january 11th 2009, on an intel >>> s3210SH serverboard. I run pf, bgpd, snmpd and ntpd. When I accidentally >>> unplugged em0, somehow it went panic and said "panic: rtfree 2". I >>> entered >>> ddb and run a trace with the following result: >> >>> ddb> trace >>> Debugger(d39d1c58,d2ab5300,4,e1bc0cfc,d39d1c00) at Debbugger+0x4 >>> panic(d06f5e16,d39d1c78,d2ab5300,0,0) at panic+0x55 >>> rtfree(e1bc0cfc,30,0,d2ab5300) at rtfree+0xbd >>> route_output(d9898000,d9783c70,0,df75fd50,d0202dd5) at route_output+0x341 >>> raw_usrreq(d9783c70,9,d9898000,0,0) at raw_usrreq+0xf2 >>> route_usrreq(d9783c70,9,d9898000,0,0) at route_usrreq+0xe8 >>> sosend(d9783c70,0,df75fea8,d9898000,0) at sosend+0x357 >>> soo_write(d977f424,d977f440,df75fea8,d992c000) at soo_write+0x1c >>> dofilewritev(d990ada0,6,d997f424,cfbecfc0,5) at dofilewritev+0xeb >>> sys_writev(d990ada0,df75ff68,df75ff58,cfbecfc0,d990ada0) at >>> sys_writev+0x47 >>> syscall() at syscall+0x24e >>> --- syscall (number 121) --- >>> 0x74ba3d5 >>> ddb> >>> >>> I did run ps and notice some particular things (I'm too exhausted to >>> retype everything from the picture): >>> PID PPIDPGRPUID S FLAGS WAITCOMMAND >>> 6790 6286628675 3 0x180 pollbgpd >>> 7389 6286628675 2 0x100 bgpd >>> *62861 62860 7 0 bgpd >>> >>> Of course, it's not happen if bgpd is not running and I consciusly >>> ifconfig-ed em0 to down. But, if I keep bgpd running and ifconfig-ed em0 >>> to down, nothing happen until I ifconfig-ed em0 to up, it went panic with >>> the same messages. I hope this could helps all of us. Thanks a lot for >>> everything, I hope I could help more. I also sendbug-ed the messages. >>> Below is the dmesg.
spamd won't use my WHITElist
Hi. I run spamd on 4.4-stable. There are some blacklist and whitelist. But spamd don't use it (at least, whitelist) and use greylist scheme for all connections. I need to get emails from WHITElisted networks immediately, skipping spamd. Please, help me understand where I'm wrong. Here is my configs. $ fgrep -v '#' /etc/mail/spamd.conf all:\ :myblack:uatraps:nixspam:china:korea:mywhite: myblack:\ :black:\ :msg="Your address %A has sent spam to me":\ :method=file:\ :file=/etc/postfix/spamd_black.txt: mywhite:\ :white:\ :method=file:\ :file=/etc/postfix/spamd_white.txt: uatraps:\ :black:\ :msg="Your address %A has sent mail to a ualberta.ca spamtrap\n\ within the last 24 hours":\ :method=http:\ :file=www.openbsd.org/spamd/traplist.gz nixspam:\ :black:\ :msg="Your address %A is in the nixspam list\n\ See http://www.heise.de/ix/nixspam/dnsbl_en/ for details":\ :method=http:\ :file=www.openbsd.org/spamd/nixspam.gz china:\ :black:\ :msg="SPAM. Your address %A appears to be from China\n\ See http://www.okean.com/asianspamblocks.html for more details":\ :method=http:\ :file=www.openbsd.org/spamd/chinacidr.txt.gz: korea:\ :black:\ :msg="SPAM. Your address %A appears to be from Korea\n\ See http://www.okean.com/asianspamblocks.html for more details":\ :method=http:\ :file=www.openbsd.org/spamd/koreacidr.txt.gz: $ fgrep -v '#' /etc/postfix/spamd_white.txt 194.67.23.0 - 194.67.23.255 194.67.57.0 - 194.67.57.255 195.239.211.0 - 195.239.211.255 213.180.192.0 - 213.180.193.255 213.180.200.0 - 213.180.200.255 213.180.223.0 - 213.180.223.255 87.250.251.0 - 87.250.251.255 77.88.21.0 - 77.88.21.255 93.158.134.0 - 93.158.134.255 209.85.128.0 - 209.85.255.255 217.150.32.41 - 217.150.32.42 In /etc/pf.conf ... table persist ... rdr on $ext_if proto tcp from any to $mx_IP port smtp -> 127.0.0.1 port spamd ... And when someone try to send me email from @mail.ru I see this (my "..." hides real symbols): # spamdb |fgrep 't...@mail.ru' GREY|194.67.23.194|mx33.mail.ru|||1231821097|1231835497|1231835497|1|0 GREY|194.67.23.36|mx40.mail.ru|||1231819993|1231834393|1231834393|1|0 It seems like spamd completely skipped WHITElisted network (194.67.23.0 - 194.67.23.255). I was thinking that all WHITElisted nets will be in the immediately, just after spamd started... -- engineer
Re: HDD Controllers LSI1064E or SC40Ge
the 1064e chips are well supported. On Tue, Jan 13, 2009 at 03:43:19PM +1100, Samiuela LV Taufa wrote: > Help Please, > > Need to confirm whether either is supported in OpenBSD and reaching out > to the community for any assistance you might be able to provide. If > you have either of these successfully deployed your input will be much > appreciated. > > Server Model: HP DL160 G5 > HDD Controller: SC40Ge > > http://www-07.ibm.com/lenovoinfo/thinkserver/au/mtm_rack_popup.html > > Server Model: IBM 1U Servers > HDD Controller: LSI 1064E > > So far as I can find through web searching, the controllers are LSI > based and probably LSI1064E. Unfortunately, I can't find any reference > to an LSI1064E in lsi.com whereas they do have (and OpenBSD supports) an > LSI SAS 1064E. > > Numerous references on the IBM site to the LSI 1064e SAS Controller, but > the product build form only references an LSI 1064E. I'm just being > careful that their reference is to the same thing we see in the OpenBSD > Driver list. > > lsi.com confirms LSIAS1064E is part of the mpt family, but doesn't > explicitly mention the LSI 1064E (sans SAS?) LSISAS1064E is supported > with the mpi driver, but I'm concerned that there's a significant > difference in the two chipsets? > > NET browsing implies the controller is supported in FreeBSD's mpt > driver, with 2008 patches for performance issues. > > Again, > > If someone can clarify the support state for the two above mentioned > controllers (IBM: LSI 1064E, or HP: SC40Ge), this will be very much > appreaciated. > > > Thanks in advance, > > > Sam T
HDD Controllers LSI1064E or SC40Ge
Help Please, Need to confirm whether either is supported in OpenBSD and reaching out to the community for any assistance you might be able to provide. If you have either of these successfully deployed your input will be much appreciated. Server Model: HP DL160 G5 HDD Controller: SC40Ge http://www-07.ibm.com/lenovoinfo/thinkserver/au/mtm_rack_popup.html Server Model: IBM 1U Servers HDD Controller: LSI 1064E So far as I can find through web searching, the controllers are LSI based and probably LSI1064E. Unfortunately, I can't find any reference to an LSI1064E in lsi.com whereas they do have (and OpenBSD supports) an LSI SAS 1064E. Numerous references on the IBM site to the LSI 1064e SAS Controller, but the product build form only references an LSI 1064E. I'm just being careful that their reference is to the same thing we see in the OpenBSD Driver list. lsi.com confirms LSIAS1064E is part of the mpt family, but doesn't explicitly mention the LSI 1064E (sans SAS?) LSISAS1064E is supported with the mpi driver, but I'm concerned that there's a significant difference in the two chipsets? NET browsing implies the controller is supported in FreeBSD's mpt driver, with 2008 patches for performance issues. Again, If someone can clarify the support state for the two above mentioned controllers (IBM: LSI 1064E, or HP: SC40Ge), this will be very much appreaciated. Thanks in advance, Sam T
Re: Vietnam Travel, Vietnam Tours to offer big discount !
Wow, are you really going to pay for the cost of sending all the OpenBSD-misc subscribers to Vietnam? How generous!
Pruning in -current
In faq/current, one sees: 2008/11/06 - Xserver updated to 1.5.2 Several xserver modules and drivers have been deprecated. To make sure that X -configure \ doesn't try to configure the obsolete modules, it is recommended to prune old contents \ of /usr/X11R6/lib/modules before installing a new snapshot. Does this mean "wipe slick" or "carefully look for things that are old based on a criterion that the wise will find blindingly obvious?" -- Ed Ahlsen-Girard
Re: panic: rtfree 2
Hi Misc@, So I tried to move the cable (and configs) to other interfaces. Unplugging the cable will reproduce the problem. So IMHO it must be something in bgpd or something in kernel that manages routes. Thanks, Insan Hi Misc@, recently installed a i386-current from january 11th 2009, on an intel s3210SH serverboard. I run pf, bgpd, snmpd and ntpd. When I accidentally unplugged em0, somehow it went panic and said "panic: rtfree 2". I entered ddb and run a trace with the following result: ddb> trace Debugger(d39d1c58,d2ab5300,4,e1bc0cfc,d39d1c00) at Debbugger+0x4 panic(d06f5e16,d39d1c78,d2ab5300,0,0) at panic+0x55 rtfree(e1bc0cfc,30,0,d2ab5300) at rtfree+0xbd route_output(d9898000,d9783c70,0,df75fd50,d0202dd5) at route_output+0x341 raw_usrreq(d9783c70,9,d9898000,0,0) at raw_usrreq+0xf2 route_usrreq(d9783c70,9,d9898000,0,0) at route_usrreq+0xe8 sosend(d9783c70,0,df75fea8,d9898000,0) at sosend+0x357 soo_write(d977f424,d977f440,df75fea8,d992c000) at soo_write+0x1c dofilewritev(d990ada0,6,d997f424,cfbecfc0,5) at dofilewritev+0xeb sys_writev(d990ada0,df75ff68,df75ff58,cfbecfc0,d990ada0) at sys_writev+0x47 syscall() at syscall+0x24e --- syscall (number 121) --- 0x74ba3d5 ddb> I did run ps and notice some particular things (I'm too exhausted to retype everything from the picture): PID PPIDPGRPUID S FLAGS WAITCOMMAND 67906286628675 3 0x180 pollbgpd 73896286628675 2 0x100 bgpd *6286 1 62860 7 0 bgpd Of course, it's not happen if bgpd is not running and I consciusly ifconfig-ed em0 to down. But, if I keep bgpd running and ifconfig-ed em0 to down, nothing happen until I ifconfig-ed em0 to up, it went panic with the same messages. I hope this could helps all of us. Thanks a lot for everything, I hope I could help more. I also sendbug-ed the messages. Below is the dmesg. OpenBSD 4.4-current (GENERIC) #1: Sun Jan 11 23:23:00 WIT 2009 r...@greenbridge.mygreenlinks.net:/usr/src/sys/arch/i386/compile/GENERIC RTC BIOS diagnostic error d cpu0: Intel(R) Xeon(R) CPU E3110 @ 3.00GHz ("GenuineIntel" 686-class) 3 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,S SE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR real mem = 2143842304 (2044MB) avail mem = 2064748544 (1969MB) RTC BIOS diagnostic error d mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 12/12/07, SMBIOS rev. 2.5 @ 0x7fdfd000 (63 entries) bios0: vendor Intel Corporation version "S3200X38.86B.00.00.0045.082820081329" date 08/28/2008 bios0: Intel Corporation S3210SH acpi0 at bios0: rev 2 acpi0: tables DSDT SLIC FACP APIC WDDT MCFG HPET SPCR SSDT SSDT SSDT SSDT SSDT HEST BERT ERST EINJ DMAR acpi0: wakeup devices SLPB(S5) NPE1(S5) NPE6(S5) P32_(S5) PS2M(S1) PS2K(S1) ILAN(S5) PEX0(S5) PEX1(S5) PEX2(S5) PEX3(S5) PEX4( S5) PEX5(S5) UHC1(S1) UHC2(S1) UHC3(S1) UHC4(S1) EHCI(S1) EHC2(S1) UH42(S1) UHC5(S1) UHC6(S1) AZAL(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 332MHz cpu at mainbus0: not configured ioapic0 at mainbus0: apid 5 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 5 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (NPE1) acpiprt2 at acpi0: bus -1 (NPE6) acpiprt3 at acpi0: bus 3 (P32_) acpiprt4 at acpi0: bus 1 (PEX0) acpiprt5 at acpi0: bus -1 (PEX1) acpiprt6 at acpi0: bus -1 (PEX2) acpiprt7 at acpi0: bus -1 (PEX3) acpiprt8 at acpi0: bus 2 (PEX4) acpiprt9 at acpi0: bus -1 (PEX5) acpicpu0 at acpi0: FVS, 3000, 2000 MHz acpibtn0 at acpi0: SLPB acpibtn1 at acpi0: PWRB bios0: ROM list: 0xc/0x8000 0xc8000/0x1000 0xc9000/0x1000 ipmi0 at mainbus0: version 2.0 interface KCS iobase 0xca2/2 spacing 1 pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 3200/3210 Host" rev 0x00 em0 at pci0 dev 25 function 0 "Intel ICH9 IGP AMT" rev 0x02: apic 5 int 20 (irq 11), address 00:15:17:28:2a:d3 uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x02: apic 5 int 18 (irq 9) uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x02: apic 5 int 21 (irq 10) ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x02: apic 5 int 17 (irq 10) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x02: apic 5 int 17 (irq 11) pci1 at ppb0 bus 1 em1 at pci1 dev 0 function 0 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int 16 (irq 11), address 00:15:17:86:53:14 em2 at pci1 dev 0 function 1 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int 17 (irq 10), address 00:15:17:86:53:15 ppb1 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x02: apic 5 int 17 (irq 11) pci2 at ppb1 bus 2 vga1 at pci2 dev 0 function 0 "Matrox M
Re: xterm and home-dir with automounter
On Mon, Jan 12, 2009 at 2:35 PM, Rudi Ludwig wrote: > On Monday 12 January 2009 20:38:03 Philip Guenther wrote: >> When the shell is started by konsole, or xterm, or login, it's >> working directory has already been set to $HOME. At that point, it >> can only see the physical path (sans symlinks). If you want it to >> see the logical path, then you need to have it do a chdir itself...as >> you figured out when you do 'cd' first thing. >> > So the shell starts whereever it is put to by xterm, konsole, etc. > and does not itself evaluate $HOME at start-up? What do you mean by 'evaluate'? It doesn't chdir there itself. It knows HOME=/home/rudi, and it knows that its current working directory is /usr/home/rudi, but that's it. >> So, just put some logic into your .profile to cd $HOME if the >> physical directory is that of $HOME. >> >> case $PWD in >> $(cd $HOME && pwd -P) ) cd $HOME;; >> esac >> > I have put that at the end of my .profile and it works for remote login > (ssh). > But the KDE konsole and xterm still resist and display the physical > location at start-up instead of $HOME (~). When that happens, what do the following output? echo $PWD (cd $HOME && pwd -P) echo $HOME Philip Guenther
Re: xterm and home-dir with automounter
On Monday 12 January 2009 20:38:03 Philip Guenther wrote: > When the shell is started by konsole, or xterm, or login, it's > working directory has already been set to $HOME. At that point, it > can only see the physical path (sans symlinks). If you want it to > see the logical path, then you need to have it do a chdir itself...as > you figured out when you do 'cd' first thing. > So the shell starts whereever it is put to by xterm, konsole, etc. and does not itself evaluate $HOME at start-up? > So, just put some logic into your .profile to cd $HOME if the > physical directory is that of $HOME. > > case $PWD in > $(cd $HOME && pwd -P) ) cd $HOME;; > esac > I have put that at the end of my .profile and it works for remote login (ssh). But the KDE konsole and xterm still resist and display the physical location at start-up instead of $HOME (~). I did logout of the X session and login again, just to make sure. Rudi
Folder quota(non user based)
Is there a way to make a quota on a folder that is not a user folder? I want to put a quota or size limit on /tftpboot but dont want to have to make its a whole partition. I am considering the option of making a dummy tftpd account but thought there might be a better way. This is on OpenBSD gorilla.sporkton.com 4.4 GENERIC#1021 i386 Thank you Lawrence
oferta pret pardoseala tehnica flotanta
WESTFLOOR - PARDOSELI TEHNICE STIRBEI VODA 53-55, BUCURESTI; TEL: 021.318.21.25; FAX: 021.311.14.56; MOBIL: 0740.001.101 Atasat - oferta pret pardoseala tehnica flotanta (suprainaltata) valabila ian/feb 2009. [demime 1.01d removed an attachment of type APPLICATION/DEFANGED which had a name of oferta pardoseala FLOTANTA.4417DEFANGED-doc]
panic: rtfree 2
Hi Misc@, recently installed a i386-current from january 11th 2009, on an intel s3210SH serverboard. I run pf, bgpd, snmpd and ntpd. When I accidentally unplugged em0, somehow it went panic and said "panic: rtfree 2". I entered ddb and run a trace with the following result: ddb> trace Debugger(d39d1c58,d2ab5300,4,e1bc0cfc,d39d1c00) at Debbugger+0x4 panic(d06f5e16,d39d1c78,d2ab5300,0,0) at panic+0x55 rtfree(e1bc0cfc,30,0,d2ab5300) at rtfree+0xbd route_output(d9898000,d9783c70,0,df75fd50,d0202dd5) at route_output+0x341 raw_usrreq(d9783c70,9,d9898000,0,0) at raw_usrreq+0xf2 route_usrreq(d9783c70,9,d9898000,0,0) at route_usrreq+0xe8 sosend(d9783c70,0,df75fea8,d9898000,0) at sosend+0x357 soo_write(d977f424,d977f440,df75fea8,d992c000) at soo_write+0x1c dofilewritev(d990ada0,6,d997f424,cfbecfc0,5) at dofilewritev+0xeb sys_writev(d990ada0,df75ff68,df75ff58,cfbecfc0,d990ada0) at sys_writev+0x47 syscall() at syscall+0x24e --- syscall (number 121) --- 0x74ba3d5 ddb> I did run ps and notice some particular things (I'm too exhausted to retype everything from the picture): PID PPIDPGRPUID S FLAGS WAITCOMMAND 67906286628675 3 0x180 pollbgpd 73896286628675 2 0x100 bgpd *6286 1 62860 7 0 bgpd Of course, it's not happen if bgpd is not running and I consciusly ifconfig-ed em0 to down. But, if I keep bgpd running and ifconfig-ed em0 to down, nothing happen until I ifconfig-ed em0 to up, it went panic with the same messages. I hope this could helps all of us. Thanks a lot for everything, I hope I could help more. I also sendbug-ed the messages. Below is the dmesg. OpenBSD 4.4-current (GENERIC) #1: Sun Jan 11 23:23:00 WIT 2009 r...@greenbridge.mygreenlinks.net:/usr/src/sys/arch/i386/compile/GENERIC RTC BIOS diagnostic error d cpu0: Intel(R) Xeon(R) CPU E3110 @ 3.00GHz ("GenuineIntel" 686-class) 3 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,S SE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR real mem = 2143842304 (2044MB) avail mem = 2064748544 (1969MB) RTC BIOS diagnostic error d mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 12/12/07, SMBIOS rev. 2.5 @ 0x7fdfd000 (63 entries) bios0: vendor Intel Corporation version "S3200X38.86B.00.00.0045.082820081329" date 08/28/2008 bios0: Intel Corporation S3210SH acpi0 at bios0: rev 2 acpi0: tables DSDT SLIC FACP APIC WDDT MCFG HPET SPCR SSDT SSDT SSDT SSDT SSDT HEST BERT ERST EINJ DMAR acpi0: wakeup devices SLPB(S5) NPE1(S5) NPE6(S5) P32_(S5) PS2M(S1) PS2K(S1) ILAN(S5) PEX0(S5) PEX1(S5) PEX2(S5) PEX3(S5) PEX4( S5) PEX5(S5) UHC1(S1) UHC2(S1) UHC3(S1) UHC4(S1) EHCI(S1) EHC2(S1) UH42(S1) UHC5(S1) UHC6(S1) AZAL(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 332MHz cpu at mainbus0: not configured ioapic0 at mainbus0: apid 5 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 5 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (NPE1) acpiprt2 at acpi0: bus -1 (NPE6) acpiprt3 at acpi0: bus 3 (P32_) acpiprt4 at acpi0: bus 1 (PEX0) acpiprt5 at acpi0: bus -1 (PEX1) acpiprt6 at acpi0: bus -1 (PEX2) acpiprt7 at acpi0: bus -1 (PEX3) acpiprt8 at acpi0: bus 2 (PEX4) acpiprt9 at acpi0: bus -1 (PEX5) acpicpu0 at acpi0: FVS, 3000, 2000 MHz acpibtn0 at acpi0: SLPB acpibtn1 at acpi0: PWRB bios0: ROM list: 0xc/0x8000 0xc8000/0x1000 0xc9000/0x1000 ipmi0 at mainbus0: version 2.0 interface KCS iobase 0xca2/2 spacing 1 pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 3200/3210 Host" rev 0x00 em0 at pci0 dev 25 function 0 "Intel ICH9 IGP AMT" rev 0x02: apic 5 int 20 (irq 11), address 00:15:17:28:2a:d3 uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x02: apic 5 int 18 (irq 9) uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x02: apic 5 int 21 (irq 10) ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x02: apic 5 int 17 (irq 10) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x02: apic 5 int 17 (irq 11) pci1 at ppb0 bus 1 em1 at pci1 dev 0 function 0 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int 16 (irq 11), address 00:15:17:86:53:14 em2 at pci1 dev 0 function 1 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int 17 (irq 10), address 00:15:17:86:53:15 ppb1 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x02: apic 5 int 17 (irq 11) pci2 at ppb1 bus 2 vga1 at pci2 dev 0 function 0 "Matrox MGA G200e (ServerEngines)" rev 0x02 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) uhci2 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x
Re: xterm and home-dir with automounter
On Mon, Jan 12, 2009 at 10:49 AM, Rudi Ludwig wrote: ... > Opening a new Konsole in KDE and trying some commands: > ibook:/usr/home/rudi$ /bin/pwd > /usr/home/rudi > ibook:/usr/home/rudi$ cd > ibook:~$ /bin/pwd > /usr/home/rudi > ibook:~$ echo $HOME > /home/rudi > ibook:~$ echo $PWD > /home/rudi > ibook:~$ > > To me the issue is mostly cosmetic, but I have to admit that the > first command I type in is almost always "cd" to get a short and > readable command prompt. And I would like to avoid that extra. When the shell is started by konsole, or xterm, or login, it's working directory has already been set to $HOME. At that point, it can only see the physical path (sans symlinks). If you want it to see the logical path, then you need to have it do a chdir itself...as you figured out when you do 'cd' first thing. So, just put some logic into your .profile to cd $HOME if the physical directory is that of $HOME. case $PWD in $(cd $HOME && pwd -P) ) cd $HOME;; esac Philip Guenther
migrate from isakmpd.conf to ipsec.conf
I used to configure VPNs using isakmpd.conf, for 2 dozen VPNs, each with a hand crafted set of parameters ( encryption, hmac, key length etc. ). Now I tried to move this setup to ipsec.conf by spelling out the complete line for every VPN like this: ike active esp tunnel from a.b.c.d to e.f.g.h peer u.v.w.x main auth hmac-sha1 enc aes group modp1024 quick auth hmac-sha1 enc aes group modp1024 psk xyz When I start isakmpd and configure these VPNs with ipsecctl -f /etc/ipsec.conf, all VPNs come up properly. But: alter a while, some VPNs stop working. tcpdump of isakmpd.pcap shows that the remote end tries to establish phase-1 with the same parameters that were used when my side ( openBSD ) establishes phase-1. But is rejected with 'NO PROPOSAL CHOSEN'. After setting isaqkmpd debug level, daemon.log reveals: Jan 12 14:00:09 q-dsl isakmpd[31387]: exchange_setup_p1: 0x8a499400 peer-u.v.w.x Default-phase-1-configuration policy responder phase 1 doi 1 exchange 2 step 0 This seems to indicate that for the incoming IP_PROT exchange the Default-phase-1-configuration is used, and the info from ipsec.conf is ignored. I found other incidences in the logfile where the remote end re-established the phase-1 successfully by initiating a ID_PROT exchange. In these case the debug message looks like: Jan 12 14:00:05 q-dsl isakmpd[31387]: exchange_setup_p1: 0x841b2700 peer-u.v.w.x phase1-peer-u.v.w.x policy responder phase 1 doi 1 exchange 2 step 0 I'm with you if you think the above text is rather confused, I apologize for that, I tried my very best :-) But you could do me a favour if you answered the following question: 1. Is it ok that the remote end initiates a phase-1 ID_PROT exchange for a VPN which I have defined as 'active' in my ipsec.conf. 2. If the answer is yes, am I right to expect that isakmpd uses the parameters I have specified for this VPN in ipsec.conf, finding the line with peer u.v.x.x = Thank you for your patience. Regards Christoph
Re: xterm and home-dir with automounter
On Monday 12 January 2009 04:13:31 Ariane van der Steldt wrote: > On Sun, Jan 11, 2009 at 05:15:33PM +0100, Rudi Ludwig wrote: > > On Sunday 11 January 2009 12:44:31 Rudi Ludwig wrote: > > > i ... despite $PATH being > > > /home/ That is, xterm initially > > > reads:ibook:/usr/home/rudi$ > > > > ..Argh, of course > > " despite $HOME being ..." > > > > you might have guessed. > > I don't know anything of automounter, but if /home/username is > provided as a symlink to /usr/home/username, then that behaviour is > expected: entering a symlinked directory changes the path to the > expanded form of the symlink. > That might work as well, but the flexibility with automounter is the entries that you can have above the default (catch-all) entry and that I need at times. I.E. home directory resides on another machine for one user. Rudi
Re: xterm and home-dir with automounter
On Monday 12 January 2009 17:41:09 mhe...@gmail.com wrote: > > within an xsession or when login in remotely via ssh the initial > > path > > > > is always: /usr/home/ despite $PATH being /home/ > > > > That is, xterm initially reads: ibook:/usr/home/rudi$ > > > > instead of just: ibook:~$ > > > > > > > > Is this a configuration issue or a bug/feature of xterm? > > xterm is innocent here. It is the shell running inside xterm that > displays the prompt. > > Which shell are you using, how did you configure the prompt? > > with ksh(1), using "export PS1='\h:\w$ '" to define the prompt, I get > the correct result most of the time, even if /bin/pwd reports > /usr/home/matthieu. > > Other shells may behave differently. okay it is korn shell: line from /etc/passwd rudi:*:100:100:Rudi:/home/rudi:/bin/ksh my .profile reads: # $OpenBSD: dot.profile,v 1.4 2005/02/16 06:56:57 matthieu Exp $ # # sh/ksh initialization PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/ local/sbin:/usr/games:. export PATH HOME TERM EDITOR=vi; export EDITOR EXINIT='set autoindent'; export EXINIT PAGER=less; export PAGER PS1='\h:\w$ '; export PS1 set -o vi umask 0022 Opening a new Konsole in KDE and trying some commands: ibook:/usr/home/rudi$ /bin/pwd /usr/home/rudi ibook:/usr/home/rudi$ cd ibook:~$ /bin/pwd /usr/home/rudi ibook:~$ echo $HOME /home/rudi ibook:~$ echo $PWD /home/rudi ibook:~$ To me the issue is mostly cosmetic, but I have to admit that the first command I type in is almost always "cd" to get a short and readable command prompt. And I would like to avoid that extra. Rudi
Re: script
On Mon, Jan 12, 2009 at 1:32 PM, igor denisov wrote: > Hi there, > Does anybody provide a commercial shell scripting??? > -- > igor denisov. > for i in "Don't wait" "Buy Things Now" "Save Now" "$0.99" "Get your instant trial account now" "Double Your Sales Calls, Free Script Demo"; do echo $i done Like that?
script
Hi there, Does anybody provide a commercial shell scripting??? -- igor denisov.
Re: xterm and home-dir with automounter
On Jan 11, 2009 12:44pm, Rudi Ludwig wrote: > Hello, > > > > for flexibility I have configured my computer (OpenBSD 4.4; macppc) > > with the home directory being auto mounted. > > > > that is /etc/amd/amd.home reads: > > # > > * type:=link;fs:=/usr/home;sublink:=${key} > > > > This works as desired. The programs use /home/ as > > they should, the real data locates in /usr/home. Of course, useradd > > becomes a two step process. > > > > But, the only program that doesn't play nicely is xterm. Either from > > within an xsession or when login in remotely via ssh the initial path > > is always: /usr/home/ despite $PATH being /home/ > > That is, xterm initially reads: ibook:/usr/home/rudi$ > > instead of just: ibook:~$ > > > > Is this a configuration issue or a bug/feature of xterm? > xterm is innocent here. It is the shell running inside xterm that displays the prompt. Which shell are you using, how did you configure the prompt? with ksh(1), using "export PS1='\h:\w$ '" to define the prompt, I get the correct result most of the time, even if /bin/pwd reports /usr/home/matthieu. Other shells may behave differently.
Vietnam Travel, Vietnam Tours to offer big discount !
Dear Valued Clients and Partners www.vivutravel.com offers hundreds of unique travel and tour options, sightseeing, trekking, motorbiking, adventure, cruises, classic, beach break. We maximize your travel experience by customizing our tours with special added value to bring you the "best" of Vietnam and Indochina. Our Values: - Safety of our clients FIRST - Satisfy any of our client's wishes and travel budgets - Focus on customer care with continuous quality improvement - Innovative, creative, self critical and dedicated to self renewal - Responsible to the environment and to local communities - Concern for the well-being of our staff and promote images of Vietnam - Ready to take any challenges - Respect for our team, for our suppliers and utmost respect for our clients Our full travel services: - All types of tour arrangements in Vietnam, Laos, Cambodia - Hotel reservations all over Vietnam with more than 400 Hotels and Resorts) - Vietnam Visa Services - Domestic and International Flight Booking - Train Ticket Booking - Airport Pick up and Car Rental - Other Services on Requests _ _ http://www.vivutravel.com - Travel beyond expectations!!! Head Office: 869-HongHa-HoanKiem-HaNoi-Vietnam Email: i...@vivutravel.com Phone: +84-4-39327295/96, Fax: +84-4-39327297 Business license No: 0104000493. International Tour Operator License No: 0747. Member of Vietnam Administration of Tourism