FreeBSD "Projects"

2009-10-06 Thread Chris Stankevitz
Hello, I recently stumbled across "The FreeBSD GNOME Project" webpage which is filled with detail and great instructions. It is located at http://www.freebsd.org/gnome/index.html Q1: Where can I find the FreeBSD page that links to "The FreeBSD GNOME project" webpage? Q2: Where can I find

Updating the ports collection

2009-10-06 Thread Chris Stankevitz
The FreeBSD handbook section 4.5.1 describes several methods for obtaining the ports collection including CVSup, Portsnap, and sysinstall. Section 4.5.1 also describes how to update the ports collection, but only for the CVSup and Portsnap methods. Q1: How do I update the ports collection a

Howto: ethernet card on dell M6300

2009-10-06 Thread Chris Stankevitz
I was saddened to find that my ethernet card did not work on my FreeBSD 7.2 machine. The bge driver in the kernel did not support the broadcom 5756ME. Here is how I got it to work: 1. Set my machine up to compile the kernel (see section 8.5 of manual) 2. Edit /usr/src/sys/dev/bge/if_bgereg.h.

/ almost out of space just after installation

2009-10-06 Thread Chris Stankevitz
Hello, I just installed FreeBSD. After I installed it, I was surprised to find only 26M of space on /. I used the auto-defaults during the Disklabel portion of the install. [cstankev...@crs-m6300 ~]$ df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad4s1a496M430M

man quits back to the prompt after CTRL-G

2009-10-13 Thread Chris Stankevitz
Please try this: 1. at the prompt type "man man" to get the man manual page. 2. press CTRL-G to to to the bottom of the document 3. press k to scroll up one line You'll notice you cannot perform step 3 because man "quits back to the prompt after CTRL-G". Question: How can I make man not "quit b

View font selection

2009-10-13 Thread Chris Stankevitz
Hello, Question: What command should I issue to see what each of my installed x11 fonts looks like? Thank you, Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, se

Re: man quits back to the prompt after CTRL-G

2009-10-13 Thread Chris Stankevitz
Bill Campbell wrote: The -e and -E options to less control this. You want neither of these specified if you don't want to have less automatically exit at end-of-file. The ``-e'' option causes it to exit the second time it hits eof while ``-E'' exits the first time. Bill, Thank you for your e

Re: Is this card supported: Broadcom BCM94312MCGSG

2009-10-22 Thread Chris Stankevitz
Yuri wrote: I have a netbook which I would like to install FreeBSD on. I am going to order a new harddrive. But will this Broadcom card be supported or I also need to get another miniPCI replacement card? I got my broadcom 5756ME working by just adding a reference to it in if_bge.c and reco

Re: (no subject)

2009-10-22 Thread Chris Stankevitz
nicholas addei wrote: please am not able to install gnome on freebsd 7.2,after loging in as root You need to follow these instructions: http://www.freebsd.org/gnome/index.html Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebs

please help me make sense of top's CPU output

2009-11-02 Thread Chris Stankevitz
Hello, I recently performed a CPU intensive task with Xorg. When I completed the task and Xorg no longer was using the CPU, I got this result from top: === last pid: 1201; load averages: 0.24, 0.10, 0.09up 0+00:29:42 63 processes: 1 running, 62 sleeping CPU: 1.0% user, 0.0% nice,

Re: please help me make sense of top's CPU output

2009-11-03 Thread Chris Stankevitz
Dan Nelson wrote: Junior Hacker Project: add an instantaneous-CPU value (calculated by subtracting successive ki_runtime values) to the list of things top calculates and toggle it and weighted-CPU when pressing C. The toggling code is already there; it just toggles between two different weighted

NAT: Handbook vs mailing list

2013-10-07 Thread Chris Stankevitz
http://www.freebsd.org/doc/handbook/network-natd.html http://lists.freebsd.org/pipermail/freebsd-questions/2011-April/229017.html Hello, Handbook section 31.9.3 suggests I should, among other things, add the line ipdivert_load="YES" to /boot/loader.conf when setting up NAT. The mailing list mes

NATD: net.inet.ip.fw.default_to_accept="1" vs firewall_type="OPEN"

2013-10-10 Thread Chris Stankevitz
Hello, Handbook section 31.9 describes the setup of NAT. Section 31.9.3 suggests net.inet.ip.fw.default_to_accept="1" "during the first attempts to setup a firewall and NAT gateway". Section 31.9.5 suggests I "specify a predefined firewall ruleset that allows anything in" with firewall_type="OPE

Re: NATD: net.inet.ip.fw.default_to_accept="1" vs firewall_type="OPEN"

2013-10-10 Thread Chris Stankevitz
On Thu, Oct 10, 2013 at 8:22 PM, Michael Ross wrote: > ipfw always has one default rule, standard is > > [snip] > > Specifing firewall_type="OPEN" gives you an additional rule Michael, Thank you that is exactly what I am seeing. Chris ___ freebsd-que

Strange timing when reading from the serial port

2009-08-06 Thread Chris Stankevitz
Hello, I have a device that sends one byte over the serial line every 10ms. Using c, I wrote an application that opens the serial port and reads bytes in an infinite loop. I disabled all blocking (O_NONBLOCK, VMIN=0, VTIME=0, B115200). My CPU spends ~100% of its time calling read() [which a

Time quantization when reading from serial port

2009-08-07 Thread Chris Stankevitz
I receive data on the serial port (flags O_NONBLOCK, VMIN=0, VTIME=0, B115200). The time the data shows up is quantized to 5ms. Where does this 5ms quantization comes from? Increasing kern.hz to 1 does not reduce this effect. Thank you, Chris __

Re: Strange timing when reading from the serial port

2009-08-07 Thread Chris Stankevitz
Chris Stankevitz wrote: Q: What is the source of the alternating +/- 5ms bias that comes and goes every few seconds? This helps: add these lines to /boot/device.hints and reboot hint.sio.0.flags="0x20" hint.sio.1.flags="0x20" Chris ___

Packages available for different FreeBSD versions

2009-08-17 Thread Chris Stankevitz
Hello, Hello, I have two questions: 1. Is it true that I have the choice to run these versions of FreeBSD: 8.0 CURRENT 7.2 RELEASE 7.2 STABLE 7.2 CURRENT 7.1 RELEASE 7.1 STABLE 7.1 CURRENT 7.0 RELEASE 7.0 STABLE 7.0 CURRENT 6.4 RELEASE 6.4 STABLE 6.4 CURRENT 2. For each of the versions above,

Re: Packages available for different FreeBSD versions

2009-08-17 Thread Chris Stankevitz
Andrew Gould wrote: Once you're installed a RELEASE, you can update it to STABLE by Andrew, Thank you for your helpful reply. Please tell me if you think I have the correct understanding: When I install FreeBSD, I am installing a "core operating system version number" (your term). Then I

Re: Packages available for different FreeBSD versions

2009-08-17 Thread Chris Stankevitz
Chuck, Thank you for your help. I have two questions: Chuck Swiger wrote: Ports are not branched-- there is no STABLE or CURRENT for ports. The same ports tree can be used on 6.x, 7.x, and 8-CURRENT. 1. With what is the STABLE/CURRENT tag associated? a) "core operating system version number

Re: Packages available for different FreeBSD versions

2009-08-17 Thread Chris Stankevitz
Chuck Swiger wrote: If you just want security updates and no other changes, you'd update against RELENG_7_2 instead. Here are you referring only to security updates to the "core OS" and not applications in "ports" such as Firefox? In the BSDs, the baseline or core OS is separate from instal

Re: Packages available for different FreeBSD versions

2009-08-17 Thread Chris Stankevitz
Chuck Swiger wrote: Yes, all of the above. Basically, ports (or packages) install under /usr/local; everything else under /bin, /usr/bin, etc is part of the core OS. Okay, I think I understand now. Applications on a FreeBSD machine are broken into two categories: 1. Applications installed un

Best kernel ethernet device driver

2009-08-21 Thread Chris Stankevitz
Hello, I once had a problem in linux "sometimes connecting to windows file sharing with CIFS is extremely slow." After too much searching, I discovered the problem was a buggy kernel device driver for some lame ethernet card I bought. Which kernel ethernet device driver works best under Fre

pkg_add fails due to 'broken pipe'. Is my system in a consistent state?

2010-06-30 Thread Chris Stankevitz
pkg_add -r gnome2 This command fails repeatedly with "broken pipe" because the FTP connection breaks. When it dies, I just re-run the command. I'm now on the fifth attempt. The gnome2 package is a "meta" package that installs many other packages. Q1: Is it bad for my FreeBSD system that I ke

rc.conf: gnome_enable="YES" - which instructions executed?

2010-06-30 Thread Chris Stankevitz
My rc.conf file has this entry: gnome_enable="YES" Q: Where on my hard drive can I find the instructions executed to "enable" GNOME? A: /usr/local/etc/rc.d/gnome [bad answer: file does not exist] Thank you, Chris ___ freebsd-questions@freeb

Re: rc.conf: gnome_enable="YES" - which instructions executed?

2010-06-30 Thread Chris Stankevitz
> From: Dan Nelson > > Q: Where on my hard drive can I find the instructions > >executed to "enable" GNOME? > > Try: > > grep "name=.*gnome" /usr/local/etc/rc.d/* Thank you. This command returns nothing, but it got me looking in the right place. There are multiple references to gnome_ena

Re: rc.conf: gnome_enable="YES" - which instructions executed?

2010-06-30 Thread Chris Stankevitz
> From: Rob Farmer > > > > Q: Where on my hard drive can I find the instructions > executed to "enable" GNOME? > > This enables dbus, avahi, hal, and gdm (assuming that they > are > installed, of course). See the files for those things in > /usr/local/etc/rc.d for the details of what is run. > >

Re: pkg_add fails due to 'broken pipe'. Is my system in a consistent state?

2010-06-30 Thread Chris Stankevitz
> From: Kevin Kinsey > > Q2: Where on my hard drive are the bytes that tell > > pkg_add to use > > ftp.freebsd.org when downloading packages? > > You mean like inode number, which cylinder No, I am looking for a file name. Thank you, Chris

Reinstalling a package

2010-06-30 Thread Chris Stankevitz
http://lists.freebsd.org/pipermail/freebsd-gnome/2010-June/024394.html In the above post, a FreeBSD GNOME team member recommends "rebuilding and reinstalling sysutils/polkit, sysutils/policykit, and sysutils/consolekit". Q: How do I "rebuild and reinstall" these applications when they were inst

Re: pkg_add fails due to 'broken pipe'. Is my system in a consistent state?

2010-06-30 Thread Chris Stankevitz
--- On Wed, 6/30/10, Yuri Pankov wrote: > /usr/src/usr.sbin/pkg_install/add/main.c > static char * getpackagesite(void) > > which constructs URL using ftp.freebsd.org unless > PACKAGESITE and > PACKAGEROOT are defined. Perfect, thank you! Chris

Convert all packages to ports

2010-07-01 Thread Chris Stankevitz
Hello, I setup my system using "packages". I have 675 "packages" installed and 0 "ports" installed. Q: Is there a simple way to replace each "package" with the locally compiled "port"? Ideally the procedure will not ask me any questions and will leave me with 0 installed "packages" and 675 i

Re: Convert all packages to ports

2010-07-01 Thread Chris Stankevitz
--- On Thu, 7/1/10, Glen Barber wrote: > Once "ports" or "packages" are installed, > there is no > differentiation to the system. Interesting. If this is true, then I can just start upgrading my 'pkg_add' installed packages using ports and eventually they will all be converted over to 'make'.

Re: Convert all packages to ports

2010-07-01 Thread Chris Stankevitz
--- On Thu, 7/1/10, Chris Stankevitz wrote: > Q: Is there a simple way to replace each "package" with the > locally compiled "port"? portmaster -f -a > Ideally the procedure will not ask me any questions Be prepared to answer hundreds of "options" ques

Re: Convert all packages to ports

2010-07-01 Thread Chris Stankevitz
--- On Thu, 7/1/10, Randal L. Schwartz wrote: > Chris> Be prepared to answer hundreds of "options" > questions.  To take the default option you must press > "TAB, ENTER" to each query.  Have fun! > > I just hit the letter "O" for "OK". Randal, Thank you, pressing "O" is indeed easier than TAB,

KDE post-install steps

2010-07-02 Thread Chris Stankevitz
Installation instructions for GNOME and KDE: http://www.freebsd.org/gnome/docs/faq2.html#q1 http://freebsd.kde.org/instructions.php GNOME: 1. cd /usr/ports/x11/gnome2, make install clean 2. Add 'gnome_enable="YES"' to rc.conf KDE: 1. cd /usr/ports/x11/kde4, make install clean 2. [none list

Re: KDE post-install steps

2010-07-02 Thread Chris Stankevitz
--- On Fri, 7/2/10, Polytropon wrote: > I think KDE also relies on DBUS and HAL Ok > and activating the KDE login manager > for X (kdm) requires an entry in /etc/ttys similar to the > one that is suggested for Gnome; GNOME installation docs suggest adding gnome_enable="YES" to rc.conf. There i

Re: KDE post-install steps

2010-07-02 Thread Chris Stankevitz
--- On Fri, 7/2/10, Chris Stankevitz wrote: > KDE: > 1. cd /usr/ports/x11/kde4, make install clean > 2. [none listed] > > Q: Does KDE installation have a "Step 2"? 2. Add these lines to ~/.xinitrc: PATH=/usr/local/kde4/bin:$PATH export PATH startkde4 3. Use '

Re: KDE post-install steps

2010-07-02 Thread Chris Stankevitz
--- On Fri, 7/2/10, Adam Vande More wrote: > What you should be doing is following the freebsd handbook, > it's specifically written for these types of issues. > > http://www.freebsd.org/doc/en/books/handbook/x11-wm.html Adam, Thank you. I started out with the handbook but before I reached se