asm avr
Hello there, I installed avr-binutils and tried to use it on some code and something strange happened. When I tried to compile code it appeared that the m16def.inc had a bad syntacs the file is from ATMEL site. What I did wrong? Igor.
avrdude
Hello there, Some day I bought a programmer, circuit diagram is at http://www.eho.st/pg4b5wg9+, but I do not know what *duino to use to start it. When I issue a command of #avrdude -b9200 -P /dev/cuaU0 -c arduino -p m16 -t there is no response for a long time then I just do ctrl c May someone help? Thank you. Regards,
avrdude
Hello there, Some day I bought a programmer, circuit diagram attached, but I do not know what *duino to use to start it. When I issue a command of #avrdude -b9200 -P /dev/cuaU0 -c arduino -p m16 -t there is no response for a long time then I just do ctrl c May someone help? Thank you. Regards, Igor [demime 1.01d removed an attachment of type image/gif which had a name of pinb11sx.gif]
avr
Hello there, May someone tell me how to program Atmega through usb using FDTI?
IP address
Lot of thanks to all who tried to help denisovigor1...@rambler.ru. I should read the FAQ first, problem is solved.
static IP
Cannot configure internet with static IP address hostname.fc0 inet IP mask and nothing works. They gave me login and password, may be this is the case? -- igor denisov.
linking
The solution to the problem of linking radeon_drv.so and xorg.conf was quite a simple thing as to remove radeonhd_drv.so radeonhd_drv.la, start xorg -configure and that's all, no warnings anymore. Regards.
[no subject]
Hello there, I am going to try to insert additional RAM "TRUMP D1SC0816D DDR 1GB-333Mhz SO.DIMM" the native RAM is 256MB, and I know for sure when the additional RAM inserted I have lot of kernel panics and all the time they are different and occur at different times when PC is ran. My question is how to get kernel panics dump to a file for further investigation? Regards, Igor
[no subject]
Hello there, May someone help me with this: #Xorg -configure Xorg:/usr/X11R6/lib/modules/drivers/radeonhd_drv.so:/usr/X11R6/lib/modules/drivers/radeon_drv.so:WARNING: symbol (AtomBiosRequestList) size mismatch, relink your program (**) Using config file: /root/xorg.conf.new No idea how to do it. And it looks simple. Regards, Igor
linking
Hi there, I am confused about ln. I need to link /usr/X11R6/lib/modules/drivers/radeon_drv.so to /etc/xorg.conf and cannot understand how. May you help me? -- igor denisov.
Xorg
May someone help me with this: #Xorg -configure Xorg:/usr/X11R6/lib/modules/drivers/radeonhd_drv.so:/usr/X11R6/lib/modules/drivers/radeon_drv.so:WARNING: symbol (AtomBiosRequestList) size mismatch, relink your program (**) Using config file: /root/xorg.conf.new No idea how to do it. And it looks simple. Regards, Igor -- igor denisov.
Xorg
Hello there, May someone help me with this: #Xorg -configure Xorg:/usr/X11R6/lib/modules/drivers/radeonhd_drv.so:/usr/X11R6/lib/modules/drivers/radeon_drv.so:WARNING: symbol (AtomBiosRequestList) size mismatch, relink your program (**) Using config file: /root/xorg.conf.new No idea how to do it. And it looks simple. Regards, Igor -- igor denisov.
xpdf slow
Hello there, May someone help me with the following. My xpdf is very slow on pdf files from www.archive.org. pdf is attached. xpdfrc # #- display fonts # These map the Base-14 fonts to the Type 1 fonts that ship with # ghostscript. You'll almost certainly want to use something like # this, but you'll need to adjust this to point to wherever # ghostscript is installed on your system. (But if the fonts are # installed in a "standard" location, xpdf will find them # automatically.) displayFontT1 /usr/X11R6/lib/X11/fonts/misc/ displayFontT1 /usr/X11R6/lib/X11/fonts/75dpi/:unscaled displayFontT1 /usr/X11R6/lib/X11/fonts/100dpi/:unscaled displayFontT1 Times-Roman /usr/local/share/ghostscript/fonts/n021003l.pfb displayFontT1 Times-Italic /usr/local/share/ghostscript/fonts/n021023l.pfb displayFontT1 Times-Bold /usr/local/share/ghostscript/fonts/n021004l.pfb displayFontT1 Times-BoldItalic /usr/local/share/ghostscript/fonts/n021024l.pfb displayFontT1 Helvetica /usr/local/share/ghostscript/fonts/n019003l.pfb displayFontT1 Helvetica-Oblique /usr/local/share/ghostscript/fonts/n019023l.pfb displayFontT1 Helvetica /usr/local/share/ghostscript/fonts/n019003l.pfb displayFontT1 Helvetica-Oblique /usr/local/share/ghostscript/fonts/n019023l.pfb displayFontT1 Helvetica-Bold /usr/local/share/ghostscript/fonts/n019004l.pfb displayFontT1 Helvetica-BoldOblique /usr/local/share/ghostscript/fonts/n019024l.pfb displayFontT1 Courier /usr/local/share/ghostscript/fonts/n022003l.pfb displayFontT1 Courier-Oblique /usr/local/share/ghostscript/fonts/n022023l.pfb displayFontT1 Courier-Bold /usr/local/share/ghostscript/fonts/n022004l.pfb displayFontT1 Courier-BoldOblique /usr/local/share/ghostscript/fonts/n022024l.pfb displayFontT1 Symbol /usr/local/share/ghostscript/fonts/s05l.pfb displayFontT1 ZapfDingbats /usr/local/share/ghostscript/fonts/d05l.pfb displayFontT1 /usr/X11R6/lib/X11/fonts/Type1/ # If you need to display PDF files that refer to non-embedded fonts, # you should add one or more fontDir options to point to the # directories containing the font files. Xpdf will only look at .pfa, # .pfb, and .ttf files in those directories (other files will simply # be ignored). #fontDir/usr/local/fonts/bakoma [demime 1.01d removed an attachment of type application/pdf which had a name of appliedgeophysic00rast.pdf]
open large files with firefox
Hello there, I cannot open a HTML file of 25Mb with firefox, also the file can be opened with lynx with the following remark: "Maximum nesting of HTML elements exceeded." May someone help me? Regards, Igor.
may be bug
I am not sure if it a bug, #!/bin/ksh INFILENUM=$1 function read_line { $ # Associate standard input with file descriptor 4 # and redirect standard input to $INFILENUM $ exec 4<&0 exec 0< $INFILENUM $ read LINE echo $LINE $ # Restore standard input and close file # descriptor 4 $ exec 0<&4 exec 4>&- } read_line output read_line: ./num.sh[23]: $: not found read_line: ./num.sh[23]: $: not found may someone explain it regards, --- -- igor denisov.
RAM
Hello there, I have a question regarding additional RAM "TRUMP D1SC0816D DDR !GB-333Mhz SO.DIMM" the native RAM is 256MB, when additional RAM inserted I have lot of panicks and all the time they are different and occur at different times when PC is ran. Is it compatable? Kind regards, -- igor denisov.
hardware
Hello there, I always have problems with zywall p1, and decided to install openbsd OS to it, and have no idea how, for now this is not the case. I would like to know if the OS runs on the following hardware: Platform & Frequency Intel IXP422 @266 MHz Flash 8MB (Intel TE28F640) RAM 32MB (2 x Winbond W981216DH-75) -- igor denisov.
printing
Hi, there, I have this and no idea what to do lpq Warning: no daemon present Rank Owner Job Files Total Size 1st me 14 (standard input) regards -- igor denisov.
kde on openbsd46
Hi there, May someone tell me, why there is lot of errors on the console when I exit kde and what to do to dump that errors? Many thanks, -- igor denisov.
script
Hi there my version of ksh: $what /bin/ksh /bin/ksh Copyright (c) 1989, 1993 $OpenBSD: mknod.c,v 1.1 2005/10/06 06:39:36 otto Exp $ PD KSH v5.2.14 99/07/13.2 I cannot figure out what is wrong with the following code #! /bin/ksh for (( i=9; i>0; i-- )) do echo "$i" done output: syntax error: '((' unexpected. why? regards -- igor denisov.
burning cd
* igor denisov [Fri, 18 Sep 2009 05:18:58 +0400]: hi there, cdrecord emulation as it looks like is done with /dev/rcd0c, and why they do not mention it in the faq. It is as simple as that: #cdrecord dev=/dev/rcd0c -scanbus output is what is shown in the faq13 for SCSI hardware. And there is something else, when i issue: #cdrecord -multi -tao /dev=/dev/rcd0c myfile.pdf everything starts fine, the only WARNING: padding to something size. and when i try to mount cd after burning, i get a message #bla bla device is not configured when change the cd to another cd, mount works fine. any ideas? regards, igor.
burning cd
Hello there, when i issue #cdrecord -scanbus I get cdrecord: No such file or directory. Cannot open SCSI driver. dmesg | grep 'cd' cd0 at scsibus0 targ 0 lun 0: ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 may somebody to tell me how to use cdrecord the hardware I have with? Regards, igor denisov. -- Sgm`i, wrn mnbncn b P`lakep.Onwre http://mail.rambler.ru/new/
printer problem
Hi there, I have a problem with Samsung ML-2015 /etc/printcap lp|local printer|ML2015:\ :lp=/dev/lpt0:\ :sd=/var/spool/output:\ :lf=/var/log/lpd-errs: rc.conf lpd_flags="" ps ax | grep lpd 114 ?? Is 0:00.00 lpd 25472 S+ 0:00.00 grep lpd Run #lptest 70 5 | lpr -PML2015 LCD blincks, printer sounds promising and no any output at all. Regards, Igor. -- igor denisov. -- Internet Explorer 8 - sqjnphrek| hmrepmer`! http://ie.rambler.ru/
compiling ports
Hello there, May somebody tell me all the required steps to compile a splix port? Whenever I tried gcc I have Oops somewhere in the middle or at the end. I am aware of FreeBSD Porter's Handbook, and it looks like that I will end in considering of entering a computer scince courses and there is no time for me to. Regards, Igor. -- igor denisov. -- E75. Opnqrni dnqrso j onwre. http://www.nokia.ru/microsites/e75
supported printer
Hello there, What models of printers does openbsd support? Regards, -- igor denisov.
russian in openbsd
Hello there, How to install open BSD with Russian language? I meen application widgets, console and openoffice. Regards, igor denisov. -- E75. Opnqrni dnqrso j onwre. http://www.nokia.ru/microsites/e75
looks like bug in awk
Hello there. There is a problem here. input: 34523 9485 394 3456 awk '{subtruct-=$1} END {print subtruct}' input output: -47858 same thing but without minus with awk '{sum+=$1} END {print sum}' input output: 47858 Why in both cases the code sums the field? -- igor denisov.
script
Hi there, Does anybody provide a commercial shell scripting??? -- igor denisov.
extract part of text
Hi there, I need to extract part of text between /pat1/ and /pat2/ but /pat2/ may appear and may not, awk '{if (/pat2/) /pat1/, /pat2/ {print}' filename does not work. How to do that in shell? Regards, igor
install bsd
Hi there, There is zywall P1 Internet Security Appliance on market, is it possible to install openbsd on the device and to configure it in bridge mode? -- igor denisov.
pf.conf
Hi there, May you help me with the following. # pf.conf # # Translation # use a macro for the interface name, so it can be changed easily ext_if = "fx0" # map daemon on 8080 to appear to be on 80 rdr on $ext_if proto tcp from any to any port 80 -> 127.0.0.1 port 8080 # map daemon on to appear to be on ssl rdr on $ext_if proto tcp from any to any port ?? -> 127.0.0.1 port # map daemon on to appear to be on https rdr on $ext_if proto tcp from any to any port ?? -> 127.0.0.1 port # map daemon on to appear to be on X rdr on $ext_if proto tcp from any to any port ?? -> 127.0.0.1 port # map daemon on to appear to be on lpt rdr on $ext_if proto tcp from any to any port ?? -> 127.0.0.1 port # map daemon on to appear to be on UDP rdr on $ext_if proto tcp from any to any port ?? -> 127.0.0.1 port # map daemon on to appear to be on ICMP rdr on $ext_if proto tcp from any to any port ?? -> 127.0.0.1 port ??? Would you tell me for sure what ports http, ssl, https, X, and lpt runs on, as well as daemons for them? ?? # Filter # normalize all incoming traffic scrub in on $ext_if all fragment assemble # block and log everything by default block return log on $ext_if all # block and log outgoing packets that do not have our address as source, # they are either spoofed or something is misconfigured (NAT disabled, # for instance), we want to be nice and do not send out garbage. block out log quick on $ext_if from ! 157.161.48.183 to any---> ?? ---> this is taken from man pf.conf filter example and in the example the address is only routable. I run only one PC and use DHCP, the question how to write the above in my case. ? # silently drop broadcasts (cable modem noise) block in quick on $ext_if from any to 255.255.255.255 # block and log incoming packets from reserved address space and # invalid addresses, they are either spoofed or misconfigured, # we cannot reply to them anyway (hence, no return-rst). block in log quick on $ext_if from { 10.0.0.0/8, 172.16.0.0/12, \ 192.168.0.0/16, 255.255.255.255/32 } to any # ICMP # pass out/in certain ICMP queries and keep state (ping) # state matching is done on host addresses and ICMP id (not type/code), # so replies (like 0/0 for 8/0) will match queries # ICMP error messages (which always refer to a TCP/UDP packet) are # handled by the TCP/UDP states pass on $ext_if inet proto icmp all icmp-type 8 code 0 # UDP # pass out all UDP connections and keep state pass out on $ext_if proto udp all # pass in certain UDP connections and keep state (DNS) pass in on $ext_if proto udp from any to any port domain # TCP # pass out all TCP connections and modulate state pass out on $ext_if proto tcp all modulate state # pass in certain TCP connections and keep state # (SSH, SMTP, DNS, IDENT) pass in on $ext_if proto tcp from any to any port { ssh, smtp, domain, \ auth } # Do not allow Windows 9x SMTP connections since they are typically # a viral worm. Alternately we could limit these OSes to 1 connection each. block in on $ext_if proto tcp from any os {"Windows 95", "Windows 98"} \ to any port smtp And the last question can firefox and nedit run with such pf.conf?? Thanks in advance. Igor.
configuration
Hi I get my internet works running installation process with RJ-45 plug connected and as you pointed out there is "dhcp none none none" in hostname.rl0, lot of thanks.I heve anither thing, lynx is not so convinient to me I need some other browser but it looks like there is none available on internet for openBSD, may you tell me what to do? Regards, Igor. I do not know how to configuer the following from dmesg.boot acpi at mainbus0 not configured "TI TSB43AB21 FireWire" rev 0x00 at pci2 dev 14 function 0 not configured "Intel 82801CA/CAM Modem" rev 0x02 at pci0 dev 31 function 6 not configured My internet provider send me the following: VPI: 0 VCI: 35 Connection type: PPPoE Username: some Password: some DNS: xxx.xxx.xxx.x yyy.yyy.yyy.y No idea how to connect. Hope for help. Regards, -- igor.
configuration
Hi I do not know how to configuer the following from dmesg.boot acpi at mainbus0 not configured "TI TSB43AB21 FireWire" rev 0x00 at pci2 dev 14 function 0 not configured "Intel 82801CA/CAM Modem" rev 0x02 at pci0 dev 31 function 6 not configured My internet provider send me the following: VPI: 0 VCI: 35 Connection type: PPPoE Username: some Password: some DNS: xxx.xxx.xxx.x yyy.yyy.yyy.y No idea how to connect. Hope for help. Regards, -- igor.