LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-25-2011, 10:22 AM   #1
alphisb0t
Member
 
Registered: Jun 2004
Distribution: gentoo 2008.desktop
Posts: 110

Rep: Reputation: 15
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.
 
Old 11-26-2011, 02:09 AM   #2
alphisb0t
Member
 
Registered: Jun 2004
Distribution: gentoo 2008.desktop
Posts: 110

Original Poster
Rep: Reputation: 15
anyone at all?
 
  


Reply



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
Startup scripts/programs for X with gdm corgi Linux - Desktop 2 10-19-2006 03:49 PM
startup scripts not running bhomass Debian 5 01-03-2006 11:05 PM
Running scripts on startup darrenjhopkins Linux - Newbie 7 12-09-2004 04:51 AM
running scripts on startup kaguru Linux - Newbie 2 01-10-2004 06:59 AM
Running Scripts/Commands on Startup drknow Linux - Newbie 4 01-09-2004 05:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:18 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
Open Source Consulting | Domain Registration