Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!
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.
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)
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
# 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.
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.
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.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
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.
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.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
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.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
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.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
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.
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.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.