I searched for rc.local but coudnlt find it.  Where is it?

The current VLAN setup is that the DHCP server will pass the correct phone
VLAN info on the untagged VLAN so the we will need to listen on both VLANS

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Darrick
Hartman (lists)
Sent: Saturday, March 29, 2008 11:48 AM
To: AstLinux Users Mailing List
Subject: Re: [Astlinux-users] Starting ntpd.... Hangs

Kevin,

I added the change that Lonnie suggested to the ntpd init script.  I'll 
be uploading new images later today.  (look for svn 1703 based images). 
  ntpd should timeout gracefully within a short period of time now.

These images also have several fixes to the web interface.

If you are running Astlinux in "pbx only" mode, dnsmasq is not started 
by default.  I'm also not aware of a good way to assign the external 
interface to a vlan (currently).  This is something that could be added 
(and is probably a good feature request).

If you want your Astlinux device to provide dhcp in pbx-only mode, you 
would need to 1) make sure that no other dhcp server is on your network, 
and 2) start dnsmasq from rc.local (as it won't start if only EXTIF is 
defined).

I had another thought.  Is possible to do port based vlan on your 
network switch for the port that is connected to the Astlinux box?

Darrick

Kevin Kiely wrote:
> I wanted to follow up on the ntpd hang problem.  As suggested, I placed an
> IP for the ntp address and it still hung indefinitely.
> 
> As mentioned, I am trying to run Astlinux in standalone mode behind a NAT
> router.  I need VLANS and DHCP options to pass along to the phones for the
> boot server configurations.
> 
> I know that others are using this or a similar setup.  How are others
doing
> this with assigning different DHCP scopes to the VLANS. AS previously
> mentioned, I couldn't get ETH0 to assign VLANS and not sure if the scripts
> support DHCP on ETH0/WAN.  So to use the standard configs we would have to
> use ETH1 as the internal interface supporting VLANS and DHCP.  We have no
> ETH0 or WAN interface and with ntpd hanging on the wan interface is a
> problem.
> 
> Kevin
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Darrick
> Hartman (lists)
> Sent: Thursday, March 27, 2008 10:01 AM
> To: AstLinux Users Mailing List
> Subject: Re: [Astlinux-users] Starting ntpd.... Hangs
> 
> Kevin Kiely wrote:
>> After monitoring the serial console on the ALIX board, I see that 
>> Astlinux hangs on Starting ntpd.. without a WAN connection and will not 
>> continue.  Is this the correct operation for the current version?
>>
> Hopefully Lonnie will pop his head in here.  I changed from openntp to 
> ntp in the latest images (Kevin please reference the SVN number so we 
> know for sure that is the case).  There should be a timeout after which 
> booting should proceed.  We may need to make some adjustments though in 
> the init script.
> 
> ntp resolves some issues we were seeing with openntp which is why I made 
> the switch.  This is why we are doing the extended testing though.
> 
> Lonnie, do you have any ideas on how to resolve this hang?  I thought 
> ntp would gracefully exit if the ntp server could not be reached 
> immediately.  (or is this because the ntp server is specified by name 
> and not by IP address?)
> 
> Kevin, give that a try.  Put in a known good ntp server by IP address 
> instead of by name in the rc.conf file to see if that helps at all.
> 
> Thanks for helping test.
> 
> Darrick


-- 
Darrick Hartman
DJH Solutions, LLC
http://www.djhsolutions.com

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to
[EMAIL PROTECTED]

No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.519 / Virus Database: 269.22.1/1348 - Release Date: 3/28/2008
10:58 AM
 


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to