LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   running startup scripts for general network programs (issue) (https://www.linuxquestions.org/questions/linux-networking-3/running-startup-scripts-for-general-network-programs-issue-915508/)

alphisb0t 11-25-2011 10:22 AM

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.

alphisb0t 11-26-2011 02:09 AM

anyone at all?


All times are GMT -5. The time now is 10:46 PM.