You are not logged in.

#26 2012-12-16 08:20:18

decas
Member
Registered: 2012-12-13
Posts: 36

Re: [SOLVED] Internet configuration: dynamic IP problems

Yes, I can. This is what I find:

00:00:18.688384 NAT: IPv6 not supported
00:00:19.881988 NAT: DNS#0: 8.8.8.8
00:00:19.882010 NAT: DNS#1: 8.8.4.4
00:00:19.882018 NAT: DHCP offered IP address 10.0.2.15
00:00:19.882601 NAT: DHCP offered IP address 10.0.2.15

There is nothing about the 192 IP.

Last edited by decas (2012-12-16 08:27:14)


Arch Linux + Openbox

Offline

#27 2012-12-16 08:32:34

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,610

Re: [SOLVED] Internet configuration: dynamic IP problems

ok, so it's only getting the 10.x.x.x address from VB.

How about this, make sure dhcpcd is completely disabled (systemctl disable dhcpcd@eth0), reboot the VM, and do an ip addr. Is it already set up with the 192 address?

Online

#28 2012-12-16 08:36:28

decas
Member
Registered: 2012-12-13
Posts: 36

Re: [SOLVED] Internet configuration: dynamic IP problems

Yes. There is only the 192 IP now.

Last edited by decas (2012-12-16 08:36:37)


Arch Linux + Openbox

Offline

#29 2012-12-16 08:42:15

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,610

Re: [SOLVED] Internet configuration: dynamic IP problems

Alright, so somewhere inside your Arch installation, you have something else setting up the network and doing it wrong. Have you done ANYTHING with any kind of network manager (wicd, netcfg, networkmanager, etc)?

If not, netcfg is the only one I can think of that could cause issues since it's part of the base system. Take a look inside /etc/systemd/system and all of it's subfolders. If there's any symlinks in any of them that say netcfg or net-auto, get rid of them.

Online

#30 2012-12-16 08:57:49

decas
Member
Registered: 2012-12-13
Posts: 36

Re: [SOLVED] Internet configuration: dynamic IP problems

Since I am not familiar with terminal, I found out that to browse folders, ls command can be used. Hopefully, I used it correctly and found out that the directory does not have any network managers. I did not install any network managers before as well (at least not on my purpose, if it was not installed because of the Arch's installation itself).

Here is a snapshot of me trying to find out whether there is anything in /etc/systemd/system:
27xo6qa.png

Last edited by decas (2012-12-16 08:58:22)


Arch Linux + Openbox

Offline

#31 2012-12-16 09:04:50

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,610

Re: [SOLVED] Internet configuration: dynamic IP problems

you got part way there smile. Each of those target.wants entries is a separate directory. You need to check them, especially the multi-user.target.wants

Online

#32 2012-12-16 09:29:34

decas
Member
Registered: 2012-12-13
Posts: 36

Re: [SOLVED] Internet configuration: dynamic IP problems

Thanks. I found net-auto-wired.service in multi-user.target.wants and deleted it. That consequently stopped my auto-booting of dhcpcd services, however, i re-enabled it and now I can ping 8.8.8.8, google.com, and www.google.com once I start my system. Not sure how net-auto-wired.service got there, but I found it in the installation guide as an alternative to enabling dhcpcd service (maybe I installed it and forgot?).

Since the Internet works as I expect it to work, this concludes and solves the thread's problem. Now, I will try to install a GUI and later will need to find out how to make Arch work together both with the current Internet connection and wireless. Thanks everyone for helping me.

Last edited by decas (2012-12-16 13:37:34)


Arch Linux + Openbox

Offline

Board footer

Powered by FluxBB