Re: procmail and new grammar in smtpd.conf
On 1211 1636, schwack wrote: > On Wed, Dec 05, 2018 at 10:07:34AM -0500, Daniel Corbe wrote: > > at 6:22 AM, Eda Sky wrote: > > > > > > > Executive summary: delete the procmail port; the code is not safe and > > > should not be used as a basis for any further work. > > > > Is maildrop a recommended alternative? > In my opinion: yes. It works well for me for long years.
Re: X won't start with latest snapshot as user (Solution provided)
On 0926, Edgar Pettijohn III wrote: > > On 11/11/18 12:59 AM, Marc Espie wrote: > > On Sat, Nov 10, 2018 at 10:42:57PM -0600, Andrew wrote: > > > Personally I use spectrwm, so I can't speak for other the wm's. In my > > > case, all I had to do was: > > > > > > $> cp .xinitrc .xsession > > > $> chmod +x .xsession > > > > > > ... and it "just worked" as expected :-) > > You were lucky to not have something interesting in your .profile > > That one got me. > > > you weren't alone. took me a while to figure out why stuff didn't work how > it did before. :) > +1 . ~/.profile helped me in ~/.xsession.
Re: Thank you
On 1109 0832, Wayne Oliver wrote: > Hi All, > > Just wanted to say thanks for the hard work, OpenBSD runs better than any > other OS on my laptop. > One thing that really stands out is suspend and resume, I have *never* had a > Linux or Windows laptop do it properly. > > Obviously everything else works great, I just wanted to point this out as > people have the misconception that OpenBSD is not desktop/laptop friendly. > > P.S. join is a great new addition too. > > -- > Wayn0 Can we ask, what kind of laptop?
Re: Python script using /proc
On 0816 1541, Ingo Schwarze wrote: > Hi, > > butresin wrote on Thu, Aug 16, 2018 at 03:28:57PM +0200: > > > There is a python script, what is using the /proc/ directory. > [...] > > Should i worry? > > Yes, you should: /proc is a mostly broken concept. > Any software using it is probably unreliable. > > See the recent thread on misc@; reply-to: set. > > Yours, > Ingo > I think you mean: "lsof alternative for listing open files?" at Aug 10.
Re: 350MHz IBM Intel Pentium II runs 5.9 fine
On 16.11.29Tue 14:12, Craig Skinner wrote: > > real mem = 200740864 (191MB) > avail mem = 184385536 (175MB) ... > spdmem0 at iic0 addr 0x50: 64MB SDRAM non-parity PC100CL3 > spdmem1 at iic0 addr 0x51: 64MB SDRAM non-parity PC100CL3 > spdmem2 at iic0 addr 0x52: 64MB SDRAM ECC PC100CL2 > spdmem3 at iic0 addr 0x55: 1GB DDR2 SDRAM PC2-5000CL5 This is odd.
Re: bsd.rd got IP from DHCP, but no network, no sets
Upgraded to May 27 snapshot, not helped. I tried this: boot -c disable acpi exit and the /bsd booted successfully! I logined, it got IP from DHCP, but no network. Same as previously. # netstat -n -I dc0 NameMtu Network Address Ipkts IerrOpkts Oerrs Colls dc0 150000:10:a4:b9:bc:43 9990 522 0 0 dc0 1500 192.168.1/2 192.168.1.34 9990 522 0 0 Sorry for slowly collected datas.
Re: bsd.rd got IP from DHCP, but no network, no sets
On 16.05.26Thu 13:19, Stefan Sperling wrote: > On Sun, May 22, 2016 at 07:53:10AM +0200, butresin wrote: > > # dhclient dc0 > > DHCPREQUEST on dc0 to 255.255.255.255 > > DHCPACK from 192.168.1.1 > > bound to 192.168.1.34 -- renewal in 43200 seconds. > > > > # ifconfig dc0 > > dc0: flags=8843 mtu 1500 > > lladr 00:10:a4:b9:bc:43 > > groups egress > > media: Ethernet autoselect (100baseTX full-duplex) > > status: active > > inet 192.168.1.34 netmask 0xff00 broadcast 192.168.1.255 > > > > # route -n show > > Routing tables > > > > Internet: > > Destination Gateway Flags Refs UseMtu Prio Iface > > default 192.168.1.1 UGS 0 2 -8 dc0 > > 127.0.0.1 127.0.0.1UHPl 0 0 327681 lo0 > > 192.168.1./24 192.168.1.34 UCP 1 0 -4 dc0 > > 192.168.1.1 link#4 UHLcP1 1 -4 dc0 > > 192.168.1.3400:10:a4:b9:bc:43UHLPl0 0 -1 dc0 > > 192.168.1.255 192.168.1.34 UHPb 0 0 -1 dc0 > > > > Internet6: > > Destination Gateway Flags Refs UseMtu Prio Iface > > ::1 ::1 UHPl 0 0 327681 lo0 > > fe80::1%lo0 fe80::1%lo0 UHPl 0 0 327681 lo0 > > ff01::%lo0/32 ::1 UC 0 1 327684 lo0 > > ff02::%lo0/32 ::1 UC 0 1 327684 lo0 > > > > # ping 192.168.1.1 > > PING 192.168.1.1 (192.168.1.1): 56 data bytes > > ping: sendto: Host is down > > ping: wrote 192.168.1.1 64 chars, ret=-1 > > > > What does this print? > > netstat -n -I dc0 > This was yet bsd.rd, not an installed system, and there was not netstat in it. After i finished the installation and rebooted, arrived in ddb. (I copied with eye and keyboard, hope no error.) ddb> trace Debugger(d09f5794,d0d6e544,d09cbc64,d0d6e544,d0d6e538) at Debugger+0x7 panic(d09cbc64,d09cbc0c,3,d12a0340,30) at panic+0x71 malloc(30,21,9,d093f09c,d1299444) at malloc+0x5ff _acpi_os_malloc(2c,d0b39b7f,760,d093fa56,66) at _acpi_os_malloc+0x25 aml_pushscope(d129f504,d1299504,d1299444,14,d117f800) at aml_pushscope+0x42 aml_eval(d129f504,d1299504,74,0,0) at aml_eval+0xd8 aml_parse(d129f504,74,d0b3a0fb,34,0) at aml_parse+0x1daf aml_parse(d129f504,74,d0b39dc9,d129f604,d1299844) at aml_parse+0x1d2 aml_parse(d129f504,74,d0b3a0fb,d093a413,d0d6e890) at aml_parse+0x1d2 aml_parse(d129f504,74,d0b3a5bd,0,d129f844) at aml_parse+0x1d2 aml_parse(d129f504,54,d0b3a1dd,14,d0d6e9b3) at aml_parse+0x1d2 aml_eval(0,d1298444,74,0,0) at aml_eval+0x21c aml_evalnode(d115d400,d1299e04,0,0,d0d6ea24) at aml_evalnode+0x70 aml_evalinteger(d115d400,d1299684,d0d6eac3,0,0) at aml_evalinteger+0x56 acpitz_getreading(d117ce00,d0d6eac3,d0b3b1fe,0,d0b491dc, at acpitz_getreading+0x43 acpitz_attach(d115d400,d117ce00,d0d6eb3c,d03c18cb,0) at acpitz_attach+0xc1 config_attach(d115d400,d0b438a0,d0d6eb3c,d092e930,d1273504) at config_attach+0x1bc acpi_add_device(d1299684,d115d400,d092df00,d115d400,d0b38f5a) at acpi_add_device+ax96 aml_walknodes(d1299684,0,d092df00,d115d400,d0b38f5a) at aml_walknodes+0x64 aml_walknodes(d117e5c4,0,d092df00,d115d400,d09c88c7) at aml_walknodes+0x47 aml_walknodes(d0c70a40,0,d092df00,d115d400,0) at aml_walknodes+0x47 acpi_attach(d117e100,d115d400,d0d6ed68,d03c18cb,0) at acpi_attach+0x59e config_attach(d117e100,d0b437a0,d0d6ed68,d086a670,37) at config_attach+0x1bc biosattach(d117e0c0,dd17e100,d0d6ee40,d03c18cb,0) at biosattach+0x79a config_attach(d117e0c0,d0b42780,d0d6ee40,d0598c70,d0b56268) at config_attach+0x1bc mainbus_attach(0,d117e0c0,0,ff000,0) at mainbus_attach+0x6c config_attach(0,d0b40040,0,0,d0d6d000) at config_attach+0x1bc config_rootfound(d09f4776,0,0,0,d03bf3a0) at config_rootfound+0x46 cpu_configure(d09c3cac,0,1000,cfb3e000,1) at cpu_configure+0x33 main(d02004c1,d02004c9,0,0,0) at main+0x3ef ddb> ps TID PPID PGRPUID S FLAGS WAIT COMMAND *0 -1 0 0 7 0x10200swapper
Re: bsd.rd got IP from DHCP, but no network, no sets
I gained dmesg. OpenBSD 6.0-beta (RAMDISK_CD) #1663: Fri May 20 19:54:44 MDT 2016 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/RAMDISK_CD cpu0: Intel Pentium III ("GenuineIntel" 686-class) 449 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,SSE,PERF real mem = 200667136 (191MB) avail mem = 189034496 (180MB) mainbus0 at root bios0 at mainbus0: date 11/30/99, BIOS32 rev. 0 @ 0xfd820, SMBIOS rev. 2.2 @ 0xf7690 (55 entries) bios0: vendor IBM version "ITET55WW" date 11/30/1999 bios0: IBM 26454EG acpi0 at bios0: rev 0 acpi0: tables DSDT FACP BOOT acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (AGP0) acpiec0 at acpi0 acpicpu at acpi0 not configured acpipwrres at acpi0 not configured acpipwrres at acpi0 not configured acpitz at acpi0 not configured acpitz at acpi0 not configured acpitz at acpi0 not configured acpitz at acpi0 not configured acpipwrres at acpi0 not configured acpipwrres at acpi0 not configured acpipwrres at acpi0 not configured "PNP0C0D" at acpi0 not configured "PNP0C0E" at acpi0 not configured "PNP0700" at acpi0 not configured "PNP0501" at acpi0 not configured "PNP0400" at acpi0 not configured "IBM0071" at acpi0 not configured "PNP0303" at acpi0 not configured "IBM3780" at acpi0 not configured "PNP0C0A" at acpi0 not configured "ACPI0003" at acpi0 not configured "PNP0C0B" at acpi0 not configured "PNP0C0B" at acpi0 not configured "PNP0C0B" at acpi0 not configured "PNP0C0B" at acpi0 not configured bios0: ROM list: 0xc/0xc000 cpu0 at mainbus0: (uniprocessor) 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 "Neomagic Magicgraph NM2360" rev 0x00 vga1: aperture needed wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) cbb0 at pci0 dev 2 function 0 "TI PCI1450 CardBus" rev 0x03: irq 11 cbb1 at pci0 dev 2 function 1 "TI PCI1450 CardBus" rev 0x03: irq 11 "AT&T/Lucent LTMODEM" rev 0x01 at pci0 dev 3 function 0 not configured "Cirrus Logic CS4280/46xx CrystalClear" rev 0x01 at pci0 dev 6 function 0 not configured 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: wd0: 16-sector PIO, LBA48, 28615MB, 58605120 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 cd0 at scsibus0 targ 0 lun 0: ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 11 "Intel 82371AB Power" rev 0x03 at pci0 dev 7 function 3 not configured cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0xb0 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 5 device 0 cacheline 0x8, lattimer 0xb0 pcmcia1 at cardslot1 isa0 at pcib0 isadma0 at isa0 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pckbd0 at pckbc0 (kbd slot) wskbd0 at pckbd0: console keyboard, using wsdisplay0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1 softraid0 at root scsibus1 at softraid0: 256 targets dc0 at cardbus1 dev 0 function 0 "Xircom X3201-3" rev 0x03: irq 11, address 00:10:a4:b9:bc:43 tqphy0 at dc0 phy 0: 78Q2120 10/100 PHY, rev. 11 "Xircom 56k Modem" rev 0x03 at cardbus1 dev 0 function 1 not configured root on rd0a swap on rd0b dump on rd0b offset 0 sigfillsiz 1: cc tqphy0 detached dc0 detached dc0 at cardbus1 dev 0 function 0 "Xircom X3201-3" rev 0x03: irq 11, address 00:10:a4:b9:bc:43 tqphy0 at dc0 phy 0: 78Q2120 10/100 PHY, rev. 11 "Xircom 56k Modem" rev 0x03 at cardbus1 dev 0 function 1 not configured tqphy0 detached dc0 detached dc0 at cardbus1 dev 0 function 0 "Xircom X3201-3" rev 0x03: irq 11, address 00:10:a4:b9:bc:43 tqphy0 at dc0 phy 0: 78Q2120 10/100 PHY, rev. 11 "Xircom 56k Modem" rev 0x03 at cardbus1 dev 0 function 1 not configured umass0 at uhub0 port 1 configuration 1 interface 0 "ADATA ADATA USB Flash Drive" rev 2.10/10.75 addr 2 umass0: using SCSI over Bulk-Only scsibus2 at umass0: 2 targets, initiator 0 sd0 at scsibus2 targ 1 lun 0: SCSI4 0/direct removable serial.125fdc1a317240160312 sd0: 29600MB, 512 bytes/sector, 60620800 sectors
Re: bsd.rd got IP from DHCP, but no network, no sets
On 16.05.22Sun 00:31, Mihai Popescu wrote: > > ifconfig: OK > > route -n show: OK > > ping internet: not ok > > ping gateway: not ok > > ping other PC: not ok > > But i got IP from DHCP! > > > Thank you for letting list know about your experience with OpenBSD install. > > screwed your instalation: YES > not posting commands full output: YES > making assumptions: YES > getting help from list: NO > But someone answered you, at least! > You are right. But your answer is a progress, too. You pointed, what i missed from my original mail. Thanks. # dhclient dc0 DHCPREQUEST on dc0 to 255.255.255.255 DHCPACK from 192.168.1.1 bound to 192.168.1.34 -- renewal in 43200 seconds. # ifconfig dc0 dc0: flags=8843 mtu 1500 lladr 00:10:a4:b9:bc:43 groups egress media: Ethernet autoselect (100baseTX full-duplex) status: active inet 192.168.1.34 netmask 0xff00 broadcast 192.168.1.255 # route -n show Routing tables Internet: Destination Gateway Flags Refs UseMtu Prio Iface default 192.168.1.1 UGS 0 2 -8 dc0 127.0.0.1 127.0.0.1UHPl 0 0 327681 lo0 192.168.1./24 192.168.1.34 UCP 1 0 -4 dc0 192.168.1.1 link#4 UHLcP1 1 -4 dc0 192.168.1.3400:10:a4:b9:bc:43UHLPl0 0 -1 dc0 192.168.1.255 192.168.1.34 UHPb 0 0 -1 dc0 Internet6: Destination Gateway Flags Refs UseMtu Prio Iface ::1 ::1 UHPl 0 0 327681 lo0 fe80::1%lo0 fe80::1%lo0 UHPl 0 0 327681 lo0 ff01::%lo0/32 ::1 UC 0 1 327684 lo0 ff02::%lo0/32 ::1 UC 0 1 327684 lo0 # ping 192.168.1.1 PING 192.168.1.1 (192.168.1.1): 56 data bytes ping: sendto: Host is down ping: wrote 192.168.1.1 64 chars, ret=-1
bsd.rd got IP from DHCP, but no network, no sets
I have problem installing OpenBSD 2016.05.20 i386 snapshot. I was unguarded with preparation. I had booted bsd.rd from Grub2, to avoid using some installer media. Grub2: set root=(hdx,y) kopenbsd /root/bsd.rd boot The installer boots fine. I get IP from DHCP. It came quickly. Configuring, as usual. I deleted all of my previous HDD partitions. No return. Came to sets. I choose 'http', because i didn't download the sets. I used an official mirror. "ftp: : no address associated with name Looked at http:///pub/OpenBSD/snaphots/i386 and found no OpenBSD/i386 6.0 sets. The set name looked for were: ..." I go to shell with "!". Network card is dc(4). ifconfig: OK route -n show: OK ping internet: not ok ping gateway: not ok ping other PC: not ok But i got IP from DHCP! Trying static IP configuring, playing with ifconfig dc0 media, playing with ifconfig dc0 mediaopts No success, i stuck. Typed from dmesg: dc0 at cardbus1 dev 0 function 0 "Xircom X3201-3" rev 0x03: irq11, address 00:... tqphy0 at dc0 phy 0: 78Q2120 10/100 PHY, rev. 11 "Xircom 56k Modem" rev 0x03 at cardbus1 dev 0 function 1 not configured" ... tqphy0 detached dc0 detached dc0 at cardbus1 dev 0 function 0 "Xircom X3201-3" rev 0x03: irq11, address 00:... tqphy0 at dc0 phy 0: 78Q2120 10/100 PHY, rev. 11 "Xircom 56k Modem" rev 0x03 at cardbus1 dev 0 function 1 not configured" I installed another PC in the same local network, with the install60.iso from the same time, using the sets from the same official mirror. It works, it sees the sets, it pings the gateway, it pings the internet. I cannot show you a dmesg, because no network. I made some mistakes: I did not leave the old, working system, i deleted all of the partitions, and i didn't download the installer sets. But i didn't halted the installer yet, it waites some smart command. Can i solve this without reboot the PC? Can i solve this without purchase some installer media (FDD, CD)? It is a ThinkPad 600X. It is not booting from USB and PXE. The PC in the previous OS worked right, had network and long before worked with OpenBSD, too. Maybe the problem is booting bsd.rd from Grub2?
Re: modify /etc/ksh.kshrc
On 15.02.20Fri 10:11, Todd C. Miller wrote: > On Fri, 20 Feb 2015 12:06:48 -0500, "Ted Unangst" wrote: > > > butresin wrote: > > > I surprised on this. > > > Why discouraged to modify /etc/ksh.kshrc? > > > > Because you have to be root to do it? Why wouldn't it be better for users to > > edit their own .kshrc? > > There's nothing wrong with wanting to have site-specific settings, > though it would make upgrades simpler to have those in a separate > file. > > - todd > Oh, all right, this is soothing. There are systems, where are 50-100 or so users, that's why i asked.
modify /etc/ksh.kshrc
I surprised on this. Why discouraged to modify /etc/ksh.kshrc? CVSROOT:/cvs Module name:src Changes by: r...@cvs.openbsd.org 2015/02/18 01:39:32 Modified files: etc: ksh.kshrc Remove [among others ] a comment that falsely encourages to modify this file instead of putting stuff in $HOME/.kshrc [snit] -# add your favourite aliases here [snit]