On 9/30/07, Philip Prindeville <[EMAIL PROTECTED]> wrote: > Well, I used "ssh-copy-id" to put a public key onto my Astlinux box, but > it's not retained across reboots, and indeed there doesn't seem to be a > copy of root's home directory on the key disk.
You should put your SSH keys in "/mnt/kd/ssh_keys". SSH will build the authorized_keys file on boot or init. > I was wondering how the keydisk works, anyway. Does it rebind > mount-points to overlay the root filesystem? The keydisk is simply a place for persistent storage, specific to astlinux... The various init scripts check specific locations for overrides, includes, etc. > I remember that there was a SCM system I used to work with, that did > "tear-away" mount points on an overlaid file system... everyone would > share the same copy of the read-only source file until they wanted to > check it out for modification, at which point a private mount point > visible only to that user would appear. It was kind of cool. And it > would work with run-from-flash systems, too. Unionfs will be used in AstLinux 0.5 and later to accomplish this. > Other issues: I'm using a Sipura 942 phone. It's a decent phone. But > provisioning it seems a little quirky. You either have to use HTTPS, or > else browse into the phone and tell it to access a TFTP url: > > http://192.168.1.100/admin/resync?tftp://192.168.1.200/basic.txt > > is the example from the LinksysSPATFTPProv.pdf document from the Linksys > website. > > That's a little clumsy.... I'd rather generate an XML file and push it > into the box via an HTTP or HTTPS "post". > > Speaking of which: how do people do their provisioning? What tools? None of these questions are specific to AstLinux, but I'll try to answer what I can. Linksys/Sipura devices can also TFTP to the server provided via DHCP options (option 66). > Is putting Perl onto an Astlinux box a little heavy-handed? It tends to > suck down cycles... Yes. Perl is a bit heavy, but miniperl is included for simple scripts. > I suppose there's no reason to have full-blown on-the-fly XML > generation... would could run 'sed' over a template... That's just it. Make some simple bash/sed/etc scripts. > For those that do use XML... do you all have a favorite CPAN package to use? > > There are 3-4 (at least) the last time I looked. I don't really do XML, I wouldn't know. > Oh, one other thing: my DHCP server is a stupid Westell 6100, that > won't let me set fixed addresses for local resources, so I either have > to use a range of static IP addresses and static configuration, or work > around the fact that devices can move around after reboots. > > Also, the DHCP server won't let me hand-provision certain parameters, > like option 66 (TFTP server). > > How does one get around that? Just try discovering all IP addresses on > the subnet, and seeing if they respond to the above provisioning? Use a different DHCP server? > Or statically configure them to use 192.168.1.255 or 255.255.255.255 as > the tftp server???? Gak. > > Thanks, > > -Philip > -- Kristian Kielhofner ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Astlinux-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [EMAIL PROTECTED]
