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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-10-2010, 09:41 AM
|
#1
|
Senior Member
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Rep:
|
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...
|
|
|
01-10-2010, 09:46 AM
|
#2
|
Moderator
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,960
|
Hi,
How is '/etc/resolv.conf' configured?
|
|
|
01-10-2010, 09:49 AM
|
#3
|
Senior Member
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Original Poster
Rep:
|
Quote:
Originally Posted by onebuck
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.
|
|
|
01-10-2010, 09:52 AM
|
#4
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
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
|
|
|
01-10-2010, 09:56 AM
|
#5
|
Senior Member
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Original Poster
Rep:
|
Quote:
Originally Posted by pixellany
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.
|
|
|
01-10-2010, 10:04 AM
|
#6
|
Senior Member
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Original Poster
Rep:
|
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.
|
|
|
01-10-2010, 10:11 AM
|
#7
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
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....
|
|
|
01-10-2010, 10:15 AM
|
#8
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
PS:
WICD runs on any GUI WM or DM---not just KDE
|
|
|
01-10-2010, 10:35 AM
|
#9
|
Senior Member
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Original Poster
Rep:
|
Quote:
Originally Posted by pixellany
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.
|
|
|
01-10-2010, 11:04 AM
|
#10
|
Senior Member
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Original Poster
Rep:
|
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.?
|
|
|
01-10-2010, 11:09 AM
|
#11
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
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
|
|
|
01-10-2010, 11:12 AM
|
#12
|
Senior Member
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Original Poster
Rep:
|
Quote:
Originally Posted by pixellany
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)
|
|
|
01-10-2010, 11:13 AM
|
#13
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
Quote:
Originally Posted by leopard
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..... )
|
|
|
01-10-2010, 11:49 AM
|
#14
|
Senior Member
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 03:57 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|