You are not logged in.
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 ).
-----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
iwconfig is for wireless.
What you need is ifconfig.
Offline
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
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
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.
Thanks!
Soli Deo Gloria! - To God alone be the glory!
Offline
And ... what about dhcpcd?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
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
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
-----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
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
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.
Offline
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
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
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.
Offline
Fair enough. At least, tell us what yo have already read, and what did (or in some cases ) 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
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
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
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
Seal-Believe me my cable was plugged in... i am not stupid...
Soli Deo Gloria! - To God alone be the glory!
Offline
@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
Yes. I did type in the right thing..
Soli Deo Gloria! - To God alone be the glory!
Offline
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.
Offline
No problem!
Soli Deo Gloria! - To God alone be the glory!
Offline
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
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
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