Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
19.1 Legacy Series
»
19.1.7 update successful but no GUI
« previous
next »
Print
Pages: [
1
]
Author
Topic: 19.1.7 update successful but no GUI (Read 6319 times)
dreamerman
Jr. Member
Posts: 59
Karma: 1
19.1.7 update successful but no GUI
«
on:
May 19, 2019, 01:58:04 am »
Anyone can't get access to GUI after 19.1.7 update? I can use putty and get to console and verified that the LAN (igb0) v4 192.168.x.x is as before the update. I rebooted it via console but still could not access the GUI. My local network can access the internet and other devices in the local network so there is no issue there. Just can't get to GUI.
I tried option 11 in console (reload all services) thinking GUI might be a service that got stuck during booting but the script stalled at "configuring LAN interface" or similar. At this point there is no access to internet until I force reboot the opnsense box. At the end still no GUI.
«
Last Edit: May 19, 2019, 02:32:06 am by dreamerman
»
Logged
NEXCOM DNA120 aka Sophos SG115 | Intel Atom E3827 Bay Trail Dual Core 1.7GHz | 4GB DDR3 | 64GB SSD
dreamerman
Jr. Member
Posts: 59
Karma: 1
Re: 19.1.7 update successful but no GUI
«
Reply #1 on:
May 23, 2019, 01:01:00 pm »
Anyone that is kind enough to help?
Logged
NEXCOM DNA120 aka Sophos SG115 | Intel Atom E3827 Bay Trail Dual Core 1.7GHz | 4GB DDR3 | 64GB SSD
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: 19.1.7 update successful but no GUI
«
Reply #2 on:
May 23, 2019, 07:27:06 pm »
What happens when you run this?
# /usr/local/etc/rc.restart_webgui
Cheers,
Franco
Logged
dreamerman
Jr. Member
Posts: 59
Karma: 1
Re: 19.1.7 update successful but no GUI
«
Reply #3 on:
May 24, 2019, 11:54:38 am »
Hi Franco, thanks for replying. I got this reply:
root@OPNsense:~ # /usr/local/etc/rc.restart_webgui
Starting web GUI...failed.
Generating RRD graphs...done.
root@OPNsense:~ #
By the way, I updated via console to 19.1.8 hoping this will fix my problem but no joy.
Logged
NEXCOM DNA120 aka Sophos SG115 | Intel Atom E3827 Bay Trail Dual Core 1.7GHz | 4GB DDR3 | 64GB SSD
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: 19.1.7 update successful but no GUI
«
Reply #4 on:
May 24, 2019, 11:56:38 am »
You need to delete the strict interface binding for the GUI in your config.xml ...
system -> webgui -> interfaces (delete this line)
Restart GUI again using the same command.
Cheers,
Franco
Logged
dreamerman
Jr. Member
Posts: 59
Karma: 1
Re: 19.1.7 update successful but no GUI
«
Reply #5 on:
May 24, 2019, 01:09:38 pm »
Thanks franco but I have no idea how to do it. I get the following after executing edit /conf/config.xml but I don't know what to do next.
root@OPNsense:~ # edit /conf/config.xml
help : get help info |file : print file name |line : print line #
read : read a file |char : ascii code of char |0-9 : go to line "#"
write: write a file |case : case sensitive search |exit : leave and save
!cmd : shell "cmd" |nocase: ignore case in search |quit : leave, no save
expand: expand tabs |noexpand: do not expand tabs
===============================================================================
<?xml version="1.0"?>
<opnsense>
<theme>opnsense</theme>
<sysctl>
<item>
<descr>Disable the pf ftp proxy handler.</descr>
<tunable>debug.pfftpproxy</tunable>
<value>default</value>
</item>
<item>
<descr>Increase UFS read-ahead speeds to match the state of hard drives and NCQ.</descr>
<tunable>vfs.read_max</tunable>
<value>default</value>
</item>
<item>
<descr>Set the ephemeral port range to be lower.</descr>
<tunable>net.inet.ip.portrange.first</tunable>
<value>default</value>
</item>
<item>
<descr>Drop packets to closed TCP ports without returning a RST</descr>
<tunable>net.inet.tcp.blackhole</tunable>
<value>default</value>
</item>
<item>
<descr>Do not send ICMP port unreachable messages for closed UDP ports</descr>
<tunable>net.inet.udp.blackhole</tunable>
<value>default</value>
</item>
<item>
<descr>Randomize the ID field in IP packets (default is 0: sequential IP IDs)</descr>
<tunable>net.inet.ip.random_id</tunable>
<value>default</value>
</item>
<item>
<descr>
Source routing is another way for an attacker to try to reach non-routable addresses behind your box.
It can also be used to probe for information about your internal networks. These functions come enabled
as part of the standard FreeBSD core system.
</descr>
<tunable>net.inet.ip.sourceroute</tunable>
<value>default</value>
</item>
<item>
<descr>
Source routing is another way for an attacker to try to reach non-routable addresses behind your box.
It can also be used to probe for information about your internal networks. These functions come enabled
as part of the standard FreeBSD core system.
</descr>
<tunable>net.inet.ip.accept_sourceroute</tunable>
<value>default</value>
</item>
<item>
<descr>
Redirect attacks are the purposeful mass-issuing of ICMP type 5 packets. In a normal network, redirects
to the end stations should not be required. This option enables the NIC to drop all inbound ICMP redirect
packets without returning a response.
</descr>
<tunable>net.inet.icmp.drop_redirect</tunable>
<value>default</value>
</item>
<item>
<descr>
This option turns off the logging of redirect packets because there is no limit and this could fill
up your logs consuming your whole hard drive.
</descr>
<tunable>net.inet.icmp.log_redirect</tunable>
<value>default</value>
</item>
<item>
<descr>Drop SYN-FIN packets (breaks RFC1379, but nobody uses it anyway)</descr>
<tunable>net.inet.tcp.drop_synfin</tunable>
<value>default</value>
</item>
<item>
<descr>Enable sending IPv4 redirects</descr>
<tunable>net.inet.ip.redirect</tunable>
<value>default</value>
</item>
<item>
<descr>Enable sending IPv6 redirects</descr>
<tunable>net.inet6.ip6.redirect</tunable>
<value>default</value>
</item>
<item>
<descr>Enable privacy settings for IPv6 (RFC 4941)</descr>
<tunable>net.inet6.ip6.use_tempaddr</tunable>
command:
Logged
NEXCOM DNA120 aka Sophos SG115 | Intel Atom E3827 Bay Trail Dual Core 1.7GHz | 4GB DDR3 | 64GB SSD
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: 19.1.7 update successful but no GUI
«
Reply #6 on:
May 24, 2019, 03:24:59 pm »
# pkg add vim-console
# vim /config/config.xml
(go to the <interfaces>...</interfaces> line inside <system>...<webgui>... block)
Press ":" and type "d" and hit enter
Press "Esc"
Press ":" and type "wq" and hit enter
# /usr/local/etc/rc.restart_webgui
Cheers,
Franco
Logged
dreamerman
Jr. Member
Posts: 59
Karma: 1
Re: 19.1.7 update successful but no GUI
«
Reply #7 on:
May 25, 2019, 01:56:19 am »
Hi franco, I had no luck with # pkg add vim-console which gave me the following feedback:
root@OPNsense:~ # pkg add vim-console
pkg: vim-console: No such file or directory
pkg: Was 'pkg install vim-console' meant?
Failed to install the following 1 package(s): vim-console
root@OPNsense:~ #
So I looked around and tried # pkg install vim-console and successfully installed vim-console: 8.1.1248 so all good.
However I got an almost blank screen after executing # vim /config/config.xml like below. Does this mean I don't have an existing file called config.xml?
root@OPNsense:~ # vim /config/config.xml
1
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"/config/config.xml" [New DIRECTORY] 0,0-1 All
1
~
~
~
~
~
~
~
~
~
~
~
Logged
NEXCOM DNA120 aka Sophos SG115 | Intel Atom E3827 Bay Trail Dual Core 1.7GHz | 4GB DDR3 | 64GB SSD
dreamerman
Jr. Member
Posts: 59
Karma: 1
Re: 19.1.7 update successful but no GUI
«
Reply #8 on:
May 25, 2019, 02:01:46 am »
Hi franco, I had another thought so ran putty as admin. I re-execute the command and got this:
root@OPNsense:~ # vim /config/config.xml
E325: ATTENTION
Found a swap file by the name "/var/tmp/config.xml.swp"
owned by: root dated: Sat May 25 09:58:06 2019
file name: /config/config.xml
modified: YES
user name: root host name: OPNsense.localdomain
process ID: 54565
While opening file "/config/config.xml"
CANNOT BE FOUND
(1) Another program may be editing the same file. If this is the case,
be careful not to end up with two different instances of the same
file when making changes. Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r /config/config.xml"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file "/var/tmp/config.xml.swp"
to avoid this message.
Swap file "/var/tmp/config.xml.swp" already exists!
pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort:
Logged
NEXCOM DNA120 aka Sophos SG115 | Intel Atom E3827 Bay Trail Dual Core 1.7GHz | 4GB DDR3 | 64GB SSD
dreamerman
Jr. Member
Posts: 59
Karma: 1
Re: 19.1.7 update successful but no GUI
«
Reply #9 on:
May 27, 2019, 11:46:31 am »
Help please?
Logged
NEXCOM DNA120 aka Sophos SG115 | Intel Atom E3827 Bay Trail Dual Core 1.7GHz | 4GB DDR3 | 64GB SSD
dreamerman
Jr. Member
Posts: 59
Karma: 1
Re: 19.1.7 update successful but no GUI
«
Reply #10 on:
May 29, 2019, 01:53:19 pm »
Given up
Logged
NEXCOM DNA120 aka Sophos SG115 | Intel Atom E3827 Bay Trail Dual Core 1.7GHz | 4GB DDR3 | 64GB SSD
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
19.1 Legacy Series
»
19.1.7 update successful but no GUI