WhereIsHere Posted January 16, 2009 Share Posted January 16, 2009 I'm trying to create a script for Karma to start when the FON is powered on. I have flowed the WIKI about creating a start-up script, but no dice. I have a standard install of Jasager 2.1 on a FON+ (2201) Any Ideas? Quote Link to comment Share on other sites More sharing options...
digininja Posted January 16, 2009 Share Posted January 16, 2009 Just add something like: wlanconfig ath0 create wlandev wifi0 wlanmode ap iwconfig ath0 channel <whatever> ifconfig ath0 <ip> up iwpriv ath0 karma 1 to the end of the karma init script in /etc/rc.d or init.d, can't remember which one it is in. Quote Link to comment Share on other sites More sharing options...
WhereIsHere Posted January 17, 2009 Author Share Posted January 17, 2009 I have a script in "/etc/init.d" called karma_ui with-- wlanconfig ath0 create wlandev wifi0 wlanmode master & ifconfig ath0 192.168.1.1 up & iwpriv ath0 addkarmassid default & iwpriv ath0 addkarmassid linksys & iwpriv ath0 karma 1 & Still no dice.... Quote Link to comment Share on other sites More sharing options...
digininja Posted January 17, 2009 Share Posted January 17, 2009 It needs to be symlinked into the rc.d directory or it will never get ran. Something like ln -s /etc/init.d/karma_ui /etc/rc.d/S92karma_ui Quote Link to comment Share on other sites More sharing options...
WhereIsHere Posted January 17, 2009 Author Share Posted January 17, 2009 It worked!!!!! Thanks alot for the help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.