Slackware This Forum is for the discussion of Slackware Linux.
|
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
06-01-2006, 12:57 AM
|
#1
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
no hostname at prompt
I just installed Slackware 10.2.
the CLI prompt is root@[none], even though "hostname" returns the machine name (Ath)
coincidentally, networking is not working.
|
|
|
06-01-2006, 01:26 AM
|
#2
|
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,797
|
What hardware (wireless network card or 'normal')?
Is network card detected? (dmesg |grep eth)
Is network card configured?
|
|
|
06-01-2006, 02:55 AM
|
#3
|
Member
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849
Rep:
|
You should get darkstar for a default name. Did you run netconfig and leave your hostnames blank? If dmesg | grep eth detected your network card run netconfig to configure it.
|
|
|
06-01-2006, 03:39 AM
|
#4
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
Quote:
You should get darkstar for a default name.
|
LOL!
I used to have darkstar as my host name and I was killing myself trying to figure out how Slackware remembered it after a clean install. I'm glad to know that everything I though I knew about Linux didn't go flying out the window.
As far as your host problems go, make sure you have the correct network card enabled in your kernel then run 'netconfig' as suggested. You might also want to make sure there is an entry in your /etc/hosts file that defines the host name.
regards,
...drkstr
|
|
|
06-01-2006, 08:47 AM
|
#5
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
Original Poster
|
Bingo!!--The network card was not detected. Curious that this would not be evident when running netconfig.
Now to go learn how to configure a kernel....OR: Is it possible that one of the kernels on the CD set will work? (I have 10.2--4 CD set)
|
|
|
06-01-2006, 09:05 AM
|
#6
|
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,797
|
How do you mean Your system is working and that's a kernel from the CD.
So I'm more than likely missing your point.
|
|
|
06-01-2006, 09:05 AM
|
#7
|
Moderator
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,957
|
Quote:
Originally Posted by pixellany
I just installed Slackware 10.2.
the CLI prompt is root@[none], even though "hostname" returns the machine name (Ath)
coincidentally, networking is not working.
|
Hi,
What is the output of;
Code:
#cat /etc/HOSTNAME
#dmesg |grep eth
|
|
|
06-01-2006, 09:18 AM
|
#8
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
Original Poster
|
Quote:
Originally Posted by Wim Sturkenboom
How do you mean Your system is working and that's a kernel from the CD.
So I'm more than likely missing your point.
|
The CD has several stock kernels to choose from. Is it possible that one of these will find my ethernet card---rather than the suggested fix of configuring/compiling a kernel?
So far, other distros have not had this issue---Ubuntu, Arch, Mepis, FC4, etc.
|
|
|
06-01-2006, 10:15 AM
|
#9
|
Member
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849
Rep:
|
drkstr,
Code:
# Set the hostname.
if [ -r /etc/HOSTNAME ]; then
/bin/hostname $(cat /etc/HOSTNAME | cut -f1 -d .)
else
# fall back on this old default:
echo "darkstar.example.net" > /etc/HOSTNAME
/bin/hostname darkstar
fi
In your /etc/rc.M file...
|
|
|
06-01-2006, 07:45 PM
|
#10
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
As you can imagine, I was quite perplexed when it popped up on my terminal after formatting my hard drive and doing a clean install.
Funny that the host name I used is also the default one in Slackware ...I guess I was meant to be a slackware user.
regards,
...drkstr
|
|
|
06-02-2006, 02:48 AM
|
#11
|
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,797
|
Quote:
Originally Posted by pixellany
The CD has several stock kernels to choose from. Is it possible that one of these will find my ethernet card---rather than the suggested fix of configuring/compiling a kernel?
So far, other distros have not had this issue---Ubuntu, Arch, Mepis, FC4, etc.
|
Not sure. Although I haven't used 10.2 yet, most kernels are the same; to my knowledge difference is in support for i.e. scsi etc. I might be wrong, but I doubt if another kernel will help (unless you switch to another version (2.6 instead of 2.4 or vv)).
We still don't know which network card you're using. Did I miss it?
Check the internet for possible drivers. I had to do that once for an new Intel card on RH6.2.
Last edited by Wim Sturkenboom; 06-02-2006 at 02:49 AM.
|
|
|
06-02-2006, 10:05 AM
|
#12
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
I think it would be easier to just add the support to your existing kernel by adding it as a modules You could then just build the new module with
Code:
make modules && make modules_install
Probably a lot easier then trying to find a whole new kernel that already is configured to use your card.
Quote:
So far, other distros have not had this issue---Ubuntu, Arch, Mepis, FC4, etc.
|
They probably have all hardware support built as modules so they will load when needed. Slackware tends to be a little leaner then other distros with the expectation that you will configure your system to suit your needs.
regards,
...drkstr
|
|
|
06-02-2006, 12:16 PM
|
#13
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
Quote:
Originally Posted by drkstr
I think it would be easier to just add the support to your existing kernel by adding it as a modules You could then just build the new module with
Code:
make modules && make modules_install
Probably a lot easier then trying to find a whole new kernel that already is configured to use your card.
They probably have all hardware support built as modules so they will load when needed. Slackware tends to be a little leaner then other distros with the expectation that you will configure your system to suit your needs.
regards,
...drkstr
|
That is dead on, on both statements. Adding a module is plain easy that way, and it is true that Slackware just gives a plain, lean kernel (Not real lean...It supports alot of hardware I never need. That is the main reason why on a fresh install, the first thing I do is recompile the kernel.)
Other distros give you the "We'll take care of everthing" way of life,
and Slackware gives you the" You take care of it, but we'll provide the tools".
IMHO, the Slackware way is more satisfiying.
|
|
|
All times are GMT -5. The time now is 07:07 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|