About networks

whitey

New Member
Aug 30, 2015
8
0
1
Hello guys,

I set up my proxmox a few weeks ago, but since then I have moved to a new place, and now the network ain't the same as when I set up my proxmox.
So, when I try to get to the web configuration, the ip address is not working. I can start installing proxmox with the new network specs, but I don't want to wipe all out and start all over again with a new network everytime the network changes (context: I'm at my parents' now, and going back to my place in a few days - which also has a different network from before moving out).

So, my question is:

Would you mind helping me figure out how to change the network configuration for my proxmox to work again?
When I do an ifconfig, btw, my wireless card doesn't show up (when it was fully supported before).
I'm all new to linux and networking and virtual stuff and all, so I don't ask you to give it to me all done, just maybe help me find the appropriate 'tutorial' online so that I learn how to do it, not just a series of instructions that would only work in this specific case.

Thanks a lot,

Whitey
 
You need to provide better information for anyone to help.

You have a (laptop?) with ProxMox installed on it? (Wifi comment is what doesn't make sense here)

You went to a different location and got a new IP?

Copy /etc/network/interfaces to /etc/network/interfaces.new, and modify your vmbr0 address, subnet, and gateway to match your new network on the interfaces.new file. Then reboot it.
 
Hi Pirateghost,

Thanks for your reply.

Yes this is a laptop, with proxmox installed on a external hard drive.
I went indeed to a different location (from my old place to my new place, and then from my new place to my parents' for a few days, where I'm at now), and thus changed IP as I also changed ISPs.

I'll try to copy /etc/network/interfaces to /etc/network/interfaces.new and modify my vmbr0 address, subnet, gateway to my new network on the interfaces.new file, and reboot. Though, I don't see how this can be useful, as I don't even know how to connect to my parents' wifi - if my computer isn't connected to the internet, changing the interfaces file won't help in any way.
Maybe first I'll try to see how I can connect to a wifi network via the shell (I usually do it through a GUI).

Quick Updates:

Edit1:
So, I found several ways to connect to a wireless network in command line. None worked: one used network manager (couldn't find nmcli binaries), the other one used wpasupplicant (same, couldn't find binaries).
As I said before, when typing ifconfig, no wlan was listed, so I tried ifconfig wlan0 up, which worked, but marked my wlan0 as ethernet.
So I turned to /etc/network/interfaces to add a wlan0 manual configuration. Still, I can't get it to work.
I'll try to type here what ifconfig lists, so that you guys can see what's going on and point me to the right direction.

Edit2:
Here is what ifconfig gives me:

 
Last edited: