You are not logged in.

#1 2013-12-21 20:34:04

forbi
Member
Registered: 2013-12-21
Posts: 45

Network

Hi, im having trouble with the install. I can't get the network working. I tried to start the dhcpd@service and it fails.

The interace is enp5s0 (modules loaded)

Also tried
# ip link set enp5s0 up
# ip addr add 192.168.1.50/255.255.255.0 dev enp5s0
# ip route add default via 192.168.1.1

That didn't work sad

Help?

Offline

#2 2013-12-21 20:43:53

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: Network

could you post the output of ip link  ?  I realize you may not have a network connection, so compare it to mine (after I put it up)

ewaller$@$odin ~ 1005 %ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:23:5a:40:e1:40 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether 00:21:00:d9:45:47 brd ff:ff:ff:ff:ff:ff
ewaller$@$odin ~ 1006 %

Note that mine says NO-CARRIER.  I hope yours do not smile

Also, are you sure your subnet is 192.168.1.0/24?
And, is there any reason you are not using dynamic addresses?
Lastly, is your router configured to allow routing to static addresses?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2013-12-21 20:47:56

forbi
Member
Registered: 2013-12-21
Posts: 45

Re: Network

ewaller wrote:

could you post the output of ip link  ?  I realize you may not have a network connection, so compare it to mine (after I put it up)

Note that mine says NO-CARRIER.  I hope yours do not smile

Also, are you sure your subnet is 192.168.1.0/24?
And, is there any reason you are not using dynamic addresses?
Lastly, is your router configured to allow routing to static addresses?

I will post my ip link soon big_smile.

My router is in dhcp (I tried to set an static ip just to see if that work, but nope sad ).
This is my gateway 192.168.1.1, and Mask: 24

What means "No-Carrier"?


enp5s0: <,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000

Last edited by forbi (2013-12-21 20:54:34)

Offline

#4 2013-12-21 20:54:40

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: Network

forbi wrote:

What means "No-Carrier"?

If you see that, it means the cable is disconnected either at the computer, or at the router -- or it is a bad cable .  If you have no carrier, you will not have link indicator lights on either the computer or the router.  The link lights should illuminate.

Last edited by ewaller (2013-12-21 20:55:04)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2013-12-21 20:58:28

forbi
Member
Registered: 2013-12-21
Posts: 45

Re: Network

ewaller wrote:
forbi wrote:

What means "No-Carrier"?

If you see that, it means the cable is disconnected either at the computer, or at the router -- or it is a bad cable .  If you have no carrier, you will not have link indicator lights on either the computer or the router.  The link lights should illuminate.

Yup, the link is working, at least in MicroS... Same pc.

This is mi ip link enp5s0: <,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000

Last edited by forbi (2013-12-21 21:01:04)

Offline

#6 2013-12-21 21:09:53

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: Network

That looks okay.  Did the network work during the installation, and now you cannot get it to work from inside your Arch installation, or are you having problems when booting from the install media?

What make and model is your network interface?  Check the output of lspci

ewaller$@$odin ~ 1009 %lspci -nn| grep Network
02:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)
ewaller$@$odin ~ 1010 %

Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2013-12-21 21:18:55

forbi
Member
Registered: 2013-12-21
Posts: 45

Re: Network

ewaller wrote:

That looks okay.  Did the network work during the installation, and now you cannot get it to work from inside your Arch installation, or are you having problems when booting from the install media?

What make and model is your network interface?  Check the output of lspci

ewaller$@$odin ~ 1009 %lspci -nn| grep Network
02:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)
ewaller$@$odin ~ 1010 %

From the install media sad

lspci: 05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 06)
lsmod: r8169 58399  0 mii                     4035  1 r8169

Offline

#8 2013-12-21 21:41:34

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: Network

I do not have access to a Realtek NIC.  Is this wiki sub-article applicable?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#9 2013-12-21 21:41:45

cris9288
Member
Registered: 2013-01-07
Posts: 348

Re: Network

I have a simlar network interface on my laptop, and was also having some problems. I recommend getting the r8168 driver from the official repos as some people (including myself) have had more luck with it than with r8169. You'll probably have to download it from the website and save it to usb. You can then easily mount the drive and install the package from within the installation media with pacman. You'll have to modprobe -r the old module and modprobe the new one.

Offline

#10 2013-12-21 22:00:53

forbi
Member
Registered: 2013-12-21
Posts: 45

Re: Network

My system is x64, but I only found the r8168-8.012.00-1-i686.pkg.tar.gz, is that going to work?

Edit: I found it https://www.archlinux.org/packages/comm … _64/r8168/, now I need to learn how to make this #@&! works xD

Last edited by forbi (2013-12-21 23:15:41)

Offline

#11 2013-12-21 23:15:48

forbi
Member
Registered: 2013-12-21
Posts: 45

Re: Network

I installed that package and removed the current module (r8169)
then I tried modprobe r8168 and im getting this:


modprobe: ERROR: could not insert 'r8168': Invalid argument


What I am missing?

Offline

#12 2013-12-22 00:14:54

cris9288
Member
Registered: 2013-01-07
Posts: 348

Re: Network

How did you remove r8169?

Offline

#13 2013-12-22 00:17:06

forbi
Member
Registered: 2013-12-21
Posts: 45

Re: Network

cris9288 wrote:

How did you remove r8169?

rmmod and blacklisted it

Offline

#14 2013-12-22 00:51:38

cris9288
Member
Registered: 2013-01-07
Posts: 348

Re: Network

are you sure that rmmod removed the module? Did you check lsmod afterwards? Once you are positive that the old module is out, do a

 sudo modprobe -r r8168 #just to be sure 

and then

 sudo modprobe r8168

Could you follow dmesg in one tty and then do the above in another tty? I don't see why that wouldn't work...to tail dmesg I believe you pass a -w switch.

Offline

#15 2013-12-22 01:22:53

forbi
Member
Registered: 2013-12-21
Posts: 45

Re: Network

cris9288 wrote:

are you sure that rmmod removed the module? Did you check lsmod afterwards? Once you are positive that the old module is out, do a

 sudo modprobe -r r8168 #just to be sure 

and then

 sudo modprobe r8168

Could you follow dmesg in one tty and then do the above in another tty? I don't see why that wouldn't work...to tail dmesg I believe you pass a -w switch.

[   30.709604] r8169 0000:05:00.0 enp5s0: link down
[   30.709609] r8169 0000:05:00.0 enp5s0: link down
[   30.709641] IPv6: ADDRCONF(NETDEV_UP): enp5s0: link is not ready
[   30.958350] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card1/input13
[   32.320528] r8169 0000:05:00.0 enp5s0: link up
[   32.320549] IPv6: ADDRCONF(NETDEV_CHANGE): enp5s0: link becomes ready
[  134.308463] fuse init (API version 7.22)
[  242.393792] r8168: disagrees about version of symbol alloc_etherdev_mqs
[  242.393805] r8168: Unknown symbol alloc_etherdev_mqs (err -22)
[  242.393852] r8168: disagrees about version of symbol skb_put
[  242.393856] r8168: Unknown symbol skb_put (err -22)
[  242.393872] r8168: disagrees about version of symbol consume_skb
[  242.393876] r8168: Unknown symbol consume_skb (err -22)
[  242.393883] r8168: disagrees about version of symbol __netif_schedule
[  242.393887] r8168: Unknown symbol __netif_schedule (e

Offline

#16 2013-12-22 13:06:36

forbi
Member
Registered: 2013-12-21
Posts: 45

Re: Network

I saw in in this thread: https://bbs.archlinux.org/viewtopic.php?id=101836
They use the Realtek script to install the module, but the install media does not include Make, so I dont know what I can do hmm.

I love arch, but I can not install it in this particular pc sad

Offline

#17 2013-12-22 13:52:56

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,964

Re: Network


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#18 2013-12-22 14:25:19

forbi
Member
Registered: 2013-12-21
Posts: 45

Re: Network

Lone_Wolf wrote:

So, you recommend me to install base base-devel grub-bios from local?

Im pretty stuck, because after install that, is going to be hard to get make/linux headers/etc to make the module. Maybe I will wait until a next release, maybe is going to get fixed.

Offline

#19 2013-12-23 12:13:05

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,964

Re: Network

Forbi,

you should use that wiki entry as an example and install only what is needed to build the driver that way.
By installing base, base-devel and linux-headers you should have everything needed to build/install the driver in the install environment.

Last edited by Lone_Wolf (2013-12-23 12:13:20)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB