You are not logged in.

#1 2014-04-02 18:25:41

stratacast1
Member
Registered: 2014-01-05
Posts: 12

Internet connection issues post-install [SOLVED]

I decided to try out Arch again, and I'm encountering very similar issues as I did last time. This time, however, I'm not getting any internet connection through ethernet. I have a Lenovo G500
Ethernet: 01:00.0 Ethernet controller: Qualcomm Atheros QCA8172 Fast Ethernet (rev 10)
    Subsystem: Lenovo Device 3802
Wireless: 02:00.0 Network controller: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01)

I can briefly connect to my wireless connection and about 10 seconds later my connection will get dropped. I did the wifi-menu setup in the beginners guide, I did "sudo ip link set dev enp1s0 up" and "sudo ip link set dev wp2s0" and "sudo ip link set enp1s0 up" and "sudo ip link set dev wp2s0 up" and "sudo systemctl start NetworkManager" and "sudo dhcpcd" and so far no luck. My desktop is GNOME 3. Any ideas?

Last edited by stratacast1 (2014-04-06 18:59:01)

Offline

#2 2014-04-02 20:38:46

torors
Member
Registered: 2012-09-28
Posts: 107

Re: Internet connection issues post-install [SOLVED]

May be a kernel module issue. Try:

 sudo modprobe brcmsmac

And: Do not enable NetworkManager and dhcpcd at same time.

Offline

#3 2014-04-02 21:00:22

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

Re: Internet connection issues post-install [SOLVED]

stratacast1 wrote:

... and "sudo systemctl start NetworkManager" and "sudo dhcpcd"...

Don't do that.  NetworkManager will invoke dhcpcd when it is ready for it.  By starting the dhcpcd service, you now have two things trying to start the dhcpcd daemon -- Networkmanager and dhcpcd service.

tl;tr: disable the dhcpcd service in systemctl


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

#4 2014-04-03 06:07:41

stratacast1
Member
Registered: 2014-01-05
Posts: 12

Re: Internet connection issues post-install [SOLVED]

ewaller wrote:
stratacast1 wrote:

... and "sudo systemctl start NetworkManager" and "sudo dhcpcd"...

Don't do that.  NetworkManager will invoke dhcpcd when it is ready for it.  By starting the dhcpcd service, you now have two things trying to start the dhcpcd daemon -- Networkmanager and dhcpcd service.

tl;tr: disable the dhcpcd service in systemctl

Okay, so I tried modprobe on the kernel module and that didn't do anything. I also typed "sudo systemctl disable dhcpcd" (I believe that's what you wanted, right?) and I got this output:

rm '/etc/systemd/system/multi-user.target.wants/dhcpcd.service'

I'm pretty new to Arch so I don't know much about the systemctl and stuff yet.

Offline

#5 2014-04-03 07:08:10

Zygote
Member
Registered: 2013-01-15
Posts: 77

Re: Internet connection issues post-install [SOLVED]

stratacast1 wrote:
ewaller wrote:
stratacast1 wrote:

... and "sudo systemctl start NetworkManager" and "sudo dhcpcd"...

Don't do that.  NetworkManager will invoke dhcpcd when it is ready for it.  By starting the dhcpcd service, you now have two things trying to start the dhcpcd daemon -- Networkmanager and dhcpcd service.

tl;tr: disable the dhcpcd service in systemctl

Okay, so I tried modprobe on the kernel module and that didn't do anything. I also typed "sudo systemctl disable dhcpcd" (I believe that's what you wanted, right?) and I got this output:

rm '/etc/systemd/system/multi-user.target.wants/dhcpcd.service'

I'm pretty new to Arch so I don't know much about the systemctl and stuff yet.

By running sudo systemctl disable dhcpcdc you have disabled the service, hence the output message.

Whats the output from

ip addr

?

Offline

#6 2014-04-03 07:24:26

stratacast1
Member
Registered: 2014-01-05
Posts: 12

Re: Internet connection issues post-install [SOLVED]

Here's my output:

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: enp1s0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 20:1a:06:23:98:56 brd ff:ff:ff:ff:ff:ff
3: wlp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 3c:77:e6:38:52:aa brd ff:ff:ff:ff:ff:ff

Offline

#7 2014-04-03 07:25:04

stratacast1
Member
Registered: 2014-01-05
Posts: 12

Re: Internet connection issues post-install [SOLVED]

As of this moment, my wifi is running just fine...but I'm still leery. I bet it'll drop soon

EDIT: So..it worked until I restarted my computer. Now it's down again

Last edited by stratacast1 (2014-04-03 07:54:23)

Offline

#8 2014-04-03 08:25:29

Zygote
Member
Registered: 2013-01-15
Posts: 77

Re: Internet connection issues post-install [SOLVED]

stratacast1 wrote:

As of this moment, my wifi is running just fine...but I'm still leery. I bet it'll drop soon

EDIT: So..it worked until I restarted my computer. Now it's down again

Can you give us the output of "systemctl"?

Offline

#9 2014-04-03 18:33:59

stratacast1
Member
Registered: 2014-01-05
Posts: 12

Re: Internet connection issues post-install [SOLVED]

Zygote wrote:
stratacast1 wrote:

As of this moment, my wifi is running just fine...but I'm still leery. I bet it'll drop soon

EDIT: So..it worked until I restarted my computer. Now it's down again

Can you give us the output of "systemctl"?

  UNIT                                                          LOAD   ACTIVE SUB       DESCRIPTION
  proc-sys-fs-binfmt_misc.automount                             loaded active waiting   Arbitrary Executable File Formats File System Automount Point
  sys-devices-pci0000:00-0000:00:02.0-backlight-acpi_video0.device loaded active plugged   /sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0
  sys-devices-pci0000:00-0000:00:02.0-drm-card0-card0\x2dLVDS\x2d1-intel_backlight.device loaded active plugged   /sys/devices/pci0000:00/0000:00:02.0
  sys-devices-pci0000:00-0000:00:1a.0-usb1-1\x2d1-1\x2d1.4-1\x2d1.4:1.0-host6-target6:0:0-6:0:0:0-block-sdb.device loaded active plugged   USB2.0-CRW
  sys-devices-pci0000:00-0000:00:1b.0-sound-card0.device        loaded active plugged   7 Series/C210 Series Chipset Family High Definition Audio Cont
  sys-devices-pci0000:00-0000:00:1c.0-0000:01:00.0-net-enp1s0.device loaded active plugged   QCA8172 Fast Ethernet
  sys-devices-pci0000:00-0000:00:1c.1-0000:02:00.0-bcma0:0-ieee80211-phy0-rfkill1.device loaded active plugged   /sys/devices/pci0000:00/0000:00:1c.1/
  sys-devices-pci0000:00-0000:00:1c.1-0000:02:00.0-bcma0:0-net-wlp2s0.device loaded active plugged   BCM4313 802.11bgn Wireless Network Adapter
  sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda1.device loaded active plugged   ST240HM000-1G5152 1
  sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda2.device loaded active plugged   ST240HM000-1G5152 2
  sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda3.device loaded active plugged   ST240HM000-1G5152 3
  sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda4.device loaded active plugged   ST240HM000-1G5152 4
  sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda.device loaded active plugged   ST240HM000-1G5152
  sys-devices-pci0000:00-0000:00:1f.2-ata3-host2-target2:0:0-2:0:0:0-block-sr0.device loaded active plugged   MATSHITA_DVD-RAM_UJ8E1
  sys-devices-platform-serial8250-tty-ttyS0.device              loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS0
  sys-devices-platform-serial8250-tty-ttyS1.device              loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS1
  sys-devices-platform-serial8250-tty-ttyS2.device              loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS2
  sys-devices-platform-serial8250-tty-ttyS3.device              loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS3
  sys-devices-platform-VPC2004:00-rfkill-rfkill0.device         loaded active plugged   /sys/devices/platform/VPC2004:00/rfkill/rfkill0
  sys-module-configfs.device                                    loaded active plugged   /sys/module/configfs
  sys-module-fuse.device                                        loaded active plugged   /sys/module/fuse
  sys-subsystem-net-devices-enp1s0.device                       loaded active plugged   QCA8172 Fast Ethernet
  sys-subsystem-net-devices-wlp2s0.device                       loaded active plugged   BCM4313 802.11bgn Wireless Network Adapter
  -.mount                                                       loaded active mounted   /
  dev-hugepages.mount                                           loaded active mounted   Huge Pages File System
  dev-mqueue.mount                                              loaded active mounted   POSIX Message Queue File System
  home.mount                                                    loaded active mounted   /home
  run-user-1000-gvfs.mount                                      loaded active mounted   /run/user/1000/gvfs
  run-user-1000.mount                                           loaded active mounted   /run/user/1000
  sys-fs-fuse-connections.mount                                 loaded active mounted   FUSE Control File System
  sys-kernel-config.mount                                       loaded active mounted   Configuration File System
  sys-kernel-debug.mount                                        loaded active mounted   Debug File System
  tmp.mount                                                     loaded active mounted   Temporary Directory
  systemd-ask-password-console.path                             loaded active waiting   Dispatch Password Requests to Console Directory Watch
  systemd-ask-password-wall.path                                loaded active waiting   Forward Password Requests to Wall Directory Watch
  session-2.scope                                               loaded active running   Session 2 of user courtney
  accounts-daemon.service                                       loaded active running   Accounts Service
  colord.service                                                loaded active running   Manage, Install and Generate Color Profiles
  dbus.service                                                  loaded active running   D-Bus System Message Bus
  gdm.service                                                   loaded active running   GNOME Display Manager
  kmod-static-nodes.service                                     loaded active exited    Create list of required static device nodes for the current ke
  netctl-auto@wlp2s0.service                                    loaded active running   Automatic wireless network connection using netctl profiles
  NetworkManager.service                                        loaded active running   Network Manager
  polkit.service                                                loaded active running   Authorization Manager
  rtkit-daemon.service                                          loaded active running   RealtimeKit Scheduling Policy Service
  systemd-backlight@backlight:acpi_video0.service               loaded active exited    Load/Save Screen Backlight Brightness of backlight:acpi_video0
  systemd-backlight@backlight:intel_backlight.service           loaded active exited    Load/Save Screen Backlight Brightness of backlight:intel_backl
  systemd-fsck@dev-disk-by\x2duuid-9aff13f3\x2d9720\x2d422e\x2d83ac\x2d782da9d4485c.service loaded active exited    File System Check on /dev/disk/by-
  systemd-journald.service                                      loaded active running   Journal Service
  systemd-localed.service                                       loaded active running   Locale Service
  systemd-logind.service                                        loaded active running   Login Service
  systemd-random-seed.service                                   loaded active exited    Load/Save Random Seed
  systemd-remount-fs.service                                    loaded active exited    Remount Root and Kernel File Systems
  systemd-rfkill@rfkill0.service                                loaded active exited    Load/Save RF Kill Switch Status of rfkill0
  systemd-rfkill@rfkill1.service                                loaded active exited    Load/Save RF Kill Switch Status of rfkill1
  systemd-sysctl.service                                        loaded active exited    Apply Kernel Variables
  systemd-tmpfiles-setup-dev.service                            loaded active exited    Create Static Device Nodes in /dev
  systemd-tmpfiles-setup.service                                loaded active exited    Create Volatile Files and Directories
  systemd-udev-trigger.service                                  loaded active exited    udev Coldplug all Devices
  systemd-udevd.service                                         loaded active running   udev Kernel Device Manager
  systemd-update-utmp.service                                   loaded active exited    Update UTMP about System Boot/Shutdown
  systemd-user-sessions.service                                 loaded active exited    Permit User Sessions
  systemd-vconsole-setup.service                                loaded active exited    Setup Virtual Console
  udisks2.service                                               loaded active running   Disk Manager
  upower.service                                                loaded active running   Daemon for power management
  user@1000.service                                             loaded active running   User Manager for UID 1000
  wpa_supplicant.service                                        loaded active running   WPA supplicant
  -.slice                                                       loaded active active    Root Slice
  system-getty.slice                                            loaded active active    system-getty.slice
  system-netctl.slice                                           loaded active active    system-netctl.slice
  system-netctl\x2dauto.slice                                   loaded active active    system-netctl\x2dauto.slice
  system-systemd\x2dbacklight.slice                             loaded active active    system-systemd\x2dbacklight.slice
  system-systemd\x2dfsck.slice                                  loaded active active    system-systemd\x2dfsck.slice
  system-systemd\x2drfkill.slice                                loaded active active    system-systemd\x2drfkill.slice
  system.slice                                                  loaded active active    System Slice
  user-1000.slice                                               loaded active active    user-1000.slice
  user.slice                                                    loaded active active    User and Session Slice
  dbus.socket                                                   loaded active running   D-Bus System Message Bus Socket
  dmeventd.socket                                               loaded active listening Device-mapper event daemon FIFOs
  lvmetad.socket                                                loaded active listening LVM2 metadata daemon socket
  systemd-initctl.socket                                        loaded active listening /dev/initctl Compatibility Named Pipe
  systemd-journald.socket                                       loaded active running   Journal Socket
  systemd-shutdownd.socket                                      loaded active listening Delayed Shutdown Socket
  systemd-udevd-control.socket                                  loaded active running   udev Control Socket
  systemd-udevd-kernel.socket                                   loaded active running   udev Kernel Socket
  basic.target                                                  loaded active active    Basic System
  cryptsetup.target                                             loaded active active    Encrypted Volumes
  getty.target                                                  loaded active active    Login Prompts
  graphical.target                                              loaded active active    Graphical Interface
  local-fs-pre.target                                           loaded active active    Local File Systems (Pre)
  local-fs.target                                               loaded active active    Local File Systems
  multi-user.target                                             loaded active active    Multi-User System
  network.target                                                loaded active active    Network
  paths.target                                                  loaded active active    Paths
  remote-fs.target                                              loaded active active    Remote File Systems
  slices.target                                                 loaded active active    Slices
  sockets.target                                                loaded active active    Sockets
  sound.target                                                  loaded active active    Sound Card
  swap.target                                                   loaded active active    Swap
  sysinit.target                                                loaded active active    System Initialization
  timers.target                                                 loaded active active    Timers
  systemd-tmpfiles-clean.timer                                  loaded active waiting   Daily Cleanup of Temporary Directories

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

103 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

Offline

#10 2014-04-03 23:06:27

derekArch
Member
Registered: 2013-02-02
Posts: 22

Re: Internet connection issues post-install [SOLVED]

Your netctl and network manager services are in conflict. I would recommend not using Network manager and just using netctl. First, run

sudo systemctl disable NetworkManager

Double check that netctl-auto@wlp2s0 is enabled on startup:

sudo systemctl enable netctl-auto@wlp2s0.service

Then Reboot.
If that doesn't work, try netctl on a specific network rather then auto. Run:

sudo systemctl stop netctl-auto@wlp2s0.service

and make sure it doesn't start on startup:

sudo systemctl disable netctl-auto@wlp2s0.service

Then run wifi-menu as before to connect to the wifi. Then, enable the netctl profile by looking in /etc/netctl for the profile name. It looks like wlp2s0-wifi_name. Then run:

sudo netctl enable netctl@wlp2s0-profile_name

substituting for the profile name you found and reboot.
Check https://wiki.archlinux.org/index.php/Netctl for more netctl info.
I also use Gnome and I have found that netctl is more reliable then NetworkManager

Offline

#11 2014-04-03 23:36:40

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

Re: Internet connection issues post-install [SOLVED]

Sigh.  You did not tell us you were also using netctl.


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

#12 2014-04-04 06:11:50

stratacast1
Member
Registered: 2014-01-05
Posts: 12

Re: Internet connection issues post-install [SOLVED]

Sorry I'm highly inexperienced with Arch >.> I'm used to Debian where after an install there's only 1 network manager (despite my trying to carefully follow the wiki) wink

I knew it was a network manager issue, but definitely not what! That fixed my network issue and there's no conflicts! Now my issue is trying to view my network in the GNOME 3 GUI, since now I can't view what my connections are except via terminal. Is there a particular package I need?

Also, why netctl and not NetworkManager?

Last edited by stratacast1 (2014-04-04 06:21:10)

Offline

#13 2014-04-04 14:44:20

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

Re: Internet connection issues post-install [SOLVED]

stratacast1 wrote:

Also, why netctl and not NetworkManager?

Purely a matter of preference.  netctl is home grown and is in line with the KISS philosophy embraced by Archers.  I used wicd for years before changing to netctl fairly recently.  netctl has some limitations, some of the more complex solutions do a better job of handling PPP and VPNs.


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

#14 2014-04-04 15:59:58

harshsahil48
Member
Registered: 2013-12-10
Posts: 65

Re: Internet connection issues post-install [SOLVED]

stratacast1 wrote:

I decided to try out Arch again, and I'm encountering very similar issues as I did last time. This time, however, I'm not getting any internet connection through ethernet. I have a Lenovo G500
Ethernet: 01:00.0 Ethernet controller: Qualcomm Atheros QCA8172 Fast Ethernet (rev 10)
    Subsystem: Lenovo Device 3802
Wireless: 02:00.0 Network controller: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01)

I can briefly connect to my wireless connection and about 10 seconds later my connection will get dropped. I did the wifi-menu setup in the beginners guide, I did "sudo ip link set dev enp1s0 up" and "sudo ip link set dev wp2s0" and "sudo ip link set enp1s0 up" and "sudo ip link set dev wp2s0 up" and "sudo systemctl start NetworkManager" and "sudo dhcpcd" and so far no luck. My desktop is GNOME 3. Any ideas?

sudo systemctl disable dhcpcd.service

and a reboot should do it.
If not, post systemd's current boot log.


Never forget~Never forgive

Offline

#15 2014-04-06 18:58:30

stratacast1
Member
Registered: 2014-01-05
Posts: 12

Re: Internet connection issues post-install [SOLVED]

ewaller wrote:
stratacast1 wrote:

Also, why netctl and not NetworkManager?

Purely a matter of preference.  netctl is home grown and is in line with the KISS philosophy embraced by Archers.  I used wicd for years before changing to netctl fairly recently.  netctl has some limitations, some of the more complex solutions do a better job of handling PPP and VPNs.

Hmmmm perhaps I'll come around to it! For now I'll just use network manager though and give netctl a shot when I start to get used to Arch.

Thank you all for the help! I've noticed from here and past experiences that the Arch community has been the most helpful

Offline

Board footer

Powered by FluxBB