Re: Any console SIP client from ports or packages?

2020-04-02 Thread Kirill Bychkov
On Thu, April 2, 2020 16:20, Martin wrote:
> I'm looking for lightweight console SIP client to perform calls right from
> OpenBSD console with asterisk.
>
> Please suggest.
>
> Martin
>

Hi,
Take a look at baresip.



Re: Unable to open UPS device. [apcupsd]

2016-07-14 Thread Kirill Bychkov
On Thu, July 14, 2016 15:56, Radek wrote:
> Hi,
> I can not set up apcupsd to work with USB. Any help appreciated.
>
[...]
>
> #dmesg
[...]
> uhidev0 at uhub2 port 1 configuration 1 interface 0 "American Power Conversion
> Smart-UPS 2200 FW:UPS 09.3 / ID=18" rev 2.00/1.06 addr 2
> uhidev0: iclass 3/0, 146 report ids
> upd0 at uhidev0

Hi!
If you want your USB UPS to work with apcupsd you should disable upd and
uhidev drivers in your kernel. When UPS attach like ugen* then it wil work
with apcupsd.
Take a look at /usr/local/share/doc/pkg-readmes/apcupsd-3.14.1*



Re: FOSS tools for flashing motherboard BIOS?

2016-06-06 Thread Kirill Bychkov
On Mon, June 6, 2016 16:52, Alan Corey wrote:
> I have an HP Pavilion DV2700 laptop with an old BIOS version I'd like
> to update.  HP's official solution is to run something under the
> dinosaur Windows Vista, which I was glad to wash my hands of about 7
> years ago.
>
> I opened up HP's exe file (rename to a zip and unzip), inside is a 1
> meg file 30cdf2d.wph which I think is the payload.  It's a Phoenix
> BIOS so it's set up to use Phoenix's WinPhlash utility.  I have no
> operating system at all on the machine at present, it has no floppy
> drive, doesn't boot from the CD/DVD.  I can boot from USB or the hard
> drive only.  I can put in an old hard drive from another laptop and
> boot it into OpenBSD.  Not booting from the CD is what I'm trying to
> fix, a guy at HP support seems to think flashing the BIOS may help.
> It's possible there are remnants of Windows "Secure Boot" around from
> somebody trying to load Windows 7+ although since I can boot from USB
> (a gparted ISO written to an SD card plugged into a USB reader) I
> doubt it.
>
> On the Arch Linux page at
> https://wiki.archlinux.org/index.php/Flashing_BIOS_from_Linux there's
> mention of a couple programs that might work: BiosDisk and Flashrom.
> Anybody use either of those under OpenBSD?  I haven't tried chasing
> down the source and trying to build them, I was a little surprised
> they aren't in sysutils.  I don't see anything in there for flashing,
> just looking in pbrowser.
>
Hi,
flashrom was imported some time ago:
http://marc.info/?l=openbsd-ports-cvs=146479937629535=2



Re: owncloud forgetting stored user and admin passwords. 5.9-Stable

2016-05-04 Thread Kirill Bychkov
On Tue, May 3, 2016 21:32, Nick wrote:
> I have been having these issues with owncloud on 5.9 Stable where I will go to
> log in and says password is wrong, I have two set ups - one in the cloud and
> one at home, both are randomly doing this. My partner had to change password 8
> times last night before it would actually work on next log back in login.
>
> Anyone else been having similar issues?
>
>
I suppose you're mixing up qtkeychain password and owncloud password. Take a
closer look on the window you're entering password in.



Re: Microsoft will support and contribute to OpenSSH (and they're excited! :)

2015-06-02 Thread Kirill Bychkov
On Tue, June 2, 2015 22:40, Артур Истомин wrote:
 http://blogs.msdn.com/b/looking_forward_microsoft__support_for_secure_shell_ssh1/archive/2015/06/02/managing-looking-forward-microsoft-support-for-secure-shell-ssh.aspx

 I?m pleased to announce that the PowerShell team will support and contribute
 to the OpenSSH community - Very excited to work with the OpenSSH community to
 deliver the PowerShell and Windows SSH solution!

 \o/


unix ssh windoze.domain.loc
Администратор@windoze.domain.loc's password:
PowerShell

Profit?



Re: OpenBSD on Macbook Pro : / not properly unmounted at each reboot

2015-02-04 Thread Kirill Bychkov
On Wed, February 4, 2015 23:41, hyjial wrote:
 Hi list,

Hi,
 I have just installed amd64 -current on a Macbook Pro from late 2013 (dmesg
 below) and am slightly worried by 1) some of the things I read in the dmesg
 and 2) having to run fsck_ffs(8) at each reboot in single user mode.

 The laptop has an SSD, partitioned in 4 : ESP, OSX, OSX recovery and
 OpenBSD.

I have the same problem some time ago but not on Mac. I solved this issue by
updating SSD firmware. Can't say is it your case or not.

 I configured it so that it starts in USB 2 emulation mode. The OpenBSD
 install is the default one as regards disklabel.

 Each time, I shut OpenBSD down, I get the config_active_children... lines
 at the end of the dmesg below. Upon reboot, hot or cold, the system
 complains that / has not been unmounted properly. Automatic file system
 check succeeds on / but fails on /var. It drops to single user mode, where
 I need to run fsck_ffs manually and only then go multi-user.

 Has any one experienced a similar behaviour?
 Are some errors/warnings in the dmesg I can/should do something about?

 Thanks in advance for your feedback.

 Alexis

 OpenBSD 5.7-beta (GENERIC.MP) #834: Tue Feb  3 18:08:48 MST 2015
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 RTC BIOS diagnostic error
 ffclock_battery,ROM_cksum,config_unit,memory_size,fixed_disk,invalid_time
 real mem = 4182765568 (3988MB)
 avail mem = 4067536896 (3879MB)
 mpath0 at root
 scsibus0 at mpath0: 256 targets
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe (43 entries)
 bios0: vendor Apple Inc. version MBP111.88Z.0138.B11.1408291433 date
 08/29/2014
 bios0: Apple Inc. MacBookPro11,1
 acpi0 at bios0: rev 2
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP HPET APIC SBST ECDT SSDT SSDT SSDT SSDT SSDT SSDT
 SSDT SSDT SSDT MCFG DMAR
 acpi0: wakeup devices P0P2(S3) EC__(S3) HDEF(S3) RP01(S3) RP02(S3) RP03(S4)
 ARPT(S4) RP05(S3) RP06(S3) EHC1(S3) EHC2(S3) XHC1(S3) ADP1(S3) LID0(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)
 cpu0: Intel(R) Core(TM) i5-4258U CPU @ 2.40GHz, 2300.31 MHz
 cpu0:
 FPU,VME,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,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
 ,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEA
 DLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,
 BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID
 cpu0: 256KB 64b/line 8-way L2 cache
 cpu0: smt 0, core 0, package 0
 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
 cpu0: apic clock running at 100MHz
 cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE
 cpu1 at mainbus0: apid 2 (application processor)
 cpu1: Intel(R) Core(TM) i5-4258U CPU @ 2.40GHz, 2300.01 MHz
 cpu1:
 FPU,VME,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,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
 ,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEA
 DLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,
 BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID
 cpu1: 256KB 64b/line 8-way L2 cache
 cpu1: smt 0, core 1, package 0
 cpu2 at mainbus0: apid 1 (application processor)
 cpu2: Intel(R) Core(TM) i5-4258U CPU @ 2.40GHz, 2300.01 MHz
 cpu2:
 FPU,VME,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,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
 ,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEA
 DLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,
 BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID
 cpu2: 256KB 64b/line 8-way L2 cache
 cpu2: smt 1, core 0, package 0
 cpu3 at mainbus0: apid 3 (application processor)
 cpu3: Intel(R) Core(TM) i5-4258U CPU @ 2.40GHz, 2300.01 MHz
 cpu3:
 FPU,VME,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,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
 ,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEA
 DLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,
 BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID
 cpu3: 256KB 64b/line 8-way L2 cache
 cpu3: smt 1, core 1, package 0
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 40 pins
 acpiec0 at acpi0
 acpimcfg0 at acpi0 addr 0xe000, bus 0-155
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus -1 (P0P2)
 acpiprt2 at acpi0: bus 1 (RP01)
 acpiprt3 at acpi0: bus 2 (RP02)
 acpiprt4 at acpi0: bus 3 (RP03)
 acpiprt5 at acpi0: bus 5 (RP05)
 acpiprt6 at acpi0: bus 4 (RP06)
 acpicpu0 at acpi0: C3, C1, PSS
 acpicpu1 at acpi0: C3, C1, PSS
 acpicpu2 at acpi0: C3, C1, PSS
 acpicpu3 at acpi0: C3, C1, PSS
 acpibat0 at acpi0: BAT0 model 3545797981023400290 type
 3545797981528607052 oem 

Re: Che Puffy t-shirt

2015-01-30 Thread Kirill Bychkov
On Fri, January 30, 2015 20:12, Sevan / Venture37 wrote:
 Hi guys,
 I'd really like see a Che Puffy t-shirt available for purchase  there
 may hopefully be a possibility of it happening.
 Just wondering who'd like to see such a thing happen  would purchase
 one or more?

+1 (or even 2) M size


 If you're wondering what I'm referring to
 http://upload.wikimedia.org/wikipedia/en/2/25/LibreSSL_logo.jpg

 Sevan / Venture37



Re: LibreOffice woes

2014-10-30 Thread Kirill Bychkov
On Thu, October 30, 2014 14:21, Gregory Edigarov wrote:
 Hello,

 libreoffice-4.3.2.2p0v0, installed from packages, coredumps when on
 saving the file. I observe this behaviour whether it is a manual save,
 or an autosave.
 Aside from this I can open and edit any file.

 The hardware and memory is definitely not an issue, as everything else
 works correctly and I've also tried to run LibreOffice alone, to
 eliminate the possibility is it the memory size issues.

 Does anybody else observe such behaviour?

Hi.
It is known and I guess maintainer is working on it.
http://marc.info/?l=openbsd-portsm=141442410707633w=2


 --
 With best regards,
  Gregory Edigarov



Re: ViewVC

2014-07-02 Thread Kirill Bychkov
On Wed, July 2, 2014 10:04, Stefan Sperling wrote:
 On Tue, Jul 01, 2014 at 08:36:29PM -0400, Predrag Punosevac wrote:
 I am trying to run ViewVC in the stand alone server mode on the new svn
 server (OpenBSD 5.5 amd64).  Since ViewVC is not in ports I downloaded
 1.1.22 package from CollabNet website. ViewVC keeps crashing when
 while I browse my SVN repos. They are rather large. I am not using any
 kind a proxy but rather forcing built in server to listen on the port
 80.

 IIRC viewvc uses Subversion's python bindings. Did you install them?
 pkg_add py-subversion

 Does anyone have any experience running ViewVC on OpenBSD recently? I am
 tempted to try to use Nginx as a proxy or install Apache 2 and use CGI
 mode via ScriptAlias for ViewVC. The latter is running fine in out
 current setup on Scientific Linux 6.2 which I am trying to migrate to
 OpenBSD. Unfortunately moving to Trac (which would be my strong
 preference) or WebSVN will probably cause ruffle feathers, a condition I
 want to avoid.

 Predrag

 WebSVN is fairly broken with SVN 1.8. Don't bother. (Which reminds me
 I've been meaning to remove it but was still waiting for patches
 promised by someone, which never arrived).

Yes, we decided that it should be updated to 0.63 or killed. I have no patch
yet, sorry...



Re: adc or nmdc client on openbsd

2014-06-25 Thread Kirill Bychkov
On Wed, June 25, 2014 12:35, Marko Cupa? wrote:
 Hi,

 I'll be getting a new laptop these days, and I am considering switching
 to OpenBSD from FreeBSD. At first glance, all the programs I use are
 available on both of them, except for linuxdcpp.

 Does OpenBSD have some adc or nmdc client in packages?

 Thank you in advance.

Hi. net/valknut?



Re: adc or nmdc client on openbsd

2014-06-25 Thread Kirill Bychkov
On Wed, June 25, 2014 13:03, Kirill Bychkov wrote:
 On Wed, June 25, 2014 12:35, Marko Cupa? wrote:
 Hi,

 I'll be getting a new laptop these days, and I am considering switching
 to OpenBSD from FreeBSD. At first glance, all the programs I use are
 available on both of them, except for linuxdcpp.

 Does OpenBSD have some adc or nmdc client in packages?

 Thank you in advance.

 Hi. net/valknut?


Ignore this. It doesn't support ADC protocol.



Re: amd (BSD automounter) config through amd_flags

2014-04-27 Thread Kirill Bychkov
On Sun, April 27, 2014 22:32, Alessandro DE LAURENZIS wrote:
 Folks,

 I'm trying to configure the amd service in order to auto-mount a NFS
 directory. I noticed that adding the following line in
 /etc/rc.conf.local:

 amd_flags=-a /tmp/amd_mnt -l syslog -x all /nfs nfs.map

 the service fails to start, not being probably able to apply the
 specified options to the /usr/sbin/amd command.

 Instead, using the following line in /etc/rc.conf.local:

 amd_flags=

 and specifying the options in /etc/amd/master:

 just22@poseidon:[~] cat /etc/amd/master
 -a /tmp/amd_mnt -l syslog -x all /nfs nfs.map

 all works as expected.

 Is this the intended behaviour? If so, the amd service is a kind of
 exception, and it should be documented in the man page, I think...
 Or what am I doing wrong?

Hi.
This is mentioned in /etc/rc.conf:
amd_flags=NO# for normal use:  and see amd_master below


 Thanks in advance for any hints.

 All the best



Re: Trouble with connect to www.aeroflot.ru

2014-03-20 Thread Kirill Bychkov
On Wed, March 19, 2014 19:59, Mikkel C. Simonsen wrote:
 Marcus MERIGHI wrote:
 gimliandcomp...@gmail.com (Leonov Aleksey), 2014.03.19 (Wed) 16:18 (CET):
 On 19.03.2014 20:32, Marcus MERIGHI wrote:
 gimliandcomp...@gmail.com (Leonov Aleksey), 2014.03.19 (Wed) 15:07 (CET):
 I can`t  connect to www.aeroflot.ru from lynx on openbsd 5.4. I can
 connect from gentoo, windows. Anybody can connect to wwe.aeroflot.ru
 from openbsd 5.4?
 OpenBSD 5.5-beta (GENERIC.MP) #284: Mon Feb  3 07:57:32 MST 2014

 ftp -o aeroflot.html www.aeroflot.ru
 Trying 195.8.62.76...
 Connected to www.aeroflot.ru.
 421 Service not available, remote server has closed connection.
  I try http, not ftp. http connect from openbsd to aeroflot.ru end

 Ooops on my side. I did not mean to test ftp but just use a different
 client (OpenBSD's ftp(1) handles http as well) and forgot the http://:

 ftp -o aeroflot.html http://www.aeroflot.ru
 Trying 195.8.62.75...
 Trying 195.8.62.76...
 ftp: connect: connection timed out

 It's not an OpenBSD/Lynx specific problem. I just tried connecting with
 SeaMonkey (on /2), and I get a time-out also.


Works for me with ftp, mozilla and lynx under amd64 snapshot from february 24th 
.


 Best regards,

 Mikkel C. Simonsen



Re: Trouble with connect to www.aeroflot.ru

2014-03-20 Thread Kirill Bychkov
On Thu, March 20, 2014 17:03, Kirill Bychkov wrote:
 On Wed, March 19, 2014 19:59, Mikkel C. Simonsen wrote:
 Marcus MERIGHI wrote:
 gimliandcomp...@gmail.com (Leonov Aleksey), 2014.03.19 (Wed) 16:18 (CET):
 On 19.03.2014 20:32, Marcus MERIGHI wrote:
 gimliandcomp...@gmail.com (Leonov Aleksey), 2014.03.19 (Wed) 15:07 (CET):
 I can`t  connect to www.aeroflot.ru from lynx on openbsd 5.4. I can
 connect from gentoo, windows. Anybody can connect to wwe.aeroflot.ru
 from openbsd 5.4?
 OpenBSD 5.5-beta (GENERIC.MP) #284: Mon Feb  3 07:57:32 MST 2014

 ftp -o aeroflot.html www.aeroflot.ru
 Trying 195.8.62.76...
 Connected to www.aeroflot.ru.
 421 Service not available, remote server has closed connection.
  I try http, not ftp. http connect from openbsd to aeroflot.ru end

 Ooops on my side. I did not mean to test ftp but just use a different
 client (OpenBSD's ftp(1) handles http as well) and forgot the http://:

 ftp -o aeroflot.html http://www.aeroflot.ru
 Trying 195.8.62.75...
 Trying 195.8.62.76...
 ftp: connect: connection timed out

 It's not an OpenBSD/Lynx specific problem. I just tried connecting with
 SeaMonkey (on /2), and I get a time-out also.


 Works for me with ftp, mozilla and lynx under amd64 snapshot from february
 24th .
Sorry, it works only via trasparent squid.



 Best regards,

 Mikkel C. Simonsen



Re: Documentation on rc.conf.local lacks important warning

2014-02-09 Thread Kirill Bychkov
On Sun, February 9, 2014 22:28, VaZub wrote:
 Hi all,

 There is a small nuisance I've stumbled upon during my first
 experiments with OpenBSD.

 Both the man page for rc.conf(8) as well as the official OpenBSD FAQ
 (10.3) suggest to avoid editing /etc/rc.conf directly and instead copy
 it to /etc/rc.conf.local and edit afterwards. Yet it seems both fail

Hi. In FAQ it's suggested to copy needed strings, not the file itself:
We strongly suggest you do not alter /etc/rc.conf itself. Instead, create or
edit the file /etc/rc.conf.local, copy just the lines you need to change from
/etc/rc.conf and adjust them as you like. 

 to mention, that in order to prevent your system from going ballistic
 after doing this, you should also comment out or delete a particular
 line of code in /etc/rc.conf.local, namely this one:
 [ -f /etc/rc.conf.local ]  . /etc/rc.conf.local. Not good,
 especially for those who do follow official instructions and still
 suddenly find themselves with a broken system on their hands for no
 apparent reason.

 This might seem like a trivial issue for old-timers, and one is sure
 to find the appropriate solution with a little bit of deeper googling,
 but having short relevant notices in the aforementioned manuals could
 save newcomers some introductory frustration. What do you think? Is
 there anyone among those looking after the official documentation up
 to consider such a suggestion?

 Regards,
 Vasyl Zubko



Re: Does this usb wireless adapter works?

2014-01-31 Thread Kirill Bychkov
On Fri, January 31, 2014 17:50, C. L. Martinez wrote:
 Hi all,

  I have installed and OpenBSD 5.4 amd64 host to act as a wifi AP (I
 know it, it is not a good option to use a usb adapter for this, but It
 is my only option).

  I would like to use this usb wireless adapter: AWUS036NHA
 (http://www.alfa.com.tw/products_show.php?pc=34ps=20) but searching
 openbsd's man pages I didn't find any info about it.

  As you can see, this usb adapter uses an Atheros AR9271 chip ...
 Works under OpenBSD?? and Can I use it as a hostap under openbsd??

 Thanks.


Hi. This one should be supported by athn driver.
From M\man athn:
 The following table summarizes the supported chips and their
 capabilities.
ChipsetSpectrum TxR:SBus
[snip]
 AR9271 2GHz 1x1:1USB 2.0
[snip]



Re: Trouble with Huawei e3276

2014-01-24 Thread Kirill Bychkov
On Fri, January 24, 2014 16:52, Кирилл Каплин wrote:
 sorry for delay!
 after this patch, after attach in dmesg:
 umsm0 at uhub2 port 5 configuration 1 interface 0 Technology Mobile rev
 2.00/1.02 addr 3
 umsm0 detached
 urndis0 at uhub2 port 5 configuration 1 interface 0 Technology Mobile rev
 2.00/1.02 addr 3
 urndis0: using Vendorurndis0: ctrl message error: wrong size 3735928559 
 1024
 urndis0: unable to get query response
 : unable to get hardware address
 urndis1 at uhub2 port 5 configuration 1 interface 2 Technology Mobile rev
 2.00/1.02 addr 3
 urndis1: using Vendorurndis1: ctrl message error: wrong size 3736059565 
 1024
 urndis1: unable to get query response
 : unable to get hardware address
 umass0 at uhub2 port 5 configuration 1 interface 4 Technology Mobile rev
 2.00/1.02 addr 3
 umass0: using SCSI over Bulk-Only
 scsibus4 at umass0: 2 targets, initiator 0
 sd7 at scsibus4 targ 1 lun 0: , TF CARD Storage, 2.31 SCSI2 0/direct
 removable
 urndis2 at uhub2 port 5 configuration 1 interface 5 Technology Mobile rev
 2.00/1.02 addr 3
 urndis2: no data interface


Hi. Take a look at this: http://www.hub.ru/wiki/Huawei_E3276 (in russian). I
suppose you can enable modem functions using AT commands under off-topic OS.
Basically such AT tweaks are possible with almost all modems.




 On Thu, Jan 23, 2014 at 1:36 PM, David Coppa dco...@openbsd.org wrote:


  From: night...@gmail.com
  Date: Thu, Jan 23, 2014 at 10:01 AM
  Subject: Re: Trouble with Huawei e3276
  To: misc misc@openbsd.org

 ...

   port 6 addr 3: high speed, power 500 mA, config 1, Mobile(0x155b),
  Technology(0x12d1), rev 1.02
 umass1

 ...

 Please try the attached diff:

 $ cd /usr/src/sys/dev/usb  patch -NE -i /path/to/e3276.diff

 And rebuild your kernel.

 Ciao,
 David

 Index: umsm.c
 ===
 RCS file: /cvs/src/sys/dev/usb/umsm.c,v
 retrieving revision 1.96
 diff -u -p -u -p -r1.96 umsm.c
 --- umsm.c  13 Dec 2013 17:43:07 -  1.96
 +++ umsm.c  23 Jan 2014 09:27:57 -
 @@ -138,6 +138,7 @@ static const struct umsm_type umsm_devs[
 {{ USB_VENDOR_HUAWEI,   USB_PRODUCT_HUAWEI_E1820 }, DEV_UMASS5},
 {{ USB_VENDOR_HUAWEI,   USB_PRODUCT_HUAWEI_E220 }, DEV_HUAWEI},
 {{ USB_VENDOR_HUAWEI,   USB_PRODUCT_HUAWEI_E303 }, DEV_UMASS5},
 +   {{ USB_VENDOR_HUAWEI,   USB_PRODUCT_HUAWEI_E3276 }, DEV_UMASS5},
 {{ USB_VENDOR_HUAWEI,   USB_PRODUCT_HUAWEI_E353_INIT },
 DEV_UMASS5},
 {{ USB_VENDOR_HUAWEI,   USB_PRODUCT_HUAWEI_E510 }, DEV_HUAWEI},
 {{ USB_VENDOR_HUAWEI,   USB_PRODUCT_HUAWEI_E618 }, DEV_HUAWEI},
 Index: usbdevs
 ===
 RCS file: /cvs/src/sys/dev/usb/usbdevs,v
 retrieving revision 1.622
 diff -u -p -u -p -r1.622 usbdevs
 --- usbdevs 22 Jan 2014 01:25:41 -  1.622
 +++ usbdevs 23 Jan 2014 09:28:02 -
 @@ -2153,6 +2153,7 @@ product HUAWEI K4510  0x14c5  HUAWEI Mob
  product HUAWEI E353_INIT   0x14fe  HUAWEI Mobile E353 Initial
  product HUAWEI E392_INIT   0x1505  HUAWEI Mobile E392 Initial
  product HUAWEI K3765_INIT  0x1520  HUAWEI Mobile K3765 Initial
 +product HUAWEI E3276   0x155b  HUAWEI Mobile E3276
  product HUAWEI E173S   0x1c05  HUAWEI Mobile E173s
  product HUAWEI E173S_INIT  0x1c0b  HUAWEI Mobile E173s Initial
  product HUAWEI E3030x1f01  HUAWEI Mobile E303
 Index: usbdevs.h
 ===
 RCS file: /cvs/src/sys/dev/usb/usbdevs.h,v
 retrieving revision 1.634
 diff -u -p -u -p -r1.634 usbdevs.h
 --- usbdevs.h   22 Jan 2014 02:47:05 -  1.634
 +++ usbdevs.h   23 Jan 2014 09:28:07 -
 @@ -2160,6 +2160,7 @@
  #defineUSB_PRODUCT_HUAWEI_E353_INIT0x14fe  /* HUAWEI
 Mobile E353 Initial */
  #defineUSB_PRODUCT_HUAWEI_E392_INIT0x1505  /* HUAWEI
 Mobile E392 Initial */
  #defineUSB_PRODUCT_HUAWEI_K3765_INIT   0x1520  /* HUAWEI
 Mobile K3765 Initial */
 +#defineUSB_PRODUCT_HUAWEI_E32760x155b  /* HUAWEI
 Mobile E3276 */
  #defineUSB_PRODUCT_HUAWEI_E173S0x1c05  /* HUAWEI
 Mobile E173s */
  #defineUSB_PRODUCT_HUAWEI_E173S_INIT   0x1c0b  /* HUAWEI
 Mobile E173s Initial */
  #defineUSB_PRODUCT_HUAWEI_E303 0x1f01  /* HUAWEI Mobile
 E303 */
 Index: usbdevs_data.h
 ===
 RCS file: /cvs/src/sys/dev/usb/usbdevs_data.h,v
 retrieving revision 1.628
 diff -u -p -u -p -r1.628 usbdevs_data.h
 --- usbdevs_data.h  22 Jan 2014 02:47:05 -  1.628
 +++ usbdevs_data.h  23 Jan 2014 09:28:15 -
 @@ -4562,6 +4562,10 @@ const struct usb_known_product usb_known
 HUAWEI Mobile K3765 Initial,
 },
 {
 +   USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E3276,
 +   HUAWEI Mobile E3276,
 +   },
 

Re: Huawei E355 and OBSD as SMS gateway

2014-01-24 Thread Kirill Bychkov
On Fri, January 24, 2014 17:38, David Coppa wrote:
 On Fri, Jan 24, 2014 at 2:29 PM, Tito Mari Francis Esca?o
 titomarifran...@gmail.com wrote:
 Hello everyone,
 I researched online for using Huawei E355 with OpenBSD as a means to create
 an SMS gateway, however I did not find any reliable resource on this.
 Can somebody also please point me to the proper direction how OBSD can be
 used as an SMS gateway? I have seen many references only for Linux-based
 systems.
 Hope you could help me. With gratitude, thank you very much.

 Does this device attach as umsm? i.e. do you have an ucom* at umsm in
 your dmesg?
 If so, you can use SMS Server Tools, just pkg_add smstools3.
 See: http://smstools3.kekekasvi.com/index.php?p=configure
 On OpenBSD the device is usually /dev/cuaUX, where X is 0, 1, or 2,
 you need to find it, as it changes from device to device...

You can probe it with 'cu -s 9600 -l /dev/cuaUX' and send 'AT'. The port you
need should answer you 'OK'


 ciao,
 David



Re: Request for Funding our Electricity

2014-01-14 Thread Kirill Bychkov
On Wed, January 15, 2014 00:03, Bob Beck wrote:
Just to bring this issue back to the forefront.

 In light of shrinking funding, we do need to look for a source to
 cover project expenses.  If need be the OpenBSD Foundation can be
 involved in receiving donations to cover project electrical costs.

 But the fact is right now, OpenBSD will shut down if we do not have
 the funding to keep the lights on.

 If you or a company you know are able to assist us, it would be
 greatly appreciated, but right now we are looking at a significant
 funding shortfall for the upcoming year - Meaning the project won't be
 able to cover 20 thousand dollars in electrical expenses before being
 able to use money for other things. That sort of situation is not
 sustainable.


Hi. Could we collect this sum on special bank account, to gather correct sum
for covering electricity expenses?
Or OpenBSD Foundation will pay a bill from it's funds?
Simplier - should I send money to Foundation right now or should I wait info
about direct-electricity-expenses-acccount? Unfortunately I can't send $20k,
but if 200 community members send $100 each...
I hope this will help to have another year for searching a company Theo was
mentioning in his irst letter.



 On Fri, Dec 20, 2013 at 5:08 PM, Theo de Raadt dera...@cvs.openbsd.org
 wrote:
 I am resending this request for funding our electricity bills because
 it is not yet resolved.

 We really need even more funding beyond that, because otherwise all of
 this is simply unsustainable.  This request is the smallest we can
 make.

 ---

 Hi everyone.

 The OpenBSD project uses a lot of electricity for running the
 development and build machines.  A number of logistical reasons
 prevents us from moving the machines to another location which might
 offer space/power for free, so let's not allow the conversation to go
 that way.

 We are looking for a Canadian company who will take on our electrical
 expenses -- on their books, rather than on our books.  We would be
 happiest to find someone who will do this on an annual recurring
 basis.

 That way the various OpenBSD efforts can be supported, yet written off
 as an off-site operations cost by such a company.  If we reduce this
 cost, it will leave more money for other parts of the project.

 We think that a Canadian company is the best choice for accounting
 reasons.  If a company in some other jurisdiction feels they can also
 do this successfully, we'd be very happy to hear from them as well.

 I am not going to disclose the actual numbers here.  Please contact me
 for details if serious.

 Thanks.



Re: upgrade 5.2 to 5.4 x module mismatch

2013-12-20 Thread Kirill Bychkov
On Fri, December 20, 2013 13:06, Riccardo Mottola wrote:
 Riccardo Mottola wrote:
 Hi,

 I upgraded from OpenBSD 5.2 to 5.4 in a clean way: The system has
 essentially nothing installed (it is only very complicated to do a
 clean install to it)

Did you run sysmerge after update?

 I know this is an unsupported step and that is written The Upgrade
 process is not designed to skip releases! While this will often work, it
 is not supported. But since the system was very basic I hoped to get
 away with it, well. wrong. :)

 Anyway, I found out that the dri libraries in /usr/X11R6/lib had
 obsolete versions with slightly different names, i removed the old ones,
 easily identifiable by the date:

 # ls -lt | grep dri
 -r--r--r--  1 root  bin  39104 Jul 22 16:22 libxcb-xf86dri.a
 -r--r--r--  1 root  bin  40312 Jul 22 16:22 libxcb-xf86dri.so.1.2
 -r--r--r--  1 root  bin  41042 Jul 22 16:22 libxcb-dri2.a
 -r--r--r--  1 root  bin  41081 Jul 22 16:22 libxcb-dri2.so.0.2
 -r--r--r--  1 root  bin  38793 Jul 23  2012 libxcb-xf86dri.so.1.1
 -r--r--r--  1 root  bin  38914 Jul 23  2012 libxcb-xf86dri_pic.a
 -r--r--r--  1 root  bin  39939 Jul 23  2012 libxcb-dri2.so.0.1
 -r--r--r--  1 root  bin  41724 Jul 23  2012 libxcb-dri2_pic.a
 -r--r--r--  1 root  bin  37931 Feb 12  2012 libxcb-xf86dri.so.1.0
 -r--r--r--  1 root  bin  28218 Feb 12  2012 libxcb-dri2.so.0.0

 So I don't get the ABI mismatch anymore. X still doesn't start, but it
 looks as a normal X problem now, I'll analyze the X logs and ask again.

 This is a weird little machine, where it is impossible to install and
 which has strange hardware apparently, but it is very convenient!

 Riccardo



Re: Dual booting OpenBSD and Windows 8.1

2013-11-18 Thread Kirill Bychkov
On Fri, November 15, 2013 13:50, Dmitrij D. Czarkoff wrote:
 Kirill Bychkov said:
 I can't agree with that. You can test something not in FAQ if you are sure
 it
 will make no harm to your system. Dance with bootloaders and partition
 managers could lead to catastrophe if you make an error.

 [snip]

 Keep in mind that potential risk boiled down to wasted space on the hard
 drive, which could be easily reclaimed for OS the OP would prefer if
 dualboot was impossible.

 Well, I don't really understand the meaning you put behind the word
 catastrophe, given that the action in subject is the installation of
 two operating systems. You can't reinstall OS without loosing data, so I
 assume that all data from hard disks is backed up, and the only resource
 to waste is the time. Even then, again, given due precausion you don't
 really risk any data loss for any of the OSs.

Any blind operations with MBR, bootloaders and partion editor may be
destructive without sufficient knowledge.


 We all know, than M$ always inventing new traps for alternative OS.

 Care to elaborate? I'm not aware of any traps regarding disk management.

 And their boot process organization is one of that traps.

 Again, care to elaborate? Where's the actual trap?

You can't simply follow instructions for multibooting with XP when you are
dealing with Win7. Same could happen with Win8.1. But it seems it doesn't.
This time, I assume. We just get UEFI as a headache. Is it not a trap?



Re: Dual booting OpenBSD and Windows 8.1

2013-11-15 Thread Kirill Bychkov
On Fri, November 15, 2013 10:01, Dmitrij D. Czarkoff wrote:
 Marc Espie said:
 You could point the guy at the FAQ, with caveats since the FAQ *doesn't
 cover his specific case*.  But your way of phrasing your answer is not
 a polite way to put it, and it's completely unjustified !

 FAQ never covers one's specific case - it covers general case and has to
 be applied to the situation. Windows 7 instructions work for Windows 8,
 and before asking on mailinglist OP should have tried it. If it failed,
 his query should have been:

I can't agree with that. You can test something not in FAQ if you are sure it
will make no harm to your system. Dance with bootloaders and partition
managers could lead to catastrophe if you make an error. So I think OP is
quite right for asking questions than blindly using algorithm for multibooting
with Win7.
We all know, than M$ always inventing new traps for alternative OS. And their
boot process organization is one of that traps.
My 0.05RUR


   I tried to set up dualbooting Windows 8.1 with OpenBSD following the
   advice for Windows 7 from FAQ 4.9, but at the step *N* (command *cmd*)
   it failed. Did anyone have success with setting up Windows 8 and
   OpenBSD to play together in dualboot?

 Instead we got a general query *before* any action.

 Keep in mind that potential risk boiled down to wasted space on the hard
 drive, which could be easily reclaimed for OS the OP would prefer if
 dualboot was impossible.

 I see no way to defend OP against lack of proper research allegation.



Re: OpenBSD on 64 cores and 256 GB of RAM

2013-10-09 Thread Kirill Bychkov
On Wed, October 9, 2013 01:25, Predrag Punosevac wrote:
 We just received two new OEM Supermicro computing nodes for our Lab 4x16
 cores = 64 in total, 16x16GB RAM =256 GB of RAM in total.  NIC: Intel
 82574 Dual-Port Gigabit. I just could not resist and I had to install
 OpenBSD first. Everything works as expected. Please see the dmesg below
 to get an idea how OpenBSD handles 64 CPUs and 256 GB or RAM.

 I installed amd64 snapshot from 29 of July. I am guessing this is a very
 common hardware but if any of developers want me to spin the current on
 this thing and do some serious network packets pushing before I deploy
 this in production please let me know.  Unfortunately I will have to run
 RedHat on these two because we use MATLAB and few other proprietary
 things on our computing nodes but I can assure you that these two babies
 will be protected by OpenBSD boxes.

Hi.

 OpenBSD 5.4 (GENERIC.MP) #39: Mon Jul 29 00:28:39 MDT 2013
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
[snip]
 acpibtn0 at acpi0: PWRB
 ipmi at mainbus0 not configured
 cpu0: 2500 MHz: speeds: 2500 2300 2000 1700 1400 MHz
 pci0 at mainbus0 bus 0
 pchb0 at pci0 dev 0 function 0 ATI SR5690 Host rev 0x02
 ppb0 at pci0 dev 13 function 0 ATI SR5690 PCIE rev 0x00: msi
 pci1 at ppb0 bus 2
 em0 at pci1 dev 0 function 0 Intel 82576 rev 0x01: msi, address
 00:25:90:5a:aa:2c
 em1 at pci1 dev 0 function 1 Intel 82576 rev 0x01: msi, address
 00:25:90:5a:aa:2d
 ahci0 at pci0 dev 17 function 0 ATI SBx00 SATA rev 0x00: apic 0 int 22, AHCI
 1.1
 scsibus0 at ahci0: 32 targets
 sd0 at scsibus0 targ 0 lun 0: ATA, INTEL SSDSC2BB60, D201 SCSI3 0/direct
 fixed naa.50015178f3650416
 sd0: 457860MB, 512 bytes/sector, 937698855 sectors, thin
 ohci0 at pci0 dev 18 function 0 ATI SB700 USB rev 0x00: apic 0 int 16,
 version 1.0, legacy support
 ohci1 at pci0 dev 18 function 1 ATI SB700 USB rev 0x00: apic 0 int 16,
 version 1.0, legacy support
 ehci0 at pci0 dev 18 function 2 ATI SB700 USB2 rev 0x00: apic 0 int 17
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 ATI EHCI root hub rev 2.00/1.00 addr 1
 ohci2 at pci0 dev 19 function 0 ATI SB700 USB rev 0x00: apic 0 int 18,
 version 1.0, legacy support
 ohci3 at pci0 dev 19 function 1 ATI SB700 USB rev 0x00: apic 0 int 18,
 version 1.0, legacy support
 ehci1 at pci0 dev 19 function 2 ATI SB700 USB2 rev 0x00: apic 0 int 19
 usb1 at ehci1: USB revision 2.0
 uhub1 at usb1 ATI EHCI root hub rev 2.00/1.00 addr 1
 piixpm0 at pci0 dev 20 function 0 ATI SBx00 SMBus rev 0x3d: SMI
 iic0 at piixpm0
 sdtemp0 at iic0 addr 0x19: mcp98243
 sdtemp1 at iic0 addr 0x1b: mcp98243
 sdtemp2 at iic0 addr 0x1d: mcp98243
 sdtemp3 at iic0 addr 0x1f: mcp98243
 lm1 at iic0 addr 0x2d: W83627DHG
 nvt0 at iic0 addr 0x2f: W83795G
 spdmem0 at iic0 addr 0x51: 16GB DDR3 SDRAM registered ECC PC3-12800 with
 thermal sensor
 spdmem1 at iic0 addr 0x53: 16GB DDR3 SDRAM registered ECC PC3-12800 with
 thermal sensor
 spdmem2 at iic0 addr 0x55: 16GB DDR3 SDRAM registered ECC PC3-12800 with
 thermal sensor
 spdmem3 at iic0 addr 0x57: 16GB DDR3 SDRAM registered ECC PC3-12800 with
 thermal sensor

Strange. And where are other 12 banks of memory?

 pcib0 at pci0 dev 20 function 3 ATI SB700 ISA rev 0x00
 ppb1 at pci0 dev 20 function 4 ATI SB600 PCI rev 0x00
 pci2 at ppb1 bus 1
 vga1 at pci2 dev 4 function 0 Matrox MGA G200eW rev 0x0a
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 ohci4 at pci0 dev 20 function 5 ATI SB700 USB rev 0x00: apic 0 int 18,
 version 1.0, legacy support
 pchb1 at pci0 dev 24 function 0 AMD AMD64 15h Link Cfg rev 0x00
 pchb2 at pci0 dev 24 function 1 AMD AMD64 15h Address Map rev 0x00
 pchb3 at pci0 dev 24 function 2 AMD AMD64 15h DRAM Cfg rev 0x00
 km0 at pci0 dev 24 function 3 AMD AMD64 15h Misc Cfg rev 0x00
 pchb4 at pci0 dev 24 function 4 AMD AMD64 15h CPU Power rev 0x00
 pchb5 at pci0 dev 24 function 5 AMD AMD64 15h Host rev 0x00
 pchb6 at pci0 dev 25 function 0 AMD AMD64 15h Link Cfg rev 0x00
 pchb7 at pci0 dev 25 function 1 AMD AMD64 15h Address Map rev 0x00
 pchb8 at pci0 dev 25 function 2 AMD AMD64 15h DRAM Cfg rev 0x00
 km1 at pci0 dev 25 function 3 AMD AMD64 15h Misc Cfg rev 0x00
 pchb9 at pci0 dev 25 function 4 AMD AMD64 15h CPU Power rev 0x00
 pchb10 at pci0 dev 25 function 5 AMD AMD64 15h Host rev 0x00
 pchb11 at pci0 dev 26 function 0 AMD AMD64 15h Link Cfg rev 0x00
 pchb12 at pci0 dev 26 function 1 AMD AMD64 15h Address Map rev 0x00
 pchb13 at pci0 dev 26 function 2 AMD AMD64 15h DRAM Cfg rev 0x00
 km2 at pci0 dev 26 function 3 AMD AMD64 15h Misc Cfg rev 0x00
 pchb14 at pci0 dev 26 function 4 AMD AMD64 15h CPU Power rev 0x00
 pchb15 at pci0 dev 26 function 5 AMD AMD64 15h Host rev 0x00
 pchb16 at pci0 dev 27 function 0 AMD AMD64 15h Link Cfg rev 0x00
 pchb17 at pci0 dev 27 function 1 AMD AMD64 15h Address Map rev 0x00
 pchb18 at pci0 dev 27 function 2 AMD AMD64 15h DRAM Cfg rev 0x00
 km3 at pci0 dev 27 function 3 AMD AMD64 15h 

Re: 5.4 pre-order announcement?

2013-09-18 Thread Kirill Bychkov
On Thu, September 19, 2013 00:35, patrick keshishian wrote:
 Just out of curiosity, did we miss the 5.4 pre-order announcement
 this time around or was I the only one who missed it?

It was silent. See undeadly.

 Regardless, my order was placed about a week ago. Thanks for all
 your efforts!

 Cheers,
 --patrick



Re: user can not shutdown PC in xfce

2013-08-30 Thread Kirill Bychkov
On Fri, August 30, 2013 13:58, James Griffin wrote:
 !-- On Fri 30.Aug'13 at  9:08:05 BST, Fung (fungm...@qq.com), wrote:
 -- Original --
 From:  Tomas Bodzartomas.bod...@gmail.com;

 On Tue, Aug 27, 2013 at 2:34 PM, Fung fungm...@qq.com wrote:

  1. root login xfce can shutdown the pc smoothly using mouse.
  2. other user in xfce can not shutdown the pc, why?
 
  # visudo
  ...
  %wheel  ALL=(ALL) SETENV: ALL
  share ALL=NOPASSWD: /usr/local/lib/xfce4/session/xfsm-shutdown-helper
  ...
 
  # id share
  uid=1000(share) gid=1000(share) groups=1000(share), 0(wheel)
 
 
  # sysctl kern.version
  kern.version=OpenBSD 5.4-current (GENERIC.MP) #48: Sat Aug 24 20:31:41
  MDT 2013
  dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
 
 
  # cat /usr/local/share/doc/pkg-readmes/xfce-4.10p0
  said
  Logging out and shutting down the computer
  ==
  If your installation supports complete shutdown, clicking on the logout
  button on panel will permit you to either logout, rebooting or halt
  the computer, provided you have the needed sudo credentials.
  If you don't want to have to enter your password, simply add this line
  to the /etc/sudoers file using visudo:
  $your_username ALL=NOPASSWD:
  /usr/local/lib/xfce4/session/xfsm-shutdown-helper
  ==
 

 are you in operator group? ;-)

 $ ls -l /sbin/shutdown
 -r-sr-x---  1 root  operator  222416 Aug 20 00:46 /sbin/shutdown
 $

 .


 hi,  tomas,

 Shutdown in xfce not work with operator group .

 BTW, from terminal ,   user share can halt -p/ shutdown  the system.


 You could use a better Window Manager/Desktop. The cwm in base is
 excellent. Also, fvwm2 in packages is excellent (I use that one), so are
 some tiling WM's, like dwm and spectrwm.


Maybe you can suggest even better OS to use?

P.S. I'm using xfce and I'm in wheel group - everything works fine.



Re: goaccess 0.5

2013-07-12 Thread Kirill Bychkov
On Fri, July 12, 2013 16:03, Tony Berth wrote:
 did export CPPFLAGS and LDFLAGS and did follow in '
 http://goaccess.prosoftcorp.com/faq' the section 'How to build GoAccess
 0.4.2 on OpenBSD 4.8-current'. I did the modification in 'parser.c' but in
 'util.c', 'sys/socket.h' was already included. Probably a change in version
 0.5?
 Unfortunately, 'configure' gives the same error. Should I send you the
 config.log too?

 Thanks


Hi. Take a look at http://cvs.linklevel.net/index.cgi/ports/www/

 On Wed, Jul 10, 2013 at 1:31 AM, Juan Francisco Cantero Hurtado 
 i...@juanfra.info wrote:

 On Wed, Jul 10, 2013 at 12:01:11AM +0300, Tony Berth wrote:
  is anyone using goaccess 0.5 with 5.2 or 5.3?
 
  When running './configure' I get:
 
  checking for a BSD-compatible install... /usr/bin/install -c
  checking whether build environment is sane... yes
  checking for a thread-safe mkdir -p... ./install-sh -c -d
  checking for gawk... no
  checking for mawk... no
  checking for nawk... no
  checking for awk... awk
  checking whether make sets $(MAKE)... yes
  checking for gcc... gcc
  checking for C compiler default output file name... a.out
  checking whether the C compiler works... yes
  checking whether we are cross compiling... no
  checking for suffix of executables...
  checking for suffix of object files... o
  checking whether we are using the GNU C compiler... yes
  checking whether gcc accepts -g... yes
  checking for gcc option to accept ISO C89... none needed
  checking for style of include used by make... GNU
  checking dependency style of gcc... gcc3
  checking for pkg-config... /usr/bin/pkg-config
  checking pkg-config is at least version 0.9.0... yes
  checking for GLIB2... yes
  checking for refresh in -lncurses... yes
  checking for new_menu in -lmenu... yes
  checking for g_free in -lglib-2.0... no
  configure: error: glib-2.x is missing

 CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure

 --
 Juan Francisco Cantero Hurtado http://juanfra.info



Re: My first macppc install going poorly as well

2013-02-13 Thread Kirill Bychkov
On Sat, December 8, 2012 22:29, Kirill Bychkov wrote:
 On Sat, December 8, 2012 15:54, Martin Pieuchot wrote:
 I've just committed a fix for this, wait for the next snapshot or build a
release yourself and you'll be able to install OpenBSD on your machine. Thanks
for the report.
 Thank you! Tomorrow I'll try to build from sources on my iBook and then
install it on G5. And test my AGP video found in iBook G3.

Sorry for timeout - have no time to play with my Mac.
I've finally installed 5.3-beta snapshot on my G5 and it boots.
I have two SATA disks, so the first is occupied with OSX and second one now
contains OpenBSD.
I have some questions and suggestions about macppc support in OpenBSD.
Suggestions first. According to my dmesg [1] and to hardware I have in this
G5, next patch syncs macppc.html with reality:

Index: macppc.html
=== RCS file:
/cvs/www/macppc.html,v
retrieving revision 1.224
diff -u -r1.224 macppc.html
--- macppc.html 4 Dec 2012 11:20:47 -   1.224
+++ macppc.html 13 Feb 2013 06:02:37 -
@@ -225,6 +225,7 @@
 liApple Uni-North Eth
 liApple Uni-North 2 AGP
 liApple Uni-North 2 Eth
+liApple Uni-North 3 AGP
 liMotorola MPC106 Host-PCI
 /ul
@@ -239,6 +240,7 @@
 liATI Radeon Mobility M7
 liATI Radeon Mobility 9200 (M9+)
 liNVIDIA GeForce4 440 Go 64M
+liNVIDIA GeForce FX 5200 Ultra
 /ul
 listrongEthernet Adapters/strong
@@ -481,7 +483,7 @@
 liFirewire is not supported.
 liPower Macintosh G5 (October 2005, dual core (PowerMac 11,2)) is not
supported yet.
 liiMac G5 (iSight (PowerMac12,1)) is not supported yet.
-liSATA does not work on PowerMac G5 and Xserve G5 systems.
+liSATA does not work on some PowerMac G5 and Xserve G5 systems.
 /ul
 hr

I don't know about other G5, but mine is booting from SATA wd1 fine: pciide0
at pci8 dev 12 function 0 ServerWorks K2 SATA rev 0x00: DMA pciide0: using
irq 0 for native-PCI interrupt
pciide0: port 0: device present, speed: 1.5Gb/s
wd0 at pciide0 channel 0 drive 0: ST380013AS
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
pciide0: port 1: device present, speed: 1.5Gb/s
wd1 at pciide0 channel 1 drive 0: ST3250823AS
wd1: 16-sector PIO, LBA48, 238475MB, 488397168 sectors
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 6

Problems.
Internal NIC.
gem0 at pci7 dev 15 function 0 Apple K2 GMAC rev 0x00: irq 41, address
00:0a:95:8f:3d:84
ukphy0 at gem0 phy 0: Generic IEEE 802.3u media interface, rev. 0: OUI
0x00, model 0x
It works in OSX, but doesn't in OpenBSD:
gem0: flags=8822BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST mtu 1500
lladdr 00:0a:95:8f:3d:84
priority: 0
media: Ethernet autoselect (none)
status: no carrier
It always show no carrier on my 100MB/s D-Link router. Looking deeper I
found that in OpenBSD only media 1000baseSX is supported. On openbsd-misc@
I've found message from Dale Rahn (drahn@) [2] which states that some Macs
have two PHYs and the second one is ignored. So I suppose it's my case. Only
the first is recognised with OpenBSD and it have no chance to work with
100MB/s hardware and I have no 1GB/s capable hw to test with.

So I installed PCI card:
xl0 at pci2 dev 3 function 0 3Com 3c905C 100Base-TX rev 0x74: irq 53,
address 00:00:00:00:00:00
xl0: WARNING: no media options bits set in the media options register!! xl0:
this could be a manufacturing defect in your adapter or system xl0: attempting
to guess media type; you should probably consult your vendor xl0: unknown
device ID: 0 -- defaulting to 10baseT
No phy attached.

And another card:
vr0 at pci3 dev 4 function 0 VIA VT6105 RhineIII rev 0x86: irq 54, address
00:00:00:00:00:00
It also has no phy attached.

Both xl0 and vr0 are working fine on amd64 machine:
xl0 at pci4 dev 0 function 0 3Com 3c905C 100Base-TX rev 0x74: apic 2 int 20,
address 00:04:76:a0:89:8a
bmtphy0 at xl0 phy 24: 3C905C internal PHY, rev. 6
vr0 at pci4 dev 1 function 0 VIA VT6105 RhineIII rev 0x86: apic 2 int 19,
address 00:40:f4:7f:dc:a4
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 4: OUI
0x004063, model 0x0034

The only thing which is ok on my G5:
rsu0 at uhub2 port 3 Manufacturer Realtek ASUS EZ N Network Adapter rev
2.00/2.00 addr 2
rsu0: MAC/BB RTL8712 cut 3, address c8:60:00:5e:11:bb

Is it an individual problem with my Mac only or not? Any other information
about this G5 needed? I'm willing to test patches or give an access to this
Mac.

Questions.
Why some amount of memory disappears?
real mem = 536870912 (512MB)
avail mem = 1029836800 (982MB)
If I add two more 512MB banks, I have about 1,5GB of real mem, so about 500MB
disappears again.

Some devices on iic behave strange. Any clues?
lmtemp0 at iic0 addr 0x4a: ds1775, fails to respond
adc0 at iic0 addr 0x2c: ad7417, config reset failed

Thanks for any help!

[1] http://i386.linklevel.net/dmesg.g5
[2] http://marc.info/?l=openbsd-miscm=128449069908208w=2



Re: My first macppc install going poorly as well

2013-02-13 Thread Kirill Bychkov
On Wed, February 13, 2013 13:53, Martin Pieuchot wrote:
 On 13/02/13(Wed) 11:47, Kirill Bychkov wrote:
 [..]
 I have some questions and suggestions about macppc support in OpenBSD.
 Suggestions first. According to my dmesg [1] and to hardware I have in this
 G5, next patch syncs macppc.html with reality:

 Also don't forget to send your dmesg to dmesg@ ;)

 Index: macppc.html
 === RCS
 file:
 /cvs/www/macppc.html,v
 retrieving revision 1.224
 diff -u -r1.224 macppc.html
 --- macppc.html  4 Dec 2012 11:20:47 -   1.224
 +++ macppc.html  13 Feb 2013 06:02:37 -
 @@ -225,6 +225,7 @@
  liApple Uni-North Eth
  liApple Uni-North 2 AGP
  liApple Uni-North 2 Eth
 +liApple Uni-North 3 AGP

 I think that here you want to add Apple U3 AGP as it shows up in your
 dmesg, right? With this change it's ok mpi@.

I thought that U3 stands for Uni-North 3 and added a line like previous. If
I'm mistaken, I'll commit it with Apple U3 AGP line.


  liMotorola MPC106 Host-PCI
  /ul
 @@ -239,6 +240,7 @@
  liATI Radeon Mobility M7
  liATI Radeon Mobility 9200 (M9+)
  liNVIDIA GeForce4 440 Go 64M
 +liNVIDIA GeForce FX 5200 Ultra
  /ul
  listrongEthernet Adapters/strong
 @@ -481,7 +483,7 @@
  liFirewire is not supported.
  liPower Macintosh G5 (October 2005, dual core (PowerMac 11,2)) is not
 supported yet.
  liiMac G5 (iSight (PowerMac12,1)) is not supported yet.
 -liSATA does not work on PowerMac G5 and Xserve G5 systems.
 +liSATA does not work on some PowerMac G5 and Xserve G5 systems.
  /ul
  hr

Martin, any comments about SATA support on PowerMac G5 and Xserver G5?

 Problems.
 Internal NIC.
 gem0 at pci7 dev 15 function 0 Apple K2 GMAC rev 0x00: irq 41, address
 00:0a:95:8f:3d:84
 ukphy0 at gem0 phy 0: Generic IEEE 802.3u media interface, rev. 0: OUI
 0x00, model 0x
 It works in OSX, but doesn't in OpenBSD:
 gem0: flags=8822BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST mtu 1500
 lladdr 00:0a:95:8f:3d:84
 priority: 0
 media: Ethernet autoselect (none)
 status: no carrier
 It always show no carrier on my 100MB/s D-Link router. Looking deeper I
 found that in OpenBSD only media 1000baseSX is supported. On openbsd-misc@
 I've found message from Dale Rahn (drahn@) [2] which states that some Macs
 have two PHYs and the second one is ignored. So I suppose it's my case. Only
 the first is recognised with OpenBSD and it have no chance to work with
 100MB/s hardware and I have no 1GB/s capable hw to test with.

 I am aware of this problem as I have a similar PowerMac G5 that presents
 the same symptoms. I didn't investigate further yet but I managed to get
 this interface working when I first installed OpenBSD using a tftp
 server. So I guess it has something to do with the firmware.


 So I installed PCI card:
 xl0 at pci2 dev 3 function 0 3Com 3c905C 100Base-TX rev 0x74: irq 53,
 address 00:00:00:00:00:00
 xl0: WARNING: no media options bits set in the media options register!! xl0:
 this could be a manufacturing defect in your adapter or system xl0:
 attempting
 to guess media type; you should probably consult your vendor xl0: unknown
 device ID: 0 -- defaulting to 10baseT
 No phy attached.

 And another card:
 vr0 at pci3 dev 4 function 0 VIA VT6105 RhineIII rev 0x86: irq 54, address
 00:00:00:00:00:00
 It also has no phy attached.

 Both xl0 and vr0 are working fine on amd64 machine:
 xl0 at pci4 dev 0 function 0 3Com 3c905C 100Base-TX rev 0x74: apic 2 int
 20,
 address 00:04:76:a0:89:8a
 bmtphy0 at xl0 phy 24: 3C905C internal PHY, rev. 6
 vr0 at pci4 dev 1 function 0 VIA VT6105 RhineIII rev 0x86: apic 2 int 19,
 address 00:40:f4:7f:dc:a4
 ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 4: OUI
 0x004063, model 0x0034

 The only thing which is ok on my G5:
 rsu0 at uhub2 port 3 Manufacturer Realtek ASUS EZ N Network Adapter rev
 2.00/2.00 addr 2
 rsu0: MAC/BB RTL8712 cut 3, address c8:60:00:5e:11:bb

 Is it an individual problem with my Mac only or not? Any other information
 about this G5 needed? I'm willing to test patches or give an access to this
 Mac.

 I've no idea about why your other cards are not working, do they work
 under an other OS on the same machine?

Same 3com card in OSX, which doesn't work in OpenBSD:
en1: flags=8863UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::210:22ff:fefd:7ab2%en1 prefixlen 64 scopeid 0x5
inet 192.168.1.38 netmask 0xff00 broadcast 192.168.1.255
ether 00:10:22:fd:7a:b2
media: autoselect (100baseTX full-duplex) status: active
supported media: 10baseT/UTP half-duplex 10baseT/UTP full-duplex
autoselect 100baseTX half-duplex 100baseTX full-duplex

My noname VIA card isn't recognised by OSX.

 Can you also provide the output of 'eeprom -p' alongside with your
 dmesg?

http://i386.linklevel.net/eeprom.g5
http://i386.linklevel.net/dmesg.g5

 M.



Re: ZTE mf626 USB modem support

2013-02-13 Thread Kirill Bychkov
On Thu, February 14, 2013 06:24, Maximo Pech wrote:
 Hi list, I see this was asked before but never got solved, so I ask again.

 Has someone got this device working on openbsd? Is it supported?

 Thanks and regards.


Hi. I plugged this modem on my Win7 notebook, installed software and drivers
from it's internal cd and then connected with putty to it's second serial
port (ZTE NMEA Device), whick answers on AT comand with OK.
After that I send AT+ZCDRUN=8 to it to disable storage. Modem answered Close
autorun state result (0:FAIL 1^:SUCCESS):1 and modem's storage disappeared
from my computer.
Now I have in dmesg:
umsm0 at uhub0 port 3 configuration 1 interface 0 ZTE, Incorporated ZTE CDMA
Technologies MSM rev 2.00/0.00 addr 2
umsm0: missing endpoint
umsm1 at uhub0 port 3 configuration 1 interface 1 ZTE, Incorporated ZTE CDMA
Technologies MSM rev 2.00/0.00 addr 2
umsm1: missing endpoint
umass0 at uhub0 port 3 configuration 1 interface 2 ZTE, Incorporated ZTE CDMA
Technologies MSM rev 2.00/0.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus5 at umass0: 2 targets, initiator 0
sd3 at scsibus5 targ 1 lun 0: ZTE, MMC Storage, 322 SCSI2 0/direct removable
serial.19d20031567890ABCDEF
umsm2 at uhub0 port 3 configuration 1 interface 3 ZTE, Incorporated ZTE CDMA
Technologies MSM rev 2.00/0.00 addr 2
ucom0 at umsm2

At least 'cu -l /dev/cuaU0 -s 9600' answers OK on AT.
I have no usable SIM for this provider-locked modem, so I can't fully test it.

To backout modem to default windoze-compatible mode send AT+ZCDRUN=9 to
modem with cu.
I hope this will help.



Re: ZTE mf626 USB modem support

2013-02-13 Thread Kirill Bychkov
On Thu, February 14, 2013 07:49, Kirill Bychkov wrote:
 On Thu, February 14, 2013 06:24, Maximo Pech wrote:
 Hi list, I see this was asked before but never got solved, so I ask again.

 Has someone got this device working on openbsd? Is it supported?

 Thanks and regards.


 Hi. I plugged this modem on my Win7 notebook, installed software and drivers
 from it's internal cd and then connected with putty to it's second serial
 port (ZTE NMEA Device), whick answers on AT comand with OK.
 After that I send AT+ZCDRUN=8 to it to disable storage. Modem answered Close
 autorun state result (0:FAIL 1^:SUCCESS):1 and modem's storage disappeared
 from my computer.
 Now I have in dmesg:
 umsm0 at uhub0 port 3 configuration 1 interface 0 ZTE, Incorporated ZTE CDMA
 Technologies MSM rev 2.00/0.00 addr 2
 umsm0: missing endpoint
 umsm1 at uhub0 port 3 configuration 1 interface 1 ZTE, Incorporated ZTE CDMA
 Technologies MSM rev 2.00/0.00 addr 2
 umsm1: missing endpoint
 umass0 at uhub0 port 3 configuration 1 interface 2 ZTE, Incorporated ZTE CDMA
 Technologies MSM rev 2.00/0.00 addr 2
 umass0: using SCSI over Bulk-Only
 scsibus5 at umass0: 2 targets, initiator 0
 sd3 at scsibus5 targ 1 lun 0: ZTE, MMC Storage, 322 SCSI2 0/direct removable
 serial.19d20031567890ABCDEF
 umsm2 at uhub0 port 3 configuration 1 interface 3 ZTE, Incorporated ZTE CDMA
 Technologies MSM rev 2.00/0.00 addr 2
 ucom0 at umsm2

 At least 'cu -l /dev/cuaU0 -s 9600' answers OK on AT.
 I have no usable SIM for this provider-locked modem, so I can't fully test it.

 To backout modem to default windoze-compatible mode send AT+ZCDRUN=9 to
 modem with cu.
 I hope this will help.


My modem isn't provider-locked as I thought. Inserting another SIM helped to
connect to ISP.
I just copied /etc/ppp/ppp.conf.sample to /etc/ppp/ppp.conf, changed set
device and allow user to reflect reality and just run 'ppp -ddial mobile'
to connect.

Patch adds mentioning MF626 support and gives clues how to handle such modems.
OK? Comments?

Index: umsm.4
===
RCS file: /cvs/src/share/man/man4/umsm.4,v
retrieving revision 1.87
diff -u -r1.87 umsm.4
--- umsm.4  4 Jan 2013 02:53:54 -   1.87
+++ umsm.4  14 Feb 2013 06:00:08 -
@@ -111,6 +111,7 @@
 .It Li ZTE AC2746 Ta USB
 .It Li ZTE MF112 Ta USB
 .It Li ZTE MF190 Ta USB
+.It Li ZTE MF626 Ta USB
 .It Li ZTE MF633 Ta USB
 .It Li ZTE MF637 Ta USB
 .El
@@ -167,6 +168,10 @@
 on the third port, and after that the actual PPP connection comes
 up on the first port.
 The function of the second and fourth ports is unknown.
+.Pp
+Some modems require enabling modem mode with AT commands.
+This can be configured on other OS after installation of
+software shipped with modem.
 .Sh EXAMPLES
 An example
 .Pa /etc/ppp/ppp.conf



Re: Athn0 DHCP problem...

2013-01-22 Thread Kirill Bychkov
On Wed, January 23, 2013 02:50, slhac tivist wrote:
 Thanks for the tip about no 'n' band. Here's some more info:

 Here's my /etc/hostname.athn0 file:

 -wol group egress chan 11 bssid ** nwid ** nwkey ** wpakey
 ** wpaakms pks
 dhcp NONE NONE NONE

You're mixing WEP and WPA keys. Try to use one of them, not both.

 And here is ifconfig athn0:

 athn0 flag=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 lladdr: **
 priority: 4
 groups: wlan egress
 media: IEEE802.11 autoselect (DS1 mode 11g)
 Status: no network

 And when I scan (sudo ifconfig athn0 scan) I get something like this
 (forgot to write down so from memory):
 ieee80211: nwid ** chan 11 bssid ** 3dB 54MB privacy,
 short_preamble, short_slottime
 wpakey not displayed wpaprotos wpa1, wpa2 wpakms psk wpaciphers tkip,
 ccmp wpagroupcipher tkip
 inet ** prefixlen 64 scopeid 0x1

 Um...when I looked at the router (It's a D-LINK connected to a Telus DSL
 box) there is a sticky note on it that says Wireless: NO DHCP...but
 everyone else is using wireless internet...

 Also , when I scan for networks, not only does the network name appear, but
 so does a DLINK and a TELUS network.

 Not sure what other information is relevant.

 MAIN PROBLEM: Athn0 won't link...1/10 times it will it seems, after I
 fiddle with it...

 I have a feeling this is a simple config file problem, but I'm just not
 used to editing conf files.

 Am I going about this the right way? (i.e. editing /etc/dhclient.conf,
 pf.conf, /etc/hostname.athn0, /etc/myname, and running /etc/netstart,
 ifconfig, and dhclient?)

 Thanks in advance!!!

 On Tue, Jan 22, 2013 at 1:14 PM, Peter N. M. Hansteen pe...@bsdly.netwrote:

 slhac tivist slhactiv...@gmail.com writes:

  I can get athn0 to link, but then it sends a dozen DHCPREQUESTs, and
 then
  sends DHCPDISCOVERs until it sleeps...
 
  I've never had this problem before. Last time I switch routers, I just
  changed nwid, and wpakey with ifconfig, then ran dhclient for athn0 and
 it
  worked.

 Wireless networks are a pain in general, but the general advice is
 anyway to make really sure your access point and your client are in fact
 using the same settings. On this laptop, my /etc/hostname.iwn0 (not the
 same part, I know, but for most practical purposes the same) has only

 media autoselect nwid nomap wpakey allfunnybusiness
 dhcp
 rtsol

  This time i've tried setting chan, bssid, nwid, nwkey, wpakey, and
 wpaakms.
 
  I've set these parameters with ifconfig, and also entered into my
  /etc/hostname.athn0 file.

 I've never had too much joy from setting those explicitly on the client,
 but do check what the output of 'ifconfig athn0 scan' says about the
 access point's settings, if anything. Worth noting is this bit from the
 athn man page:

 CAVEATS
  The athn driver does not support any of the 802.11n capabilities
 offered
  by the adapters.  Additional work is required in ieee80211(9) before
  those features can be supported.

 which means you will need to stick to a, b or g modes for now.

 - P

 --
 Peter N. M. Hansteen, member of the first RFC 1149 implementation team
 http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
 Remember to set the evil bit on all malicious network traffic
 delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Re: Realtek r8712u Wireless Dongle .. OpenBSD 5.2 i386 ..

2012-12-29 Thread Kirill Bychkov
On Sat, December 29, 2012 05:58, Graham Jenkins wrote:
 Has anyone got one of these working? It is actually identified as 'rsu0'
 during boot,
 but I'm unsure of what to put in: /etc/hostname.rsu0 for either dhcp
 (preferably)
 or fixed address.

 So if somebody's got it working and can give me a specific example, that would
 be
 appreciated ..

 Graham Jenkins



rsu0 at uhub0 port 4 Manufacturer Realtek ASUS EZ N Network Adapter rev
2.00/2.00 addr 2
rsu0: MAC/BB RTL8712 cut 3, address c8:60:00:5e:11:bb

kirby@barton:ttyp0kirby % cat /etc/hostname.rsu0
dhcp nwid kirby wpakey 
-inet6

And don't forget to install rsu firmware.



Re: My first macppc install going poorly as well

2012-12-08 Thread Kirill Bychkov
On Sat, December 8, 2012 15:54, Martin Pieuchot wrote:
 I've just committed a fix for this, wait for the next snapshot or build
 a release yourself and you'll be able to install OpenBSD on your machine.

 Thanks for the report.

Thank you! Tomorrow I'll try to build from sources on my iBook and then
install it on G5. And test my AGP video found in iBook G3.


 On 04/09/12(Tue) 10:01, Kirill Bychkov wrote:
 On Tue, September 4, 2012 08:42, Andrew Fresh wrote:
  On Mon, Sep 03, 2012 at 09:31:25PM +0400, Kirill Bychkov wrote:
  On Sun, September 2, 2012 22:44, Kirill Bychkov wrote:
   On Sun, September 2, 2012 20:24, Andrew Fresh wrote:
   It is a Power Mac G5 Dual 1.8GHz with the NVIDIA GeForceFX 5200 Ultra
   video card.  I believe the original Q37 but could be a June 2004
   model, no idea how to tell for sure.
   https://en.wikipedia.org/wiki/Power_Mac_G5
 
  Go to OpenFirmware and then try dev /cpus and ls. I will show you
 info
  about CPU.
 
  OpenFirmware says my PowerPC,G5@0 is cpu-version  0039020 which
  according to the Internet is a
 
  I did need to dev /cpus/PowerPC,G5 then .properties to get the
  cpu-version, but thank you for the pointer.

 I have PowerPC,970@0 and it also hav cpu-version 0039020.

 
  I had a look at
  http://www.openbsd.org/cgi-bin/cvsweb/src/sys/arch/macppc/macppc/cpu.c?rev=1.67
  and see only 970FX processors mentioned. As I understand 970 != 970FX. My
 G5
  have 970, as OpenFirmware shows. M.B. problem is hiding in it?
 
  Based on some old netbsd supported model lists I believe you are correct
  that 970 != 970FX.

 The only difference I've found atm that 970 is 130nm, and 970fx - 90nm.

  Looking up the serial number on Apple's website
  http://support.apple.com/specs/
 
  it claims I have a Power Mac G5 (June 2004) version
  http://support.apple.com/kb/SP80
 
  which is supposed to have the 970FX
  http://www.apple-history.com/g5_june_04
 
  But unfortunately it seems that is not the case because my 0039020 is a
  970 not a 970FX
  http://everythingapple.blogspot.com/2004/11/130-nm-g5-is-alive-and-well.html

 Same story with checking serial# of my G5.
 http://forums.macrumors.com/archive/index.php/t-84191.html

  l8rZ,
  --
  andrew - http://afresh1.com
 
  Computer programmers know how to use their hardware.



Re: hardware suggestion: off topic (probably)

2012-11-07 Thread Kirill Bychkov
On Tue, November 6, 2012 22:31, Jiri B wrote:
 On Tue, Nov 06, 2012 at 02:28:49PM -0200, Friedrich Locke wrote:
 Dear list members,

 I have setted up a web server in my working environment and i was asked to
 install webalizer. Now my boss asked me to install a tool that looks at
 webalizer stats files and suggest a hardware capacity for that workload
 reported by webalizer.

 I dont know what to tell him. Why do you think he asked me that ?

 If I understood correctly he wants a trend tool, it means to know when
 you should buy new disks/storage/whatever based on resources utilization
 projection trend...

 No idea which OSS app can do that.

 jirib



Some monitoring tools like munin, I think.



Re: My first macppc install going poorly as well

2012-09-04 Thread Kirill Bychkov
On Tue, September 4, 2012 08:42, Andrew Fresh wrote:
 On Mon, Sep 03, 2012 at 09:31:25PM +0400, Kirill Bychkov wrote:
 On Sun, September 2, 2012 22:44, Kirill Bychkov wrote:
  On Sun, September 2, 2012 20:24, Andrew Fresh wrote:
  It is a Power Mac G5 Dual 1.8GHz with the NVIDIA GeForceFX 5200 Ultra
  video card.  I believe the original Q37 but could be a June 2004
  model, no idea how to tell for sure.
  https://en.wikipedia.org/wiki/Power_Mac_G5

 Go to OpenFirmware and then try dev /cpus and ls. I will show you info
 about CPU.

 OpenFirmware says my PowerPC,G5@0 is cpu-version  0039020 which
 according to the Internet is a

 I did need to dev /cpus/PowerPC,G5 then .properties to get the
 cpu-version, but thank you for the pointer.

I have PowerPC,970@0 and it also hav cpu-version 0039020.


 I had a look at
 http://www.openbsd.org/cgi-bin/cvsweb/src/sys/arch/macppc/macppc/cpu.c?rev=1.67
 and see only 970FX processors mentioned. As I understand 970 != 970FX. My G5
 have 970, as OpenFirmware shows. M.B. problem is hiding in it?

 Based on some old netbsd supported model lists I believe you are correct
 that 970 != 970FX.

The only difference I've found atm that 970 is 130nm, and 970fx - 90nm.

 Looking up the serial number on Apple's website
 http://support.apple.com/specs/

 it claims I have a Power Mac G5 (June 2004) version
 http://support.apple.com/kb/SP80

 which is supposed to have the 970FX
 http://www.apple-history.com/g5_june_04

 But unfortunately it seems that is not the case because my 0039020 is a
 970 not a 970FX
 http://everythingapple.blogspot.com/2004/11/130-nm-g5-is-alive-and-well.html

Same story with checking serial# of my G5.
http://forums.macrumors.com/archive/index.php/t-84191.html

 l8rZ,
 --
 andrew - http://afresh1.com

 Computer programmers know how to use their hardware.



Re: My first macppc install going poorly as well

2012-09-03 Thread Kirill Bychkov
On Sun, September 2, 2012 22:44, Kirill Bychkov wrote:
 On Sun, September 2, 2012 20:24, Andrew Fresh wrote:
 I got a nice G5 from work and would like to run OpenBSD macppc on it.

 However, when I attempt to install I get to what is described as step 4
 for i386 and amd64 in the FAQ:
 booting hd0a:/bsd 4464500+838332 [58+204240+181750]=0x56cfd0
 http://openbsd.org/faq/faq14.html#Boot386

 My uniprocessor G5 with 1.6GHz CPU and FX5200 stops on the same moment when
 booting from cd (4.5 and latest snapshot).

 Except that line does not fully complete and the screen goes blank
 white.  I get the same results booting from CDs from 4.9, 5.1 and a
 fairly recent snapshot.

 The Apple Service Diagnostic disk claims everything is in great shape.

 It is a Power Mac G5 Dual 1.8GHz with the NVIDIA GeForceFX 5200 Ultra
 video card.  I believe the original Q37 but could be a June 2004
 model, no idea how to tell for sure.
 https://en.wikipedia.org/wiki/Power_Mac_G5

Go to OpenFirmware and then try dev /cpus and ls. I will show you info
about CPU.


 Any suggestions? Did I just get a bad one?

 If I had a dmesg to attach I wouldn't be asking this question. :-)

 l8rZ,
 --
 andrew - http://afresh1.com

 Life's unfair - but root password helps!

I had a look at
http://www.openbsd.org/cgi-bin/cvsweb/src/sys/arch/macppc/macppc/cpu.c?rev=1.67
and see only 970FX processors mentioned. As I understand 970 != 970FX. My G5
have 970, as OpenFirmware shows. M.B. problem is hiding in it?



Re: My first macppc install going poorly as well

2012-09-02 Thread Kirill Bychkov
On Sun, September 2, 2012 20:24, Andrew Fresh wrote:
 I got a nice G5 from work and would like to run OpenBSD macppc on it.

 However, when I attempt to install I get to what is described as step 4
 for i386 and amd64 in the FAQ:
 booting hd0a:/bsd 4464500+838332 [58+204240+181750]=0x56cfd0
 http://openbsd.org/faq/faq14.html#Boot386

My uniprocessor G5 with 1.6GHz CPU and FX5200 stops on the same moment when
booting from cd (4.5 and latest snapshot).

 Except that line does not fully complete and the screen goes blank
 white.  I get the same results booting from CDs from 4.9, 5.1 and a
 fairly recent snapshot.

 The Apple Service Diagnostic disk claims everything is in great shape.

 It is a Power Mac G5 Dual 1.8GHz with the NVIDIA GeForceFX 5200 Ultra
 video card.  I believe the original Q37 but could be a June 2004
 model, no idea how to tell for sure.
 https://en.wikipedia.org/wiki/Power_Mac_G5

 Any suggestions? Did I just get a bad one?

 If I had a dmesg to attach I wouldn't be asking this question. :-)

 l8rZ,
 --
 andrew - http://afresh1.com

 Life's unfair - but root password helps!



Re: Sierra Wireless AC595U Device problems in OpenBSD -current/-stable.

2012-08-09 Thread Kirill Bychkov
On Thu, August 9, 2012 19:51, Sergey Prysiazhnyi wrote:
 Hello misc@.

 Did anybody have experience of the successful use of Subj device in OpenBSD?..
 The problem is that the device attached quite normal by the system:
 # dmesg | grep umsm
 umsm0 at uhub2 port 2 configuration 1 interface 0 Sierra Wireless,
 Incorporated
 Sierra Wireless AC595U Device rev 1.10/0.02 addr 2
 ucom0 at umsm0
[...]

 but, after the trying to send AT commands to the device via cu(1) it is
 behaves
 like a dumb (can't send/receive any AT command/answer from the device):
 # sudo cu -l /dev/cuaU0
 Connected
 ~
 [EOT]

 Anyone faced with this kind of problem? Thank you in advance for the any help.
 ; device was tested and work without any problems on Ubuntu Linux and Windows.


Hi.
From umsm.4:
 Some modems have multiple serial ports, however almost all modems have
 only one effective serial port for PPP connections.  For example, the
 Huawei E220 has two serial ports, but only the first port can be used to
 make connections; the second one is for management.  The Option
 GlobeTrotter HSDPA/HSUPA modems have three serial ports, but only the
 last port can be used to make PPP connections.

My Huawei E1820 by Megafon have three ports, and only one of them (ucom0)
replies OK on AT. Other ports are dumb.

umsm0 at uhub0 port 4 configuration 1 interface 0 Huawei Technologies HUAWEI
Mobile rev 2.00/0.00 addr 2
ucom0 at umsm0
umsm1 at uhub0 port 4 configuration 1 interface 1 Huawei Technologies HUAWEI
Mobile rev 2.00/0.00 addr 2
ucom1 at umsm1
umsm2 at uhub0 port 4 configuration 1 interface 2 Huawei Technologies HUAWEI
Mobile rev 2.00/0.00 addr 2
ucom2 at umsm2

Try to set up your device to behave like a modem, not NDIS in setup utility it
shipped with.



Re: ss20's wanted for ports builds

2012-07-19 Thread Kirill Bychkov
On Thu, July 19, 2012 18:42, Erling Westenvik wrote:
 On Mon, Jul 16, 2012 at 08:45:30PM +0200, [BG-Consulting] Elmar Bschorer
 wrote:
 What do you mean with ss20?

 Actually a good question. At least for those old enough to remember the
 Soviet era SS-20 intermediate-range ballistic nucelar missiles. Can't
 seem to find any on ebay though but maybe someone in Russia can provide
 shell access?

well, even forget to find it in exUSSR ;)
AND NO SHELL ACCESS!!! Only buttons-buttons-buttons!!! If you have luck to
find some.
 --
 Cheers,
 Erling

 () ascii ribbon campaign - against html e-mail
 /\



Re: apc ups daemon - SUCCESS

2009-06-12 Thread Kirill Bychkov
Hi.

On Fri, June 12, 2009 17:43, Thomas Pfaff wrote:
 On Fri, 12 Jun 2009 14:21:32 +0100
 Stuart Henderson s...@spacehopper.org wrote:
 In gmane.os.openbsd.misc, Thomas Pfaff wrote:
  A port of this has already been posted a couple of times but,
  as someone said, it needs more work.  The GUI tool fails for
  me on amd64 so that needs to be fixed.

Thomas, I'll try to test GUI next week on amd64.

  There were also some
  discussion if it should replace apc-upsd or not.  It never
  got any further than that.
 
  Anyone with commit access, is there anything else that needs to
  be fixed in this port for it to be included?

 Those are the only things I know of. I'm strongly of the opinion it
 should replace the existing port, and the pkgname stem should stay the
 same so old users can get upgraded with pkg_add -u, even though the
 upstream name changed slightly and it's been largely rewritten.

I agree. My answer is still the same: apc-upsd should be removed.


 I tend to agree, but I'm a bit concerned that apcupsd won't work
 with the same devices that apc-upsd does.  The configuration files
 are also very different.

 I can test on an SU RM via serial and possibly also Symmetra via
 SNMP but don't have time to do the rest of the work, I'm mainly using
 NUT anyway.

 Perhaps we could drop the GUI part of the package for now?  At
 least then we have a package that works (from the test reports
 received so far).

Latest apcupsd-3.14.6 in attachment.

[demime 1.01d removed an attachment of type application/gzip which had a name 
of apcupsd.tar.gz]