LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-25-2002, 11:25 PM   #1
zsaddened
LQ Newbie
 
Registered: Apr 2002
Location: Texas
Posts: 22

Rep: Reputation: 15
Talking Couple of Questions


Question 1. Recently I installed Red Hat 7.2 on my Compaq laptop. But I went back to XP because my modem wasnt working. I later found out that other people have had the same experiences os I think I can fix it now. N-E-wayz, everytime that I booted up, it always took a long time to get past the Eth0 test. Where it tests everything to see if they are ok. Well it always takes forever for it to display FAILED. Why does it do that. I'm not connected to a network but shouldnt it still pass. In XP it notices when there is a connection so it should be working properly.

Question 2. I have XP on right now, I'm hoping to try out Mandrake. If I install Mandrake and install GRUB in the MBR, which OS will be the default? And how would I be able to change it if I dont like the settings of a default? Remember, I'm a complete newbiw so explain it to ma as if I were a 1st grader.

Question 3. Which one would be better? LILO or GRUB?

Sorry for all the questions.
 
Old 04-25-2002, 11:33 PM   #2
zsaddened
LQ Newbie
 
Registered: Apr 2002
Location: Texas
Posts: 22

Original Poster
Rep: Reputation: 15
And why is it that when I would HALT the system, it would kill everything but it wouldnt turn the computer off? Doesnt HALT basically mean the same thing as ShutDown? Is that just the way that Linux is (Red Hat 7.2)? Or is there some settings that I can change so that it turns the computer completely off? If I have to do something with the kernel then try to be very detailed cause I have no idea what the whole kernel deal is about.
 
Old 04-25-2002, 11:41 PM   #3
zsaddened
LQ Newbie
 
Registered: Apr 2002
Location: Texas
Posts: 22

Original Poster
Rep: Reputation: 15
Another question (sorry)
Can someone please tell me about the BASH SHELL and the Linux Kernel. I know what the kernel is but how do you reconfigure it? or something like that. But as for the BASH SHELL, I have no idea what it is, what it's for, basically nothing. Please help. I really want to know all this shit.
 
Old 04-26-2002, 01:00 AM   #4
jdevanand
LQ Newbie
 
Registered: Jan 2002
Location: Memphis
Distribution: Redhat 7.2
Posts: 23

Rep: Reputation: 15
hi,

what u do is..go to (if u have KDE) system..network configuration and edit the etho configration. u have to option of diabling the nic card at boot up so that it will not take long time while booting..

hope that works...uncheck the box..
 
Old 04-26-2002, 08:50 AM   #5
zsaddened
LQ Newbie
 
Registered: Apr 2002
Location: Texas
Posts: 22

Original Poster
Rep: Reputation: 15
But what happens to my modem? Doesn't get disabed also? Does anybody know why the modem fails?
 
Old 04-26-2002, 06:04 PM   #6
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
Answer 1:
You're using DHCP to obtain your IP information. One of the things that's happening at the "Bringing up Interface eth0" point in the boot process is that the DHCP client daemon is trying to contact the DHCP server, which will assign your computer a valid IP address for the card (among other things). The daemon will query the network for a specified amount of time before it gives up and returns the "Failed" error. When you're not connected to a network, the daemon is obviously not going to find the server, but it will still keep trying until it reaches the timeout period, hence the hang.
You can take jdevanand's advice about disabling the "on boot" option for your NIC (eth0); it won't affect your modem.

If your modem is a Winmodem (also called software modem, HCF, HSF, or controllerless modem), you're going to have problems. Those modems are designed such that they need to pass off a large part of their processing load to the operating system and CPU. This makes them cheaper to manufacture, but unfortunately, they were designed to work specifically with Windows. This doesn't mean that it's impossible to get a Winmodem to work under Linux, but it's usually a painful proposition. You can go to linmodems.prg for more details, compatibility info, resurce links, etc.

Answer 2: The Mandrake installer should detect your existing Win partition and automagically put an entry for it in the grub (or lilo) config. file. The install might let you choose the default OS; if not, the default will be Mandy. As for actually changing the default OS, it's easy enough to find the (simple) instructions on how to do it, so I won't rehash them here.

Answer 3: I'm not even going to touch that one. Let's just say that people have, um, diferring opinions on the subject.


Answer 4: Power management (ACPI/APM) needs to be enabled in both your BIOS and your kernel. You also need to enable the APM daemon (apmd). Your kernel probably has power management support enabled, but if not I'm pretty sure the only option is to recompile the kernel. Assuming the BIOS and kernel do have support enabled, have a look at these instructions for controlling services in Rh 7.2 to enable apmd.

Answer 5: These are a few ways you can "configure" the kernel:
- pass parameters/options to it at boot time to force certain settings
- install loadable (external) modules to extend it's funtionality.
- recompile it to build in new features and functions.

As for bash, what it is, and what it does, the Bash Reference Manual sums it up better than I can.

*The best (and fastest) tool for finding Linux resources, answers to questions, etc. is the Google search engine. Learn how to concisely craft your search keywords and you'll be able get all of the info you need in a very short time.*


Last edited by DMR; 04-26-2002 at 06:14 PM.
 
Old 06-07-2002, 01:26 AM   #7
netdemon
LQ Newbie
 
Registered: May 2002
Location: Northeast US
Distribution: Fedora
Posts: 24

Rep: Reputation: 15
What I did

I altered the /sbin/ifup file to allow you to add DHCP_CLIENT_TIMEOUT to any ifcfg-eth* file (such as /etc/sysconfig/network-scripts/ifcfg-eth0



if [ -n "${DYNCONFIG}" ]; then
PUMPARGS=$PUMPARGS
#--------------------------------------
# Brian Bober
# Hacked to add ability for DHCP_CLIENT_TIMEOUT (in seconds)
# variable to /etc/sysconfig/network-scripts/ifcfg-eth* scripts
#--------------------------------------
if [ -n "${DHCP_CLIENT_TIMEOUT}" ]; then
DHCPCDARGS="${DHCPCDARGS} -t ${DHCP_CLIENT_TIMEOUT}"
fi
#--------------------------------------
# End Hack
#--------------------------------------
DHCPCDARGS="$DHCPCDARGS -n"
if [ -n "${DHCP_HOSTNAME}" ]; then
PUMPARGS="${PUMPARGS} -h ${DHCP_HOSTNAME}"
DHCPCDARGS="${DHCPCDARGS} -h ${DHCP_HOSTNAME}"
fi
if [ -n "${NEEDHOSTNAME}" ]; then
PUMPARGS="${PUMPARGS} --lookup-hostname"
 
Old 06-07-2002, 01:38 AM   #8
netdemon
LQ Newbie
 
Registered: May 2002
Location: Northeast US
Distribution: Fedora
Posts: 24

Rep: Reputation: 15
See also:

https://bugzilla.redhat.com/bugzilla...g.cgi?id=66283
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Couple questions. kuplo Linux - Newbie 0 11-26-2005 10:48 AM
couple of questions?? Lucas10 Linux - Newbie 23 06-04-2005 05:45 PM
a Couple of questions! Nik0s Linux - Newbie 14 01-25-2004 11:01 AM
Just a couple of questions... LI-6Y LUCY Linux - Newbie 4 09-07-2003 09:33 AM
A couple questions aceman817 Linux - Networking 2 04-25-2001 06:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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