Thanks guys, I typed in exactly as suggested but no joy. I was playing with clearos at the same time and their first startup after installation is the network config gui. I can easily insert my network interface and I can immediately access the clearos machine via my laptop.
I forgot to mention
Choose an IP to assign to an interface, for example 192.168.1.100:
ifconfig eth0 192.168.1.100
Then reconfigure the system:
Found another thread:
If I recall correctly, when installing NethServer if you don’t specify IP settings it will configure interfaces with DHCP. If the setup is using CentOS installer (Anaconda) it allows to configure network interfaces.
Then you should be able to access the server-manager web page pointing browser to
If for some reason you can not access the server-manager, and you want to set the GREEN interface from command line, you can specify it providing the correct network interface name and network parameters:
[root@localhost ~]# ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1 ... 2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 ... inet 192.168.2.5/24 brd 192.168.2.255 scope global dynamic enp0s3 ... 3: enp0s8: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000 ... [root@localhost ~]# db networks set enp0s8 ethernet role green ipaddr 192.168.1.1 netmask 255.255.255.0 network 192.168.1.0 onboot yes bootproto static [root@localhost ~]# signal-event interface-update
Point client’s browser to
Thanks guys I just can’t get it to work despite following all steps given. I can see the interface set up as 18.104.22.168 but can’t connect from my laptop using https://192.168.1.1:980. The only thing working for me at the moment on my test machine is clearos. I already have pfsense on a dedicated machine protecting my home. I just find pfsense hard to use and wanted to change to nethserver.
Please give it another try, NS can be a simple UI gateway and will fit your needs I think.
If you get no address by DHCP a fallback IP is assigned:
So you may try to connect with your laptop to one interface after the other and one of them should have 192.168.1.1
There are other installation modes:
- manual installation: you can setup network on install
- unattended install: DHCP or fallback
What’s the output if you run these two commands?
ip addr db networks show
Here is a simple screenshot documentation to get Nethserver installed AND access the servermanager:
After booting you will be greeted with this screen:
You opt for the first choice, the interactive installation. This will bring you to the next screen:
Work through these items in the order of the red dots with numbers. 1 will open this screen, select a region and click Done.
Next was the keyboard layout. I always accept defaults, they suit me:
Lastly, the network settings will need to be set:
We need to change the IPv4 settings, so we click on that tab:
We then change the method to manual:
…and enter the desired IP configuration and hit save:
You probably also want to change your hostname:
Finaly, confirm your settings and press done:
And we can now start the install:
Click ‘Set root password’ and enter a password, click done when ready:
and wait till ready.
When it shows a logon prompt, goto the IPv4 address you entered on https and add port 980. Our example would be:
https://192.168.5.1:980 (as per your examples, dunno if I got the default gateway right) Confirm the security exception and you should end up with this:
Yes, the IP here differs, I had to change the IP to my local settings
Now logon with the root account and the password you just set and work through the final setup steps, and continue to configure your server:
It would be really helpful if the login prompt said that directly: “To configure this server, browse to https://whatever:980 with your web browser.” Many other software distributions that are designed with a web GUI as their primary means of administration do this.
Edit: See, e.g., FreePBX:
I’m always a bit conservative when it comes to running servers that are not ‘just’ a media center or something like that. One should not be pampered to setup a server without knowing what it is they are doing … it’s kinda dangerous …
Wow, I am overwhelmed from the support from this forum. Never imagined I would get so many good people wanting to help. I am certainly not giving up
Is my setting LAN-interface below correct?
DNS server: 192.168.1.1
Can you reach the webinterface?
The IP address is ok.
As regards the netmask: 24 is cidr notation, I’d use just 255.255.255.0 to be sure it’s accepted.
On your internal(green, LAN) network inteface you won’t need gateway and dns server but they should be set on external (red, WAN) interface.
Your clients would need gateway 192.168.1.1 and dns server 192.168.1.1 in their config but step by step.
For reaching the webinterface ip address and netmask on one of your interfaces should be enough to work.
Hi, I followed your instructions. It is running installation now and will feedback once done. Cheers.
OK, this way you should be able to browse to https://192.168.1.1:980 after installation. Good luck!
Nothing I do works. I thought it could be my laptop not connecting to webinterface but same result after I connect the LAN cable to another laptop.
A few days ago I installed clearos v7.4 and everything worked out of the box with minimal input. I can access webinterface via a laptop and able to access internet.
Ok here is my setup at home. Blue means a working system and yellow is my test Nethserver system.
You may give your laptop a static ip:
Then try to connect to one after the other of your 3 network interfaces with lan cable, direct, from laptop to nethserver. One of these 3 connections has to work.
What about adding your howto to the wiki? The installation howtos there cover Nethserver 6.7 with text install so it’s time for an upgrade…
No problem,but I need to test voor @davidep and need to describe a bunch of other things as well … feel free to rip it and put it there no credit needed.
OMG OMG OMG
I finally got in webinterface
I used the command scrip below using enp4s0 instead of enp0s8:
Thank you Thank you
Glad it works!
Please mark the answer that helped you (the answer of @dnutan in this case) as solution:
This way others with similar problems will be able to find a solution quickly.
Have fun with Nethserver … you’ll probably be happy you went the extra mile! Welcome on board