LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 02-08-2014, 11:54 PM   #16
replica9000
Member
 
Registered: Jul 2006
Location: Quahog, Rhode Island
Distribution: Debian 'Sid', FreeBSD, Android
Posts: 680
Blog Entries: 2

Rep: Reputation: 120Reputation: 120

Quote:
Originally Posted by hitest View Post
To install XFCE in FreeBSD 10.0 issue this command:

# pkg install xfce
Found this in the release notes.
Quote:
2.5.*Ports/Packages Collection Infrastructure
The pkg_add, pkg_create, pkg_delete, pkg_info, pkg_updating, and pkg_version utilities have been removed. pkg(7) must now be used to install binary packages. pkg(7) is the next generation FreeBSD package manager, also referred to as “pkgng”. If upgrading from a previous FreeBSD release, be sure to run pkg2ng to convert the old package database to the new format. [r257444]
 
1 members found this post helpful.
Old 02-09-2014, 07:34 AM   #17
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,646
Blog Entries: 15

Rep: Reputation: 1111Reputation: 1111Reputation: 1111Reputation: 1111Reputation: 1111Reputation: 1111Reputation: 1111Reputation: 1111Reputation: 1111
One good thing to learn is how to rebuild the kernel in FreeBSD/PCBSD.

/etc/make.conf can be used to block out certain kernel modules by adding lines such as:

Code:
WITHOUT_MODULES = sound
Which is used to disable the default BSD audio drivers if you're installing OSSv4 drivers.

You also need to edit /usr/src/sys/<arch>/conf/GENERIC to your needs commenting out drivers unwanted or commenting in those required and then run:

Code:
cp GENERIC CUSTOM
Then rebuild the kernel using these commands...

Code:
cd /usr/src &&
make buildkernel KERNCONF=CUSTOM &&
make installkernel KERNCONF=CUSTOM
I will warn you ahead of time, some distributions you may have to make sure the kernel and world sources are installed. FreeBSD should have them by default, but PCBSD requires a resync from git.

Code:
cd /usr ; git clone git://github.com/pcbsd/freebsd.git ;  ln -s freebsd/* src

Last edited by ReaperX7; 02-09-2014 at 07:41 AM.
 
1 members found this post helpful.
Old 02-09-2014, 10:28 AM   #18
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,241

Original Poster
Rep: Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570
Quote:
Originally Posted by replica9000 View Post
Found this in the release notes.
Yup. The next generation package manager PKGng is now the default on FreeBSD 10.0. The command pkg_add, etc. no longer functions.
 
Old 02-09-2014, 06:50 PM   #19
justlooking
LQ Newbie
 
Registered: Feb 2014
Posts: 5

Rep: Reputation: Disabled
I would love to see HowTo's on a simple firewall ruleset in freebsd like:

Allowing all loopback traffic
Allowing all tcp, udp, and icmp traffic out (established states)
Allowing local PCs on my network access to my freebsd box

I did read the freebsd handbook on firewalls, but I was overwhelm with information and it confused me. I believe ipfw was easier than the others.
 
Old 02-09-2014, 09:07 PM   #20
Tux1000
LQ Newbie
 
Registered: Feb 2014
Posts: 10

Rep: Reputation: Disabled
Quote:
Originally Posted by replica9000 View Post
I'm trying FreeBSD 10, and it seems like I'm finding completely different steps to achieve the same result as thing mentioned above.
Same here. I installed freebsd 10 today and was confronted by the error and I said, "WTF is going on here"

I guess we have to re-learn new steps again. :-)
 
Old 02-09-2014, 09:18 PM   #21
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,241

Original Poster
Rep: Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570
Quote:
Originally Posted by Tux1000 View Post
Same here. I installed freebsd 10 today and was confronted by the error and I said, "WTF is going on here"

I guess we have to re-learn new steps again. :-)
Yeah, that happened to me as well. The new package manager PKGng is a sweet ride now that the developers have uploaded applications to the repositories. I'm happy with my FreeBSD 10.0 VM. OpenBSD is my main BSD. Love it.
 
Old 02-09-2014, 09:39 PM   #22
Tux1000
LQ Newbie
 
Registered: Feb 2014
Posts: 10

Rep: Reputation: Disabled
Quote:
Originally Posted by hitest View Post
Yeah, that happened to me as well. The new package manager PKGng is a sweet ride now that the developers have uploaded applications to the repositories. I'm happy with my FreeBSD 10.0 VM. OpenBSD is my main BSD. Love it.
I have both freeBSD and OpenBSD in a VM. But linux is my main host OS :-)
 
1 members found this post helpful.
Old 02-09-2014, 09:45 PM   #23
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,241

Original Poster
Rep: Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570
Smile

Quote:
Originally Posted by Tux1000 View Post
I have both freeBSD and OpenBSD in a VM. But linux is my main host OS :-)
Slackware is my main OS; I also have a Debian netbook. I dual boot Slackware with OpenBSD. I have a FreeBSD 10.0 VM.
 
Old 02-09-2014, 09:50 PM   #24
Tux1000
LQ Newbie
 
Registered: Feb 2014
Posts: 10

Rep: Reputation: Disabled
Thumbs up

Like the fonz says "AYYYY"
 
1 members found this post helpful.
Old 02-09-2014, 09:53 PM   #25
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,241

Original Poster
Rep: Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570
Quote:
Originally Posted by Tux1000 View Post
Like the fonz says "AYYYY"
That's a blast from the past. Welcome to the BSD forum, man.
 
Old 02-10-2014, 12:30 AM   #26
replica9000
Member
 
Registered: Jul 2006
Location: Quahog, Rhode Island
Distribution: Debian 'Sid', FreeBSD, Android
Posts: 680
Blog Entries: 2

Rep: Reputation: 120Reputation: 120
Clean up ugly fonts in Firefox (or other browsers).

Code:
portsnap fetch update
cd /usr/ports/x11-fonts/webfonts
make install clean
Add this to your xorg.conf
Code:
Section "Files"
        FontPath        "/usr/local/lib/X11/fonts/webfonts"
EndSection
restart X
 
1 members found this post helpful.
Old 02-10-2014, 04:53 AM   #27
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,646
Blog Entries: 15

Rep: Reputation: 1111Reputation: 1111Reputation: 1111Reputation: 1111Reputation: 1111Reputation: 1111Reputation: 1111Reputation: 1111Reputation: 1111
One more tip about rebuilding the kernel, make sure any packages that have kernel loadable modules are rebuilt and reinstalled. Even if you rebuild against a custom kernel, it's best to rebuild these packages so that any kernel version controls match up.
 
1 members found this post helpful.
Old 02-20-2014, 03:21 PM   #28
Xrandr
LQ Newbie
 
Registered: Feb 2014
Posts: 8

Rep: Reputation: 6
Quote:
Originally Posted by replica9000 View Post
Clean up ugly fonts in Firefox (or other browsers).

Code:
portsnap fetch update
cd /usr/ports/x11-fonts/webfonts
make install clean
Add this to your xorg.conf
Code:
Section "Files"
        FontPath        "/usr/local/lib/X11/fonts/webfonts"
EndSection
restart X
I wanted to try this, but xorg.conf isn't on the system. I am using freebsd 10 and I have a working X11 environment. Is freebsd 10 using a different config file for x11?

As root, I ran find / -type f -iname xorg.conf with no results of this file.

Last edited by Xrandr; 02-20-2014 at 03:23 PM.
 
Old 02-21-2014, 12:42 AM   #29
replica9000
Member
 
Registered: Jul 2006
Location: Quahog, Rhode Island
Distribution: Debian 'Sid', FreeBSD, Android
Posts: 680
Blog Entries: 2

Rep: Reputation: 120Reputation: 120
Quote:
Originally Posted by Xrandr View Post
I wanted to try this, but xorg.conf isn't on the system. I am using freebsd 10 and I have a working X11 environment. Is freebsd 10 using a different config file for x11?

As root, I ran find / -type f -iname xorg.conf with no results of this file.
An alternative to using xorg.conf to do this would be adding this line to your .xinitrc
Code:
xset fp+ /usr/local/lib/X11/fonts/webfonts
 
2 members found this post helpful.
Old 02-21-2014, 07:56 AM   #30
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,241

Original Poster
Rep: Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570
In OpenBSD PF is enabled by default, but, /etc/pf.conf needs to be edited so that the firewall will protect your machine. This simple set-up works for my OpenBSD desktop machine.

Code:
block all
pass out keep state
 
2 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: FreeBSD/PC-BSD 9.1 Benchmarked Against Linux, Solaris, BSD LXer Syndicated Linux News 0 12-19-2012 07:31 PM
LXer: PC BSD 8.0 release made BSD much easier for desktop use | Installation and scre LXer Syndicated Linux News 0 02-26-2010 09:30 AM
PC BSD, Open BSD, or Free BSD ? Alexvader *BSD 5 02-08-2010 01:40 AM
Video For BSD --- New project to develop V4L compatible drivers for BSD Fritz_Katz *BSD 5 07-20-2008 12:53 AM
LXer: PC-BSD : A user friendly BSD flavor geared for the desktop LXer Syndicated Linux News 0 02-04-2006 04:01 PM


All times are GMT -5. The time now is 02:20 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration