|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Problems connecting to anonymous cvs servers
I attempted to connect, however, depending on the server, I was prompted for a password or permission was denied. I manually verified the fingerprint to make sure it is correct first. I also opened ports 21 and 22, incoming and outgoing on tcp and udp. Finally, i opened all outgoing traffic.
Since I have 5.6 release installed, I am following -patch branch. anything to check with the ssh client or ufw firewall? By the way, I am running openbsd in a virtual environment. thanks again. Last edited by jjstorm; 25th November 2014 at 03:33 AM. |
|
||||
Based solely on the information provided, I can guess that something is wrong with your $CVSROOT (or cvs -d string).
It should be: anoncvs@<mirror>:/cvs Review the examples in OpenBSD AnonCVS. If any part of the string is incomplete or missing, your connection will fail. |
|
|||
Even though the string appeared to be entered correctly, for some reason, it did not work. When I entered it a second time, it accepted it. The process of downloading the source tree took over an hour. The string below (for the patch branch) worked. You can stick whatever server you want in there. Make sure to verify the server's fingerprint. Make sure you replace /amd64/ with your platform, and the tag to match your release.
Code:
# cd /usr # cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -rOPENBSD_5_6 -P src Code:
# cd /usr/src/sys/arch/amd64/conf # /usr/sbin/config GENERIC # cd /usr/src/sys/arch/amd64/compile/GENERIC # make clean && make Code:
# cd /usr/src/sys/arch/amd64/compile/GENERIC # make install # reboot Code:
# rm -rf /usr/obj/* # cd /usr/src # make obj # cd /usr/src/etc && env DESTDIR=/ make distrib-dirs # cd /usr/src # make build Code:
# cd /usr/src # cvs -q up -rOPENBSD_5_6 -Pd Also, going from release to -stable and subsequently updating -stable, do I ever need to update Xenocara? Thanks again. Last edited by jjstorm; 26th November 2014 at 05:51 AM. |
|
||||
Yes, the initial download of a working directory from a repository is not very efficient. This is why FAQ 5.3.3 recommends pre-loading source from a -release tarball.
Quote:
Quote:
Don't forget the ports tree. There can be -stable ports, too. Last edited by jggimi; 25th November 2014 at 07:32 PM. Reason: clarity,typos |
|
|||
s/amd64/`machine`/
|
|
|||
I can vouch that downloading from ca.openbsd.org is slow, & this is why the farm of anonymous CVS servers exists -- to divert traffic away from the master. It will be worth your time to study the list of servers --
http://www.openbsd.org/anoncvs.html ...to find an AnonCVS server which is geographically close to you. traceroute(8) can be useful to show network latencies. Quote:
Code:
# cd /usr # export CVSROOT=anoncvs@anoncvs.example.org:/cvs # cvs -d$CVSROOT checkout -rOPENBSD_5_6 -P src
Last edited by ocicat; 26th November 2014 at 12:45 AM. Reason: correct spelling |
|
|||
Quote:
Indeed I did install the -stable source tree as my installation of openbsd shows during the boot process. You caught a paste error on my part that I am fixing as we speak, although I entered the string slightly different. see above. I have read all of the faq, however, I have not been able to grasp all of the concepts as I am a total noob to unix. I have also read another popular OpenBSD book that was published recently. The reading that I have done has been exhaustive, but I know that is what it takes especially for a noob. I will keep at it. Thank-You very much for your input. |
|
||||
Quote:
Quote:
Mr. Lucas has an account on this forum, but hasn't logged in for a long time. He's active on Twitter and posts regularly on his blog. Last edited by jggimi; 26th November 2014 at 02:09 PM. Reason: clarity, formatting |
|
|||
Actually, the book is how I came across daemonforums, and thanks for the compliment.
Last edited by jjstorm; 29th November 2014 at 01:03 AM. |
|
|||
Although learning produce your own -stable OpenBSD system is a good learning exercise, it is time and resource intensive. You can arrive at the same endpoint by utilizing M:tier. M:tier is a recent offering by a prominent contributor to OpenBSD, Antoine Jacoutot. This option became available after the release of Mr. Lucas's 2nd edition. You can entirely automate the process using
# openup or just use the port updates. I do my own patching and rebuiliding of the base install but utilize M:tier package updates.
|
|
|||
Quote:
Last edited by jjstorm; 29th November 2014 at 05:19 AM. |
|
|||
My current situation is a little bit different than when I started this thread.
I am currently running 5.8 release, and I already have manually downloaded and unpacked the source files (src.tar.gz and sys.tar.gz) to /usr/scr The following example can be found under anoncvs: NOTE: If you are updating a source tree that you initially fetched from a different server, or from a CD, you must add the -d [cvsroot] option to cvs. # cd /usr/src # cvs -d anoncvs@anoncvs.ca.openbsd.org:/cvs -q up -Pd Although they don't confirm it, the above example appears to be for following -current. How would I change this for following -stable keeping in mind that I manually unpacked all the source files? |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Security FBI warns of U.S. government breaches by Anonymous hackers | LeFrettchen | News | 0 | 16th November 2013 03:06 PM |
Anonymous Ftp is too slow | daemonfowl | OpenBSD General | 25 | 4th August 2012 12:50 AM |
Problems with sound when connecting to TV | sepuku | OpenBSD General | 9 | 9th August 2011 07:30 PM |
pkgsrc pkg_add problems not connecting | Mr-Biscuit | NetBSD Package System (pkgsrc) | 30 | 14th June 2009 11:28 AM |
pkg_add problems with connecting | Mr-Biscuit | NetBSD Package System (pkgsrc) | 2 | 26th May 2009 11:44 AM |