Sponsored Content
Operating Systems Linux Pacman not functioning in Arch Post 302569939 by pludi on Wednesday 2nd of November 2011 05:25:31 AM
Old 11-02-2011
Quote:
Originally Posted by a sandwhich
Code:
HOSTNAME="myhost"
interface=
address=
netmask=
broadcast=
gateway=
NETWORK_PERSIST="no"
DAEMONS=(hwclock syslog-ng network netfs crond)

This is resolv.conf
Code:
#
#/etc/resolv.conf
#
#search <yourdomain.tld>
#nameserver<ip>
# End of file

Well, there's your problem. Your network isn't defined, so the machine can't connect to anywhere. And even if it could, your resolv.conf is empty, so it wouldn't know about any DNS servers for name resolution.

If a dynamic address is enough, set the entries in rc.conf like this:
Code:
interface="eth0"
address=
netmask=
broadcast=
gateway=

Run /etc/rc.d/network restart, and try a ping to 8.8.8.8. If that works, try a ping to any URL you'd like.

More information here.
This User Gave Thanks to pludi For This Post:
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Ultra 5 Arch (URGENT)

I was trying to migrate a DB into an Ultra 5 and it was easy for me to buy a new 80GB ide disk but OS (Solaris 2.6) does not recognize the disk. OS belives that it is a 8GB disk, my point of view is to try to update the OBP to a newer version. (3.25.3 is the current one ) Does anyone knows if... (3 Replies)
Discussion started by: alex blanco
3 Replies

2. Ubuntu

Needs for installing Arch/Linux?

I'm pretty new to *nix systems and been using Ubuntu and Debian for a while but think it's pretty much 'overkill' lauching any of these systems. I've always been in need of a simple system, with a simple X where I can get the necessary programs myself. Yesterday I read about Arch (and it got me).... (1 Reply)
Discussion started by: riwa
1 Replies

3. AIX

Advice - X11 not functioning

Hello Folks We have following software installed on our AIX box X11.vfb - Virtual Frame Buffer Software We also see its process running root 528406 1 0 06:27:18 - 0:00 /usr/bin/X11/X -force -vfb -x abx -x dbe -x GLX :1 Following is the o/p of 'lslpp' X11.vfb 5.3.0.50... (4 Replies)
Discussion started by: ak835
4 Replies

4. Ubuntu

Can't find arch directory

I am using ubuntu server, and while i am trying to configure lan bonding, i could not find the directory /etc/modprobe.d/arch , what i need to install ?! (1 Reply)
Discussion started by: XP_2600
1 Replies

5. Shell Programming and Scripting

cp command not functioning regularly

I have written a korn shell script . I copy a file from one mounted directory to other using cp command. This script runs daily at a time. But sporidally it fails to copy the files. So I have missing files at the destination directory for some days. Is my method a good one or is there some... (5 Replies)
Discussion started by: Golden Egg
5 Replies

6. Shell Programming and Scripting

Expect not functioning

Hello, I plan on building an expect script and a ksh script to acquire some information and pass to the expect script. I'm very new with expect and figured I would start off slow. However, I use the spawn telnet command, run the script, and it prints out "spawn telnet" rather than doing... (3 Replies)
Discussion started by: Neqtor
3 Replies

7. Red Hat

Functioning of 'cat' command

I need to display file, given on the command line to 'stdout' in Linux( not in red-hat )..Just like how 'cat' command is working! Basically I need to develop that command's coding part! Can somebody suggest some algorithm? (2 Replies)
Discussion started by: Mathew Antony
2 Replies

8. Infrastructure Monitoring

Failed to read from eventlog: 31: A device attached to the system is not functioning.

Hello Team, I am getting below error on nagios to monitor windows Server 2012. Failed to read from eventlog: 31: A device attached to the system is not functioning. basically we are monitoring Eventlog file for server reboot or unexpected shutdown. Could you please help here. What could be... (0 Replies)
Discussion started by: ghpradeep
0 Replies
Arch::Session(3pm)					User Contributed Perl Documentation					Arch::Session(3pm)

NAME
Arch::Session - access arch archives SYNOPSIS
use Arch::Session; my $session = Arch::Session->new; my $rev = 'migo@homemail.com--Perl-GPL/arch-perl--devel--0--patch-1'; my $log = $session->get_revision_log($rev); my $cset = $session->get_revision_changeset($rev); my $tree = $session->get_tree($rev); DESCRIPTION
Arch::Session provides an interface to access changesets and logs stored in arch archives. METHODS
The following common methods (inherited and pure virtual that this class implements) are documented in Arch::Storage: new, init, working_name, working_names, fixup_name_alias, is_archive_managed, expanded_revisions. archives, categories, branches, versions, revisions, get_revision_descs, expanded_archive_info, get_revision_changeset, get_changeset, get_revision_log, get_log. Additionally, the following methods are available: get_specified_changeset, clear_cache, get_tree, init_tree, my_id. get_specified_changeset arg Get changeset object (Arch::Changeset) by a user specified input. arg may be revision name, or changeset directory, or tree directory (then changeset for tree changes is constructed), and in the future local tarball filepath or remote tarball url. clear_cache [key ..] For performance reasons, most method results are cached (memoized in fact). Use this method to explicitly request this cache to be cleared. By default all cached keys are cleared; key may be one of the strings 'archives', 'categories', 'branches', 'versions', 'revisions' or 'revision_descs'. get_tree [{ options }] [revision [dir]] Construct a working tree for revision or working_name in dir. If dir is not specified, a new temporary directory is automatically created. Keys of options may be pristine, link, library, sparse, non_sparse, no_greedy_add; all are false by default. See "tla get". init_tree dir Run "tla init-tree" in dir. my_id [newid] Get or set "tla my-id". BUGS
No known bugs. AUTHORS
Mikhael Goikhman (migo@homemail.com--Perl-GPL/arch-perl--devel). Enno Cramer (uebergeek@web.de--2003/arch-perl--devel). SEE ALSO
For more information, see tla, Arch::Storage, Arch::Library, Arch::Name, Arch::Log, Arch::Changeset. perl v5.10.1 2005-11-14 Arch::Session(3pm)
All times are GMT -4. The time now is 04:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy