Re: [Astlinux-users] how to save SSH keys on reboot?

2010-02-19 Thread Chris Abnett
Im not sure what you mean by "sanitize" my scripts..  im using the aastras
for hospitality front desk phones..  so I have simple XML routines for
setting call restrictions, turning on message lights in rooms, setting
wakeup calls, etc
-Christopher

-Original Message-
From: Darrick Hartman [mailto:dhart...@djhsolutions.com] 
Sent: Wednesday, February 17, 2010 1:09 PM
To: astlinux-users@lists.sourceforge.net
Subject: Re: [Astlinux-users] how to save SSH keys on reboot?

Chris,

I don't use the gui to do the initial install on any of my systems. 
There is no reason why you should need to use the gui to get this working.

Using php with mini-httpd can be a little tricky.  You may need a 
php.ini file in the same directory as your .php files and the .php files 
need to be executable.

In any case, the gui does nothing if you don't interact with it (so to 
answer your question, it would use no additional resources).

Out of curiosity, what sort of things are you doing with the Aastra?  I 
would love to see if you could sanitize and share your scripts.

Darrick

On 02/17/2010 09:31 AM, Chris Abnett wrote:
> Update: I got up and running and all is good..  I built 3791 and could
never
> get going 100% using the command line..  I ended up having to install
> Lonnie's GUI and use it to get everything at 100%
>
> Without lonnie's gui installed my mini_httpd would segfault when trying to
> use it with PHP.I need http port 80 with php for the XML menus on my
Aastra
> 57i phones).
>   I tried all kinds of things and never got it to work from the
commandline
> Finally I started again and used the gui to configure the box and
everything
> seems to be working great...
>
> I am assuming the gui uses no resources when im not logged into it?
>
> -Christopher
>
> -Original Message-
> From: Lonnie Abelbeck [mailto:li...@lonnie.abelbeck.com]
> Sent: Tuesday, February 09, 2010 11:21 AM
> To: AstLinux Users Mailing List
> Subject: Re: [Astlinux-users] how to save SSH keys on reboot?
>
>
> On Feb 9, 2010, at 9:50 AM, Darrick Hartman wrote:
>
>> Chris,
>>
>> I thought the non-gui instructions were on the doc site.  I see they are
>> not.
>>
>> Here's the recommended method if not using the gui:
>>
>> Use this through step 4.
>>
>> http://doc.astlinux.org/userdoc:new-install
>>
>> Then:
>>
>> fdisk /dev/hda (or whatever your device is)
>> create a new partition that fills up the rest of the CF card (default
>> linux partition type is fine)
>>
>> reboot
>>
>> login then run 'genunion /dev/hda2' (assuming the partition you created
>> above was on /dev/hda).
>>
>> CAREFULLY follow the prompts.  You should say 'yes' when appropriate to
>> copy files to the unionfs partition, then reboot as it says at the end
>> of the script.
>>
>> The immediate next time you reboot, it should again generate the ssh
>> keys, but this time, they will go into the unionfs partition.
>>
>> We need to get a non-gui set of instructions on the documentation
>> website too.  I use this method for setting up nearly all of my systems.
>>
>> Darrick
>
> OR, from the command line
>
> Use this through step 4.
> http://doc.astlinux.org/userdoc:new-install
>
> Then:
>
> $ initial-setup status
> ok-format /dev/hda
>
> If "ok-format" is returned, then continue...
>
> $ initial-setup format combined /dev/hda
>
> $ reboot
>
> $ initial-setup configure /dev/hda
>
> $ reboot
>
> Lonnie
>
> PS:  This is exactly what the https://pbx.local/admin/setup.php PHP script
> does.
>
>
>
>
>
>

> --
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the
> business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> ___
> 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.
>
>
>

--
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
> ___

Re: [Astlinux-users] how to save SSH keys on reboot?

2010-02-17 Thread Darrick Hartman
Chris,

I don't use the gui to do the initial install on any of my systems. 
There is no reason why you should need to use the gui to get this working.

Using php with mini-httpd can be a little tricky.  You may need a 
php.ini file in the same directory as your .php files and the .php files 
need to be executable.

In any case, the gui does nothing if you don't interact with it (so to 
answer your question, it would use no additional resources).

Out of curiosity, what sort of things are you doing with the Aastra?  I 
would love to see if you could sanitize and share your scripts.

Darrick

On 02/17/2010 09:31 AM, Chris Abnett wrote:
> Update: I got up and running and all is good..  I built 3791 and could never
> get going 100% using the command line..  I ended up having to install
> Lonnie's GUI and use it to get everything at 100%
>
> Without lonnie's gui installed my mini_httpd would segfault when trying to
> use it with PHP.I need http port 80 with php for the XML menus on my Aastra
> 57i phones).
>   I tried all kinds of things and never got it to work from the commandline
> Finally I started again and used the gui to configure the box and everything
> seems to be working great...
>
> I am assuming the gui uses no resources when im not logged into it?
>
> -Christopher
>
> -Original Message-
> From: Lonnie Abelbeck [mailto:li...@lonnie.abelbeck.com]
> Sent: Tuesday, February 09, 2010 11:21 AM
> To: AstLinux Users Mailing List
> Subject: Re: [Astlinux-users] how to save SSH keys on reboot?
>
>
> On Feb 9, 2010, at 9:50 AM, Darrick Hartman wrote:
>
>> Chris,
>>
>> I thought the non-gui instructions were on the doc site.  I see they are
>> not.
>>
>> Here's the recommended method if not using the gui:
>>
>> Use this through step 4.
>>
>> http://doc.astlinux.org/userdoc:new-install
>>
>> Then:
>>
>> fdisk /dev/hda (or whatever your device is)
>> create a new partition that fills up the rest of the CF card (default
>> linux partition type is fine)
>>
>> reboot
>>
>> login then run 'genunion /dev/hda2' (assuming the partition you created
>> above was on /dev/hda).
>>
>> CAREFULLY follow the prompts.  You should say 'yes' when appropriate to
>> copy files to the unionfs partition, then reboot as it says at the end
>> of the script.
>>
>> The immediate next time you reboot, it should again generate the ssh
>> keys, but this time, they will go into the unionfs partition.
>>
>> We need to get a non-gui set of instructions on the documentation
>> website too.  I use this method for setting up nearly all of my systems.
>>
>> Darrick
>
> OR, from the command line
>
> Use this through step 4.
> http://doc.astlinux.org/userdoc:new-install
>
> Then:
>
> $ initial-setup status
> ok-format /dev/hda
>
> If "ok-format" is returned, then continue...
>
> $ initial-setup format combined /dev/hda
>
> $ reboot
>
> $ initial-setup configure /dev/hda
>
> $ reboot
>
> Lonnie
>
> PS:  This is exactly what the https://pbx.local/admin/setup.php PHP script
> does.
>
>
>
>
>
> 
> --
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the
> business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> ___
> 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.
>
>
> --
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-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.


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

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-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] how to save SSH keys on reboot?

2010-02-17 Thread Chris Abnett
Update: I got up and running and all is good..  I built 3791 and could never
get going 100% using the command line..  I ended up having to install
Lonnie's GUI and use it to get everything at 100%

Without lonnie's gui installed my mini_httpd would segfault when trying to
use it with PHP.I need http port 80 with php for the XML menus on my Aastra
57i phones).
 I tried all kinds of things and never got it to work from the commandline
Finally I started again and used the gui to configure the box and everything
seems to be working great... 

I am assuming the gui uses no resources when im not logged into it?

-Christopher

-Original Message-
From: Lonnie Abelbeck [mailto:li...@lonnie.abelbeck.com] 
Sent: Tuesday, February 09, 2010 11:21 AM
To: AstLinux Users Mailing List
Subject: Re: [Astlinux-users] how to save SSH keys on reboot?


On Feb 9, 2010, at 9:50 AM, Darrick Hartman wrote:

> Chris,
> 
> I thought the non-gui instructions were on the doc site.  I see they are 
> not.
> 
> Here's the recommended method if not using the gui:
> 
> Use this through step 4.
> 
> http://doc.astlinux.org/userdoc:new-install
> 
> Then:
> 
> fdisk /dev/hda (or whatever your device is)
> create a new partition that fills up the rest of the CF card (default 
> linux partition type is fine)
> 
> reboot
> 
> login then run 'genunion /dev/hda2' (assuming the partition you created 
> above was on /dev/hda).
> 
> CAREFULLY follow the prompts.  You should say 'yes' when appropriate to 
> copy files to the unionfs partition, then reboot as it says at the end 
> of the script.
> 
> The immediate next time you reboot, it should again generate the ssh 
> keys, but this time, they will go into the unionfs partition.
> 
> We need to get a non-gui set of instructions on the documentation 
> website too.  I use this method for setting up nearly all of my systems.
> 
> Darrick

OR, from the command line

Use this through step 4.
http://doc.astlinux.org/userdoc:new-install

Then:

$ initial-setup status
ok-format /dev/hda

If "ok-format" is returned, then continue...

$ initial-setup format combined /dev/hda

$ reboot

$ initial-setup configure /dev/hda

$ reboot

Lonnie

PS:  This is exactly what the https://pbx.local/admin/setup.php PHP script
does.






--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the
business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
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.


--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-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] how to save SSH keys on reboot?

2010-02-09 Thread Lonnie Abelbeck

On Feb 9, 2010, at 9:50 AM, Darrick Hartman wrote:

> Chris,
> 
> I thought the non-gui instructions were on the doc site.  I see they are 
> not.
> 
> Here's the recommended method if not using the gui:
> 
> Use this through step 4.
> 
> http://doc.astlinux.org/userdoc:new-install
> 
> Then:
> 
> fdisk /dev/hda (or whatever your device is)
> create a new partition that fills up the rest of the CF card (default 
> linux partition type is fine)
> 
> reboot
> 
> login then run 'genunion /dev/hda2' (assuming the partition you created 
> above was on /dev/hda).
> 
> CAREFULLY follow the prompts.  You should say 'yes' when appropriate to 
> copy files to the unionfs partition, then reboot as it says at the end 
> of the script.
> 
> The immediate next time you reboot, it should again generate the ssh 
> keys, but this time, they will go into the unionfs partition.
> 
> We need to get a non-gui set of instructions on the documentation 
> website too.  I use this method for setting up nearly all of my systems.
> 
> Darrick

OR, from the command line

Use this through step 4.
http://doc.astlinux.org/userdoc:new-install

Then:

$ initial-setup status
ok-format /dev/hda

If "ok-format" is returned, then continue...

$ initial-setup format combined /dev/hda

$ reboot

$ initial-setup configure /dev/hda

$ reboot

Lonnie

PS:  This is exactly what the https://pbx.local/admin/setup.php PHP script does.





--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
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] how to save SSH keys on reboot?

2010-02-09 Thread Darrick Hartman
Chris,

I thought the non-gui instructions were on the doc site.  I see they are 
not.

Here's the recommended method if not using the gui:

Use this through step 4.

http://doc.astlinux.org/userdoc:new-install

Then:

fdisk /dev/hda (or whatever your device is)
create a new partition that fills up the rest of the CF card (default 
linux partition type is fine)

reboot

login then run 'genunion /dev/hda2' (assuming the partition you created 
above was on /dev/hda).

CAREFULLY follow the prompts.  You should say 'yes' when appropriate to 
copy files to the unionfs partition, then reboot as it says at the end 
of the script.

The immediate next time you reboot, it should again generate the ssh 
keys, but this time, they will go into the unionfs partition.

We need to get a non-gui set of instructions on the documentation 
website too.  I use this method for setting up nearly all of my systems.

Darrick

On 02/09/2010 09:39 AM, Chris Abnett wrote:
> Since my /mnt/kd/ssh is empty is there a script I can run to manually
> generate the keys?
>
> And since this is a lab system, is there a proper way to set up new without
> the gui? If so I'll wipe clean and start over the correct way... im going to
> use this as a template for systems to deploy so I want it to be done
> correctly.
>
> I have made EXTENSIVE changes to the asterisk files themselves but that
> should only affect files in my /mnt/kd which I can just copy and over-write
> to a new system if I start over...
>
> -Christopher
>
> -Original Message-
> From: Darrick Hartman [mailto:dhart...@djhsolutions.com]
> Sent: Tuesday, February 09, 2010 10:27 AM
> To: AstLinux Users Mailing List
> Subject: Re: [Astlinux-users] how to save SSH keys on reboot?
>
> Chris,
>
> A few comments.  If you have a /mnt/kd/rc.conf.d directory, the
> /mnt/kd/rc.conf file is not used.  That may be the source of some of the
> problem.
>
> With unionfs active, the ssh keys should have been created in /mnt/kd/ssh.
>
> Darrick
>
> On 02/09/2010 09:14 AM, Chris Abnett wrote:
>> That's definitely my issue.. the sym link is there... however my
> /mnt/kd/ssh
>> is empty...
>>
>> When I built it I used genunion after I did the compile...  loaded the gui
>> to take a look, might've changed my IP in it, decided I didn't care for
>> using the gui and then started editing /mnt/kd/rc.conf and
>> /mnt/kd/rc.conf.d/gui.network.conf and /mnt/kd/rc.conf.d/user.conf
>>
>> -Christopher
>>
>> -Original Message-----
>> From: Lonnie Abelbeck [mailto:li...@lonnie.abelbeck.com]
>> Sent: Tuesday, February 09, 2010 10:04 AM
>> To: AstLinux Users Mailing List
>> Subject: Re: [Astlinux-users] how to save SSH keys on reboot?
>>
>> Chris,
>>
>> Does your...
>> -
>> pbx kd # ls /mnt/kd/ssh/
>> ssh_host_dsa_key  ssh_host_key  ssh_host_rsa_key
>> ssh_host_dsa_key.pub  ssh_host_key.pub  ssh_host_rsa_key.pub
>
>
>


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

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
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] how to save SSH keys on reboot?

2010-02-09 Thread Chris Abnett
Since my /mnt/kd/ssh is empty is there a script I can run to manually
generate the keys?

And since this is a lab system, is there a proper way to set up new without
the gui? If so I'll wipe clean and start over the correct way... im going to
use this as a template for systems to deploy so I want it to be done
correctly. 

I have made EXTENSIVE changes to the asterisk files themselves but that
should only affect files in my /mnt/kd which I can just copy and over-write
to a new system if I start over...

-Christopher

-Original Message-
From: Darrick Hartman [mailto:dhart...@djhsolutions.com] 
Sent: Tuesday, February 09, 2010 10:27 AM
To: AstLinux Users Mailing List
Subject: Re: [Astlinux-users] how to save SSH keys on reboot?

Chris,

A few comments.  If you have a /mnt/kd/rc.conf.d directory, the 
/mnt/kd/rc.conf file is not used.  That may be the source of some of the 
problem.

With unionfs active, the ssh keys should have been created in /mnt/kd/ssh.

Darrick

On 02/09/2010 09:14 AM, Chris Abnett wrote:
> That's definitely my issue.. the sym link is there... however my
/mnt/kd/ssh
> is empty...
>
> When I built it I used genunion after I did the compile...  loaded the gui
> to take a look, might've changed my IP in it, decided I didn't care for
> using the gui and then started editing /mnt/kd/rc.conf and
> /mnt/kd/rc.conf.d/gui.network.conf and /mnt/kd/rc.conf.d/user.conf
>
> -Christopher
>
> -Original Message-
> From: Lonnie Abelbeck [mailto:li...@lonnie.abelbeck.com]
> Sent: Tuesday, February 09, 2010 10:04 AM
> To: AstLinux Users Mailing List
> Subject: Re: [Astlinux-users] how to save SSH keys on reboot?
>
> Chris,
>
> Does your...
> -
> pbx kd # ls /mnt/kd/ssh/
> ssh_host_dsa_key  ssh_host_key  ssh_host_rsa_key
> ssh_host_dsa_key.pub  ssh_host_key.pub  ssh_host_rsa_key.pub



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


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the
business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
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.


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
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] how to save SSH keys on reboot?

2010-02-09 Thread Lonnie Abelbeck

On Feb 9, 2010, at 9:14 AM, Chris Abnett wrote:

> That's definitely my issue.. the sym link is there... however my /mnt/kd/ssh
> is empty...
> 
> When I built it I used genunion after I did the compile...

?? the genunion only applies just after you formatted your CF disk for the 
first time.

> loaded the gui
> to take a look, might've changed my IP in it, decided I didn't care for
> using the gui and then started editing /mnt/kd/rc.conf and
> /mnt/kd/rc.conf.d/gui.network.conf and /mnt/kd/rc.conf.d/user.conf

Again, /mnt/kd/rc.conf is ignored if the /mnt/kd/rc.conf.d/ directory exists.

I would suggest you start from the very beginning, per the instructions:
http://doc.astlinux.org/userdoc:new-install

Then, if you want to use your own build images, place them on a http server in 
the format:

firmware/net5501/ver
firmware/net5501/astlinux-.tar.gz.sha1
firmware/net5501/astlinux-.tar.gz

and use upgrade-run-image with your custom repository URL (the easiest), or 
manually place your new un-tar'ed run image files in /oldroot/cdrom/os .

Lonnie


> 
> -Christopher
> 
> -Original Message-
> From: Lonnie Abelbeck [mailto:li...@lonnie.abelbeck.com] 
> Sent: Tuesday, February 09, 2010 10:04 AM
> To: AstLinux Users Mailing List
> Subject: Re: [Astlinux-users] how to save SSH keys on reboot?
> 
> Chris,
> 
> Does your...
> -
> pbx kd # ls /mnt/kd/ssh/
> ssh_host_dsa_key  ssh_host_key  ssh_host_rsa_key
> ssh_host_dsa_key.pub  ssh_host_key.pub  ssh_host_rsa_key.pub
> 
> pbx kd # ls -l /etc/ssh 
> lrwxrwxrwx1 root root   12 Feb  8 14:57 /etc/ssh ->
> /tmp/etc/ssh
> -
> look like the above? if not, that is your problem.
> 
> Did you use https://pbx.local/admin/setup.php to initially setup your system
> ? If not, how exactly.
> 
> Lonnie
> 
> 
> On Feb 9, 2010, at 8:53 AM, Chris Abnett wrote:
> 
>> See I thought it should be persistant too... my password is persistant..
> is
>> there a way I can check this without the GUI? Im not using the GUI..  
>> 
>> Here is my "mount" and df displays.. looks normal to me, but maybe
> something
>> I missed?
>> 
>> hosted1 www # mount
>> rootfs on / type rootfs (rw)
>> /dev/root on /oldroot type ext2 (rw)
>> /dev/hda2 on /oldroot/mnt/asturw type ext2 (rw,noatime,errors=continue)
>> none on /oldroot/mnt/asturo type tmpfs (ro,size=131072k)
>> none on / type unionfs
>> (rw,dirs=/oldroot/mnt/asturw=rw:/oldroot/mnt/asturo=ro)
>> none on /proc type proc (rw)
>> none on /dev type tmpfs (rw,size=200k)
>> none on /var type tmpfs (rw,size=5000k)
>> none on /tmp type tmpfs (rw,size=1k)
>> none on /sys type sysfs (rw)
>> none on /dev/pts type devpts (rw,mode=600)
>> usbfs on /proc/bus/usb type usbfs (rw)
>> /dev/hda1 on /oldroot/cdrom type vfat
>> (ro,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1)
>> none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
>> hosted1 www # df -h
>> FilesystemSize  Used Available Use% Mounted on
>> rootfs1.3G 10.1M  1.3G   1% /
>> /dev/root 3.1M944.0k  2.0M  31% /oldroot
>> /dev/hda2 1.3G 10.1M  1.3G   1%
> /oldroot/mnt/asturw
>> none128.0M 68.4M 59.6M  53%
> /oldroot/mnt/asturo
>> none  1.3G 10.1M  1.3G   1% /
>> none200.0k  8.0k192.0k   4% /dev
>> none  4.9M 92.0k  4.8M   2% /var
>> none              9.8M    192.0k  9.6M   2% /tmp
>> /dev/hda1 2.0G 52.0M  1.9G   3% /oldroot/cdrom
>> hosted1 www #
>> 
>> -Christopher
>> 
>> -Original Message-
>> From: Michael Keuter [mailto:li...@mksolutions.info] 
>> Sent: Tuesday, February 09, 2010 9:36 AM
>> To: AstLinux Users Mailing List
>> Subject: Re: [Astlinux-users] how to save SSH keys on reboot?
>> 
>>> Content-Type: multipart/alternative;
>>> boundary="=_NextPart_000_0013_01CAA962.49C07800"
>>> Content-Language: en-us
>>> 
>>> I notice everytime I reboot my astlinux machine 
>>> it always generates new host keys and so when I 
>>> got to SSH into it I get key errorsŠ in the case 
>>> of linux ssh Client I have to delete the key out 
>>> of known hosts so it will get a new one..
>>> 
>>> How I can I get astlinux to not generate new 
>>> host / server keys each time it rebootsŠ 
>>> annoying since it is a development machine right 
>>> now and

Re: [Astlinux-users] how to save SSH keys on reboot?

2010-02-09 Thread Darrick Hartman
Chris,

A few comments.  If you have a /mnt/kd/rc.conf.d directory, the 
/mnt/kd/rc.conf file is not used.  That may be the source of some of the 
problem.

With unionfs active, the ssh keys should have been created in /mnt/kd/ssh.

Darrick

On 02/09/2010 09:14 AM, Chris Abnett wrote:
> That's definitely my issue.. the sym link is there... however my /mnt/kd/ssh
> is empty...
>
> When I built it I used genunion after I did the compile...  loaded the gui
> to take a look, might've changed my IP in it, decided I didn't care for
> using the gui and then started editing /mnt/kd/rc.conf and
> /mnt/kd/rc.conf.d/gui.network.conf and /mnt/kd/rc.conf.d/user.conf
>
> -Christopher
>
> -Original Message-
> From: Lonnie Abelbeck [mailto:li...@lonnie.abelbeck.com]
> Sent: Tuesday, February 09, 2010 10:04 AM
> To: AstLinux Users Mailing List
> Subject: Re: [Astlinux-users] how to save SSH keys on reboot?
>
> Chris,
>
> Does your...
> -
> pbx kd # ls /mnt/kd/ssh/
> ssh_host_dsa_key  ssh_host_key  ssh_host_rsa_key
> ssh_host_dsa_key.pub  ssh_host_key.pub  ssh_host_rsa_key.pub



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

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
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] how to save SSH keys on reboot?

2010-02-09 Thread Chris Abnett
That's definitely my issue.. the sym link is there... however my /mnt/kd/ssh
is empty...

When I built it I used genunion after I did the compile...  loaded the gui
to take a look, might've changed my IP in it, decided I didn't care for
using the gui and then started editing /mnt/kd/rc.conf and
/mnt/kd/rc.conf.d/gui.network.conf and /mnt/kd/rc.conf.d/user.conf

-Christopher

-Original Message-
From: Lonnie Abelbeck [mailto:li...@lonnie.abelbeck.com] 
Sent: Tuesday, February 09, 2010 10:04 AM
To: AstLinux Users Mailing List
Subject: Re: [Astlinux-users] how to save SSH keys on reboot?

Chris,

Does your...
-
pbx kd # ls /mnt/kd/ssh/
ssh_host_dsa_key  ssh_host_key  ssh_host_rsa_key
ssh_host_dsa_key.pub  ssh_host_key.pub  ssh_host_rsa_key.pub

pbx kd # ls -l /etc/ssh 
lrwxrwxrwx1 root root   12 Feb  8 14:57 /etc/ssh ->
/tmp/etc/ssh
-
look like the above? if not, that is your problem.

Did you use https://pbx.local/admin/setup.php to initially setup your system
? If not, how exactly.

Lonnie


On Feb 9, 2010, at 8:53 AM, Chris Abnett wrote:

> See I thought it should be persistant too... my password is persistant..
is
> there a way I can check this without the GUI? Im not using the GUI..  
> 
> Here is my "mount" and df displays.. looks normal to me, but maybe
something
> I missed?
> 
> hosted1 www # mount
> rootfs on / type rootfs (rw)
> /dev/root on /oldroot type ext2 (rw)
> /dev/hda2 on /oldroot/mnt/asturw type ext2 (rw,noatime,errors=continue)
> none on /oldroot/mnt/asturo type tmpfs (ro,size=131072k)
> none on / type unionfs
> (rw,dirs=/oldroot/mnt/asturw=rw:/oldroot/mnt/asturo=ro)
> none on /proc type proc (rw)
> none on /dev type tmpfs (rw,size=200k)
> none on /var type tmpfs (rw,size=5000k)
> none on /tmp type tmpfs (rw,size=1k)
> none on /sys type sysfs (rw)
> none on /dev/pts type devpts (rw,mode=600)
> usbfs on /proc/bus/usb type usbfs (rw)
> /dev/hda1 on /oldroot/cdrom type vfat
> (ro,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1)
> none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
> hosted1 www # df -h
> FilesystemSize  Used Available Use% Mounted on
> rootfs1.3G 10.1M  1.3G   1% /
> /dev/root 3.1M944.0k  2.0M  31% /oldroot
> /dev/hda2 1.3G 10.1M  1.3G   1%
/oldroot/mnt/asturw
> none128.0M 68.4M 59.6M  53%
/oldroot/mnt/asturo
> none  1.3G 10.1M  1.3G   1% /
> none200.0k  8.0k192.0k   4% /dev
> none  4.9M 92.0k  4.8M   2% /var
> none  9.8M192.0k  9.6M   2% /tmp
> /dev/hda1 2.0G 52.0M  1.9G   3% /oldroot/cdrom
> hosted1 www #
> 
> -Christopher
> 
> -Original Message-
> From: Michael Keuter [mailto:li...@mksolutions.info] 
> Sent: Tuesday, February 09, 2010 9:36 AM
> To: AstLinux Users Mailing List
> Subject: Re: [Astlinux-users] how to save SSH keys on reboot?
> 
>> Content-Type: multipart/alternative;
>>  boundary="=_NextPart_000_0013_01CAA962.49C07800"
>> Content-Language: en-us
>> 
>> I notice everytime I reboot my astlinux machine 
>> it always generates new host keys and so when I 
>> got to SSH into it I get key errorsŠ in the case 
>> of linux ssh Client I have to delete the key out 
>> of known hosts so it will get a new one..
>> 
>> How I can I get astlinux to not generate new 
>> host / server keys each time it rebootsŠ 
>> annoying since it is a development machine right 
>> now and gets rebooted oftenŠ..
>> 
>> Also how I can completely disable Music on hold 
>> and anything to do with it..  im using a net5501 
>> and MOH hammers on the performance of itŠ
>> -Christopher
> 
> Hello Chris,
> 
> don't you have a persistant UnionFS partition (at "/oldroot/mnt/asturw") ?
> If not, please look at our new Wiki at:
> 
> http://doc.astlinux.org/userdoc:new-install
> 
> The upcoming 0.7.1 version will NOT include 
> sounds and MOH files by default, but you can 
> install them later from the WebGUI, if you like.
> 
> Michael
> 
> http://www.mksolutions.info
> 
>

> --
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the
> business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _

Re: [Astlinux-users] how to save SSH keys on reboot?

2010-02-09 Thread Lonnie Abelbeck
Chris,

Does your...
-
pbx kd # ls /mnt/kd/ssh/
ssh_host_dsa_key  ssh_host_key  ssh_host_rsa_key
ssh_host_dsa_key.pub  ssh_host_key.pub  ssh_host_rsa_key.pub

pbx kd # ls -l /etc/ssh 
lrwxrwxrwx1 root root   12 Feb  8 14:57 /etc/ssh -> /tmp/etc/ssh
-
look like the above? if not, that is your problem.

Did you use https://pbx.local/admin/setup.php to initially setup your system ? 
If not, how exactly.

Lonnie


On Feb 9, 2010, at 8:53 AM, Chris Abnett wrote:

> See I thought it should be persistant too... my password is persistant..  is
> there a way I can check this without the GUI? Im not using the GUI..  
> 
> Here is my "mount" and df displays.. looks normal to me, but maybe something
> I missed?
> 
> hosted1 www # mount
> rootfs on / type rootfs (rw)
> /dev/root on /oldroot type ext2 (rw)
> /dev/hda2 on /oldroot/mnt/asturw type ext2 (rw,noatime,errors=continue)
> none on /oldroot/mnt/asturo type tmpfs (ro,size=131072k)
> none on / type unionfs
> (rw,dirs=/oldroot/mnt/asturw=rw:/oldroot/mnt/asturo=ro)
> none on /proc type proc (rw)
> none on /dev type tmpfs (rw,size=200k)
> none on /var type tmpfs (rw,size=5000k)
> none on /tmp type tmpfs (rw,size=1k)
> none on /sys type sysfs (rw)
> none on /dev/pts type devpts (rw,mode=600)
> usbfs on /proc/bus/usb type usbfs (rw)
> /dev/hda1 on /oldroot/cdrom type vfat
> (ro,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1)
> none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
> hosted1 www # df -h
> FilesystemSize  Used Available Use% Mounted on
> rootfs1.3G 10.1M  1.3G   1% /
> /dev/root 3.1M944.0k  2.0M  31% /oldroot
> /dev/hda2 1.3G 10.1M  1.3G   1% /oldroot/mnt/asturw
> none128.0M 68.4M 59.6M  53% /oldroot/mnt/asturo
> none  1.3G 10.1M  1.3G   1% /
> none200.0k  8.0k192.0k   4% /dev
> none  4.9M 92.0k  4.8M   2% /var
> none  9.8M192.0k  9.6M   2% /tmp
> /dev/hda1 2.0G 52.0M  1.9G   3% /oldroot/cdrom
> hosted1 www #
> 
> -Christopher
> 
> -Original Message-
> From: Michael Keuter [mailto:li...@mksolutions.info] 
> Sent: Tuesday, February 09, 2010 9:36 AM
> To: AstLinux Users Mailing List
> Subject: Re: [Astlinux-users] how to save SSH keys on reboot?
> 
>> Content-Type: multipart/alternative;
>>  boundary="=_NextPart_000_0013_01CAA962.49C07800"
>> Content-Language: en-us
>> 
>> I notice everytime I reboot my astlinux machine 
>> it always generates new host keys and so when I 
>> got to SSH into it I get key errorsŠ in the case 
>> of linux ssh Client I have to delete the key out 
>> of known hosts so it will get a new one..
>> 
>> How I can I get astlinux to not generate new 
>> host / server keys each time it rebootsŠ 
>> annoying since it is a development machine right 
>> now and gets rebooted oftenŠ..
>> 
>> Also how I can completely disable Music on hold 
>> and anything to do with it..  im using a net5501 
>> and MOH hammers on the performance of itŠ
>> -Christopher
> 
> Hello Chris,
> 
> don't you have a persistant UnionFS partition (at "/oldroot/mnt/asturw") ?
> If not, please look at our new Wiki at:
> 
> http://doc.astlinux.org/userdoc:new-install
> 
> The upcoming 0.7.1 version will NOT include 
> sounds and MOH files by default, but you can 
> install them later from the WebGUI, if you like.
> 
> Michael
> 
> http://www.mksolutions.info
> 
> 
> --
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the
> business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> ___
> 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.
> 
> 
> --
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the business
> Choose flexible plans and management services without long-term c

Re: [Astlinux-users] how to save SSH keys on reboot?

2010-02-09 Thread Chris Abnett
See I thought it should be persistant too... my password is persistant..  is
there a way I can check this without the GUI? Im not using the GUI..  

Here is my "mount" and df displays.. looks normal to me, but maybe something
I missed?

hosted1 www # mount
rootfs on / type rootfs (rw)
/dev/root on /oldroot type ext2 (rw)
/dev/hda2 on /oldroot/mnt/asturw type ext2 (rw,noatime,errors=continue)
none on /oldroot/mnt/asturo type tmpfs (ro,size=131072k)
none on / type unionfs
(rw,dirs=/oldroot/mnt/asturw=rw:/oldroot/mnt/asturo=ro)
none on /proc type proc (rw)
none on /dev type tmpfs (rw,size=200k)
none on /var type tmpfs (rw,size=5000k)
none on /tmp type tmpfs (rw,size=1k)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,mode=600)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/hda1 on /oldroot/cdrom type vfat
(ro,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
hosted1 www # df -h
FilesystemSize  Used Available Use% Mounted on
rootfs1.3G 10.1M  1.3G   1% /
/dev/root 3.1M944.0k  2.0M  31% /oldroot
/dev/hda2 1.3G 10.1M  1.3G   1% /oldroot/mnt/asturw
none128.0M 68.4M 59.6M  53% /oldroot/mnt/asturo
none  1.3G 10.1M  1.3G   1% /
none200.0k  8.0k192.0k   4% /dev
none  4.9M 92.0k  4.8M   2% /var
none  9.8M192.0k  9.6M   2% /tmp
/dev/hda1 2.0G 52.0M  1.9G   3% /oldroot/cdrom
hosted1 www #

-Christopher

-Original Message-
From: Michael Keuter [mailto:li...@mksolutions.info] 
Sent: Tuesday, February 09, 2010 9:36 AM
To: AstLinux Users Mailing List
Subject: Re: [Astlinux-users] how to save SSH keys on reboot?

>Content-Type: multipart/alternative;
>   boundary="=_NextPart_000_0013_01CAA962.49C07800"
>Content-Language: en-us
>
>I notice everytime I reboot my astlinux machine 
>it always generates new host keys and so when I 
>got to SSH into it I get key errorsŠ in the case 
>of linux ssh Client I have to delete the key out 
>of known hosts so it will get a new one..
>
>How I can I get astlinux to not generate new 
>host / server keys each time it rebootsŠ 
>annoying since it is a development machine right 
>now and gets rebooted oftenŠ..
>
>Also how I can completely disable Music on hold 
>and anything to do with it..  im using a net5501 
>and MOH hammers on the performance of itŠ
>-Christopher

Hello Chris,

don't you have a persistant UnionFS partition (at "/oldroot/mnt/asturw") ?
If not, please look at our new Wiki at:

http://doc.astlinux.org/userdoc:new-install

The upcoming 0.7.1 version will NOT include 
sounds and MOH files by default, but you can 
install them later from the WebGUI, if you like.

Michael

http://www.mksolutions.info


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the
business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
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.


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
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] how to save SSH keys on reboot?

2010-02-09 Thread Michael Keuter
>Content-Type: multipart/alternative;
>   boundary="=_NextPart_000_0013_01CAA962.49C07800"
>Content-Language: en-us
>
>I notice everytime I reboot my astlinux machine 
>it always generates new host keys and so when I 
>got to SSH into it I get key errorsŠ in the case 
>of linux ssh Client I have to delete the key out 
>of known hosts so it will get a new one..
>
>How I can I get astlinux to not generate new 
>host / server keys each time it rebootsŠ 
>annoying since it is a development machine right 
>now and gets rebooted oftenŠ..
>
>Also how I can completely disable Music on hold 
>and anything to do with it..  im using a net5501 
>and MOH hammers on the performance of itŠ
>-Christopher

Hello Chris,

don't you have a persistant UnionFS partition (at "/oldroot/mnt/asturw") ?
If not, please look at our new Wiki at:

http://doc.astlinux.org/userdoc:new-install

The upcoming 0.7.1 version will NOT include 
sounds and MOH files by default, but you can 
install them later from the WebGUI, if you like.

Michael

http://www.mksolutions.info

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
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] how to save SSH keys on reboot?

2010-02-09 Thread Chris Abnett
I notice everytime I reboot my astlinux machine it always generates new host
keys and so when I got to SSH into it I get key errors. in the case of linux
ssh Client I have to delete the key out of known hosts so it will get a new
one..

 

How I can I get astlinux to not generate new host / server keys each time it
reboots. annoying since it is a development machine right now and gets
rebooted often...

 

Also how I can completely disable Music on hold and anything to do with it..
im using a net5501 and MOH hammers on the performance of it.

-Christopher

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com___
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.