You are not logged in.

#1 2014-02-24 22:57:01

glendc
Member
From: Belgium
Registered: 2014-02-16
Posts: 8
Website

[SOLVED] No internet after fresh install on laptop

After working mostly on windows and a little on some linux distributions like Mint and Ubuntu I wanted to move on to Arch Linux after a lot of discussions about it with colleagues and my gf. I managed to install it succesfully on my desktop and everything runs smooth. My laptop didn't went as smooth though. First I had some problems to get it booting, but that problem got solved.

Now... At home I don't seem to be able to connect to the internet with my laptop, while my desktop can connect fine. Both machines are connected with a wire on the same D-LINK router, can give the specs if needed. For both i just use the dynamic IP adress option via dhcpcd.

It might be something simple, and I'm quite the noob, although i want to learn, so I hope someone has a clue what might be going on and how to solve it. I'm writing this topic from my desktop, as I said before, that machine has internet connection without any problem...

Last edited by glendc (2014-02-26 00:51:28)

Offline

#2 2014-02-24 23:08:50

Hspasta
Member
Registered: 2011-12-24
Posts: 189
Website

Re: [SOLVED] No internet after fresh install on laptop

What have you done to get it working and what failed? It's difficult to help when you don't tell us what you tried.

Offline

#3 2014-02-24 23:12:19

glendc
Member
From: Belgium
Registered: 2014-02-16
Posts: 8
Website

Re: [SOLVED] No internet after fresh install on laptop

On my desktop the internet worked from the first time, on my laptop it never did. So I installed archlinux on it from my work earlier today. There the internet does work on my laptop, also just via a wired connection and the dhcpcd service enabled.

Offline

#4 2014-02-24 23:12:56

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: [SOLVED] No internet after fresh install on laptop

Hi glendc, and welcome to the forum!

We need more information to be able to help you. How are you using dhcpcd? What setup guide did you follow? Are you sure that you are using the right network interface? What is the output of running "dhcpcd <interface>" in a terminal?

Other useful information may be the output of "dmesg", "journalctl", relevant system logs in /var/log, etc. If you are using a systemd service then the output of "systemctl status <name of service>" will also be useful.

If you post logs or command output, please use code tags,

like so

.


My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone

Offline

#5 2014-02-24 23:28:27

glendc
Member
From: Belgium
Registered: 2014-02-16
Posts: 8
Website

Re: [SOLVED] No internet after fresh install on laptop

Not sure what you mean by how I use dhcpcd. I use it as a user with root access, I use it as a service and it starts automatic at startup. I also tried to disable and reanable it by using "dhcpcd -k" and "dhcpcd". But that didn't help much.

For the installation i followed mostly Beginners' guide @ https://wiki.archlinux.org/index.php/Beginners'_guide . But note that this laptop also didn't have internet at my house even during the installation of archlinux. That's why I had to install it at work, where the internet does work via a wired connection with the automatic loaded settings.

when running the "dhcpcd <interface>" like "sudo dhcpcd enp6s0" it gives me the following output:

$ sudo dhcpcd enp6s0
version 6.2.1 starting
enp6s0: waiting for carrier
timed out
exited

"$ systemctl status dhcpcd" gives the following output:

dhcpcd.service - dhcpcd on all interfaces
Loaded: loaded (/usr/lib/systemd/system/dhcpcd.service: enabled)
Active: failed (Result: exit-code) since Mon 2014-02-24 23:47:22 CET; 34 min ago
Process: 556 execStop=/usr/bin/dhcpcd -x (code=exited, status=1/FAILURE)
Process: 289 ExecStart=/usr/bin/dhcpcd -q -b (code=exited, status=0/SUCCESS)
Main PID: 295 (code=exited, status=1/FAILURE)
CGroup: /system.slice/dhcpcd.service

Feb 24 23:34:25 glendc dhcpcd[295]: wwp0s29u1u6i6: carrier acquired
Feb 24 23:34:25 glendc dhcpcd[295]: wwp0s29u1u6i6: carrier lost
Feb 24 23:34:25 glendc dhcpcd[295]: wwp0s29u1u6i6: waiting for carrier
Feb 24 23:34:25 glendc dhcpcd[295]: wlp3s0: carrier acquired
Feb 24 23:34:25 glendc dhcpcd[295]: wlp3s0: carrier lost
Feb 24 23:34:25 glendc dhcpcd[295]: wlp3s0: waiting for carrier
Feb 24 23:47:22 glendc systemd[1]: dhcpcd.service: main process exited, code=exited, status=1/FAILURE
Feb 24 23:47:22 glendc dhcpcd[556]: dhcpcd[556]: dhcpcd not running
Feb 24 23:47:22 glendc systemd[1]: dhcpcd.service: contol process exited, code=exited status =1
Feb 24 23:47:22 glendc systemd[1]: Unit dhcpcd.service entered failed state.

For both the "dmesg" and "journalctl" I get really a lot of output, which is way to much to type all by hand. So maybe you can tell me on what i can search within this information so that i can select some stuff and type you this information.

Offline

#6 2014-02-25 00:15:02

wchouser3
Member
From: Indiana USA
Registered: 2013-08-13
Posts: 161
Website

Re: [SOLVED] No internet after fresh install on laptop

What kind of laptop is it? I have a Dell Inspiron. I have to leave the wire hooked up all the way until I get AUR access. Then I have to get the b43-firmware. If you have a Broadcom wireless card, there is no firmware in the kernel. Also, drop dhcpcd and get networkmanager. Open a terminal and execute: wifi-menu. if you get no menu, that's a good indication you don't have the firmware.


If you can't be helpful, don't say anything at all. Fair enough?

Offline

#7 2014-02-25 00:22:50

wchouser3
Member
From: Indiana USA
Registered: 2013-08-13
Posts: 161
Website

Re: [SOLVED] No internet after fresh install on laptop

if you like...I'll keep an eye on this page. I can walk you through it step by step. If you're coming from Ubuntu, they have a handy tool for searching, and installing missing drivers. We don't have that, but if you know your equipment, installing the right driver is a little easier.


If you can't be helpful, don't say anything at all. Fair enough?

Offline

#8 2014-02-25 00:27:46

glendc
Member
From: Belgium
Registered: 2014-02-16
Posts: 8
Website

Re: [SOLVED] No internet after fresh install on laptop

Ok thank you very much. I have a Dell XPS 15 " from the summer of 2011. I know that i can open the wifi-menu as that seemed to work when i was installing, I forgot to mention that, But i first tried to installing this arch liunux laptop in my house, as the wired connection wouldn't worked, I tried to do it via a wifi connection. And i was being able to connect to wifi network via a netctl process, would even get an IP, but i would stil not being able to connect to the internet...

ping -c 3 www.google.com

would still give "unknown host...". Tomorrow at work i'll get networkmanager. For now i need to go to bed as it's quite late and i have to get up early for work. Thank you all for your concern and yes wchouser3, it would be nice if you keep an eye on this post. But for now I have to say goodbye.

Offline

#9 2014-02-25 00:52:20

wchouser3
Member
From: Indiana USA
Registered: 2013-08-13
Posts: 161
Website

Re: [SOLVED] No internet after fresh install on laptop

ok...I'll get back with you tomorrow....don't give up. We'll get it working


If you can't be helpful, don't say anything at all. Fair enough?

Offline

#10 2014-02-25 21:17:44

glendc
Member
From: Belgium
Registered: 2014-02-16
Posts: 8
Website

Re: [SOLVED] No internet after fresh install on laptop

Ok I am available to solve the solution again for a couple of hours. So I still have no internet, and i'm home right now. Earlier today, at work, I installed networkmanager and net-tools. So I have these now too. So any suggestions on where the problem can be? I might not be describing my problem not enough, or forgetting to mention important details, I'm sorry for this, but I'm very new to this, so I don't really know what to tell and what not.

Offline

#11 2014-02-25 21:58:02

wchouser3
Member
From: Indiana USA
Registered: 2013-08-13
Posts: 161
Website

Re: [SOLVED] No internet after fresh install on laptop

glendc wrote:

Ok I am available to solve the solution again for a couple of hours. So I still have no internet, and i'm home right now. Earlier today, at work, I installed networkmanager and net-tools. So I have these now too. So any suggestions on where the problem can be? I might not be describing my problem not enough, or forgetting to mention important details, I'm sorry for this, but I'm very new to this, so I don't really know what to tell and what not.

Well....I can tell you what I had to do.

dhcpcd works fine as long as you have an ethernet wire hooked up. My Dell has the Broadcom Wireless card, meaning I had to get the driver from the AUR. Here's how I got it done:
Install Arch
(leave the ethernet hooked up)
if you have no internet and the ethernet is hooked up, issue the following command:
sudo dhcpcd

if you don't have your /etc/sudoers file set up just type
su

then enter your password,
then enter the following command:
dhcpcd

ok, assuming you have internet withe the ethernet wire, install a browser. Go to the AUR, and get the "b43-firmware" download the tarbell, uncompress it, then install it using makepkg. Check the Wiki if you're not sure how to do it. Once it's installed, issue the following command:
sudo modprobe b43

again, if you don't have sudoers set up, you'll have to execute su, then password.

ok...now you have wireless.

now you have two choices to get it working,

execute the following command to test it:
wifi-menu

you can sign on from there

to sign on at boot, you'll need network manager. I see you've already installed network manager, so you just need to install the panel applet unless you're running gnome or kde (these come with it out of the box)

issue the following three commands:

sudo systemctl disable dhcpcd.service

sudo systemctl stop dhcpcd.service

sudo systemctl enable NetworkManager.service

these commands are case-specific, so make sure you capitalize the N, and M.

reboot, then you should have wifi show up from the panel applet.

if not, let me know....We'll dig a little deeper.

at any rate, whether you have a Broadcom card or not, you have to stop the dhcpcd service and start the NetworkManager service to give control to the panel applet.


If you can't be helpful, don't say anything at all. Fair enough?

Offline

#12 2014-02-25 22:07:30

glendc
Member
From: Belgium
Registered: 2014-02-16
Posts: 8
Website

Re: [SOLVED] No internet after fresh install on laptop

Ok I feel a little stupid... I tried another etherner cable and now it works. So I suppose my old cable is broken.
Thank you for the help anyway. dhcpcd is now enabled btw.

I'm going to try to setup the wireless and see if i can get that up and running.

Offline

#13 2014-02-25 22:13:59

glendc
Member
From: Belgium
Registered: 2014-02-16
Posts: 8
Website

Re: [SOLVED] No internet after fresh install on laptop

OK, thank you to help me. Thanks to your explanation I also got the Wifi running. Ok I guess my internet problems are over, for now...
Thank you very much for your help, time and effort. I'll mark this thread as solved and give myself a kick for my stupitidy.

Offline

#14 2014-02-26 00:20:55

wchouser3
Member
From: Indiana USA
Registered: 2013-08-13
Posts: 161
Website

Re: [SOLVED] No internet after fresh install on laptop

stupid, you are not....I had the same difficulty in the beginning. Moving to Arch is a huge step up the Linux food chain. But one you will find rewarding, and far more fulfilling. I have one laptop where the internet worked right out of the box. I didn't even have to hook up an ethernet cable to install Arch. The Dell, on the other hand.....ERGH!!   gave me one hell of a headache. Please feel free to email me if you have any trouble for which you can't figure out on your own.

wchouser3@gmail.com

As always, take care, and welcome to Arch!


If you can't be helpful, don't say anything at all. Fair enough?

Offline

Board footer

Powered by FluxBB