You are not logged in.

#1 2009-06-21 22:09:39

3120
Member
Registered: 2009-06-07
Posts: 8

[SOLVED]Wireless connection problem

i have installed Archlinux on my laptop. When I enter "pacman -Syu", it would fail to get the packages.
it would be something like this:

failed to get file nameofpackage.tar.gz: from nameofmirror:transient error

it would not connect through wireless.
Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 1)

rc.conf:

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.utf8"
HARDWARECLOCK="local"
USEDIRECTISA="no"
TIMEZONE="America/New_York"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=()

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="ArK"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
# 
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
eth0="dhcp"
wlan_ath0="dhcp"
INTERFACES=(eth0 wlan0 ath0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="dhcp"
ROUTES=(!gateway)
 
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng network netfs crond alsa)

Last edited by 3120 (2009-06-25 02:55:07)

Offline

#2 2009-06-21 22:29:45

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED]Wireless connection problem

Your rc.conf networking section is completely wrong. Please read the following wiki pages;
http://wiki.archlinux.org/index.php/Configuring_network
http://wiki.archlinux.org/index.php/Wireless_Setup

If you think it's appropriate, you can also read http://wiki.archlinux.org/index.php/Beginners_Guide.

Offline

#3 2009-06-23 10:36:03

gapo
Member
From: Where the wind takes me
Registered: 2009-01-30
Posts: 46
Website

Re: [SOLVED]Wireless connection problem

You just have to go through the wiki's that's all.

You need to uncomment a few lines in ur rc.conf and also add the wicd daemon.
Most probably will take 10 mins ...

This is just to let u know that it is not too hard.


How I'm learning linux : If it ain't broken, fix it until it is. Then start over again.
....................................................................................................
Gapo the flow

Offline

#4 2009-06-23 19:57:56

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED]Wireless connection problem

3120 - just so you're clear, gapo's suggestion that you use wicd is valid, but it is just one of a number of options available.

Offline

#5 2009-06-24 02:45:04

3120
Member
Registered: 2009-06-07
Posts: 8

Re: [SOLVED]Wireless connection problem

what lines do i need to uncomment in rc.conf?

Offline

#6 2009-06-24 05:42:17

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED]Wireless connection problem

Did you read the wiki pages I suggested?

Offline

#7 2009-06-25 01:02:04

3120
Member
Registered: 2009-06-07
Posts: 8

Re: [SOLVED]Wireless connection problem

found a problem when entering:

 ifconfig wlan0 up

it is this:

SIOCSIFFLAGS:Resource Temporarily Unavailable

anyone have a solution?

ignore this, i fixed it, thanks to the people who have helped me.

Last edited by 3120 (2009-06-25 02:54:04)

Offline

Board footer

Powered by FluxBB