Community


All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Client losing log-in settings on service restart (Raspberry)
PostPosted: Sat Sep 08, 2018 6:26 pm 
Offline

Joined: Sat Sep 08, 2018 5:50 pm
Posts: 2
I installed the NeoRouter Client on the Raspberry Pi Zero W, updated the NIC name in Feature.ini as "wlan" and it seemed to work without an issue.
After running nrclientcmd the Client logs in and appears online to the other clients, but at this point the Raspberry cannot communicate with other clients and vice versa (cannot ping).

ifconfig shows that there's the ntrap adaptor, but all stats are zero:
Code:
nrtap: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.31.0.2  netmask 255.0.0.0  broadcast 10.255.255.255
        inet6 fe80::529b:70b6:9145:5a2  prefixlen 64  scopeid 0x20<link>
        ether 3e:2f:86:e8:81:65  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


Another issue is that if nrservice is restarted manually or by system restart, it does not connect to the server again. I have to run nrclientcmd and enter the connection info again before the RPi can appear online to other clients.
I have enabled debugging and examined the generated log to see that the service, when restarted, attempts to connect to the server at localhost on the default port, but my server is on another machine and listening to a non-default port. It seems that the service is losing the domain information when it's restarted.

What am I missing here?

Thanks for any help you can offer.


Top
 Profile  
 
 Post subject: Re: Client losing log-in settings on service restart (Raspberry)
PostPosted: Mon Sep 10, 2018 11:27 am 
Offline

Joined: Sat Sep 08, 2018 5:50 pm
Posts: 2
Somehow all the issues got resolved by doing the following:

- I reset the server settings to use the default port and the network 192.168.1.0
- Logged in on the RaspberryPi, and thing are working very well now.
- Changed back the port on the server to my favorite 443.
- Restarted the service on the RPi and logged in again. It works.
- Changed back the network on the server to 10.31.0.0
- Restarted the service on the RPi and logged in again. It works.
- Restarted the OS on RPi, and it logs in to the VPN automatically.

I don't understand why it wasn't working, and why it is working now, but the problem is solved for the moment.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron