hostname, modprobe, run apache + mysql on startup
1)first of all everytime I reboot my pc my hostname gets reset to "(none)"
I don't know why this is happening, but there probably is a config file where I can set the hostname permanently. 2) I would also like to automaticly modprobe my netwerkcard on boot, but don't know how. 3) I also have a lite-on JLMS XJ-HD166S DVD-rom/CD-rom drive wich isn't recognized, so if anybody knows wich module it needs that would be a big help. 4) I would also like to start apache and mysql on startup but I cant find the dir /etc/init.d so I suppose Slackware works different. greetz |
Ad 2.)
Which version of Slack is that? Ad 3) What exactly does "not recognised" mean? Ad 4) I don't know about MySQL, but apache should be started automagically if you installed the Slack-pack ... In Slack, that entire process is handled by the scripts in /etc/rc.d Specifically, rc.M looks for /etc/rc.d/rc.httpd, and whether it's executable .. if so, it's being started. Cheers, Tink |
Slackware 9.1
and with not recognized i mean that when I installed Slack I only have one cd-drive while I have actually two in my computer. there is only one cdrom in /dev |
Any reference to the second device in
the output of dmesg ? Maybe somewhere under /proc/ide/*/model ? Code:
find /proc/ide -iname "*model*" -exec cat {} \; Cheers, Tink |
1. type: hostname "yourhostname"
without "" then edit /etc/hosts and add "yourhostname" there. edit /etc/sysconfig/network and change the default hostname to "yourhostname". 2. under /etc/rc.d/rc.modules and a line: /sbin/modprobe "yourNIC" without "" 3. it must be /dev/cdrom0 or /dev/cdrom1 or /dev/hdb or /dev/hdc or /dev/hdd or /dev/sr0. these are usually your cdroms. 4. apache and mysql. check /etc/rc.d/ rc.httpd and rc.mysqld are there. make sure they are executable. |
Quote:
Cheers, Tink |
ok I forgot /etc/sysconfig/network is for another distro.... my bad.
just type: netconfig and follow the steps.. are you statisfied now tinkster? |
Everything works great now, thanks for helping me out
greetz |
All times are GMT -5. The time now is 11:34 PM. |