[Nix-dev] NixOS on MacBook dual boot
Alexey Muranov
alexey.muranov at gmail.com
Wed Aug 13 19:29:27 CEST 2014
Hi Paul,
On 13 août 2014, at 18:10, Paul Colomiets <paul at colomiets.name> wrote:
> On Wed, Aug 13, 2014 at 5:05 PM, Alexey Muranov
> <alexey.muranov at gmail.com> wrote:
>>
>> My new problem is that it turns out i do not have a network access when i boot from a USB stick to install NixOS on my MacBook. I am connected with an Ethernet cable.
>>
>
> Do you have dhcp or static address? Do you have built-in ethernet or
> thunderbolt-based adapter? Whats output of "ip addr" or "ifconfig -a"
> and "ip route"? Does `ping 8.8.8.8` or pinging your local router
> works? (i.e. is it network problem or dns). Do you have dhcpcd
> running? (ps -ax | grep dhcp)
I have built-in ethernet (MacBook 5,1, 2008, aluminum). IHere is the output of the commands that you suggested:
---
# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue 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
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp0s10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:23:32:b2:f4:aa brd ff:ff:ff:ff:ff:ff
inet 10.80.80.44/24 brd 10.80.80.255 scope global enp0s10
valid_lft forever preferred_lft forever
inet6 fe80::223:32ff:feb2:f4aa/64 scope link
valid_lft forever preferred_lft forever
# ifconfig -a
enp0s10: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.80.80.44 netmask 255.255.255.0 broadcast 10.80.80.255
inet6 fe80::223:32ff:feb2:f4aa prefixlen 64 scopeid 0x20<link>
ether 00:23:32:b2:f4:aa txqueuelen 1000 (Ethernet)
RX packets 21 bytes 3699 (3.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 35 bytes 3587 (3.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
# ip route
10.80.0.0/12 via 10.80.80.1 dev enp0s10 metric 202
10.80.80.0/24 dev enp0s10 proto kernel scope link src 10.80.80.44 metric 202
10.249.254.0/24 via 10.80.80.1 dev enp0s10 metric 202
91.149.184.16/29 via 10.80.80.1 dev enp0s10 metric 202
213.184.225.32/27 via 10.80.80.1 dev enp0s10 metric 202
# ping 8.8.8.8
connect: Network is unreachable
# ps -ax | grep dhcp
2749 ? Ss 0:00 dhcpcd --quiet --config /nix/store/272zp63msk1mj2ar1fhirisfn4vf8z9d-dhcpcd.conf
2784 tty1 S+ 0:00 grep dhcp
---
Alexey.
More information about the nix-dev
mailing list