LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-20-2003, 01:11 PM   #1
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quick questions


Sorry, couldn't think of a more appropriate subject .

1. I've got my runlevel set to 4, with Slack booting GDM. When I log out of GNOME and get back to GDM, how do I shut my machine down? Is it ok just to turn the power off? When I had runlevel set to 3, I'd just login as root and do init 0.

2. How do I get my IP address to be assigned from a DHCP server, as opposed to setting it automatically (seem to have problems with that as well, in my /etc/hosts file, I have a line with 10.0.0.2 in it, but my IP is actually 10.0.0.3 :/).

3. How do I stop Apache loading on boot? Can I just delete the rc.httpd file?

Any help appreciated, thanx.
 
Old 09-20-2003, 01:37 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
In reverse order:
3. chmod -x /etc/rc.d/rc.httpd (instead of removing, in case you want to put it back sometime).

2. Edit /etc/rc.d/rc.inet1 to uncomment the:
use dhcp=yes
And comment out the manual entries.

1. I don't use GDM, however you can:
CTRL ALT F2, then hit:
CTRL ALT DEL
To reboot, or login as root and type:
halt
to shut down completely.

Cool
 
Old 09-20-2003, 01:46 PM   #3
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
Thanx a lot .
 
Old 09-20-2003, 01:58 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You're welcome

Cool
 
Old 09-21-2003, 07:16 AM   #5
ivanatora
Member
 
Registered: Sep 2003
Location: Bulgaria
Distribution: Ubuntu 9.10, FreeBSD 7.2
Posts: 459

Rep: Reputation: 32
1. Well, you have some sort of X-terminal under Gnome, yes? You could use it to login as root, and use init 0 then.
 
  


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
three quick questions... honda_ricer Linux - Newbie 9 11-30-2005 07:53 AM
Quick Questions. byteframe Slackware 2 10-16-2005 03:04 PM
quick questions yocompia Slackware 5 06-20-2003 04:34 PM
quick questions for rh 7.3 GT I.N.C Linux - Newbie 12 09-07-2002 02:51 AM
2 Quick Questions sonikntails Slackware 2 05-03-2002 04:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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