Incorrect Login

CouscousPie

New Member
Apr 2, 2024
10
0
1
I installed Proxmox from a flashdrive with the help of Ventoy. I used the graphical installation mode and was forced to enter a password (2 times) and a valid email adress.

When I reboot after installation, I end up in the terminallike login-screen where I have to enter credentials. However, whatever I do, I cannot login and am noticed of a presumably incorrect login. What could possibly be wrong if I do not have special characters in my password, no capslock and the correct language on my keyboard inputs? Several reinstallations did not solve theproblem.
 
Last edited:
Maybe just reinstall again in case you got a typo while installing? Or did you already try this?
 
And you try to login as "root"?
In would try a simple password thats identical in all languages like "1234" just for testing so you can be sure its not a keyboard layout problem. Its always possible to change to a secure password later.
 
Last edited:
Maybe the keyboard layouts are different between installation and the running pve? For example between the US and the german keyboard layout the Y and Z are switched.
I would try it with a simple numeric password and change it afterwards. Or use the E-Mail field to test if the keyboard layout is as expected.
 
  • Like
Reactions: Dunuin
And you try to login as "root"?
In would try a simple password thats identical in all languages like "1234" just for testing so you can be sure its not a keyboard layout problem. Its always possible to change to a secure password later.
The password is identical in all languages.

Root login instead of the email adress specified during installation, indeed brought me closer. Now I got some note that says that the programs included are free software and I am logged in with root. However, I still cannot connect from browser with the given IP. Shouldn't that be possible at that state?
 
Last edited:
The password is identical in all languages.

Root login instead of the email adress specified during installation, indeed brought me closer. Now I got some note that says that the programs included are free software and I am logged in with root. However, I still cannot connect from browser with the given IP. Shouldn't that be possible at that state?
That should be possible even without logging in. If I should guess, I would bet you either:
1) didnt specifies the ":8006" at the end of the URL
2) used "http:" instead of "https:"
3) used a IP while installing that is not part of your LANs subnet, so like when using the default 192.169.100.2.
 
Last edited:
  • Like
Reactions: Azunai333
Okay, so the original problem was using the email adress as user instead of root. However, I still cannot connect to the Proxmox instance. The first two problems mentioned by @Dunuin can be ruled out, the third is rather difficult for me to understand and check. What I find particularly striking is, that it doesn't matter what I enter in the installation. It is always presumably running on https://192.168.100.2:8006/. Why should Proxmox even be connected to the network when I didn't specify the specific Wifi to connect to? Going on from this thought I connected the home server with an ethernet cable to the router. However, the automatically entered IP during installation is incompatible with the IP of the router (IP4 vs IP6 error), so I went with the standard again. Still unaible to connect.
 
Last edited:
@CouscousPie was the NIC marked as up in the installer (green dot next to it)? if not, then, then "192.168.100.2" is just the fallback/placeholder and you need to actually enter one that makes sense for your network.. and yes, PVE very much expects a wired connection with a static IP ;)
 
From the console, after you login, what do these show:
Code:
cat /etc/network/interfaces

cat /etc/hosts

Enter each line & then post the output here.
 
@CouscousPie was the NIC marked as up in the installer (green dot next to it)? if not, then, then "192.168.100.2" is just the fallback/placeholder and you need to actually enter one that makes sense for your network.. and yes, PVE very much expects a wired connection with a static IP ;)
Yes, after connecting a ethernet cable, it was the first time I've seen a green dot

Can you point me in the right direction on how to find out which adress would make sense for my network? If I understand you correctly, the 192.168.100.2 will not work and is rather a default than a resilient fallback, right? I assume that I have to change the gateway adress to something that fits the IP6 adress automatically inserted when connecting a cable. Is that correct and how would I find out the router's adress in this format?

Additional info: When looking up the webinterface of my router, there is no LAN connection recognised.
 
If I understand you correctly, the 192.168.100.2 will not work and is rather a default than a resilient fallback, right?
Correct.

Can you point me in the right direction on how to find out which adress would make sense for my network?
Log in into your router webUI and see what IP rnge this DHCP server is using. Don't use an IP in that range. Check all your devices at home if they use a static IP. Don't use these that are already in use. Check the IP and netmask of your router and choose a free IP in that subnet.

I assume that I have to change the gateway adress to something that fits the IP6 adress automatically inserted when connecting a cable.
Again, check your routers webUI. I should tell you what IP it is using.
 
From the console, after you login, what do these show:
Code:
cat /etc/network/interfaces

cat /etc/hosts

Enter each line & then post the output here.

Interesting, that here the parameters that I entered during installation appear


Code:
172.0.0.1 localhost.localdomain localhost
192.168.100.2 pve.local.host pve

# The following lines are desirable for IPv6 capable hosts

::1        ip6-localhost ip6-loppback
fe00::0    ip6-localnet
fe00::0    ip6-mcastprefix
fe00::0    ip6-allnodes
fe00::0    ip6-allrouters
fe00::0    ip6-allhosts


Code:
atuto lo
iface lo inet loopback

auto vmbr0
iface vmbr0 inet static
    address 192.168.100.2/23
    gateway 192.168.100.1
    bridge-ports enp1s0
    bridge-stp off
    bridge-fd 0

iface wlp2s0 inet manual

source /etc/network/interfaces.d/*
 
Well your /etc/network/interfaces is missing the correct entry for the enp1s0 nic.
This should be a line: iface enp1s0 inet manual which is placed before the auto vmbr0 line.

The line address 192.168.100.2/23 should probably have a /24 at the end instead of /23
(The address itself is also probably wrong/not usable as pointed out above)

The iface wlp2s0 inet manual line should be commented out, so not to expose the PVE instance to WiFi (definitely better).

Is it possible you first installed without a NIC connected? If this is indeed the case - I'd start again, first connect the PC's NIC to the required router/switch & only then begin installation.
 
Correct.


Log in into your router webUI and see what IP rnge this DHCP server is using. Don't use an IP in that range. Check all your devices at home if they use a static IP. Don't use these that are already in use. Check the IP and netmask of your router and choose a free IP in that subnet.


Again, check your routers webUI. I should tell you what IP it is using.

DHCP server is using 192.168.0.2 to 192.168.0.253, which means that 192.168.100.* addresses should work fine, right?

There is an option activated called "local DHCPv4 server". There is also an option that would allow to set rules for a static DHCP home network with mac addresses.
 
DHCP server is using 192.168.0.2 to 192.168.0.253, which means that 192.168.100.* addresses should work fine, right?
NO!
You need an address within the 192.168.0.XXX range. But what is the DHCP allocation-range set at - ie: which addresses (within this subnet) is DHCP allocating. You need to find this info from your router, and then choose one beyond this.

For instance:
If your router is allocating addresses between 192.168.0.10 till 192.168.0.100 then choose 192.168.0.101 for PVE.
As pointed out above check on your network - what's already being used.
 
If 192.168.0.1 is the router and 192.168.0.2 to 192.168.0.253 is the DHCP range, with 192.168.0.0 and 192.168.0.255 reserves for broadcasting there is only one static IP possible and that is 192.168.0.254/24.

I highly recommend you learn the network basics or you won't have mu fun with PVE.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!