You are not logged in.
Pages: 1
I'm running the current version of Arch Linux inside VMware Player 6.0.4 on Windows 7. This installation is on a laptop which I already have successfully connected to WiFi both natively and in other virtual machines. I tried to install sudo, but I received a bunch of error messages about not being able to find the host. I checked this with ping www.example.com and got the same thing. Is there any reason for why Arch Linux is failing to resolve these domain names? How do I fix it? I've looked around the forums already and none of what I read either worked or was relevant to my situation.
Offline
It sounds like networking is not set up in the VM.
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
Post the output of:
ip a s
ip r s
cat /etc/resolv.confAre you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Post the output of:
ip a s ip r s cat /etc/resolv.conf
Command:
ip a sOutput:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65336 qdisc noqeue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno16777736: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether XX:XX:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ffKeeping that one MAC address private with "XX:XX:XX:XX:XX:XX".
Command:
ip r sOutput:
Nothing
Command:
cat /etc/resolv.confOutput:
#
# /etc/resolv.conf
#
search localdomain
nameserver 198.168.8.2
# End of file"nameserver 198.168.8.2" is exactly what I have in my Ubuntu VM…I think. Now I'm not so sure. I copied that over from the Ubuntu VM, so maybe I missed a digit.
Offline
It sounds like networking is not set up in the VM.
Maybe, but I know that VMware Player's network connection work with all my other machines.
Off topic: An anarcho-capitalist is the last thing I would've expected to see here. Not that it's weird, just that it's out of the blue.
Offline
OK, so you haven't configured your networking -- have you actually installed, or are you just running the installation livecd?
Keeping that one MAC address private with "XX:XX:XX:XX:XX:XX".
There's nothing inherently private about mac addresses by the way.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
alphaniner wrote:It sounds like networking is not set up in the VM.
Maybe, but I know that VMware Player's network connection work with all my other machines.
Yeah, that was poorly worded. I meant it looked like you don't have networking configured in your guest as fukawi2 (the resident networking guru) had you demonstrate.
Off topic: An anarcho-capitalist is the last thing I would've expected to see here. Not that it's weird, just that it's out of the blue.
FTR, a lot of ancaps use and advocate for free software.
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
OK, so you haven't configured your networking -- have you actually installed, or are you just running the installation livecd?
I've installed it.
Melab wrote:Keeping that one MAC address private with "XX:XX:XX:XX:XX:XX".
There's nothing inherently private about mac addresses by the way.
Please explain.
Offline
I've installed it.
OK, so you've missed something in the process of configuring your network. Go back over Beginners Guide and Network Configuration pages in the wiki and let us know if/where you get stuck.
Please explain.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
In addition to what Trilby linked, your MAC is probably chosen from a range of MACs used by every version of Player, if not every VMware hypervisor. And you could probably change it too.
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
Melab wrote:I've installed it.
OK, so you've missed something in the process of configuring your network. Go back over Beginners Guide and Network Configuration pages in the wiki and let us know if/where you get stuck.
Melab wrote:Please explain.
I'm not sure if should use the guide for wired configurations or the guide for wireless configurations because I don't know what VMware Player's interface is seen by the guest operating system as.
Offline
I'm not sure if should use the guide for wired configurations or the guide for wireless configurations because I don't know what VMware Player's interface is seen by the guest operating system as.
The interface VMware presents to the guest is a bog-standard ethernet (wired) connection.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Melab wrote:I'm not sure if should use the guide for wired configurations or the guide for wireless configurations because I don't know what VMware Player's interface is seen by the guest operating system as.
The interface VMware presents to the guest is a bog-standard ethernet (wired) connection.
Okay, thanks. I found out that running
sudo systemctl start dhcpcd@eno16777736.servicefixed it, but this is required on every boot up. Is there some way I can hard wire the information this command configures?
Offline
I found out that running
sudo systemctl start dhcpcd@eno16777736.servicefixed it, but this is required on every boot up. Is there some way I can hard wire the information this command configures?
I am no expert in the use and configuration of virtual machines, but perhaps the standard
sudo systemctl enable dhcpcd@your_interface.service works in this case too.
MXY
Last edited by MustangXY (2014-11-10 15:22:33)
Offline
Melab wrote:I found out that running
sudo systemctl start dhcpcd@eno16777736.servicefixed it, but this is required on every boot up. Is there some way I can hard wire the information this command configures?
I am no expert in the use and configuration of virtual machines, but perhaps the standard
sudo systemctl enable dhcpcd@your_interface.serviceworks in this case too.
MXY
I'm not sure. Does that create any persistent configurations?
Last edited by Melab (2014-11-23 02:38:12)
Offline
I'm not sure. Does that create any persistent configurations?
Yes, it does. From this systemd wiki section you can read:
Activate a unit immediately:
# systemctl start unitand
Enable a unit to be started on bootup:
# systemctl enable unitso "enable" is basically a boot-time "start" embedded in the system initialization sequence.
I hope it helped clearing your doubts.
MXY
Offline
If you are using VMware your virtual machine will always connect on a Ethernet connection, not wireless.
First you will need to bring up the Ethernet interface up
ip link set eno16777736 upnext you will need to get an IP address from DHCP
dhcpcd Once you do this ping 8.8.8.8, which is google.com
If you are unable to get connection verify that the ethernet interface is up by running
ip linkYou can run
ip addrto see if you have an inet address
Note you will not need to run the dhcp service once you have an ip address, because VMware dhcp server will give you an almost static ip address which will not change when you connect to the internet
Last edited by jajacool (2014-11-24 16:20:12)
Offline
Melab wrote:I'm not sure. Does that create any persistent configurations?
Yes, it does. From this systemd wiki section you can read:
Activate a unit immediately: # systemctl start unitand
Enable a unit to be started on bootup: # systemctl enable unitso "enable" is basically a boot-time "start" embedded in the system initialization sequence.
I hope it helped clearing your doubts.
MXY
No, that didn't work either.
Offline
No, that didn't work either.
That is unhelpful almost to the point of being help vampirism. Help us to help you, give us INFORMATION. We don't have access to your computer, we can't see what is going on. Post the exact commands you used, show us how you've determined it "didn't work". Too much information is better than no information.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
If you are using VMware your virtual machine will always connect on a Ethernet connection, not wireless.
First you will need to bring up the Ethernet interface upip link set eno16777736 upnext you will need to get an IP address from DHCP
dhcpcdOnce you do this ping 8.8.8.8, which is google.com
If you are unable to get connection verify that the ethernet interface is up by runningip linkYou can run
ip addrto see if you have an inet address
Note you will not need to run the dhcp service once you have an ip address, because VMware dhcp server will give you an almost static ip address which will not change when you connect to the internet
Will that persist through reboot?
Offline
Pages: 1