LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-25-2003, 04:12 PM   #61
Rick422
Member
 
Registered: Apr 2003
Location: Arizona
Distribution: Red Hat Linux 9
Posts: 158

Rep: Reputation: 30

Here is one other suggestion. If I remember correctly you are using Red Hat 9. The Red Hat 9 I am using came in a box with 30 days of free technical support. I do not know if you purchased your Red Hat or downloaded it, but if you are eligable for the 30 days free technical support you might want to try contacting them too. If not someone here will probably be able to help you!
 
Old 05-25-2003, 04:18 PM   #62
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
yeah, I seen the Redhat Linux 8 Bible in a bookstore. At that time i did not have the money so i got Linux for Dummies. It seems like no one is helping me. I'm not saying your not helping. I'm saying other people. The only one really helped me was shanward. He's the only one. He is off for about 12 hours. He can't help me right now. I hope he comes on soon. Rick422, Do you have anything else you like to say to me? I like this site more then the one i'm using. The one i was using it was http://www.ozzu.com. I hate that site. There are mean people in there. They won't even show me how to configure the kernel. Seeya Rick422.
 
Old 05-25-2003, 04:34 PM   #63
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Quote:
Originally posted by dsantamassino
Where can i get the kernel source from? Who wants to help me install the kernel source? Someone please reply back right a way. Thanks everyone.
kernel.org of course, but I suggest installing the kernel source from your install CD. Then you shouldn't have to compile a new kernel. If you do, however, check the Redhat documentation online for kernel compiling as Redhat isn't as straightforward as some distros. Look in the customization guide and compiling a custom kernel.

You said you installed it. Redhat uses /usr/src/linux-<kernel-versionnumber> and you will have to make another symbolic link to the actual directory with the command (as root, see below on how to become root)
Code:
[root@tinwhistle root]# ln -s /usr/src/linux-<kernel-versionnumber> /usr/src/linux
Then the compile should see the kernel source.

If you didn't install the kernel source, open an x terminal and try this:
Code:
[phil@tinwhistle phil]$ su -
Password: 
[root@tinwhistle root]# gnorpm
If something comes up, install your kernel source code with it. Otherwise, learn the current software packaging manager in Redhat 9.0 (I just reverted back to 7.3)

I suggest putting your distro and release in your profile.

Here are some handy bash commands for finding out stuff in Linux so you can post the info needed:

# Find CPU specifications
cat /proc/cpuinfo

# What pci cards are installed and what irq/port is used
cat /proc/pci

# Memory and swap information
free
An article: Tips for Optimizing Linux Memory

# How is the hard drive partitioned
fdisk /dev/hd<X> -l

# How much free drive space
df -h

# Show disk usage by current directory and all subdirectories
du | less

# Find running kernel version
uname -r

# Find X server version
X -showconfig

# What is the distribution
cat /etc/.product
cat /etc/.issue
cat /etc/issue
cat /etc/issue.net
sysinfo

# For finding or locating files
find
locate
which
whereis

# Use dmesg to view the kernel ring buffer (error messages)
dmesg | less

# Watch error messages as they happen (sysklog needed)
as root, tail -f /var/log/messages (shows last 10 lines, use a number in front of f for more lines)

# What processes are running
ps -A

# Find a process by name
ps -ef | grep -i <plain text>
For example, XCDroast
ps -ef | grep -i xcdroast
# See current environment list, or pipe to file
env | more
env > environmentvariablelist.txt

# Show current userid and assigned groups
id

# See all command aliases for the current user
alias

# See rpms installed on current system
rpmquery --all | more
rpmquery --all > <filename>
rpmquery --all | grep -i <plaintext>

# What directory am I using
pwd

# What takes up so much space on your box
# Run from the directory in question and the largest chunk shows up last
find $1 -type d | xargs du -sm | sort -g

Look at man <command> or info <command> for the flags I used and for other options you can use for bash commands.

Last edited by fancypiper; 05-25-2003 at 05:03 PM.
 
Old 05-25-2003, 05:31 PM   #64
undershepherd
Member
 
Registered: Feb 2003
Location: Iowa
Distribution: SUSE 9.2
Posts: 69

Rep: Reputation: 15
dsantamassino
How are you coming with installing the drivers for your modem?
I am still fairly new at Linux, but I would like to offer a few suggestions.

1) There are a lot of people here who are more than willing to help you, however, you need to be patient. Linux is a learning experience, it is totally different from Windoze in that you learn by trial and error. You can't, in most cases, just click a few times and viola, everything is ok. With Linux, it is like trying to drive the car when you are in kindergarten. You must go through the growth process.

2) besides asking for help here, do searches for your modem, or any other installation of modems in this forum. READ, READ, and READ again. Check out the links at the bottom of fancypiper's post, especially the LDP one, which has a plethora of tutorials on how to do things in Linux.

3) I have learned that none of this is an emergency. As long as you still have internet access through Windoze, you can take the time to learn.

4) and Finally, don't give up. Eventually, not only is the Linux experience worthwhile, but you will come away the better for it. Let those that are experienced here help you, but let them help in their time. If you keep posting that you want someone to help, people are going to get frustrated with you.

So, where are you in the process?
 
Old 05-25-2003, 05:45 PM   #65
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
The process is now. I got an error. Please read the other thread and reply to it. I'm lost. The subject of that post is "kernel configure". Please reply to that one. Thanks.
 
Old 05-25-2003, 06:07 PM   #66
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
if you got your kernel source installed, then if
you look in
/usr/src
with
cd /usr/src
ls
there should be a directory there called linux- something
usually there is a directory called linux which is a
duplicate of the linux-something directory.
i think, if you actually got the linux source installed,
it would have the original configuratiion file in it, and
you wouldn't be needing to configure your kernel.
the kernel source package would be on your redhat
cdrom, and would be called linux-kernel-source- or
kernel-source then the version.
 
Old 05-25-2003, 06:21 PM   #67
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
This is what i tryed..

su -
uname -r
cd /usr/src/linux-2.4.20-8
ls
ln -s /usr/src/linux-2.4.20-8/usr/src/linux

and then i went this.
mkdir /work
cp /mnt/cdrom/pctel-0.9.6.tar.gz /work
cd /work
tar zxvf pctel-0.9.6.tar.gz
cd pctel-0.9.6
./configure --with-hal=pct789. and again same error. Why am i getting that error? Did i do everything right? Thank You.
 
Old 05-25-2003, 06:27 PM   #68
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
you need a space in the
ln -s /usr/src/linux-2.4.20-8 /usr/src/linux

do
ls -l /usr/src/
and see if there is a linux with an arrow pointing
at linux-2.4.20-8

most of that stuff you already did, you don't have to do
over.
you don't have to make another directory /work
you don't have to untar the file again or copy it to work

i got the impression you were doing that stuff over
and you don't need to.

when you do that ln -s command above go to
that pctel directory again and try the configure command.
 
Old 05-25-2003, 06:42 PM   #69
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
that uname -r command tells you what kernel you
are running. it doesn't mean that you have the source
installed for it. that directory with the linux-2.4-something
name could easily exist even if the kernel source is not
installed.

i just saw online that redhat 9 comes with 2.4.20-8.
redhat 8 would be something older.
 
Old 05-25-2003, 06:49 PM   #70
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
after i went make install. It did not find my new hardware. What should i do about that??
 
Old 05-25-2003, 06:57 PM   #71
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
in that pctel README file it said, you
have to
insmod pctel
insmod ptserial

so you actually got it to compile?
did it look like it worked?
it will not say, "New Hardware Detected".
doing the insmod stuff loads the drivers you installed,
but only until you reboot.
if the insmod works
you will get the message "found PCTel HSP modem
something" and you should set your modem dialer,
i guess you're trying to use kppp, to use the
new device created. I can't remember the name.
it might be /dev/modem , but it might be somethign else.
 
Old 05-25-2003, 07:03 PM   #72
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
i just checked the makefile and it does
make a like to /dev/modem

so you can
insmod pctel
insmod ptserial

open kppp
use /dev/modem as your modem device
and enter your internet provider information there.
 
Old 05-25-2003, 07:41 PM   #73
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
This is what i tryed. insmod pctel. This is the message i got. The module you are trying to load (/lib/modules/2.4.20-8/misc/pctel.o) is compiled with a gcc version 2 compiler while the kernel you are running is compiled with gcc version 3 compiler. This is known to not work. Why did i get that message?? Thanks.

Last edited by dsantamassino; 05-25-2003 at 07:43 PM.
 
Old 05-25-2003, 07:51 PM   #74
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
rats.

there are different ways to do this, but
i guess the easiest is to unintall gcc-3. whatever,
and install gcc-2.96 or whatever comes with that
version of linux., the 2. whatever version.
reconfigure and make the pctel thing and install it
then
depmod -a
insmod pctel
insmod ptserial

it's that you have to compile any kernel modules with
the same compiler that the kernel was installed with.
the kernel you have was compiled by redhat with
gcc 2.9something.
 
Old 05-25-2003, 07:56 PM   #75
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
How do i uninstall gcc 3? How do i install gcc 2.96? Where do i get 2.96 from?
 
  


Reply



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
Modem Not responding in RedHat Linux 9.0 ukjairaj Linux - Hardware 6 07-04-2007 10:05 PM
conexant v.92 internal modem not detecting in redhat linux 9.0 supersac Linux - Newbie 9 11-30-2004 01:04 PM
redhat linux 8.0 modem problem!!!! linuxfan2 Linux - Software 7 05-10-2003 10:37 AM
Redhat Linux 8: Problem with Sound and Modem anjanmustafi Linux - Hardware 4 03-18-2003 02:07 PM
my modem is not detected in redhat linux 6.2 linux2cool Linux - Newbie 2 02-25-2001 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:45 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