CS-Reloaded Banner
Welcome, Guest. Please Login or Register.
Download Second Map Pack!
Get more packs here

Home Help Search Login Register

CSReloaded Forums  |  General Category  |  Help & Troubleshooting (Moderator: Guardian_Tenshi)  |  Topic: New Unix/Linux user needs some help.
Pages: [1] Reply Notify of replies
   Author  Topic: New Unix/Linux user needs some help.  (Read 251 times)
Guardian_Tenshi
Global Moderator
*****
Karma: +53/-26

Offline

Gender: Male
Posts: 1114

276733708 276733708 clanguardian2003 Ol+Grimmy
View Profile WWW E-Mail
New Unix/Linux user needs some help.
« on: October 04, 2003, 09:24:27 PM »
Reply with quote

Hey guys, I upgraded my laptop a bit, and finally got some Unix's FreeBSD on there.  It's loading and running KDE pretty happily now, but for some reason I can't get it to compile GAIM.  It starts to compile, and then gives me an error
Code:

In file included from libgg.c:54:
../../../src/internal.h:31:23: libintl.h: No such file or directory
*** Error code 1
I went searching around gaim's website to try and get some assistance but all I could find was this FAQ URL, and this doesn't help me much.

[url=http://gaim.sourceforge.net/faq.php#q1]http://gaim.sourceforge.net/faq.php#q1

[/url]
Does anyone smart with Linux like say umm...slight? have any idea why this isn't working, or what I can do to make it work?  I've made sure to install gettext, autoconf, and automake to the specifications they say.

Tenshi
Logged

slightcrazed
-TWB-
Admin Team
CSR Connoisseur
*****
Karma: +65/-7

Offline

Gender: Male
Posts: 983


View Profile
Re:New Unix/Linux user needs some help.
« Reply #1 on: October 04, 2003, 11:36:36 PM »
Reply with quote

You have a missing dependancy... libintl.h is a header file that comes with the GNU C library. Specifically, it is part of the C development package. Google search for glibc-devel and you should find a tar-ball that you can install to take care of the dependency.

Alternately, you may have this file installed, but BSD may put it in a different place than gaim is expecting.

as root:
$>updatedb
$>locate libintl.h

my libintl.h is in /usr/include/libintl.h, and that is where is should be. If locate finds the file, but it is in a different location, then you can sym-link to it.

$>ln -s /your/libintl.h /usr/include/libintl.h

If you've never done linking before, it's the same as a shortcut in windows. Replace /your/libintl.h with whatever locate returned.

I'm not as good with BSD as I am with Linux, but BSD is a good choice for that laptop. Are you running the newest KDE? Sweet.

slight

Logged

I once beat Drizzt Do'Urden at thumb wrestling.
Guardian_Tenshi
Global Moderator
*****
Karma: +53/-26

Offline

Gender: Male
Posts: 1114

276733708 276733708 clanguardian2003 Ol+Grimmy
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #2 on: October 05, 2003, 12:24:18 AM »
Reply with quote

i believe i'm running KDE 3.0, not sure if that is the NEWEST one, but it's good enough.

what is the difference between sh and csh?

because all my prompts have
#
not
$

so i guess i need to know how to switch between the two also.


Tenshi
« Last Edit: October 05, 2003, 12:37:36 AM by Guardian_Tenshi » Logged

Guardian_Tenshi
Global Moderator
*****
Karma: +53/-26

Offline

Gender: Male
Posts: 1114

276733708 276733708 clanguardian2003 Ol+Grimmy
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #3 on: October 05, 2003, 01:17:15 AM »
Reply with quote

okay, either way, i found mine...and this is dumb...

mind is in /usr/local/include/libintl.h so mine is more "special" because it adds a folder called local?  if this fixes my problem i'm gonna get pissed, but i'm compiling right now, or trying to anyway.

Tenshi
Logged

Guardian_Tenshi
Global Moderator
*****
Karma: +53/-26

Offline

Gender: Male
Posts: 1114

276733708 276733708 clanguardian2003 Ol+Grimmy
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #4 on: October 05, 2003, 03:02:04 AM »
Reply with quote

wow, it's fixed.  I'm not sure if I want to jump up and down that it's finally fixed or cry because that was all because of one freaking folder, but that seemed to do the trick.  Absolutely unbelievable.  Slight man, you really need to add "Linux God" under your name.  Of course, I can't give all the credit to you, Porter is the one who god KDE and FreeBSD even up and running, not to mention fixed half the bugs with hardware stuff.  He gets a "Linux God" tag too.

Thanks again to both of you!
You're awesome!!!!!!!!!

Tenshi
Logged

slightcrazed
-TWB-
Admin Team
CSR Connoisseur
*****
Karma: +65/-7

Offline

Gender: Male
Posts: 983


View Profile
Re:New Unix/Linux user needs some help.
« Reply #5 on: October 05, 2003, 08:49:10 AM »
Reply with quote

Quote from: Guardian_Tenshi on October 05, 2003, 12:24:18 AM
i believe i'm running KDE 3.0, not sure if that is the NEWEST one, but it's good enough.

what is the difference between sh and csh?

because all my prompts have
#
not
$

so i guess i need to know how to switch between the two also.


Tenshi

Actually, the shell should not matter. In fact, I use bash on the command line, which has # for the prompt, but if I use gnometerminal in X-windows I get $.
KDE 3.1.4 is actually the newest official release, but not much has changed since 3.0. I prefer gnome, and never used KDE much, but some people swear by it.

Good to hear you got everything working, and welcome to the world of *nix.

slight
Logged

I once beat Drizzt Do'Urden at thumb wrestling.
Porter
[Wumpa]
Board Admin
*****
Karma: +176/--88

Offline

Gender: Male
Posts: 3910

Wumpa+Porter
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #6 on: October 05, 2003, 12:44:58 PM »
Reply with quote

Tenshi, you need to remember this order when ever you get a new source package off the net:

cd packageDir/
./configure
make
make test
make install

Some of these might not work depending on how big the piece of software you're working with is, but you should always try running them all anyway. I suspect you might have missed the ./configure command, which will create a custom Makefile specifically for your system. That usually takes care of any broken dependencies like the one you saw.
Logged

[Wumpa] Porter
  --Silent, professional, lethal... sometimes.
Porter
[Wumpa]
Board Admin
*****
Karma: +176/--88

Offline

Gender: Male
Posts: 3910

Wumpa+Porter
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #7 on: October 05, 2003, 01:07:34 PM »
Reply with quote

The command prompt thing:

csh (and tcsh [which is a extended version of csh]) use different symbols to let you know when you have super user access as compared to normal access. Normally your prompt will be a %, but will change to # when you have super user access. Other shells use the $ as a prompt char. The more you see it and use it, the more it'll just "make sense" to you, trust me. Next time you're around here with your laptop, I'll add a .cshrc file that will make the prompt a little more useful. You can create your own now by doing the following (everything in parens is notes so you know what's going on-- don't type them in. Press enter after you type each line in too):

cd ~ (changes to your home directory)
emacs .cshrc (opens the emacs editor and load .cshrc)
# Tenshi's personal csh config file (header comment)
set promptchars='%#' (tells csh which chars to use for normal/su access)
set prompt="%B[%b%m:%~%B]%#%b " (fancy config line for your actual command prompt)
ctrl-x ctrl-s (saves the emacs file currently open)
ctrl-x ctrl-c (exits emacs)
source ~/.cshrc (re-reads the file. works like 'exec' in CS's console)


Also, you need to start logging in as your normal name instead of root. It's too dangerous to be doing everything as root-- you really only do it when you're setting a system up initially or installing new sfotware.
Logged

[Wumpa] Porter
  --Silent, professional, lethal... sometimes.
slightcrazed
-TWB-
Admin Team
CSR Connoisseur
*****
Karma: +65/-7

Offline

Gender: Male
Posts: 983


View Profile
Re:New Unix/Linux user needs some help.
« Reply #8 on: October 05, 2003, 06:42:56 PM »
Reply with quote

EMACS????? YUK! P-TOOEY!!

Real men use vi (or my personal fave, elVIs).
Thank ya, thank ya very much.

Ya know porter, I never even noticed that the prompt changed when I su'd to root. NOW I feel like a dope.

slight
Logged

I once beat Drizzt Do'Urden at thumb wrestling.
Ryo-Ohki
[Wumpa]
Board Admin
*****
Karma: +30/-6

Offline

Posts: 187

tokyoicabbit
View Profile E-Mail
Re:New Unix/Linux user needs some help.
« Reply #9 on: October 05, 2003, 08:08:54 PM »
Reply with quote

AHHHHHH Yes finally another Vi fan!!  Yes together we shall conquer the world . . . .    No I did not have too much to drink last night . . .
Logged

"how does this work? where do my teeth go?" - a lepord cub trying to eat a turtle
-- panda cam
Guardian_Tenshi
Global Moderator
*****
Karma: +53/-26

Offline

Gender: Male
Posts: 1114

276733708 276733708 clanguardian2003 Ol+Grimmy
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #10 on: October 06, 2003, 01:05:50 AM »
Reply with quote

okay, now GAIM is working, but i've encountered another problem, and this is probably my ignorance in general computers...The deal is my computer can't play .wav files (specifically everytime someone sends me an IM or signs on/off i get the same system beep instead of a .wav)  Oddly enough I do have SOUND.  It can play CD's at both the prompt and in KDE, but no dice on .wav files.  Is there another type of sound application or midi thingy to configure?  i AM getting an error when I startx (KDE). 

How do I track down what's wrong, and how do I fix this issue?  are there two different "players" and I don't want to mess up one to fix the other also obvoiusly.

Let me know.

Tenshi
Logged

slightcrazed
-TWB-
Admin Team
CSR Connoisseur
*****
Karma: +65/-7

Offline

Gender: Male
Posts: 983


View Profile
Re:New Unix/Linux user needs some help.
« Reply #11 on: October 06, 2003, 08:04:53 AM »
Reply with quote

Gaim probably defaults to a specific sound device, and you might have to set an alias in order for it to recognize your sound card and play a sound. BSD has some minor differences from Linux, so you'll run into problems like this from time to time when you use Linux software on a BSD system. (Your original problem is a good example of this).

I would post your question on the linux questions forum under their BSD section, and see if anyone has an answer for you.

LinuxQuestions.org BSD forum

Be as detailed as you can with the problem, and I bet you'll get an answer.

slight
Logged

I once beat Drizzt Do'Urden at thumb wrestling.
slightcrazed
-TWB-
Admin Team
CSR Connoisseur
*****
Karma: +65/-7

Offline

Gender: Male
Posts: 983


View Profile
Re:New Unix/Linux user needs some help.
« Reply #12 on: October 06, 2003, 09:24:29 AM »
Reply with quote

Quote from: Ryo-Ohki on October 05, 2003, 08:08:54 PM
AHHHHHH Yes finally another Vi fan!!  Yes together we shall conquer the world . . . .    No I did not have too much to drink last night . . .

Yes YES!!! TAKE OVER THE WORLD!!!! MUAHAHAHAHAH!!!!!

:wq!

slight
Logged

I once beat Drizzt Do'Urden at thumb wrestling.
Guardian_Tenshi
Global Moderator
*****
Karma: +53/-26

Offline

Gender: Male
Posts: 1114

276733708 276733708 clanguardian2003 Ol+Grimmy
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #13 on: October 06, 2003, 07:31:54 PM »
Reply with quote

okay, i signed up, and posted, but no responses yet...

http://www.linuxquestions.org/questions/showthread.php?s=&forumid=25&threadid=100914


anything I should add, or reword?  or advice to give?  post there!!

Tenshi
Logged

slightcrazed
-TWB-
Admin Team
CSR Connoisseur
*****
Karma: +65/-7

Offline

Gender: Male
Posts: 983


View Profile
Re:New Unix/Linux user needs some help.
« Reply #14 on: October 07, 2003, 07:30:31 AM »
Reply with quote

Nope..... I think you covered all the specifics.

In Unix, everything (including hardware) is a file. So /dev/dsp is the 'file' that represents your sound card. So if you don't have /dev/dsp, or your sound card is outputting to another file, then any programs that use /dev/dsp as your sound card will have problems. First thing I would do is check to see if you have this file. If you don't, then you can create it:

As root:

touch /dev/dsp && chmod 777 /dev/dsp

and this might help. If you are able to play CDs then BSD recognized and loaded the correct driver for your sound card during install, so it doesn't sound like a driver issue. Just to be sure though, can you post the output of lsmod (might have to do it as /sbin/lsmod) so we can see what modules (drivers) are loaded?

thanks

slights
Logged

I once beat Drizzt Do'Urden at thumb wrestling.
Guardian_Tenshi
Global Moderator
*****
Karma: +53/-26

Offline

Gender: Male
Posts: 1114

276733708 276733708 clanguardian2003 Ol+Grimmy
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #15 on: October 07, 2003, 02:56:16 PM »
Reply with quote

okay, we might already be onto something here then.  In my /dev directory I don't have a plan dsp file.  I have dsp0.0, dsp0.1, dspW0.0, dspW0.1, and dspr0.0  does that help you evaluate my problem at all??
Logged

Porter
[Wumpa]
Board Admin
*****
Karma: +176/--88

Offline

Gender: Male
Posts: 3910

Wumpa+Porter
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #16 on: October 07, 2003, 04:29:15 PM »
Reply with quote

Quote from: slightcrazed on October 07, 2003, 07:30:31 AM
As root:

touch /dev/dsp && chmod 777 /dev/dsp


No no no no!

Don't do this. FreeBSD 5+ auto-creates its device entries-- you never have to do it by hand. This could be potentially harmful.

The dot notations for the dsp device indicate specific sound channels. These should usually be auto-handled by referencing the root "dsp" device, but you might need to manually specify one or another. Try specifying dsp0.0 in your KDE Control Center Tenshi.
Logged

[Wumpa] Porter
  --Silent, professional, lethal... sometimes.
Guardian_Tenshi
Global Moderator
*****
Karma: +53/-26

Offline

Gender: Male
Posts: 1114

276733708 276733708 clanguardian2003 Ol+Grimmy
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #17 on: October 07, 2003, 05:22:40 PM »
Reply with quote

is there a way that I can figure out which one of those does what, or supposed powers what?? as in, from prompt can I ask it what those different dsp's are?  such as ifconfig tells me what dc0 is?

Worry not porter, I haven't done anything yet, cause I still don't know WHAT to do.  No offense slight.

Tenshi

PS - someone went and posted something in my forum, and I have no idea what the heck he is talking about.  Can someone either explain what he said better, or is he just blowing smoke??
« Last Edit: October 07, 2003, 05:56:45 PM by Guardian_Tenshi » Logged

slightcrazed
-TWB-
Admin Team
CSR Connoisseur
*****
Karma: +65/-7

Offline

Gender: Male
Posts: 983


View Profile
Re:New Unix/Linux user needs some help.
« Reply #18 on: October 07, 2003, 06:57:02 PM »
Reply with quote

Quote from: Porter on October 07, 2003, 04:29:15 PM
Quote from: slightcrazed on October 07, 2003, 07:30:31 AM
As root:

touch /dev/dsp && chmod 777 /dev/dsp


No no no no!

Don't do this. FreeBSD 5+ auto-creates its device entries-- you never have to do it by hand. This could be potentially harmful.

The dot notations for the dsp device indicate specific sound channels. These should usually be auto-handled by referencing the root "dsp" device, but you might need to manually specify one or another. Try specifying dsp0.0 in your KDE Control Center Tenshi.

I have to keep reminding myself that it's BSD and not linux.
So close.....yet so far away.

slight
Logged

I once beat Drizzt Do'Urden at thumb wrestling.
slightcrazed
-TWB-
Admin Team
CSR Connoisseur
*****
Karma: +65/-7

Offline

Gender: Male
Posts: 983


View Profile
Re:New Unix/Linux user needs some help.
« Reply #19 on: October 07, 2003, 07:13:13 PM »
Reply with quote

Quote from: Guardian_Tenshi on October 07, 2003, 05:22:40 PM
is there a way that I can figure out which one of those does what, or supposed powers what?? as in, from prompt can I ask it what those different dsp's are?  such as ifconfig tells me what dc0 is?

Worry not porter, I haven't done anything yet, cause I still don't know WHAT to do.  No offense slight.

Tenshi

PS - someone went and posted something in my forum, and I have no idea what the heck he is talking about.  Can someone either explain what he said better, or is he just blowing smoke??

That's trickykid. Trust me, he's not blowing smoke. The guy knows more about Linux/Unix than anyone else I have ever met. He's the leading poster on a forum with over 60,000 users (10,845 posts and counting). He is kind of saying the same thing I said, that for some reason /dev/dsp either isn't there or if it is it does not have the correct permissions (write access namely). The command he was asking you to do will give read and write permissions to the file.

chmod 666 /dev/dsp*

Include the * so that it will change all of the files in that directory that start with dsp.


Porter, do you agree with this? Can't harm anything under Linux, I'm assuming its harmless under BSD as well. Worth a shot?

slight
Logged

I once beat Drizzt Do'Urden at thumb wrestling.
Guardian_Tenshi
Global Moderator
*****
Karma: +53/-26

Offline

Gender: Male
Posts: 1114

276733708 276733708 clanguardian2003 Ol+Grimmy
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #20 on: October 07, 2003, 08:26:31 PM »
Reply with quote

does it matter which directory i'm in when I type something like that?  I assume i want to be in / 

what file is it giving read/write access to?? I'm kind confused what that is doing exactly.  Where did he get the 666 from?

once again, i don't understand 

Tenshi
Logged

Porter
[Wumpa]
Board Admin
*****
Karma: +176/--88

Offline

Gender: Male
Posts: 3910

Wumpa+Porter
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #21 on: October 07, 2003, 09:27:35 PM »
Reply with quote

Yeah, the permissions might be something to check I don't know what BSD will give it by default, so it's worth opening it up a bit. You need to be in the /dev directory Tenshi, or specify the whole path to the file(s): /dev/dsp*. chmod is the command that modifies the access permissions for a file. It's equivalent to right-clicking, selecting Properties, and clicking on the Security tab in Windows 2k and up.

You need to tell it the new permissions you want to use and what file(s) you're wanting to change. You are probably most confused about the 666 and 777 parts. Each one of these are octal values that represent specific permissions levels for (respectively from left to right) the owner of the file, the group the file belongs to, and everybody else.

A much easier format to use with chmod is the letter designations:

chmod ugo+rwx dsp* is the same as chmod 777 dsp*

In the letter designations, the first part represents which users we're working with:
a = all (equivalent to 'ugo')
u = user (owner) of the file
g = group the file belongs to
o = other users not covered by the first two

the + can also be a -:
+ = add these permissions
- = remove these permissions

after the symbol is the new permissions:
r = read access
w = write access
x = execute access (the user can 'run' this file/program)
Logged

[Wumpa] Porter
  --Silent, professional, lethal... sometimes.
Guardian_Tenshi
Global Moderator
*****
Karma: +53/-26

Offline

Gender: Male
Posts: 1114

276733708 276733708 clanguardian2003 Ol+Grimmy
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #22 on: October 08, 2003, 12:19:02 PM »
Reply with quote

First off, Clarifying...from my / directory, as root user, I can merely type:
Code:

# chmod 666 /dev/dsp*

and then we are hoping that should fix things??

Second thing:
Okay, this is changing the subject a bit, but...someone mentioned my wireless card, and since they seemed to know about it, i pressed for information....this is a quote from that thread...obviously, I can't return the card, and I want to fix the sound first.

Quote:
quote:
----------------------------------------------------------------------------
Originally posted by Wumpa Tenshi
MEEP!! I already have an MA521, and have been trying hard as hell to get it to work on my FreeBSD 5.1 system...can you give me any information you have on this one??
----------------------------------------------------------------------------

Best case scenario - can you return it for an orinoco type card?
Netgear MA401 works nicely.

If not , go to Realtek's site and d/l the drivers for the 8180 chip based cardbus cards. I believe there are 2 of them for linux. Problem is, part of the driver is a pre-compiled binary and it's not open source, and it's VERY specific to which kernel it runs on. Realtek AFAIK hasn't answered any questions about how it was compiled, although many have asked lol.

Search this LUG and others for realtek 8180 and linksys WPC11b v4, as it's possibly the most common card with that chip. There are many people who go tthis to work, heck I have one working now, but under "mysterious' circumstances lol.

Of course, how much of this will apply to BSD is unknown...good luck on this .

Tenshi
Logged

slightcrazed
-TWB-
Admin Team
CSR Connoisseur
*****
Karma: +65/-7

Offline

Gender: Male
Posts: 983


View Profile
Re:New Unix/Linux user needs some help.
« Reply #23 on: October 08, 2003, 12:37:23 PM »
Reply with quote

Quote from: Guardian_Tenshi on October 08, 2003, 12:19:02 PM
First off, Clarifying...from my / directory, as root user, I can merely type:
Code:

# chmod 666 /dev/dsp*

and then we are hoping that should fix things??

Yup... Should work fine.
Quote:
Second thing:
Okay, this is changing the subject a bit, but...someone mentioned my wireless card, and since they seemed to know about it, i pressed for information....this is a quote from that thread...obviously, I can't return the card, and I want to fix the sound first.

Quote:
quote:
----------------------------------------------------------------------------
Originally posted by Wumpa Tenshi
MEEP!! I already have an MA521, and have been trying hard as hell to get it to work on my FreeBSD 5.1 system...can you give me any information you have on this one??
----------------------------------------------------------------------------

Best case scenario - can you return it for an orinoco type card?
Netgear MA401 works nicely.

If not , go to Realtek's site and d/l the drivers for the 8180 chip based cardbus cards. I believe there are 2 of them for linux. Problem is, part of the driver is a pre-compiled binary and it's not open source, and it's VERY specific to which kernel it runs on. Realtek AFAIK hasn't answered any questions about how it was compiled, although many have asked lol.

Search this LUG and others for realtek 8180 and linksys WPC11b v4, as it's possibly the most common card with that chip. There are many people who go tthis to work, heck I have one working now, but under "mysterious' circumstances lol.

Of course, how much of this will apply to BSD is unknown...good luck on this .

Tenshi

Not sure on this one. I'll do some googling and see what I come up with.

slight
« Last Edit: October 08, 2003, 12:42:50 PM by slightcrazed » Logged

I once beat Drizzt Do'Urden at thumb wrestling.
Guardian_Tenshi
Global Moderator
*****
Karma: +53/-26

Offline

Gender: Male
Posts: 1114

276733708 276733708 clanguardian2003 Ol+Grimmy
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #24 on: October 08, 2003, 02:56:04 PM »
Reply with quote

slight, i should warn you, that's half of the problem.  Porter and I have tried to google more information on that card, and for the most part haven't come up with much.  If you're looking for justification of that fix that might be another issue though.

What exactly are you looking for in google though, how would you go about even looking into something like that??  Guess i'm still and newb when it comes to some of this.

Tenshi
Logged

slightcrazed
-TWB-
Admin Team
CSR Connoisseur
*****
Karma: +65/-7

Offline

Gender: Male
Posts: 983


View Profile
Re:New Unix/Linux user needs some help.
« Reply #25 on: October 08, 2003, 03:21:45 PM »
Reply with quote

Quote from: Guardian_Tenshi on October 08, 2003, 02:56:04 PM
Guess i'm still and newb when it comes to some of this.

Tenshi

That's OK, I was in your exact same position about 6 months ago. Everything seemed 'foreign' nothing made sense, and I spent more time trying to get my system to work than actually working on it. One day it just started to make sense, and I never looked back.

As for searching, I usually start with www.linuxquestions.org, and just search their forums. Next, I'll look through www.tldp.org (The Linux Documentation Project) and see if someone has written a HOWTO on it. From their, I usually hit Google, and just run a basic search like 'MA521 linux' or 'MA521 config linux' and then just work from there.

slight
Logged

I once beat Drizzt Do'Urden at thumb wrestling.
Porter
[Wumpa]
Board Admin
*****
Karma: +176/--88

Offline

Gender: Male
Posts: 3910

Wumpa+Porter
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #26 on: October 08, 2003, 04:19:29 PM »
Reply with quote

We've tried the realtek driver tenshi, remember? The BSD kernel is too different for it to work unfortunately. Right now your only choice is a different wireless card.
Logged

[Wumpa] Porter
  --Silent, professional, lethal... sometimes.
Guardian_Tenshi
Global Moderator
*****
Karma: +53/-26

Offline

Gender: Male
Posts: 1114

276733708 276733708 clanguardian2003 Ol+Grimmy
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #27 on: October 08, 2003, 04:54:20 PM »
Reply with quote

how can i be sure the chmod did what I wanted to??

cause I still got the same error.

Tenshi

so we are calling the wireless card a lost cause?? sorry, i forgot we tried the Realtek thing, or I thought this one was different or something.
« Last Edit: October 08, 2003, 05:17:04 PM by Guardian_Tenshi » Logged

Guardian_Tenshi
Global Moderator
*****
Karma: +53/-26

Offline

Gender: Male
Posts: 1114

276733708 276733708 clanguardian2003 Ol+Grimmy
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #28 on: October 08, 2003, 05:23:51 PM »
Reply with quote

OO!! OO!! Nother question...in my KDE Control Center under Information - Block Devices, it shows several different "devices" and where they are "mounted" as well as "%Full" and "usage"...

i have mount points:
/cdrom
/
/var
/tmp
/usr
/dev

/dev is only 1024B and it's 100% full, does that mean anything bad??  I'm wondering if that's why it can't load the sound thingy.  Just a thought, either way, can you tell me what this means?

Tenshi
Logged

slightcrazed
-TWB-
Admin Team
CSR Connoisseur
*****
Karma: +65/-7

Offline

Gender: Male
Posts: 983


View Profile
Re:New Unix/Linux user needs some help.
« Reply #29 on: October 08, 2003, 06:06:18 PM »
Reply with quote

Nope. Everything in /dev is a device, so I think they always show as full. It's not like a drive where you can run out of space.

/cdrom is your cdrom mount point
/ is your root directory
/var I don't remeber off the top of my head, but I think logs are stored here
/tmp is your temp dir
/usr is your user dir (where most of your program executables are stored)
/dev is all of your devices.

slight
Logged

I once beat Drizzt Do'Urden at thumb wrestling.
Deuce
CSR Super Ultra Mega Nerd
Global Moderator
*****
Karma: +169/--41

Offline

Gender: Male
Posts: 2914

DarkRusky
View Profile E-Mail
Re:New Unix/Linux user needs some help.
« Reply #30 on: October 08, 2003, 06:28:02 PM »
Reply with quote

this is all geek to me.

...

...

...

get it? its all "geek" to me? it should be "greek" but instead i changed it to geek..cause its about computers! HA!

i'll be here all week folks
Logged




slightcrazed
-TWB-
Admin Team
CSR Connoisseur
*****
Karma: +65/-7

Offline

Gender: Male
Posts: 983


View Profile
Re:New Unix/Linux user needs some help.
« Reply #31 on: October 08, 2003, 06:59:46 PM »
Reply with quote

ROFL!!!

slight
Logged

I once beat Drizzt Do'Urden at thumb wrestling.
Ryo-Ohki
[Wumpa]
Board Admin
*****
Karma: +30/-6

Offline

Posts: 187

tokyoicabbit
View Profile E-Mail
Re:New Unix/Linux user needs some help.
« Reply #32 on: October 08, 2003, 07:14:16 PM »
Reply with quote

Quote from: Guardian_Tenshi on October 08, 2003, 04:54:20 PM
how can i be sure the chmod did what I wanted to??

cause I still got the same error.


Tenshi use 'ls -l dsp*' that will tell you what permissions are set for the given file.  For example:

-rw-r--r--  1 tsunami  staff        2047 Sep 21 22:42 untitled text

That line tells me that the file untitled.txt has read/write permissions for it's owner, read-only for people in the staff group, and read-only for everyone else.  "r" is read, "w" is write, and "x" is execute. 

Also the /var mount point is sometimes used as the default location for database files.  Be very careful here because db files can fill up fast.  In FreeBSD a full /var dir can take your system down.  So just remeber to keep the db /var filesystem out of the default FreeBSD /var mount point. 
Logged

"how does this work? where do my teeth go?" - a lepord cub trying to eat a turtle
-- panda cam
Guardian_Tenshi
Global Moderator
*****
Karma: +53/-26

Offline

Gender: Male
Posts: 1114

276733708 276733708 clanguardian2003 Ol+Grimmy
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #33 on: October 09, 2003, 03:49:00 PM »
Reply with quote

the output of:
# ls - l dsp*
is

Code:

crw-rw-rw- 1 root wheel 30, 3 Oct 9 13:16 dsp0.0
crw-rw-rw- 1 root wheel 30, 0x00010003 Oct 9 13:16 dsp 0.1
crw-rw-rw- 1 root wheel 30, 5 Oct 9 13:16 dspW0.0
crw-rw-rw- 1 root wheel 30, 0x00010005 Oct 9 13:16 dspW0.1
crw-rw-rw- 1 root wheel 30, 11 Oct 9 13:16 dspr0.0

which means they are all RW now right?? so that fix didn't work huh?? doh.

Tenshi
« Last Edit: October 09, 2003, 05:22:58 PM by Guardian_Tenshi » Logged

slightcrazed
-TWB-
Admin Team
CSR Connoisseur
*****
Karma: +65/-7

Offline

Gender: Male
Posts: 983


View Profile
Re:New Unix/Linux user needs some help.
« Reply #34 on: October 10, 2003, 08:34:59 AM »
Reply with quote

I think I may have an answer for you. I upgraded to Slackware 9.1 last night, and had the same problem as you getting my sound to work after install. All I did was re-run alsaconfig as root (i.e. type su, then type root's password, then type alsaconfig) and let it re-probe the card. At one point it will ask you if you want to update your modules.config file. Choose yes, and the it will activate the card and all should be well.

slight
Logged

I once beat Drizzt Do'Urden at thumb wrestling.
Guardian_Tenshi
Global Moderator
*****
Karma: +53/-26

Offline

Gender: Male
Posts: 1114

276733708 276733708 clanguardian2003 Ol+Grimmy
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #35 on: October 10, 2003, 12:14:26 PM »
Reply with quote

Before I try this...not trying to take away your holy-ness at all slight...but Porter, any objections?

Tenshi
Logged

Porter
[Wumpa]
Board Admin
*****
Karma: +176/--88

Offline

Gender: Male
Posts: 3910

Wumpa+Porter
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #36 on: October 10, 2003, 12:31:44 PM »
Reply with quote

I doubt very much if BSD has a 'alsaconfig' program or a modules.config file. In fact, I couldn't even tell you what these do. It sounds very linux/slack specific.
Logged

[Wumpa] Porter
  --Silent, professional, lethal... sometimes.
slightcrazed
-TWB-
Admin Team
CSR Connoisseur
*****
Karma: +65/-7

Offline

Gender: Male
Posts: 983


View Profile
Re:New Unix/Linux user needs some help.
« Reply #37 on: October 10, 2003, 01:36:26 PM »
Reply with quote

Quote from: Porter on October 10, 2003, 12:31:44 PM
I doubt very much if BSD has a 'alsaconfig' program or a modules.config file. In fact, I couldn't even tell you what these do. It sounds very linux/slack specific.

It's not linux or slack specific, it's part of ALSA, which I thought I had read is what Tenshi is using for his sound driver, but now that I look back I think I am wrong, because I don't see that he mentioned ALSA at all.

Sorry Tenshi.

Porter, is it safe then to assume that BSD uses OSS for it's sound support?

slight
Logged

I once beat Drizzt Do'Urden at thumb wrestling.
Porter
[Wumpa]
Board Admin
*****
Karma: +176/--88

Offline

Gender: Male
Posts: 3910

Wumpa+Porter
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #38 on: October 10, 2003, 04:21:14 PM »
Reply with quote

I couldn't tell you. All I know is that the system loads kernel extensions on boot to enable auxiliary devices such as sound and network drivers. For Tenshi, we needed to specify the right driver in the correct init file: loader.conf. As the driver loads, FreeBSD auto-creates dev entries based on the hardware the driver provides access too, so Tenshi gets all those dsp* entries as well as snd, etc.
Logged

[Wumpa] Porter
  --Silent, professional, lethal... sometimes.
Guardian_Tenshi
Global Moderator
*****
Karma: +53/-26

Offline

Gender: Male
Posts: 1114

276733708 276733708 clanguardian2003 Ol+Grimmy
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #39 on: October 12, 2003, 10:56:14 PM »
Reply with quote

I got a new reply.  Can you explain the dmesg comment to me??  Should I be looking through my boot log to see I'm getting an error?  If I'm loading so many different sound card drivers, where should I look for the error??  I don't understand...

Quote:
Hrmmm....

I hate that I know the Linux solution to this one, not the FreeBSD one.

The: Yamaha OPL3-SAx WDM Driver

from windows means that this kid is probably an old Vibra16 ISA chipset, which means that loading full driver support for the thing may be a headache, with the *BSDs I've always had PCI gear, so its just auto-loaded for me... annoying huh?

What's the "dmesg" output around the sound card?

Also, the KDE message is just the KDE sound server, the aRts daemon, freaking out. I have a lot of issues with that thing, but I hate system sounds anyway. It shouldn't have anything to do with the .wav problem though, that's on the application side, what's the app that horks?

Cheers,

Finegan

Tenshi
« Last Edit: October 12, 2003, 10:56:34 PM by Guardian_Tenshi » Logged

slightcrazed
-TWB-
Admin Team
CSR Connoisseur
*****
Karma: +65/-7

Offline

Gender: Male
Posts: 983


View Profile
Re:New Unix/Linux user needs some help.
« Reply #40 on: October 13, 2003, 08:07:15 AM »
Reply with quote

Yup... What Finegan wants you to do is paste the output of dmesg (just type dmesg as root) and paste anything that sounds relevant to your sound card.

He also asked what program it was that couln't play the .wav file. Have you tried more than one, or just the same program?

slight
Logged

I once beat Drizzt Do'Urden at thumb wrestling.
Porter
[Wumpa]
Board Admin
*****
Karma: +176/--88

Offline

Gender: Male
Posts: 3910

Wumpa+Porter
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #41 on: October 13, 2003, 08:26:39 AM »
Reply with quote

They're not going to like the output for dmesg-- there's lots of extra junk in there that doesn't need to be there. The driver(s) he needs are loaded in the middle of all of it though, so there isn't much to complain about. I already hunted down the right driver, and it should be loaded just fine. The device entries are proof of that. FreeBSD won't create device entries for drivers that fail to connect to the hardware they drive, so all those extra dmesg entries are totally irrelevant. The lap top i supposedly using a "pseuco-pci bridge" (at least, that's what BSD sees it as) should it should be identical (in operation) to a desktop with the same soundcard chipset plugged in.
Logged

[Wumpa] Porter
  --Silent, professional, lethal... sometimes.
Guardian_Tenshi
Global Moderator
*****
Karma: +53/-26

Offline

Gender: Male
Posts: 1114

276733708 276733708 clanguardian2003 Ol+Grimmy
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #42 on: October 13, 2003, 10:29:21 PM »
Reply with quote

Okay, I've always assumed since I was getting that error at start up, but that it was playing sound that Porter did something wrong.  I should have known better....

The only that is NOT playing .wavs is GAIM.  Man...

Now it's really back to the drawing board.

Tenshi
Logged

Guardian_Tenshi
Global Moderator
*****
Karma: +53/-26

Offline

Gender: Male
Posts: 1114

276733708 276733708 clanguardian2003 Ol+Grimmy
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #43 on: October 14, 2003, 02:06:05 AM »
Reply with quote

Okay, I'm still feeling like an idiot, and even more so right now.

I assumed it was defaulting to just system beeping because it couldn't access sound when it tried, plus the error KDE was giving me, it just made sense right?? (Least, that's what I'm telling myself).

Okay anyway, back to the REAL problem at hand then 

In the sound options (one that's not in the Win32 options) is a option which says:

Sound Method:
  • Command
  • Console Beep


then you select Command, a little box lights up which says,

Sound Command:
(%s for filename)

and it has an entry box...
So I assume since I just want it to play the selected file, I put in %s...of course, that wouldn't work.

"Unable to play sound because the configured sound command could not be launched: Failed to execute child process "/usr/local/share/sounds/gaim/receive.wav" (Permission denied)"

Well that made me think of the chmod deally, so I tried to chmod those files...I tried 666 and 444 (rewrite all and read all?)  That didn't work either.  Is there a way I can play .wavs from the prompt? 

It seems like this command deal is just a prompt where I can use %s to "call" the specific file.  But I still need a "play" function.

Well, any progress is good progress right??

Tenshi
Logged

slightcrazed
-TWB-
Admin Team
CSR Connoisseur
*****
Karma: +65/-7

Offline

Gender: Male
Posts: 983


View Profile
Re:New Unix/Linux user needs some help.
« Reply #44 on: October 14, 2003, 07:09:43 AM »
Reply with quote

Ahhh...... you are so close.

I think (emphasis on think) that in order to play a .wav file that it needs execute permissions, not just read write. So Give
chmod 777 file
a try and see if that does the trick.
You're right though, you are close.

slight
Logged

I once beat Drizzt Do'Urden at thumb wrestling.
Porter
[Wumpa]
Board Admin
*****
Karma: +176/--88

Offline

Gender: Male
Posts: 3910

Wumpa+Porter
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #45 on: October 14, 2003, 11:16:13 AM »
Reply with quote

The "execute" bit.
Logged

[Wumpa] Porter
  --Silent, professional, lethal... sometimes.
Guardian_Tenshi
Global Moderator
*****
Karma: +53/-26

Offline

Gender: Male
Posts: 1114

276733708 276733708 clanguardian2003 Ol+Grimmy
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #46 on: October 14, 2003, 05:02:50 PM »
Reply with quote

Dude!!!  That's like a third stupid point on this problem 

Okay, I'll try that as soon as I get home from this STUPID physics lab.

Tenshi
Logged

Guardian_Tenshi
Global Moderator
*****
Karma: +53/-26

Offline

Gender: Male
Posts: 1114

276733708 276733708 clanguardian2003 Ol+Grimmy
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #47 on: October 15, 2003, 12:32:55 PM »
Reply with quote

Hey that didn't fix it though, now it just beeps twice...it's not giving me any errors now though...just beeping twice I turn on command.  If I try to 'test' the sound I get the same double beep.  Ideas? Grr....

Tenshi
Logged

Porter
[Wumpa]
Board Admin
*****
Karma: +176/--88

Offline

Gender: Male
Posts: 3910

Wumpa+Porter
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #48 on: October 20, 2003, 08:30:09 AM »
Reply with quote

Very nice article about FreeBSD 5.1. It's worth reading through Tenshi.

http://www.thejemreport.com/software/freebsd51.php
Logged

[Wumpa] Porter
  --Silent, professional, lethal... sometimes.
Guardian_Tenshi
Global Moderator
*****
Karma: +53/-26

Offline

Gender: Male
Posts: 1114

276733708 276733708 clanguardian2003 Ol+Grimmy
View Profile WWW E-Mail
Re:New Unix/Linux user needs some help.
« Reply #49 on: October 20, 2003, 12:33:37 PM »
Reply with quote

well, i agree with the writer of the review, the biggest downfall of the distro is hardware support (such as my wireless card).  Even though, it sounds like everyone in the linux community can't get drivers for that type of chipset.  So far, I like FreeBSD (though I haven't experimented too much).  I'd still like to fix the GAIM sounds though, and get a wireless card that works.  When I get some money (hopefully over Xmas), I'll try getting a wireless card that actually WORKS with Linux/Unix.  Anyway...

Tenshi
Logged

Pages: [1] Reply Notify of replies 
CSReloaded Forums  |  General Category  |  Help & Troubleshooting (Moderator: Guardian_Tenshi)  |  Topic: New Unix/Linux user needs some help.
Jump to: 

Powered by PHP CSReloaded Forums | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
Powered by MySQL
:[ Site Design by Ryo, scripts and backends by Porter and Ryo, banner by Supafly! Powered by PHP and MySQL ]:
Page created in 0.135 seconds.