LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-02-2003, 07:00 AM   #1
niteshadw
Member
 
Registered: Sep 2002
Distribution: CentOS
Posts: 170

Rep: Reputation: 15
Hostname problem when connecting to internet


I just installed Red Hat 9, a fresh install. All seems to be working fine, well besides the fact the my sound blaster live card has a low volume, had it happen under red hat 7.3 and 8, but I didn't really bother to fix it - but does anyone have any suggestions why or how to fix the low volume and I guess not the greatest sound quality?

My main problem is connecting to the internet, I have a cable modem which is connected to a LAN card. While booting up, its detected as eth0, but I think the issue is with the host. When I log in under root, I see the Hostname: dhcp-52-97 in the KDE Control Center as well as in the terminal. I tried editing the eathernet card in Network Device Control. This is what it had:
Status: Active
Device: eth0
Minckname: eth0

I edited the device and got the following under the DNS tab:
Hostname: hostname.localhost

I changed it to:
Hostname: dhcp-52-97 (should I add .localhost at the end?)

then under the Hosts tab I had:
Hosts: 1
Name: hostname.localhost
Aliases: hostname.localhost

I changed it to:
Hosts: 1
Name: dhcp-52-97
Aliases: dhcp-52-97

Then I saved and restarted the network and even the computer itself. But nothing works, gaim, mozila, ect. Gaim states that it cannot connect to the host.

Is there something I'm overlooking, or should I change the host name or what?

Thank you for the help!
 
Old 04-02-2003, 05:59 PM   #2
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Try running as root in a terminal:

redhat-config-network

If it asks you for a host name, the host name is whatever you want to call your box. Mine is called "phrankenstein".

Your /etc/resolv.conf file should also have the following:

domain yourispdomainnamegoeshere
nameserver xxx.xxx.xxx.xxx
nameserver yyy.yyy.yyy.yyy

You need to put in your ISP's domain name, xxx.xxx.xxx.xxx is your Primary DNS IP, and yyy.yyy.yyy.yyy is your Secondary DNS IP. This should make it work.
 
Old 04-02-2003, 06:30 PM   #3
niteshadw
Member
 
Registered: Sep 2002
Distribution: CentOS
Posts: 170

Original Poster
Rep: Reputation: 15
I've got it working, I reconfigured my network, I left the fields empty and just confuged the eathernet card itself. I'm happy I can use my cable modem under linux again, so much better than windows.

Any suggestions for my sound card?
 
Old 04-02-2003, 06:54 PM   #4
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
What exactly is your sound card? Soundblaster Live! 5.1?

You should try to check your module to make sure it's correct:

lsmod

should list all installed modules. It should be using the emu10k1 module. If that's not in the list:

modprobe emu10k1

as root, and then edit your /etc/rc.d/rc.modules file to remove the # sign in front of the line that says

/sbin/modprobe emu10k1

You also need to edit your /etc/modules.conf file to add:

alias sound-slot-0 emu10k1

You'll also need to check the permissions of /dev/dsp and /dev/mixer and possibly /dev/aumix (or /dev/aumixer) so that everyone can read and execute it. You will also need to check the volume levels for your media player and your mixer. Hopefully this will help. Let me know.
 
Old 04-02-2003, 08:58 PM   #5
niteshadw
Member
 
Registered: Sep 2002
Distribution: CentOS
Posts: 170

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Texicle
What exactly is your sound card? Soundblaster Live! 5.1?

You should try to check your module to make sure it's correct:

lsmod

should list all installed modules. It should be using the emu10k1 module. If that's not in the list:

modprobe emu10k1

as root, and then edit your /etc/rc.d/rc.modules file to remove the # sign in front of the line that says

/sbin/modprobe emu10k1

You also need to edit your /etc/modules.conf file to add:

alias sound-slot-0 emu10k1

You'll also need to check the permissions of /dev/dsp and /dev/mixer and possibly /dev/aumix (or /dev/aumixer) so that everyone can read and execute it. You will also need to check the volume levels for your media player and your mixer. Hopefully this will help. Let me know.
I have Sound Blaster Live 5.1 Platnium - It does work, I'm pretty use its that module, but the volume is not as loud as in windows and the sound is not really clear, for example when I press STOP in xmms, the song continues playing for about 2 seconds and then stops.

Is that what you wrote about concern my issue or if I wouldn't have any sound? Thanks for the help!
 
Old 04-02-2003, 10:06 PM   #6
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
I was thinking your sound wasn't working properly if at all. I've heard others mention that the XMMS that comes with RedHat pretty much sucks and that if you uninstall it and go with a fresh download from freshmeat.net would yield better results. At this point, the only other recommendation I can think of for your XMMS is to check your volume levels, adjust your equalizer, and possibly check all your plugins to make sure they're enabled.
 
Old 04-03-2003, 05:13 AM   #7
niteshadw
Member
 
Registered: Sep 2002
Distribution: CentOS
Posts: 170

Original Poster
Rep: Reputation: 15
Okay, I'll give that a try. I wasn't playing around with the sound much that's why I'm asking. I should have taken a better look what's going on first. Thank you for your help!
 
  


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
problem connecting to the internet mentallysilent Linux - Laptop and Netbook 0 01-20-2005 09:41 PM
Problem connecting to the internet sabaum Linux - Newbie 4 04-12-2004 06:50 PM
Problem connecting internet.... neosap Linux - Newbie 2 03-07-2004 02:40 PM
Problem connecting to the internet akarmis Linux - Newbie 1 10-02-2003 03:21 PM
Problem connecting to the internet! Ghettozn Debian 4 07-24-2003 01:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:46 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration