Re: [Astlinux-users] Getting Berofix to work in net5501 with Astlinux 0.6.7
On Oct 14, 2009, at 12:03 PM, Michael Keuter wrote: >> Step 7: IP forwarding is required to get the card working properly - >> can anyone tell me if enabling it is A Bad Thing in any way? The >> other >> Berofix approach is to use a bridge rather than ip forwarding, but >> since I'm not sure this is directly supported in the Astlinux GUI, I >> thought I'd try this method first. If I get the chance, I might test >> the bridge method, which is the one favoured by Beronet. > > Bridging is easy: > Put something like the following in your > "/mnt/kd/rc.conf.d/user.conf" (via Network (User System Variables) or > Edit tab in GUI): > > ### Bridge eth1 + eth2 to one (br0) for internal LAN > BRIDGE0="eth1 eth2" > > and reboot. After that you have an additional interface "br0", you > can select in the Network tab. This will work if the 8139too module is enabled in /etc/rc.modules, but if "modprobe 8139too" is called in /mnt/kd/rc.elocal the BRIDGE0 variable won't work as expected if any of the bridged interfaces are not defined until /mnt/kd/rc.elocal is called. Advanced users could place the 'brctl' calls in rc.elocal if they wish. In 0.7 there is a file '/etc/udev/rules.d/70-persistent-net.rules' that keeps the network interface ordering consistent by MAC address, Tom - I think the changing ordering with/without the Berofix card was confusing you with in 0.6. Lonnie -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ 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] Getting Berofix to work in net5501 with Astlinux 0.6.7
>This has taken a bit of work. Trying to install a Berofix card into a >net5501 running Astlinux 0.6.7. This is what I've done: Nice that it works now. >Notes: > >Step 1: Though installed on a net5501, the net5501 0.6.7 Astlinux >build doesn't have the 8139too driver - do I understand it is under >consideration for 0.7? It's already in svn: http://astlinux.svn.sourceforge.net/viewvc/astlinux?view=rev&revision=3358 >Step 7: IP forwarding is required to get the card working properly - >can anyone tell me if enabling it is A Bad Thing in any way? The other >Berofix approach is to use a bridge rather than ip forwarding, but >since I'm not sure this is directly supported in the Astlinux GUI, I >thought I'd try this method first. If I get the chance, I might test >the bridge method, which is the one favoured by Beronet. Bridging is easy: Put something like the following in your "/mnt/kd/rc.conf.d/user.conf" (via Network (User System Variables) or Edit tab in GUI): ### Bridge eth1 + eth2 to one (br0) for internal LAN BRIDGE0="eth1 eth2" and reboot. After that you have an additional interface "br0", you can select in the Network tab. >Make sure you have a route set up on your workstation (or whatever) so >that requests for 10.0.0.2 will route via the Astlinux box. Point your >browser at http://10.0.0.2, and from here on in, the documentation at >www.berofix.com should do the trick, though I believe there is an >error. When setting up your Asterisk server in the SIP section of the >Berofix GUI, it tells you to give it the address 10.0.0.2, but I >believe this should be 10.0.0.1. I am happy to be corrected in this. > >Hope this helps for people, and many, many thanks for all the help in >getting this up and running. I'm sure I'll run into further amateur >problems, and will report back. > >Cheers > >Tom Michael -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ 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] Getting Berofix to work in net5501 with Astlinux 0.6.7
This has taken a bit of work. Trying to install a Berofix card into a net5501 running Astlinux 0.6.7. This is what I've done: [0. Properly to wipe a CF card which had previously been used with the net5501 image and UnionFS, used Lonnie's MacOSX script - thanks Lonnie!] 1. Wrote geni586 image to CF card 2. Booted net5501 WITHOUT BEROFIX 3. Configured filesystem via http://pbx/admin/setup.php, including all requested reboots 4. Commented 8139too driver out of /etc/rc/modules 5. Created /mnt/kd/rc.elocal, with the line modprobe 8139too 6. Inserted Berofix card and rebooted 7. Added the following lines to /mnt/kd/rc.elocal: ifconfig eth4 10.0.0.1 netmask 255.255.255.0 up echo 1 > /proc/sys/net/ipv4/ip_forward 8. Reboot 9. Use bfdetect tool (a compiled version of which was posted to this list by Michael K - thanks!) to make sure the Berofix is set to 10.0.0.2/24 (I think the default might be 10.0.0.2/8), with a gateway of 10.0.0.1 Notes: Step 1: Though installed on a net5501, the net5501 0.6.7 Astlinux build doesn't have the 8139too driver - do I understand it is under consideration for 0.7? Steps 4-5: I thought that simply shifting the via-rhine above the 8139too entry in /etc/rc/modules would have worked, but it seemed not to - if I get the chance, I shall check again - but since I was using rc.elocal in step 7 as well, this approach seemed fine to me. Step 7: IP forwarding is required to get the card working properly - can anyone tell me if enabling it is A Bad Thing in any way? The other Berofix approach is to use a bridge rather than ip forwarding, but since I'm not sure this is directly supported in the Astlinux GUI, I thought I'd try this method first. If I get the chance, I might test the bridge method, which is the one favoured by Beronet. Make sure you have a route set up on your workstation (or whatever) so that requests for 10.0.0.2 will route via the Astlinux box. Point your browser at http://10.0.0.2, and from here on in, the documentation at www.berofix.com should do the trick, though I believe there is an error. When setting up your Asterisk server in the SIP section of the Berofix GUI, it tells you to give it the address 10.0.0.2, but I believe this should be 10.0.0.1. I am happy to be corrected in this. Hope this helps for people, and many, many thanks for all the help in getting this up and running. I'm sure I'll run into further amateur problems, and will report back. Cheers Tom -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ 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] UnionFS problem
On Oct 14, 2009, at 6:07 AM, Tom Chadwin wrote: > The one issue while I was using the setup page was that the HTTP > redirect, which is meant to forward you back to the setup page once > the box has rebooted, redirected too early, so I got a page not found. > I clicked back, and then clicked the Finish button. Yes, I made a change in 0.7 where the first setup.php reboot waits longer (since SSH keys are generated) so the box is ready after the reboot for the second step. When in the 0.6 setup.php and you get the "page not found", a browser "Reload" after 20 seconds or so usually works to get you to the second step. Lonnie -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ 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] UnionFS problem
> >I followed this process (though the page's layout is broken > in IE8/PC > >which makes it somewhat difficult to read without viewing > the source). > >I don't believe it tells you manually to visit the setup page twice. > >The one issue while I was using the setup page was that the HTTP > >redirect, which is meant to forward you back to the setup > page once the > >box has rebooted, redirected too early, so I got a page not found. > >I clicked back, and then clicked the Finish button. > > In this case I would not use the back button, but instead > call the whole URL manually again (Browser Cache!). Or try > again with another Browser (Firefox). > > Alternatively you can do the whole setup in the shell: > > initial-setup status > initial-setup format separate /dev/hda 128 #(sep. Unionfs and > /mnt/kd Part. or) > initial-setup format combined /dev/hda #(combined on one Part.) > reboot > initial-setup configure /dev/hda > reboot > > I mostly use "separate" version. > > >When I now visit the setup page, I have the following on-screen: > > > >"This AstLinux System has been successfully setup." > > That looks OK. > > >Any ideas? I am happy to start again from scratch if that will help, > >but as I mentioned, I don't think I have successfully > returned this CF > >card to its factory state - some guidance on that might help me to > >progress. > > Maybe you need to overwrite the card while formatting. For > OSX Lonnie wrote a script. > For Windows I use normally "Acronis Disk Director" with > "overwrite once". Do you have another card to test with? I tried via the shell, but format told me there were already partitions on hda, and configure told me it was already configured. I've therefore brushed the dust off the Mac, and Lonnie's script is now running, so thanks for the advice, and thanks to Lonnie for the script. Who would've thought it would take three OSs to delete a CF card? Cheers Tom -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ 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] UnionFS problem
>Hi Michael > >I followed this process (though the page's layout is broken in IE8/PC >which makes it somewhat difficult to read without viewing the source). >I don't believe it tells you manually to visit the setup page twice. >The one issue while I was using the setup page was that the HTTP >redirect, which is meant to forward you back to the setup page once >the box has rebooted, redirected too early, so I got a page not found. >I clicked back, and then clicked the Finish button. In this case I would not use the back button, but instead call the whole URL manually again (Browser Cache!). Or try again with another Browser (Firefox). Alternatively you can do the whole setup in the shell: initial-setup status initial-setup format separate /dev/hda 128 #(sep. Unionfs and /mnt/kd Part. or) initial-setup format combined /dev/hda #(combined on one Part.) reboot initial-setup configure /dev/hda reboot I mostly use "separate" version. >When I now visit the setup page, I have the following on-screen: > >"This AstLinux System has been successfully setup." That looks OK. >Any ideas? I am happy to start again from scratch if that will help, >but as I mentioned, I don't think I have successfully returned this CF >card to its factory state - some guidance on that might help me to >progress. Maybe you need to overwrite the card while formatting. For OSX Lonnie wrote a script. For Windows I use normally "Acronis Disk Director" with "overwrite once". Do you have another card to test with? >Thanks > >Tom Michael -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ 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] UnionFS problem
Hi Michael > >I have installed the geni586 image of 0.6.7, and then run > >pbx/admin/setup.php, selecting the defaults for persistent storage. > >Files I write to /mnt/kd persist across reboots. However, > changes made > >via the Edit tab of the Astlinux GUI (selecting files which do not > >exist on /mnt/kd) do not persist. In addition, each reboot > seems to be > >regenerating the security keys, so I get prompted with a > Putty warning > >next time I SSH to it. Mount shows: > > > >rootfs on / type rootfs (rw) > >/dev/root on /oldroot type ext2 (rw) > >/dev/hda2 on /oldroot/mnt/asturw type ext2 (rw,noatime) none on > >/oldroot/mnt/asturo type tmpfs (ro) 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) > >none on /var type tmpfs (rw) > >none on /tmp type tmpfs (rw) > >none on /sys type sysfs (rw) > >usbfs on /proc/bus/usb type usbfs (rw) > >none on /dev/pts type devpts (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) > > > >I should say that this is the CF card I was having problems wiping. > >What is wrong? > > you have to call up the setup page TWICE. > It is explained here: http://www.astlinux.org/node/44 I followed this process (though the page's layout is broken in IE8/PC which makes it somewhat difficult to read without viewing the source). I don't believe it tells you manually to visit the setup page twice. The one issue while I was using the setup page was that the HTTP redirect, which is meant to forward you back to the setup page once the box has rebooted, redirected too early, so I got a page not found. I clicked back, and then clicked the Finish button. When I now visit the setup page, I have the following on-screen: "This AstLinux System has been successfully setup." Any ideas? I am happy to start again from scratch if that will help, but as I mentioned, I don't think I have successfully returned this CF card to its factory state - some guidance on that might help me to progress. Thanks Tom -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ 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] UnionFS problem
>Hello all > >I have installed the geni586 image of 0.6.7, and then run >pbx/admin/setup.php, selecting the defaults for persistent storage. >Files I write to /mnt/kd persist across reboots. However, changes made >via the Edit tab of the Astlinux GUI (selecting files which do not >exist on /mnt/kd) do not persist. In addition, each reboot seems to be >regenerating the security keys, so I get prompted with a Putty warning >next time I SSH to it. Mount shows: > >rootfs on / type rootfs (rw) >/dev/root on /oldroot type ext2 (rw) >/dev/hda2 on /oldroot/mnt/asturw type ext2 (rw,noatime) >none on /oldroot/mnt/asturo type tmpfs (ro) >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) >none on /var type tmpfs (rw) >none on /tmp type tmpfs (rw) >none on /sys type sysfs (rw) >usbfs on /proc/bus/usb type usbfs (rw) >none on /dev/pts type devpts (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) > >I should say that this is the CF card I was having problems wiping. >What is wrong? > >Thanks > >Tom Hi Tom, you have to call up the setup page TWICE. It is explained here: http://www.astlinux.org/node/44 Michael -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ 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] UnionFS problem
Hello all I have installed the geni586 image of 0.6.7, and then run pbx/admin/setup.php, selecting the defaults for persistent storage. Files I write to /mnt/kd persist across reboots. However, changes made via the Edit tab of the Astlinux GUI (selecting files which do not exist on /mnt/kd) do not persist. In addition, each reboot seems to be regenerating the security keys, so I get prompted with a Putty warning next time I SSH to it. Mount shows: rootfs on / type rootfs (rw) /dev/root on /oldroot type ext2 (rw) /dev/hda2 on /oldroot/mnt/asturw type ext2 (rw,noatime) none on /oldroot/mnt/asturo type tmpfs (ro) 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) none on /var type tmpfs (rw) none on /tmp type tmpfs (rw) none on /sys type sysfs (rw) usbfs on /proc/bus/usb type usbfs (rw) none on /dev/pts type devpts (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) I should say that this is the CF card I was having problems wiping. What is wrong? Thanks Tom -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ 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.