Posted December 29, 20195 yr Note: This problem was ultimately solved by manually editing the rc.conf file See post below. I was testing WIFI configuration and forgot the rule, "Don't fix working machines" and am now paying for this... 1. Polisy was connected and working properly using Wired Ethernet. Working 2. Used the Polisy Configuration page to configure the WIFI interface. Working 3. Disconnected Wired Ethernet and was still able to connect to Polisy now via WIFI. Working 4. Re-connected wired Ethernet and forgot the WIFI Interface. Rebooted and verified Polisy was working. Working 5. Noticed that wlan0 still had the old DHCP address that it grabbed in testing. I thought to make this a static IP instead of reserving in my router. I tried to uncheck the DHCP checkbox for the wlan0 but received a pop-up stating that the Gateway cannot be 0.0.0.0. Okay, so all I did was change the Gateway from 0.0.0.0 to the correct address 192.168.1.210 on wlan0..... Snap - Now my wired connection to Polisy immediately stopped working. I cannot ping Polisy nor can I cannot ssh to Polisy. Using an IP scanner, I can see something responding on the old wired Polisy IP if polisy is connected. This scan fails if I disconnect the wire to Polisy. Tried Power-cycling Polisy - No Joy Tried pin-hole reset of Polisy - No Joy Edited December 29, 20195 yr by gviliunas
December 29, 20195 yr MY unit was connected fine last night and I was able to access on the browser. Just to be sure it didn;t start beeping all night I powered it down. This morning it seemed to boot ok and one LED remained however I could not longer access vis a browser. Just now the device started going through the setup process all over again with the annoying beeping. It's connected through ethernet to my router, that I can see. However it keeps going back into the reboot mode and beeping. Of course now it's just stopped. Appears that I can no connect via firefox with error messages. Not Ready For Prime Time!
December 29, 20195 yr And back to not connected via browser. I give up and am pulling the plug on this so it doesn't start beeping again
December 29, 20195 yr Author My unit has been running fine for weeks. I have no abnormal beeping; Just the normal beep pause beep on startup. I'm only in trouble because I entered a static gateway value on the wlan0 configuration page.
December 29, 20195 yr Author Problem solved! I powered-down, disconnect the WLAN card and powered-back up. Polisy came up normally and fully configured (I did not lose anything by pressing the pin-hole reset button) With the WLAN card removed and Policy up and running, I manually edited the rc.conf file: #Network Interfaces (default) ifconfig_wlan0="WPA inet 192.168.1.158 netmask 255.255.255.0" ----->>>> ifconfig_wlan0="WPA DHCP" ifconfig_wlan0_ipv6="NOAUTO" ----->>>> ifconfig_wlan0_ipv6="inet6 accept_rtadv" defaultrouter="192.168.1.210" ------>>>> Removed this line Now, powered-down, re-inserted the WLAN card, and powered-up. Polisy came up fully configured and running properly. Edited December 29, 20195 yr by gviliunas
December 31, 20195 yr Hi gviliunas...thanks for posting this! I just posted my own thread on this very same problem. I repeated the steps you outlined and removed the wireless card. I can now login again, but I'm afraid I don't understand how to go about the next steps where you say you manually edit the rc.conf file? How do you go about doing this? Is it via an ssh tool like Putty? Sorry, just don't know where to go from here Any help would be appreciated!
December 31, 20195 yr Author @Tuckerdude I used Putty to open an ssh session to Polisy then used vi editor to edit /etc/rc.conf. Note: You should make a backup copy of any system files you plan to edit. sudo vi /etc/rc.conf If you are not familiar with vi, I recommend that you google vi commands first. vi has been around a long time and some of the commands and things you type to get into various modes ( and into trouble) may seem unusual.
December 31, 20195 yr Many thanks! I will take your advice and do a bit of research first! TBH, I was not expecting this to product to be THIS RAW! It's quite rough around the edges and feels like it should have baked a bit longer. But regardless, I'm going to keep on working at it! Thanks again!
December 31, 20195 yr Hello again.... I got pretty close, but whenever I go to try and write my changes, it say access denied (as if I don't have admin privileges). I will say that I am currently using WinSCP as this is a tool I'm familiar with. Am I missing something? Incidentally, I noticed that my login via this tool would not accept my user-created Polisy login. It will only recognize admin/admin to let me into the device and display files and directories. Any help would be appreciated
December 31, 20195 yr @Tuckerdude, Prefix everything with sudo … i.e. sudo vi /etc/rc.conf .. when prompted for password, enter the password (default is admin). With kind regards, Michel
December 31, 20195 yr Thanks Michel... However I'm still at a loss. I am using WinSCP, which allows for editing of resource files. I can edit teh rc.conf just fine, but it won't save Sorry if I'm missing something here
December 31, 20195 yr @Tuckerdude, You really cannot do that because admin does not have enough privileges to edit /etc/rc.conf. You need root permission and root is disabled. You need to ssh to Polisy and do that. Please use putty. With kind regards, Michel
December 31, 20195 yr Ok...I got quite a ways into this... using vi I issued the commands, and edited the file, but I'm not sure it saved it in the right spot? I reconnected the wifi board, but it's back to the original state where I cannot log into it. when saving inside of vi, did I need to use the sudo prefix? If so, can someone give me the command? I will admit..this is stretching my expertise level to the limit. any thoughts or help would be appreciated
December 31, 20195 yr @Tuckerdude, Please submit a ticket and we'd be delighted to help. With kind regards, Michel
March 6, 20205 yr On 12/29/2019 at 2:00 PM, gviliunas said: Problem solved! I powered-down, disconnect the WLAN card and powered-back up. Polisy came up normally and fully configured (I did not lose anything by pressing the pin-hole reset button) With the WLAN card removed and Policy up and running, I manually edited the rc.conf file: #Network Interfaces (default) ifconfig_wlan0="WPA inet 192.168.1.158 netmask 255.255.255.0" ----->>>> ifconfig_wlan0="WPA DHCP" ifconfig_wlan0_ipv6="NOAUTO" ----->>>> ifconfig_wlan0_ipv6="inet6 accept_rtadv" defaultrouter="192.168.1.210" ------>>>> Removed this line Now, powered-down, re-inserted the WLAN card, and powered-up. Polisy came up fully configured and running properly. Hi @gviliunas Thanks for the instructions above. I had the same issue, messing with WiFi. I'm in the process of getting back to a starting point, reinstalling nodeservers after NOT being able to get into Polisy because of WiFi conflict. I just removed the WLAN card and was able to get back in, phew... Now starting to modify the rc.conf file. I might need to ping you, but I'll try to get the rc.conf back to a default state. Thanks for the info!!!
Archived
This topic is now archived and is closed to further replies.