Forums

Resolved
0 votes
https://issuetracker.google.com/issues/111154121

I am having an issue with it loosing the gateway

I set it then it disappears the above link talks about it

There is an update that fixes it as it mentions it

I need this update
Thursday, August 13 2020, 01:56 PM
Share this post:
Responses (25)
  • Accepted Answer

    Sunday, August 16 2020, 03:02 AM - #Permalink
    Resolved
    0 votes
    Got app-php-engines installed

    And decided to try my hand at PHP

    I wrote my first PHP script!

    https://vonwallace.com/news/newspursuit-covid.php
    https://vonwallace.com/news/newspursuit-technology.php
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, August 15 2020, 06:37 AM - #Permalink
    Resolved
    0 votes
    How do you Host ClearOS on Google Cloud?

    Here is a short summary

    https://vonwallace.com/phpmyfaq/index.php?action=faq&cat=3&id=1&artlang=en
    The reply is currently minimized Show
  • Accepted Answer

    Friday, August 14 2020, 06:10 PM - #Permalink
    Resolved
    0 votes
    Nick Howitt wrote:

    Thanks for the serial console tip.

    Did my link to our HowTo not work for sending authenticated SMTP? From your link smtp_use_tls is not needed as you should have "smtp_tls_security_level = may" already set.

    Increasing the main volume size can be done live through SSH. I've done it a few times recently on VM's using a similar link.



    You bet


    You should implement that on the next build of clearos

    And the floppy fix

    That way runing on a vm cloud enviroment will be easier to setup
    The reply is currently minimized Show
  • Accepted Answer

    Friday, August 14 2020, 08:10 AM - #Permalink
    Resolved
    0 votes
    Thanks for the serial console tip.

    Did my link to our HowTo not work for sending authenticated SMTP? From your link smtp_use_tls is not needed as you should have "smtp_tls_security_level = may" already set.

    Increasing the main volume size can be done live through SSH. I've done it a few times recently on VM's using a similar link.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, August 14 2020, 07:13 AM - #Permalink
    Resolved
    0 votes
    This is how I got the postfix relay working

    https://www.linode.com/docs/email/postfix/postfix-smtp-debian7/
    The reply is currently minimized Show
  • Accepted Answer

    Friday, August 14 2020, 07:09 AM - #Permalink
    Resolved
    0 votes
    Once you get the console working with the grub changes

    You can start in recovery mode

    And follow this to increase the main volume size

    I created on that was only 10gb

    I increased it on the cloud then I had to go to recovery via the grub console that is now enabled

    And follow this

    https://kb.vmware.com/s/article/1006371

    I increased it to 100gb
    The reply is currently minimized Show
  • Accepted Answer

    Friday, August 14 2020, 05:58 AM - #Permalink
    Resolved
    0 votes
    Here is something else that is important

    It allows you to see the grub boot console via the serial connection since you cant see the screen

    nano /etc/default/grub

    GRUB_TIMEOUT=5
    GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
    GRUB_DEFAULT=saved
    GRUB_DISABLE_SUBMENU=true
    GRUB_TERMINAL="console serial"
    GRUB_SERIAL_COMMAND="serial --speed=38400"
    GRUB_CMDLINE_LINUX="crashkernel=auto console=tty1 console=ttyS0,38400n8 elevator=noop"
    GRUB_DISABLE_RECOVERY="true"


    sudo grub2-mkconfig -o /boot/grub2/grub.cfg
    The reply is currently minimized Show
  • Accepted Answer

    Friday, August 14 2020, 12:26 AM - #Permalink
    Resolved
    0 votes
    Agree noticed there was open vpn so I set that up
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 13 2020, 09:37 PM - #Permalink
    Resolved
    0 votes
    Why PPTP? It is not firewall friendly. Remember to forward GRE (protocol 47, not port 47) through the Google firewall as well as tcp:1724. OpenVPN would be better. Anyway PPTP is considered broken security-wise but OpenVPN is not.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 13 2020, 09:36 PM - #Permalink
    Resolved
    0 votes
    Google cloud does not allow nor support gre so pptp is no
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 13 2020, 09:06 PM - #Permalink
    Resolved
    0 votes
    Got the email relay working!

    That was intresting

    Now if I can just get PPTP working...
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 13 2020, 06:41 PM - #Permalink
    Resolved
    0 votes
    Almost any SMTP provider will require you to authenticate. Unfortunately an authenticated setup in ClearOS is still manual. It is laid out in this HowTo.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 13 2020, 05:28 PM - #Permalink
    Resolved
    0 votes
    So I now have the website on clearos hosted on the google cloud runs really fast.

    Now I just need to get setup with turbosmtp so I can also switch the email server over to it

    The firewall on google cloud allows you to specify the allowed source IPs that way 81 and ssh are only open to me
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 13 2020, 04:40 PM - #Permalink
    Resolved
    0 votes
    Every thing is running

    I just have to figure out a smtp relay host

    Please suggest one

    Low volume just a personal email server

    Want something simple

    Dont what to have to modify postfix config files

    Could care less if its ssl
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 13 2020, 04:38 PM - #Permalink
    Resolved
    0 votes
    Von Royce Wallace wrote:

    google cloud does not allow sending out on port 25 so smtp is not working

    Do you know of a relay that would use port 2525?
    TurboSMTP is free for a year. I they also allow 587. There are other providers. Just google "smtp relay free" if you want free ones. many free ones will add some sort of message to the end of the e-mail such as "Sent using Mailgun" or something to that effect.

    Please set the interface to external. As I mentioned before, that is the way to get a default route. Even a standalone ClearOS server should be set to External.

    For disabling your floppy, Google may be your friend but this looks promising.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 13 2020, 04:35 PM - #Permalink
    Resolved
    0 votes
    Okay

    I figured it out

    echo "blacklist floppy" | sudo tee /etc/modprobe.d/blacklist-floppy.conf

    rmmod floppy

    dracut -f -v

    and now it reboots with out error
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 13 2020, 03:57 PM - #Permalink
    Resolved
    0 votes
    [FAILED] Failed unmounting Configuration File System.

    everything else is okay except floppy controller error


    Starting udev Wait for Complete Device Initialization...
    [ 11.087294] systemd-journald[498]: Received request to flush runtime journal from PID 1
    [ OK ] Started Flush Journal to Persistent Storage.
    [ OK ] Started LVM2 metadata daemon.
    [ OK ] Started Create Static Device Nodes in /dev.
    Starting udev Kernel Device Manager...
    [ OK ] Started udev Kernel Device Manager.
    [ OK ] Found device /dev/ttyS0.
    [ 12.095278] cryptd: max_cpu_qlen set to 1000
    [ 12.145013] input: PC Speaker as /devices/platform/pcspkr/input/input4
    [ 12.150370] piix4_smbus 0000:00:01.3: SMBus base address uninitialized - upgrade BIOS or use force_addr=0xaddr
    [ 12.161063] AVX2 version of gcm_enc/dec engaged.
    [ 12.162846] AES CTR mode by8 optimization enabled
    [ 12.170769] ppdev: user-space parallel port driver
    [ 12.181826] sd 0:0:1:0: Attached scsi generic sg0 type 0
    [ OK ] Found device /dev/mapper/clearos-swap.
    Activating swap /dev/mapper/clearos-swap...
    [ 12.196657] alg: No test for __gcm-aes-aesni (__driver-gcm-aes-aesni)
    [ 12.198313] alg: No test for __generic-gcm-aes-aesni (__driver-generic-gcm-aes-aesni)
    [ 12.205970] Adding 839676k swap on /dev/mapper/clearos-swap. Priority:-2 extents:1 across:839676k FS
    [ OK ] Activated swap /dev/mapper/clearos-swap.
    [ OK ] Reached target Swap.
    [ OK ] Created slice system-lvm2\x2dpvscan.slice.
    Starting LVM2 PV scan on device 8:2...
    [ OK ] Found device PersistentDisk 1.
    [ OK ] Started Monitoring of LVM2 mirrors,...ng dmeventd or progress polling.
    [ OK ] Reached target Local File Systems (Pre).
    Mounting /var/flexshare/shares/vonwallace.com...
    [ 12.269067] EDAC sbridge: Ver: 1.1.2
    Mounting /var/flexshare/shares/shakeybbs.com...
    Mounting /boot...
    [ OK ] Mounted /var/flexshare/shares/vonwallace.com.
    [ OK ] Started LVM2 PV scan on device 8:2.
    [ OK ] Mounted /var/flexshare/shares/shakeybbs.com.
    [ 12.299526] XFS (sda1): Mounting V5 Filesystem
    [ 12.523189] XFS (sda1): Ending clean mount
    [ OK ] Mounted /boot.
    [ 15.085890] floppy0: no floppy controllers found
    [ 15.086888] work still pending
    Welcome to emergGive root password for maintenance
    (or press Control-D to continue): [ 17.767575] type=1305 audit(1597334025.034:3): audit_pid=624 old=0 auid=429496
    7295 ses=4294967295 res=1
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 13 2020, 03:49 PM - #Permalink
    Resolved
    0 votes
    Next problem what an adventure this has become

    When I reboot the system it will not come up

    I have to connect via the serial port

    Then press control-d then it loads up the network stuff and then every thing comes online

    What is causing this?

    Welcome to emergGive root password for maintenance
    (or press Control-D to continue):
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 13 2020, 03:32 PM - #Permalink
    Resolved
    0 votes
    Maybe the interface needs to be set to external

    Not sure
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 13 2020, 03:29 PM - #Permalink
    Resolved
    0 votes
    google cloud does not allow sending out on port 25 so smtp is not working

    Do you know of a relay that would use port 2525?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 13 2020, 03:26 PM - #Permalink
    Resolved
    0 votes
    I switched the network to external dhcp and it seems to be holding
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 13 2020, 02:35 PM - #Permalink
    Resolved
    0 votes
    That bug only related to EL6/Centos6. EL7/Centos7/ClearOS7 uses later versions of those packages so you aren't waiting for that fix. :(

    It may be better to put your fix into /usr/sbin/ifup-local. If you don't have the file create it. You can use your one-liner, or do something a bit more complex like my:
    if [ "$1" == 'ppp0' ]; then
    true
    logger 'Bringing enp2s0:0 up as ppp0 is coming up'
    ifconfig enp2s0:0 192.168.2.2 netmask 255.255.255.0
    fi
    Obviously you'll want to trigger on eth0 and not ppp0.

    This file fires every time an interface comes up.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 13 2020, 02:16 PM - #Permalink
    Resolved
    0 votes
    I have the home edition

    Is there away to add a new repository so I can get the latest fixes?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 13 2020, 02:11 PM - #Permalink
    Resolved
    0 votes
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 13 2020, 02:08 PM - #Permalink
    Resolved
    0 votes
    I have to keep running this command via the serial connect

    route add default gw 10.128.0.1 eth0
    The reply is currently minimized Show
Your Reply