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 04-02-2012, 02:21 PM   #1
rofle
LQ Newbie
 
Registered: Apr 2012
Posts: 7

Rep: Reputation: Disabled
New arch install - ping and sudo don't work


I just installed Arch and tried to ping Google to test my network connection. It's coming up with 'unknown host google.com' and I've searched around but haven't been able to find any tips on how to fix this.

I also tried a sudo command and got 'sudo command not found'. I always thought that sudo was a very basic function of the OS that was included as default. Any tips for this?

Thanks.
 
Old 04-02-2012, 02:34 PM   #2
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,049

Rep: Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108
Welcome to the forums!

If you have not followed the Arch Beginner's Guide step-by-step, then it is unlikely you will succeed.

To cover your specific topics:

https://wiki.archlinux.org/index.php...f_necessary.29

https://wiki.archlinux.org/index.php...%27_Guide#Sudo
 
Old 04-02-2012, 02:47 PM   #3
rofle
LQ Newbie
 
Registered: Apr 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Hi, thanks for the reply. I had been following the guide, unfortunately I made a typo in rc.conf that I missed when I checked the first time. Ping is working fine now.

However I'm now having problems downloading sudo from pacman. The 6 pacman mirror that I un-commented all return errors, some say 'file unavailable' and some just say 'not found'. Am I correct in thinking that this is just a problem with the mirrors that I chose to use and I should just try different ones?
 
Old 04-02-2012, 02:50 PM   #4
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,049

Rep: Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108
I think you should re-configure pacman (pacman -Syu, choose fastest mirrors, etc.) now that you have solved the networking problems, hopefully that will solve the problem. Since I do not know what "the typo" was I cannot speculate.

https://wiki.archlinux.org/index.php...em_with_pacman

Last edited by snowpine; 04-02-2012 at 02:51 PM.
 
Old 04-02-2012, 02:57 PM   #5
rofle
LQ Newbie
 
Registered: Apr 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
I typed 'etho' instead of 'eth0'.

It looks like I will need to reconfigure pacman. At the moment no matter which server(s) I try, it can't download sudo.
 
Old 04-02-2012, 03:01 PM   #6
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,049

Rep: Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108
Go back to the step that failed (3.7.2 /etc/rc.conf) and then pick up the guide from that point.
 
Old 04-03-2012, 11:07 AM   #7
rofle
LQ Newbie
 
Registered: Apr 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Okay so my old problem is fixed but I'm having new problems now. I'm trying to install AwesomeWM but I'm getting lost in a string of dependencies. Tried to install AwesomeWM, I need yaourt to get it. Tried to install yaourt and I need package-query. Now I'm trying to install package-query and when I run makepkg -s I get another error. I don't really know what to do with this one because I know I have pacman installed already. The error looks like this:

Quote:
configure: error: pacman is needed to compile package-query
==> ERROR: A failure occured in build().
Aborting...
Any advice?
 
Old 04-03-2012, 11:32 AM   #8
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,049

Rep: Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108
It's been a while since I used Arch, but IIRC, I just added the archlinuxfr repo and:

Code:
pacman -Sy yaourt
as described here: http://archlinux.fr/yaourt-en
 
Old 04-03-2012, 01:53 PM   #9
rofle
LQ Newbie
 
Registered: Apr 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Nevermind, works now for some reason. Thanks for the replies.

Last edited by rofle; 04-03-2012 at 01:55 PM.
 
Old 04-03-2012, 05:11 PM   #10
rofle
LQ Newbie
 
Registered: Apr 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Okay so I installed X and SLIM and now whenever I try to log in I get a login page from SLIM but it looks like there's a problem with X because it just flashes a few white lines and then boots me back to the login screen. I've checked the wiki but the only solutions for X errors are commands and I can't input any because I can't get past the login screen. Is there anything else I can try?
 
Old 04-03-2012, 05:33 PM   #11
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Do you have installed one of the DEs/WMs? Also, have you configured Slim to use them?
 
Old 04-03-2012, 05:37 PM   #12
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,049

Rep: Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108
I am not a slim user but I recommend carefully working step-by-step through section 5.3 Graphical User Interface of the Arch Beginners Guide before you jump ahead to installing a login manager. You'll see instructions for configuring and testing X, for example by using the startx command.
 
Old 04-03-2012, 06:11 PM   #13
rofle
LQ Newbie
 
Registered: Apr 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
Do you have installed one of the DEs/WMs? Also, have you configured Slim to use them?
Nope not yet.


Quote:
Originally Posted by snowpine
I am not a slim user but I recommend carefully working step-by-step through section 5.3 Graphical User Interface of the Arch Beginners Guide before you jump ahead to installing a login manager. You'll see instructions for configuring and testing X, for example by using the startx command.
I tried startx and got the same flash of random white lines that I get when I try to log in.
 
Old 04-03-2012, 06:46 PM   #14
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,049

Rep: Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108
Well, the beginner's guide gives very clear guidance what to do next, under the headings "in case of errors" and "need help?"

Since I am neither an Arch nor a Slim user, that's about all I can offer you.
 
Old 04-03-2012, 07:55 PM   #15
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
I can only second snowpine's suggestion. You seem to be new to Arch, so please follow the Beginners guide step by step. That may sound a bit harsh, but we are not here to spoonfeed you with solutions (that are in the documentation) for problems that wouldn't exist if you would read the documentation. Arch is a distro for people willing to make their own effort. If you don't want to go with the documentation then may be Arch is not the right distribution for you.
 
  


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
After TexLine sudo don't work mlpa Slackware 10 06-16-2011 02:24 PM
Classpaths don't work with sudo -s ScSpruijt Linux - General 3 04-24-2007 07:00 PM
sudo don't work in php script maxabbr Linux - General 2 05-05-2006 12:22 PM
Ping etc. don't always work for me bitpicker Linux - Networking 2 01-04-2006 01:55 AM
ping and apache work, but samba and NFS don't earcam Linux - Networking 5 11-10-2004 06:12 AM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration