You are not logged in.

#1 2012-04-23 01:34:27

PYTH
Member
Registered: 2012-04-02
Posts: 56

Getting Ethernet Working

I just got Arch on my laptop and I need to setup my internet connection so I can update pacman etc. I try have my ethernet plugged in and I try ifconfig and I get command not found and every time I try to run Pacman -Syu I get error failed. Were should I start from here? (BTW, I am an Arch Noob, I have just used Ubuntu and Mint but am trying out Arch so maybe just go into a little bit more of detail with the steps wink ).

-----NOTE: Please don't redirect me to the Arch Wiki or anything. I have tried that and if it helped me you would not being seeing this post------

Last edited by PYTH (2012-04-23 02:11:04)


Soli Deo Gloria!  - To God alone be the glory!

Offline

#2 2012-04-23 01:54:22

bergersau
Member
Registered: 2012-01-19
Posts: 52

Re: Getting Ethernet Working

iwconfig is for wireless.

What you need is  ifconfig.

Offline

#3 2012-04-23 01:55:29

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,605
Website

Re: Getting Ethernet Working

Sorry to disappoint, but I must direct you to the Beginners Guide on the wiki.  That walks through this step plainly.  If you had read it, you would not be trying to use iwconfig to get a wired connection.

Also, if/when you read it, if you still have problems, come back with the errors/output of the commands it tells you to run.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2012-04-23 01:57:22

PYTH
Member
Registered: 2012-04-02
Posts: 56

Re: Getting Ethernet Working

Sorry about that got the two mixed up. Same result for ifconfig and I did read the beginners guide on the wiki. Will post some of the results though...


Soli Deo Gloria!  - To God alone be the glory!

Offline

#5 2012-04-23 02:07:24

PYTH
Member
Registered: 2012-04-02
Posts: 56

Re: Getting Ethernet Working

Here is the result for ip addr:

1: lo: <loopback,up,lower_up> mtu 16436 qdisc noqueue state unkown
         link/loopback 00:00:00:00:00:00 brd 00:00:00:00
         intet 127.0.0.1/8 scope host lo
2: eth0 : <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifio_fast state up qlen 1000
            link/ether 00:1c:23:b3:eb:8b brd ff:ff:ff:ff:ff:ff
            inet 192.168.1.110/24 brd 192.168.1.255 scope global eth0
3: wlan: <BROADCOM,MULTICAST> mtu 1500 qdisc noob state DOWN qdisc noop state DOWN qlen 1000
              link/ether 00:1e/4c:13:be:50 brd ff:ff:ff:ff:ff:ff

Sorry if that is not the exact way it should be formatted... I had to type all that out considering my arch does not have a desktop environment yet. big_smile

Thanks!


Soli Deo Gloria!  - To God alone be the glory!

Offline

#6 2012-04-23 02:11:15

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,605
Website

Re: Getting Ethernet Working

And ... what about dhcpcd?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2012-04-23 02:21:28

PYTH
Member
Registered: 2012-04-02
Posts: 56

Re: Getting Ethernet Working

dhcpcd[26463]: version 5.2.12 starting
[ 8220.045913] b43-phy0 ERROR: Firmware file "b43/ucode5.fw" not found
[ 8220.046171] b43-phy0 ERROR: Firmware file "b43-open/ucode5.fw" not found
[ 8220.046413] b43-phy0 ERROR: You must got to http://wireless.kernel.org/en/user/Driv … cefirmware and download the correct firmware for this driver version. Please carefully read all instructions on this website.
dhcpcd[26463]: wlan0: up_interface: No such file or directory
dhcpcd[26463]: eth0: rebinding lease of 192.168.1.110
dhcpcd[26463]: wlan0: waiting for carrier
dhcpcd[26463] eth0: leased 192.168.1.110 for 86400 seconds
/usr/lib/dhcpcd/dhcpcd-hook/30-hostname: line 9: hostname: command not found
dhcpcd[26463] forked to background, child pi 26497


Soli Deo Gloria!  - To God alone be the glory!

Offline

#8 2012-04-23 05:29:23

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: Getting Ethernet Working

Well, your eth0 interface is getting an ip from your dhcp server (router), so technically your network connection is working just fine.

What are the issues you're having with your connection exactly?


Burninate!

Offline

#9 2012-04-23 06:28:07

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

Re: Getting Ethernet Working

PYTH wrote:

-----NOTE: Please don't redirect me to the Arch Wiki or anything. I have tried that and if it helped me you would not being seeing this post------

I am afraid that won't help.  You will be directed back to the Wiki.  To help us (and you),  detail for us what it is you have read and where you are having trouble,  That will generate more useful feedback, I guarantee it.  That help will either be clarification (and perhaps an update of the documentation to keep it top-notch) or will come in the forum of other articles to study.    I also guarantee that step-by-step instructions will not be forthcoming on the Arch forums.

Last edited by ewaller (2012-04-23 06:28:57)


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

#10 2012-04-23 07:39:36

bergersau
Member
Registered: 2012-01-19
Posts: 52

Re: Getting Ethernet Working

As you are getting a valid IP address from your router, I am wondering if you might have a DNS issue rather than a problem with the ethernet adaptor.
Try

$ ping 8.8.8.8

That will test if you have basic connectivity.  BTW: 8.8.8.8 is one of Google's public DNS servers.

Offline

#11 2012-04-23 12:20:31

sealclubber
Member
Registered: 2012-04-16
Posts: 34

Re: Getting Ethernet Working

Gcool wrote:

Well, your eth0 interface is getting an ip from your dhcp server (router), so technically your network connection is working just fine.

What are the issues you're having with your connection exactly?

What he said.

Your dhcp request seems to be working absolutely fine. Are you still having connectivity issues when you receive the dhcp address?


When I  win the lottery, the first thing I will do, before I buy a new car or a house, would be to buy a goddamn Cisco XR 12000 router and enough T3 lines to wire a country.

http://myanimelist.net/profile/sealclubber

Offline

#12 2012-04-23 13:11:44

PYTH
Member
Registered: 2012-04-02
Posts: 56

Re: Getting Ethernet Working

Ok. Thanks a lot for helping! My problem (to clarify) is that I can not update pacman and if I run ifconfig I get nothing. I ran ping 8.8.8. and got Network is unreachable. Also when I got to open my mirror list it appears to empty.

@Ewaller... I really have tried following the step by step instructions... they are not helping. That is fine if people can dirrect me to a certain section or a certain command within the fourm but I just don't want people pasting the Beginners guide and not saying anything else... that is not a help.


Soli Deo Gloria!  - To God alone be the glory!

Offline

#13 2012-04-23 13:15:21

sealclubber
Member
Registered: 2012-04-16
Posts: 34

Re: Getting Ethernet Working

PYTH wrote:

Ok. Thanks a lot for helping! My problem (to clarify) is that I can not update pacman and if I run ifconfig I get nothing. I ran ping 8.8.8. and got Network is unreachable. Also when I got to open my mirror list it appears to empty.

@Ewaller... I really have tried following the step by step instructions... they are not helping. That is fine if people can dirrect me to a certain section or a certain command within the fourm but I just don't want people pasting the Beginners guide and not saying anything else... that is not a help.

If all else fails, try rebooting with your ethernet cable plugged in tongue


When I  win the lottery, the first thing I will do, before I buy a new car or a house, would be to buy a goddamn Cisco XR 12000 router and enough T3 lines to wire a country.

http://myanimelist.net/profile/sealclubber

Offline

#14 2012-04-23 13:15:33

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

Re: Getting Ethernet Working

Fair enough.  At least, tell us what yo have already read, and what did (or in some cases smile ) did not happen.  It is a matter of peeling back the onion -- if we don't know what layer you are at, all we can suggest is to start at the beginning.


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

#15 2012-04-23 13:18:30

PYTH
Member
Registered: 2012-04-02
Posts: 56

Re: Getting Ethernet Working

I basically finished the basic installation guide and at the configuring network (https://wiki.archlinux.org/index.php/Co … ng_Network). I am at Enable/disable interface on that.


Soli Deo Gloria!  - To God alone be the glory!

Offline

#16 2012-04-23 13:20:00

chamber
Member
From: ~/
Registered: 2012-03-29
Posts: 279

Re: Getting Ethernet Working

post your /etc/resolv.conf.
I take it that ping 8.8.8 was just a typo and you actually had typed ping 8.8.8.8?


meh

Offline

#17 2012-04-23 13:20:58

PYTH
Member
Registered: 2012-04-02
Posts: 56

Re: Getting Ethernet Working

I run dhcpcd eth0 and I get good results until hostname: command not found forced to background. Then I try to run pacman -Syu and get error: failed (x4).


Soli Deo Gloria!  - To God alone be the glory!

Offline

#18 2012-04-23 13:23:54

PYTH
Member
Registered: 2012-04-02
Posts: 56

Re: Getting Ethernet Working

Seal-Believe me my cable was plugged in... i am not stupid...


Soli Deo Gloria!  - To God alone be the glory!

Offline

#19 2012-04-23 13:25:55

PYTH
Member
Registered: 2012-04-02
Posts: 56

Re: Getting Ethernet Working

@Chamber

Generated by dhcpcd from eth0
/ec/resolv.conf.head can replace this line
nameserver 192.168.1.1
nameserver12.127.16.67
nameserver 203.244.0.3
/etc/resolv.conf.tail can replace this line


Soli Deo Gloria!  - To God alone be the glory!

Offline

#20 2012-04-23 13:27:12

PYTH
Member
Registered: 2012-04-02
Posts: 56

Re: Getting Ethernet Working

Yes. I did type in the right thing.. big_smile


Soli Deo Gloria!  - To God alone be the glory!

Offline

#21 2012-04-23 13:29:34

sealclubber
Member
Registered: 2012-04-16
Posts: 34

Re: Getting Ethernet Working

PYTH wrote:

Seal-Believe me my cable was plugged in... i am not stupid...

I was kidding, hence the smiley face.

Sorry if you took that the wrong way.


When I  win the lottery, the first thing I will do, before I buy a new car or a house, would be to buy a goddamn Cisco XR 12000 router and enough T3 lines to wire a country.

http://myanimelist.net/profile/sealclubber

Offline

#22 2012-04-23 13:30:43

PYTH
Member
Registered: 2012-04-02
Posts: 56

Re: Getting Ethernet Working

No problem!


Soli Deo Gloria!  - To God alone be the glory!

Offline

#23 2012-04-23 13:34:38

headkase
Member
Registered: 2011-12-06
Posts: 1,977

Re: Getting Ethernet Working

Did you do this:

https://wiki.archlinux.org/index.php/Beginners'_Guide#NETWORKING_section

HOSTNAME
Set your hostname to your liking. This is the name of your computer. Whatever you put here, also put it in /etc/hosts

As in did you put the same hostname in /etc/rc.conf AND /etc/hosts?  If you didn't you'll get all sorts of funky, yes funk-master funky, networking issues?

Offline

#24 2012-04-23 13:40:47

PYTH
Member
Registered: 2012-04-02
Posts: 56

Re: Getting Ethernet Working

Yes. I looked at both of those and "myhost" appears to be set as both. WHat is weir is under networking in /etc/rc.conf when it says wired network setup it appears to have nothing.

Wired network setup
- Interface: name of device (required)
- address: ip adress (leave blank for DHCP)
- netmask: subnet mask (ignored for DHCP)
- broadcast: nroadcast address (ignroed for DHCP)
- gateway: default route (ignored for DHCP)

Bu static ip example seems to have an ip address and everything...


Soli Deo Gloria!  - To God alone be the glory!

Offline

#25 2012-04-23 13:42:54

PYTH
Member
Registered: 2012-04-02
Posts: 56

Re: Getting Ethernet Working

In etc/hosts i see:

<hostname.domain.org <hostname>
lacalhost.localdomain  localhost myhost
localhost.localdomain  localhost

I think that is saying that my host name is myhost...

Last edited by PYTH (2012-04-23 13:46:49)


Soli Deo Gloria!  - To God alone be the glory!

Offline

Board footer

Powered by FluxBB