Skip to main content
Topic: No internet after migration from Manjaro (Read 2919 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

No internet after migration from Manjaro

Hello,

I just finished migrating my Manjaro desktop to Artix. I am currently on my older Kernel because I have no internet access. My older kernel seems to be running Artix because I see that name pop up in the comment while my computer is booting up. However, a few things don't seem to be right. I wonder if this is because the other Kernel is correct and this one is not.

So, should I focus my energy on getting the internet working on the linux-lts kernel and then delete this one? If so, how can I get the internet working on my other kernel since I don't have any way to install any missing programs?

Here is more information regarding my system:

Code: [Select]
inxi -Fx
System:    Host: localhost Kernel: 4.9.51-1-MANJARO x86_64
           bits: 64 gcc: 7.2.0
           Desktop: Xfce 4.12.4 (Gtk 2.24.31) Distro: Artix ()
Machine:   Device: desktop Mobo: BIOSTAR model: H61MGC v: 6.0 serial: N/A
           BIOS: American Megatrends v: 4.6.4 date: 01/19/2012
CPU:       Dual core Intel Core i3-2120 (-HT-MCP-)
           arch: Sandy Bridge rev.7 cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 13174
           clock speeds: max: 3300 MHz 1: 1626 MHz 2: 1697 MHz 3: 1692 MHz
           4: 1601 MHz
Graphics:  Card: NVIDIA GT218 [GeForce 8400 GS Rev. 3] bus-ID: 01:00.0
           Display Server: x11 (X.Org 1.19.3 ) driver: nouveau
           Resolution: [email protected]
           OpenGL: renderer: NVA8 version: 3.3 Mesa 17.2.1 Direct Render: Yes
Audio:     Card-1 NVIDIA High Def. Audio Controller
           driver: snd_hda_intel bus-ID: 01:00.1
           Card-2 Intel 6 Series/C200 Series Family High Def. Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.9.51-1-MANJARO
Network:   Card: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
           driver: r8168 v: 8.044.02-NAPI port: d000 bus-ID: 03:00.0
           IF: eth0 state: up speed: 100 Mbps duplex: full
           mac: b8:97:5a:0c:03:f3
Drives:    HDD Total Size: 1000.2GB (20.2% used)
           ID-1: /dev/sda model: WDC_WD1002FAEX size: 1000.2GB
Partition: ID-1: / size: 720G used: 189G (28%) fs: ext4 dev: /dev/sda4
Sensors:   System Temperatures: cpu: 42.0C mobo: N/A gpu: 44.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 171 Uptime: 19 min Memory: 1109.7/7969.9MB
           Init: N/A rc: OpenRC runlevel: default Gcc sys: 7.2.0
           Client: Shell (bash 4.4.121) inxi: 2.3.39


Re: No internet after migration from Manjaro

Reply #1
Check if you have installed community/r8168-lts package. If not install it then run
Code: [Select]
mkinitcpio -P
. If you have installed that package but still can't connect you then may need to blacklist r8169.

Re: No internet after migration from Manjaro

Reply #2
Did you run nmtui on terminal?
Try iit.

I see this pkg /usr/lib/modules/extramodules-4.9-lts/r8168.ko.gz which you have to find somewhere and download from another installation and install it locally
https://mirror.netcologne.de/archlinux/community/os/x86_64/r8168-lts-8.045.08-1-x86_64.pkg.tar.xz
https://mirror.netcologne.de/archlinux/community/os/x86_64/r8168-8.045.08-1-x86_64.pkg.tar.xz

But isn't the above (code) showing that your network is up and functioning?

Re: No internet after migration from Manjaro

Reply #3
Check if you have installed community/r8168-lts package. If not install it then run
Code: [Select]
mkinitcpio -P
. If you have installed that package but still can't connect you then may need to blacklist r8169.

I tried to install that package but I got the following error:
Code: [Select]
error: database not found: community

Here is my /etc/pacman.conf file if it helps:

Code: [Select]
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
CacheDir = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
HoldPkg     = pacman glibc manjaro-system
# If upgrades are available for these packages they will be asked for first
#SyncFirst    = manjaro-system
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#TotalDownload
CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Never #Required DatabaseOptional
LocalFileSigLevel = Never #Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
# Artix repos
[system]
Include = /etc/pacman.d/mirrorlist
[world]
Include = /etc/pacman.d/mirrorlist
[galaxy]
Include = /etc/pacman.d/mirrorlist

#[core]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

#[extra]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

#[community]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

Re: No internet after migration from Manjaro

Reply #4
Did you run nmtui on terminal?
Try iit.

I see this pkg /usr/lib/modules/extramodules-4.9-lts/r8168.ko.gz which you have to find somewhere and download from another installation and install it locally
https://mirror.netcologne.de/archlinux/community/os/x86_64/r8168-lts-8.045.08-1-x86_64.pkg.tar.xz
https://mirror.netcologne.de/archlinux/community/os/x86_64/r8168-8.045.08-1-x86_64.pkg.tar.xz

Okay, this may be the problem. Looks like network manager is not running. So, I do I fix that?

Code: [Select]
# nmtui
NetworkManager is not running.


Quote
But isn't the above (code) showing that your network is up and functioning?


Sorry, my bad. I included the results from the old Manjaro kernel. Here are the results from the one I installed with Artix and which I can not connect to the internet.

Code: [Select]
System:    Host: localhost Kernel: 4.9.44-1-lts x86_64 bits: 64 gcc: 7.1.1
           Desktop: Xfce 4.12.4 (Gtk 2.24.31) Distro: Artix ()
Machine:   Device: desktop Mobo: BIOSTAR model: H61MGC v: 6.0 serial: N/A
           BIOS: American Megatrends v: 4.6.4 date: 01/19/2012
CPU:       Dual core Intel Core i3-2120 (-HT-MCP-)
           arch: Sandy Bridge rev.7 cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 13170
           clock speeds: max: 3300 MHz 1: 1599 MHz 2: 1600 MHz 3: 1599 MHz
           4: 1600 MHz
Graphics:  Card: NVIDIA GT218 [GeForce 8400 GS Rev. 3] bus-ID: 01:00.0
           Display Server: x11 (X.Org 1.19.3 ) driver: nouveau
           Resolution: [email protected]
           OpenGL: renderer: NVA8 version: 3.3 Mesa 17.2.1 Direct Render: Yes
Audio:     Card-1 NVIDIA High Def. Audio Controller
           driver: snd_hda_intel bus-ID: 01:00.1
           Card-2 Intel 6 Series/C200 Series Family High Def. Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.9.44-1-lts
Network:   Card: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
           port: d000 bus-ID: 03:00.0
           IF: N/A state: N/A speed: N/A duplex: N/A mac: N/A
Drives:    HDD Total Size: 1008.2GB (20.0% used)
           ID-1: /dev/sda model: WDC_WD1002FAEX size: 1000.2GB
           ID-2: USB /dev/sdc model: SD/MMC size: 7.9GB
Partition: ID-1: / size: 720G used: 189G (28%) fs: ext4 dev: /dev/sda4
Sensors:   System Temperatures: cpu: 42.0C mobo: N/A gpu: 47.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 160 Uptime: 20 min Memory: 659.4/7970.0MB
           Init: N/A rc: OpenRC runlevel: default Gcc sys: 7.2.0
           Client: Shell (bash 4.4.121) inxi: 2.3.39
[/quote]

Re: No internet after migration from Manjaro

Reply #5
Did you run $ sudo mkinitcpio -P
Any errors or warnings?

I am not the right person to give advice with nvidia and I know there is a can of worms in it.
Even though I can't imagine how it would affect networking.

Here is the pkg for networkmanager http://mirror1.artixlinux.org/repos/world/os/x86_64/networkmanager-1.8.2-3-x86_64.pkg.tar.xz
http://mirror1.artixlinux.org/repos/world/os/x86_64/networkmanager-openrc-20170704-1-any.pkg.tar.xz

If you came from systemd you need the openrc pkg as well

Re: No internet after migration from Manjaro

Reply #6
if what you post is really your pacman.conf than the problem is that you did not follow migration guide in section when it was desribing mirrorlists > https://artixlinux.org/migrate.php

Your pacman.conf shoud look like this:
Code: [Select]
# Artix repos
[system]
Include = /etc/pacman.d/mirrorlist
[world]
Include = /etc/pacman.d/mirrorlist
[galaxy]
Include = /etc/pacman.d/mirrorlist
# Arch repos, overriden and [core] disabled
# [core]
# Include = /etc/pacman.d/mirrorlist-arch
[extra]
Include = /etc/pacman.d/mirrorlist-arch
[community]
Include = /etc/pacman.d/mirrorlist-arch
# [multilib]
# Include = /etc/pacman.d/mirrorlist-arch

So read the first part of the migration guide again.
Have a nice night.

 

Re: No internet after migration from Manjaro

Reply #7
what is ip ad?