|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
I added the PKG_PATH to my root .profile & then exported it from there so that it works all the time.
Then I use the root account to install software, you only need the package name. Take a look here to see the names of software available - http://ports.su/
__________________
Linux since 1999, & also a BSD user. |
|
|||
How did you correct your PKG_PATH? Where did you put it and what value did you set?
How are you then trying to install a new package? Tim. |
|
||||
Hello, and welcome!
There are two ways to point pkg_add(1) to installable packages.
Last edited by jggimi; 17th August 2015 at 03:23 PM. Reason: clarity |
|
|||
The definitive test is to look at the output of dmesg(8) as this will tell us what the installed kernel understands about the available hardware landscape. In fact, please post the complete output of dmesg(8) so we can discuss this from a common beginning point.
Quote:
As a newcomer, taking the time to read through the entire FAQ is a great idea. This is the single best source of information about official releases to be found on the Internet. |
|
|||
When discussing system updates, I was omitted mention of the project's Update Guide. This is necessary reading if you want to have a successful experience.
|
|
|||
Quote:
If ltproman has additional questions, he should clarify. |
|
||||
Code:
# dmesg|more OpenBSD 5.7 (GENERIC) #825: Sun Mar 8 10:59:14 MDT 2015 deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 2931228672 (2795MB) avail mem = 2849382400 (2717MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xe8f20 (53 entries) bios0: vendor eMachines version "V1.09" date 11/30/2009 bios0: eMachines eMachines E627 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET APIC MCFG BOOT SLIC SSDT acpi0: wakeup devices PB2_(S4) PB5_(S5) USB0(S3) USB2(S3) USB3(S3) USB5(S3) USB6(S3) P2P_(S5) acpitimer0 at acpi0: 3579545 Hz, 32 bits acpihpet0 at acpi0: 14318180 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Athlon(tm) Processor TF-20, 1596.25 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,SVM,EAPICSP,AMCR8,3DNOWP cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 199MHz ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 21, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpimcfg0 at acpi0 addr 0xf7000000, bus 0-15 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (AGP_) acpiprt2 at acpi0: bus -1 (PB2_) acpiprt3 at acpi0: bus 2 (PB4_) acpiprt4 at acpi0: bus 8 (PB5_) acpiprt5 at acpi0: bus -1 (PB6_) acpiprt6 at acpi0: bus -1 (PB7_) acpiprt7 at acpi0: bus -1 (PB9_) acpiprt8 at acpi0: bus -1 (PB10) acpiprt9 at acpi0: bus 9 (P2P_) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, PSS acpitz0 at acpi0: critical temperature is 200 degC acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB acpibtn2 at acpi0: LID_ acpibat0 at acpi0: BAT1 model "13848629084181313" serial 39b6 type Lion oem "SANYO " acpiac0 at acpi0: AC unit online acpivideo0 at acpi0: VGA_ acpivout0 at acpivideo0: LCD_ acpivideo1 at acpi0: DGFX cpu0: PowerNow! K8 1596 MHz: speeds: 1600 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "AMD RS780 Host" rev 0x00 ppb0 at pci0 dev 1 function 0 "AMD RS780 PCIE" rev 0x00 pci1 at ppb0 bus 1 radeondrm0 at pci1 dev 5 function 0 "ATI Radeon HD 3200" rev 0x00 drm0 at radeondrm0 radeondrm0: apic 2 int 18 ppb1 at pci0 dev 4 function 0 "AMD RS780 PCIE" rev 0x00: msi pci2 at ppb1 bus 2 "Broadcom BCM4315" rev 0x01 at pci2 dev 0 function 0 not configured ppb2 at pci0 dev 5 function 0 "AMD RS780 PCIE" rev 0x00: msi pci3 at ppb2 bus 8 alc0 at pci3 dev 0 function 0 "Attansic Technology L2C" rev 0xc0: msi, address 70:5a:b6:27:74:bf atphy0 at alc0 phy 0: F1 10/100/1000 PHY, rev. 11 ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x00: apic 2 int 22, AHCI 1.1 scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: <ATA, WDC WD1600BEVT-2, 11.0> SCSI3 0/direct fixed naa.50014ee259404150 sd0: 152627MB, 512 bytes/sector, 312581808 sectors cd0 at scsibus1 targ 2 lun 0: <Slimtype, DVD A DS8A4SH, CA91> ATAPI 5/cdrom removable ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 2 int 16, version 1.0, legacy support ohci1 at pci0 dev 18 function 1 "ATI SB700 USB" rev 0x00: apic 2 int 16, version 1.0, legacy support ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 17 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "ATI EHCI root hub" rev 2.00/1.00 addr 1 piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x3c: SMI iic0 at piixpm0 spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM spdmem1 at iic0 addr 0x51: 1GB DDR2 SDRAM non-parity PC2-6400CL6 SO-DIMM azalia0 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x00: apic 2 int 16 azalia0: codecs: Realtek ALC272 audio0 at azalia0 pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x00 ppb3 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x00 pci4 at ppb3 bus 9 pchb1 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00 pchb2 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00 pchb3 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00 kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00: core rev DH-G2 usb1 at ohci0: USB revision 1.0 uhub1 at usb1 "ATI OHCI root hub" rev 1.00/1.00 addr 1 usb2 at ohci1: USB revision 1.0 uhub2 at usb2 "ATI OHCI root hub" rev 1.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pms0: ALPS Glidepoint, version 0x7321 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (ef199f0584674904.a) swap on sd0b dump on sd0b radeondrm0: 1366x768 wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0 wsdisplay0: screen 1-5 added (std, vt100 emulation) Last edited by ocicat; 19th August 2015 at 01:34 AM. Reason: Please use [code] & [/code] tags when posting console output. |
|
||||
Update:
Yesterday: discovered that even though I had edited /root/,profile and /home/richard/.profile and added "PKG_Path=ftp://ftp.openbsd.org/....(main OpenBSD ftp mirror),have to use export command each time I boot. Added: gnome,firefox,and gimp 3 issues: _______ 1) PKG_PATH issue 2)no wifi 3)low sound: speakers test=no sound,sound effects and YouTube=low sound -good for at night! lol My background: MSDOS 3.2....6.2,Win 2x,Win3x,OS/2 Warp 3,Win 9.x,Linux,Win 2k Pro and Server,Netware 5.x(Network Admin course),XP,more Linux,mostly Opensuse,Ubuntu,Win7,FreeBSD,PCBSD.I did try OpenBSD 5.3 briefy,but,now I'm back with 5.7 to really dig in and learn it! I have edited my first message. I was referring to how to update OpenBSD,as in security patches,like on FreeBSD. Last edited by Itproman; 19th August 2015 at 12:35 AM. Reason: grammar |
|
||||
PKG_PATH:
Environment variables need to be exported. The primary server is not recommended, and even though it has "ftp" in the name, HTTP protocol is preferable. Use something similar to: Code:
export PKG_PATH=http://<your.nearest.mirror>/pub/OpenBSD/5.7/packages/amd64/ Your dmesg shows: Code:
Broadcom BCM4315" rev 0x01 at pci2 dev 0 function 0 not configured If you need WiFi, you'll have to choose a different WiFi NIC, such as a USB-attached dongle, or, you'll have to choose a different OS. There are many diferent WiFi drivers -- see $ apropos wireless .Low volume on audio You'll need to adjust the volume -- the default is usually 50% of max for typical audio hardware. See FAQ 13 regarding mixerctl(1). |
|
|||
Quote:
Quote:
Xfce4 will run much better and there are no login problems from xdm if you follow this guide Last edited by shep; 19th August 2015 at 02:01 AM. |
|
|||
There are a lot of unsupported Broadcom variants out there.
The simplest solution is get a supported USB dongle. There are numerous alternatives, but Edimax is one of the cheapest: http://www.amazon.com/gp/product/B00...ilpage_o05_s00 You should also find these on eBay too. Last edited by ocicat; 19th August 2015 at 10:45 AM. Reason: Fix verb tense |
|
||||
Thanks.
I'll grab one. I have a USB dongle on the back of my Android Media box,which I recognized from the photo and thought I'd try it,but,upon reboot got all kinds of "...divide" errors." lol It's a no name one,so not suprising that OpenBSD didn't like it. Took it out rebooted fine. PKG_Path: I had another look at this video which was recommended to me: https://youtu.be/6qxponJ0huA and I saw my first mistake.In .profile,I forgot to add "export" before "PKG_PATH." Issue #1 -no PKG_PATH after reboot -solved Issue #2 -no wifi -potentially solved. Issue #3 -low sound -in progress. |
|
|||
I use this in a script I call vol & run it at the command line, ./vol 175
Code:
mixerctl outputs.master=$1,$1
__________________
Linux since 1999, & also a BSD user. |
|
|||
Quote:
Code:
$ dmesg | grep urtwn urtwn0 at uhub4 port 7 configuration 1 interface 0 "Realtek 802.11n WLAN Adapter" rev 2.00/2.00 addr 3 urtwn0 at uhub4 port 7 configuration 1 interface 0 "EDIMAX EW-7811Un" rev 2.00/2.00 addr 3 urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R, address 80:1f:02:d3:96:8d $ $ man -k wireless ..will provide exact information about what wireless devices are recognized by the OpenBSD kernel installed. As for the errors mentioned when plugging in a dongle already in your possession, It would be helpful for you to post what was displayed. Not knowing what your experience has been with configuring wireless devices, I can think of at least two issues you might have encountered, but without seeing the errors experienced, I am only guessing. |
Tags |
openbsd 5.7 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Installed OpenBSD, and wiped out MBR | scottro | OpenBSD Installation and Upgrading | 31 | 13th December 2014 07:45 PM |
Installed OpenBSD for the first time ..... Some questions | bsd007 | OpenBSD General | 6 | 20th October 2014 02:55 AM |
OpenBSD/pf without compiler HOWTO update? | zazen | OpenBSD Installation and Upgrading | 6 | 26th June 2011 06:47 AM |
how update openbsd 4.8 | craze | OpenBSD Installation and Upgrading | 6 | 6th March 2011 03:20 PM |
Install NetBSD when DesktopBSD or OpenBSD is installed | ahlsner | NetBSD General | 4 | 6th August 2009 08:26 PM |