running startup scripts for general network programs (issue)
Hey guys.
I'm sure this is a very basic question but its been bugging be for a while so I thought I'd just ask.
Let say I want to start lighttpd. I have my ethernet cable in and eth0 has an IP. I simply /etc/init.d/lighttpd start and everything is fine.
However lets say I'm on my wireless card and am connected via wlan0 instead of eth0. When I run the same init script lighttpd will attempt to run dhcpcd on eth0 and try to use that instead of the already connected wlan0. I've looked at the corresponding /etc/conf.d/lighttpd and found nothing that looked helpful.
I also bridge eth0/wlan0 together sometimes and have br0 as my interface. This has the same problem. Needless to say this is a huge issue and seems like something that should be easy to fix.
Any suggestions are GREATLY appreciated!
Thanks.
Last edited by alphisb0t; 11-26-2011 at 01:55 AM.
|