[Astlinux-users] Timezone issues upgrading to astlinux 0.7.0

2010-01-21 Thread Matthew Nichols
Hi,

I had an issue with the local time on my astlinux box reporting in UTC
after the upgrade. Previously it was in PST/PDT. I read from the
release notes that TZ_TIMEZONE is no longer required, but I had
problems getting the timezone right.

In the end this is what I had to do:

1. edit /etc/rc and comment out the following:

 #uclibc style TZ support
  #if [ -z "$TZ_TIMEZONE" -a -f /etc/localtime ]; then
  #  TZ_TIMEZONE=$(tail -n1 /etc/localtime)
  #fi

What was happening here is that the env variable $TZ_TIMEZONE didn't
exist after a reboot, and because /etc/localtime points to a valid
file, I was getting the following set:
pbx ~ # tail -n1 /etc/localtime
??eGY?e턠g';?g?f?i?i?H?j???k?e l?mvG n??oV) p??q65ԐV?: X?X? Y??Z??[޵\??
]??^d? _?y`Mޠa???b-??cgw?d/??EDm?E?? G-?Gӵ I
  ro?s? tO?t?
?v8??v??x??x?͠y???z???{?f?|~??}?H?~^s??*

PDTPSTPWTPPTpbx ~ #

2. What I did was to write the file /mnt/kd/TZ with the following content:

PST8PDT,M3.2.0/2,M11.1.0/2

and then /etc/rc will copy /mnt/kd/TZ to /tmp/etc/TZ as per:

if [ -n "$TZ_TIMEZONE" ]; then
echo "$TZ_TIMEZONE" > /tmp/etc/TZ
  elif [ -f /mnt/kd/TZ ]; then
cp /mnt/kd/TZ /tmp/etc/TZ
  elif [ -f /stat/etc/TZ ]; then
cp /stat/etc/TZ /tmp/etc/TZ
  fi

3. The last part was to put in symlink for /etc/TZ pointing to
/tmp/etc/TZ and I fixed the problem.

Am I missing something here or is this problem with /etc/rc incorrect?
Having TZ_TIMEZONE in /mnt/kd/rc.local doesn't make any difference. Is
this a bug?

Thanks

Matt

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

[Astlinux-users] Astlinux web interface still has no provision for SMTP_TLS and SMTP_CA

2010-01-21 Thread Matthew Nichols
Hi,

Is there any plans to incorporate SMTP_TLS and SMTP_CA in the web gui
so it can be saved along with the rest of the configuration? I still
have to add these two values into /mnt/kd/rc.local.d/user.conf so that
on startup the /etc/init.d/misc will build /tmp/etc/msmtprc correctly
for Gmail support.

Having this fixed will help consolidate configuration.

Thanks

Matt

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0

2010-01-21 Thread Tom Chadwin
Hi Matthew

Without wanting to confuse matters too much in my ignorance, here are a
couple of points:

1. Never edit any non /mnt/kd files (there are two exceptions: see
http://doc.astlinux.org/userdoc:tt_editable_files). The majority of the
Astlinux file system is rebuilt via script on reboot, and many system and
Asterisk files are in fact symlinks.

2. When you use the GUI to change timezone settings, this writes to
/mnt/kd/rc.conf.d/gui.network.conf - did you check what was present in this
location, if anything?

It can be confusing to work out exactly where the .conf files which are used
actually are. See the note highlighted in yellow on the DAHDI page:

http://doc.astlinux.org/userdoc:dahdi

I've certainly managed to get correct timezone settings entirely via the
GUI, never touching enything via CLI.

Hope this helps

Tom

PS  An outside chance - is your problem definitely with the system time, and
not just with the timestamping of CDR entries? See
http://doc.astlinux.org/userdoc:faq#the_cdr_tab_gives_time_in_the_wrong_time
zone


> -Original Message-
> From: Matthew Nichols [mailto:mgnich...@gmail.com] 
> Sent: 21 January 2010 09:12
> To: astlinux-users@lists.sourceforge.net
> Subject: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0
> 
> Hi,
> 
> I had an issue with the local time on my astlinux box 
> reporting in UTC after the upgrade. Previously it was in 
> PST/PDT. I read from the release notes that TZ_TIMEZONE is no 
> longer required, but I had problems getting the timezone right.
> 
> In the end this is what I had to do:
> 
> 1. edit /etc/rc and comment out the following:
> 
>  #uclibc style TZ support
>   #if [ -z "$TZ_TIMEZONE" -a -f /etc/localtime ]; then
>   #  TZ_TIMEZONE=$(tail -n1 /etc/localtime)
>   #fi
> 
> What was happening here is that the env variable $TZ_TIMEZONE 
> didn't exist after a reboot, and because /etc/localtime 
> points to a valid file, I was getting the following set:
> pbx ~ # tail -n1 /etc/localtime
> ??eGY?e?g';?g?f?i?i?H?j???k?e l?mvG n??oV) p??q65?V?: X?X? Y??Z??[?\??
> ]??^d? _?y`M?a???b-??cgw?d/??EDm?E?? G-?G? I
>   ro?s? tO?t?
> ?v8??v??x??x??y???z???{?f?|~??}?H?~^s??*
> 
> PDTPSTPWTPPTpbx ~ #
> 
> 2. What I did was to write the file /mnt/kd/TZ with the 
> following content:
> 
> PST8PDT,M3.2.0/2,M11.1.0/2
> 
> and then /etc/rc will copy /mnt/kd/TZ to /tmp/etc/TZ as per:
> 
> if [ -n "$TZ_TIMEZONE" ]; then
> echo "$TZ_TIMEZONE" > /tmp/etc/TZ
>   elif [ -f /mnt/kd/TZ ]; then
> cp /mnt/kd/TZ /tmp/etc/TZ
>   elif [ -f /stat/etc/TZ ]; then
> cp /stat/etc/TZ /tmp/etc/TZ
>   fi
> 
> 3. The last part was to put in symlink for /etc/TZ pointing 
> to /tmp/etc/TZ and I fixed the problem.
> 
> Am I missing something here or is this problem with /etc/rc incorrect?
> Having TZ_TIMEZONE in /mnt/kd/rc.local doesn't make any 
> difference. Is this a bug?
> 
> Thanks
> 
> Matt
> 
> --
> 
> Throughout its 18-year history, RSA Conference consistently 
> attracts the world's best and brightest in the field, 
> creating opportunities for Conference attendees to learn 
> about information security's most important issues through 
> interactions with peers, luminaries and emerging and 
> established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via 
> PayPal to pay...@krisk.org.
> 


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] [Astlinux-devel] AstLinux 0.7.0 Released

2010-01-21 Thread Tom Chadwin
Just to confirm: prior to the upgrade, the NICs were:

eth0Berofix
eth1INTIF
eth2EXTIF
br0 eth0 eth1

After upgrading to 0.7, they were:

eth0INTIF
eth1EXTIF
eth4Berofix
br0 eth0 eth1

So, changing the bridge to eth0 eth4, and changing EXTIF to eth1 got
everything back up and running. Has anyone else seen this behaviour, if they
have NICs using different drivers? Just wondering whether/how to document
this.

Anyway, thanks again, everyone. Not a totally smooth upgrade, but all is
well now.

Tom


> -Original Message-
> From: Lonnie Abelbeck [mailto:li...@lonnie.abelbeck.com] 
> Sent: 20 January 2010 22:30
> To: AstLinux Users Mailing List
> Subject: Re: [Astlinux-users] [Astlinux-devel] AstLinux 0.7.0 Released
> 
> 
> On Jan 20, 2010, at 3:34 PM, Michael Keuter wrote:
> 
> >> The problem: the Berofix has disappeared, so all my trunk 
> calls are 
> >> down. In addition, because the Berofix was eth0, my interfaces are 
> >> possibly now misnumbered, and IAX2 calls seem not to get through. 
> >> Oddly (and thankfully) I seem to be able to SSH to INTIF, though.
> >> 
> >> Can anyone help me to work out what has gone wrong?
> >> 
> >> Tom
> > 
> > Tom,
> > 
> > look into "/etc/rc.modules" and
> > "/etc/udev/rules.d/70-persistent-net.rules". You can change 
> the "ethX" 
> > assignment values in the latter file. I used the Bero*fix 
> as "eth4" in 
> > my installations, and made a bridge to "eth0" or eth1"
> > depending on the usage.
> 
> Tom,
> 
> Michael's suggestion is on target.
> 
> The file "/etc/udev/rules.d/70-persistent-net.rules" is new 
> to 0.7, which makes ethX interface names 'sticky' by MAC address.
> 
> A nice feature, but note that if you replace PCI cards or 
> move the CF card to another box, it's probably easiest to 
> remove this file before moving the CF card.  If 
> "/etc/udev/rules.d/70-persistent-net.rules" does not exist on 
> first boot, it will be automatically created.
> 
> BTW: Both files Michael suggested editing are available via 
> the Edit tab.
> 
> Lonnie
> --
> 
> Throughout its 18-year history, RSA Conference consistently 
> attracts the world's best and brightest in the field, 
> creating opportunities for Conference attendees to learn 
> about information security's most important issues through 
> interactions with peers, luminaries and emerging and 
> established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via 
> PayPal to pay...@krisk.org.
> 


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] [Astlinux-devel] AstLinux 0.7.0 Released

2010-01-21 Thread Tom Chadwin
OK, I found that I had some IPSec configuration left over from when I was
testing that feature. Disabling IPSec via the GUI (and, in the case of one
of the boxes, sorting out the order of the NICs as per a previous message)
then seems to have removed the error. A GUI firewall save and then restart
now gives no errors or warnings.

Thanks yet again for the help. I've got one remaining box down after the
upgrade, but it's 50 miles away, so it will have to wait till next week.
I'll report back if there is anything relevant with that installation as far
as upgrading goes.

Tom


> -Original Message-
> From: Lonnie Abelbeck [mailto:li...@lonnie.abelbeck.com] 
> Sent: 20 January 2010 18:19
> To: AstLinux Users Mailing List
> Cc: Tom Chadwin
> Subject: Re: [Astlinux-users] [Astlinux-devel] AstLinux 0.7.0 Released
> 
> 
> On Jan 20, 2010, at 12:09 PM, Tom Chadwin wrote:
> 
> > On one of the boxes, after a GUI upgrade of the firewall, I have:
> > 
> > Firewall is Upgraded and Restarted. WARNING: Not all firewall rules 
> > are applied.
> > 
> > Which rules? Why?
> > 
> > Tom
> 
> Tom,
> 
> You should ssh in and perform a
> 
> $ arno-iptables-firewall restart
> 
> and note the output, it might me obvious... possibly a rule 
> in the Firewall tab needs to be tweaked.
> 
> If you can't figure it out, send your output to me privately.
> 
> Lonnie
> 
> 
> --
> 
> Throughout its 18-year history, RSA Conference consistently 
> attracts the world's best and brightest in the field, 
> creating opportunities for Conference attendees to learn 
> about information security's most important issues through 
> interactions with peers, luminaries and emerging and 
> established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via 
> PayPal to pay...@krisk.org.
> 


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0

2010-01-21 Thread Lonnie Abelbeck
Matt,

I appears you are using the web interface, in the Network tab -> "Network Time 
Settings:" what Timezone City did you choose?

To test I chose "America/Los_Angeles" from the menu, then rebooted, and...

pbx ~ # tail -n1 /etc/localtime
PST8PDT,M3.2.0,M11.1.0

which is used as TZ_TIMEZONE.

There are a handful of cities around the world that TZ_TIMEZONE=$(tail -n1 
/etc/localtime) is not a part of the timezone data, for those users TZ_TIMEZONE 
must be set in "/mnt/kd/rc.conf.d/user.conf" (for web interface users, Network 
tab -> User System Variables: {Edit User Variables}) or "/mnt/kd/rc.conf" (if 
"/mnt/kd/rc.conf.d" does not exist)

Matt, please revert your changes:

$ rm /oldroot/mnt/asturw/etc/rc

and give it another try.

Lonnie


On Jan 21, 2010, at 3:11 AM, Matthew Nichols wrote:

> Hi,
> 
> I had an issue with the local time on my astlinux box reporting in UTC
> after the upgrade. Previously it was in PST/PDT. I read from the
> release notes that TZ_TIMEZONE is no longer required, but I had
> problems getting the timezone right.
> 
> In the end this is what I had to do:
> 
> 1. edit /etc/rc and comment out the following:
> 
> #uclibc style TZ support
>  #if [ -z "$TZ_TIMEZONE" -a -f /etc/localtime ]; then
>  #  TZ_TIMEZONE=$(tail -n1 /etc/localtime)
>  #fi
> 
> What was happening here is that the env variable $TZ_TIMEZONE didn't
> exist after a reboot, and because /etc/localtime points to a valid
> file, I was getting the following set:
> pbx ~ # tail -n1 /etc/localtime
> ??eGY?e턠g';?g?f?i?i?H?j???k?e l?mvG n??oV) p??q65ԐV?: X?X? Y??Z??[޵\??
> ]??^d? _?y`Mޠa???b-??cgw?d/??EDm?E?? G-?Gӵ I
>  ro?s? tO?t?
> ?v8??v??x??x?͠y???z???{?f?|~??}?H?~^s??*
> 
>PDTPSTPWTPPTpbx ~ #
> 
> 2. What I did was to write the file /mnt/kd/TZ with the following content:
> 
> PST8PDT,M3.2.0/2,M11.1.0/2
> 
> and then /etc/rc will copy /mnt/kd/TZ to /tmp/etc/TZ as per:
> 
> if [ -n "$TZ_TIMEZONE" ]; then
>echo "$TZ_TIMEZONE" > /tmp/etc/TZ
>  elif [ -f /mnt/kd/TZ ]; then
>cp /mnt/kd/TZ /tmp/etc/TZ
>  elif [ -f /stat/etc/TZ ]; then
>cp /stat/etc/TZ /tmp/etc/TZ
>  fi
> 
> 3. The last part was to put in symlink for /etc/TZ pointing to
> /tmp/etc/TZ and I fixed the problem.
> 
> Am I missing something here or is this problem with /etc/rc incorrect?
> Having TZ_TIMEZONE in /mnt/kd/rc.local doesn't make any difference. Is
> this a bug?
> 
> Thanks
> 
> Matt
> 
> --
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to 
> pay...@krisk.org.


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Re: [Astlinux-users] mini_httpd how to configure?

2010-01-21 Thread Chris Abnett
So the way I understand it is this:

1] /mnt/kd/rc.conf.d/gui.network.conf takes #1 precedence over any other..
only variables contained??  Or does it exclusively use this if the FILE
exists? Meaning if I have a variable in /mnt/kd/rc.conf but is NOT in
/mnt/kd/rc.conf.d/gui.network.conf will that variable be ignored or will it
be looked at?

2] if there is nothing in rc.conf.d then /mnt/kd/rc.conf is used??

3] NEVER edit /etc/rc.conf
4] NEVER edit /stat/etc/rc.conf

I have to get this right because a new customer with multiple sites we will
have MODEM DIALUP CONSOLE access ONLY!  As the systems will be running
standalone with T1 and POTS to the PSTN..  only IP phones and analog sets
for extensions...  

Eventually we will have IP access but not for a while..  so that means all
MAC work will have to be done by hand and not by a GUI...

We may have OUTBOUND internet access for ftp-ing backups or file transfers
but as of right now no inbound..
-Christopher

-Original Message-
From: Darrick Hartman [mailto:dhart...@djhsolutions.com] 
Sent: Wednesday, January 20, 2010 5:31 PM
To: AstLinux Users Mailing List
Subject: Re: [Astlinux-users] mini_httpd how to configure?

On 01/20/2010 04:21 PM, Chris Abnett wrote:
> I am trying to use the secondary web server from mini_httpd  but am unable
> to get it configured correctly...  it seems no matter what I put where it
> wasn't to run on the defaults which is pulling its files from /ftfpboot
and
> having cgi disabled...   want went into /stat/etc/rc.conf and edited the
> paramaters to change the httpdir and such.. and then rebooted my astlinux
> machine. The changes make it into /etc/rc.conf  however the web server
still
> will not pull the files from my new directory.
> Any help is appreciated
> -Christopher


Christopher,

Never edit the /stat/etc/rc.conf file (or /etc/rc.conf for that matter). 
  The 'rc.conf' file is generated from one of two sources. 
/mnt/kd/rc.conf or the concatenation of several '.conf' files in 
/mnt/kd/rc.conf.d/  If /mnt/kd/rc.conf.d/ exists, this takes precedence.

Documentation for that needs to be added to the wiki.  I thought it was 
there already, but perhaps someone can get a full explanation of the 
'configuration' files added tonight.

Sorry for the confusion.

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


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for
Conference
attendees to learn about information security's most important issues
through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to
pay...@krisk.org.


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] [Astlinux-devel] AstLinux 0.7.0 Released

2010-01-21 Thread Lonnie Abelbeck

On Jan 21, 2010, at 5:31 AM, Tom Chadwin wrote:

> Just to confirm: prior to the upgrade, the NICs were:
> 
> eth0  Berofix
> eth1  INTIF
> eth2  EXTIF
> br0   eth0 eth1
> 
> After upgrading to 0.7, they were:
> 
> eth0  INTIF
> eth1  EXTIF
> eth4  Berofix
> br0   eth0 eth1
> 
> So, changing the bridge to eth0 eth4, and changing EXTIF to eth1 got
> everything back up and running. Has anyone else seen this behaviour, if they
> have NICs using different drivers? Just wondering whether/how to document
> this.

Tom,

As Michael suggested, you could have simply edited the 
"/etc/udev/rules.d/70-persistent-net.rules" file to make your previous 
interface name mapping occur as it was in 0.6.

This is the purpose of this new feature.

In 0.6 the interface ordering was determined by the order of the modprobe's 
(mostly), the "/etc/udev/rules.d/70-persistent-net.rules" file allows explicit 
control of the ethX name by the MAC address of the interface.

Lonnie



> 
> Anyway, thanks again, everyone. Not a totally smooth upgrade, but all is
> well now.
> 
> Tom
> 
> 
>> -Original Message-
>> From: Lonnie Abelbeck [mailto:li...@lonnie.abelbeck.com] 
>> Sent: 20 January 2010 22:30
>> To: AstLinux Users Mailing List
>> Subject: Re: [Astlinux-users] [Astlinux-devel] AstLinux 0.7.0 Released
>> 
>> 
>> On Jan 20, 2010, at 3:34 PM, Michael Keuter wrote:
>> 
 The problem: the Berofix has disappeared, so all my trunk 
>> calls are 
 down. In addition, because the Berofix was eth0, my interfaces are 
 possibly now misnumbered, and IAX2 calls seem not to get through. 
 Oddly (and thankfully) I seem to be able to SSH to INTIF, though.
 
 Can anyone help me to work out what has gone wrong?
 
 Tom
>>> 
>>> Tom,
>>> 
>>> look into "/etc/rc.modules" and
>>> "/etc/udev/rules.d/70-persistent-net.rules". You can change 
>> the "ethX" 
>>> assignment values in the latter file. I used the Bero*fix 
>> as "eth4" in 
>>> my installations, and made a bridge to "eth0" or eth1"
>>> depending on the usage.
>> 
>> Tom,
>> 
>> Michael's suggestion is on target.
>> 
>> The file "/etc/udev/rules.d/70-persistent-net.rules" is new 
>> to 0.7, which makes ethX interface names 'sticky' by MAC address.
>> 
>> A nice feature, but note that if you replace PCI cards or 
>> move the CF card to another box, it's probably easiest to 
>> remove this file before moving the CF card.  If 
>> "/etc/udev/rules.d/70-persistent-net.rules" does not exist on 
>> first boot, it will be automatically created.
>> 
>> BTW: Both files Michael suggested editing are available via 
>> the Edit tab.
>> 
>> Lonnie


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] Astlinux web interface still has no provision for SMTP_TLS and SMTP_CA

2010-01-21 Thread Lonnie Abelbeck
Matt,

First, you may have a typo, the SMTP_TLS and SMTP_CA variables must be defined 
in "/mnt/kd/rc.conf.d/user.conf" (not rc.local.d as you stated)

Thanks for the suggestion.

Note that from the Network tab...

Network tab -> User System Variables: {Edit User Variables}

will allow you to edit the "/mnt/kd/rc.conf.d/user.conf" file without using the 
CLI.

Lonnie


On Jan 21, 2010, at 3:16 AM, Matthew Nichols wrote:

> Hi,
> 
> Is there any plans to incorporate SMTP_TLS and SMTP_CA in the web gui
> so it can be saved along with the rest of the configuration? I still
> have to add these two values into /mnt/kd/rc.local.d/user.conf so that
> on startup the /etc/init.d/misc will build /tmp/etc/msmtprc correctly
> for Gmail support.
> 
> Having this fixed will help consolidate configuration.
> 
> Thanks
> 
> Matt

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] mini_httpd how to configure?

2010-01-21 Thread Tom Chadwin
Hi Chris

If this is over-cautious or inaccurate, I'm sure someone will correct me:

1. If /mnt/kd/rc.conf.d/ exists, /mnt/kd/rc.conf is ignored.

2. /etc/rc.conf is a symlink to /tmp/etc/rc.conf, so obviously cannot be
edited

3. /tmp/etc/rc.conf is generated afresh each reboot - so do not edit it -
written either with defaults, or using values from the /mnt/kd files
(according to point 1 above)

Hope this helps

Tom


> -Original Message-
> From: Chris Abnett [mailto:eldorado...@yahoo.com] 
> Sent: 21 January 2010 14:25
> To: 'AstLinux Users Mailing List'
> Subject: Re: [Astlinux-users] mini_httpd how to configure?
> 
> So the way I understand it is this:
> 
> 1] /mnt/kd/rc.conf.d/gui.network.conf takes #1 precedence 
> over any other..
> only variables contained??  Or does it exclusively use this 
> if the FILE exists? Meaning if I have a variable in 
> /mnt/kd/rc.conf but is NOT in 
> /mnt/kd/rc.conf.d/gui.network.conf will that variable be 
> ignored or will it be looked at?
> 
> 2] if there is nothing in rc.conf.d then /mnt/kd/rc.conf is used??
> 
> 3] NEVER edit /etc/rc.conf
> 4] NEVER edit /stat/etc/rc.conf
> 
> I have to get this right because a new customer with multiple 
> sites we will have MODEM DIALUP CONSOLE access ONLY!  As the 
> systems will be running standalone with T1 and POTS to the 
> PSTN..  only IP phones and analog sets for extensions...  
> 
> Eventually we will have IP access but not for a while..  so 
> that means all MAC work will have to be done by hand and not 
> by a GUI...
> 
> We may have OUTBOUND internet access for ftp-ing backups or 
> file transfers but as of right now no inbound..
> -Christopher
> 
> -Original Message-
> From: Darrick Hartman [mailto:dhart...@djhsolutions.com]
> Sent: Wednesday, January 20, 2010 5:31 PM
> To: AstLinux Users Mailing List
> Subject: Re: [Astlinux-users] mini_httpd how to configure?
> 
> On 01/20/2010 04:21 PM, Chris Abnett wrote:
> > I am trying to use the secondary web server from mini_httpd  but am 
> > unable to get it configured correctly...  it seems no matter what I 
> > put where it wasn't to run on the defaults which is pulling 
> its files 
> > from /ftfpboot
> and
> > having cgi disabled...   want went into /stat/etc/rc.conf 
> and edited the
> > paramaters to change the httpdir and such.. and then rebooted my 
> > astlinux machine. The changes make it into /etc/rc.conf  
> however the 
> > web server
> still
> > will not pull the files from my new directory.
> > Any help is appreciated
> > -Christopher
> 
> 
> Christopher,
> 
> Never edit the /stat/etc/rc.conf file (or /etc/rc.conf for 
> that matter). 
>   The 'rc.conf' file is generated from one of two sources. 
> /mnt/kd/rc.conf or the concatenation of several '.conf' files 
> in /mnt/kd/rc.conf.d/  If /mnt/kd/rc.conf.d/ exists, this 
> takes precedence.
> 
> Documentation for that needs to be added to the wiki.  I 
> thought it was there already, but perhaps someone can get a 
> full explanation of the 'configuration' files added tonight.
> 
> Sorry for the confusion.
> 
> Darrick
> --
> Darrick Hartman
> DJH Solutions, LLC
> http://www.djhsolutions.com
> 
> --
> --
> --
> Throughout its 18-year history, RSA Conference consistently 
> attracts the world's best and brightest in the field, 
> creating opportunities for Conference attendees to learn 
> about information security's most important issues through 
> interactions with peers, luminaries and emerging and 
> established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via 
> PayPal to pay...@krisk.org.
> 
> 
> --
> 
> Throughout its 18-year history, RSA Conference consistently 
> attracts the world's best and brightest in the field, 
> creating opportunities for Conference attendees to learn 
> about information security's most important issues through 
> interactions with peers, luminaries and emerging and 
> established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via 
> PayPal to pay...@krisk.org.
> 


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established compan

Re: [Astlinux-users] mini_httpd how to configure?

2010-01-21 Thread Lonnie Abelbeck

On Jan 21, 2010, at 8:25 AM, Chris Abnett wrote:

> So the way I understand it is this:
> 
> 1] /mnt/kd/rc.conf.d/gui.network.conf takes #1 precedence over any other..
> only variables contained??  Or does it exclusively use this if the FILE
> exists? Meaning if I have a variable in /mnt/kd/rc.conf but is NOT in
> /mnt/kd/rc.conf.d/gui.network.conf will that variable be ignored or will it
> be looked at?

Chris,

Assuming the directory "/mnt/kd/rc.conf.d/" exists, the system configuration is 
the concatenation of all the files "/mnt/kd/rc.conf.d/*.conf", then appended to 
the default configuration, "/stat/etc/rc.conf", to generate the system 
"/etc/rc.conf".

Hence, if variables are defined more than once, the filename with the largest 
alphanumeric name in "/mnt/kd/rc.conf.d/" will have precedence.  Our standard 
file for the highest precedence is "/mnt/kd/rc.conf.d/user.conf" .

The web interface generates many different config files of the form 
"gui.*.conf", and can also allow the user to edit "/mnt/kd/rc.conf.d/user.conf".

Clear?

> 
> 2] if there is nothing in rc.conf.d then /mnt/kd/rc.conf is used??

Yes.

> 
> 3] NEVER edit /etc/rc.conf
> 4] NEVER edit /stat/etc/rc.conf

Yes and Yes.

Lonnie


> 
> I have to get this right because a new customer with multiple sites we will
> have MODEM DIALUP CONSOLE access ONLY!  As the systems will be running
> standalone with T1 and POTS to the PSTN..  only IP phones and analog sets
> for extensions...  
> 
> Eventually we will have IP access but not for a while..  so that means all
> MAC work will have to be done by hand and not by a GUI...
> 
> We may have OUTBOUND internet access for ftp-ing backups or file transfers
> but as of right now no inbound..
> -Christopher
> 
> -Original Message-
> From: Darrick Hartman [mailto:dhart...@djhsolutions.com] 
> Sent: Wednesday, January 20, 2010 5:31 PM
> To: AstLinux Users Mailing List
> Subject: Re: [Astlinux-users] mini_httpd how to configure?
> 
> On 01/20/2010 04:21 PM, Chris Abnett wrote:
>> I am trying to use the secondary web server from mini_httpd  but am unable
>> to get it configured correctly...  it seems no matter what I put where it
>> wasn't to run on the defaults which is pulling its files from /ftfpboot
> and
>> having cgi disabled...   want went into /stat/etc/rc.conf and edited the
>> paramaters to change the httpdir and such.. and then rebooted my astlinux
>> machine. The changes make it into /etc/rc.conf  however the web server
> still
>> will not pull the files from my new directory.
>> Any help is appreciated
>> -Christopher
> 
> 
> Christopher,
> 
> Never edit the /stat/etc/rc.conf file (or /etc/rc.conf for that matter). 
>  The 'rc.conf' file is generated from one of two sources. 
> /mnt/kd/rc.conf or the concatenation of several '.conf' files in 
> /mnt/kd/rc.conf.d/  If /mnt/kd/rc.conf.d/ exists, this takes precedence.
> 
> Documentation for that needs to be added to the wiki.  I thought it was 
> there already, but perhaps someone can get a full explanation of the 
> 'configuration' files added tonight.
> 
> Sorry for the confusion.
> 
> Darrick
> -- 
> Darrick Hartman
> DJH Solutions, LLC
> http://www.djhsolutions.com
> 
> 
> --
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for
> Conference
> attendees to learn about information security's most important issues
> through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to
> pay...@krisk.org.
> 
> 
> --
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to 
> pay...@krisk.org.
> 
> 


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging an

Re: [Astlinux-users] [Astlinux-devel] AstLinux 0.7.0 Released

2010-01-21 Thread Tom Chadwin
Yes, I understand all this, and appreciate I could simply have changed the
persistent net rules file instead - it's six and two threes. What I am
driving at is that this issue downed one box, and is currently undocumented.
It is also confusing, because I have another box with the same
configuration, and that did not go down with the upgrade.

You and Michael have given me the explanation, and I have recitifed the
issue personally, but I was hoping to be able to document it, if it is
confirmed as an issue. I also should ask the question: is there anything I
could have done to prevent the issue from happening in the first place?

Tom


> -Original Message-
> From: Lonnie Abelbeck [mailto:li...@lonnie.abelbeck.com]
> Sent: 21 January 2010 13:42
> To: AstLinux Users Mailing List
> Cc: Tom Chadwin
> Subject: Re: [Astlinux-users] [Astlinux-devel] AstLinux 0.7.0 Released
> 
> 
> On Jan 21, 2010, at 5:31 AM, Tom Chadwin wrote:
> 
> > Just to confirm: prior to the upgrade, the NICs were:
> > 
> > eth0Berofix
> > eth1INTIF
> > eth2EXTIF
> > br0 eth0 eth1
> > 
> > After upgrading to 0.7, they were:
> > 
> > eth0INTIF
> > eth1EXTIF
> > eth4Berofix
> > br0 eth0 eth1
> > 
> > So, changing the bridge to eth0 eth4, and changing EXTIF to
> eth1 got
> > everything back up and running. Has anyone else seen this
> behaviour,
> > if they have NICs using different drivers? Just wondering
> whether/how
> > to document this.
> 
> Tom,
> 
> As Michael suggested, you could have simply edited the 
> "/etc/udev/rules.d/70-persistent-net.rules" file to make your previous 
> interface name mapping occur as it was in 0.6.
> 
> This is the purpose of this new feature.
> 
> In 0.6 the interface ordering was determined by the order of the 
> modprobe's (mostly), the "/etc/udev/rules.d/70-persistent-net.rules" 
> file allows explicit control of the ethX name by the MAC address of 
> the interface.
> 
> Lonnie
> 
> 
> 
> > 
> > Anyway, thanks again, everyone. Not a totally smooth
> upgrade, but all
> > is well now.
> > 
> > Tom
> > 
> > 
> >> -Original Message-
> >> From: Lonnie Abelbeck [mailto:li...@lonnie.abelbeck.com]
> >> Sent: 20 January 2010 22:30
> >> To: AstLinux Users Mailing List
> >> Subject: Re: [Astlinux-users] [Astlinux-devel] AstLinux 0.7.0 
> >> Released
> >> 
> >> 
> >> On Jan 20, 2010, at 3:34 PM, Michael Keuter wrote:
> >> 
>  The problem: the Berofix has disappeared, so all my trunk
> >> calls are
>  down. In addition, because the Berofix was eth0, my
> interfaces are
>  possibly now misnumbered, and IAX2 calls seem not to get through.
>  Oddly (and thankfully) I seem to be able to SSH to INTIF, though.
>  
>  Can anyone help me to work out what has gone wrong?
>  
>  Tom
> >>> 
> >>> Tom,
> >>> 
> >>> look into "/etc/rc.modules" and
> >>> "/etc/udev/rules.d/70-persistent-net.rules". You can change
> >> the "ethX" 
> >>> assignment values in the latter file. I used the Bero*fix
> >> as "eth4" in
> >>> my installations, and made a bridge to "eth0" or eth1"
> >>> depending on the usage.
> >> 
> >> Tom,
> >> 
> >> Michael's suggestion is on target.
> >> 
> >> The file "/etc/udev/rules.d/70-persistent-net.rules" is
> new to 0.7,
> >> which makes ethX interface names 'sticky' by MAC address.
> >> 
> >> A nice feature, but note that if you replace PCI cards or
> move the CF
> >> card to another box, it's probably easiest to remove this
> file before
> >> moving the CF card.  If
> "/etc/udev/rules.d/70-persistent-net.rules" 
> >> does not exist on first boot, it will be automatically created.
> >> 
> >> BTW: Both files Michael suggested editing are available
> via the Edit
> >> tab.
> >> 
> >> Lonnie
> 
> 


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] [Astlinux-devel] AstLinux 0.7.0 Released

2010-01-21 Thread Lonnie Abelbeck

On Jan 21, 2010, at 8:04 AM, Tom Chadwin wrote:

> Yes, I understand all this, and appreciate I could simply have changed the
> persistent net rules file instead - it's six and two threes. What I am
> driving at is that this issue downed one box, and is currently undocumented.
> It is also confusing, because I have another box with the same
> configuration, and that did not go down with the upgrade.
> 
> You and Michael have given me the explanation, and I have recitifed the
> issue personally, but I was hoping to be able to document it, if it is
> confirmed as an issue. I also should ask the question: is there anything I
> could have done to prevent the issue from happening in the first place?
> 
> Tom

Good question...

*Normally* the 0.6 network interface ordering should be replicated in 0.7, 
assuming the drivers were modprobe'd in /etc/rc.modules in the same order.

In your case, it appears your "Berofix" driver was loaded first in 0.6 and last 
in 0.7.

In 0.7 'udev' is used to discover devices, not so much in 0.6, so there is a 
difference.

I can't say I understand why the ordering changed on one of your boxes and not 
the other.

We do need to add documentation on the 
"/etc/udev/rules.d/70-persistent-net.rules" file, particularly when moving a CF 
card to a different box or replacing a network card. Possibly under "Tips and 
Tricks" ?

If you move the CF card to another box, it is best to remove the 
"/etc/udev/rules.d/70-persistent-net.rules" file before moving the CF card.  If 
"/etc/udev/rules.d/70-persistent-net.rules" does not exist on first boot, it 
will be automatically created.

If you replace a network PCI card/USB device/etc., edit the 
"/etc/udev/rules.d/70-persistent-net.rules" file to reflect the new MAC address.

Lonnie



>> On Jan 21, 2010, at 5:31 AM, Tom Chadwin wrote:
>> 
>>> Just to confirm: prior to the upgrade, the NICs were:
>>> 
>>> eth0Berofix
>>> eth1INTIF
>>> eth2EXTIF
>>> br0 eth0 eth1
>>> 
>>> After upgrading to 0.7, they were:
>>> 
>>> eth0INTIF
>>> eth1EXTIF
>>> eth4Berofix
>>> br0 eth0 eth1


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] Astlinux web interface still has no provision for SMTP_TLS and SMTP_CA

2010-01-21 Thread Matthew Nichols
Lonnie,

Thanks, Yes it was a typo - the entries are in /mnt/kd/rc.conf.d/user.conf.
It was very late at night when I wrote this email.

What I am requesting is can this be a part of the normal External SMTP smart
host configuration under Networks on that page rather than having to enter
these entries in the user.conf?

Thanks

Matt

On Thu, Jan 21, 2010 at 5:32 AM, Lonnie Abelbeck
wrote:

> Matt,
>
> First, you may have a typo, the SMTP_TLS and SMTP_CA variables must be
> defined in "/mnt/kd/rc.conf.d/user.conf" (not rc.local.d as you stated)
>
> Thanks for the suggestion.
>
> Note that from the Network tab...
>
> Network tab -> User System Variables: {Edit User Variables}
>
> will allow you to edit the "/mnt/kd/rc.conf.d/user.conf" file without using
> the CLI.
>
> Lonnie
>
>
> On Jan 21, 2010, at 3:16 AM, Matthew Nichols wrote:
>
> > Hi,
> >
> > Is there any plans to incorporate SMTP_TLS and SMTP_CA in the web gui
> > so it can be saved along with the rest of the configuration? I still
> > have to add these two values into /mnt/kd/rc.local.d/user.conf so that
> > on startup the /etc/init.d/misc will build /tmp/etc/msmtprc correctly
> > for Gmail support.
> >
> > Having this fixed will help consolidate configuration.
> >
> > Thanks
> >
> > Matt
>
>
> --
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for
> Conference
> attendees to learn about information security's most important issues
> through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to
> pay...@krisk.org.
>
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Re: [Astlinux-users] Astlinux web interface still has no provision for SMTP_TLS and SMTP_CA

2010-01-21 Thread Lonnie Abelbeck

On Jan 21, 2010, at 9:47 AM, Matthew Nichols wrote:

> Lonnie,
> 
> Thanks, Yes it was a typo - the entries are in /mnt/kd/rc.conf.d/user.conf. 
> It was very late at night when I wrote this email.
> 
> What I am requesting is can this be a part of the normal External SMTP smart 
> host configuration under Networks on that page rather than having to enter 
> these entries in the user.conf?

Matt,

Yes, I understand... if I get a couple more requests, I'll add it.  I don't 
want to clutter the Network tab with options very few users use, given the 
{Edit User Variables} button adds the functionality on the same page.

Your request is added to my list.

Lonnie


> 
> Thanks
> 
> Matt 
> 
> On Thu, Jan 21, 2010 at 5:32 AM, Lonnie Abelbeck  
> wrote:
> Matt,
> 
> First, you may have a typo, the SMTP_TLS and SMTP_CA variables must be 
> defined in "/mnt/kd/rc.conf.d/user.conf" (not rc.local.d as you stated)
> 
> Thanks for the suggestion.
> 
> Note that from the Network tab...
> 
> Network tab -> User System Variables: {Edit User Variables}
> 
> will allow you to edit the "/mnt/kd/rc.conf.d/user.conf" file without using 
> the CLI.
> 
> Lonnie
> 
> 
> On Jan 21, 2010, at 3:16 AM, Matthew Nichols wrote:
> 
> > Hi,
> >
> > Is there any plans to incorporate SMTP_TLS and SMTP_CA in the web gui
> > so it can be saved along with the rest of the configuration? I still
> > have to add these two values into /mnt/kd/rc.local.d/user.conf so that
> > on startup the /etc/init.d/misc will build /tmp/etc/msmtprc correctly
> > for Gmail support.
> >
> > Having this fixed will help consolidate configuration.
> >
> > Thanks
> >
> > Matt
> 
> --
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to 
> pay...@krisk.org.
> 
> --
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to 
> pay...@krisk.org.


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


[Astlinux-users] AstLinux 0.7.0 fresh install..

2010-01-21 Thread Zviad Sulaberidze
Hi,

sorry for my trivial question, I have MiniITX box with 512MB card in CF 
slot (hda) and just connected CF-IDE adapter with 4GB MicroDrive, where 
I want to install 0.7.0 (hdc). I downloaded .img file and made:

# dd if=astlinux-0.7.0-asterisk14.img of=/dev/dhc
which gives me:
dd: /dev/dhc: No space left on device


I know this is not astlinux specific problem, it's rather my problem 
related to Linux...

if anybody can hint, if I am missing something? /dev/hdc is not mounted, 
has one type 83 partition, without filesystem (not formatted)


best
Zvi

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


[Astlinux-users] AstLinux on VUC tomorrow

2010-01-21 Thread Darrick Hartman
I thought I sent this out before, but just incase I didn't, AstLinux 
will be the topic for tomorrow's VUC call.

http://www.voipusersconference.org/

If you're available to join the call, please call in using ZipDX.  It 
would be great to have not only the developers on the call, but some end 
users who can speak to their experiences as well.  The call officially 
starts at 12:00 EST but the conference bridge is usually up around 11:40 
EST.

sip:200...@login.zipdx.com
ZipDX PSTN: +1 567 252 2286 iNum: +883 5100 123 94882

You can even connect via Skype:

http://www.voipusersconference.org/how-to-participate/

Hope to hear you on the call.

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

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] AstLinux 0.7.0 fresh install..

2010-01-21 Thread Lonnie Abelbeck

On Jan 21, 2010, at 10:59 AM, Zviad Sulaberidze wrote:

> Hi,
> 
> sorry for my trivial question, I have MiniITX box with 512MB card in CF 
> slot (hda) and just connected CF-IDE adapter with 4GB MicroDrive, where 
> I want to install 0.7.0 (hdc). I downloaded .img file and made:
> 
> # dd if=astlinux-0.7.0-asterisk14.img of=/dev/dhc
> which gives me:
> dd: /dev/dhc: No space left on device

Zvi,

Looks like a typo, maybe /dev/hdc not /dev/dhc

We have all done it. :-)

Lonnie


> 
> I know this is not astlinux specific problem, it's rather my problem 
> related to Linux...
> 
> if anybody can hint, if I am missing something? /dev/hdc is not mounted, 
> has one type 83 partition, without filesystem (not formatted)
> 
> 
> best
> Zvi

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] AstLinux 0.7.0 fresh install..

2010-01-21 Thread Zviad Sulaberidze




Oh, my bad :) I was so sure that I typed hdc :D  

Thanks Lonnie :)

Z

Lonnie Abelbeck wrote:

  On Jan 21, 2010, at 10:59 AM, Zviad Sulaberidze wrote:

  
  
Hi,

sorry for my trivial question, I have MiniITX box with 512MB card in CF 
slot (hda) and just connected CF-IDE adapter with 4GB MicroDrive, where 
I want to install 0.7.0 (hdc). I downloaded .img file and made:

# dd if=astlinux-0.7.0-asterisk14.img of=/dev/dhc
which gives me:
dd: /dev/dhc: No space left on device

  
  
Zvi,

Looks like a typo, maybe /dev/hdc not /dev/dhc

We have all done it. :-)

Lonnie


  
  
I know this is not astlinux specific problem, it's rather my problem 
related to Linux...

if anybody can hint, if I am missing something? /dev/hdc is not mounted, 
has one type 83 partition, without filesystem (not formatted)


best
Zvi

  
  
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.

  




--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Re: [Astlinux-users] Astlinux web interface still has no provision for SMTP_TLS and SMTP_CA

2010-01-21 Thread Matthew Nichols
Thanks Lonnie

Matt

On Thu, Jan 21, 2010 at 7:58 AM, Lonnie Abelbeck
wrote:

>
> On Jan 21, 2010, at 9:47 AM, Matthew Nichols wrote:
>
> > Lonnie,
> >
> > Thanks, Yes it was a typo - the entries are in
> /mnt/kd/rc.conf.d/user.conf. It was very late at night when I wrote this
> email.
> >
> > What I am requesting is can this be a part of the normal External SMTP
> smart host configuration under Networks on that page rather than having to
> enter these entries in the user.conf?
>
> Matt,
>
> Yes, I understand... if I get a couple more requests, I'll add it.  I don't
> want to clutter the Network tab with options very few users use, given the
> {Edit User Variables} button adds the functionality on the same page.
>
> Your request is added to my list.
>
> Lonnie
>
>
> >
> > Thanks
> >
> > Matt
> >
> > On Thu, Jan 21, 2010 at 5:32 AM, Lonnie Abelbeck <
> li...@lonnie.abelbeck.com> wrote:
> > Matt,
> >
> > First, you may have a typo, the SMTP_TLS and SMTP_CA variables must be
> defined in "/mnt/kd/rc.conf.d/user.conf" (not rc.local.d as you stated)
> >
> > Thanks for the suggestion.
> >
> > Note that from the Network tab...
> >
> > Network tab -> User System Variables: {Edit User Variables}
> >
> > will allow you to edit the "/mnt/kd/rc.conf.d/user.conf" file without
> using the CLI.
> >
> > Lonnie
> >
> >
> > On Jan 21, 2010, at 3:16 AM, Matthew Nichols wrote:
> >
> > > Hi,
> > >
> > > Is there any plans to incorporate SMTP_TLS and SMTP_CA in the web gui
> > > so it can be saved along with the rest of the configuration? I still
> > > have to add these two values into /mnt/kd/rc.local.d/user.conf so that
> > > on startup the /etc/init.d/misc will build /tmp/etc/msmtprc correctly
> > > for Gmail support.
> > >
> > > Having this fixed will help consolidate configuration.
> > >
> > > Thanks
> > >
> > > Matt
> >
> >
> --
> > Throughout its 18-year history, RSA Conference consistently attracts the
> > world's best and brightest in the field, creating opportunities for
> Conference
> > attendees to learn about information security's most important issues
> through
> > interactions with peers, luminaries and emerging and established
> companies.
> > http://p.sf.net/sfu/rsaconf-dev2dev
> > ___
> > Astlinux-users mailing list
> > Astlinux-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/astlinux-users
> >
> > Donations to support AstLinux are graciously accepted via PayPal to
> pay...@krisk.org.
> >
> >
> --
> > Throughout its 18-year history, RSA Conference consistently attracts the
> > world's best and brightest in the field, creating opportunities for
> Conference
> > attendees to learn about information security's most important issues
> through
> > interactions with peers, luminaries and emerging and established
> companies.
> >
> http://p.sf.net/sfu/rsaconf-dev2dev___
> > Astlinux-users mailing list
> > Astlinux-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/astlinux-users
> >
> > Donations to support AstLinux are graciously accepted via PayPal to
> pay...@krisk.org.
>
>
>
> --
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for
> Conference
> attendees to learn about information security's most important issues
> through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to
> pay...@krisk.org.
>
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Re: [Astlinux-users] AstLinux 0.7.0 fresh install..

2010-01-21 Thread John Novack



Zviad Sulaberidze wrote:

Hi,

sorry for my trivial question, I have MiniITX box with 512MB card in CF 
slot (hda) and just connected CF-IDE adapter with 4GB MicroDrive, where 
I want to install 0.7.0 (hdc). I downloaded .img file and made:


# dd if=astlinux-0.7.0-asterisk14.img of=/dev/dhc
which gives me:
dd: /dev/dhc: No space left on device


  

IS this a typo??
/dev/hdc
NOT
/dev/dhc

Also when I have done these, I remove ALL partitions The img file takes 
care of everything


But I am no eggspert

John Novack

I know this is not astlinux specific problem, it's rather my problem 
related to Linux...


if anybody can hint, if I am missing something? /dev/hdc is not mounted, 
has one type 83 partition, without filesystem (not formatted)



best
Zvi

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.




Checked by AVG - www.avg.com 
Version: 9.0.730 / Virus Database: 271.1.1/2635 - Release Date: 01/20/10 14:18:00


  


--
Dog is my co-pilot

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0

2010-01-21 Thread Matthew Nichols
Lonnie,

Out of interest, what should /etc/localtime look like, and is it a symlink?
Same for /etc/TZ?

Thanks

Matt

On Thu, Jan 21, 2010 at 5:23 AM, Lonnie Abelbeck
wrote:

> Matt,
>
> I appears you are using the web interface, in the Network tab -> "Network
> Time Settings:" what Timezone City did you choose?
>
> To test I chose "America/Los_Angeles" from the menu, then rebooted, and...
>
> pbx ~ # tail -n1 /etc/localtime
> PST8PDT,M3.2.0,M11.1.0
>
> which is used as TZ_TIMEZONE.
>
> There are a handful of cities around the world that TZ_TIMEZONE=$(tail -n1
> /etc/localtime) is not a part of the timezone data, for those users
> TZ_TIMEZONE must be set in "/mnt/kd/rc.conf.d/user.conf" (for web interface
> users, Network tab -> User System Variables: {Edit User Variables}) or
> "/mnt/kd/rc.conf" (if "/mnt/kd/rc.conf.d" does not exist)
>
> Matt, please revert your changes:
>
> $ rm /oldroot/mnt/asturw/etc/rc
>
> and give it another try.
>
> Lonnie
>
>
> On Jan 21, 2010, at 3:11 AM, Matthew Nichols wrote:
>
> > Hi,
> >
> > I had an issue with the local time on my astlinux box reporting in UTC
> > after the upgrade. Previously it was in PST/PDT. I read from the
> > release notes that TZ_TIMEZONE is no longer required, but I had
> > problems getting the timezone right.
> >
> > In the end this is what I had to do:
> >
> > 1. edit /etc/rc and comment out the following:
> >
> > #uclibc style TZ support
> >  #if [ -z "$TZ_TIMEZONE" -a -f /etc/localtime ]; then
> >  #  TZ_TIMEZONE=$(tail -n1 /etc/localtime)
> >  #fi
> >
> > What was happening here is that the env variable $TZ_TIMEZONE didn't
> > exist after a reboot, and because /etc/localtime points to a valid
> > file, I was getting the following set:
> > pbx ~ # tail -n1 /etc/localtime
> > ??eGY?e턠g';?g?f?i?i?H?j???k?e l?mvG n??oV) p??q65ԐV?: X?X? Y??Z??[޵\??
> > ]??^d? _?y`Mޠa???b-??cgw?d/??EDm?E?? G-?Gӵ I
> >  ro?s? tO?t?
> > ?v8??v??x??x?͠y???z???{?f?|~??}?H?~^s??*
> >
> >PDTPSTPWTPPTpbx ~ #
> >
> > 2. What I did was to write the file /mnt/kd/TZ with the following
> content:
> >
> > PST8PDT,M3.2.0/2,M11.1.0/2
> >
> > and then /etc/rc will copy /mnt/kd/TZ to /tmp/etc/TZ as per:
> >
> > if [ -n "$TZ_TIMEZONE" ]; then
> >echo "$TZ_TIMEZONE" > /tmp/etc/TZ
> >  elif [ -f /mnt/kd/TZ ]; then
> >cp /mnt/kd/TZ /tmp/etc/TZ
> >  elif [ -f /stat/etc/TZ ]; then
> >cp /stat/etc/TZ /tmp/etc/TZ
> >  fi
> >
> > 3. The last part was to put in symlink for /etc/TZ pointing to
> > /tmp/etc/TZ and I fixed the problem.
> >
> > Am I missing something here or is this problem with /etc/rc incorrect?
> > Having TZ_TIMEZONE in /mnt/kd/rc.local doesn't make any difference. Is
> > this a bug?
> >
> > Thanks
> >
> > Matt
> >
> >
> --
> > Throughout its 18-year history, RSA Conference consistently attracts the
> > world's best and brightest in the field, creating opportunities for
> Conference
> > attendees to learn about information security's most important issues
> through
> > interactions with peers, luminaries and emerging and established
> companies.
> > http://p.sf.net/sfu/rsaconf-dev2dev
> > ___
> > Astlinux-users mailing list
> > Astlinux-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/astlinux-users
> >
> > Donations to support AstLinux are graciously accepted via PayPal to
> pay...@krisk.org.
>
>
>
> --
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for
> Conference
> attendees to learn about information security's most important issues
> through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to
> pay...@krisk.org.
>
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Re: [Astlinux-users] AstLinux 0.7.0 fresh install..

2010-01-21 Thread Zviad Sulaberidze




yes, it was a typo, sorry :) I  am not  a linux beginner,  that's why I
was  confused, I used dd many times :)

John Novack wrote:

  
  
  
Zviad Sulaberidze wrote:
  
Hi,

sorry for my trivial question, I have MiniITX box with 512MB card in CF 
slot (hda) and just connected CF-IDE adapter with 4GB MicroDrive, where 
I want to install 0.7.0 (hdc). I downloaded .img file and made:

# dd if=astlinux-0.7.0-asterisk14.img of=/dev/dhc
which gives me:
dd: /dev/dhc: No space left on device


  
  
IS this a typo??
/dev/hdc
NOT
/dev/dhc
  
Also when I have done these, I remove ALL partitions The img file takes
care of everything
  
But I am no eggspert
  
John Novack
  
  
I know this is not astlinux specific problem, it's rather my problem 
related to Linux...

if anybody can hint, if I am missing something? /dev/hdc is not mounted, 
has one type 83 partition, without filesystem (not formatted)


best
Zvi

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.



Checked by AVG - www.avg.com 
Version: 9.0.730 / Virus Database: 271.1.1/2635 - Release Date: 01/20/10 14:18:00

  
  
  
  -- 
Dog is my co-pilot
  

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
  

___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.




--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0

2010-01-21 Thread Michael Keuter
>Lonnie,
>
>Out of interest, what should /etc/localtime look like, and is it a 
>symlink? Same for /etc/TZ?
>
>Thanks
>
>Matt

"/etc/localtime" is a symlink to "/tmp/etc/localtime" which is also a 
symlink to "/usr/share/zoneinfo/Europe/Berlin" in my case.

"/etc/TZ" does not exist (but I still have an /mnt/kd/TZ which may be 
left over from an old installation).

Michael

http://www.mksolutions.info

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0

2010-01-21 Thread Lonnie Abelbeck
Matt,

Yes, both /etc/localtime and /etc/TZ are symlinks.

Try...
--
$ find /oldroot/mnt/asturw/etc/
/oldroot/mnt/asturw/etc/
/oldroot/mnt/asturw/etc/blkid.tab
/oldroot/mnt/asturw/etc/shadow
/oldroot/mnt/asturw/etc/blkid.tab.old
/oldroot/mnt/asturw/etc/udev
/oldroot/mnt/asturw/etc/udev/rules.d
/oldroot/mnt/asturw/etc/udev/rules.d/70-persistent-net.rules
/oldroot/mnt/asturw/etc/shadow-
/oldroot/mnt/asturw/etc/rc.modules
--

If you have any more files than shown above, they probably should be removed.

Like what Tom stated:
http://doc.astlinux.org/userdoc:tt_editable_files

Lonnie



On Jan 21, 2010, at 11:26 AM, Matthew Nichols wrote:

> Lonnie,
> 
> Out of interest, what should /etc/localtime look like, and is it a symlink? 
> Same for /etc/TZ?
> 
> Thanks
> 
> Matt
> 
> On Thu, Jan 21, 2010 at 5:23 AM, Lonnie Abelbeck  
> wrote:
> Matt,
> 
> I appears you are using the web interface, in the Network tab -> "Network 
> Time Settings:" what Timezone City did you choose?
> 
> To test I chose "America/Los_Angeles" from the menu, then rebooted, and...
> 
> pbx ~ # tail -n1 /etc/localtime
> PST8PDT,M3.2.0,M11.1.0
> 
> which is used as TZ_TIMEZONE.
> 
> There are a handful of cities around the world that TZ_TIMEZONE=$(tail -n1 
> /etc/localtime) is not a part of the timezone data, for those users 
> TZ_TIMEZONE must be set in "/mnt/kd/rc.conf.d/user.conf" (for web interface 
> users, Network tab -> User System Variables: {Edit User Variables}) or 
> "/mnt/kd/rc.conf" (if "/mnt/kd/rc.conf.d" does not exist)
> 
> Matt, please revert your changes:
> 
> $ rm /oldroot/mnt/asturw/etc/rc
> 
> and give it another try.
> 
> Lonnie
> 
> 
> On Jan 21, 2010, at 3:11 AM, Matthew Nichols wrote:
> 
> > Hi,
> >
> > I had an issue with the local time on my astlinux box reporting in UTC
> > after the upgrade. Previously it was in PST/PDT. I read from the
> > release notes that TZ_TIMEZONE is no longer required, but I had
> > problems getting the timezone right.
> >
> > In the end this is what I had to do:
> >
> > 1. edit /etc/rc and comment out the following:
> >
> > #uclibc style TZ support
> >  #if [ -z "$TZ_TIMEZONE" -a -f /etc/localtime ]; then
> >  #  TZ_TIMEZONE=$(tail -n1 /etc/localtime)
> >  #fi
> >
> > What was happening here is that the env variable $TZ_TIMEZONE didn't
> > exist after a reboot, and because /etc/localtime points to a valid
> > file, I was getting the following set:
> > pbx ~ # tail -n1 /etc/localtime
> > ??eGY?e턠g';?g?f?i?i?H?j???k?e l?mvG n??oV) p??q65ԐV?: X?X? Y??Z??[޵\??
> > ]??^d? _?y`Mޠa???b-??cgw?d/??EDm?E?? G-?Gӵ I
> >  ro?s? tO?t?
> > ?v8??v??x??x?͠y???z???{?f?|~??}?H?~^s??*
> >
> >PDTPSTPWTPPTpbx ~ #
> >
> > 2. What I did was to write the file /mnt/kd/TZ with the following content:
> >
> > PST8PDT,M3.2.0/2,M11.1.0/2
> >
> > and then /etc/rc will copy /mnt/kd/TZ to /tmp/etc/TZ as per:
> >
> > if [ -n "$TZ_TIMEZONE" ]; then
> >echo "$TZ_TIMEZONE" > /tmp/etc/TZ
> >  elif [ -f /mnt/kd/TZ ]; then
> >cp /mnt/kd/TZ /tmp/etc/TZ
> >  elif [ -f /stat/etc/TZ ]; then
> >cp /stat/etc/TZ /tmp/etc/TZ
> >  fi
> >
> > 3. The last part was to put in symlink for /etc/TZ pointing to
> > /tmp/etc/TZ and I fixed the problem.
> >
> > Am I missing something here or is this problem with /etc/rc incorrect?
> > Having TZ_TIMEZONE in /mnt/kd/rc.local doesn't make any difference. Is
> > this a bug?
> >
> > Thanks
> >
> > Matt
> >
> > --
> > Throughout its 18-year history, RSA Conference consistently attracts the
> > world's best and brightest in the field, creating opportunities for 
> > Conference
> > attendees to learn about information security's most important issues 
> > through
> > interactions with peers, luminaries and emerging and established companies.
> > http://p.sf.net/sfu/rsaconf-dev2dev
> > ___
> > Astlinux-users mailing list
> > Astlinux-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/astlinux-users
> >
> > Donations to support AstLinux are graciously accepted via PayPal to 
> > pay...@krisk.org.
> 
> 
> --
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to 
> pay...@krisk.org.
> 
> 

Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0

2010-01-21 Thread Lonnie Abelbeck

On Jan 21, 2010, at 11:34 AM, Michael Keuter wrote:

>> Lonnie,
>> 
>> Out of interest, what should /etc/localtime look like, and is it a 
>> symlink? Same for /etc/TZ?
>> 
>> Thanks
>> 
>> Matt
> 
> "/etc/localtime" is a symlink to "/tmp/etc/localtime" which is also a 
> symlink to "/usr/share/zoneinfo/Europe/Berlin" in my case.
> 
> "/etc/TZ" does not exist (but I still have an /mnt/kd/TZ which may be 
> left over from an old installation).

Michael,

"/etc/TZ" should exist.

$ ls -l /etc/TZ
lrwxrwxrwx1 root root   11 Jan 21 07:20 /etc/TZ -> /tmp/etc/TZ

You probably don't want "/mnt/kd/TZ" anymore, it should be automatic. (though 
it still works)


Lonnie



> 
> Michael
> 
> http://www.mksolutions.info


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0

2010-01-21 Thread Michael Keuter
>On Jan 21, 2010, at 11:34 AM, Michael Keuter wrote:
>
>>>  Lonnie,
>>>
>>>  Out of interest, what should /etc/localtime look like, and is it a
>>>  symlink? Same for /etc/TZ?
>>>
>>>  Thanks
>>>
>>>  Matt
>>
>>  "/etc/localtime" is a symlink to "/tmp/etc/localtime" which is also a
>>  symlink to "/usr/share/zoneinfo/Europe/Berlin" in my case.
>>
>>  "/etc/TZ" does not exist (but I still have an /mnt/kd/TZ which may be
>>  left over from an old installation).
>
>Michael,
>
>"/etc/TZ" should exist.
>
>$ ls -l /etc/TZ
>lrwxrwxrwx1 root root   11 Jan 21 07:20 /etc/TZ -> /tmp/etc/TZ
>
>You probably don't want "/mnt/kd/TZ" anymore, it should be 
>automatic. (though it still works)
>
>Lonnie

Yes, I did not look correctly (capital letters :-)). It indeed does 
exist as say.

Michael

http://www.mksolutions.info

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] [Astlinux-devel] AstLinux 0.7.0 Released

2010-01-21 Thread Philip A. Prindeville
The builtin NIC's should *always* be 0..N, and the fact that they weren't was a 
bug in the previous versions.


On 01/21/2010 03:31 AM, Tom Chadwin wrote:
> Just to confirm: prior to the upgrade, the NICs were:
>
> eth0  Berofix
> eth1  INTIF
> eth2  EXTIF
> br0   eth0 eth1
>
> After upgrading to 0.7, they were:
>
> eth0  INTIF
> eth1  EXTIF
> eth4  Berofix
> br0   eth0 eth1
>
> So, changing the bridge to eth0 eth4, and changing EXTIF to eth1 got
> everything back up and running. Has anyone else seen this behaviour, if they
> have NICs using different drivers? Just wondering whether/how to document
> this.
>
> Anyway, thanks again, everyone. Not a totally smooth upgrade, but all is
> well now.
>
> Tom
>
>
>   
>> -Original Message-
>> From: Lonnie Abelbeck [mailto:li...@lonnie.abelbeck.com] 
>> Sent: 20 January 2010 22:30
>> To: AstLinux Users Mailing List
>> Subject: Re: [Astlinux-users] [Astlinux-devel] AstLinux 0.7.0 Released
>>
>>
>> On Jan 20, 2010, at 3:34 PM, Michael Keuter wrote:
>>
>> 
 The problem: the Berofix has disappeared, so all my trunk 
 
>> calls are 
>> 
 down. In addition, because the Berofix was eth0, my interfaces are 
 possibly now misnumbered, and IAX2 calls seem not to get through. 
 Oddly (and thankfully) I seem to be able to SSH to INTIF, though.

 Can anyone help me to work out what has gone wrong?

 Tom
 
>>> Tom,
>>>
>>> look into "/etc/rc.modules" and
>>> "/etc/udev/rules.d/70-persistent-net.rules". You can change 
>>>   
>> the "ethX" 
>> 
>>> assignment values in the latter file. I used the Bero*fix 
>>>   
>> as "eth4" in 
>> 
>>> my installations, and made a bridge to "eth0" or eth1"
>>> depending on the usage.
>>>   
>> Tom,
>>
>> Michael's suggestion is on target.
>>
>> The file "/etc/udev/rules.d/70-persistent-net.rules" is new 
>> to 0.7, which makes ethX interface names 'sticky' by MAC address.
>>
>> A nice feature, but note that if you replace PCI cards or 
>> move the CF card to another box, it's probably easiest to 
>> remove this file before moving the CF card.  If 
>> "/etc/udev/rules.d/70-persistent-net.rules" does not exist on 
>> first boot, it will be automatically created.
>>
>> BTW: Both files Michael suggested editing are available via 
>> the Edit tab.
>>
>> Lonnie
>> 


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0

2010-01-21 Thread Matthew Nichols
OK so I have performed these steps, and I still have problems.

>From /etc/rc,
#uclibc style TZ support
  if [ -z "$TZ_TIMEZONE" -a -f /etc/localtime ]; then
TZ_TIMEZONE=$(tail -n1 /etc/localtime)
  fi
  if [ -n "$TZ_TIMEZONE" ]; then
echo "$TZ_TIMEZONE" > /tmp/etc/TZ
  elif [ -f /mnt/kd/TZ ]; then
cp /mnt/kd/TZ /tmp/etc/TZ
  elif [ -f /stat/etc/TZ ]; then
cp /stat/etc/TZ /tmp/etc/TZ
  fi

/etc/localtime points to a binary file, so i cannot see how it gets the
value PST8PDT from /usr/share/zoneinfo/America/Los_Angeles

I have defaulted everything back and it still does not seem to work
correctly.

Matt



On Thu, Jan 21, 2010 at 9:36 AM, Lonnie Abelbeck
wrote:

> Matt,
>
> Yes, both /etc/localtime and /etc/TZ are symlinks.
>
> Try...
> --
> $ find /oldroot/mnt/asturw/etc/
> /oldroot/mnt/asturw/etc/
> /oldroot/mnt/asturw/etc/blkid.tab
> /oldroot/mnt/asturw/etc/shadow
> /oldroot/mnt/asturw/etc/blkid.tab.old
> /oldroot/mnt/asturw/etc/udev
> /oldroot/mnt/asturw/etc/udev/rules.d
> /oldroot/mnt/asturw/etc/udev/rules.d/70-persistent-net.rules
> /oldroot/mnt/asturw/etc/shadow-
> /oldroot/mnt/asturw/etc/rc.modules
> --
>
> If you have any more files than shown above, they probably should be
> removed.
>
> Like what Tom stated:
> http://doc.astlinux.org/userdoc:tt_editable_files
>
> Lonnie
>
>
>
> On Jan 21, 2010, at 11:26 AM, Matthew Nichols wrote:
>
> > Lonnie,
> >
> > Out of interest, what should /etc/localtime look like, and is it a
> symlink? Same for /etc/TZ?
> >
> > Thanks
> >
> > Matt
> >
> > On Thu, Jan 21, 2010 at 5:23 AM, Lonnie Abelbeck <
> li...@lonnie.abelbeck.com> wrote:
> > Matt,
> >
> > I appears you are using the web interface, in the Network tab -> "Network
> Time Settings:" what Timezone City did you choose?
> >
> > To test I chose "America/Los_Angeles" from the menu, then rebooted,
> and...
> >
> > pbx ~ # tail -n1 /etc/localtime
> > PST8PDT,M3.2.0,M11.1.0
> >
> > which is used as TZ_TIMEZONE.
> >
> > There are a handful of cities around the world that TZ_TIMEZONE=$(tail
> -n1 /etc/localtime) is not a part of the timezone data, for those users
> TZ_TIMEZONE must be set in "/mnt/kd/rc.conf.d/user.conf" (for web interface
> users, Network tab -> User System Variables: {Edit User Variables}) or
> "/mnt/kd/rc.conf" (if "/mnt/kd/rc.conf.d" does not exist)
> >
> > Matt, please revert your changes:
> >
> > $ rm /oldroot/mnt/asturw/etc/rc
> >
> > and give it another try.
> >
> > Lonnie
> >
> >
> > On Jan 21, 2010, at 3:11 AM, Matthew Nichols wrote:
> >
> > > Hi,
> > >
> > > I had an issue with the local time on my astlinux box reporting in UTC
> > > after the upgrade. Previously it was in PST/PDT. I read from the
> > > release notes that TZ_TIMEZONE is no longer required, but I had
> > > problems getting the timezone right.
> > >
> > > In the end this is what I had to do:
> > >
> > > 1. edit /etc/rc and comment out the following:
> > >
> > > #uclibc style TZ support
> > >  #if [ -z "$TZ_TIMEZONE" -a -f /etc/localtime ]; then
> > >  #  TZ_TIMEZONE=$(tail -n1 /etc/localtime)
> > >  #fi
> > >
> > > What was happening here is that the env variable $TZ_TIMEZONE didn't
> > > exist after a reboot, and because /etc/localtime points to a valid
> > > file, I was getting the following set:
> > > pbx ~ # tail -n1 /etc/localtime
> > > ??eGY?e턠g';?g?f?i?i?H?j???k?e l?mvG n??oV) p??q65ԐV?: X?X? Y??Z??[޵\??
> > > ]??^d? _?y`Mޠa???b-??cgw?d/??EDm?E?? G-?Gӵ I
> > >  ro?s? tO?t?
> > > ?v8??v??x??x?͠y???z???{?f?|~??}?H?~^s??*
> > >
> > >PDTPSTPWTPPTpbx ~ #
> > >
> > > 2. What I did was to write the file /mnt/kd/TZ with the following
> content:
> > >
> > > PST8PDT,M3.2.0/2,M11.1.0/2
> > >
> > > and then /etc/rc will copy /mnt/kd/TZ to /tmp/etc/TZ as per:
> > >
> > > if [ -n "$TZ_TIMEZONE" ]; then
> > >echo "$TZ_TIMEZONE" > /tmp/etc/TZ
> > >  elif [ -f /mnt/kd/TZ ]; then
> > >cp /mnt/kd/TZ /tmp/etc/TZ
> > >  elif [ -f /stat/etc/TZ ]; then
> > >cp /stat/etc/TZ /tmp/etc/TZ
> > >  fi
> > >
> > > 3. The last part was to put in symlink for /etc/TZ pointing to
> > > /tmp/etc/TZ and I fixed the problem.
> > >
> > > Am I missing something here or is this problem with /etc/rc incorrect?
> > > Having TZ_TIMEZONE in /mnt/kd/rc.local doesn't make any difference. Is
> > > this a bug?
> > >
> > > Thanks
> > >
> > > Matt
> > >
> > >
> --
> > > Throughout its 18-year history, RSA Conference consistently attracts
> the
> > > world's best and brightest in the field, creating opportunities for
> Conference
> > > attendees to learn about information security's most important issues
> through
> > > interactions with peers, luminaries and emerging and established
> companies.
> > > http://p.sf.net/sfu/rsaconf-dev2dev
> > > ___
> > > Astlinux-users mailing list
> > > Astlinux-users@lists.sour

Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0

2010-01-21 Thread Philip A. Prindeville
Let's start with something simple.

What timezone are you in, and what's the value of $TZ_TIMEZONE?


On 01/21/2010 12:11 PM, Matthew Nichols wrote:
> OK so I have performed these steps, and I still have problems.
>
> From /etc/rc,
> #uclibc style TZ support
>   if [ -z "$TZ_TIMEZONE" -a -f /etc/localtime ]; then
> TZ_TIMEZONE=$(tail -n1 /etc/localtime)
>   fi
>   if [ -n "$TZ_TIMEZONE" ]; then
> echo "$TZ_TIMEZONE" > /tmp/etc/TZ
>   elif [ -f /mnt/kd/TZ ]; then
> cp /mnt/kd/TZ /tmp/etc/TZ  
>   elif [ -f /stat/etc/TZ ]; then
> cp /stat/etc/TZ /tmp/etc/TZ
>   fi
>
> /etc/localtime points to a binary file, so i cannot see how it gets the value 
> PST8PDT from /usr/share/zoneinfo/America/Los_Angeles
>
> I have defaulted everything back and it still does not seem to work correctly.
>
> Matt
>


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0

2010-01-21 Thread Matthew Nichols
I am in California

The value of TZ_TIMEZONE after a reboot of the Soekris is the value of
'tail -n1 /etc/localtime'

ie

?)?Ϡ*?b+???,?~?-???.?`?/~u?0?B?1g? 2s$?3Gt 4S?5'V 62?78 88? 9??:??
;?...@oܠa???bo??cd??d/??EDm?E??
G??eGY?e턠g';?g?f?i?i?H?j???k?e l?mvG n??oV) p??q65ԐV?: X?X? Y??Z??
[޵\?? ]??^d? _?y`Mޠa???b-??cgw?d
  ro?s?
tO?t?   ?v8??v??x??x?͠y???z???{?f?|~??}?H?~^s??*
PDTPSTPWTPPT



On Thu, Jan 21, 2010 at 1:03 PM, Philip A. Prindeville
 wrote:
> Let's start with something simple.
>
> What timezone are you in, and what's the value of $TZ_TIMEZONE?
>
>
> On 01/21/2010 12:11 PM, Matthew Nichols wrote:
>> OK so I have performed these steps, and I still have problems.
>>
>> From /etc/rc,
>> #uclibc style TZ support
>>   if [ -z "$TZ_TIMEZONE" -a -f /etc/localtime ]; then
>>     TZ_TIMEZONE=$(tail -n1 /etc/localtime)
>>   fi
>>   if [ -n "$TZ_TIMEZONE" ]; then
>>     echo "$TZ_TIMEZONE" > /tmp/etc/TZ
>>   elif [ -f /mnt/kd/TZ ]; then
>>     cp /mnt/kd/TZ /tmp/etc/TZ
>>   elif [ -f /stat/etc/TZ ]; then
>>     cp /stat/etc/TZ /tmp/etc/TZ
>>   fi
>>
>> /etc/localtime points to a binary file, so i cannot see how it gets the 
>> value PST8PDT from /usr/share/zoneinfo/America/Los_Angeles
>>
>> I have defaulted everything back and it still does not seem to work 
>> correctly.
>>
>> Matt
>>
>
>
> --
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to 
> pay...@krisk.org.
>

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0

2010-01-21 Thread Lonnie Abelbeck
Matt,

I'll ask again...

In the Network tab -> "Network Time Settings:" what Timezone City did you 
choose?

To test I chose "America/Los_Angeles" from the menu, then rebooted, and...

pbx ~ # tail -n1 /etc/localtime
PST8PDT,M3.2.0,M11.1.0

Is the output of...
$ find /oldroot/mnt/asturw/etc/

as expected, from my previous post?

Lonnie



On Jan 21, 2010, at 3:17 PM, Matthew Nichols wrote:

> I am in California
> 
> The value of TZ_TIMEZONE after a reboot of the Soekris is the value of
> 'tail -n1 /etc/localtime'
> 
> ie
> 
> ?)?Ϡ*?b+???,?~?-???.?`?/~u?0?B?1g? 2s$?3Gt 4S?5'V 62?78 88? 9??:??
> ;?...@oܠa???bo??cd??d/??EDm?E??
> G??eGY?e턠g';?g?f?i?i?H?j???k?e l?mvG n??oV) p??q65ԐV?: X?X? Y??Z??
> [޵\?? ]??^d? _?y`Mޠa???b-??cgw?d
>  ro?s?
> tO?t? ?v8??v??x??x?͠y???z???{?f?|~??}?H?~^s??*
>PDTPSTPWTPPT
> 
> 
> 
> On Thu, Jan 21, 2010 at 1:03 PM, Philip A. Prindeville
>  wrote:
>> Let's start with something simple.
>> 
>> What timezone are you in, and what's the value of $TZ_TIMEZONE?
>> 
>> 
>> On 01/21/2010 12:11 PM, Matthew Nichols wrote:
>>> OK so I have performed these steps, and I still have problems.
>>> 
>>> From /etc/rc,
>>> #uclibc style TZ support
>>>   if [ -z "$TZ_TIMEZONE" -a -f /etc/localtime ]; then
>>> TZ_TIMEZONE=$(tail -n1 /etc/localtime)
>>>   fi
>>>   if [ -n "$TZ_TIMEZONE" ]; then
>>> echo "$TZ_TIMEZONE" > /tmp/etc/TZ
>>>   elif [ -f /mnt/kd/TZ ]; then
>>> cp /mnt/kd/TZ /tmp/etc/TZ
>>>   elif [ -f /stat/etc/TZ ]; then
>>> cp /stat/etc/TZ /tmp/etc/TZ
>>>   fi
>>> 
>>> /etc/localtime points to a binary file, so i cannot see how it gets the 
>>> value PST8PDT from /usr/share/zoneinfo/America/Los_Angeles
>>> 
>>> I have defaulted everything back and it still does not seem to work 
>>> correctly.
>>> 
>>> Matt
>>> 
>> 
>> 
>> --
>> Throughout its 18-year history, RSA Conference consistently attracts the
>> world's best and brightest in the field, creating opportunities for 
>> Conference
>> attendees to learn about information security's most important issues through
>> interactions with peers, luminaries and emerging and established companies.
>> http://p.sf.net/sfu/rsaconf-dev2dev
>> ___
>> Astlinux-users mailing list
>> Astlinux-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>> 
>> Donations to support AstLinux are graciously accepted via PayPal to 
>> pay...@krisk.org.
>> 
> 
> --
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to 
> pay...@krisk.org.


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0

2010-01-21 Thread Lonnie Abelbeck
Matt,

I have another test for you...

Does...
$ find /oldroot/mnt/asturw/usr/share/zoneinfo/

return anything?

If so, remove the stale unionfs overlay for the TZ data, and reboot.

$ rm -r /oldroot/mnt/asturw/usr/share/zoneinfo/

Lonnie


On Jan 21, 2010, at 3:43 PM, Lonnie Abelbeck wrote:

> Matt,
> 
> I'll ask again...
> 
> In the Network tab -> "Network Time Settings:" what Timezone City did you 
> choose?
> 
> To test I chose "America/Los_Angeles" from the menu, then rebooted, and...
> 
> pbx ~ # tail -n1 /etc/localtime
> PST8PDT,M3.2.0,M11.1.0
> 
> Is the output of...
> $ find /oldroot/mnt/asturw/etc/
> 
> as expected, from my previous post?
> 
> Lonnie
> 
> 
> 
> On Jan 21, 2010, at 3:17 PM, Matthew Nichols wrote:
> 
>> I am in California
>> 
>> The value of TZ_TIMEZONE after a reboot of the Soekris is the value of
>> 'tail -n1 /etc/localtime'
>> 
>> ie
>> 
>> ?)?Ϡ*?b+???,?~?-???.?`?/~u?0?B?1g? 2s$?3Gt 4S?5'V 62?78 88? 9??:??
>> ;?...@oܠa???bo??cd??d/??EDm?E??
>> G??eGY?e턠g';?g?f?i?i?H?j???k?e l?mvG n??oV) p??q65ԐV?: X?X? Y??Z??
>> [޵\?? ]??^d? _?y`Mޠa???b-??cgw?d
>> ro?s?
>> tO?t??v8??v??x??x?͠y???z???{?f?|~??}?H?~^s??*
>>   PDTPSTPWTPPT
>> 
>> 
>> 
>> On Thu, Jan 21, 2010 at 1:03 PM, Philip A. Prindeville
>>  wrote:
>>> Let's start with something simple.
>>> 
>>> What timezone are you in, and what's the value of $TZ_TIMEZONE?
>>> 
>>> 
>>> On 01/21/2010 12:11 PM, Matthew Nichols wrote:
 OK so I have performed these steps, and I still have problems.
 
 From /etc/rc,
 #uclibc style TZ support
  if [ -z "$TZ_TIMEZONE" -a -f /etc/localtime ]; then
TZ_TIMEZONE=$(tail -n1 /etc/localtime)
  fi
  if [ -n "$TZ_TIMEZONE" ]; then
echo "$TZ_TIMEZONE" > /tmp/etc/TZ
  elif [ -f /mnt/kd/TZ ]; then
cp /mnt/kd/TZ /tmp/etc/TZ
  elif [ -f /stat/etc/TZ ]; then
cp /stat/etc/TZ /tmp/etc/TZ
  fi
 
 /etc/localtime points to a binary file, so i cannot see how it gets the 
 value PST8PDT from /usr/share/zoneinfo/America/Los_Angeles
 
 I have defaulted everything back and it still does not seem to work 
 correctly.
 
 Matt
 
>>> 
>>> 
>>> --
>>> Throughout its 18-year history, RSA Conference consistently attracts the
>>> world's best and brightest in the field, creating opportunities for 
>>> Conference
>>> attendees to learn about information security's most important issues 
>>> through
>>> interactions with peers, luminaries and emerging and established companies.
>>> http://p.sf.net/sfu/rsaconf-dev2dev
>>> ___
>>> Astlinux-users mailing list
>>> Astlinux-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>>> 
>>> Donations to support AstLinux are graciously accepted via PayPal to 
>>> pay...@krisk.org.
>>> 
>> 
>> --
>> Throughout its 18-year history, RSA Conference consistently attracts the
>> world's best and brightest in the field, creating opportunities for 
>> Conference
>> attendees to learn about information security's most important issues through
>> interactions with peers, luminaries and emerging and established companies.
>> http://p.sf.net/sfu/rsaconf-dev2dev
>> ___
>> Astlinux-users mailing list
>> Astlinux-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>> 
>> Donations to support AstLinux are graciously accepted via PayPal to 
>> pay...@krisk.org.
> 
> 
> --
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to 
> pay...@krisk.org.


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net

Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0

2010-01-21 Thread Matthew Nichols
Lonnie,

That did find alot of info. I have removed it and will reboot.

Thanks

Matt

On Thu, Jan 21, 2010 at 1:54 PM, Lonnie Abelbeck
 wrote:
> Matt,
>
> I have another test for you...
>
> Does...
> $ find /oldroot/mnt/asturw/usr/share/zoneinfo/
>
> return anything?
>
> If so, remove the stale unionfs overlay for the TZ data, and reboot.
>
> $ rm -r /oldroot/mnt/asturw/usr/share/zoneinfo/
>
> Lonnie
>
>
> On Jan 21, 2010, at 3:43 PM, Lonnie Abelbeck wrote:
>
>> Matt,
>>
>> I'll ask again...
>>
>> In the Network tab -> "Network Time Settings:" what Timezone City did you 
>> choose?
>>
>> To test I chose "America/Los_Angeles" from the menu, then rebooted, and...
>>
>> pbx ~ # tail -n1 /etc/localtime
>> PST8PDT,M3.2.0,M11.1.0
>>
>> Is the output of...
>> $ find /oldroot/mnt/asturw/etc/
>>
>> as expected, from my previous post?
>>
>> Lonnie
>>
>>
>>
>> On Jan 21, 2010, at 3:17 PM, Matthew Nichols wrote:
>>
>>> I am in California
>>>
>>> The value of TZ_TIMEZONE after a reboot of the Soekris is the value of
>>> 'tail -n1 /etc/localtime'
>>>
>>> ie
>>>
>>> ?)?Ϡ*?b+???,?~?-???.?`?/~u?0?B?1g? 2s$?3Gt 4S?5'V 62?78 88? 9??:??
>>> ;?...@oܠa???bo??cd??d/??EDm?E??
>>> G??eGY?e턠g';?g?f?i?i?H?j???k?e l?mvG n??oV) p??q65ԐV?: X?X? Y??Z??
>>> [޵\?? ]??^d? _?y`Mޠa???b-??cgw?d
>>>                                                 ro?s?
>>> tO?t?        ?v8??v??x??x?͠y???z???{?f?|~??}?H?~^s??*
>>>       PDTPSTPWTPPT
>>>
>>>
>>>
>>> On Thu, Jan 21, 2010 at 1:03 PM, Philip A. Prindeville
>>>  wrote:
 Let's start with something simple.

 What timezone are you in, and what's the value of $TZ_TIMEZONE?


 On 01/21/2010 12:11 PM, Matthew Nichols wrote:
> OK so I have performed these steps, and I still have problems.
>
> From /etc/rc,
> #uclibc style TZ support
>  if [ -z "$TZ_TIMEZONE" -a -f /etc/localtime ]; then
>    TZ_TIMEZONE=$(tail -n1 /etc/localtime)
>  fi
>  if [ -n "$TZ_TIMEZONE" ]; then
>    echo "$TZ_TIMEZONE" > /tmp/etc/TZ
>  elif [ -f /mnt/kd/TZ ]; then
>    cp /mnt/kd/TZ /tmp/etc/TZ
>  elif [ -f /stat/etc/TZ ]; then
>    cp /stat/etc/TZ /tmp/etc/TZ
>  fi
>
> /etc/localtime points to a binary file, so i cannot see how it gets the 
> value PST8PDT from /usr/share/zoneinfo/America/Los_Angeles
>
> I have defaulted everything back and it still does not seem to work 
> correctly.
>
> Matt
>


 --
 Throughout its 18-year history, RSA Conference consistently attracts the
 world's best and brightest in the field, creating opportunities for 
 Conference
 attendees to learn about information security's most important issues 
 through
 interactions with peers, luminaries and emerging and established companies.
 http://p.sf.net/sfu/rsaconf-dev2dev
 ___
 Astlinux-users mailing list
 Astlinux-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/astlinux-users

 Donations to support AstLinux are graciously accepted via PayPal to 
 pay...@krisk.org.

>>>
>>> --
>>> Throughout its 18-year history, RSA Conference consistently attracts the
>>> world's best and brightest in the field, creating opportunities for 
>>> Conference
>>> attendees to learn about information security's most important issues 
>>> through
>>> interactions with peers, luminaries and emerging and established companies.
>>> http://p.sf.net/sfu/rsaconf-dev2dev
>>> ___
>>> Astlinux-users mailing list
>>> Astlinux-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>>>
>>> Donations to support AstLinux are graciously accepted via PayPal to 
>>> pay...@krisk.org.
>>
>>
>> --
>> Throughout its 18-year history, RSA Conference consistently attracts the
>> world's best and brightest in the field, creating opportunities for 
>> Conference
>> attendees to learn about information security's most important issues through
>> interactions with peers, luminaries and emerging and established companies.
>> http://p.sf.net/sfu/rsaconf-dev2dev
>> ___
>> Astlinux-users mailing list
>> Astlinux-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>>
>> Donations to support AstLinux are graciously accepted via PayPal to 
>> pay...@krisk.org.
>
>
> --
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most impo

Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0

2010-01-21 Thread Matthew Nichols
Hi Lonnie,

that has fixed the issue:

pbx ~ # date
Thu Jan 21 13:59:53 PST 2010
pbx ~ # cat /etc/TZ
PST8PDT,M3.2.0,M11.1.0
pbx ~ #

Thanks for that. Is there any way to clean up this leftover unionfs stuff?

Thanks

Matt

On Thu, Jan 21, 2010 at 1:57 PM, Matthew Nichols  wrote:
> Lonnie,
>
> That did find alot of info. I have removed it and will reboot.
>
> Thanks
>
> Matt
>
> On Thu, Jan 21, 2010 at 1:54 PM, Lonnie Abelbeck
>  wrote:
>> Matt,
>>
>> I have another test for you...
>>
>> Does...
>> $ find /oldroot/mnt/asturw/usr/share/zoneinfo/
>>
>> return anything?
>>
>> If so, remove the stale unionfs overlay for the TZ data, and reboot.
>>
>> $ rm -r /oldroot/mnt/asturw/usr/share/zoneinfo/
>>
>> Lonnie
>>
>>
>> On Jan 21, 2010, at 3:43 PM, Lonnie Abelbeck wrote:
>>
>>> Matt,
>>>
>>> I'll ask again...
>>>
>>> In the Network tab -> "Network Time Settings:" what Timezone City did you 
>>> choose?
>>>
>>> To test I chose "America/Los_Angeles" from the menu, then rebooted, and...
>>>
>>> pbx ~ # tail -n1 /etc/localtime
>>> PST8PDT,M3.2.0,M11.1.0
>>>
>>> Is the output of...
>>> $ find /oldroot/mnt/asturw/etc/
>>>
>>> as expected, from my previous post?
>>>
>>> Lonnie
>>>
>>>
>>>
>>> On Jan 21, 2010, at 3:17 PM, Matthew Nichols wrote:
>>>
 I am in California

 The value of TZ_TIMEZONE after a reboot of the Soekris is the value of
 'tail -n1 /etc/localtime'

 ie

 ?)?Ϡ*?b+???,?~?-???.?`?/~u?0?B?1g? 2s$?3Gt 4S?5'V 62?78 88? 9??:??
 ;?...@oܠa???bo??cd??d/??EDm?E??
 G??eGY?e턠g';?g?f?i?i?H?j???k?e l?mvG n??oV) p??q65ԐV?: X?X? Y??Z??
 [޵\?? ]??^d? _?y`Mޠa???b-??cgw?d
                                                 ro?s?
 tO?t?        ?v8??v??x??x?͠y???z???{?f?|~??}?H?~^s??*
       PDTPSTPWTPPT



 On Thu, Jan 21, 2010 at 1:03 PM, Philip A. Prindeville
  wrote:
> Let's start with something simple.
>
> What timezone are you in, and what's the value of $TZ_TIMEZONE?
>
>
> On 01/21/2010 12:11 PM, Matthew Nichols wrote:
>> OK so I have performed these steps, and I still have problems.
>>
>> From /etc/rc,
>> #uclibc style TZ support
>>  if [ -z "$TZ_TIMEZONE" -a -f /etc/localtime ]; then
>>    TZ_TIMEZONE=$(tail -n1 /etc/localtime)
>>  fi
>>  if [ -n "$TZ_TIMEZONE" ]; then
>>    echo "$TZ_TIMEZONE" > /tmp/etc/TZ
>>  elif [ -f /mnt/kd/TZ ]; then
>>    cp /mnt/kd/TZ /tmp/etc/TZ
>>  elif [ -f /stat/etc/TZ ]; then
>>    cp /stat/etc/TZ /tmp/etc/TZ
>>  fi
>>
>> /etc/localtime points to a binary file, so i cannot see how it gets the 
>> value PST8PDT from /usr/share/zoneinfo/America/Los_Angeles
>>
>> I have defaulted everything back and it still does not seem to work 
>> correctly.
>>
>> Matt
>>
>
>
> --
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for 
> Conference
> attendees to learn about information security's most important issues 
> through
> interactions with peers, luminaries and emerging and established 
> companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to 
> pay...@krisk.org.
>

 --
 Throughout its 18-year history, RSA Conference consistently attracts the
 world's best and brightest in the field, creating opportunities for 
 Conference
 attendees to learn about information security's most important issues 
 through
 interactions with peers, luminaries and emerging and established companies.
 http://p.sf.net/sfu/rsaconf-dev2dev
 ___
 Astlinux-users mailing list
 Astlinux-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/astlinux-users

 Donations to support AstLinux are graciously accepted via PayPal to 
 pay...@krisk.org.
>>>
>>>
>>> --
>>> Throughout its 18-year history, RSA Conference consistently attracts the
>>> world's best and brightest in the field, creating opportunities for 
>>> Conference
>>> attendees to learn about information security's most important issues 
>>> through
>>> interactions with peers, luminaries and emerging and established companies.
>>> http://p.sf.net/sfu/rsaconf-dev2dev
>>> ___
>>> Astlinux-users mailing list
>>> Astlinux-users@lists.sourceforge.net
>>> https://list

Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0

2010-01-21 Thread Lonnie Abelbeck

On Jan 21, 2010, at 4:01 PM, Matthew Nichols wrote:

> Hi Lonnie,
> 
> that has fixed the issue:
> 
> pbx ~ # date
> Thu Jan 21 13:59:53 PST 2010
> pbx ~ # cat /etc/TZ
> PST8PDT,M3.2.0,M11.1.0
> pbx ~ #
> 
> Thanks for that. Is there any way to clean up this leftover unionfs stuff?
> 
> Thanks
> 
> Matt

Well Matt, I suspect you put those files there. :-)  It may be long enough ago 
you forgot about them.

To look for stale 'cruft', try...

$ find /oldroot/mnt/asturw/ | grep -v '/oldroot/mnt/asturw/mnt/kd'

You should not get too much more than the following...
--
/oldroot/mnt/asturw/
/oldroot/mnt/asturw/lost+found
/oldroot/mnt/asturw/etc
/oldroot/mnt/asturw/etc/blkid.tab
/oldroot/mnt/asturw/etc/shadow
/oldroot/mnt/asturw/etc/blkid.tab.old
/oldroot/mnt/asturw/etc/udev
/oldroot/mnt/asturw/etc/udev/rules.d
/oldroot/mnt/asturw/etc/udev/rules.d/70-persistent-net.rules
/oldroot/mnt/asturw/etc/shadow-
/oldroot/mnt/asturw/etc/rc.modules
/oldroot/mnt/asturw/stat
/oldroot/mnt/asturw/stat/var
/oldroot/mnt/asturw/stat/var/www
/oldroot/mnt/asturw/stat/var/www/admin
/oldroot/mnt/asturw/stat/var/www/admin/.htpasswd
---

Do some cleanup if necessary.

Years ago you may of needed to manually update the 'zoneinfo data' before there 
was a new version of AstLinux available, and in the past the upgrade process 
was somewhat painful.

But today, Darrick regularly puts out new versions, and the upgrade process is 
straightforward via the repository.

In the future, there should be no reason to manually overlay data over the 
shipping filesystem.

Glad all is good.

Lonnie





--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0

2010-01-21 Thread Matthew Nichols
I don't recall putting these files there, but I have been using
astlinux for quite a while, since 0.4 days. I have never knowingly
installed anything other than the official astlinux distributions on
this box.

Anyhow

Thanks for the help

Matt

On Thu, Jan 21, 2010 at 2:33 PM, Lonnie Abelbeck
 wrote:
>
> On Jan 21, 2010, at 4:01 PM, Matthew Nichols wrote:
>
>> Hi Lonnie,
>>
>> that has fixed the issue:
>>
>> pbx ~ # date
>> Thu Jan 21 13:59:53 PST 2010
>> pbx ~ # cat /etc/TZ
>> PST8PDT,M3.2.0,M11.1.0
>> pbx ~ #
>>
>> Thanks for that. Is there any way to clean up this leftover unionfs stuff?
>>
>> Thanks
>>
>> Matt
>
> Well Matt, I suspect you put those files there. :-)  It may be long enough 
> ago you forgot about them.
>
> To look for stale 'cruft', try...
>
> $ find /oldroot/mnt/asturw/ | grep -v '/oldroot/mnt/asturw/mnt/kd'
>
> You should not get too much more than the following...
> --
> /oldroot/mnt/asturw/
> /oldroot/mnt/asturw/lost+found
> /oldroot/mnt/asturw/etc
> /oldroot/mnt/asturw/etc/blkid.tab
> /oldroot/mnt/asturw/etc/shadow
> /oldroot/mnt/asturw/etc/blkid.tab.old
> /oldroot/mnt/asturw/etc/udev
> /oldroot/mnt/asturw/etc/udev/rules.d
> /oldroot/mnt/asturw/etc/udev/rules.d/70-persistent-net.rules
> /oldroot/mnt/asturw/etc/shadow-
> /oldroot/mnt/asturw/etc/rc.modules
> /oldroot/mnt/asturw/stat
> /oldroot/mnt/asturw/stat/var
> /oldroot/mnt/asturw/stat/var/www
> /oldroot/mnt/asturw/stat/var/www/admin
> /oldroot/mnt/asturw/stat/var/www/admin/.htpasswd
> ---
>
> Do some cleanup if necessary.
>
> Years ago you may of needed to manually update the 'zoneinfo data' before 
> there was a new version of AstLinux available, and in the past the upgrade 
> process was somewhat painful.
>
> But today, Darrick regularly puts out new versions, and the upgrade process 
> is straightforward via the repository.
>
> In the future, there should be no reason to manually overlay data over the 
> shipping filesystem.
>
> Glad all is good.
>
> Lonnie
>
>
>
>
>
> --
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to 
> pay...@krisk.org.
>

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.