LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-10-2010, 09:41 AM   #1
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Blog Entries: 19

Rep: Reputation: 146Reputation: 146
Two problems after installing Arch Linux. Help!


The first problem is that I cannot use the Arch repository. Every time I try to, it brings up a "no address record" error. I have configured my network interface properly and can ping www.google.com and receive a whole load of crap. Definitely working.
Whats wrong?


The second problem is that the boot-up process hangs for a very long time at "Starting Network." This make my boot of Arch just as slow as *buntu! WTF? Whats wrong there?

Aside from that, I am unhappy that my Ethernet card is not detected but thats another question.

The only ting I am pleased with right now is the speed of the system, and the fact that I used 4 different file systems on 7 different partitions without a hitch.

Please help...
 
Old 01-10-2010, 09:46 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,960
Blog Entries: 46

Rep: Reputation: 3188Reputation: 3188Reputation: 3188Reputation: 3188Reputation: 3188Reputation: 3188Reputation: 3188Reputation: 3188Reputation: 3188Reputation: 3188Reputation: 3188
Hi,

How is '/etc/resolv.conf' configured?
 
Old 01-10-2010, 09:49 AM   #3
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022

Original Poster
Blog Entries: 19

Rep: Reputation: 146Reputation: 146
Quote:
Originally Posted by onebuck View Post
Hi,

How is '/etc/resolv.conf' configured?
Nothing much.
Two links to other files, and "Generated by dhcpd." All three are commented.

Last edited by lupusarcanus; 01-10-2010 at 09:52 AM.
 
Old 01-10-2010, 09:52 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Did you enable a repository in /etc/pacman.d/mirrorlist?
There is a step for this in the installer, but I usually do it manually.

You say that the network is working, but that it does not detect your ethernet card-----??

Regardless, I now alwasy use WICD---the wiki gives you all the instructions, including disabling the default network utility in /etc/rc.conf
 
Old 01-10-2010, 09:56 AM   #5
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022

Original Poster
Blog Entries: 19

Rep: Reputation: 146Reputation: 146
Quote:
Originally Posted by pixellany View Post
Did you enable a repository in /etc/pacman.d/mirrorlist?
There is a step for this in the installer, but I usually do it manually.

You say that the network is working, but that it does not detect your ethernet card-----??

Regardless, I now alwasy use WICD---the wiki gives you all the instructions, including disabling the default network utility in /etc/rc.conf
I have a wireless card as well -- sorry.

I did in the installer. I even commented out that one and tried another, and attempted and update for pacman. No banana.

Right now, I have no way to connect this computer to the Arch one. I would have to overwrite my USB install stick... Is wicd available on the command-line? I thought it was for KDE.

Last edited by lupusarcanus; 01-10-2010 at 09:57 AM.
 
Old 01-10-2010, 10:04 AM   #6
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022

Original Poster
Blog Entries: 19

Rep: Reputation: 146Reputation: 146
I just pinged Linuxquestions.org and got responses! Whats wrong with pacman? I have tried nearly every mirror for the US!

With some of the other mirrors, the error is "Not Found."

Last edited by lupusarcanus; 01-10-2010 at 10:05 AM.
 
Old 01-10-2010, 10:11 AM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Here's my resolv.conf (also generated by dhcp)
Code:
[root@Ath pacman.d]# more /etc/resolv*
# Generated by dhcpcd from eth0
# /etc/resolv.conf.head can replace this line
domain myhome.westell.com
nameserver 192.168.1.1
# /etc/resolv.conf.tail can replace this line
AFAIK, there MUST be at least one (uncommented) nameserver entry. (I don't know how you could ping Google without it)

As to the Ethernet card, what does "lspci" and "ifconfig -a" show?

Pacman and repositories:
Can you ping the repository that you have enabled?
Is /etc/pacman.conf set up something like this?:
Code:
[core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
This tells pacman which areas of the repo are enabled and then sends pacman to mirrorlist to get the URL.

AND--be sure that only one repo is enabled in mirrorlist....
 
Old 01-10-2010, 10:15 AM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
PS:
WICD runs on any GUI WM or DM---not just KDE
 
Old 01-10-2010, 10:35 AM   #9
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022

Original Poster
Blog Entries: 19

Rep: Reputation: 146Reputation: 146
Quote:
Originally Posted by pixellany View Post

As to the Ethernet card, what does "lspci" and "ifconfig -a" show?

Pacman and repositories:
Can you ping the repository that you have enabled?
Is /etc/pacman.conf set up something like this?:
[CODE][core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist.

This tells pacman which areas of the repo are enabled and then sends pacman to mirrorlist to get the URL.

AND--be sure that only one repo is enabled in mirrorlist....
The pacman.conf showed what you have up there.

First, the resolv.conf was accidentally ran with no connection present. After I connected, it updated with 3 name servers and a URL of my ISP.

I could not ping the repository that I have enabled.

Only one repo is uncommented. The newbie guide made this very clear.

lspci showed my network card. It's an Atheros AR5001 Wireless Network Adapter.

And Ifconfig -a didn't see anything, as far as I could tell. (How do you scroll UP in CLI? Page Up doesn't work! Scroll keys don't work!)

Last edited by lupusarcanus; 01-10-2010 at 10:46 AM.
 
Old 01-10-2010, 11:04 AM   #10
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022

Original Poster
Blog Entries: 19

Rep: Reputation: 146Reputation: 146
The repos worked! I'm not sure how... I think I messed someting editing the pacman.conf. Lol.

But trying to install powerpill it gives the error: "gcc: requires gcc-libs=4.4.1-1"

I tried pacman -S gcc, but it said it was already installed.?
 
Old 01-10-2010, 11:09 AM   #11
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Scrolling in the CLI is typically shift-pageup and shift-pagedown. If you are using a terminal in the GUI, the mouse wheel will do it also.

I think we need to get your repository issue fixed first.......

Try pinging a few things at random---eg Yahoo, Google, LQ, my website http://pixellany.com, and whatever else you can think of. Then try pinging various Arch repos at random. We're looking for any kind of pattern that you can find.

Note: to ping an Arch repo, you want just the URL (no http://) Here's the ping on my system---if this does not work, then try pinging the numerical IP.

Code:
[root@Ath etc]# ping archlinux.unixheads.org
PING archlinux.unixheads.org (149.20.54.20) 56(84) bytes of data.
64 bytes from packman-ha.isc.org (149.20.54.20): icmp_seq=1 ttl=55 time=41.1 ms
 
Old 01-10-2010, 11:12 AM   #12
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022

Original Poster
Blog Entries: 19

Rep: Reputation: 146Reputation: 146
Quote:
Originally Posted by pixellany View Post
Scrolling in the CLI is typically shift-pageup and shift-pagedown. If you are using a terminal in the GUI, the mouse wheel will do it also.

I think we need to get your repository issue fixed first.......

Try pinging a few things at random---eg Yahoo, Google, LQ, my website http://pixellany.com, and whatever else you can think of. Then try pinging various Arch repos at random. We're looking for any kind of pattern that you can find.

Note: to ping an Arch repo, you want just the URL (no http://) Here's the ping on my system---if this does not work, then try pinging the numerical IP.

Code:
[root@Ath etc]# ping archlinux.unixheads.org
PING archlinux.unixheads.org (149.20.54.20) 56(84) bytes of data.
64 bytes from packman-ha.isc.org (149.20.54.20): icmp_seq=1 ttl=55 time=41.1 ms
Thanks! I followed your above post and edited pacman.conf. Not sure what happened, or how I did it, but the repos are working well now.

Now my problems are with the boot hang and ethernet. I am glad I will be able to install a GUI no problem. (If pacman -Su gcc takes care of above problem in above post)
 
Old 01-10-2010, 11:13 AM   #13
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by leopard View Post
The repos worked! I'm not sure how... I think I messed someting editing the pacman.conf. Lol.

But trying to install powerpill it gives the error: "gcc: requires gcc-libs=4.4.1-1"

I tried pacman -S gcc, but it said it was already installed.?
You posted while I was typing!!! Glad to see the progress.

I just learned the hard way that you are supposed to always do an upgrade before installing new SW. How I got away without doing this for over a year is anyone's guess.

So first do "pacman -Syu" (This will probably result in a long coffee break.....)
 
Old 01-10-2010, 11:49 AM   #14
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022

Original Poster
Blog Entries: 19

Rep: Reputation: 146Reputation: 146
Thanks pixellany! The update really fixed most of the issues I was facing except the Ethernet card. I already added a normal user and configured sudo. The screen resolution was automatically corrected, and the boot hang has stopped. Now the boot blazes through.

As a side note, coming from Ubuntu and it's infamous package manager, I am really pleased with pacman. It is much easier to use and learn then apt-get.

Really the only problem is the Ethernet card.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing packages/ using pacman behind Firewall (Arch Linux) sd|| Arch 9 11-25-2009 09:46 AM
Installing Arch-Linux shankhs Linux - Newbie 2 01-01-2009 11:41 AM
Installing Arch, Where is iwconfig? claudius753 Linux - Newbie 7 11-26-2008 09:44 PM
installing Arch nasirjones Linux - Newbie 1 01-07-2005 10:57 AM
Arch Linux - Installing a Realtek 8139 NIC John5788 Linux - Newbie 3 02-10-2004 09:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration