help with changing rclocal
I finally got my Broadcom wireless card to work on my HP pavilion ze570 laptop after a couple weeks of hacking and tracking! I am using Fedora core 3.
To get everything up and running I have to enter as root the following: # modprobe ndiswrapper # dhclient I added these lines into a script file I called “wireup.” Then I did: # chmod 755 wireup I want this to happen at startup, and as far as I can gather, somehow I need to update my rclocal file. Don't know how? Please do not assume I have a clue. Thanks. |
I'm not familiar with the init scripts for FC as I use slack, but somewhere under /etc/rc.d/ there is a file called rc.local. Your best bet would simply be to go to the bottom of that file and add the two lines to that file instead. Use an editor like gedit or kate to edit the lines (as root)
|
Tried that, but it came up as a read only buffer and would not let me add anything.
|
Quote:
cd /path/to/the/file then chmod u+w rc.local edit the file then, as above, only: chmod u-w rc.local If you can use vi (or gvim?) then open it using: gvim /path/to/the/file press i for insert mode and escape to get out of insert mode, then: :w!q will force save and quit (if you do it this way you don't need to do all that chmod stuff above) |
Sorry it took so long to try your last suggestion: IT WORKED! Thanks for your help, you saved me a lot of time banging my head against the wall.
Truckman |
All times are GMT -5. The time now is 05:07 AM. |