View Single Post
  #7   (View Single Post)  
Old 8th April 2012
bmk1st bmk1st is offline
Port Guard
 
Join Date: May 2008
Posts: 25
Default

Quote:
Originally Posted by daemonfowl View Post
sorry @tls but I don't understand what you mean by loading the firmware .. if you install a firmware it should load on reboot but it won't work unless you properly set ifconfig.
I first download the new firmware (wpi*.tgz) to my ~/
$ sudo pkg_delete /var/db/pkg/*
$ export PKG_PATH=~/
$ sudo pkg_add wpi*.tgz
$ sudo reboot
> prompt > bsd.rd
Sorry if this sounds silly but that's how a newbie does it ..
Are you aware that command will delete all installed packages on OpenBSD? What makes you think that will help solve the problem? To me, it's overkill. You can either delete the specified firmware package or simply upgrade it with newer firmware version. You need to read the FAQ carefully, especially the section abou packages and you should think carefully about these commands you have typed above.

Secondly, you don't need to use export PKG_PATH command to install a specified package on your local machine. You just do:
Code:
sudo pkg_add -v ~/firmwarename.tgz
or do an absolute path somewhere on another directory
Code:
sudo pkg_add -v /direction/to/package.tgz
Reply With Quote