You are not logged in.
Hi my name is Abraham and well I have a AO532h netbook with atheros AR9285 network adapter. Now my problem is that I can't get it to connect to the internet. I followed this tutorial to install the ath9k driver: https://help.ubuntu.com/community/WifiD … ros/AR9285 then I edited my rc.conf to include my connection here it is:
#
# /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", any other value will result
# in the hardware clock being left untouched (useful for virtualization)
# 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.UTF-8"
HARDWARECLOCK="localtime"
TIMEZONE="America/Puerto_Rico"
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=(!net-pf-10 !snd_pcsp !pcspkr loop) #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="myhost"
# 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
#
#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
wlan0="dhcp" # this was added
wlan_wlan0="wlan0 essid Abraham key s:12345678finax" # this was added
INTERFACES=(eth0 wlan0) # this was modded to include wlan0
# 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="default gw 192.168.0.1"
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)
Also:
abe@abe-laptop:~$ lspci | grep -i net
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
and yet when I try to do this:
ping -c 3 www.google.com
I get unknown host. If someone could point me into the right direction, then I would be happy. Thanks in advance!
Last edited by abraham10 (2010-06-25 21:18:55)
Most of the question asked can be solved just by reading:
Beginner's Wiki.
Pacman Man.
AUR.
Offline
I have the same wireless card and all i use in /etc/rc.conf is:
MODULES=(ath9k)
eth0="dhcp"
INTERFACES=(eth0)
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
and I use wicd to manage my connections.
What happens if you try connecting manually?
# ifconfig wlan0 up
# iwconfig wlan0 essid Abraham key s:12345678finax"
# dhcpcd wlan0
ps - I could be wrong, but I think ath9k is integrated in the kernel now, so even my addition in MODULES is unnecessary...could be wrong though.
Last edited by munkyeetr (2010-06-23 01:08:50)
If the advice you're given in this forum solves your issue, please mark the post as [SOLVED] in consideration to others.
"More than any time in history mankind faces a crossroads. One path leads to despair and utter hopelessness, the other to total extinction.
Let us pray that we have the wisdom to choose correctly." -- Woody Allen
Offline
Will try right now, I'm using the same netbook right now and switch between OS's.
Most of the question asked can be solved just by reading:
Beginner's Wiki.
Pacman Man.
AUR.
Offline
I tried:
ifconfig wlan0 up
iwconfig wlan0 essid "Abraham key s:12345678finax"
dhcpcd wlan0
and
ifconfig wlan0 up
iwconfig wlan0 essid "Abraham key 12345678finax"
dhcpcd wlan0
both results are the same:
dhcpcd: time out
also I think your right about the ath9k drivers being included in the new kernel but I installed them just in case.
Most of the question asked can be solved just by reading:
Beginner's Wiki.
Pacman Man.
AUR.
Offline
Try changing this line:
iwconfig wlan0 essid "Abraham key 12345678finax"
to this (lose the quotes):
iwconfig wlan0 essid Abraham key 12345678finax
If the advice you're given in this forum solves your issue, please mark the post as [SOLVED] in consideration to others.
"More than any time in history mankind faces a crossroads. One path leads to despair and utter hopelessness, the other to total extinction.
Let us pray that we have the wisdom to choose correctly." -- Woody Allen
Offline
Well I found the problem it has to do with the password length I was using a 13 character long password 168bit and switched it to a 5 character password 64bit and it worked. For some reason it doesn't work for long passwords. Is there a work around for this or am I just introducing the psw in wrong?
Most of the question asked can be solved just by reading:
Beginner's Wiki.
Pacman Man.
AUR.
Offline
Sorry to have too bring this back up but why is it that I have to manually bring up my wireless interface everytime I start arch. what I mean is that the device is not turned on at startup. I have to do this inorder to get it up:
$sudo ifconfig wlan0 down
$sudo ifconfig wlan0 up
$dhcpcd wlan0
Most of the question asked can be solved just by reading:
Beginner's Wiki.
Pacman Man.
AUR.
Offline
Nvm I solved my problem I had to use this: http://wiki.archlinux.org/index.php/Netcfg#Usage
specifacally the net-profiles part and created a profile saved it to etc/network.d/ then added the profile to my rc.conf and add net-profiles to my daemons and done.
Most of the question asked can be solved just by reading:
Beginner's Wiki.
Pacman Man.
AUR.
Offline