scegg

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 31 total)
  • Author
    Posts
  • in reply to: ZS 3.4.0 32-bit (Update) Template with VMware Tools #53443
    scegg
    Participant

    Cannot upgrade the vmware tools…

    in reply to: ZS 3.4.0 32-bit (Update) Template with VMware Tools #53441
    scegg
    Participant

    Any way to get your 64 bit release?

    in reply to: Feature Request: VMware ESXi Support #53825
    scegg
    Participant

    @gordonf wrote:

    I hadn’t realized I did this when I spun up my last ZS VM, but I installed a new kernel (3.18.11) on the last template I built that had a stock kernel (3.14.31). The VMware Tools hack-installation held without difficulty.

    I guess this is because this Tools installation is user mode code only, and no kernel modules, which are compiled-in by Fulvio at least since ZS 3.2.0. I only use the Tools for monitoring and automated shutdown, so this makes sense.

    Yup, but I prefer the driver for VMXNET3 NIC as well. That maybe hurt.

    in reply to: Feature Request: VMware ESXi Support #53823
    scegg
    Participant

    @gordonf wrote:

    …there’s a template available now with v9.9.0 Tools pre-installed. The 3.2.0 kernel and later have the needed kernel modules.

    I’ve noticed that donations seem to encourage new features. Fulvio’s still only one developer though, and he’s been adding support for Hyper-V and Xen as of late.

    I wonder whether the VM tools will be kept after a kernel upgrading. BTW, I’m a subscribers of ZeroShell.

    in reply to: Zeroshell on Linode #52701
    scegg
    Participant

    i’ve checked https://www.zeroshell.org/forum/viewtopic.php?t=210.
    But it does not work any more. coz the files’ formats within isolinux are changed.

    And, i also tried to use dd to write iso to one hard drive image directly. Bad luck. It seems that linode do not support to boot iso from hard drive.

    in reply to: ERROR: LDAP Base malformed #51944
    scegg
    Participant
    badradio wrote:
    Fulvio, Thanks for your reply and THANK YOU for a fantastic firewall appliance application.

    Regarding the failure to create a new profile, I believe that I had ETH00 configured with an IP address. As a matter of fact, I was using the browser configuration when creating a new profile.

    I found a workaround by using a previous beta14 install. I backed up the beta14 profile and recovered it in beta16 with no problem. I then was able to modify it as if it was created on beta16.

    I’m not sure if this will help you in determining where the bug is but it was able to get me past the ldap failure.

    Yes. Using beta14 is OK for profile creating.

    in reply to: LAN-to-LAN problem #50576
    scegg
    Participant

    thanks.

    Should I upload that tls file first? to which folder?

    in reply to: DDNS / OpenVPN with NetBalancer #50449
    scegg
    Participant

    Thanks. So i still need to find a way to let ddns client work on ppp0 only…

    in reply to: DDNS / OpenVPN with NetBalancer #50447
    scegg
    Participant

    that’s ok for me.

    But I added 4 rules:
    MARK all opt — in * out * 127.0.0.1 !-> 10.0.0.0/8 MARK set 0x64
    MARK all opt — in * out * 10.252.253.254 !-> 10.0.0.0/8 MARK set 0x64
    MARK all opt — in * out * 10.252.252.254 !-> 10.0.0.0/8 MARK set 0x64
    MARK all opt — in * out * 10.252.251.254 !-> 10.0.0.0/8 MARK set 0x64
    (all ip addresses are binded to this router)

    The ddns client still use a random ppp link…

    in reply to: DDNS / OpenVPN with NetBalancer #50445
    scegg
    Participant

    hmm.
    In my case, DDNS client is running on the Zeroshell. not a separated computer…

    in reply to: DDNS / OpenVPN with NetBalancer #50443
    scegg
    Participant

    Thank you very much.

    BTW, I guess the 10.x.x.x/8 is a private network address. How can DynDNS server use this ip address in internet?

    in reply to: DDNS / OpenVPN with NetBalancer #50441
    scegg
    Participant

    I’m sorry that my English is not fluent and clear…

    I have a Zeroshell with DDNS client and OpenVPN server enabled.
    It works great when I use ONE adsl ppp link.

    Now, I added the 2nd adsl to the same router. Net Balancer is activated.
    I setup some servers specified to use ppp1 with all others go through ppp0.
    All client computers works without any problem. But the DDNS client and OpenVPN server on Zeroshell have some.

    DDNS (Dyndns) always report to me that IP changed too frequently. It uses a random ppp link.
    OpenVPN server maybe has the same problem. I cannot connect to this service remotely.

    How to setup these two service to use only ppp0 with Net Balancer enabled?

    Thanks a lot.

    in reply to: Problem for booting from SATA #47045
    scegg
    Participant

    @mlapeyre wrote:

    Fulvio,

    I found the answer to my problem.
    My VIA Sata controller uses ahci to communicate with my Samsung 80GB SATA disk, but the ahci.ko driver was not in the lib/sata/chipsets directory of /boot/initrd.gz.
    So, I copy it there from /cdrom/modules/2.6.25.9/kernel/drivers/ata, and all was ok.

    Thanks a lot for your help.

    Manuel

    hmm, i find only a bin file in that gz package.
    Should I create that folder before copy the driver file?

    in reply to: 3G CDMA Modem #47416
    scegg
    Participant

    @mcumbee wrote:

    YAAAAAAA!!!! it works!! your last set of instructions did the trick…thank-you

    Here is the process for anyone else that needs username password for 3G this
    will work with US carriers Alltel as is, with Verizon I understand that you have
    to use the APN field. I believe that Sprint will also work this way it would be nice if
    a Sprint user would try it. I’m sure that it should work with CDMA carriers outside
    the U.S.

    1) place the following two files in the /DB directory:
    filename: 3g_tty_list
    code:
    #!/bin/sh
    . /etc/kerbynet.conf
    . $SCRIPTS/net.inc
    CONFIG=”/udev”
    cd $CONFIG
    INTERFACES=`ls -d ttyUSB* 2>/dev/null`
    if [ -z “$INTERFACES” ] ; then
    INTERFACES=`ls -d ttyACM* 2>/dev/null`
    fi
    if [ -z “$INTERFACES” ] ; then
    echo “Not detected”
    exit
    fi
    for I in $INTERFACES ; do
    echo “$I”
    done



    filename:3Gconnect
    code:
    #!/bin/bash
    . /etc/kerbynet.conf
    export PPP=”$1″
    [ -z “$PPP” ] && exit 1
    UNIT=${PPP:3:1}
    I=0
    PID=`ps -ef |grep -w pppd |grep $PPP| awk ‘{print $2}’`
    while [ -n “$PID” -a $I -lt 15 ] ; do
    kill $PID
    sleep 1
    I=$((I+1))
    PID=`ps -ef |grep -w pppd |grep $PPP| awk ‘{print $2}’`
    done
    if [ -n “$PID” ] ; then
    kill -9 $PID
    sleep 1
    rm -f /var/run/$PPP.pid
    fi
    TTY=”`cat $REGISTER/system/net/interfaces/$PPP/TTY 2>/dev/null`”
    if [ “$TTY” = NotDetected ] ; then
    exit 1
    fi
    APN=”`cat $REGISTER/system/net/interfaces/$PPP/APN 2>/dev/null`”
    DIAL=”`cat $REGISTER/system/net/interfaces/$PPP/Dial 2>/dev/null`”
    OPTIONAL=”`cat $REGISTER/system/net/interfaces/$PPP/Optional 2>/dev/null`”
    DEFAULTROUTE=”`cat $REGISTER/system/net/interfaces/$PPP/DEFAULTROUTE 2>/dev/null`”
    USERNAME=”`cat $REGISTER/system/net/interfaces/$PPP/USERNAME 2>/dev/null`”
    PASSWORD=”`cat $REGISTER/system/net/interfaces/$PPP/PASSWORD 2>/dev/null`”
    if [ -n “$OPTIONAL” ] ; then
    OPTIONAL=””OK” “$OPTIONAL””
    fi
    if [ -n “$APN” ] ; then
    APN=””OK” ‘AT+CGDCONT=1,”IP”,”$APN”,””,0,0′”
    fi
    if [ -n “$USERNAME” ] ; then
    USERNAME=”user $USERNAME”
    else
    USERNAME=””
    fi
    if [ -n “$PASSWORD” ] ; then
    PASSWORD=”password $PASSWORD”
    else
    PASSWORD=””
    fi
    if [ “$DEFAULTROUTE” == yes ] ; then
    DEFAULTROUTE=defaultroute
    else
    DEFAULTROUTE=””
    fi
    cat > /tmp/$PPP.3G < /tmp/$PPP.chat </dev/null
    else
    $SCRIPTS/usb_modem_try.sh 2>/dev/null >/dev/null
    sleep 5
    if ! [ -r /udev/$TTY ] ; then
    logger -t pppd “ppp$UNIT: ERROR: Modem /udev/$TTY unavailable.”
    sleep 20
    fi
    fi
    fi
    sleep 10
    done

    2) create your connection using the web GUI so that it makes the ppp0 directory
    3)using vim create the following two files under /var/register/system/net/interfaces/ppp0
    filename:USERNAME
    (the contents being the username usually modem phone number@carrier.net—xxxxxxxxxx@carriername.net)

    filename:PASSWORD
    in the case of alltel it is simply alltel

    NOTE: this placed these files in persistent storage for me so no need for a cron job to
    do this unless you are using the CD instead of a card or HD.

    4) using the web GUI create the following preboot script(cron)
    CODE:
    cp /DB/3Gconnect /root/kerbynet.cgi/scripts
    cp /DB/3g_tty_list /root/kerbynet.cgi/scripts

    REBOOT THE SERVER AND DONE.

    I hope that this is easily understandable, the scripts were by kasus and are in his
    original posts.

    I’ve done this job but still no luck.

    When I tried to enable 3G link, I got this in log:
    16:34:58 pppd 2.4.3 started by root, uid 0
    16:35:01 Connect script failed
    16:35:01 Exit.

    in reply to: OpenVPN LAN-to-LAN server #49998
    scegg
    Participant

    Yes. I guessed so but wrong.

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