[Astlinux-users] Astlinux 0.6.3 Some strange issues please help
Hi All, I finally took the plunge and installed the net5501 img onto a 1 GB CF, which runs on an Alix1c board I have experience the following. When I try to run create UnionFS I with the following method. pbx ~ # fdisk /dev/hda The number of cylinders for this disk is set to 1986. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 2 First cylinder (261-1986, default 261): 261 Last cylinder or +size or +sizeM or +sizeK (261-1986, default 1986): +128M Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table * I get the error below and the whole system hangs nothing happens even if I leave it for an hour. fdisk: WARNING: rereading partition table failed, kernel still uses old table: Device or resource busy * The only way to get back in i to repower the unit, but then I cannot log into the unit, so I have to format the CF and start all over again. Second attempt. The only way for me to setup UnionFS is this way, I have to unmount the oldroot/cdrom pbx ~ # umount /oldroot/cdrom pbx ~ # fdisk /dev/hda The number of cylinders for this disk is set to 1986. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 2 Partition 2 is already defined, delete it before re-adding Command (m for help): d Partition number (1-4): 2 Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 2 First cylinder (261-1986, default 261): 261 Last cylinder or +size or +sizeM or +sizeK (261-1986, default 1986): +128M Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table pbx ~ # genunion /dev/hda2 This script will automatically create a read/write filesystem to store your AstLinux configuration. THIS SCRIPT WILL DESTROY EVERYTHING ON /dev/hda2 ARE YOU SURE YOU WANT TO CONTINUE? Please type yes to continue Are you sure? : yes WARNING: You already have a filesystem with the label ASTURW This could confuse AstLinux when it boots. I hope you know what you are doing... Press enter to continue Creating filesystem... Filesystem Created. On new systems you can optionally use unionfs instead of they key disk. To create the appropriate file structure, type yes. If you have an existing key disk and want to migrate your key disk settings to this new unionfs partition, execute movekd /dev/hda2 after this script exits. To create a new key disk structure on your new unionfs partition, type yes followed by the Enter key. Press any other key to exit. If you are new to Astlinux, you will want to say yes. Are you sure? : yes Copying files to /dev/hda2 Please reboot now or run movekd to migrate an existing key disk to your unionfs partition pbx ~ # reboot +++ This method gets it all working ok but my TDM card with 2xFXO are not detected, how do I get it working, as the asterisk gui does not show the Analog card as well. Appreciate your help Cheers Cleve Jansen -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ 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.6.3 Some strange issues please help
Hi Cleve When you are trying to login, which account and password are you using. The default root password after a clean installation is astlinux. As far as your TDM card goes , have you set the ZAPMODS variable in /mnt/kd/rc.conf ? Have you setup the configuration the card for the (assuming you are using ZAP rather than DAHDI) in /mnt/kd/zapatel.conf and /mnt/kd/asterisk/zapata.conf. Mart Cleveland Electronic Services wrote: Hi All, I finally took the plunge and installed the net5501 img onto a 1 GB CF, which runs on an Alix1c board I have experience the following. When I try to run create UnionFS I with the following method. pbx ~ # fdisk /dev/hda The number of cylinders for this disk is set to 1986. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 2 First cylinder (261-1986, default 261): 261 Last cylinder or +size or +sizeM or +sizeK (261-1986, default 1986): +128M Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table * I get the error below and the whole system hangs nothing happens even if I leave it for an hour. *“fdisk: WARNING: rereading partition table failed, kernel still uses old table: Device or resource busy”* * The only way to get back in i to repower the unit, but then I cannot log into the unit, so I have to format the CF and start all over again. Second attempt. The only way for me to setup UnionFS is this way, I have to unmount the oldroot/cdrom pbx ~ # umount /oldroot/cdrom pbx ~ # fdisk /dev/hda The number of cylinders for this disk is set to 1986. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 2 Partition 2 is already defined, delete it before re-adding Command (m for help): d Partition number (1-4): 2 Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 2 First cylinder (261-1986, default 261): 261 Last cylinder or +size or +sizeM or +sizeK (261-1986, default 1986): +128M Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table pbx ~ # genunion /dev/hda2 This script will automatically create a read/write filesystem to store your AstLinux configuration. THIS SCRIPT WILL DESTROY EVERYTHING ON /dev/hda2 ARE YOU SURE YOU WANT TO CONTINUE? Please type yes to continue Are you sure? : yes WARNING: You already have a filesystem with the label ASTURW This could confuse AstLinux when it boots. I hope you know what you are doing... Press enter to continue Creating filesystem... Filesystem Created. On new systems you can optionally use unionfs instead of they key disk. To create the appropriate file structure, type yes. If you have an existing key disk and want to migrate your key disk settings to this new unionfs partition, execute movekd /dev/hda2 after this script exits. To create a new key disk structure on your new unionfs partition, type yes followed by the Enter key. Press any other key to exit. If you are new to Astlinux, you will want to say yes. Are you sure? : yes Copying files to /dev/hda2 Please reboot now or run movekd to migrate an existing key disk to your unionfs partition pbx ~ # reboot +++ This method gets it all working ok but my TDM card with 2xFXO are not detected, how do I get it working, as the asterisk gui does not show the Analog card as well. Appreciate your help Cheers *Cleve Jansen* -- Open Source
Re: [Astlinux-users] Astlinux 0.6.3 Some strange issues please help
Hi Cleve to be clear my hardware is a TDM400 with two FXO (Red PSTN line) daughter boards. These settings apply to this configuration. If yours is greatly different then you should investigate some more. Also, I am running in the UK so my settings have been adjusted accordingly, you may have to make further tweaks to fine tune for your locale/country. These should not affect your TDM setup though. 1. /mnt/kd/zaptel.conf. Note no comment lines allowed in this file. My FXOs are in positions 2 and 3 (1 and 4 are empty). Note fxsks is needed for FXO cards - this is not a typo. -- fxsks=2 fxsks=3 loadzone=uk defaultzone=uk 2. /mnt/kd/asterisk/zapata.conf. I'm pretty sure the group= settings are superfluous, but have not been removed from an earlier configuration. Again, we _do_ mean fxs signalling for FXO cards. The channel=2 and channel=3 settings relate to positions 2 and 3 on the TDM card. - ; ; Zapata telephony interface ; ; Configuration file [trunkgroups] [channels] hanguponpolarityswitch=yes cidsignalling=v23 ; Added for UK CLI detection cidstart=polarity ; Added for UK CLI detection ukcallerid = yes ; Added for UK CLI detection sendcalleridafter=2 ; Added for UK CLI detection immediate=no ; as we recieve cli info before not after first ring. context=default usecallerid=yes hidecallerid=no callwaiting=no usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes callreturn=yes echocancel=yes echotraining=yes echocancelwhenbridged=yes rxgain=0.0 txgain=0.0 group=2 callerid=PSTN Line Two PSTN 1 signalling=fxs_ks context=incoming-pstn2 mailbox=779 channel=2 group=3 callerid=PSTN Line One PSTN 1 signalling=fxs_ks context=incoming-pstn1 mailbox=778 channel=3 3. /mnt/kd/rc.conf -- The main change you need is to uncomment : ZAPMODS=wctdm In order that I can address the box from a putty (SSH) session I set the static IP address. It runs behind a domestic ADSL router/hub on 192.168.1.1. I therefore set the following: EXTIP=192.168.1.124 EXTNM=255.255.255.0 EXTGW=192.168.1.1 DNS=192.168.1.1 I also have setup MODOPTS as follows, but I don't think this is necessary, and in some recent versions it did not actually have any effect anyway: MODOPTS=wctdm:opermode=UK wctdm:debug=1 The only other changes I made to rc.conf - which do not affect The TDM card are : DOMAIN=mydomain.com HOSTNAME=mypbx TIMEZONE=GB regards Mart Cleveland Electronic Services wrote: Hi Martin, Thankyou for the very prompt reply, [When you are trying to login, which account and password are you using. The default root password after a clean installation is astlinux.] The problem was that I could not access it via putty or via https://myip nothing happen, the only way I could get it to play was to reformat the CF and reinstall, unmount/ oldroot/cdrom then run fdisk genunion /dev/hda2 and all is sweet again, I can login via putty (root/astlinux) via https://myip (admin/astlinux) [As far as your TDM card goes , have you set the ZAPMODS variable in /mnt/kd/rc.conf ? Have you setup the configuration the card for the (assuming you are using ZAP rather than DAHDI) in /mnt/kd/zapatel.conf and /mnt/kd/asterisk/zapata.conf.] I am a bit lost here as I have not setup anything here, could you please give me assist me what exactly I should be doing here. Cheers Cleve -Original Message- From: Martin Rogers [mailto:fromastlinux-us...@mhr.me.uk] Sent: Sunday, 1 March 2009 8:51 PM To: AstLinux Users Mailing List Subject: Re: [Astlinux-users] Astlinux 0.6.3 Some strange issues please help Hi Cleve When you are trying to login, which account and password are you using. The default root password after a clean installation is astlinux. As far as your TDM card goes , have you set the ZAPMODS variable in /mnt/kd/rc.conf ? Have you setup the configuration the card for the (assuming you are using ZAP rather than DAHDI) in /mnt/kd/zapatel.conf and /mnt/kd/asterisk/zapata.conf. Mart Cleveland Electronic Services wrote: Hi All, I finally took the plunge and installed the net5501 img onto a 1 GB CF, which runs on an Alix1c board I have experience the following. When I try to run create UnionFS I with the following method. pbx ~ # fdisk /dev/hda The number of cylinders for this disk is set to 1986. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 2 First cylinder (261-1986, default 261): 261 Last
Re: [Astlinux-users] Astlinux 0.6.3 Some strange issues please help
Hi Cleve I would not necessarily expect to see zaptel.conf, but in the past the zaptata.conf has been present. Do you see any errors during startup? What happens if you run ztcfg -vv One thing which might be different is that I based my rc.conf on my 0.6.2 rc.conf, not the one which came with 0.6.3. But I am really clutching at straws here. Can anyone comment on whether DAHDI has actually meant to have replaced ZAP in 0.6.3 and the only reason it runs for me is that my rc.conf is 0.6.2 based ? regards Mart Cleveland Electronic Services wrote: Hi Mart, Thanks for your persistence, I have checked and rechecked the settings and they are all the same as your except the following. My red daughter boards are on position 1 2 which I have mage the changes to reflect this. What has got me totally stuffed is the following, 1.The mnt/kd/zaptel.conf mnt/kd/asterisk/zapata.conf files were not there I had to manually create them. On a new install do I have to run a command or something? 2.Does you analogue cards show up on the asterisk gui? I am at a loss as to why this is not working. Cleve Jansen -Original Message- From: Martin Rogers [mailto:fromastlinux-us...@mhr.me.uk] Sent: Sunday, 1 March 2009 10:44 PM To: AstLinux Users Mailing List Subject: Re: [Astlinux-users] Astlinux 0.6.3 Some strange issues please help Not that this affect the operation, but callerid=PSTN Line Two PSTN 1 should be callerid=PSTN Line Two PSTN 2 That will teach me to try and change the original settings to something more intutive :-) Mart Martin Rogers wrote: Hi Cleve to be clear my hardware is a TDM400 with two FXO (Red PSTN line) daughter boards. These settings apply to this configuration. If yours is greatly different then you should investigate some more. Also, I am running in the UK so my settings have been adjusted accordingly, you may have to make further tweaks to fine tune for your locale/country. These should not affect your TDM setup though. 1. /mnt/kd/zaptel.conf. Note no comment lines allowed in this file. My FXOs are in positions 2 and 3 (1 and 4 are empty). Note fxsks is needed for FXO cards - this is not a typo. -- fxsks=2 fxsks=3 loadzone=uk defaultzone=uk 2. /mnt/kd/asterisk/zapata.conf. I'm pretty sure the group= settings are superfluous, but have not been removed from an earlier configuration. Again, we _do_ mean fxs signalling for FXO cards. The channel=2 and channel=3 settings relate to positions 2 and 3 on the TDM card. - ; ; Zapata telephony interface ; ; Configuration file [trunkgroups] [channels] hanguponpolarityswitch=yes cidsignalling=v23 ; Added for UK CLI detection cidstart=polarity ; Added for UK CLI detection ukcallerid = yes ; Added for UK CLI detection sendcalleridafter=2 ; Added for UK CLI detection immediate=no ; as we recieve cli info before not after first ring. context=default usecallerid=yes hidecallerid=no callwaiting=no usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes callreturn=yes echocancel=yes echotraining=yes echocancelwhenbridged=yes rxgain=0.0 txgain=0.0 group=2 callerid=PSTN Line Two PSTN 1 signalling=fxs_ks context=incoming-pstn2 mailbox=779 channel=2 group=3 callerid=PSTN Line One PSTN 1 signalling=fxs_ks context=incoming-pstn1 mailbox=778 channel=3 3. /mnt/kd/rc.conf -- The main change you need is to uncomment : ZAPMODS=wctdm In order that I can address the box from a putty (SSH) session I set the static IP address. It runs behind a domestic ADSL router/hub on 192.168.1.1. I therefore set the following: EXTIP=192.168.1.124 EXTNM=255.255.255.0 EXTGW=192.168.1.1 DNS=192.168.1.1 I also have setup MODOPTS as follows, but I don't think this is necessary, and in some recent versions it did not actually have any effect anyway: MODOPTS=wctdm:opermode=UK wctdm:debug=1 The only other changes I made to rc.conf - which do not affect The TDM card are : DOMAIN=mydomain.com HOSTNAME=mypbx TIMEZONE=GB regards Mart Cleveland Electronic Services wrote: Hi Martin, Thankyou for the very prompt reply, [When you are trying to login, which account and password are you using. The default root password after a clean installation is astlinux.] The problem was that I could not access it via putty or via https://myip nothing happen, the only way I could get it to play was to reformat the CF and reinstall, unmount/ oldroot/cdrom then run fdisk genunion /dev/hda2 and all is sweet again, I can login via putty (root/astlinux) via https://myip (admin/astlinux) [As far as your TDM card goes , have you set the ZAPMODS variable in /mnt/kd/rc.conf ? Have you setup the configuration the card for the (assuming
Re: [Astlinux-users] Updating
Hi Phil in the past I have done this process from a command prompt by first copying the contents of the tar file onto a USB stick and then mounting this device on the target host, and simply copying the files across to the os directory. regards Mart Phil McKerracher wrote: Sorry to be thick, but could someone expand the steps to upgrade to 0.6.3, using only a command prompt on my AstLinux device? Or better still create a batch file that just does it? I'm starting from a standard 0.6.2 image on a CF card with plenty of room. For example, in the instructions below, step 1 is clear (does it matter which directory I'm in to start with, though?) but step 2 presumably involves ftp or wget and finding a suitable writeable location on the CF card. 1. 'mount -o remount,rw /oldroot/cdrom' 2. Download the new files. The upgrade files would be astlinux-XXX.tar.gz. For example, if the release is 0.6.0, the files will be distributed as astlinux-0.6.0-ARCH.tar.gz. You could download these files onto a client PC or on your AstLinux device (in an area with enough free space) 3. Expand the archive: tar -xzvf astlinux-0.6.0-ARCH.tar.gz 4. cd astlinux-0.6.0-ARCH; cp * /oldroot/cdrom/os (if downloaded and decompressed on your client PC, you'll want to use a tool to scp the files to the AstLinux device. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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.6.3 Some strange issues please help
Hi Mart, Thanks for your persistence, I have checked and rechecked the settings and they are all the same as your except the following. My red daughter boards are on position 1 2 which I have mage the changes to reflect this. What has got me totally stuffed is the following, 1.The mnt/kd/zaptel.conf mnt/kd/asterisk/zapata.conf files were not there I had to manually create them. On a new install do I have to run a command or something? 2.Does you analogue cards show up on the asterisk gui? I am at a loss as to why this is not working. Cleve Jansen -Original Message- From: Martin Rogers [mailto:fromastlinux-us...@mhr.me.uk] Sent: Sunday, 1 March 2009 10:44 PM To: AstLinux Users Mailing List Subject: Re: [Astlinux-users] Astlinux 0.6.3 Some strange issues please help Not that this affect the operation, but callerid=PSTN Line Two PSTN 1 should be callerid=PSTN Line Two PSTN 2 That will teach me to try and change the original settings to something more intutive :-) Mart Martin Rogers wrote: Hi Cleve to be clear my hardware is a TDM400 with two FXO (Red PSTN line) daughter boards. These settings apply to this configuration. If yours is greatly different then you should investigate some more. Also, I am running in the UK so my settings have been adjusted accordingly, you may have to make further tweaks to fine tune for your locale/country. These should not affect your TDM setup though. 1. /mnt/kd/zaptel.conf. Note no comment lines allowed in this file. My FXOs are in positions 2 and 3 (1 and 4 are empty). Note fxsks is needed for FXO cards - this is not a typo. -- fxsks=2 fxsks=3 loadzone=uk defaultzone=uk 2. /mnt/kd/asterisk/zapata.conf. I'm pretty sure the group= settings are superfluous, but have not been removed from an earlier configuration. Again, we _do_ mean fxs signalling for FXO cards. The channel=2 and channel=3 settings relate to positions 2 and 3 on the TDM card. - ; ; Zapata telephony interface ; ; Configuration file [trunkgroups] [channels] hanguponpolarityswitch=yes cidsignalling=v23 ; Added for UK CLI detection cidstart=polarity ; Added for UK CLI detection ukcallerid = yes ; Added for UK CLI detection sendcalleridafter=2 ; Added for UK CLI detection immediate=no ; as we recieve cli info before not after first ring. context=default usecallerid=yes hidecallerid=no callwaiting=no usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes callreturn=yes echocancel=yes echotraining=yes echocancelwhenbridged=yes rxgain=0.0 txgain=0.0 group=2 callerid=PSTN Line Two PSTN 1 signalling=fxs_ks context=incoming-pstn2 mailbox=779 channel=2 group=3 callerid=PSTN Line One PSTN 1 signalling=fxs_ks context=incoming-pstn1 mailbox=778 channel=3 3. /mnt/kd/rc.conf -- The main change you need is to uncomment : ZAPMODS=wctdm In order that I can address the box from a putty (SSH) session I set the static IP address. It runs behind a domestic ADSL router/hub on 192.168.1.1. I therefore set the following: EXTIP=192.168.1.124 EXTNM=255.255.255.0 EXTGW=192.168.1.1 DNS=192.168.1.1 I also have setup MODOPTS as follows, but I don't think this is necessary, and in some recent versions it did not actually have any effect anyway: MODOPTS=wctdm:opermode=UK wctdm:debug=1 The only other changes I made to rc.conf - which do not affect The TDM card are : DOMAIN=mydomain.com HOSTNAME=mypbx TIMEZONE=GB regards Mart Cleveland Electronic Services wrote: Hi Martin, Thankyou for the very prompt reply, [When you are trying to login, which account and password are you using. The default root password after a clean installation is astlinux.] The problem was that I could not access it via putty or via https://myip nothing happen, the only way I could get it to play was to reformat the CF and reinstall, unmount/ oldroot/cdrom then run fdisk genunion /dev/hda2 and all is sweet again, I can login via putty (root/astlinux) via https://myip (admin/astlinux) [As far as your TDM card goes , have you set the ZAPMODS variable in /mnt/kd/rc.conf ? Have you setup the configuration the card for the (assuming you are using ZAP rather than DAHDI) in /mnt/kd/zapatel.conf and /mnt/kd/asterisk/zapata.conf.] I am a bit lost here as I have not setup anything here, could you please give me assist me what exactly I should be doing here. Cheers Cleve -Original Message- From: Martin Rogers [mailto:fromastlinux-us...@mhr.me.uk] Sent: Sunday, 1 March 2009 8:51 PM To: AstLinux Users Mailing List Subject: Re: [Astlinux-users] Astlinux 0.6.3 Some strange issues please help Hi Cleve When you are trying to login, which account and password are you using.
Re: [Astlinux-users] Astlinux 0.6.3 Some strange issues TDM card not working
Hi Mart, Finally I have a breakthrough of sorts problem description below, I had to compare some of my other unflavoured Asterisk installations notes here is what I had to get it working, hope this helps someone else. I had to run the following at root. pbx ~ # service zaptel start No Zap hardware - loading ztdummy pbx ~ # modprobe zaptel you should not have any errors or output pbx ~ # lsmod | grep zaptel output as follows zaptel196516 1 ztdummy hdlc6180 1 zaptel ppp_generic25428 1 zaptel - pbx ~ # modprobe ztdummy you should not have any errors or output - pbx ~ # lsmod | grep ztdummy output as follows ztdummy 4680 0 zaptel196516 1 ztdummy rtc12336 1 ztdummy - pbx ~ # modprobe wctdm you should not have any errors or output - pbx ~ # /sbin/ztcfg -vv * Notice: Configuration file is /etc/zaptel.conf line 0: Unable to open configuration file '/etc/zaptel.conf' 1 error(s) detected What the above told me was that I did not have zaptel.conf (it was in mnt/kd) in the right place, I moved zaptel.conf to (/etc/zaptel.conf) And ran the command again. pbx ~ # /sbin/ztcfg -vv output as follows Zaptel Version: 1.4.12.1 Echo Canceller: MG2 Configuration == Channel map: Channel 01: FXS Kewlstart (Default) (Slaves: 01) Channel 02: FXS Kewlstart (Default) (Slaves: 02) 2 channels to configure. ++ Works ok till you do a reboot and then things all go pear shape again, I to rerun he above wonder what's going on here. Cheers Cleve Jansen -Original Message- From: Martin Rogers [mailto:fromastlinux-us...@mhr.me.uk] Sent: Monday, 2 March 2009 12:00 AM To: AstLinux Users Mailing List Subject: Re: [Astlinux-users] Astlinux 0.6.3 Some strange issues please help Hi Cleve I would not necessarily expect to see zaptel.conf, but in the past the zaptata.conf has been present. Do you see any errors during startup? What happens if you run ztcfg -vv One thing which might be different is that I based my rc.conf on my 0.6.2 rc.conf, not the one which came with 0.6.3. But I am really clutching at straws here. Can anyone comment on whether DAHDI has actually meant to have replaced ZAP in 0.6.3 and the only reason it runs for me is that my rc.conf is 0.6.2 based ? regards Mart Cleveland Electronic Services wrote: Hi Mart, Thanks for your persistence, I have checked and rechecked the settings and they are all the same as your except the following. My red daughter boards are on position 1 2 which I have mage the changes to reflect this. What has got me totally stuffed is the following, 1.The mnt/kd/zaptel.conf mnt/kd/asterisk/zapata.conf files were not there I had to manually create them. On a new install do I have to run a command or something? 2.Does you analogue cards show up on the asterisk gui? I am at a loss as to why this is not working. Cleve Jansen -Original Message- From: Martin Rogers [mailto:fromastlinux-us...@mhr.me.uk] Sent: Sunday, 1 March 2009 10:44 PM To: AstLinux Users Mailing List Subject: Re: [Astlinux-users] Astlinux 0.6.3 Some strange issues please help Not that this affect the operation, but callerid=PSTN Line Two PSTN 1 should be callerid=PSTN Line Two PSTN 2 That will teach me to try and change the original settings to something more intutive :-) Mart Martin Rogers wrote: Hi Cleve to be clear my hardware is a TDM400 with two FXO (Red PSTN line) daughter boards. These settings apply to this configuration. If yours is greatly different then you should investigate some more. Also, I am running in the UK so my settings have been adjusted accordingly, you may have to make further tweaks to fine tune for your locale/country. These should not affect your TDM setup though. 1. /mnt/kd/zaptel.conf. Note no comment lines allowed in this file. My FXOs are in positions 2 and 3 (1 and 4 are empty). Note fxsks is needed for FXO cards - this is not a typo. -- fxsks=2 fxsks=3 loadzone=uk defaultzone=uk 2. /mnt/kd/asterisk/zapata.conf. I'm pretty sure the group= settings are superfluous, but have not been removed from an earlier configuration. Again, we _do_ mean fxs signalling for FXO cards. The channel=2 and channel=3 settings relate to positions 2 and 3 on the TDM card. - ; ; Zapata telephony interface ; ;
Re: [Astlinux-users] Astlinux 0.6.3 Some strange issues TDM card not working
Some time ago I struggled with this as well, and found, as you did, that the file had to be moved to /etc But at startup, have you uncommented the reference in rc.conf It seems, through this transition period from 4.8 to .5 to .6.x that there are still some lines in rc.conf that are used, while others are ignored or over ridden. To those of us who do not sleep and drink Astlinux, this can become very confusing. In the future, would it be possible for rc.conf to either completely go away, or if it is necessary that obsolete lines be removed. Also, for those of us not using this as a router as well, simply an Asterisk machine, the references needed for a multi port Ethernet machine can result in even more confusion. I have yet to find/make time to move to 0.6.3, have mostly worked with the now considered obsolete 0.5, managed toget one machine up and running with 0.6.1 and a single port T1 card on an HP thin Client T5720, and I have to say, one agein : NICE JOB! Especially love the web interface, which seems to evolve at lightning speed. Final comment in my ramble: I bought an ALIX board, 1d, and am singularly unimpressed with it. Perhaps the units with dual or triple Ethernet ports for use as a router are OK, but this one has poor video, and though I was able to boot with a CF card created on a thin client, I was unable to boot with my USB stick DSL to then create a CF card. The DC adapter connection used a larger pin than any of the supplies I had, so I had to change it. The small case is well made, though this case makes the PCI slot unusable. For pure Asterisk/Astlinux purposes, any of the HP thin clients with a large flash is certainly, IMO, a better choice. Easily confused, i am: John Novack Cleveland Electronic Services wrote: Hi Mart, Finally I have a breakthrough of sorts problem description below, I had to compare some of my other unflavoured Asterisk installations notes here is what I had to get it working, hope this helps someone else. I had to run the following at root. pbx ~ # service zaptel start No Zap hardware - loading ztdummy pbx ~ # modprobe zaptel you should not have any errors or output pbx ~ # lsmod | grep zaptel output as follows zaptel196516 1 ztdummy hdlc6180 1 zaptel ppp_generic25428 1 zaptel - pbx ~ # modprobe ztdummy you should not have any errors or output - pbx ~ # lsmod | grep ztdummy output as follows ztdummy 4680 0 zaptel196516 1 ztdummy rtc12336 1 ztdummy - pbx ~ # modprobe wctdm you should not have any errors or output - pbx ~ # /sbin/ztcfg -vv * Notice: Configuration file is /etc/zaptel.conf line 0: Unable to open configuration file '/etc/zaptel.conf' 1 error(s) detected What the above told me was that I did not have zaptel.conf (it was in mnt/kd) in the right place, I moved zaptel.conf to (/etc/zaptel.conf) And ran the command again. pbx ~ # /sbin/ztcfg -vv output as follows Zaptel Version: 1.4.12.1 Echo Canceller: MG2 Configuration == Channel map: Channel 01: FXS Kewlstart (Default) (Slaves: 01) Channel 02: FXS Kewlstart (Default) (Slaves: 02) 2 channels to configure. ++ Works ok till you do a reboot and then things all go pear shape again, I to rerun he above wonder what's going on here. Cheers Cleve Jansen -Original Message- From: Martin Rogers [mailto:fromastlinux-us...@mhr.me.uk] Sent: Monday, 2 March 2009 12:00 AM To: AstLinux Users Mailing List Subject: Re: [Astlinux-users] Astlinux 0.6.3 Some strange issues please help Hi Cleve I would not necessarily expect to see zaptel.conf, but in the past the zaptata.conf has been present. Do you see any errors during startup? What happens if you run ztcfg -vv One thing which might be different is that I based my rc.conf on my 0.6.2 rc.conf, not the one which came with 0.6.3. But I am really clutching at straws here. Can anyone comment on whether DAHDI has actually meant to have replaced ZAP in 0.6.3 and the only reason it runs for me is that my rc.conf is 0.6.2 based ? regards Mart Cleveland Electronic Services wrote: Hi Mart, Thanks for your persistence, I have checked and rechecked the settings and they are all the same as your except the following. My red daughter boards are on position 1 2 which I have mage the changes to reflect this. What has got me totally stuffed is the following, 1.The mnt/kd/zaptel.conf mnt/kd/asterisk/zapata.conf files were not there I had to
Re: [Astlinux-users] Updating
Also in 0.6.3 the /oldroot/cdrom directory is no longer remounted in astlinux after the pivot. Michael Keuter wrote: Sorry to be thick, but could someone expand the steps to upgrade to 0.6.3, using only a command prompt on my AstLinux device? Or better still create a batch file that just does it? I'm starting from a standard 0.6.2 image on a CF card with plenty of room. For example, in the instructions below, step 1 is clear (does it matter which directory I'm in to start with, though?) but step 2 presumably involves ftp or wget and finding a suitable writeable location on the CF card. 1. 'mount -o remount,rw /oldroot/cdrom' 2. Download the new files. The upgrade files would be astlinux-XXX.tar.gz. For example, if the release is 0.6.0, the files will be distributed as astlinux-0.6.0-ARCH.tar.gz. You could download these files onto a client PC or on your AstLinux device (in an area with enough free space) 3. Expand the archive: tar -xzvf astlinux-0.6.0-ARCH.tar.gz 4. cd astlinux-0.6.0-ARCH; cp * /oldroot/cdrom/os (if downloaded and decompressed on your client PC, you'll want to use a tool to scp the files to the AstLinux device. -- Phil McKerracher www.mckerracher.net Hi Phil, since Astlinux 0.6.2 you can also upgrade via (Web-GUI and) command line: /usr/sbin/upgrade-run-image check URL /usr/sbin/upgrade-run-image upgrade URL Michael -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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] Updating
On Mar 1, 2009, at 9:41 AM, Justin Coffi wrote: Also in 0.6.3 the /oldroot/cdrom directory is no longer remounted in astlinux after the pivot. The /oldroot/cdrom directory (vfat partition) is automatically remounted in 0.6.3, but this requires the RUNNIX vfat partition to have a label of RUNNIX. The arch.img.gz images (the ones you 'dd' to a CF card) are created the the proper vfat label, true for 0.6.3, 0.6.2 and possibly others. Lonnie Michael Keuter wrote: Sorry to be thick, but could someone expand the steps to upgrade to 0.6.3, using only a command prompt on my AstLinux device? Or better still create a batch file that just does it? I'm starting from a standard 0.6.2 image on a CF card with plenty of room. For example, in the instructions below, step 1 is clear (does it matter which directory I'm in to start with, though?) but step 2 presumably involves ftp or wget and finding a suitable writeable location on the CF card. 1. 'mount -o remount,rw /oldroot/cdrom' 2. Download the new files. The upgrade files would be astlinux-XXX.tar.gz. For example, if the release is 0.6.0, the files will be distributed as astlinux-0.6.0-ARCH.tar.gz. You could download these files onto a client PC or on your AstLinux device (in an area with enough free space) 3. Expand the archive: tar -xzvf astlinux-0.6.0-ARCH.tar.gz 4. cd astlinux-0.6.0-ARCH; cp * /oldroot/cdrom/os (if downloaded and decompressed on your client PC, you'll want to use a tool to scp the files to the AstLinux device. -- Phil McKerracher www.mckerracher.net Hi Phil, since Astlinux 0.6.2 you can also upgrade via (Web-GUI and) command line: /usr/sbin/upgrade-run-image check URL /usr/sbin/upgrade-run-image upgrade URL Michael -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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 . -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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 . -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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] Updating
Michael Keuter wrote: Sorry to be thick, but could someone expand the steps to upgrade to 0.6.3, using only a command prompt on my AstLinux device? Or better still create a batch file that just does it? I'm starting from a standard 0.6.2 image on a CF card with plenty of room. Hi Phil, since Astlinux 0.6.2 you can also upgrade via (Web-GUI and) command line: /usr/sbin/upgrade-run-image check URL /usr/sbin/upgrade-run-image upgrade URL This last set of commands are the easiest and supported method of upgrading. All others require manual steps that should not be done unless you have a good reason. The documentation will be updated on the website shortly. The other information is correct, but just more involved. Darrick -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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] 0.6.3 dnsmasq (maybe) problems.
I have a couple of problems that has just started happening with my migration from 0.6.2 to 0.6.3 and likely caused by the move to arno firewall. I have a port forward set up to forward requests to port 88 from the external interface to a server on my LAN. When connecting from outside my home this works just fine. However, if I am on the LAN (inside my home) and I try and connect to this server by using a URL that resolves to the external IP address, then it fails to connect. This used to work. Am I missing some configuration setting? Also, DNS resolution is failing for the domain that I configure in the 'network' tab of the web interface. For example, if I set hostname to 'pbx' and domain to 'me.dyndns.org' then any attempt to resolve the URL ' me.dyndns.org' from devices connected to the LAN fails... nslookup says can't find me.dyndns.org : Non-existant domain It should resolve (and does if I replace the domain with something bogus). These both used to work on 0.6.2 and are now broken. I consider them critical bugs (or misconfiguration problems). Thanks David -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ 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] Updating
On Mar 1, 2009, at 10:53 AM, Darrick Hartman wrote: Michael Keuter wrote: Sorry to be thick, but could someone expand the steps to upgrade to 0.6.3, using only a command prompt on my AstLinux device? Or better still create a batch file that just does it? I'm starting from a standard 0.6.2 image on a CF card with plenty of room. Hi Phil, since Astlinux 0.6.2 you can also upgrade via (Web-GUI and) command line: /usr/sbin/upgrade-run-image check URL /usr/sbin/upgrade-run-image upgrade URL This last set of commands are the easiest and supported method of upgrading. All others require manual steps that should not be done unless you have a good reason. The documentation will be updated on the website shortly. The other information is correct, but just more involved. Darrick Yes, and the URL for the current official release is http://mirror.astlinux.org/firmware So... $ upgrade-run-image check http://mirror.astlinux.org/firmware $ upgrade-run-image upgrade http://mirror.astlinux.org/firmware then, if all went well... $ reboot This is the same shell command the web interface uses from the System tab. Lonnie -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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] Documentation for Zaptel and other functions (was TDM card not working)
Justin Coffi wrote: Try creating a symbolic link from /etc/zaptel.conf to /mnt/kd/zaptel.conf and leave your zaptel.conf on the keydisk. This should fix things. The symbolic link was there to start with. If you deleted it and created a new file overwriting, it's possible to 'undelete' the deleted symbolic link by removing the file that's on the unionfs partition which is overwriting the symbolic link. We really are trying to get the documentation updated. I've had a few different people who have offered to do documentation on various parts of Astlinux. To date no one has actually produced anything. I'll try to update the page with a few topics, but it may be helpful to have a list of requested topics. On a short list, I have the following: Upgrading (new process) Installing Zaptel (sometime to be dahdi) hardware Installing Sangoma hardware Installing ISDN (using mISDN v1) Best practices guide? Any other topics people can thing of? Darrick -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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] Web interface feature request
Lonnie, A couple of things that I think would be useful additions to the web interface... 1) a restore from backup (upload a previous tar.gz, optionally unpack it to restore previous configuration). With due warnings that perhaps a backup of current configuration should be taken before restoring to previous version! And, 2) a choice to halt the system in addition to a reboot. I need this to prep for removing a CF card. This should definitely have one (or more) warnings as an accidental halt on a remotely managed system might be a problem ! David -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ 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] 0.6.3 dnsmasq (maybe) problems.
Yes, I was using STATHOSTS to resolve the URL that I have forwarded to an internal server... stathosts was setup with the actual internal IP address. The Configure DNS Hosts sub tab should resolve that. I did not have an entry for my.dyndns.org in the old setup, but it looks like I need to set it up now to point to 192.168.1.1, easy enough. I am having some performance issues with my build of 0.6.3 (geni586-serial) on my Alix 2c3 so I have gone back to 0.6.2 on my production system while I build a net5501 version of 0.6.3 in case something is not-quite compatible between geni586 and Alix (I have always used net5501 versions up-until this point). David On Sun, Mar 1, 2009 at 4:00 PM, Lonnie Abelbeck li...@lonnie.abelbeck.comwrote: David, Did you use STATHOSTS before... if so, the web interface now edits the STATICHOSTS variable, and is saved in the /mnt/kd/rc.conf.d/gui.dnshosts.conf file. You may choose to redefine your local host names from the Network - Configure DNS Hosts sub-tab. Lonnie On Mar 1, 2009, at 2:42 PM, David Kerr wrote: Darrick, Thanks... that is probably the problem. On Sun, Mar 1, 2009 at 1:43 PM, Darrick Hartman dhart...@djhsolutions.com wrote: David Kerr wrote: I have a couple of problems that has just started happening with my migration from 0.6.2 to 0.6.3 and likely caused by the move to arno firewall. I have a port forward set up to forward requests to port 88 from the external interface to a server on my LAN. When connecting from outside my home this works just fine. However, if I am on the LAN (inside my home) and I try and connect to this server by using a URL that resolves to the external IP address, then it fails to connect. This used to work. Am I missing some configuration setting? Also, DNS resolution is failing for the domain that I configure in the 'network' tab of the web interface. For example, if I set hostname to 'pbx' and domain to 'me.dyndns.org http://me.dyndns.org' then any attempt to resolve the URL 'me.dyndns.org http://me.dyndns.org' from devices connected to the LAN fails... nslookup says can't find me.dyndns.org http://me.dyndns.org : Non-existant domain It should resolve (and does if I replace the domain with something bogus). These both used to work on 0.6.2 and are now broken. I consider them critical bugs (or misconfiguration problems). David, STATHOSTS changed to STATICHOSTS to accommodate some additional features. I believe this was clearly stated in the changelog. It's actually the first thing noted in the changelog. https://sourceforge.net/project/shownotes.php?group_id=170462release_id=663252 This should clear things up. We try to keep disruptive changes to a minimum, but sometimes they are necessary to add additional functionality. Darrick -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ 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. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ 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] Documentation for Zaptel and other functions (was TDM card not working)
Hi Justin Darrick, Thanks for your help, I still cant get this to work, when I reboot the machine it does not detect my TDM card I have to run modprobe wctdm at root to get it started hope you could send me some answers. [Justin Coffi wrote: Try creating a symbolic link from /etc/zaptel.conf to /mnt/kd/zaptel.conf and leave your zaptel.conf on the keydisk. This should fix things.] I tried this but still no go at reboot I have to run modprobe wctdm to get it to work. [The symbolic link was there to start with. If you deleted it and created a new file overwriting, it's possible to 'undelete' the deleted symbolic link by removing the file that's on the unionfs partition which is overwriting the symbolic link.] Darrick, As I indicated on a fresh install there was absolutely nothing in the following files. /etc/asterisk no Zapata.conf /etc no zaptel.conf or symlink either /mnt/kd no zaptel.conf file This is what totally threw me off the trail, so what I did was using my experiences in installing plain asterisk I created those files manually, but did not realise for some reason the Astlinux distro does not take kindly to comments #. This I only discovered since the assistance from Martin Rogers, when he posted his configurations. I have created the necessary sym link, but still at powerup or reboot the TDM card is not detected and I have to manually run modprobe wctdm for some reason wherever the script is to probe for this card and powerup/bootup/reboot is not doing its job. Another thing I noticed also after a reboot/powerup if you use the Asterisk wed gui and click on the detect hardware tab the page comes up ok and shows no analogue hardware, so if you click on any other tab and go back and click on the detect hardware tab the whole system hangs, you loose your putty connection, https the lot. The only way to get it back is a power recycle. Cleve Jansen -Original Message- From: Darrick Hartman [mailto:dhart...@djhsolutions.com] Sent: Monday, 2 March 2009 5:52 AM To: AstLinux Users Mailing List Subject: [Astlinux-users] Documentation for Zaptel and other functions (was TDM card not working) Justin Coffi wrote: Try creating a symbolic link from /etc/zaptel.conf to /mnt/kd/zaptel.conf and leave your zaptel.conf on the keydisk. This should fix things. The symbolic link was there to start with. If you deleted it and created a new file overwriting, it's possible to 'undelete' the deleted symbolic link by removing the file that's on the unionfs partition which is overwriting the symbolic link. We really are trying to get the documentation updated. I've had a few different people who have offered to do documentation on various parts of Astlinux. To date no one has actually produced anything. I'll try to update the page with a few topics, but it may be helpful to have a list of requested topics. On a short list, I have the following: Upgrading (new process) Installing Zaptel (sometime to be dahdi) hardware Installing Sangoma hardware Installing ISDN (using mISDN v1) Best practices guide? Any other topics people can thing of? Darrick -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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] 0.6.3 dnsmasq (maybe) problems.
I've similar issues. www.redfish-solutions.com resolves to 66.232.79.143. But from behind that device, it has a local private address: NAT_FORWARD_TCP= 80192.168.1.13 ... as above in my /etc/arno-iptables-firewall/firewall.conf file (note NAT_TCP_FORWARD is renamed NAT_FORWARD_TCP... don't get bitten by this). So I also put: STATICHOSTS= ... mail.redfish-solutions.com www.redfish-solutions.com ftp.redfish-solutions.com mail~192.168.1.3~00:11:09:04:D5:11 ... into my /mnt/kd/rc.conf file (note the addition of the MAC address for dnsmasq, and that the name has changed to reflect a new format). Then when my internal clients try to resolve www.redfish-solutions.com it goes to the correct internal address (aka split horizon DNS). Try resolving pbx.me.dyndns.org and see if that works. -Philip David Kerr wrote: I have a couple of problems that has just started happening with my migration from 0.6.2 to 0.6.3 and likely caused by the move to arno firewall. I have a port forward set up to forward requests to port 88 from the external interface to a server on my LAN. When connecting from outside my home this works just fine. However, if I am on the LAN (inside my home) and I try and connect to this server by using a URL that resolves to the external IP address, then it fails to connect. This used to work. Am I missing some configuration setting? Also, DNS resolution is failing for the domain that I configure in the 'network' tab of the web interface. For example, if I set hostname to 'pbx' and domain to 'me.dyndns.org http://me.dyndns.org' then any attempt to resolve the URL 'me.dyndns.org http://me.dyndns.org' from devices connected to the LAN fails... nslookup says can't find me.dyndns.org http://me.dyndns.org : Non-existant domain It should resolve (and does if I replace the domain with something bogus). These both used to work on 0.6.2 and are now broken. I consider them critical bugs (or misconfiguration problems). Thanks David -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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.6.3 Some strange issues TDM card not working
Philip A. Prindeville wrote: Cleveland Electronic Services wrote: Hi Mart, Finally I have a breakthrough of sorts problem description below, I had to compare some of my other unflavoured Asterisk installations notes here is what I had to get it working, hope this helps someone else. I had to run the following at root. pbx ~ # service zaptel start No Zap hardware - loading ztdummy pbx ~ # modprobe zaptel you should not have any errors or output pbx ~ # lsmod | grep zaptel output as follows zaptel196516 1 ztdummy hdlc6180 1 zaptel ppp_generic25428 1 zaptel - pbx ~ # modprobe ztdummy you should not have any errors or output - pbx ~ # lsmod | grep ztdummy output as follows ztdummy 4680 0 zaptel196516 1 ztdummy rtc12336 1 ztdummy - pbx ~ # modprobe wctdm you should not have any errors or output - pbx ~ # /sbin/ztcfg -vv * Notice: Configuration file is /etc/zaptel.conf line 0: Unable to open configuration file '/etc/zaptel.conf' 1 error(s) detected What the above told me was that I did not have zaptel.conf (it was in mnt/kd) in the right place, I moved zaptel.conf to (/etc/zaptel.conf) And ran the command again. pbx ~ # /sbin/ztcfg -vv output as follows Zaptel Version: 1.4.12.1 Echo Canceller: MG2 Configuration == Channel map: Channel 01: FXS Kewlstart (Default) (Slaves: 01) Channel 02: FXS Kewlstart (Default) (Slaves: 02) 2 channels to configure. ++ Works ok till you do a reboot and then things all go pear shape again, I to rerun he above wonder what's going on here. Cheers Cleve Jansen The correct place *is* /mnt/kd/zaptel.conf. Put the file back. Run: # /etc/init.d/zaptel stop # /etc/init.d/zaptel init This should fix your problem. Normally you would have had to reboot after creating/modifying the /mnt/kd/zaptel.conf file. I just gave you the two magic commands that happen at boot time to install and parse the file. -Philip Doh. And I forgot to preface all of that with: gen-rc-conf after making the edits. -Philip -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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] Documentation for Zaptel and other functions (was TDM card not working)
Hi Darrick, Thanks for the prompt reply, your solution 1. Below worked perfect (now where were you hiding yesterday) I was scratching my head till 3 am this morning, I can now go to bed finally. But I seem to have a new issue now I cannot access my Asterisk GUI when I go http://myip:8088/asterisk/static/config/index.html , I get the following error. Fells like I am opening a can of worms here. Failed to Connect The connection was refused when attempting to contact myip:8088. Though the site seems valid, the browser was unable to establish a connection. * Could the site be temporarily unavailable? Try again later. * Are you unable to browse other sites? Check the computer's network connection. * Is your computer or network protected by a firewall or proxy? Incorrect settings can interfere with Web browsing. [1). You're editing /mnt/kd/rc.conf and had previously used the web interfaced to make some changes (which then creates a directory called /mnt/kd/rc.conf.d/ with several *.conf files). My guess is #1. If that's the case, you need to look in the /mnt/kd/rc.conf.d directory for a file called user.conf. Edit that file and add a line called ZAPMODS=wctdm After you've done that, either reboot (recommended) or do the following: 1). service asterisk stop; service zaptel stop 2). gen-rc-conf 3). service zaptel start; service asterisk start] *** regards Cleve Jansen -Original Message- From: Darrick Hartman [mailto:dhart...@djhsolutions.com] Sent: Monday, 2 March 2009 10:20 AM To: AstLinux Users Mailing List Subject: Re: [Astlinux-users] Documentation for Zaptel and other functions (was TDM card not working) Cleveland Electronic Services wrote: Hi Justin Darrick, Thanks for your help, I still cant get this to work, when I reboot the machine it does not detect my TDM card I have to run modprobe wctdm at root to get it started hope you could send me some answers. [Justin Coffi wrote: Try creating a symbolic link from /etc/zaptel.conf to /mnt/kd/zaptel.conf and leave your zaptel.conf on the keydisk. This should fix things.] I tried this but still no go at reboot I have to run modprobe wctdm to get it to work. [The symbolic link was there to start with. If you deleted it and created a new file overwriting, it's possible to 'undelete' the deleted symbolic link by removing the file that's on the unionfs partition which is overwriting the symbolic link.] Cleve, You have one of a few things going on. 1). You're editing /mnt/kd/rc.conf and had previously used the web interfaced to make some changes (which then creates a directory called /mnt/kd/rc.conf.d/ with several *.conf files). 2). You're editing /etc/rc.conf directly which the header on the file itself warns you is the wrong thing to do. My guess is #1. If that's the case, you need to look in the /mnt/kd/rc.conf.d directory for a file called user.conf. Edit that file and add a line called ZAPMODS=wctdm After you've done that, either reboot (recommended) or do the following: 1). service asterisk stop; service zaptel stop 2). gen-rc-conf 3). service zaptel start; service asterisk start Darrick -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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] Updated documentation
I've updated or created the following pages: Upgrade instructions: http://www.astlinux.org/node/38 Zaptel setup: http://www.astlinux.org/node/43 FAQ: http://www.astlinux.org/node/32 Darrick -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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] /bin/sh: can't access tty: job control turned off ...
I try to install astlinux-0.6.3-geni586.iso to my alix mainboard and i get /bin/sh: can't access tty: job control turned off ... can anyone help me with .. do I have the rioght install iso for alix1d mainboard alix1d = LX800 CPU, 256 MB SDRAM CPU: 433 or 500 MHz AMD Geode LX best regards nedi -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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.6.3 Some strange issues TDM card not working
Cleveland Electronic Services wrote: Hi Philip, Thanks for your reply, I did run what you said at the very beginning and yes it worked, but bombed out when I did a reboot or powerup, the only solution which has been rock solid is what Darrick suggested, I have now done several reboots and powerup to make sure and it works perfect, now waiting for a solution why my Asterisk GUI is not coming up at all. What files do you have in /mnt/kd/asterisk/ ? Did you delete any of those files? I have a clean install (new system) that works just fine. http://192.168.200.112:8088/asterisk/static/config/index.html There may be some problems with the asterisk-gui which is why we don't include a direct link to that from the web interface. Feel free to use it, but don't be surprised if things break. Someone on the list is working on a possible fix which may help out and would be included in a future release. Darrick -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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.6.3 Some strange issues TDM card not working
Hi Philip, Thanks for your reply, I did run what you said at the very beginning and yes it worked, but bombed out when I did a reboot or powerup, the only solution which has been rock solid is what Darrick suggested, I have now done several reboots and powerup to make sure and it works perfect, now waiting for a solution why my Asterisk GUI is not coming up at all. Cheers Cleve Jansen -Original Message- From: Philip A. Prindeville [mailto:philipp_s...@redfish-solutions.com] Sent: Monday, 2 March 2009 10:19 AM To: AstLinux Users Mailing List Subject: Re: [Astlinux-users] Astlinux 0.6.3 Some strange issues TDM card not working Cleveland Electronic Services wrote: Hi Mart, Finally I have a breakthrough of sorts problem description below, I had to compare some of my other unflavoured Asterisk installations notes here is what I had to get it working, hope this helps someone else. I had to run the following at root. pbx ~ # service zaptel start No Zap hardware - loading ztdummy pbx ~ # modprobe zaptel you should not have any errors or output pbx ~ # lsmod | grep zaptel output as follows zaptel196516 1 ztdummy hdlc6180 1 zaptel ppp_generic25428 1 zaptel - pbx ~ # modprobe ztdummy you should not have any errors or output - pbx ~ # lsmod | grep ztdummy output as follows ztdummy 4680 0 zaptel196516 1 ztdummy rtc12336 1 ztdummy - pbx ~ # modprobe wctdm you should not have any errors or output - pbx ~ # /sbin/ztcfg -vv * Notice: Configuration file is /etc/zaptel.conf line 0: Unable to open configuration file '/etc/zaptel.conf' 1 error(s) detected What the above told me was that I did not have zaptel.conf (it was in mnt/kd) in the right place, I moved zaptel.conf to (/etc/zaptel.conf) And ran the command again. pbx ~ # /sbin/ztcfg -vv output as follows Zaptel Version: 1.4.12.1 Echo Canceller: MG2 Configuration == Channel map: Channel 01: FXS Kewlstart (Default) (Slaves: 01) Channel 02: FXS Kewlstart (Default) (Slaves: 02) 2 channels to configure. ++ Works ok till you do a reboot and then things all go pear shape again, I to rerun he above wonder what's going on here. Cheers Cleve Jansen The correct place *is* /mnt/kd/zaptel.conf. Put the file back. Run: # /etc/init.d/zaptel stop # /etc/init.d/zaptel init This should fix your problem. Normally you would have had to reboot after creating/modifying the /mnt/kd/zaptel.conf file. I just gave you the two magic commands that happen at boot time to install and parse the file. -Philip -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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.6.3 Some strange issues TDM card not working
Cleveland Electronic Services wrote: Hi Phillip, What does this do exactly?. gen-rc-conf Read the newly created FAQ :) -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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] /bin/sh: can't access tty: job control turned off ...
All can contribute is a CF card I configured with the 0.5 version works in the 1d. Or at least it boots properly and I can access the web interface and Asterisk is running. John Novack Nedi wrote: I try to install astlinux-0.6.3-geni586.iso to my alix mainboard and i get /bin/sh: can't access tty: job control turned off ... can anyone help me with .. do I have the rioght install iso for alix1d mainboard alix1d = LX800 CPU, 256 MB SDRAM CPU: 433 or 500 MHz AMD Geode LX best regards nedi -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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. -- Dog is my co-pilot -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ 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] Updated documentation
Thanks Darrick, certainly helps to know what some files really do. Can I just draw your attention to just one more thing as to why I have to go about doing what I have to do to get UnionFS to work as per this link (which was my very first post) http://sourceforge.net/mailarchive/forum.php?thread_name=!%26!AAAYAA AAABneuvYbYkZAnTIuaCUoikvCgAAAEHXV5mhM%2BOdOtLrWqo7s8scBAA%3D%3D %40clevelandelectronicservices.comforum_name=astlinux-users Greatly appreciate your assistance. Cleve Jansen -Original Message- From: Darrick Hartman [mailto:dhart...@djhsolutions.com] Sent: Monday, 2 March 2009 11:22 AM To: AstLinux Users Mailing List Subject: [Astlinux-users] Updated documentation I've updated or created the following pages: Upgrade instructions: http://www.astlinux.org/node/38 Zaptel setup: http://www.astlinux.org/node/43 FAQ: http://www.astlinux.org/node/32 Darrick -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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.6.3 Some strange issues TDM card not working
Hi Darrick, I have all the same files that were there in /mnt/kd/asterisk.. I have not deleted anything at all. What was strange is that it worked right upto the point where I applied your solution to get the TDM card to work at boot up and since the Asterisk web gui does not work anymore. Cheers Cleve Jansen -Original Message- From: Darrick Hartman [mailto:dhart...@djhsolutions.com] Sent: Monday, 2 March 2009 11:35 AM To: AstLinux Users Mailing List Subject: Re: [Astlinux-users] Astlinux 0.6.3 Some strange issues TDM card not working Cleveland Electronic Services wrote: Hi Philip, Thanks for your reply, I did run what you said at the very beginning and yes it worked, but bombed out when I did a reboot or powerup, the only solution which has been rock solid is what Darrick suggested, I have now done several reboots and powerup to make sure and it works perfect, now waiting for a solution why my Asterisk GUI is not coming up at all. What files do you have in /mnt/kd/asterisk/ ? Did you delete any of those files? I have a clean install (new system) that works just fine. http://192.168.200.112:8088/asterisk/static/config/index.html There may be some problems with the asterisk-gui which is why we don't include a direct link to that from the web interface. Feel free to use it, but don't be surprised if things break. Someone on the list is working on a possible fix which may help out and would be included in a future release. Darrick -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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] Mounting a USB drive
How would I go about mounting a USB attached disk drive or memory stick in Astlinux? I tried mount /dev/sda1 mount-point but get no such file or directory error. This would not be for use as kd but for general purpose use (like drive for an ftp server). Thanks David -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ 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] Mounting a USB drive
David Kerr wrote: How would I go about mounting a USB attached disk drive or memory stick in Astlinux? I tried mount /dev/sda1 mount-point but get no such file or directory error. This would not be for use as kd but for general purpose use (like drive for an ftp server). Thanks David When you insert the usb device, type dmesg on the command line. You should see something like: SCSI device sda: 16041613 512-byte hdwr sectors (8213 MB) sda: Write Protect is off sda: Mode Sense: 03 00 00 00 sda: assuming drive cache: write through SCSI device sda: 16041613 512-byte hdwr sectors (8213 MB) sda: Write Protect is off sda: Mode Sense: 03 00 00 00 sda: assuming drive cache: write through sda: sda1 sd 0:0:0:0: Attached scsi removable disk sda scsi 0:0:0:1: CD-ROMSanDisk U3 Cruzer Micro 4.05 PQ: 0 ANSI: 2 mkdir /tmp/foo mount -t vfat /dev/sda1 /tmp/foo If you don't see anything when you insert the usb device, let me know what hardware you're using and what version of Astlinux. Darrick -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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.