DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 15th April 2010
Thelmaster Thelmaster is offline
New User
 
Join Date: Apr 2010
Posts: 4
Default help needed

I have problems with open source. I have a Dell Inspiron 537 n series which came with Ubuntu 9.04 installed. The ethernet adaptor is a Realtek 8169/8169S/8110S based PCI adapter (re). I have been unable to download
Desktop BSD, PC BSD, and every livecd that I have attempted including Gparted. I have been able to download OpenBSD 4.6 and FreeBSD 8.0, but I can't make them work either. With OpenBSD I used dhcp for my cable modem
and it got results, but I could not get anywhere with the ethernet card. When it was loaded, I could ping websites, but I could not get into the ftp site to obtain packages (not found). As for FreeBSD, I could not
find a combination of addresses that would get me to the internet. Rtfm? I have, and have read much of, three books on UNIX, five books on FreeBSD, two books on BSD, and one book on OpenBSD. Any help out there? I
also have a suggestion for a new category for the forum to consider. Troubleshooting. When a person has a problem, he could post in Troubleshooting. Anyone who wants to help, but without a verbose explanation, could
suggest page number and chapter number in a book or the Handbook or FAQ.

Thanks for your consideration.
Reply With Quote
  #2   (View Single Post)  
Old 15th April 2010
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,128
Default

The OpenBSD installation procedure is described in http://openbsd.org/faq/faq4.html
Where did you get stuck?

Re: troubleshooting section

Nearly all forums sections are about troubleshooting, so IMHO no special section for that purpose is needed
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #3   (View Single Post)  
Old 16th April 2010
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by Thelmaster View Post
With OpenBSD I used dhcp for my cable modem
and it got results, but I could not get anywhere with the ethernet card.
Are you connecting to your cable modem via an Ethernet cable? Please provide the complete output of the following command:

$ ifconfig
Quote:
When it was loaded, I could ping websites, but I could not get into the ftp site to obtain packages (not found).
Be sure to read & understand Section 15.2 of the FAQ, first. If you still have questions, provide the value of the following:

$ echo $PKG_PATH

Lastly, tell us which mirror site you were using.
Reply With Quote
  #4   (View Single Post)  
Old 26th April 2010
Thelmaster Thelmaster is offline
New User
 
Join Date: Apr 2010
Posts: 4
Default Slow progress

Thanks for the advice on ifconfig. Below is the result for Ubuntu and the addresses for eth1 are the same as those for OpenBSD 4.6.

Code:
eth0      Link encap:Ethernet  HWaddr 00:25:64:04:50:e9  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:253 Base address:0xa000 

eth1      Link encap:Ethernet  HWaddr 00:08:0e:c5:d0:e3  
          inet addr:67........  Bcast:67.........  Mask:255.........
          inet6 addr: fe80::208:eff:fec5:d0e3/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:338 errors:0 dropped:0 overruns:0 frame:0
          TX packets:35 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:18804 (18.8 KB)  TX bytes:5280 (5.2 KB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:480 (480.0 B)  TX bytes:480 (480.0 B)
Following is the result of OpenBSD ifconfig. Since I could not print it out, I copied what I thought was necessary.

Code:
re0   flags=8843<up,broadcast,running,simplex,multicast> mtu 1500
      lladder all0
      media: ethernet autoselect (none)
      status: no carrier
      inet 67........  Mask:hex  Bcast:67.........

cdce0 flags=8843<up,broadcast,running,simplex,multicast> mtu 1500
      groups: dhcp egress
      inet 67........  Mask:hex(different than re0)  Bcast:67.........
I loaded OpenBSD two different ways since my posting. First I configured just the cable modem. Next I configured both the cable modem, cdce0, using dhcp, and the ethernet card, re0, using addresses from Ubuntu. I could ping websites,
but I could not get into the OpenBSD ftp site to obtain packages (not found). But with both of the above mentioned loading methods I could get into a FreeBSD site. I was connected to moss.cse.buffaloedu. This is one reason I didn't
include the above information completely. I forgot to enter echo $pkg_path. To get to this forum I have to reload Ubuntu.

Tanks again.

Last edited by Carpetsmoker; 2nd May 2010 at 04:45 PM. Reason: Add [code] tags
Reply With Quote
  #5   (View Single Post)  
Old 26th April 2010
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by Thelmaster View Post
I could ping websites,
but I could not get into the OpenBSD ftp site to obtain packages (not found).
Two questions:
  • What mirrors are you using?
  • How are you attempting to obtain packages?
Reply With Quote
  #6   (View Single Post)  
Old 26th April 2010
Thelmaster Thelmaster is offline
New User
 
Join Date: Apr 2010
Posts: 4
Default

Here is what I entered: "//ftp.openbsd.org/pub/openbsd/4.6/packages/" and "pkg_add
-v ftp://ftp.openbsd.org/pub/openbsd/4.6/packages/i386/<package>".

However, when I entered "ftp -a ftp2.freebsd.org" I was connected to "moss.cse.buffalo.edu".

I have an openbsd 4.6 disc I downloaded from the internet. And no, I did not do a checksum. That's beyond my capabilies presently.
Reply With Quote
  #7   (View Single Post)  
Old 26th April 2010
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by Thelmaster View Post
Here is what I entered: "//ftp.openbsd.org/pub/openbsd/4.6/packages/" and "pkg_add
-v ftp://ftp.openbsd.org/pub/openbsd/4.6/packages/i386/<package>".
If you are manually connecting to an ftp site followed by issuing pkg_add(1), this is incorrect. Section 15.2 of the FAQ describes the necessary sequence of steps.
  • You will get a faster response if you connect to a mirror site geographically close to you. The list of available mirrors can be found at the following:

    http://openbsd.org/ftp.html
  • As an example, if the master site is closest, assign PKG_PATH:

    $ export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.6/packages/i386/

    The path is case-sensitve. If you defined the path as quoted above using all lowercase characters, this may be the reason you received a "not found" response.
  • The export command used is specific to the shell where the command was issued. pkg_add(1) must be executed as root. This can be done in one of three ways:
    • Use su(1).
    • Use sudo(8) (preferred).
    • Log in as root (not recommended).
    For example, if you want to install Python, which is primarily defined by python-2.5.4p1.tgz, issue the following:

    $ echo $PKG_PATH

    This should display the exact string entered earlier. Now, install the desired application via pkg_add(1):

    $ sudo pkg_add -v python-2.5.4p1
  • If you have problems with sudo(8), respond back & one of us will help with its configuration. Otherwise as a temporary fix, you can log in as root, ensure that PKG_PATH is correctly set, followed by issuing the pkg_add(1) command. Recognize that routinely logging in as root is not considered a best practice in the Unix world.
Again, the FAQ can be your friend.
Quote:
However, when I entered "ftp -a ftp2.freebsd.org" I was connected to "moss.cse.buffalo.edu".
To promote clarify & avoid confusion, we will continue to discuss package installation on OpenBSD in this thread. If you want to discuss installing applications on FreeBSD, start a new thread in the FreeBSD forae at this same site.
Reply With Quote
Reply

Tags
pkg_path

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Partition help needed. ros2468 OpenBSD Installation and Upgrading 9 22nd March 2010 01:25 PM
Smtp Auth Help needed roundkat OpenBSD General 4 8th May 2009 08:25 PM
Help needed with installing usable GUI wellis82 FreeBSD Installation and Upgrading 10 22nd September 2008 03:57 PM
Kde4 & other help needed.. Mr-Biscuit FreeBSD General 4 21st September 2008 05:40 PM
Desperate help needed for KDE disappearedng FreeBSD General 12 17th July 2008 05:21 PM


All times are GMT. The time now is 03:47 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick