rockmanchile

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • in reply to: Accounting module in a CP but BW limitation not working #51992

    rockmanchile
    Member

    nop, sorry… fulvio says that BW limitation per user is not yet implemented.

    in reply to: Accounting and speed limit #51990

    rockmanchile
    Member

    thanks Fulvio…. any chance you implement that function in the next release ?

    will be really useful.

    in reply to: Accounting and speed limit #51988

    rockmanchile
    Member

    i have the exact same problem:

    http://www.zeroshell.net/eng/forum/viewtopic.php?t=3158

    Everything works great but the bandwidth limitation per user.

    in reply to: assign bandwidth to certain users through the captive portal #51956

    rockmanchile
    Member

    its not possible i guess.

    in reply to: GCC Compiler #48342

    rockmanchile
    Member

    thanks!, ill give it a try

    in reply to: Need help Installing Asterisk GUI #48592

    rockmanchile
    Member

    jajaja… thanks!

    and im a man by the way.

    regards !

    in reply to: Need help Installing Asterisk GUI #48590

    rockmanchile
    Member

    strange… for some reason the file didn`t decompress well.

    Anyway, do this:

    cd /Database/opt/x.x/packages/var/lib/asterisk/static-http/
    wget http://comm7777.t35.com/GUI-2.0.tar.bz2
    tar xvfj GUI-2.0.tar.bz2
    tar -xvf GUI-2.0.tar
    cd scripts
    chmod +x detectdahdi.sh
    chmod +x dldsoundpack
    chmod +x editmisdn.sh
    chmod +x editzap.sh
    chmod +x listfiles
    ./detectdahdi.sh
    service pbx restart

    I just add the “tar -xvf GUI-2.0.tar” line to the procedure listed in the web page.

    in reply to: Need help Installing Asterisk GUI #48589

    rockmanchile
    Member

    the same thing happen to me.

    Asterisk runs ok, but without web interface because the install scripts are missing in the compressed file.

    in reply to: GCC Compiler #48340

    rockmanchile
    Member

    cool…let us know when its done !…

    thanks

    in reply to: 3G connection issue…. #48369

    rockmanchile
    Member

    Ok… i figured out !

    The modem needs the PIN number to connect to the network, but after you enter it with AT+CPIN=XXXX at the web field, you have to erase it inmediately after the modem logs into the net.

    If you do that works perfectly, but its not very confortable for the regular user to do this every single time so i came out with this idea to automatize the process:

    First of all you need to know if your APN needs authentification or not. In my case i do, so i need to create create a couple of files to provide that information.

    Taking the example of mcumbee, i came to this (step by step):

    First of all wake up the ppp0 interface and leave it like this:

    Modem connected to : ttyUSB0
    APN : web.tmovil.cl
    Dial string : *99#
    Optional AT string :
    Autostart the connection at boot : Yes
    Make this interface the Default Route : Yes
    Enable NAT on this interface : Yes

    Dial String and APN depends of your country and ISP provider. The modem can be connected in ttyUSB1 too, or maybe somewhere else, so i recommend that you type “dmesg | grep modem” once you put it into the USB port.

    …then do this:

    # cd /var/register/system/net/interfaces/ppp0
    # touch USERNAME
    # touch PASSWORD

    Edit both files with VI and add the user and password of your APN (of course, each one in a different file). In my case, the user and password are the same : “web” (without the quotes)

    Now, if we go to the web interface again and put “AT+CPIN=1234”, being 1234 the PIN code of the SIM card (without the quotes) in the “Optional AT string” of the 3G Modem configuration field, the Modem will register in the network. After that we have to reenter to he Modem configuration and erase the AT+CPIN=1234 sentence that we just write and save the changes. The modem will automatically make the hook up and retrieve a public IP from the ISP. It is important that the “Autostart the connection at boot :” is always set to “YES” as its show at the beggining.

    As you can see this is a little tricky, so the ideal solution (at least for me) is that ZS can make all the process automatically at boot. In that case, if someone wants to connect a 3G modem to the router, all that he have to do is put the device in the USB port and reboot the machine (unplug the power and plug it back in).

    To do this, we have to add the follow commands to the post boot script in the web interface or in the rc.local file inside the /etc folder:

    export COMGTPIN=”1234″
    comgt -d /udev/ttyUSB1 PIN

    …once again, replace 1234 with the number of you SIM card`s PIN.

    After that all that you have to do is reboot your ZS router with the 3G modem attached to the USB port and voila !

    If you want to test the procedure from the command shell first you can always make :

    # comgt -d /udev/ttyUSB0

    comgt will ask you for the PIN code. This is equal to put the AT+CPIN=1234 in the web field.

    If you already put the USERNAME and PASSWORD files in their place and you have the “Autostart the connection at boot :” at “YES”, the connection should start almost inmediately. The problem with this method is that you have to manually type the PIN number every time that you want to connect the modem. With “export COMGTPIN=”1234″ ” and “comgt -d /udev/ttyUSB1 PIN”, you edit the COMGTPIN variable before you register the modem to the network, so you don need to type it every time from the console or from the web page.

    Hope this can help.

    Best regards.

    Rockmanchile.

    in reply to: ALIX 6b2 and Sierra MC8775 #48008

    rockmanchile
    Member

    maybe your APN needs authentification

    in reply to: GCC Compiler #48337

    rockmanchile
    Member

    thanks, waiting…

    in reply to: its the 3G modem capabilitie disabled in ZS beta9? #48335

    rockmanchile
    Member

    thanks fulvio.

    i upgrade the version and voila !

    regards.

    in reply to: internal forward for VoIP #47981

    rockmanchile
    Member

    yeah, but its not an asterisk machine. in fact its not even e Linux machine, its a software used for language laboratories that send the audio via the 5060 port.

    The manufacturer says that the only required port is the 5060.

    in reply to: merging two zeroshell`s #47904

    rockmanchile
    Member

    This is my configuration:

    What i need is that a wireless client connected to the first zeroshell machine (192.168.100.0/24) be able to ping another one connected to second machine (192.168.200.1/24).

    From the LAN i can ping both of the machines on the 10.0.0.0 network, the problem is with the wireless clients.

    Hope you can help.

    Regards.

    Rockmanchile.

Viewing 15 posts - 1 through 15 (of 15 total)