LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-10-2007, 10:57 AM   #1
lionround
LQ Newbie
 
Registered: Oct 2007
Location: Memphis, TN
Distribution: Ubuntu Feisty Fawn 7.04
Posts: 19

Rep: Reputation: 0
Startup configuration


This has probably been asked a thousand times, but I could not find the answer I need while searching.

I want to be able to start ndiswrapper and samba on startup. I know the commands: modprobe ndiswrapper and /etc/init.d/samba start however I don't know where to put these in order to make them run at startup.

There is a folder ~/.config/autostart but there is nothing in it.

Thanks
 
Old 10-10-2007, 11:19 AM   #2
Marel
Member
 
Registered: May 2005
Location: Serbia
Distribution: Debian, Ubuntu, Red Hat, Gentoo
Posts: 64

Rep: Reputation: 15
It depends on your distribution. Generaly, you can put it to /etc/rc.local, but there are better ways.
 
Old 10-10-2007, 11:24 AM   #3
lionround
LQ Newbie
 
Registered: Oct 2007
Location: Memphis, TN
Distribution: Ubuntu Feisty Fawn 7.04
Posts: 19

Original Poster
Rep: Reputation: 0
Distro

I am using Ubuntu Feisty Fawn 7.04
 
Old 10-10-2007, 03:33 PM   #4
Marel
Member
 
Registered: May 2005
Location: Serbia
Distribution: Debian, Ubuntu, Red Hat, Gentoo
Posts: 64

Rep: Reputation: 15
You should have startup script for Samba located in "/etc/init.d". To run it automaticaly at system startup, there should be symbolic link to it in "/etc/rc2.d" that starts with S. If it startes with K, rename it.

For ndiswrapper, take a look at "/etc/modules".
 
Old 10-10-2007, 05:07 PM   #5
lionround
LQ Newbie
 
Registered: Oct 2007
Location: Memphis, TN
Distribution: Ubuntu Feisty Fawn 7.04
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks for your suggestions.

You should have startup script for Samba located in "/etc/init.d". To run it automaticaly at system startup, there should be symbolic link to it in "/etc/rc2.d" that starts with S. If it startes with K, rename it.

I do, but it doesn't start.

For ndiswrapper, take a look at "/etc/modules".

I added the line "modprobe ndiswrapper" to the /etc/modules and rebooted.

Nothing happened.
 
Old 10-10-2007, 09:55 PM   #6
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
to get ndiswrapper to start on boot, type sudo ndiswrapper -m on the command line
 
Old 10-10-2007, 10:11 PM   #7
lionround
LQ Newbie
 
Registered: Oct 2007
Location: Memphis, TN
Distribution: Ubuntu Feisty Fawn 7.04
Posts: 19

Original Poster
Rep: Reputation: 0
That rocks!

Ace of Spades -- Thanks a million. That worked like a charm.

Now if I can just get Samba to run on startup.
 
  


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
Loading Wireless Configuration on startup Robeasts Linux - Wireless Networking 5 09-15-2006 12:17 PM
Network configuration during startup Derada Debian 1 08-14-2006 01:45 AM
evolution configuration error on startup david.skinner Linux - Software 0 05-04-2005 03:40 AM
startup configuration lyonsd Fedora 4 01-26-2005 03:55 PM
Wireless Configuration at Startup Drake88 Linux - Wireless Networking 2 05-17-2004 01:35 AM


All times are GMT -5. The time now is 02:58 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration