Power outage during first setup, Now I cant log in.

Status
Not open for further replies.

Paul Ferrell

Dabbler
Joined
Jul 6, 2014
Messages
32
I can hook it back up to a monitor. I have is a flat screen vizio tv but it works for that is what i have been doing . It was supposed to go headless afterword. . . . LOL
 

Paul Ferrell

Dabbler
Joined
Jul 6, 2014
Messages
32
The thing really doesnt break It just wont let me access anything because it says my password /user is incorrect both of them
 

Knowltey

Patron
Joined
Jul 21, 2013
Messages
430
One thing you should be doing is saving your configuration file. You can do it via the webGUI or automate it with a cronjob. If you must start over, you'll be able to restore the configuration.
What would be the command I would need to save the configuration file?
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
cp /data/freenas-v1.db /mnt/vol1/home/gpsguy

I use an old simple cron job that copies it every night and appends the date onto the extension. Periodically, I go in and manually prune the target directory.

There are some other scripts on the forum that do comparisons, so that it's only saved when changes are made. Since it's a tiny file, my script works for me.

In the event I need to restore it, I use the webGUI.

What would be the command I would need to save the configuration file?
 

Knowltey

Patron
Joined
Jul 21, 2013
Messages
430
cp /data/freenas-v1.db /mnt/vol1/home/gpsguy

I use an old simple cron job that copies it every night and appends the date onto the extension. Periodically, I go in and manually prune the target directory.

There are some other scripts on the forum that do comparisons, so that it's only saved when changes are made. Since it's a tiny file, my script works for me.

In the event I need to restore it, I use the webGUI.

Oh cool, for some reason I thought that it would need generated or something like that, never realized that it was just simply a persistent file sitting somewhere in a directory.
 

Paul Ferrell

Dabbler
Joined
Jul 6, 2014
Messages
32
I am gonna go plug it back in and drag out the visio tv 49 and check but thats what it was yesterday anyway 192.168.2.86
 

Paul Ferrell

Dabbler
Joined
Jul 6, 2014
Messages
32
so how can i add that command line to the program if I can ever get my Freenas to let me access it someday? LOL
 

Whattteva

Wizard
Joined
Mar 5, 2013
Messages
1,824
so how can i add that command line to the program if I can ever get my Freenas to let me access it someday? LOL
You can put it in a shell script and set it as a cron job. Both cron jobs and command line shell are accessible through the web UI.
 

Knowltey

Patron
Joined
Jul 21, 2013
Messages
430
so how can i add that command line to the program if I can ever get my Freenas to let me access it someday? LOL
Why don't you just make another fresh USB. I mean if the power failure was during the first initial setup stages, you surely can't be losing too many manhours by just going through what steps of the initial setup you had already performed?
 

Paul Ferrell

Dabbler
Joined
Jul 6, 2014
Messages
32
I made up 5 at least by now it boots up the FreeNas and then i cant get into it. Thats the entire problem.
 

Paul Ferrell

Dabbler
Joined
Jul 6, 2014
Messages
32
You can put it in a shell script and set it as a cron job. Both cron jobs and command line shell are accessible through the web UI.
Ahh , OK , Thanks. :)
 

Knowltey

Patron
Joined
Jul 21, 2013
Messages
430
I made up 5 at least by now it boots up the FreeNas and then i cant get into it. Thats the entire problem.
Once it boots up and tells you the IP Address you should be able to visit that address and then set your password for the root user. Is that not what is happening when you reach the screen that has the IP Address?
 

Paul Ferrell

Dabbler
Joined
Jul 6, 2014
Messages
32
Yes, It gives me the IP adress on the Free nas and then I go to It on another computor in my home and It wont let me log in.
 

Knowltey

Patron
Joined
Jul 21, 2013
Messages
430
Can you screenshot what happens when you first access that page after initial boot? It should simply be asking you to set your password.
 

Paul Ferrell

Dabbler
Joined
Jul 6, 2014
Messages
32
The Root user and password must be already set and it wont accept it.
 

Paul Ferrell

Dabbler
Joined
Jul 6, 2014
Messages
32
If you tell me how. lol I can take a pic with my cell. It comes up to the freenas screen and the tiny little window opens for my username and password.
 

Paul Ferrell

Dabbler
Joined
Jul 6, 2014
Messages
32
I enter the username and password and it wont let me in. I set up 2 users and passwords and they dont work either.
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
You can only access the webGUI using the "root" in FreeNAS 9.x, or "admin" in 8.x. What version of FreeNAS are you using?

To reset your password, hook up your visio tv to the server and choose item #7 on the Console Setup Menu. From your other computer, open a web browser using the IP address listed on the server. You should be prompted to set a new password. If you normally use a complex password, try something easier for testing. You can always reset it again.

After accessing the webGUI, logoff and try logging in again. Remember, with FreeNAS 9.x, the username is "root".

I enter the username and password and it wont let me in. I set up 2 users and passwords and they dont work either.

If you were able to add 2 uesrs and setup plugins, etc. you've been able to login in to the webGUI to do that.

Yes there are 2 users I just setuo plugins and jails and stuff just to learn everything mostly.

The user accounts that you create are for use with services, like CIFS, FTP, etc.
 

Paul Ferrell

Dabbler
Joined
Jul 6, 2014
Messages
32
Yes. I have to make a new USB stick everytime. That is the only way I can. If I log ou, If I lose Power. There is no way back in. That is the whole problem. I am about to make USB Stick #6 today . LOL Ahh That makes sense. The user accounts I created was mine and a friend. The problem is the Root (admin) evidently. I moved the entire freenas last night which meant powering it down so I must go make a new usb stick and anything I put in this Freenas is not accessable if it is ever logged out or powered down .
 

Paul Ferrell

Dabbler
Joined
Jul 6, 2014
Messages
32
You can only access the webGUI using the "root" in FreeNAS 9.x, or "admin" in 8.x. What version of FreeNAS are you using?

To reset your password, hook up your visio tv to the server and choose item #7 on the Console Setup Menu. From your other computer, open a web browser using the IP address listed on the server. You should be prompted to set a new password. If you normally use a complex password, try something easier for testing. You can always reset it again.

After accessing the webGUI, logoff and try logging in again. Remember, with FreeNAS 9.x, the username is "root".



If you were able to add 2 uesrs and setup plugins, etc. you've been able to login in to the webGUI to do that.



The user accounts that you create are for use with services, like CIFS, FTP, etc.
Oh Ok I will try using "ROOT " as the username. What is the password? I am using the newest edition. I just built this a month ago (9.2) i think
 
Status
Not open for further replies.
Top