Web GUI won't work- help please!

Status
Not open for further replies.

dbot

Cadet
Joined
May 14, 2012
Messages
6
Hi all,

I've been running Freenas 8.0.1 RC1 problem-free for around 8 months. Now, after changing routers, I can no longer access the web gui. When I try swapping in the old router again, I can access my CIFS folders on my PC, but still can't load the web gui. I've tried re-configuring the DHCP settings, but that doesn't seem to work.

I'm thinking of doing a factory reset, but want to backup my config file first (as per the 4noobs sticky). What is the easiest way to backup my config file off-system, and how can I do this from the shell?

Apologies if I've overlooked something...
 

CatMan

Dabbler
Joined
Apr 4, 2012
Messages
14
nah don't reset yet,
If your router has a dhcp reservation check that,
otherwise It sounds like your IP/mask/subnet/ect might have changed. If your router has a cleint section or local network section (basically a place where you can see what machines are connected), look for the server address there.
 

dbot

Cadet
Joined
May 14, 2012
Messages
6
Ok, thanks for the tip.

I've reserved an IP for my freenas box, and I can see in the DHCP client list that the router sees it, but I still can't access the web gui, even after doing another network configuration from the shell (still using DHCP). Shell spits out the right IP (the one that I reserved in my router), but I get 'connection interrupted' errors when I try to access the web gui.

I know that my default gateway changed when I changed routers - would that be what's confusing it?
 

Bever

Explorer
Joined
May 3, 2012
Messages
55
Your default gateway is only relevant for traffic not destined for your LAN. Could you privide IP and subnet info for your router, your PC and your freenas? ipconfig on windows, ifconfig on your freenas, whatever on your router :)

Make sure you don't have two routers serving IP's on your network at once.
 

dbot

Cadet
Joined
May 14, 2012
Messages
6
Ok, here's my info... let me know if I'm missing something:

Router
IP: 192.168.1.1
Subnet: 255.255.255.0

PC
IP: 192.168.1.100
Subnet: 255.255.255.0

freenas (not too sure how to use/read ifconfig, so here's what it spits out)
inet 192.168.101 netmask 0xffffff00 broadcast 192.168.1.255

I didn't see anything that looked like a subnet using ifconfig, but maybe I'm missing something really obvious? Apologies!

Also, I've definitely just got the one router running on the network... that much I know :)
 

paleoN

Wizard
Joined
Apr 22, 2012
Messages
1,403
Router
IP: 192.168.1.1
Subnet: 255.255.255.0

PC
IP: 192.168.1.100
Subnet: 255.255.255.0

freenas (not too sure how to use/read ifconfig, so here's what it spits out)
inet 192.168.101 netmask 0xffffff00 broadcast 192.168.1.255

I didn't see anything that looked like a subnet using ifconfig, but maybe I'm missing something really obvious? Apologies!
I'm assuming that's a typo and should be 192.168.1.101. The 0xffffff00,255.255.255.0, is the subnet in hex.

Both machines are physical plugged into the same router/switch correct? Can you ping the freenas box from your PC?

The easiest way to backup your config is over an SSH connection, but you need network access first. I'm not clear if you have that yet.
 

dbot

Cadet
Joined
May 14, 2012
Messages
6
Everything's plugged into the same router. In fact, I can access my CIFS folder via Win 8, I can ping my freenas box from my PC, and I can see the freenas box in the router. The only thing that won't work is the web GUI, which makes me wonder if it's maybe this issue:

http://forums.freenas.org/showthread.php?2063-How-to-set-WebGUI-IP-after-changing-IP-to-static

Might make sense since I'm using 8.0.1-RC1, but this is all very new to me. Now I need to figure out how/where to access /usr/local/etc/lighttpd/lighttpd.conf from the shell...
 

paleoN

Wizard
Joined
Apr 22, 2012
Messages
1,403
Might make sense since I'm using 8.0.1-RC1, but this is all very new to me. Now I need to figure out how/where to access /usr/local/etc/lighttpd/lighttpd.conf from the shell...
I would upgrade to 8.0.4 myself. In fact if you have an extra thumbdrive you can just install to that.
Code:
vi /usr/local/etc/lighttpd/lighttpd.conf
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
dbot,

paleoN is correct, 8.01 RC1 is ancient history in terms of FreeNAS releases. There have been a TON of important fixes since that release. If you install it on a spare USB drive, you can test it out and still have your old USB flash drive "just in case". Save your config from the GUI, then after you install the new version of FreeNAS, import your config and you should be good to go.
 

dbot

Cadet
Joined
May 14, 2012
Messages
6
Ok, thanks for your help, everyone! I guess I've been slacking in terms of keeping up with the releases...

I'm more than happy to upgrade, but this brings me back to my original question: What's the easiest/best way to backup my config file, keeping in mind that I don't have access to the GUI?
 

dbot

Cadet
Joined
May 14, 2012
Messages
6
Ok cool, thanks for the suggestion.

I didn't have SSH set up before all this, though - is there a guide that would walk me through how to set it up without using the GUI? Did a quick search and didn't see anything...
 
Status
Not open for further replies.
Top