Gallienus
04-14-2004, 03:23 AM
I'm using Suse 9.0 and I've looked for my rc.local file in etc/rc.d but I couldn't seem to find it. Am I looking in the right place?
|
Click to See Complete Forum and Search --> : location of the rc.local file in Suse 9.0 Gallienus 04-14-2004, 03:23 AM I'm using Suse 9.0 and I've looked for my rc.local file in etc/rc.d but I couldn't seem to find it. Am I looking in the right place? JohnT 04-14-2004, 03:58 AM As root...isssue the commandupdatedb -u when it finishes running....type in the terminallocate rc.localRun "updatedb -u" on a regular basis, after adding or removing software/files. mdwatts 04-14-2004, 10:24 AM For SuSE 9.0, use /etc/init.d/boot.local instead as I have done for my lm_sensor modules. #! /bin/sh # # Copyright (c) 2002 SuSE Linux AG Nuernberg, Germany. All rights reserved. # # Author: Werner Fink <werner@suse.de>, 1996 # Burchard Steinbild, 1996 # # /etc/init.d/boot.local # # script with local commands to be executed from init on system startup # # Here you should add things, that should happen directly after booting # before we're going to the first run level. # # I2C adapter drivers /sbin/modprobe i2c-amd756 # I2C chip drivers /sbin/modprobe w83781d nowonmai 04-14-2004, 10:25 AM SuSE doesn't have an rc.local. That sounds more like a BSDish thing (Debian/Slackware). What does it do and what do you want to do with it? I might be able to point you at the SuSE equivalent. JohnT 04-14-2004, 11:41 AM Originally posted by nowonmai SuSE doesn't have an rc.local. That sounds more like a BSDish thing (Debian/Slackware). What does it do and what do you want to do with it? I might be able to point you at the SuSE equivalent. I've been know to be slightly "BSDish", hence my ignorance of this "Susie" thing.......er...I mean Suse.:D mdwatts 04-14-2004, 12:03 PM Originally posted by nowonmai SuSE doesn't have an rc.local. That sounds more like a BSDish thing (Debian/Slackware). What does it do and what do you want to do with it? I might be able to point you at the SuSE equivalent. /etc/init.d/boot.local as I posted above. # I2C adapter drivers /sbin/modprobe i2c-amd756 # I2C chip drivers /sbin/modprobe w83781d and the results of 'lsmod' w83781d 24660 0 (unused) i2c-proc 6356 1 [w83781d] i2c-amd756 3210 0 (unused) i2c-core 15844 0 [w83781d i2c-proc i2c-amd756] Gallienus 04-14-2004, 05:55 PM Well....what I'm trying to do is load the prism2_usb module at boot. I took out the dlink dwl-520+ wireless networking card, which wasn't working and replaced it with Netgear's MA111 usb network card. the complete code I have to add to the rc.local file according to what I read is this. modprobe prism2_usb wlantcl-ng wlan0 lnxreq_ifstate ifstate=enable wlanctl-ng wlan0 lnxreq_autojoin ssid=<your aps ssid> authtype=opensystem ifconfig wlan0 <yourIP> netmask <yourNetmask> broadcast <yourBroadcast> route add default gw <yourGateway> Just for ha ha's after I posted my thread I went to my slackware 9.0 box and looked for ther rc.local file and there it was in /etc/rc.d. Not so in Suse 9.0 though. JohnT 04-14-2004, 06:49 PM Found this...... Read the file "/etc/init.d/README", it is documented there. Then use "/etc/init.d/skeleton" to make your own scripts as needed. Gallienus 04-15-2004, 01:28 AM First off I'd like to thank all those that have replied for their time and advice. But since further discussion of my problem invovles hardware I thought it best to move the rest of this thread to the hardware section of justlinux out of consideration to my fellow forum members. For anyone still interested I added it to the hardware forum under the title of Configuring an MA111 under Suse 9.0. Again thank you all for helping me begin the resolution of this problem. mdwatts 04-15-2004, 11:49 AM Originally posted by Gallienus Just for ha ha's after I posted my thread I went to my slackware 9.0 box and looked for ther rc.local file and there it was in /etc/rc.d. Not so in Suse 9.0 though. That is why I twice posted that SuSE uses boot.local instead of rc.local. I've also posted a suggestion in your new thread in Hardware. justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |