You are not logged in.

#1 2012-12-17 16:34:50

vaviary
Member
Registered: 2012-11-06
Posts: 8

Problems setting static IP

So, I wanted to help a friend of mine to install Arch Linux on his iMac. We partitioned it beforehand, booted from CD and all went fine, but we failed setting up the internet connection.

ping www.google.com

has 100% packet loss. For reference, here is a image of his internet settings on Mac OS: http://ur1.ca/c41u5
Here is what we did:

ip link set eth0 up
ip addr add 10.0.0.70/24 dev eth0
ip route add default via 10.0.0.138

We also edited /etc/resolv.conf:

nameserver 8.8.4.4
nameserver 216.146.35.35
search example.com

We tried many times, but it never worked. I am not there right now so I can't test anything ATM. Also, I'm writing this from my memory, so I can't say _exactly_ what the outputs were, sorry for that.

I hope you can help me, I know it's not that much information.
Thanks in advance!

Last edited by vaviary (2012-12-17 16:36:45)

Offline

#2 2012-12-18 15:25:41

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 4,215

Re: Problems setting static IP

try doing these pings :

ping 127.0.0.1
ping 10.0.0.70
ping 10.0.0.138
ping 8.8.4.4
ping 216.146.35.35

If any of these fail, you got  a network/connection problem .

Incase they are all successfull, continue with these and post the output:

dig localhost
dig <your hostname>
dig www.google.com

Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Online

Board footer

Powered by FluxBB