You are not logged in.

#1 2016-03-28 16:00:52

danman
Member
Registered: 2016-03-28
Posts: 2

[SOLVED]Arch live USB - no internet access during install. r8169 issue

Hello forum,
I've been trying to dual boot Linux and Windows 10 on a brand new laptop and have been running into problems, of course. I have successfully dual booted Windows 10 and Antergos on this machine, but my issue with connecting to the internet - ethernet and wifi - seems to transcend distros. Apparently this laptop is too new and is only compatible with the latest kernal.

I have scoured the for fixes and I've concluded 2 things:
1. Use the latest kernal
2. Blacklist your Realtek Ethernet driver r8169 and replace with r8168

Because of the former, I am now trying to replace my Antergos install with Arch, because, unlike other distros, the latest Arch ISO (2016.3.1) comes with kernal 4.4.1.
Enough story time and on to business.
I made a live USB using Rufus with the latest Arch ISO and connecting with an ethernet cable doesn't seem to connect to the internet.

systemctl

shows me enp1s0 highlighted red with a failed flag

ip link

tells me driver enp1s0 is UP, however when I try to

ping

8.8.8.8 or www.google.ca I am unsuccessful.

dhcpcd

starts looking for an ipv6 router, so I used this workaround to disable ipv6 https://wiki.archlinux.org/index.php/IPv6#Disable_IPv6
No dice.
I did manage to fix the ethernet problem in Antergos following the instruction of this gentleman https://forum.antergos.com/topic/1775/e … ble-change
However, resetting r8169 using modprobe didnt allow me to connect to ethernet in arch as it did in antergos.

So, my question is this: How can I install r8168 on a live USB of Arch, when I don't have any way to access the internet on Arch?
The only idea I've had is maybe I can install realtek's driver on a seperate usb and then hopefully I can somehow access that usb from the live Arch boot. Even if I can do that, I would also need linux-headers to make install that driver anyway

Last edited by danman (2016-03-28 21:15:44)

Offline

#2 2016-03-28 16:09:38

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,742

Re: [SOLVED]Arch live USB - no internet access during install. r8169 issue

Quick and nasty solution:  USB tether a phone.   

Connect phone via USB. Set phone for USB tether. On Arch host, run (as root) dhcpcd.  You should have an internet connection through your phone.

If the phone is using wifi, you will be sharing the wifi.  If the phone is using your carrier's data plan, you are sharing carrier data -- so be aware of usage caps and fees.
Some carriers ( T-Mobile in the US) for some inexplicable reason force you off of wifi onto mobile data when tethering USB.  While that might make sense for wireless tethering, it makes no sense for USB tether. You might check that, after establishing a tether, that the phone has not connected itself to a network that could cost you money.

Edit:
Oh, and welcome to Arch Linux big_smile

Last edited by ewaller (2016-03-28 16:10:32)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2016-03-28 21:15:09

danman
Member
Registered: 2016-03-28
Posts: 2

Re: [SOLVED]Arch live USB - no internet access during install. r8169 issue

Although my Linux woes are far from over, this is an effective alternative way to get internet access. Thanks, ewaller!

To any onlookers:
- Google how to tether your phone (mine is Galaxy S3)
- Connect your phone via USB
- Boot in live USB
- use ip link to look for the one that wasnt there before.

ip link set enpxxxx up

(ip link still showed status as UNKNOWN, but ping www.google.ca successfully returned packets)
- after that, do:

dhcpcd

Offline

#4 2016-03-29 08:09:38

newbie1962
Member
From: italy
Registered: 2012-07-24
Posts: 137

Re: [SOLVED]Arch live USB - no internet access during install. r8169 issue

please post answer this commands:

lspci -k

on root

wifi-menu

I have not seen the resurrected, sorry, if you want you can delete

Last edited by newbie1962 (2016-03-29 08:16:49)


hp-envy dv7

Offline

Board footer

Powered by FluxBB