You are not logged in.

#1 2016-02-05 08:37:15

pefc58008
Member
Registered: 2016-02-05
Posts: 7

[SOLVED] After installation reset I cant set the IP/Gateway anymore

Hello guys, I've never been in this forum before but I hope you will help me with my questions. Thank you in advance!


Disclaimer: I've never installed archlinux before (no manjaro or antergos either) and followed this german guide https://wiki.archlinux.de/title/Anleitu … Einsteiger


I've made my partition table, my partitions, set up the temporary network, configurated the necessary files and started the installation.. only to notice I've wanted to set up GRUB but didnt set the BIOS BOOT flag for my boot-partition. After this, all I did was let my pc finish the installation, reboot, and started at 0 again, but without formatting the disk before. (I hope this is not the error)
My problem is: I cannot set the IP addr and gateway now

I am using these commands to set either:
ip addr add 123.123.123.123/24 dev enp1s0
ip route add default 123.123.123.123


IP addr add gives me back >>RTNETLINK answers: File exists<< and route add >>Error: an inet prefix is expected rather than 'default'.<<
The first time everything worked perfeclty. I suppose I have to kinda delete the current configuration for my enp1s0, so I can set it from a new.. But I do not know how. :S

Last edited by pefc58008 (2016-02-05 10:22:22)

Offline

#2 2016-02-05 08:43:37

pefc58008
Member
Registered: 2016-02-05
Posts: 7

Re: [SOLVED] After installation reset I cant set the IP/Gateway anymore

Never mind guys! I got it!

For every other person wondering the same:

Simply read a little bit in the "ip addr help" and "ip route help" and you will find the possibility of using 'change' and 'replace'. I hope everything works out well for you too!

Offline

#3 2016-02-05 10:04:07

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED] After installation reset I cant set the IP/Gateway anymore

@pefc58008,

Please mark the thread as solved.

Offline

Board footer

Powered by FluxBB