Re: obsd wifi

2024-05-04 Thread Manuel Solis
Hello Gustavo,

You could check your interfaces with "ifconfig", then you could see which
interface you have, the most common are iwm0, iwn0, or something like that,

Then you could save your SSIDs info at /etc/hostname.interface, ex:
/etc/hostname.iwm0
nwid LAN1 wpakey PASSWORD
dhcp

For reference, feel free to check the FAQ page.

https://www.openbsd.org/faq/faq6.html#Wireless




El sáb, 4 may 2024 a las 13:16, Gustavo Rios ()
escribió:

> Hi folks!
>
> I have just installed OpenBSD in my brand new notebook. It is a dell
> notebook that came with just a wifi NIC. How do i discover the name o my
> wifi nic ?
>
> Thanks a lot.
>
> --
> The lion and the tiger may be more powerful, but the wolves do not perform
> in the circus
>


-- 
Lic. Manuel Solís Vázquez


pkg_add - error while reading header / read short file / gzheader truncated

2023-11-14 Thread Manuel Solis
Hello Misc,

I am configuring a couple of laptops for my kids, i had installed 70 with
i3 and gcompris in them, its been a while since the last update so i
decided to make a fresh install.

So I installed 74 in both of them, used the autoinstall so the process was
straightforward as always, rebooted, hw_update, syspatch, everything as
expected.

The problem comes when trying to install a package, i am trying just to of
them: feh and gcompris, in both laptops, and i get the following errors,
they are several since i do a few tries and then the problem goes and comes
at different packages

pkg_add: Ustar [package name, it is different every try, meaning
lcms2-2.15.tgz, gstreamer, libass-] [?]: Error while reading header

https://cdn.openbsd.org/pub/OpenBSD/7.4/packages/amd64/lame-3.100p1.tgz:
Read short file

My configuration are:
1 laptop, re0, trying pkg_add feh
1 laptop, iwn0, trying pkg_add gcompris

both with the same results, maybe i should try in another LAN, but could it
be a problem with the CDN server ?

Thank you for your time,

--  Manuel Solis


Re: desire for journaled filesystem

2023-09-05 Thread Manuel Solis
As the book "OpenBSD Mastery Filesystems", Michael W Lucas, 2023 reads at
the side cover:

“Many users assume that their advanced filesystem is better than UFS
because they have so many features—snapshots, checksums, compression,
sophisticated caching algorithms, and so on—while all UFS has ever done is
muck about putting data on disk. But, conversely, UFS users believe their
filesystem is better for exactly the same reasons.”
—Hitchhikers Guide to OpenBSD

And go on chapter 0:
" OpenBSD includes many standard tools for disk management. Its Unix File
System has been continuously used for decades and is both robust and
well–understood. While it lacks features found in newer filesystems like
ZFS and btrfs, the OpenBSD developers have never been seriously interested
in file system features. A file system should put data on disk. That data
should be safely stored and reliably read. That’s it. Error checking?
Deduplication? No. The operating system has other tools for ensuring data
integrity and compactness."

on Chapt 1:
" While many Unix-like operating systems dump everything onto the disk and
hope things work out, OpenBSD uses a meticulous partitioning scheme to
improve confidentiality, integrity, and availability. Additionally,
OpenBSD’s multi–architecture design demands abstraction layers between the
storage hardware and the user–visible file system. Taking a little time to
understand these two systems and how they interact will greatly simplify
your work as a system administrator."

I am the type of guy that likes to hold the pages to read them, that is why
i quote the book, but you could also look at the internet or in the papers
https://www.openbsd.org/events.html,
https://www.openbsd.org/papers/eurobsdcon2022-krw-blockstobooting.pdf

i suggest you to read and investigate to understand the difference in the
approach from:
a) giving lots of choices you will never use or are poorly maintained or
b) place the one that could be audited and maintained.
Personally I have grown to see and love that from OpenBSD, the same happens
in filesystems, as well as in bluetooth, docker, wine, and all the stuff
that some could dessire at one point just because you are used to, but if
you want to use OpenBSD, you should be ready to learn and enjoy the tools
available, i think is similar to the people that install some Linux distro
and just want to work with MS Office and Photoshop, use libreoffice and
Gimp or don´t waste time, go back to Windows and be happy!

I hope it helps you to clarify your concern.

Manuel

El mar, 5 sept 2023 a las 8:12, John Holland ()
escribió:

> I just had a kernel panic when reloading a firefox tab pointed at
> facebook. After restarting, all the filesystems had errors but /home was
> particularly bad and caused the boot to stop and prompt if I wanted to
> enter a root shell.
>
>
> I eventually got fsck to mark the /home filesystem clean but it found
>  >4000 lost files that it moved to lost I am not so experienced
> with this, running "file" on a few of them shows that they may be intact
> files but they have numeric names now.
>
>
> I've really been enjoying OpenBSD but I think it could really use a
> journaled filesystem. I believe I have the correct options in fstab for
> the best results:
>
> 1f08fbc2b303f0ef.k /home ffs rw,softdep,noatime,nodev,nosuid 1 2
>
>
> I was just thinking how much I was enjoying OpenBSD compared to some
> others when this happened.
>
>
> OpenZFS? License issues? Hammer? Anything?
>
>

-- 
Lic. Manuel Solís Vázquez


Re: Support

2021-09-07 Thread Manuel Solis
So it does install all the sets, then it should ask you to reboot,
then it reboot, and the boot screen starts and then all the kernel is
loaded and the system login is shown.

do you see the boot screen??
if so, then you should type "machine video" and then again while trying the
different combinations of terminal screens.

i guess your "it goes black" is a little configuration in the video output
once it passes the boot sequence.





El mar, 7 sept 2021 a las 15:25, Peter Nicolai Mathias Hansteen (<
pe...@bsdly.net>) escribió:

> [ redirecting to misc@ which I think is more appropriate ]
>
> > 6. sep. 2021 kl. 20:45 skrev Brian O'Loughlin <
> brianolough...@protonmail.com>:
> >
> > Hi
> >
> > I am a fan of the OpenBSD philosophy and execution.
> >
> > I have tried to install OpenBSD 6.9 via USB/checksums on a Kingston120gb
> SSD and just when the sets have been installed and I am waiting to get
> started it goes blank. I am on manjaro 20.2 using firefox.
> >
> > I would appreciate some support.
>
> This sounds vaguely to me like you are trying to install OpenBSD in a
> virtual machine.
>
> If so, it would be useful to know which hypervisor and what platform —
> both the host operating system and the chosen OpenBSD platform (I am
> guessing amd64 for both, but it would be useful to get that confirmed or
> otherwise)
>
> And whether or not those assertions are true, it is crucial that you
> report as specifically as you can manage just what messages you see leading
> up to and including the point where you don’t get any further.
>
> I’m quite confident this is a solvable problem.
>
> All the best,
> Peter
>
> —
> 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.
>
>
>
>
>

-- 
Lic. Manuel Solís Vázquez


Re: Kde Plasma 5 package missing

2020-12-23 Thread Manuel Solis
Awesome, i`ve installed Lumina, thank you for the tip.


Happy holidays!

El mié, 23 dic 2020 a las 17:09, Stuart Henderson ()
escribió:

> On 2020-12-23, Manuel Solis  wrote:
> > Hello Misc,
> >
> > I am trying to instal KDE, 4 as allways or 5 if avairable, on mi Inspiron
> > 1464 laptop, since i have been using FVWM too long, im having trouble
> > looking at  the right package, could someone point me in the right
> > direction?
> >
> > I did try to install kdebase, version 3, and i gotta say its wonderful
> and
> > beautiful, but i would like to have dolphin, since the cannot coexist, i
> > would like to install a more recent version.
> > I did install dolphin and a few more version 5 packages, but i could not
> > see the main one as in version3.
> >
> > Thank you and happy holidays :D
>
> Ports has nearly all KDE5 frameworks libraries and applications but
> not the desktop environment.
>
> KDE3 is removed in -current, btw.
>
> If you're looking for a Qt-based desktop environment that's available on
> OpenBSD I think your choices are currently lxqt or lumina.
>
>
>

-- 
Lic. Manuel Solís Vázquez


Kde Plasma 5 package missing

2020-12-23 Thread Manuel Solis
Hello Misc,

I am trying to instal KDE, 4 as allways or 5 if avairable, on mi Inspiron
1464 laptop, since i have been using FVWM too long, im having trouble
looking at  the right package, could someone point me in the right
direction?

I did try to install kdebase, version 3, and i gotta say its wonderful and
beautiful, but i would like to have dolphin, since the cannot coexist, i
would like to install a more recent version.
I did install dolphin and a few more version 5 packages, but i could not
see the main one as in version3.

Thank you and happy holidays :D


i1464$ pkg_info -Q kde
kde-dev-scripts-20.08.1
kde-dev-utils-20.08.1
kde-i18n-af-3.5.10p6
kde-i18n-ar-3.5.10p6
kde-i18n-az-3.5.10p6
kde-i18n-be-3.5.10p6
kde-i18n-bg-3.5.10p6
kde-i18n-bn-3.5.10p6
kde-i18n-br-3.5.10p6
kde-i18n-bs-3.5.10p6
kde-i18n-ca-3.5.10p6
kde-i18n-cs-3.5.10p6
kde-i18n-csb-3.5.10p6
kde-i18n-cy-3.5.10p6
kde-i18n-da-3.5.10p6
kde-i18n-de-3.5.10p6
kde-i18n-el-3.5.10p6
kde-i18n-en_GB-3.5.10p6
kde-i18n-eo-3.5.10p6
kde-i18n-es-3.5.10p6
kde-i18n-et-3.5.10p6
kde-i18n-eu-3.5.10p6
kde-i18n-fa-3.5.10p6
kde-i18n-fi-3.5.10p6
kde-i18n-fr-3.5.10p6
kde-i18n-fy-3.5.10p6
kde-i18n-ga-3.5.10p6
kde-i18n-gl-3.5.10p6
kde-i18n-he-3.5.10p6
kde-i18n-hi-3.5.10p6
kde-i18n-hr-3.5.10p6
kde-i18n-hu-3.5.10p6
kde-i18n-is-3.5.10p6
kde-i18n-it-3.5.10p6
kde-i18n-ja-3.5.10p6
kde-i18n-kk-3.5.10p6
kde-i18n-km-3.5.10p6
kde-i18n-ko-3.5.10p6
kde-i18n-lt-3.5.10p6
kde-i18n-lv-3.5.10p6
kde-i18n-mk-3.5.10p6
kde-i18n-mn-3.5.10p6
kde-i18n-ms-3.5.10p6
kde-i18n-nb-3.5.10p6
kde-i18n-nds-3.5.10p6
kde-i18n-nl-3.5.10p6
kde-i18n-nn-3.5.10p6
kde-i18n-pa-3.5.10p6
kde-i18n-pl-3.5.10p6
kde-i18n-pt-3.5.10p6
kde-i18n-pt_BR-3.5.10p6
kde-i18n-ro-3.5.10p6
kde-i18n-ru-3.5.10p6
kde-i18n-rw-3.5.10p6
kde-i18n-se-3.5.10p6
kde-i18n-sk-3.5.10p6
kde-i18n-sl-3.5.10p6
kde-i18n-sr-3.5.10p6
kde-i18n-sr@Latn-3.5.10p6
kde-i18n-ss-3.5.10p6
kde-i18n-sv-3.5.10p6
kde-i18n-ta-3.5.10p6
kde-i18n-te-3.5.10p6
kde-i18n-tg-3.5.10p6
kde-i18n-th-3.5.10p6
kde-i18n-tr-3.5.10p6
kde-i18n-uk-3.5.10p6
kde-i18n-uz-3.5.10p6
kde-i18n-uz@cyrillic-3.5.10p6
kde-i18n-vi-3.5.10p6
kde-i18n-wa-3.5.10p6
kde-i18n-zh_CN-3.5.10p6
kde-i18n-zh_TW-3.5.10p6
kde-shared-data-4.14.3p4 (installed)
kde3-langlist-3.5.10p4 (installed)
kde3-locale-3.5.10p7 (installed)
kde3-locale-en_US-3.5.10p8 (installed)
kdeaccessibility-3.5.10p27
kdebase-3.5.10p61
kdebugsettings-20.08.1
kdeclarative-5.73.0 (installed)
kdeconnect-kde-1.4p0
kded-5.73.0
kdeedu-data-20.08.1
kdegames-3.5.10p23
kdegraphics-mobipocket-kf5-20.08.1
kdegraphics-thumbnailers-kf5-20.08.1
kdelibs-3.5.10p52 (installed)
kdelibs4support-5.73.0
kdenetwork-filesharing-kf5-20.08.1
kdenlive-20.08.1
kdepim-addons-20.08.1
kdepim-apps-libs-20.08.1
kdepim-runtime-kf5-20.08.1
kdesamba-3.5.10p30
kdesdk-kioslaves-20.08.1
kdesdk-thumbnailers-20.08.1
kdesignerplugin-5.73.0
kdesu-5.73.0
kdevelop-5.6.0
kdewebkit-5.73.0
libkdegames-kf5-20.08.1
libkdepim-20.08.1
libreoffice-kde-7.0.1.2v0
libsigrokdecode-0.5.3p0

i1464$ pkg_info -Q plasma
plasma-framework-5.73.0 (installed)


OpenBSD 6.8 (GENERIC.MP) #2: Sat Dec  5 07:17:48 MST 2020
r...@syspatch-68-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/
GENERIC.MP
real mem = 4064165888 (3875MB)
avail mem = 3925954560 (3744MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xf0b90 (52 entries)
bios0: vendor Dell Inc. version "A06" date 02/26/2010
bios0: Dell Inc. Inspiron 1464
acpi0 at bios0: ACPI 3.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET MCFG APIC BOOT SLIC OSFR SSDT
acpi0: wakeup devices P0P2(S4) P0P1(S4) EHC1(S3) RP01(S4) PXSX(S4) RP02(S4)
PXSX(S4) RP06(S4) PXSX(S4) LID0(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimcfg0 at acpi0
acpimcfg0: addr 0xe000, bus 0-255
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz, 2128.36 MHz, 06-25-02
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,MELTDOWN
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 132MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1, IBE
cpu1 at mainbus0: apid 4 (application processor)
cpu1: Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz, 2128.02 MHz, 06-25-02
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,MELTDOWN
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 2, package 0
cpu2 at mainbus0: apid 1 (application 

Re: Bootable installation partition on a hard drive?

2020-09-15 Thread Manuel Solis
You could mount a special partition /altroot so you could be prepared in
case something wrong happens, and the rest of the disk would be free for
your backups.

https://www.openbsd.org/faq/faq14.html#altroot

El lun., 7 sept. 2020 a las 18:58, Walt ()
escribió:

> ‐‐‐ Original Message ‐‐‐
> On Monday, September 7, 2020 4:48 AM, Stuart Henderson <
> s...@spacehopper.org> wrote:
>
> > On 2020-09-07, tom ryan tomry...@gmail.com wrote:
> >
> > > On 7/9/20 5:07 pm, Walt wrote:
> > >
> > > > I have a new server on order that should arrive in a few days.
> > > > It's intended purpose is to replace my current firewall. It has no CD
> > > > and so I'll make and use a bootable flash drive as described in the
> > > > Installation Guide section of the FAQ.
> > > > The server will have a second ssd drive and so I got to wondering
> > > > if it might be useful to create a bootable partition on the drive and
> > > > install the installation on it.
> > > > I'm probably not going to do this but I am curious about whether it
> > > > would work very well. I'll probably install a second copy of the OS
> on
> > > > the second drive and mirror all configuration files to it so that if
> > > > anything happens to the main drive, I can turn around and boot from
> the
> > > > second and be up and running almost immediately.
> >
> > It's possible, but it's a challenge to keep them in sync.
> >
> > > Maybe you want to just run them in a softraid mirror...
> > > https://www.openbsd.org/faq/faq14.html#softraidDI
> >
> > This helps with some types of problem (drive failure), but doesn't help
> > with fat-fingered commands or bad upgrades that periodic or manual syncs
> > would protect against.
> >
> > My suggestions would be to keep the config files in a management system
> > of some sort. Whether that's a full-blown config management system like
> > ansible/salt, one of the simpler tools like rset, judo, rdist, or even
> > just commiting config files directly to a version control repository,
> > they will all help get a system back up and running much more quickly.
> > Keeping config changes to the minimum necessary helps too of course.
>
> My primary reason for the second hard drive is to use faubackup to make
> copies of /etc and /home to the second hard drive.  I will have a 1 TB
> drive on the new machine and so I will have plenty of room for an extra
> bootable copy of the OS on it.
>
> Also, I keep copies of all the configuration files in a user directory and
> make my changes there instead of /etc and /etc/sshd and then use a makefile
> to copy the individual configuration files as necessary to /etc and
> elsewhere. This makes it particularly easy to replace one computer with
> another with a fresh copy of OpenBSD.
>
> Walt
>
>

-- 
Lic. Manuel Solís Vázquez


Re: how to mount phone?

2020-07-15 Thread Manuel Solis
Hello,

If you have an Android phone, you could install the app "termux"

Within the app you could "pkg add rsync" and then you could share all the stuff 
you want in a wireless, and fancy, way.

I think there is a similar termux app in iphone too.

Best regards

⁣Get BlueMail for Android ​

On Jul 13, 2020, 16:51, at 16:51, Justin Muir  wrote:
>Hi,
>
>Just wishing to mount my phone to access photos.
>
>Here's the output from dmesg:
>
>ugen0 at uhub0 port 3 "Alcatel U50? Alcatel U50?" rev 2.00/3.10 addr 2
>
>Any ideas on how this might be mounted??
>
>
>tia!


Re: texlive_texmf-full package broken on cdn.openbsd.org

2020-01-29 Thread Manuel Solis
Thank you Mr Espie,

I did change the /etc/installurl to the Dallas Mirror and it worked,
it seems that it would be like you said, i did try in another laptop
and i have no trouble at all using the default settings (cdn.openbsd.org)
So false alarm, sorry

I would like to thank you all for the awesome work you do.

Have a great day.


El mié., 29 ene. 2020 a las 9:46, Marc Espie () escribió:

> On Tue, Jan 28, 2020 at 05:05:51PM -0600, Manuel Solis wrote:
> > Hello Misc,
> >
> > Just to confirm that the package textlive_texmf-full is broken on
> > cdn.openbsd and cloudfare.cdn.openbsd
> >
> > Error:
> > doas pkg_add textlive_texmf-full
> > quirks-3.182 signed on 2020-01-25T17:59Z
> >
> https://cloudfare.cdn.openbsd.org/pub/OpenBSD/6.6/packages/amd64/textlive_texmf-full-2018.tgz
> :
> > ftp: SSL write error: handshake failed: unexpected EOF
> > signify: gzheader truncated
> > Couldn't install texlive_texmf-full-2018
> >
> > Using release 6.6 with all the patches thanks to syspatch.
>
> Try with http instead of https ?
>
> Packages are independently signed anyway, so it doesn't give you anything
> in term of package install security.
>


-- 
Lic. Manuel Solís Vázquez


texlive_texmf-full package broken on cdn.openbsd.org

2020-01-28 Thread Manuel Solis
Hello Misc,

Just to confirm that the package textlive_texmf-full is broken on
cdn.openbsd and cloudfare.cdn.openbsd

Error:
doas pkg_add textlive_texmf-full
quirks-3.182 signed on 2020-01-25T17:59Z
https://cloudfare.cdn.openbsd.org/pub/OpenBSD/6.6/packages/amd64/textlive_texmf-full-2018.tgz:
ftp: SSL write error: handshake failed: unexpected EOF
signify: gzheader truncated
Couldn't install texlive_texmf-full-2018

Using release 6.6 with all the patches thanks to syspatch.

I actually could install it using https://mirror.esc7.net/pub/OpenBSD
so maybe they are just broken there.

I hope this information helps.

Thank you.

Manuel


Known info

2019-12-05 Thread Manuel Solis
Dear devs,

You are awesome!

>From @qualys twitter:
Qualys researchers discovered an authentication-bypass vulnerability 
(CVE-2019-19521) in OpenBSD's authentication system. Special thanks to Theo de 
Raadt and the OpenBSD developers for a very quick response: they published 
patches in <40 hours. qualys.com/2019/12/04/cve…

you dont just submits patches and enhacements, also you make us feel safe and 
happy in a world full of wrong aproachings intended and unintended.

And i thank you for that.

Happy december

Manuel




Re: When will be created a great desktop experience for OpenBSD?

2019-10-24 Thread Manuel Solis
Hello Ropers

I do use it to the point that i can not stand another WM,
to answer your question: you could launch apps by
(a) installing dmenu(1)
(b) $firefox &
(c) i kind of wrote a script that does what dmenu but using sh.
(d) configuring /.fvwmrc to use shortcuts or a menu. (
https://github.com/solisman/termenu)

be my guest to try it (or not)



 # .fvwmrc - fv window manager configuration script
 # Manuel Solis, 24.04.2019
 # This config file is based on Version: Ingo Schwarze, 22.11.2010
 #and the bare bones sample .fvwm2rc file for fvwm-2
 # +++ Key bindings added for window organization and navigation
 # Note: this config file invoques base and a few third party tools,
 #   Consider run pkg_add ImageMagick,transset-df

 
 # standard settings
 
 # paths
 ModulePath /usr/X11R6/lib/X11/fvwm
 PixmapPath /usr/X11R6/include/X11/pixmaps
 IconPath   /usr/X11R6/include/X11/bitmaps

 # screens
 EdgeResistance 250 10
 EdgeScroll 0 0
 DeskTopSize 3x3

 # windows
 ColormapFocus FollowsMouse
 WindowFont -adobe-times-bold-r-*-*-14-*-*-*-*-*-*-*
 IconFont -adobe-Inconsolata-bold-r-*-*-10-*-*-*-*-*-*-*
 HilightColor white navy

 # General style options
 Style "*"   NoTitle, \
FocusFollowsMouse, \
MWMFunctions, MWMDecor, HintOverride, \
DecorateTransient, NoPPosition, \
BorderWidth 7, HandleWidth 7, \
Icon page.xpm, IconBox -70 1 -1 -140, IconFill t r, \
SmartPlacement, SloppyFocus, \
ForeColor White, BackColor black
 MenuStyle "*"  fvwm, ActiveFore white, Foreground white, Background black,
HilightBack blue

 
 # Styles for applications
 
 Style "Fvwm*"Sticky, WindowListSkip, BorderWidth 2,
CirculateSkipIcon, CirculateSkip
 Style "XTerm"   Icon xterm.xpm, SloppyFocus, IconBox -70 1 -1 -140
 Style "*lock"   NoHandles, Sticky, WindowListSkip, StaysOnTop
 Style "FvwmPager"   StaysOnTop,WindowListSkip, CirculateSkipIcon,
CirculateSkip
 Style "FvwmButtons" Icon toolbox.xpm, ClickToFocus
 Style "xconsole"Icon rterm.xpm, WindowListSkip, CirculateSkipIcon,
CirculateSkip
 Style "termbar" NoTitle, NoHandles, WindowListSkip, StaysOnTop,
Sticky, CirculateSkipIcon, CirculateSkip
 Style "termenu" NoTitle, NoHandles, WindowListSkip, StaysOnTop,
Sticky, CirculateSkipIcon, CirculateSkip

 
 # Place apps in pager
 
 Style "*Xfe*"   StartsOnPage 0 1
 Style "*Chromi*"   StartsOnPage 0 1
 Style "Mozilla Firefox" StartsOnPage 1 1
 Style "*Iridium"   StartsOnPage 1 2
 Style "*LibreOf*"   StartsOnPage 2 0
 Style "*GNU Ima*"   StartsOnPage 2 1
 Style "*Thunderbird*" StartsOnPage 2 1

 
 # pager
 
 *FvwmPagerFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
 *FvwmPagerBack #2d2d2d
 *FvwmPagerFore white
 *FvwmPagerHilight darkblue
 *FvwmPagerGeometry 80x60-3-35 #80x60-1-1
 *FvwmPagerLabel 0 "OpenBSD"
 *FvwmPagerSmallFont 5x8

 
 # menus
 

 AddToMenu window "window" Title
 + "move%jmove.xpm%" Move
 + "resize%jresize.xpm%" Resize
 + "maximize%mini.maximize-horiz.xpm%" Maximize
 + "raise%jraise.xpm%"   Raise
 + "lower%jlower.xpm%" Lower
 + "iconify%mini.iconify.xpm%" Iconify
 + "stick%mini.stick.xpm%" Stick
 + "" Nop
 + "list%jwindow.xpm%" WindowList
 + "" Nop
 + "refresh%mini.refresh.xpm%" RefreshWindow
 + "close%mini.winXX-close.xpm%" Close
 + "delete%mini.cut.xpm%" Delete
 + "destroy%mini.destroy.xpm%" Destroy

 AddToMenu system "system" Title
 + "list%jwindow.xpm%" WindowList
 + "Xterm%mini.xterm.xpm%" Exec /usr/X11R6/bin/xterm
 + "xlock%mini.xlock.xpm%" Exec exec xlock -mode blank
 + "restart%mini.excl.xpm" Restart fvwm
 + "quit%mini.exit.xpm%" Quit

 
 # mouse
 
 ClickTime 750
 # Alt + left click to move window
 Mouse 0 W M Move-or-Raise

 # on the wallpaper
 Mouse 1 R A Nop
 Mouse 3 R   A  Menu system Nop

 # for other parts of th

Re: Nobody said it yet...

2019-10-18 Thread Manuel Solis
Better late than never,

Happy birthday and all the appreciation to the developers and community of this 
amazing OpenBSD’s culture and philosophy around it!


> El 18 oct 2019, a la(s) 21:03, Theo de Raadt  escribió:
> 
> STeve Andre'  wrote:
> 
>> Happy birthday to OpenBSD!
> 
> It forgot.
> 
> In my mind, I've been at this a lot longer since I was also initial
> NetBSD.
> 
> 
> 
> 



FVWM basic config file

2018-11-25 Thread Manuel Solis
Hello Misc,

I have read some post about getting along with the default WM, i mean
complaining about configuring it, saying that the man page its dificult and
stuff, and then saddly going to another WM.

I my OpenBSD era (from 60 to date) i was using cwm but wondering why they
say that Theo uses fvwm, so i wondered that maybe it is worth it to try.

So i attach my .fvwmrc and i hope that will help someone to start tweaking
it and get along with it and be happy with it.

I think that the config file is basic enough to start (for me it helped to
migrate from cwm) and has a good bindings that one might find useful as:
- Control + arrow navigation between pages
- Control + Meta + number to move window to page (i couldnt make it
dinamically so it could work if its more than 9 pages, sorry about that)
- Shift + Left/right to circulate focus between open windows (Like alt tab)
- Control + Meta + arrows to snap window to left, right, maximize and
iconify (that is my favorite)
- Meta + d  dmenu (pkg_add dmenu)
- Meta + i  screenshot ( pkg_add ImageMagick)
- Meta + x close window
- Control + Meta + p  power off
- Meta + t  make it transparent (pkg_add transset-df)
- Meta + m  move window
- It uses feh to set the wallpaper
- It uses conky for basic info
- It uses dmenu to fast start applications.

I am eager to share it here since it works for the fvwm in base 64, i
noticed that there are plenty config files online but they are meant for a
newer fvwm that is not in OpenBSD and i couldnt make it work, even i was
tempted to post a mail asking for Theo´s config file but i had the
impression that the answer would be as fun and educational as always.

Again, i hope that it helps.

Manuel Solis



# This is a customized file based on the bare bones sample
.fvwm2rc/system.fvwm2rc
# file for fvwm-2. It is the combination of hints for the other .fvwm2rc
files
# samples, as well as pointers from the various links on the official fvwm
web
# page (see the FAQ). For questions ask man page.

 Key Bindings

# some simple default mouse bindings:
#   for the root window:
Mouse1RANop
Mouse 3R   A   Menu RootMenu Nop
#   for the title bar buttons:
Mouse 01A  Menu Window-Ops2 Close
Mouse 02A Maximize-Func
Mouse 04A Iconify
#   for other parts of the window/borders/icons:
Mouse 1FAResize-or-Raise
Mouse 1TSAMove-or-Raise
Mouse 1IAMove-or-Iconify
Mouse 2IAIconify
Mouse 2FSTAMenu Window-Ops2 Nop
Mouse 3TSIFARaiseLower

# some simple default key bindings:
# Arrow Keys
# press arrow + control anywhere, and scroll by 1 page
Key LeftACScroll -100 0
Key RightACScroll +100 +0
Key UpACScroll +0   -100
Key DownACScroll +0   +100
# press arrow + Meta anywhere, and Snap Right/Left, Maximize or iconify
Key LeftACMLeftSnap
Key RightACMRightSnap
KeyUpACMMaximize 100 97
KeyDownACMIconify

# Shift + arrow to circulate focos between programs
# Similar to Alt + Tab
Key Left ASPrev [*] FocusAndWarp
Key RightASNext [*] FocusAndWarp
KeySuper_RAAWindowList

#  Alt - Tab function to circulate focus between programs
#Key Tab  A   M Next [*] FocusAndWarp

# Key bindings
# Press Meta + Keys bindings
Key Return AMExec /usr/X11R6/bin/xterm
Key dAMExec /usr/local/bin/dmenu_run
Key iAMExec /usr/local/bin/import -window root
$HOME/screenshot.jpg
KeykAMExec setxkbmap -layout us
KeylAMExec setxkbmap -layout es
KeymAMMove #Exec /usr/X11R6/bin/xterm -e man fvwm
Key tAMExec /usr/local/bin/transset-df -p -t 0.6
#transparent window
KeyxWMDelete
KeyxIMDestroy
KeyrACMRestart /usr/X11R6/bin/fvwm
# Press Meta + Ctrl + Keys bindings
KeypACMExec /usr/bin/doas halt -p
# Keyboard accelerators
Key F1AMMenu RootMenu
Key F2AMMenu Window-Ops
Key F3AMWindowList FvwmWinList
Key F4AMIconify
Key F5AMMove
Key F6AMResize
#Key F7AMCirculateUp
#Key F8AMCirculateDown

Key1WCMMuevePagina 0 0
Key2WCMMuevePagina 1 0
Key3WCMMuevePagina 2 0
Key4WCMMuevePagina 0 1
Key5WCMMuevePagina 1 1
Key6WCMMuevePagina 2 1
Key7WCMMuevePagina 0 2
Key8WCMMuevePagina 1 2
Key9WCMMuevePagina 2 2


 Global Settings

# be sure to customize these paths for your installation:
ModulePath

Re: XORG Doesnt start after syspatch

2018-11-22 Thread Manuel Solis
Thank you all, it worked!

Sorry for the trouble, i will search more next time.

El mié., 21 nov. 2018 a las 19:14,  escribió:

> If you are using startx, it won't work anymore after 001 security fix.
> Please switch to using xenodm(1).
>
> There were a couple of discussions on this list about this, you can search
> archives for more details.
>
> On Wed, Nov 21, 2018, at 4:12 PM, Manuel Solis wrote:
> > Hello Misc.
> >
> > I have installed 64 in a macbook and it works great and out of the box,
> > however i notice that after i run syspatch and reboot, xorg doesn´t start
> > at all.
> >
> > I have done several tries like install64 - syspatch - error ; install64
> > -fw_update -syspatch - error;
> >
> > May i missing some sysctl trick ?
> >
> > Thank you all.
> >
> > Manuel
> >
> > ===
> > === Xorg.0.log after syspatch with Xorg not working ===
> > ===
> > [39.473]
> > X.Org X Server 1.19.6
> > Release Date: 2017-12-20
> > [39.536] X Protocol Version 11, Revision 0
> > [39.562] Build Operating System: OpenBSD 6.4 amd64
> > [39.570] Current Operating System: OpenBSD mac.book 6.4
> GENERIC.MP#364
> > amd64
> > [39.579] Build Date: 25 October 2018  11:39:05PM
> > [39.588]
> > [39.596] Current version of pixman: 0.34.0
> > [39.605] Before reporting problems, check http://wiki.x.org
> > to make sure that you have the latest version.
> > [39.605] Markers: (--) probed, (**) from config file, (==) default
> > setting,
> > (++) from command line, (!!) notice, (II) informational,
> > (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> > [39.639] (==) Log file: "/home/msolis/.local/share/xorg/Xorg.0.log",
> > Time: Wed Nov 21 17:44:59 2018
> > [39.649] (==) Using system config directory
> > "/usr/X11R6/share/X11/xorg.conf.d"
> > [39.650] (==) No Layout section.  Using the first Screen section.
> > [39.650] (==) No screen section available. Using defaults.
> > [39.650] (**) |-->Screen "Default Screen Section" (0)
> > [39.650] (**) |   |-->Monitor ""
> > [39.650] (==) No monitor specified for screen "Default Screen
> Section".
> > Using a default monitor configuration.
> > [39.650] (==) Automatically adding devices
> > [39.650] (==) Automatically enabling devices
> > [39.650] (==) Not automatically adding GPU devices
> > [39.650] (==) Max clients allowed: 256, resource mask: 0x1f
> > [39.654] (==) FontPath set to:
> > /usr/X11R6/lib/X11/fonts/misc/,
> > /usr/X11R6/lib/X11/fonts/TTF/,
> > /usr/X11R6/lib/X11/fonts/OTF/,
> > /usr/X11R6/lib/X11/fonts/Type1/,
> > /usr/X11R6/lib/X11/fonts/100dpi/,
> > /usr/X11R6/lib/X11/fonts/75dpi/
> > [39.654] (==) ModulePath set to "/usr/X11R6/lib/modules"
> > [39.654] (II) The server relies on wscons to provide the list of
> input
> > devices.
> > If no devices become available, reconfigure wscons or disable
> > AutoAddDevices.
> > [39.654] (II) Loader magic: 0x2de2fe71000
> > [39.654] (II) Module ABI versions:
> > [39.654] X.Org ANSI C Emulation: 0.4
> > [39.654] X.Org Video Driver: 23.0
> > [39.654] X.Org XInput driver : 24.1
> > [39.654] X.Org Server Extension : 10.0
> > [39.654] (WW) checkDevMem: failed to open /dev/xf86 and /dev/mem
> > (Permission denied)
> > Check that you have set 'machdep.allowaperture=1'
> > in /etc/sysctl.conf and reboot your machine
> > refer to xf86(4) for details
> > [39.654] linear framebuffer access unavailable
> > [39.654] (II) LoadModule: "glx"
> > [39.656] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
> > [39.663] (II) Module glx: vendor="X.Org Foundation"
> > [39.663] compiled for 1.19.6, module version = 1.0.0
> > [39.663] ABI class: X.Org Server Extension, version 10.0
> > [39.663] (==) Assigned the driver to the xf86ConfigLayout
> > [39.663] (EE) No drivers available.
> > [39.663] (EE)
> > Fatal server error:
> > [39.671] (EE) no screens found(EE)
> > [39.680] (EE)
> > Please consult the The X.Org Foundation support
> >  at http://wiki.x.org
> >  for help.
> > [39.688] (EE) Please also check the log f

XORG Doesnt start after syspatch

2018-11-21 Thread Manuel Solis
 Host" rev 0x09
inteldrm0 at pci0 dev 2 function 0 "Intel Iris Graphics 6100" rev 0x09
drm0 at inteldrm0
inteldrm0: msi
inteldrm0: 2560x1600, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
azalia0 at pci0 dev 3 function 0 "Intel Core 5G HD Audio" rev 0x09: msi
xhci0 at pci0 dev 20 function 0 "Intel 9 Series xHCI" rev 0x03: msi, xHCI
1.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev
3.00/1.00 addr 1
"Intel 9 Series DMA" rev 0x03 at pci0 dev 21 function 0 not configured
"Intel 9 Series SPI" rev 0x03 at pci0 dev 21 function 4 not configured
"Intel 9 Series MEI" rev 0x03 at pci0 dev 22 function 0 not configured
azalia1 at pci0 dev 27 function 0 "Intel 9 Series HD Audio" rev 0x03: msi
azalia1: codecs: Cirrus Logic CS4208
audio0 at azalia1
ppb0 at pci0 dev 28 function 0 "Intel 9 Series PCIE" rev 0xe3
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 1 "Intel 9 Series PCIE" rev 0xe3: msi
pci2 at ppb1 bus 2
"Broadcom BCM15700A2" rev 0x00 at pci2 dev 0 function 0 not configured
ppb2 at pci0 dev 28 function 2 "Intel 9 Series PCIE" rev 0xe3: msi
pci3 at ppb2 bus 3
bwfm0 at pci3 dev 0 function 0 "Broadcom BCM43602" rev 0x01: msi
ppb3 at pci0 dev 28 function 4 "Intel 9 Series PCIE" rev 0xe3: msi
pci4 at ppb3 bus 5
ppb4 at pci4 dev 0 function 0 "Intel DSL5520 Thunderbolt" rev 0x00
pci5 at ppb4 bus 6
ppb5 at pci5 dev 0 function 0 "Intel DSL5520 Thunderbolt" rev 0x00: msi
pci6 at ppb5 bus 7
"Intel DSL5520 Thunderbolt" rev 0x00 at pci6 dev 0 function 0 not configured
ppb6 at pci5 dev 3 function 0 "Intel DSL5520 Thunderbolt" rev 0x00: msi
pci7 at ppb6 bus 8
ppb7 at pci5 dev 4 function 0 "Intel DSL5520 Thunderbolt" rev 0x00: msi
pci8 at ppb7 bus 57
ppb8 at pci5 dev 5 function 0 "Intel DSL5520 Thunderbolt" rev 0x00: msi
pci9 at ppb8 bus 58
ppb9 at pci5 dev 6 function 0 "Intel DSL5520 Thunderbolt" rev 0x00: msi
pci10 at ppb9 bus 107
ppb10 at pci0 dev 28 function 5 "Intel 9 Series PCIE" rev 0xe3: msi
pci11 at ppb10 bus 4
ahci0 at pci11 dev 0 function 0 "Samsung SM951 AHCI" rev 0x01: apic 2 int
16, AHCI 1.3
ahci0: port 0: 6.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0:  SCSI3 0/direct
fixed naa.50025389
sd0: 239372MB, 512 bytes/sector, 490234752 sectors, thin
pcib0 at pci0 dev 31 function 0 "Intel 9 Series LPC" rev 0x03
ichiic0 at pci0 dev 31 function 3 "Intel 9 Series SMBus" rev 0x03: apic 2
int 18
iic0 at ichiic0
iic0: addr 0x26 00=01 12=80 16=75 26=0f 29=01 2c=ff 2d=90 2e=f0 2f=9f 31=01
3e=09 3f=1f 42=84 50=03 51=d1 52=26 54=05 58=08 60=88 63=88 f0=04 f1=0a
f2=01 f3=84 words 00=0100 01= 02= 03= 04= 05= 06=
07=
pchtemp0 at pci0 dev 31 function 6 "Intel 9 Series Thermal" rev 0x03
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns8250, no fifo
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
asmc0 at isa0 port 0x300/32: rev 2.28f628, 670 keys
vmm0 at mainbus0: VMX/EPT (using slow L1TF mitigation)
efifb at mainbus0 not configured
urtwn0 at uhub0 port 1 configuration 1 interface 0 "Realtek 802.11n WLAN
Adapter" rev 2.00/2.00 addr 2
urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R, address 74:da:38:e7:f3:a9
uhidev0 at uhub0 port 3 configuration 1 interface 0 "Broadcom Corp.
Bluetooth USB Host Controller" rev 2.01/1.61 addr 3
uhidev0: iclass 3/1, 1 report id
ukbd0 at uhidev0 reportid 1: 8 variable keys, 6 key codes
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev1 at uhub0 port 3 configuration 1 interface 1 "Broadcom Corp.
Bluetooth USB Host Controller" rev 2.01/1.61 addr 3
uhidev1: iclass 3/1, 2 report ids
ums0 at uhidev1 reportid 2: 3 buttons
wsmouse0 at ums0 mux 0
ugen0 at uhub0 port 3 configuration 1 "Broadcom Corp. Bluetooth USB Host
Controller" rev 2.01/1.61 addr 3
uhidev2 at uhub0 port 5 configuration 1 interface 0

Re: Beg for Atheros wifi driver

2018-04-24 Thread Manuel Solis
Hello Misc,

Just to close this topic,

I have just received my new usb wifi adapter, the one that Mr. Pettijohn
recommended (i orderer 4 of them just in case) and it works.

Thank you again for your kind support.

https://www.amazon.com/Edimax-EW-7811Un-150Mbps-Raspberry-Su
pports/dp/B003MTTJOY




2018-04-17 13:25 GMT-05:00 Carlos Cardenas <cardena...@gmail.com>:

> On Tue, Apr 17, 2018 at 11:11:30AM -0500, Manuel Solis wrote:
> > done :D
>
> It's an ath10k NIC.  There is no support for this NIC in tree.
>
> +--+
> Carlos
>
> >
> > Domain /dev/pci0:
> >  0:0:0: AMD AMD64 15h Root Complex
> >   0x: Vendor ID: 1022 Product ID: 1576
> >   0x0004: Command: 0004 Status: 
> >   0x0008: Class: 06 Subclass: 00 Interface: 00 Revision: 00
> >   0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line
> Size: 00
> >   0x0010: BAR empty ()
> >   0x0014: BAR empty ()
> >   0x0018: BAR empty ()
> >   0x001c: BAR empty ()
> >   0x0020: BAR empty ()
> >   0x0024: BAR empty ()
> >   0x0028: Cardbus CIS: 
> >   0x002c: Subsystem Vendor ID: 1025 Product ID: 1213
> >   0x0030: Expansion ROM Base Address: 
> >   0x0038: 
> >   0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
> >  0:1:0: ATI Carrizo
> >   0x: Vendor ID: 1002 Product ID: 9874
> >   0x0004: Command: 0007 Status: 0010
> >   0x0008: Class: 03 Subclass: 00 Interface: 00 Revision: cc
> >   0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line
> Size: 10
> >   0x0010: BAR mem prefetchable 64bit addr:
> 0xe000/0x1000
> >   0x0018: BAR mem prefetchable 64bit addr:
> 0xd080/0x0080
> >   0x0020: BAR io addr: 0x4000/0x0100
> >   0x0024: BAR mem 32bit addr: 0xd160/0x0004
> >   0x0028: Cardbus CIS: 
> >   0x002c: Subsystem Vendor ID: 1025 Product ID: 1213
> >   0x0030: Expansion ROM Base Address: fffe
> >   0x0038: 
> >   0x003c: Interrupt Pin: 01 Line: 03 Min Gnt: 00 Max Lat: 00
> >   0x0048: Capability 0x09: Vendor Specific
> >   0x0050: Capability 0x01: Power Management
> >   State: D0
> >   0x0058: Capability 0x10: PCI Express
> >   0x0100: Enhanced Capability 0x0b: Vendor-Specific
> >   0x0270: Enhanced Capability 0x19: Secondary PCIe Capability
> >   0x02b0: Enhanced Capability 0x0f: Address Translation Services
> >   0x02c0: Enhanced Capability 0x13: Page Request Interface
> >   0x02d0: Enhanced Capability 0x1b: Process Address Space ID
> >   0x00a0: Capability 0x05: Message Signalled Interrupts (MSI)
> >  0:1:1: ATI Radeon HD Audio
> >   0x: Vendor ID: 1002 Product ID: 9840
> >   0x0004: Command: 0007 Status: 0010
> >   0x0008: Class: 04 Subclass: 03 Interface: 00 Revision: 00
> >   0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line
> Size: 10
> >   0x0010: BAR mem 64bit addr: 0xd166/0x4000
> >   0x0018: BAR empty ()
> >   0x001c: BAR empty ()
> >   0x0020: BAR empty ()
> >   0x0024: BAR empty ()
> >   0x0028: Cardbus CIS: 
> >   0x002c: Subsystem Vendor ID: 1025 Product ID: 1213
> >   0x0030: Expansion ROM Base Address: 
> >   0x0038: 
> >   0x003c: Interrupt Pin: 02 Line: 04 Min Gnt: 00 Max Lat: 00
> >   0x0048: Capability 0x09: Vendor Specific
> >   0x0050: Capability 0x01: Power Management
> >   State: D0
> >   0x0058: Capability 0x10: PCI Express
> >   0x0100: Enhanced Capability 0x0b: Vendor-Specific
> >   0x00a0: Capability 0x05: Message Signalled Interrupts (MSI)
> >  0:2:0: AMD AMD64 15h Host
> >   0x: Vendor ID: 1022 Product ID: 157b
> >   0x0004: Command:  Status: 
> >   0x0008: Class: 06 Subclass: 00 Interface: 00 Revision: 00
> >   0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line
> Size: 00
> >   0x0010: BAR empty ()
> >   0x0014: BAR empty ()
> >   0x0018: BAR empty ()
> >   0x001c: BAR empty ()
> >   0x0020: BAR empty ()
> >   0x0024: BAR empty ()
> >   0x0028: Cardbus CIS: 
> >   0x002c: Subsystem Vendor ID:  Product ID: 
> >   0x0030: Expansion ROM Base Address: 
> >   0x0038: 0

Re: Beg for Atheros wifi driver

2018-04-17 Thread Manuel Solis
 Max Lat: 00
0x0048: Capability 0x09: Vendor Specific
0x0050: Capability 0x01: Power Management
State: D0
0x0058: Capability 0x10: PCI Express
Link Speed: 2.5 / 8.0 GT/s Link Width: x8 / x8
0x0100: Enhanced Capability 0x0b: Vendor-Specific
0x0270: Enhanced Capability 0x19: Secondary PCIe Capability
0x0320: Enhanced Capability 0x18: Latency Tolerance Reporting
0x00a0: Capability 0x05: Message Signalled Interrupts (MSI)



2018-04-17 11:03 GMT-05:00 Base Pr1me <tlemery5...@gmail.com>:

> Verbose output with pcidump -v would give you the vendor and product ids,
> which would give you more information about the "unknown" device.
>
> On Tue, Apr 17, 2018 at 9:40 AM, Manuel Solis <lossoli...@gmail.com>
> wrote:
>
>> Thank you again,
>>
>> As i said, i am ordering the wifi usb adapters that you suggested,
>> but for the record, this are the outputs from lspci and pcidump
>>
>> pcidump
>> Domain /dev/pci0:
>>  0:0:0: AMD AMD64 15h Root Complex
>>  0:1:0: ATI Carrizo
>>  0:1:1: ATI Radeon HD Audio
>>  0:2:0: AMD AMD64 15h Host
>>  0:2:2: AMD AMD64 15h PCIE
>>  0:2:3: AMD AMD64 15h PCIE
>>  0:3:0: AMD AMD64 15h Host
>>  0:3:1: AMD AMD64 15h PCIE
>>  0:8:0: AMD AMD64 15h PSP 2.0
>>  0:9:0: AMD AMD64 15h Host
>>  0:9:2: AMD AMD64 15h HD Audio
>>  0:16:0: AMD Carrizo xHCI
>>  0:17:0: AMD Carrizo AHCI
>>  0:18:0: AMD Carrizo USB2
>>  0:20:0: AMD Carrizo SMBus
>>  0:20:3: AMD Carrizo LPC
>>  0:24:0: AMD AMD64 15h Link Cfg
>>  0:24:1: AMD AMD64 15h Address Map
>>  0:24:2: AMD AMD64 15h DRAM Cfg
>>  0:24:3: AMD AMD64 15h Misc Cfg
>>  0:24:4: AMD AMD64 15h CPU Power
>>  0:24:5: AMD AMD64 15h Misc Cfg
>>  1:0:0: Realtek RTL8411B Card Reader
>>  1:0:1: Realtek 8168
>>  2:0:0: Atheros unknown
>>  3:0:0: ATI unknown
>>
>>
>> lspci from pciutils
>>
>> 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1576
>> 00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
>> Carrizo (rev cc)
>> 00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini
>> HDMI/DP
>> Audio
>> 00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157b
>> 00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 157c
>> 00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 157c
>> 00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157b
>> 00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 157c
>> 00:08.0 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device
>> 1578
>> 00:09.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157d
>> 00:09.2 Audio device: Advanced Micro Devices, Inc. [AMD] Device 157a
>> 00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI
>> Controller (rev 20)
>> 00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA
>> Controller [AHCI mode] (rev 49)
>> 00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI
>> Controller (rev 49)
>> 00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller
>> (rev
>> 4a)
>> 00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev
>> 11)
>> 00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1570
>> 00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1571
>> 00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1572
>> 00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1573
>> 00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1574
>> 00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1575
>> 01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B
>> PCI Express Card Reader (rev 01)
>> 01:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd.
>> RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
>> 02:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless
>> Network Adapter (rev 32)
>> 03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Lexa
>> PRO
>> [Radeon RX 550] (rev c0)
>>
>>
>>
>> Have a great day,
>>
>>
>>
>>
>> 2018-04-16 7:27 GMT-05:00 Paul de Weerd <we...@weirdnet.nl>:
>>
>> > On Mon, Apr 16, 2018 at 01:05:37PM +1000, Stuart Longland wrote:
>> > | On 16/04/18 08:08, Manuel Solis wrote:
>> > | > Sorry for that, i havent figure it out, maybe i should reinstall
>> > windows to
>> >

Re: Beg for Atheros wifi driver

2018-04-17 Thread Manuel Solis
Thank you again,

As i said, i am ordering the wifi usb adapters that you suggested,
but for the record, this are the outputs from lspci and pcidump

pcidump
Domain /dev/pci0:
 0:0:0: AMD AMD64 15h Root Complex
 0:1:0: ATI Carrizo
 0:1:1: ATI Radeon HD Audio
 0:2:0: AMD AMD64 15h Host
 0:2:2: AMD AMD64 15h PCIE
 0:2:3: AMD AMD64 15h PCIE
 0:3:0: AMD AMD64 15h Host
 0:3:1: AMD AMD64 15h PCIE
 0:8:0: AMD AMD64 15h PSP 2.0
 0:9:0: AMD AMD64 15h Host
 0:9:2: AMD AMD64 15h HD Audio
 0:16:0: AMD Carrizo xHCI
 0:17:0: AMD Carrizo AHCI
 0:18:0: AMD Carrizo USB2
 0:20:0: AMD Carrizo SMBus
 0:20:3: AMD Carrizo LPC
 0:24:0: AMD AMD64 15h Link Cfg
 0:24:1: AMD AMD64 15h Address Map
 0:24:2: AMD AMD64 15h DRAM Cfg
 0:24:3: AMD AMD64 15h Misc Cfg
 0:24:4: AMD AMD64 15h CPU Power
 0:24:5: AMD AMD64 15h Misc Cfg
 1:0:0: Realtek RTL8411B Card Reader
 1:0:1: Realtek 8168
 2:0:0: Atheros unknown
 3:0:0: ATI unknown


lspci from pciutils

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1576
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Carrizo (rev cc)
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP
Audio
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157b
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 157c
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 157c
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157b
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 157c
00:08.0 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device
1578
00:09.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157d
00:09.2 Audio device: Advanced Micro Devices, Inc. [AMD] Device 157a
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI
Controller (rev 20)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA
Controller [AHCI mode] (rev 49)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI
Controller (rev 49)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev
4a)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev
11)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1570
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1571
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1572
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1573
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1574
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1575
01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B
PCI Express Card Reader (rev 01)
01:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
02:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless
Network Adapter (rev 32)
03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Lexa PRO
[Radeon RX 550] (rev c0)



Have a great day,




2018-04-16 7:27 GMT-05:00 Paul de Weerd <we...@weirdnet.nl>:

> On Mon, Apr 16, 2018 at 01:05:37PM +1000, Stuart Longland wrote:
> | On 16/04/18 08:08, Manuel Solis wrote:
> | > Sorry for that, i havent figure it out, maybe i should reinstall
> windows to
> | > get the info
> | >  My bad.
> |
> | Does `lspci` work on OpenBSD?  Failing that, boot a Linux LiveCD and run
> | `lspci` there, it'll tell you the chipset; `dmesg` might give you some
> | more clues.
>
> No need to run Linux to run lspci, it's available through the pciutils
> packages (doas pkg_add pciutils).  But base OpenBSD has pcidump(8),
> which gives quite similar info.
>
> | `lsusb` if it's a USB wifi chip.
>
> Or try usbdevs(8), also in base OpenBSD.
>
> Your operating system of choice comes with a pretty complete toolset.
>
> Paul 'WEiRD' de Weerd
>
> --
> >[<++>-]<+++.>+++[<-->-]<.>+++[<+
> +++>-]<.>++[<>-]<+.--.[-]
>  http://www.weirdnet.nl/
>
>


-- 
Lic. Manuel Solís Vázquez


Re: Beg for Atheros wifi driver

2018-04-15 Thread Manuel Solis
I was repplying to mr Jeff when all the messages arrived,


Thank you all for your great response,
I will try all the adapters you suggested.

Have a nice day :)


(Was a funny one the "maybe fw_update is missing", but you are right, if
its not specified maybe it has not been done yet, my bad :D )


Re: Beg for Atheros wifi driver

2018-04-15 Thread Manuel Solis
Thank you for your answer mr Jeff

El dom., 15 de abr. de 2018 13:32, Jeffrey Joshua Rollin <
jeff.rol...@gmail.com> escribió:

> Depending on the chipset (and you don't mention which it is),
>

Sorry for that, i havent figure it out, maybe i should reinstall windows to
get the info
 My bad.

Since the time i wrote you guys i did tried with freebsd and devuan but
they did not recognized it either, maybe i should go to the infamous
Fedora,Ubuntu or back to windows to get the chipset info.


the

> system may recognise and download the firmware for the card, if you plug
> in an ethernet cable before the first boot (after install). If you've
> already installed it, run fw_update(1) as root.
>

Sorry for not been specific, i already done that, i have a panasonic cf-30
with iwn and a samsung with athn,
But in my two last laptops (the lenovo and these acer) do not work as
smooth as in the others.




> Also, not sure why you would be warned to avoid Intel wifi chipsets, as
> OpenBSD includes support for several in (at least) two drivers: this laptop
> I'm typing on requires the iwn(4) driver, and my other one requires iwm(4),
> but as of 6.2 both work perfectly - after installation with an ethernet
> cable.
>

Again my bad, i should mention that when i bought the Lenovo i was heading
for a thinkpad since the legends says that devs use them,
When i realiced that did not work i found the Acer with two main
configurations: amd / radeon / ath and intel / nvidia / (do not wich wifi)
so i did choose the AMD thinking in avoid a future graphics problems.




> If you don't have one, could you beg or borrow one from a friend? If the
> wifi works, you would literally only need it to download the drivers and
> then can give it back. (I'd be happy to oblige, but I'm on the other side
> of the Pond.)
>

I did :(
I even have a cementery of old laptops where i took sometimes hard disks,
rams and internals wifi but they happend not to be in the size specs :(


I know that it may sound a very dummy question at first, but i had tried
(in my limited knowledge)

So instead of guessing my chipset i again ask you to sell me any wifi usb
adapter that you have or tell me wich, i don know, ebay or amazon item that
i should buy,

Since i work in field i depend of the wifi for common stuff like mails and
so but i am really happy with OpenBSD and it would be great to get rid of
these problem,
But since i already bougth barely all the wifi usb adapters of my local
stores and two laptops, my wife certainly would punch me if i buy another
with no success.

Thank you all :)




> Jeff.
>
> On 15 April 2018 at 17:37, Manuel Solis <lossoli...@gmail.com> wrote:
>
>> Dear Misc,
>>
>> Could you please add support for the Atheros wifi card?
>>
>> Sorry sorry and thousands sorrys for asking, but i am a happy ever after
>> OpenBSD user,
>> i had it installed since 6.0 in all my work and personal computers with no
>> problem at all,
>> but i had to get a new computer this year so i got a Lenovo computer, and
>> the wifi card was not supported,
>> so i bought a couple (three!) wifi usb adapters in local stores and they
>> were not supported,
>> then i ordered an internal wifi card and was not supported,
>> then i was in Wallmart in United States and asked you about buying a
>> Netgear wifi usb and mr Stefan kindly save me from buying it because was
>> not supported,
>> then i remembered the "dont buy cheap wifi cards" from the FAQ,
>> so i ordered an ACER Nitro 5 AMD / Radeon / Atheros laptop
>>
>> https://www.amazon.com/Acer-Radeon-Graphics-Windows-AN515-41-F6VS/dp/B075KN357R/ref=sr_1_1?ie=UTF8=1523810050=8-1=acer+nitro+amd
>> thinking that maybe if i avoid the intel chipset i should time be happy,
>> but the card is not supported either!!
>>
>> If someone could help i really appreciate it,
>> If you consider that is so much trouble, could someone sell me your usb
>> wifi adapter or tell me the comercial name to buy it ???
>>
>> Thank you so much for your help!
>>
>> Manuel
>>
>>
>>
>> OpenBSD 6.3 (RAMDISK_CD) #98: Sat Mar 24 14:26:39 MDT 2018
>> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
>> real mem = 7991980032 (7621MB)
>> avail mem = 7745982464 (7387MB)
>> mainbus0 at root
>> bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xe3980 (23 entries)
>> bios0: vendor Insyde Corp. version "V1.03" date 06/21/2017
>> bios0: Acer Nitro AN515-41
>> acpi0 at bios0: rev 2
>> acpi0: tables DSDT FACP UEFI MSDM ASF! BOOT HPET APIC MCFG SPCR UEFI SSDT
>> SSDT SSDT CRAT SSDT TPM2 SSDT SSDT SSDT SSDT FPDT
>> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
>> cpu0 at mainbus0: apid 1

Beg for Atheros wifi driver

2018-04-15 Thread Manuel Solis
Dear Misc,

Could you please add support for the Atheros wifi card?

Sorry sorry and thousands sorrys for asking, but i am a happy ever after
OpenBSD user,
i had it installed since 6.0 in all my work and personal computers with no
problem at all,
but i had to get a new computer this year so i got a Lenovo computer, and
the wifi card was not supported,
so i bought a couple (three!) wifi usb adapters in local stores and they
were not supported,
then i ordered an internal wifi card and was not supported,
then i was in Wallmart in United States and asked you about buying a
Netgear wifi usb and mr Stefan kindly save me from buying it because was
not supported,
then i remembered the "dont buy cheap wifi cards" from the FAQ,
so i ordered an ACER Nitro 5 AMD / Radeon / Atheros laptop
https://www.amazon.com/Acer-Radeon-Graphics-Windows-AN515-41-F6VS/dp/B075KN357R/ref=sr_1_1?ie=UTF8=1523810050=8-1=acer+nitro+amd
thinking that maybe if i avoid the intel chipset i should time be happy,
but the card is not supported either!!

If someone could help i really appreciate it,
If you consider that is so much trouble, could someone sell me your usb
wifi adapter or tell me the comercial name to buy it ???

Thank you so much for your help!

Manuel



OpenBSD 6.3 (RAMDISK_CD) #98: Sat Mar 24 14:26:39 MDT 2018
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
real mem = 7991980032 (7621MB)
avail mem = 7745982464 (7387MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xe3980 (23 entries)
bios0: vendor Insyde Corp. version "V1.03" date 06/21/2017
bios0: Acer Nitro AN515-41
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP UEFI MSDM ASF! BOOT HPET APIC MCFG SPCR UEFI SSDT
SSDT SSDT CRAT SSDT TPM2 SSDT SSDT SSDT SSDT FPDT
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 16 (boot processor)
cpu0: AMD FX-9830P RADEON R7, 12 COMPUTE CORES 4C+8G, 2994.80 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,CPCTR,DBKP,PERFTSC,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2
cpu0: 96KB 64b/line 3-way I-cache, 32KB 64b/line 8-way D-cache, 1MB
64b/line 16-way L2 cache
cpu0: ITLB 48 4KB entries fully associative, 24 4MB entries fully
associative
cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully
associative
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, IBE
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 4 pa 0xfec0, version 21, 24 pins
, remapped to apid 4
ioapic1 at mainbus0: apid 5 pa 0xfec01000, version 21, 32 pins
, remapped to apid 5
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (GPP0)
acpiprt2 at acpi0: bus 1 (GPP1)
acpiprt3 at acpi0: bus 2 (GPP2)
acpiprt4 at acpi0: bus -1 (GPP3)
acpiprt5 at acpi0: bus -1 (GPP4)
acpiprt6 at acpi0: bus 3 (GFX0)
acpiprt7 at acpi0: bus -1 (GFX1)
acpiprt8 at acpi0: bus -1 (GFX2)
acpiprt9 at acpi0: bus -1 (GFX3)
acpiprt10 at acpi0: bus -1 (GFX4)
acpiec0 at acpi0
acpicpu at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
"PNP0C0C" at acpi0 not configured
"PNP0C0E" at acpi0 not configured
"FUJ7401" at acpi0 not configured
"PNP0C0A" at acpi0 not configured
"ACPI0003" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C0D" at acpi0 not configured
"AMD0030" at acpi0 not configured
"AMD0010" at acpi0 not configured
"ELAN0501" at acpi0 not configured
"MSFT0101" at acpi0 not configured
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "AMD AMD64 15h Root Complex" rev 0x00
vga1 at pci0 dev 1 function 0 "ATI Carrizo" rev 0xcc
vga1: aperture needed
wsdisplay1 at vga1 mux 1: console (80x25, vt100 emulation)
"ATI Radeon HD Audio" rev 0x00 at pci0 dev 1 function 1 not configured
pchb1 at pci0 dev 2 function 0 "AMD AMD64 15h Host" rev 0x00
ppb0 at pci0 dev 2 function 2 "AMD AMD64 15h PCIE" rev 0x00: msi
pci1 at ppb0 bus 1
rtsx0 at pci1 dev 0 function 0 "Realtek RTL8411B Card Reader" rev 0x01: msi
sdmmc0 at rtsx0: 4-bit, dma
re0 at pci1 dev 0 function 1 "Realtek 8168" rev 0x12: RTL8411B (0x5c80),
msi, address 98:29:a6:36:fd:ef
rgephy0 at re0 phy 7: RTL8251 PHY, rev. 0
ppb1 at pci0 dev 2 function 3 "AMD AMD64 15h PCIE" rev 0x00: msi
pci2 at ppb1 bus 2
vendor "Atheros", unknown product 0x003e (class network subclass
miscellaneous, rev 0x32) at pci2 dev 0 function 0 not configured
pchb2 at pci0 dev 3 function 0 "AMD AMD64 15h Host" rev 0x00
ppb2 at pci0 dev 3 function 1 "AMD AMD64 15h PCIE" rev 0x00: 

Re: Netgear AC6100 Wireless adapter support

2018-04-05 Thread Manuel Solis
Ok, no problem,

Please, continue saving the world one project at the time!

Thank you for answer :)

El jue., 5 de abr. de 2018 16:07, Stefan Sperling <s...@stsp.name> escribió:

> On Thu, Apr 05, 2018 at 08:59:31PM +0000, Manuel Solis wrote:
> > Since i am not a dev nor i know how to program, Mr Stefan, would you help
> > me with that?
>
> No. I am already juggling enough projects at the moment. Sorry.
>


Re: Netgear AC6100 Wireless adapter support

2018-04-05 Thread Manuel Solis
Thank you for your answer, i will save that bucks.

Instead i would like to contribute to port it,

Since i am not a dev nor i know how to program, Mr Stefan, would you help
me with that?


El jue., 5 de abr. de 2018 15:48, Stefan Sperling <s...@stsp.name> escribió:

> On Thu, Apr 05, 2018 at 07:44:42PM +0000, Manuel Solis wrote:
> > First of all: contratulations for 6.3 and happy upgrades!
> >
> > Dear Misc guys,
> >
> > Do you happend to know if the NETGEAR AC6100 WIRELESS USB adapter is
> > supported by OpenBSD?
>
> Not at present.
>
> It looks like FreeBSD has code for this device in sys/dev/rtwn/rtl8812a/
> which could be ported, though.
>
> FreeBSD's rtwn driver was derived from ours and then extended with a lot
> of changes that weren't ported back to OpenBSD due to lack of developer
> time.


Netgear AC6100 Wireless adapter support

2018-04-05 Thread Manuel Solis
First of all: contratulations for 6.3 and happy upgrades!

Dear Misc guys,

Do you happend to know if the NETGEAR AC6100 WIRELESS USB adapter is
supported by OpenBSD?

Sorry for asking but i have bought 3 usb wifis adapter and 2 internal wifi
card for my lenovo g40 and none have worked. I understand the blob and
closed licenses thing, but it would be great if anyone could share your
experience with it before buying it :)

I have a panasonic cf30 and a samsung laptop working just fine, so i
suppouse with certain confidence that it is not a config issue but hw
support.

Thank you all,

Manuel


Install OpenBSD on imac - radeon drm problems

2018-02-28 Thread Manuel Solis Vazquez
Dear All,

Since i love OBSD, for instance i have it in my panasonic cf-30, dell
precision 690 and a samsung Laptop, i would like to install it in an imac
mid 2011.

The problem is that after install, the first boot always goes blank.

What happened is:
- The install goes as perfect as always.
- When it comes to the first boot, it shows the "error:
[drm:pid0:radeon_read_platform_bios] *ERROR* bios size zero or checksum
mismatch" and CRASH!!!
- I did boot -c, but it freezes on UKC> prompt and do not let me disable
the radeondrm, actually i could only shut it down by the button or power
outlet.
- I did install both 6.2 and 27feb current snapshot and it came with the
same error.

I did boot from the bsd.rd of the installer, but i couldn't save the
dmesg.txt,
as i can see the USB by "sysctl hw.disknames" and it shows something like
"sd0, rd0, sd1, sd2" (sd0 internal disk, rd0 ramdisk, sd1 usb installer,
sd2 usb to backup the dmesg)
but when i do a "disklabel sd2" it returns "no directory" so i could not do
something like:
#disklabel sd2
#mount /dev/sd2a /mnt
#dmesg > /mnt/dmesg.txt
to back up the info and add it to this mail.

Could you please give me a hint ?

Thank you so much in advance :)

Manuel Solis

PD Silly tought: can i manually install the firmware for the radeon card
from the installer shell?
like some creepy thing as: cp raderon.fw
rsd0a:/usr/AllDriverGoesHereWhenItBootsSoItWontCrashAgain/
(it is intentionally silly command but you get the idea)


Re: Best way to monitor battery status on laptop

2017-07-26 Thread Manuel Solis
Hello,

Check the apm(8) and see if it is what you need.

http://man.openbsd.org/apm.8

Manuel 

> El 26/07/2017, a las 19:11, Carlos Cardenas  escribió:
> 
> Howdy.
> 
> Been using my toughbook with OpenBSD more and more and one of the things
> that I seem to be missing is simple battery status (percent remaining,
> if it's being charged, etc...) in my tmux(1) or wmii(1) session.
> 
> Using sysctl(1) on hw.sensors.acpiac* and hw.sensors.acpibat* gets me
> the info I need.
> 
> Is there a utility in base that does this already?
> 
> Not seeing anything in the base or ports, I wrote a simple c program to
> get me the info (https://github.com/cobracmder/battery).
> 
> Would a utility of this nature be useful to other folks?
> 
> +--+
> Carlos
> 


Re: Screen brightness

2017-07-22 Thread Manuel Solis
You are welcome, Mr G

Just one more thing: you should share your dmesg in order to know all the hw 
involved in this drama :)

Manuel 

> El 22/07/2017, a las 17:30, G <gp...@mailbox.org> escribió:
> 
> Yes. Didn't work. fw_update updates vmm uvideo and iwm.
> 
> Anyway thanks for your replies!
> 
>> On 07/23/17 01:22, Manuel Solis wrote:
>> To bad, that is beyond my knowledge :s
>> 
>> Have you tried 
>> #fw_update
>> ???
>> 
>> Manuel 
>> 
>>> El 22/07/2017, a las 17:13, G <gp...@mailbox.org> escribió:
>>> 
>>> Thanks for your replies.
>>> 
>>> I get
>>> 
>>> # xrandr --query
>>> xrandr: Failed to get size of gamma for output default
>>> Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
>>> default connected 1920x1080+0+0 0mm x 0mm
>>>  1920x1080  0.00*
>>> 
>>> I don't know if its a problem with skylake since openbsd 6.1 stable
>>> doesn't support it yet.
>>> 
>>> 
>>> 
>>>> On 07/23/17 00:53, Manuel Solis wrote:
>>>> Hello again,
>>>> 
>>>> Then you should use xrandr
>>>> 
>>>> $xrandr --query
>>>> To know which devices you have
>>>> 
>>>> $xrandr --output LVDS1 --auto
>>>> To enable the monitor (LVDS1/VGA1/HDMI1)
>>>> 
>>>> $xrandr --output LVDS1 --set BACKLIGHT 50
>>>> to adjust the backlight 
>>>> 
>>>> try for instance 50, 99, 05 and see how it goes
>>>> 
>>>> 
>>>> Manuel
>>>> 
>>>>> El 22/07/2017, a las 16:20, G <gp...@mailbox.org> escribió:
>>>>> 
>>>>> Thanks for the reply but it doesn't work.
>>>>> 
>>>>>> On 07/23/17 00:11, Manuel Solis wrote:
>>>>>> Hello, Mr G
>>>>>> 
>>>>>> Try this two:
>>>>>> $xbacklight -set 99
>>>>>> 
>>>>>> $xbacklight -set 50
>>>>>> 
>>>>>> If you see something different then it works!!
>>>>>> 
>>>>>> Manuel 
>>>>>> 
>>>>>>> El 22/07/2017, a las 14:48, G <gp...@mailbox.org> escribió:
>>>>>>> 
>>>>>>> Hello.
>>>>>>> I'm trying to adjust my laptop brightness.
>>>>>>> When I'm trying to use xbacklight i get
>>>>>>> 
>>>>>>> #xbacklight
>>>>>>> 
>>>>>>> No outputs have backlight property
>>>>>>> 
>>>>>>> I search around and it seems that xbacklight is broken. I found this 
>>>>>>> email
>>>>>>> https://marc.info/?l=openbsd-bugs=149919062727474
>>>>>>> 
>>>>>>> that suggested to use wsconsctl but it doesn't seems to work. Although
>>>>>>> the value of wsconsctl display.brightness changes the screen brightness
>>>>>>> doesn't change.
>>>>>>> 
>>>>>>> # wsconsctl
>>>>>>> keyboard.type=pc-xt
>>>>>>> keyboard.bell.pitch=400
>>>>>>> keyboard.bell.period=100
>>>>>>> keyboard.bell.volume=50
>>>>>>> keyboard.bell.pitch.default=400
>>>>>>> keyboard.bell.period.default=100
>>>>>>> keyboard.bell.volume.default=50
>>>>>>> wsconsctl: Use explicit arg to view keyboard.map.
>>>>>>> keyboard.repeat.del1=400
>>>>>>> keyboard.repeat.deln=100
>>>>>>> keyboard.repeat.del1.default=400
>>>>>>> keyboard.repeat.deln.default=100
>>>>>>> keyboard.ledstate=2
>>>>>>> keyboard.encoding=us
>>>>>>> mouse.type=synaptics
>>>>>>> mouse.rawmode=0
>>>>>>> mouse.scale=1472,5670,1408,4794,0,44,76
>>>>>>> mouse1.type=usb
>>>>>>> mouse1.rawmode=1
>>>>>>> mouse1.scale=0,0,0,0,0,0,0
>>>>>>> display.type=vga-pci
>>>>>>> display.emulations=vt100
>>>>>>> display.screentypes=80x25,80x25bf,80x40,80x40bf,80x50,80x50bf
>>>>>>> display.focus=4
>>>>>>> display.brightness=100.00%
>>>>>>> display.screen_on=250
>>>>>>> display.screen_off=0
>>>>>>> display.vblank=off
>>>>>>> display.kbdact=on
>>>>>>> display.msact=on
>>>>>>> display.outact=on
>>>>>>> # wsconsctl display.brightness=20
>>>>>>> display.brightness -> 20.00%
>>>>>>> # wsconsctl
>>>>>>> keyboard.type=pc-xt
>>>>>>> keyboard.bell.pitch=400
>>>>>>> keyboard.bell.period=100
>>>>>>> keyboard.bell.volume=50
>>>>>>> keyboard.bell.pitch.default=400
>>>>>>> keyboard.bell.period.default=100
>>>>>>> keyboard.bell.volume.default=50
>>>>>>> wsconsctl: Use explicit arg to view keyboard.map.
>>>>>>> keyboard.repeat.del1=400
>>>>>>> keyboard.repeat.deln=100
>>>>>>> keyboard.repeat.del1.default=400
>>>>>>> keyboard.repeat.deln.default=100
>>>>>>> keyboard.ledstate=2
>>>>>>> keyboard.encoding=us
>>>>>>> mouse.type=synaptics
>>>>>>> mouse.rawmode=0
>>>>>>> mouse.scale=1472,5670,1408,4794,0,44,76
>>>>>>> mouse1.type=usb
>>>>>>> mouse1.rawmode=1
>>>>>>> mouse1.scale=0,0,0,0,0,0,0
>>>>>>> display.type=vga-pci
>>>>>>> display.emulations=vt100
>>>>>>> display.screentypes=80x25,80x25bf,80x40,80x40bf,80x50,80x50bf
>>>>>>> display.focus=4
>>>>>>> display.brightness=20.00%
>>>>>>> display.screen_on=250
>>>>>>> display.screen_off=0
>>>>>>> display.vblank=off
>>>>>>> display.kbdact=on
>>>>>>> display.msact=on
>>>>>>> display.outact=on
>>>>>>> 
>>>>> 
>>> 
> 



Re: Screen brightness

2017-07-22 Thread Manuel Solis
To bad, that is beyond my knowledge :s

Have you tried 
#fw_update
???

 Manuel 

> El 22/07/2017, a las 17:13, G <gp...@mailbox.org> escribió:
> 
> Thanks for your replies.
> 
> I get
> 
> # xrandr --query
> xrandr: Failed to get size of gamma for output default
> Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
> default connected 1920x1080+0+0 0mm x 0mm
>   1920x1080  0.00*
> 
> I don't know if its a problem with skylake since openbsd 6.1 stable
> doesn't support it yet.
> 
> 
> 
>> On 07/23/17 00:53, Manuel Solis wrote:
>> Hello again,
>> 
>> Then you should use xrandr
>> 
>> $xrandr --query
>> To know which devices you have
>> 
>> $xrandr --output LVDS1 --auto
>> To enable the monitor (LVDS1/VGA1/HDMI1)
>> 
>> $xrandr --output LVDS1 --set BACKLIGHT 50
>> to adjust the backlight 
>> 
>> try for instance 50, 99, 05 and see how it goes
>> 
>> 
>> Manuel
>> 
>>> El 22/07/2017, a las 16:20, G <gp...@mailbox.org> escribió:
>>> 
>>> Thanks for the reply but it doesn't work.
>>> 
>>>> On 07/23/17 00:11, Manuel Solis wrote:
>>>> Hello, Mr G
>>>> 
>>>> Try this two:
>>>> $xbacklight -set 99
>>>> 
>>>> $xbacklight -set 50
>>>> 
>>>> If you see something different then it works!!
>>>> 
>>>> Manuel 
>>>> 
>>>>> El 22/07/2017, a las 14:48, G <gp...@mailbox.org> escribió:
>>>>> 
>>>>> Hello.
>>>>> I'm trying to adjust my laptop brightness.
>>>>> When I'm trying to use xbacklight i get
>>>>> 
>>>>> #xbacklight
>>>>> 
>>>>> No outputs have backlight property
>>>>> 
>>>>> I search around and it seems that xbacklight is broken. I found this email
>>>>> https://marc.info/?l=openbsd-bugs=149919062727474
>>>>> 
>>>>> that suggested to use wsconsctl but it doesn't seems to work. Although
>>>>> the value of wsconsctl display.brightness changes the screen brightness
>>>>> doesn't change.
>>>>> 
>>>>> # wsconsctl
>>>>> keyboard.type=pc-xt
>>>>> keyboard.bell.pitch=400
>>>>> keyboard.bell.period=100
>>>>> keyboard.bell.volume=50
>>>>> keyboard.bell.pitch.default=400
>>>>> keyboard.bell.period.default=100
>>>>> keyboard.bell.volume.default=50
>>>>> wsconsctl: Use explicit arg to view keyboard.map.
>>>>> keyboard.repeat.del1=400
>>>>> keyboard.repeat.deln=100
>>>>> keyboard.repeat.del1.default=400
>>>>> keyboard.repeat.deln.default=100
>>>>> keyboard.ledstate=2
>>>>> keyboard.encoding=us
>>>>> mouse.type=synaptics
>>>>> mouse.rawmode=0
>>>>> mouse.scale=1472,5670,1408,4794,0,44,76
>>>>> mouse1.type=usb
>>>>> mouse1.rawmode=1
>>>>> mouse1.scale=0,0,0,0,0,0,0
>>>>> display.type=vga-pci
>>>>> display.emulations=vt100
>>>>> display.screentypes=80x25,80x25bf,80x40,80x40bf,80x50,80x50bf
>>>>> display.focus=4
>>>>> display.brightness=100.00%
>>>>> display.screen_on=250
>>>>> display.screen_off=0
>>>>> display.vblank=off
>>>>> display.kbdact=on
>>>>> display.msact=on
>>>>> display.outact=on
>>>>> # wsconsctl display.brightness=20
>>>>> display.brightness -> 20.00%
>>>>> # wsconsctl
>>>>> keyboard.type=pc-xt
>>>>> keyboard.bell.pitch=400
>>>>> keyboard.bell.period=100
>>>>> keyboard.bell.volume=50
>>>>> keyboard.bell.pitch.default=400
>>>>> keyboard.bell.period.default=100
>>>>> keyboard.bell.volume.default=50
>>>>> wsconsctl: Use explicit arg to view keyboard.map.
>>>>> keyboard.repeat.del1=400
>>>>> keyboard.repeat.deln=100
>>>>> keyboard.repeat.del1.default=400
>>>>> keyboard.repeat.deln.default=100
>>>>> keyboard.ledstate=2
>>>>> keyboard.encoding=us
>>>>> mouse.type=synaptics
>>>>> mouse.rawmode=0
>>>>> mouse.scale=1472,5670,1408,4794,0,44,76
>>>>> mouse1.type=usb
>>>>> mouse1.rawmode=1
>>>>> mouse1.scale=0,0,0,0,0,0,0
>>>>> display.type=vga-pci
>>>>> display.emulations=vt100
>>>>> display.screentypes=80x25,80x25bf,80x40,80x40bf,80x50,80x50bf
>>>>> display.focus=4
>>>>> display.brightness=20.00%
>>>>> display.screen_on=250
>>>>> display.screen_off=0
>>>>> display.vblank=off
>>>>> display.kbdact=on
>>>>> display.msact=on
>>>>> display.outact=on
>>>>> 
>>> 
> 



Re: Screen brightness

2017-07-22 Thread Manuel Solis
Hello again,

Then you should use xrandr

$xrandr --query
To know which devices you have

$xrandr --output LVDS1 --auto
To enable the monitor (LVDS1/VGA1/HDMI1)

$xrandr --output LVDS1 --set BACKLIGHT 50
to adjust the backlight 

try for instance 50, 99, 05 and see how it goes


Manuel

> El 22/07/2017, a las 16:20, G <gp...@mailbox.org> escribió:
> 
> Thanks for the reply but it doesn't work.
> 
>> On 07/23/17 00:11, Manuel Solis wrote:
>> Hello, Mr G
>> 
>> Try this two:
>> $xbacklight -set 99
>> 
>> $xbacklight -set 50
>> 
>> If you see something different then it works!!
>> 
>> Manuel 
>> 
>>> El 22/07/2017, a las 14:48, G <gp...@mailbox.org> escribió:
>>> 
>>> Hello.
>>> I'm trying to adjust my laptop brightness.
>>> When I'm trying to use xbacklight i get
>>> 
>>> #xbacklight
>>> 
>>> No outputs have backlight property
>>> 
>>> I search around and it seems that xbacklight is broken. I found this email
>>> https://marc.info/?l=openbsd-bugs=149919062727474
>>> 
>>> that suggested to use wsconsctl but it doesn't seems to work. Although
>>> the value of wsconsctl display.brightness changes the screen brightness
>>> doesn't change.
>>> 
>>> # wsconsctl
>>> keyboard.type=pc-xt
>>> keyboard.bell.pitch=400
>>> keyboard.bell.period=100
>>> keyboard.bell.volume=50
>>> keyboard.bell.pitch.default=400
>>> keyboard.bell.period.default=100
>>> keyboard.bell.volume.default=50
>>> wsconsctl: Use explicit arg to view keyboard.map.
>>> keyboard.repeat.del1=400
>>> keyboard.repeat.deln=100
>>> keyboard.repeat.del1.default=400
>>> keyboard.repeat.deln.default=100
>>> keyboard.ledstate=2
>>> keyboard.encoding=us
>>> mouse.type=synaptics
>>> mouse.rawmode=0
>>> mouse.scale=1472,5670,1408,4794,0,44,76
>>> mouse1.type=usb
>>> mouse1.rawmode=1
>>> mouse1.scale=0,0,0,0,0,0,0
>>> display.type=vga-pci
>>> display.emulations=vt100
>>> display.screentypes=80x25,80x25bf,80x40,80x40bf,80x50,80x50bf
>>> display.focus=4
>>> display.brightness=100.00%
>>> display.screen_on=250
>>> display.screen_off=0
>>> display.vblank=off
>>> display.kbdact=on
>>> display.msact=on
>>> display.outact=on
>>> # wsconsctl display.brightness=20
>>> display.brightness -> 20.00%
>>> # wsconsctl
>>> keyboard.type=pc-xt
>>> keyboard.bell.pitch=400
>>> keyboard.bell.period=100
>>> keyboard.bell.volume=50
>>> keyboard.bell.pitch.default=400
>>> keyboard.bell.period.default=100
>>> keyboard.bell.volume.default=50
>>> wsconsctl: Use explicit arg to view keyboard.map.
>>> keyboard.repeat.del1=400
>>> keyboard.repeat.deln=100
>>> keyboard.repeat.del1.default=400
>>> keyboard.repeat.deln.default=100
>>> keyboard.ledstate=2
>>> keyboard.encoding=us
>>> mouse.type=synaptics
>>> mouse.rawmode=0
>>> mouse.scale=1472,5670,1408,4794,0,44,76
>>> mouse1.type=usb
>>> mouse1.rawmode=1
>>> mouse1.scale=0,0,0,0,0,0,0
>>> display.type=vga-pci
>>> display.emulations=vt100
>>> display.screentypes=80x25,80x25bf,80x40,80x40bf,80x50,80x50bf
>>> display.focus=4
>>> display.brightness=20.00%
>>> display.screen_on=250
>>> display.screen_off=0
>>> display.vblank=off
>>> display.kbdact=on
>>> display.msact=on
>>> display.outact=on
>>> 
> 



Re: Screen brightness

2017-07-22 Thread Manuel Solis
Hello, Mr G

Try this two:
$xbacklight -set 99

$xbacklight -set 50

If you see something different then it works!!

Manuel 

> El 22/07/2017, a las 14:48, G  escribió:
> 
> Hello.
> I'm trying to adjust my laptop brightness.
> When I'm trying to use xbacklight i get
> 
> #xbacklight
> 
> No outputs have backlight property
> 
> I search around and it seems that xbacklight is broken. I found this email
> https://marc.info/?l=openbsd-bugs=149919062727474
> 
> that suggested to use wsconsctl but it doesn't seems to work. Although
> the value of wsconsctl display.brightness changes the screen brightness
> doesn't change.
> 
> # wsconsctl
> keyboard.type=pc-xt
> keyboard.bell.pitch=400
> keyboard.bell.period=100
> keyboard.bell.volume=50
> keyboard.bell.pitch.default=400
> keyboard.bell.period.default=100
> keyboard.bell.volume.default=50
> wsconsctl: Use explicit arg to view keyboard.map.
> keyboard.repeat.del1=400
> keyboard.repeat.deln=100
> keyboard.repeat.del1.default=400
> keyboard.repeat.deln.default=100
> keyboard.ledstate=2
> keyboard.encoding=us
> mouse.type=synaptics
> mouse.rawmode=0
> mouse.scale=1472,5670,1408,4794,0,44,76
> mouse1.type=usb
> mouse1.rawmode=1
> mouse1.scale=0,0,0,0,0,0,0
> display.type=vga-pci
> display.emulations=vt100
> display.screentypes=80x25,80x25bf,80x40,80x40bf,80x50,80x50bf
> display.focus=4
> display.brightness=100.00%
> display.screen_on=250
> display.screen_off=0
> display.vblank=off
> display.kbdact=on
> display.msact=on
> display.outact=on
> # wsconsctl display.brightness=20
> display.brightness -> 20.00%
> # wsconsctl
> keyboard.type=pc-xt
> keyboard.bell.pitch=400
> keyboard.bell.period=100
> keyboard.bell.volume=50
> keyboard.bell.pitch.default=400
> keyboard.bell.period.default=100
> keyboard.bell.volume.default=50
> wsconsctl: Use explicit arg to view keyboard.map.
> keyboard.repeat.del1=400
> keyboard.repeat.deln=100
> keyboard.repeat.del1.default=400
> keyboard.repeat.deln.default=100
> keyboard.ledstate=2
> keyboard.encoding=us
> mouse.type=synaptics
> mouse.rawmode=0
> mouse.scale=1472,5670,1408,4794,0,44,76
> mouse1.type=usb
> mouse1.rawmode=1
> mouse1.scale=0,0,0,0,0,0,0
> display.type=vga-pci
> display.emulations=vt100
> display.screentypes=80x25,80x25bf,80x40,80x40bf,80x50,80x50bf
> display.focus=4
> display.brightness=20.00%
> display.screen_on=250
> display.screen_off=0
> display.vblank=off
> display.kbdact=on
> display.msact=on
> display.outact=on
> 



Re: Playing (screwing up ) with partitions

2017-07-04 Thread Manuel Solis
Got it !! 

Thank you for the advice.

I will restore it via disklabel.

> El 04/07/2017, a las 23:28, Ted Unangst <t...@tedunangst.com> escribió:
> 
> Manuel Solis wrote:
>> My question is:
>> I know that i am missing some step to fulfill the shrinking process 
>> but in the FAQ there is only a way to grow fs and i didn’t find the 
>> shrinking fs, and in the book says that i should move the partition, well it 
>> does not say it but i figured out with the information in there, 
>> is there another way to fix my mistake so i could work with the new fs 
>> size?
>> (Or there is a rule that no FFS could be shrinked, only growed)
> 
> OpenBSD does not have any tools to shrink a filesystem. Changing the disklabel
> doesn't change the filesystem.
> 
> *IF* you didn't write anything to the space that used to be your filesystem,
> you should be able to change the disklabel back to the way it was before.



Playing (screwing up ) with partitions

2017-07-04 Thread Manuel Solis
Hello Misc Group

So i have my OBSD laptop up and running since 6.0, and now updated to 6.1 since 
the release date.

Anyways, i was installing games just for fun but the i realized that i have 
limited space, if i recall it was in the /usr/local partition.
Sorry in advance, i know that oBSD is for more serious applications, but i 
wanted a few games for my daughter to play.

Since i have a 500 GB SSD and my /home partition has almost all, i guessed i 
could do something about it ( after reading the FAQ and Mike´s AbsoluteBSD)

- I booted in single user, checked the system with fsck sd0, and the used 
disklabel -E sd0,
- in order to shrink my home directory i pressed c (to change) to partition l 
(/home) and defined the new size to 5 blocks (which i realized later 
that was 238.4G)
- after exiting i ran fsck_ffs /dev/sd0l again to make sure it was ok, but it 
took a while and it says something like: filesystem was modified.
- rebooted.

Then i discovered that i still have to run fsck after reboot, if i do it i 
could mount my directory, but if i reboot again i should repeat over and over 
again.

I have my backups, so i could just do a fresh install and continue messing 
around, that should be the easy way,  but i wonder if there is a chance to fix 
my mistakes.

My question is:
I know that i am missing some step to fulfill the shrinking process 
but in the FAQ there is only a way to grow fs and i didn’t find the shrinking 
fs, and in the book says that i should move the partition, well it does not say 
it but i figured out with the information in there, 
is there another way to fix my mistake so i could work with the new fs size?
(Or there is a rule that no FFS could be shrinked, only growed)

Question 2:
You helped me and is fixed, thank you in advance, should i make another 
partition in the unused space to mount /usr/local or there is a way that if 
grows naturally? 
(because i tried in the disklabel options and it made me imply that i could not 
grow it from there since it is between partitions in the continued space.



My new configuration is something like:

Partition   sizeoffset  retype  fsize   bsize   cpg
a   1g  10244.2bsd  204816384   12958   
/
b   6.2g2098176 swap
none
c   476.9g  0   unused  
d   4g  149963524.2bsd  
/tmp
e   15.8g   233849284.2bsd  
/var
f   2g  565212804.2bsd  
/usr
g   1g  607155844.2bsd  
/usr/X11R6
h   10g 628127364.2bsd  
/usr/local
i   0   64  MSDOS  (i dont remember 
why i made this one, i was trying to install the UEFI if i recall correctly)
j   2g  8378256 4.2bsd  
/usr/src
k   2g  879785604.2bsd  
/usr/obj
l   238.4g  921728644.2bsd  
/home

Thank you all in advance

Sorry in advance if it is a silly /very newbie question

Manuel


Re: Can I use OpenBSD as a desktop system?

2017-06-10 Thread Manuel Solis
May i suggest you to check 
https://sivers.org/openbsd

It helped me when i was just starting because mr sivers share a few tips and 
config files to begin working with openBSD in minutes.

In my case in did change the window manager later from ratpoison to i3 and then 
finally i was able to config cwm. (Really cool to have all system up and 
running in 60 mb RAM usage!!)

Manuel

El 10/06/2017, a las 08:07, Mihai Popescu  escribió:

>> Can I use OpenBSD as a desktop system?
> 
> I don't think so, because OpenBSD does not care about desktop users.
> In fact, the solely purpose of OpenBSD system is to make/build the next 
> release.
> 


Re: Version skew?

2017-05-05 Thread Manuel Solis
Hello, Donald

Perhaps you should try:

1-  doas echo "https://ftp.openbsd.org/pub/OpenBSD; > /etc/installurl (or
any other mirror you like)
and then again doas pkg_add rust


I certainly do not know exactly the process and all stuff, but maybe you
should get help in the faq page ( https://www.openbsd.org/faq/upgrade61.html
)  since it says something like:


   - *pkg.conf(5) no longer supported.* The pkg_* tools now use the
   installurl(5)  file to
   find the main package repository. If you install or upgrade from a mirror,
   this file is created automatically. Verify that /etc/installurl points
   to your preferred mirror and that the URI does *not* end in /6.1 (which
   may happen due to a bug in the installer).

   If necessary, please create the /etc/installurl file manually with your
   preferred mirror :

 *echo 'https://your.mirror/pub/OpenBSD
' > /etc/installurl*

   Since the pkg.conf(5)  file
   will no longer be used by tools, you may remove it:

 *rm /etc{,/examples}/pkg.conf*

   Use the PKG_PATH environment variable in case you need to specify more
   than one repository.

Or just in case in the pkg management part:

https://www.openbsd.org/faq/faq15.html#PkgMgmt


2 - If all of this does not work for you,maybe you should do a fresh
install instead of an upgrade and try again, if it solves, then something
weird happened during the upgrade process.


I hope that this information will help you.

Best Reggards

Manuel



On Fri, May 5, 2017 at 10:01 PM, Donald Allen 
wrote:

> The /etc/installurl file is not present on either of my 'current'
> systems. Reading the man pages, it looks to me like installurl is
> related to the new syspatch facility, which I believe is for tracking
> the STABLE branch. As I said, I'm running CURRENT, so if I've got all
> this right, the fact that /etc/installurl isn't present on my systems
> is not surprising.
>
> Also, if you look at the pkg_add man page, PKG_PATH is documented
> without any mention that it is deprecated.
>
> I'm pretty sure I can work around this problem by building the rust
> port, though I think it takes quite a while to do this. But I'm still
> puzzled that a 'current' package would be looking for a libc version
> newer than that supplied by the latest snapshot.
>
> On 5 May 2017 at 19:47, Kapfhammer, Stefan  wrote:
> > Hello Donald,
> >
> > PKG_PATH is deprecated since 6.1-RELEASE.
> >
> > Use /etc/installurl instead.
> >
> > https://man.openbsd.org/installurl
> >
> >
> > Freundliche Grüße / Regards
> > -stefan kapfhammer
> >   Originalnachricht
> > Von: Donald Allen
> > Gesendet: Freitag, 5. Mai 2017 20:16
> > An: OpenBSD general usage list
> > Betreff: Version skew?
> >
> >
> > I am running current on an amd64 system. I updated the system from the
> > latest (5/4) snapshot this morning, downloaded from the Alberta site.
> > But I am (still) unable to install the following package:
> >
> >  doas /usr/sbin/pkg_add rust
> > quirks-2.319 signed on 2017-05-03T14:53:25Z
> > Can't install rust-1.16.0 because of libraries
> > |library c.89.5 not found
> > | /usr/lib/libc.so.89.3 (system): minor is too small
> > | /usr/lib/libc.so.89.4 (system): minor is too small
> > Direct dependencies for rust-1.16.0 resolve to gcc-libs-4.9.4p4
> > Full dependency tree is gcc-libs-4.9.4p4
> >
> > This is with
> >
> > PKG_PATH=https://ftp.OpenBSD.org/pub/OpenBSD/snapshots/packages/amd64
> >
> > The /etc/doas.conf uses the KEEPENV option for /usr/sbin/pkg_add.
> >
> > What I am not clear about is why a package would require a library
> > with a greater minor version (and presumably newer) than that supplied
> > by the most recent snapshot? If someone could explain this I'd
> > appreciate it.
> >
> > /Don Allen
> >
>
>


-- 
Ing. Manuel Solís Agüero
Corporativo Los Solises
Cel: (871) 108 6000
Tel: (871) 721 6303


Set graphic mode option at boot time

2017-04-04 Thread Manuel Solis
Dear Misc group

I am trying to install 6.0 (amd64) in a Samsung Laptop (model np300v4a)  but
in the default graphic mode the display just let nothing good to read, so i
assumed that the video resolution is not supported. (Attach pic, but nothing
interesting to show there)

I had the same experience in FBSD, and the way i came around the issue was to
use the graphic output protocol command (gop) in the loader prompt at boot by
pressing at boot op 3 "Escape to loader prompt” then using the command gop
[list | get | set ]  and finally selecting mode 1: 640x480x32,
stride=60, and it worked.

In this case, i tried in 6.0 the boot command: machine video, but it only
allow me to select mode 0: 80x25.

I did not find any additional information in the FAQ or in the man pages
(man.openbsd.org   boot.conf, 8- System Manager´s
Manual, amd64, OpenBSD-6.0)

Needless to say, the installer works fine since i have used it in other server
before.

Is there any other way to change the graphic output mode at boot in 6.0? And,
where should i found the additional the documentation about that?

Thank you in advance for your support.

Manuel



Re: show total memory used / allocated by a program

2017-03-17 Thread Manuel Solis
Hello again!!


Yes, indeed systat and vmstat are a good options too.

Mihai Popescu,

Please try one of these examples and see if they show you the information
you are looking for:

suggestion1:  $ top |head -n5| tail -n1
suggestion2:  $ vmstat -s|more
suggestion3:  $ vmstat -m|more
suggestion4:  $ systat

I hope this information will help :)

Manuel


On Fri, Mar 17, 2017 at 9:19 AM, Edgar Pettijohn <ed...@pettijohn-web.com>
wrote:

> .
>
> > On Mar 17, 2017, at 9:21 AM, Manuel Solis <solis.man...@gmail.com>
> wrote:
> >
> > Hello,
> >
> >> El 17/03/2017, a las 05:04, Mihai Popescu <mih...@gmail.com> escribió:
> >>
> >> Hello,
> >>
> >> I am using top to show running programs activity on an OpenBSD system.
> >>
> >> Is there another better command to show in detail the memory used by
> > programs?
> >
> > Top is really a good command, you should see de man page for more
> options.
> >
> >>
> >> My system has 8GB physical RAM. Looking at this, can someone tell me
> >> if OpenBSD uses the "swap memory" model used by other OSes, basically
> >> moving chunks from physical memory to the swap partition when they are
> >> not used?
> >
> > Yes it does, you could use the #disklabel  command to see it
> >>
> >> If a program ask for a memory allocation, is this request satisfied
> >> imediately if there is enough physical RAM available or is it done at
> >> the moment the program needs to do read/write on that memory?
> >>
> >> Expanding the first question, is there a command to show all these
> >> details, like total memory used, static and dynamic, how much is
> >> physical or swap, etc?
> >>
> > top is the command that you are looking for :)
> >
> >
> >> Thank you.
> >>
> >
> > I hope that information is useful for your needs, i recommend you to
> look at
> > the Faq page
> > https://www.openbsd.org/faq/index.html
> > <https://www.openbsd.org/faq/index.html>
> > they really did a great job explaining everything and most of what it
> has are
> > practical examples, if you need expanded theory then you should get the
> book
> > Absolute OpenBSD - By Michael W Lucas, it helped me a lot.
> > http://www.nostarch.com/obenbsd2e <http://www.nostarch.com/obenbsd2e>
> >
> > Best reggards!!!
> >
> > Manuel
>
> I think systat or vmstat may be helpful.
>



--
Ing. Manuel Solís Agüero
Corporativo Los Solises
Cel: (871) 108 6000
Tel: (871) 721 6303



Re: show total memory used / allocated by a program

2017-03-17 Thread Manuel Solis
Hello,

> El 17/03/2017, a las 05:04, Mihai Popescu  escribió:
>
> Hello,
>
> I am using top to show running programs activity on an OpenBSD system.
>
> Is there another better command to show in detail the memory used by
programs?

Top is really a good command, you should see de man page for more options.

>
> My system has 8GB physical RAM. Looking at this, can someone tell me
> if OpenBSD uses the "swap memory" model used by other OSes, basically
> moving chunks from physical memory to the swap partition when they are
> not used?

Yes it does, you could use the #disklabel  command to see it
>
> If a program ask for a memory allocation, is this request satisfied
> imediately if there is enough physical RAM available or is it done at
> the moment the program needs to do read/write on that memory?
>
> Expanding the first question, is there a command to show all these
> details, like total memory used, static and dynamic, how much is
> physical or swap, etc?
>
top is the command that you are looking for :)


> Thank you.
>

I hope that information is useful for your needs, i recommend you to look at
the Faq page
https://www.openbsd.org/faq/index.html

they really did a great job explaining everything and most of what it has are
practical examples, if you need expanded theory then you should get the book
Absolute OpenBSD - By Michael W Lucas, it helped me a lot.
http://www.nostarch.com/obenbsd2e 

Best reggards!!!

Manuel