Re: Installing FreeBSD ver. 8.2

2012-01-09 Thread Da Rock

On 01/08/12 09:05, leeoliveshackelf...@surewest.net wrote:

Greetings, dear FreeBSD enthusiast.  I am tearing my hair out trying to get 
FreeBSD 8.2 operating on my Hewlett-Packard xw4400 workstation.  I am a 
newcomer to FreeBSD.  This workstation is used by several different people.  
Normally, only one of them is logged in at any given time.  I have several 
questions and concerns.

(1)  Does anyone know how to get FreeBSD to read the motherboard name?  This name, on an xw4400, starts with 
"HP" followed by a eleven digits, and is given in Windows XP as "Full Computer Name" on the 
"Computer Name" tab of the "System Properties" window.  Among other purposes, this name is used by 
Novell network operating system to distinguish hosts on a subnet.

If you are running Xwindows you could also try "lshal" at the cmd line.


(2)  I cannot get the "find" command to locate files that I believe were installed at the time of 
sysinstall.  If I understand the Handbook correctly, when one runs "find" from the "/" 
directory, it is supposed to inspect all directories and subdirectories of all partitions, which it is not 
doing.  What concept am I missing here?

(3)  I thought that I would obtain a better understanding of the file system by running "man heir."  This command runs fine under "sh."  
When I switch to my preferred shell, which is "bash," I type, and receive echo on the screen, "man hei."  As soon as I depress 
"r," the entire previously entered command echos to the screen, starting where the "r" should have appeared.  In checking the bash manual, 
it says that this response is correct for "control-r."  I could not find "non-shift-r" to be called out as a command.  Am I doing something 
wrong?  Is this a hardware bug?  Is this a software bug?  Is there something that needs to be defined or undefined in a configuration file?

(4)  Not having very good luck with the "find" command, I thought I would try to use the "locate" command.  To use this command, one must create a 
database.  On www.us-webmasters.com, I read that this database could be constructed by running the command "#usr/libexec/locate.updatedb."  I entered 
"cd" to get to this directory,  I entered "ls -lt" to read the directory and to verify that it contained a file named "locate.updatedb," 
which it did.  But when I entered "locate.updatedb" at the command prompt, I received the response "command not found."  Why can the command shell 
not find the command when "ls" clearly indicates it to exist in the current directory?  How do I, as a user, distinguish an executable binary file from a data 
file?  FreeBSD does not seem to use file extension labels for this purpose.

(5)  What device driver must be installed for the sound board to be able to 
receive a m.i.d.i. over u.s.b. signal?  This signal would be generated by a 
musician's keyboard, and would control a music synthesizer application, to be 
installed.  I could find no mention of this topic in the Handbook.
You will need to load the kernel module "uaudio". That will take care of 
OSS drivers for you, most apps will require Jack, though. There is an 
application in the ports that apparently reads midi and writes to Jack- 
I've yet to try it myself, but in theory it could work :)


(6)  In the book "Absolute FreeBSD" by Urban and Tiemann, I found a two line 
command to cause the bash prompt to display the file path and current directory.  
Unfortunately, the text is quite unclear as to the name of the file to which these line 
are to be added, or the directory in which this file is located.  I assume  that 
somewhere there must be login configuration files, bearing each user's name, that give 
his or her shell configuration instructions.  What are the names of such files, and where 
are they located?

Any and all comments and instruction on these points are sorely needed and will 
be much appreciated.  Special thanks to those who responded to my previous 
message on this general topic.  Sincerely, --Lee

HTH. Good luck!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Installing FreeBSD ver. 8.2

2012-01-08 Thread Frank Shute
On Sun, Jan 08, 2012 at 12:32:25AM +0100, Polytropon wrote:
>
> On Sat,  7 Jan 2012 15:05:55 -0800 (PST), leeoliveshackelf...@surewest.net 
> wrote:
> > (1)  Does anyone know how to get FreeBSD to read the
> > motherboard name?  This name, on an xw4400, starts with
> > "HP" followed by a eleven digits, and is given in Windows
> > XP as "Full Computer Name" on the "Computer Name" tab
> > of the "System Properties" window.  Among other purposes,
> > this name is used by Novell network operating system to
> > distinguish hosts on a subnet.
> 
> The OS provides the output of dmesg and maybe the
> output of pciconf -lv, as well as the sysctl value
> dev.acpi.0.%desc which may contain the required
> information. However, I'm sure there is a program
> in the ports collection that can be used to obtain
> that kind of information.
> 
> Try:
> 
>   dmesg | grep "HP"
>   sysctl -a | grep "HP"
>   pciconf -lv | less
> 
> and see if there's such a number mentioned. Maybe
> you can also use acpidump to retrieve that information
> from the ACPI datasets.
> 
> 
> 
> > (2)  I cannot get the "find" command to locate files
> > that I believe were installed at the time of sysinstall. 
> > If I understand the Handbook correctly, when one runs
> > "find" from the "/" directory, it is supposed to inspect
> > all directories and subdirectories of all partitions,
> > which it is not doing.  What concept am I missing here?
> 
> It would be easier to answer if you could provide
> the find command line you've been running. :-)
> 
> See "man find" for more information. Basically,
> "find / -name  -type f" should be sufficient
> to access all partitions currently mounted to search
> for  specified regular files.
> 
> 
> 
> > (3)  I thought that I would obtain a better understanding
> > of the file system by running "man heir."  This command
> > runs fine under "sh."  When I switch to my preferred shell,
> > which is "bash," I type, and receive echo on the screen,
> > "man hei."  As soon as I depress "r," the entire previously
> > entered command echos to the screen, starting where the
> > "r" should have appeared.  In checking the bash manual, it
> > says that this response is correct for "control-r."  I
> > could not find "non-shift-r" to be called out as a command. 
> > Am I doing something wrong?  Is this a hardware bug?  Is
> > this a software bug?  Is there something that needs to be
> > defined or undefined in a configuration file?  
> 
> No, bash's configuration files provided after install
> should be fine.
> 
> However, I think you have a typo. The command you're
> intending to run is "man hier" ("hierarchy"). I've
> tested both csh and bash here, both allow the command
> to be entered without any interruption. When I type
> "man hei" followed by Ctrl+R, I get the following
> output: "(reverse-i-search)`': man hei".
> 
> 
> 
> > (4)  Not having very good luck with the "find" command,
> > I thought I would try to use the "locate" command. 
> > To use this command, one must create a database. 
> > On www.us-webmasters.com, I read that this database
> > could be constructed by running the command
> > "#usr/libexec/locate.updatedb." 
> 
> The required task is usually executed by the system's
> "night job" at 3:00 once a week. The script that will
> be run is /etc/periodic/weekly/310.locate which you
> could run manually. It will deal with the correct
> call of /usr/libexec/locate.updatedb (instead of
> running it as root!).

The thing to run is periodic(8):

# periodic weekly

That will also update other useful stuff.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpBnZ7iYcXM2.pgp
Description: PGP signature


Re: Installing FreeBSD ver. 8.2

2012-01-08 Thread andrew clarke
On Sat 2012-01-07 15:05:55 UTC-0800, leeoliveshackelf...@surewest.net 
(leeoliveshackelf...@surewest.net) wrote:

> (5) What device driver must be installed for the sound board to be
> able to receive a m.i.d.i. over u.s.b. signal?  This signal would be
> generated by a musician's keyboard, and would control a music
> synthesizer application, to be installed.  I could find no mention of
> this topic in the Handbook.

There are USB to MIDI in/out hardware devices available. Last I looked
they were selling for about US$25 on eBay. I bought one about two
years ago and use it in Ubuntu Linux. I don't think I ever tested if
it worked in FreeBSD but I suspect it would.

I also have a Casio WK3300 keyboard with USB output. I don't think it
was supported by FreeBSD, but Ubuntu Linux (10.04 Lucid) recognised it.

The sound card you use is irrelevant as to whether you can use MIDI
over USB. In fact MIDI can be used for non-audio applications, for
example lighting rigs.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Installing FreeBSD ver. 8.2

2012-01-07 Thread Carl Johnson
Polytropon  writes:

> On Sat,  7 Jan 2012 15:05:55 -0800 (PST), leeoliveshackelf...@surewest.net 
> wrote:
>> (1)  Does anyone know how to get FreeBSD to read the
>> motherboard name?  This name, on an xw4400, starts with
>> "HP" followed by a eleven digits, and is given in Windows
>> XP as "Full Computer Name" on the "Computer Name" tab
>> of the "System Properties" window.  Among other purposes,
>> this name is used by Novell network operating system to
>> distinguish hosts on a subnet.
>
> The OS provides the output of dmesg and maybe the
> output of pciconf -lv, as well as the sysctl value
> dev.acpi.0.%desc which may contain the required
> information. However, I'm sure there is a program
> in the ports collection that can be used to obtain
> that kind of information.
>
> Try:
>
>   dmesg | grep "HP"
>   sysctl -a | grep "HP"
>   pciconf -lv | less
>
> and see if there's such a number mentioned. Maybe
> you can also use acpidump to retrieve that information
> from the ACPI datasets.

The 'kenv' command seems to have the board name available as
'smbios.system.product'.  The 'kenv' command without arguments will show
all values, so you can make sure that is the proper variable.

-- 
Carl Johnsonca...@peak.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Installing FreeBSD ver. 8.2

2012-01-07 Thread Polytropon
On Sat,  7 Jan 2012 15:05:55 -0800 (PST), leeoliveshackelf...@surewest.net 
wrote:
> (1)  Does anyone know how to get FreeBSD to read the
> motherboard name?  This name, on an xw4400, starts with
> "HP" followed by a eleven digits, and is given in Windows
> XP as "Full Computer Name" on the "Computer Name" tab
> of the "System Properties" window.  Among other purposes,
> this name is used by Novell network operating system to
> distinguish hosts on a subnet.

The OS provides the output of dmesg and maybe the
output of pciconf -lv, as well as the sysctl value
dev.acpi.0.%desc which may contain the required
information. However, I'm sure there is a program
in the ports collection that can be used to obtain
that kind of information.

Try:

dmesg | grep "HP"
sysctl -a | grep "HP"
pciconf -lv | less

and see if there's such a number mentioned. Maybe
you can also use acpidump to retrieve that information
from the ACPI datasets.



> (2)  I cannot get the "find" command to locate files
> that I believe were installed at the time of sysinstall. 
> If I understand the Handbook correctly, when one runs
> "find" from the "/" directory, it is supposed to inspect
> all directories and subdirectories of all partitions,
> which it is not doing.  What concept am I missing here?

It would be easier to answer if you could provide
the find command line you've been running. :-)

See "man find" for more information. Basically,
"find / -name  -type f" should be sufficient
to access all partitions currently mounted to search
for  specified regular files.



> (3)  I thought that I would obtain a better understanding
> of the file system by running "man heir."  This command
> runs fine under "sh."  When I switch to my preferred shell,
> which is "bash," I type, and receive echo on the screen,
> "man hei."  As soon as I depress "r," the entire previously
> entered command echos to the screen, starting where the
> "r" should have appeared.  In checking the bash manual, it
> says that this response is correct for "control-r."  I
> could not find "non-shift-r" to be called out as a command. 
> Am I doing something wrong?  Is this a hardware bug?  Is
> this a software bug?  Is there something that needs to be
> defined or undefined in a configuration file?  

No, bash's configuration files provided after install
should be fine.

However, I think you have a typo. The command you're
intending to run is "man hier" ("hierarchy"). I've
tested both csh and bash here, both allow the command
to be entered without any interruption. When I type
"man hei" followed by Ctrl+R, I get the following
output: "(reverse-i-search)`': man hei".



> (4)  Not having very good luck with the "find" command,
> I thought I would try to use the "locate" command. 
> To use this command, one must create a database. 
> On www.us-webmasters.com, I read that this database
> could be constructed by running the command
> "#usr/libexec/locate.updatedb." 

The required task is usually executed by the system's
"night job" at 3:00 once a week. The script that will
be run is /etc/periodic/weekly/310.locate which you
could run manually. It will deal with the correct
call of /usr/libexec/locate.updatedb (instead of
running it as root!).



> I entered "cd" to get to this directory,  I entered
> "ls -lt" to read the directory and to verify that it
> contained a file named "locate.updatedb," which it did. 
> But when I entered "locate.updatedb" at the command
> prompt, I received the response "command not found." 
> Why can the command shell not find the command when
> "ls" clearly indicates it to exist in the current
> directory? 

Because execution of programs will only be done from
directories that are listed in $PATH. Check the
output of "echo $PATH" and you'll see that /usr/libexec
is not on that list. Intendedly.

You need to explicitely call such programs with the
full pathname, or from within the directory by prefixing
it with ./, e. g. "./locate.updatedb". However, doing
that as user or as root is not the correct way to perform
the required action. Call the script from /etc/periodic
instead to issue the building of the database now.



> How do I, as a user, distinguish an executable binary
> file from a data file? 

This is done by file attributes. The "executable" bit
must be set. Shells that call the ls command have the
ability to use a color scheme and a suffix to show
this directly:

% ll /etc/rc.conf /etc/rc.local 
-rw-r--r--  1 root  wheel  1563 Aug 24 06:43 /etc/rc.conf
-rwxr-  1 root  wheel   602 Dec 11  2009 /etc/rc.local*

The asterisk indicates an executable, as well as the "x"
in the attributes field at the beginning. Furthermore,
the filename "/etc/rc.local" appears in bright green
color.

For the C shell, use

setenv LSCOLORS ExGxdxdxCxDxDxBxBxegeg

and for bash, use

export LSCOLORS="ExGxdxdxCxDxDxBxBxegeg"

to configure the colors. See "man ls" for details.
Oh, and the "ll" from my example is "ls -laFG" whic

Re: Installing FreeBSD ver. 8.2

2012-01-07 Thread Rares Aioanei

On 01/08/2012 01:05 AM, leeoliveshackelf...@surewest.net wrote:

Greetings, dear FreeBSD enthusiast.  I am tearing my hair out trying to get 
FreeBSD 8.2 operating on my Hewlett-Packard xw4400 workstation.  I am a 
newcomer to FreeBSD.  This workstation is used by several different people.  
Normally, only one of them is logged in at any given time.  I have several 
questions and concerns.

(1)  Does anyone know how to get FreeBSD to read the motherboard name?  This name, on an xw4400, starts with 
"HP" followed by a eleven digits, and is given in Windows XP as "Full Computer Name" on the 
"Computer Name" tab of the "System Properties" window.  Among other purposes, this name is used by 
Novell network operating system to distinguish hosts on a subnet.

(2)  I cannot get the "find" command to locate files that I believe were installed at the time of 
sysinstall.  If I understand the Handbook correctly, when one runs "find" from the "/" 
directory, it is supposed to inspect all directories and subdirectories of all partitions, which it is not 
doing.  What concept am I missing here?

man find and "find / -name pattern"

(3)  I thought that I would obtain a better understanding of the file system by running "man heir."  This command runs fine under "sh."  
When I switch to my preferred shell, which is "bash," I type, and receive echo on the screen, "man hei."  As soon as I depress 
"r," the entire previously entered command echos to the screen, starting where the "r" should have appeared.  In checking the bash manual, 
it says that this response is correct for "control-r."  I could not find "non-shift-r" to be called out as a command.  Am I doing something 
wrong?  Is this a hardware bug?  Is this a software bug?  Is there something that needs to be defined or undefined in a configuration file?

Do you mean "man hier"?

(4)  Not having very good luck with the "find" command, I thought I would try to use the "locate" command.  To use this command, one must create a 
database.  On www.us-webmasters.com, I read that this database could be constructed by running the command "#usr/libexec/locate.updatedb."  I entered 
"cd" to get to this directory,  I entered "ls -lt" to read the directory and to verify that it contained a file named "locate.updatedb," 
which it did.  But when I entered "locate.updatedb" at the command prompt, I received the response "command not found."  Why can the command shell 
not find the command when "ls" clearly indicates it to exist in the current directory?  How do I, as a user, distinguish an executable binary file from a data 
file?  FreeBSD does not seem to use file extension labels for this purpose.
You are confusing the commands. As the name implies, locate.updatedb is 
to be used with locate, not find. Try man whereis and /usr/libexec.

(5)  What device driver must be installed for the sound board to be able to 
receive a m.i.d.i. over u.s.b. signal?  This signal would be generated by a 
musician's keyboard, and would control a music synthesizer application, to be 
installed.  I could find no mention of this topic in the Handbook.

What hardware do you have?

(6)  In the book "Absolute FreeBSD" by Urban and Tiemann, I found a two line 
command to cause the bash prompt to display the file path and current directory.  
Unfortunately, the text is quite unclear as to the name of the file to which these line 
are to be added, or the directory in which this file is located.  I assume  that 
somewhere there must be login configuration files, bearing each user's name, that give 
his or her shell configuration instructions.  What are the names of such files, and where 
are they located?

Try .bashrc. The variable is named PS1.

Any and all comments and instruction on these points are sorely needed and will 
be much appreciated.  Special thanks to those who responded to my previous 
message on this general topic.  Sincerely, --Lee

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"




--
Rares Aioanei

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Installing FreeBSD ver. 8.2

2012-01-07 Thread leeoliveshackelford
Greetings, dear FreeBSD enthusiast.  I am tearing my hair out trying to get 
FreeBSD 8.2 operating on my Hewlett-Packard xw4400 workstation.  I am a 
newcomer to FreeBSD.  This workstation is used by several different people.  
Normally, only one of them is logged in at any given time.  I have several 
questions and concerns.

(1)  Does anyone know how to get FreeBSD to read the motherboard name?  This 
name, on an xw4400, starts with "HP" followed by a eleven digits, and is given 
in Windows XP as "Full Computer Name" on the "Computer Name" tab of the "System 
Properties" window.  Among other purposes, this name is used by Novell network 
operating system to distinguish hosts on a subnet.

(2)  I cannot get the "find" command to locate files that I believe were 
installed at the time of sysinstall.  If I understand the Handbook correctly, 
when one runs "find" from the "/" directory, it is supposed to inspect all 
directories and subdirectories of all partitions, which it is not doing.  What 
concept am I missing here?

(3)  I thought that I would obtain a better understanding of the file system by 
running "man heir."  This command runs fine under "sh."  When I switch to my 
preferred shell, which is "bash," I type, and receive echo on the screen, "man 
hei."  As soon as I depress "r," the entire previously entered command echos to 
the screen, starting where the "r" should have appeared.  In checking the bash 
manual, it says that this response is correct for "control-r."  I could not 
find "non-shift-r" to be called out as a command.  Am I doing something wrong?  
Is this a hardware bug?  Is this a software bug?  Is there something that needs 
to be defined or undefined in a configuration file?  

(4)  Not having very good luck with the "find" command, I thought I would try 
to use the "locate" command.  To use this command, one must create a database.  
On www.us-webmasters.com, I read that this database could be constructed by 
running the command "#usr/libexec/locate.updatedb."  I entered "cd" to get to 
this directory,  I entered "ls -lt" to read the directory and to verify that it 
contained a file named "locate.updatedb," which it did.  But when I entered 
"locate.updatedb" at the command prompt, I received the response "command not 
found."  Why can the command shell not find the command when "ls" clearly 
indicates it to exist in the current directory?  How do I, as a user, 
distinguish an executable binary file from a data file?  FreeBSD does not seem 
to use file extension labels for this purpose.

(5)  What device driver must be installed for the sound board to be able to 
receive a m.i.d.i. over u.s.b. signal?  This signal would be generated by a 
musician's keyboard, and would control a music synthesizer application, to be 
installed.  I could find no mention of this topic in the Handbook.

(6)  In the book "Absolute FreeBSD" by Urban and Tiemann, I found a two line 
command to cause the bash prompt to display the file path and current 
directory.  Unfortunately, the text is quite unclear as to the name of the file 
to which these line are to be added, or the directory in which this file is 
located.  I assume  that somewhere there must be login configuration files, 
bearing each user's name, that give his or her shell configuration 
instructions.  What are the names of such files, and where are they located?

Any and all comments and instruction on these points are sorely needed and will 
be much appreciated.  Special thanks to those who responded to my previous 
message on this general topic.  Sincerely, --Lee

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Installing FreeBSD ver. 8.2

2011-12-31 Thread Polytropon
On Fri, 30 Dec 2011 20:45:37 -0800 (PST), leeoliveshackelf...@surewest.net 
wrote:
> Good evening, dear FreeBSD enthusiast.  I am a newcomer,
> and have installed FreeBSD 8.2 on a Hewlett-Packard xw4400. 

Excellent choice of OS.



> After many hours of frustration, I am tearing my hair out. 
> I want my system to include an M-Audio Delta 1010LT sound
> card, MIDI over USB driver, X-windows, and Gnome. 

The M-Audio Delta sound hardware is listed in the snd_envy24
sound driver. MIDI over USB... sorry, no experience with that
(only "real" MIDI in ye olden times). X-Window (X11) and
Gnome need to be installed, they are not part of the operating
system.



> The instructions in the handbook and on-disk man do not
> seem to apply to this version of FreeBSD, or at least I
> do not seem to know how to apply them. 

The basic steps should be the same. They have been nearly
the same since 4.0. :-)



> I type "find sound," or "find pcm," or find snd_envy24,"
> or "find x11," or "find gnome," and receive either a
> blank response, or response of "file does not exist" to
> all of these queries. 

That's correct. See "man find" for how to properly invoke
that program. Basically, you use

# find  -name 

to find some specific files, e. g.

# find /usr/ports -name gnome
# find /boot -name snd_envy24\*

You can add the \* wildcard (* needs to be escaped for the
shell to _not_ expand it!) if you're not searching for one
specific file name.



> All of these items were supposedly installed at the time
> of system configuration, but as to where, I cannot seem
> to determine. 

Installed software will be in /usr/local. You can for example
use the command

# find /usr/local -name gnome-session\*

to see if the gnome session manager has been installed.

An easier approach is to make yourself familiar with ports
and packages, and how to use the pkg_* family of tools, as
well as how to read the content of /var/db/pkg; for example,
all installed software will cause a directory to be created
in that path, so you can see if it's there:

# ls /var/db/pkg/gnome*

will list all gnome stuff that is installed. This subtree is
your "catalog of installed things". But it's _much_ easier
to read "man pkg_info" and use that.

It's not the time for a lecture about shell scripting
right now. :-)

Just in case you don't know the correct syntax for any
command, or the purpose or layout of a file, use its
man page. FreeBSD is known for covering all the parts
of the OS with a proper manual page (system binaries
and scripts, configuration files, device drivers,
kernel interfaces, library functions, system operation
and maintenance procedures, and introductions).



> The gnome installation took twice as long as installation
> of everything else.  Where did sysinstall install it? 

Into /usr/local. Gnome is a "heavy beast" with lots of
dependencies.



> How do I get it to start? 

This is covered in the Handbook in section 6.7:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html

make sure you're running the depending services related
to making Gnome functional. Additionally, in most cases
you'll want to have

hald_enable="YES"
dbus_enable="YES"

in /etc/rc.conf, the system's configuration file.

Also see http://www.freebsd.org/gnome/



> The response to "startx" is "file does not exit."  I realize
> that I may be missing something o
>  b!
> vious. 

It seems that you're missing X. :-)

You need to install the xorg port (or package via pkg_add -r)
along with the driver for your graphics card. If you have
successfully accomplished that, Gnome should be up and
running.





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Installing FreeBSD ver. 8.2

2011-12-30 Thread Da Rock

On 12/31/11 14:45, leeoliveshackelf...@surewest.net wrote:

Good evening, dear FreeBSD enthusiast.  I am a newcomer, and have installed FreeBSD 8.2 on a Hewlett-Packard xw4400.  After many hours of frustration, I 
am tearing my hair out.  I want my system to include an M-Audio Delta 1010LT sound card, MIDI over USB driver, X-windows, and Gnome.  The instructions in 
the handbook and on-disk man do not seem to apply to this version of FreeBSD, or at least I do not seem to know how to apply them.  I type "find 
sound," or "find pcm," or find snd_envy24," or "find x11," or "find gnome," and receive either a blank response, 
or response of "file does not exist" to all of these queries.  All of these items were supposedly installed at the time of system configuration, 
but as to where, I cannot seem to determine.  The gnome installation took twice as long as installation of everything else.  Where did sysinstall install 
it?  How do I get it to start?  The response to "startx" is "file does not exit."  I realize that I may be missing something o
  b!
vious.  Any guidance is appreciated.  -- Lee
Lee, your provided info so far is great. But what happened when you 
first installed the system? Step by step through the install process.


1. Disk in, boot up.
2. Wait for beastie menu or hit enter to run.
3. Keyboard selected.
4. Standard install started.
5. Drive formatted.
6. Base packages selected - which ones?
7. Users, Root, mouse and time setup.
8. Network services (NFS client or server, gateway, etc).
9. Package install- any packages selected? (Is this where you installed 
gnome and X)

10. Anything else configured?
11. Reboot. What showed up on the reboot? Run dmesg and post the output.

Also, which part of the handbook are you reading? The teletyped lines 
are commands to be run, and I'm not sure where your commands are coming 
from.


Find is a directory tree parser, and can be used to find things. So you 
run "find / -name foo" to find "foo" in the filesystem. "find /" will 
list the whole filesystem. What attempting I believe would be "whereis", 
as in "whereis sound". Run "man find" or "man whereis" to discover more, 
or google those commands if you have trouble reading that on the console.


Running startx won't get you far if you're looking for a Desktop 
Environment like Gnome, so lets hold on that. But lets see if you can 
get the sound first- login as root or "su -" at the prompt (password 
will be root's password) and try "kldload snd_driver" and "cat 
/dev/sndstat" and post the output. That will load sound and try to find 
the right driver for you as a kernel module. Note that and run "ee 
/boot/loader.conf" and add the driver there (as in snd_hda or 
snd_envy24) directly followed by _load=YES: eg, snd_hda_load=YES. Hit 
the escape key to save and exit. The driver will load every time you 
boot now.


More next episode. Good luck :)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Installing FreeBSD ver. 8.2

2011-12-30 Thread leeoliveshackelford
Good evening, dear FreeBSD enthusiast.  I am a newcomer, and have installed 
FreeBSD 8.2 on a Hewlett-Packard xw4400.  After many hours of frustration, I am 
tearing my hair out.  I want my system to include an M-Audio Delta 1010LT sound 
card, MIDI over USB driver, X-windows, and Gnome.  The instructions in the 
handbook and on-disk man do not seem to apply to this version of FreeBSD, or at 
least I do not seem to know how to apply them.  I type "find sound," or "find 
pcm," or find snd_envy24," or "find x11," or "find gnome," and receive either a 
blank response, or response of "file does not exist" to all of these queries.  
All of these items were supposedly installed at the time of system 
configuration, but as to where, I cannot seem to determine.  The gnome 
installation took twice as long as installation of everything else.  Where did 
sysinstall install it?  How do I get it to start?  The response to "startx" is 
"file does not exit."  I realize that I may be missing something o
 b!
vious.  Any guidance is appreciated.  -- Lee

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"