You are not logged in.

#1 2009-09-15 21:08:55

Blake Gideon
Member
From: Los Angeles, CA
Registered: 2009-09-14
Posts: 57

Wifi wont connect Automatically [SOLVED]

Where can I view output from the boot? Something is wrong with the way I auto-configured my network card. This is a big pain because my ssid is something like 23b430982834. I really need to automate this process ASAP. It is very time consuming to manually connect on every reboot. Any help is greatly appreciated! big_smile

I want to view the boot output when the Network Setup fails. Currently it moves too fast, and I cant read before the buffer is cleared.

Last edited by Blake Gideon (2009-09-16 00:45:04)

Offline

#2 2009-09-15 21:16:29

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Wifi wont connect Automatically [SOLVED]

Scroll lock or something like Fn+scroll lock should pause.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2009-09-15 21:19:12

scio
Member
From: Buffalo, NY
Registered: 2008-08-05
Posts: 366

Re: Wifi wont connect Automatically [SOLVED]

Did you follow this: http://wiki.archlinux.org/index.php/Net … 1:_Install through step 4?

Check /var/log/{boot,dmesg, etc...} for error messages

Offline

#4 2009-09-15 21:22:31

Blake Gideon
Member
From: Los Angeles, CA
Registered: 2009-09-14
Posts: 57

Re: Wifi wont connect Automatically [SOLVED]

scio, I have. I will give it a re-read though. Thanks.

Offline

#5 2009-09-15 21:26:00

Blake Gideon
Member
From: Los Angeles, CA
Registered: 2009-09-14
Posts: 57

Re: Wifi wont connect Automatically [SOLVED]

loafer, Thanks. Fn+Scroll-lock paused boot. The output from Starting Network is

Could not associate wlan0 - try increasing WIRELESS_TIMEOUT and check network is WEP or has no security

EDIT:


I have a file named rogueRouter in /etc/network.d :

/etc/network.d/rogueRouter

#This file is a netcfg file

CONNECTION="wireless"
DESCRIPTION="Free internet at XXXXXXXXX"
INTERFACE="wlan0"
ESSID="05B405415218"
IP="dhcp"

Last edited by Blake Gideon (2009-09-15 21:35:09)

Offline

#6 2009-09-15 21:55:08

Blake Gideon
Member
From: Los Angeles, CA
Registered: 2009-09-14
Posts: 57

Re: Wifi wont connect Automatically [SOLVED]

I needed to uncomment in /etc/rc.conf:

NETWORKS=(rogueRouter)

I already had net-profiles daemon active.

The Wireless card did automatically connect! However, the network portion of the boot still took a long time and failed. I got the same boot message as before. Is there a reason for this?

Here is my whole rc.conf file in case that helps:

#
# /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="UTC"
USEDIRECTISA="no"
TIMEZONE=""
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=(iw4965 snd-hda-intel fuse)

# 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="HP4510"

# 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"
wlan0="dhcp"
wlan_wlan0="wlan0 essid 05B405415218"
INTERFACES=(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=(rogueRouter)
#NETWORKS=(menu)

# -----------------------------------------------------------------------
# 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 net-profiles netfs crond dbus hal alsa)

#iwconfig wlan0 essid "05B405415218"
#dhcpcd wlan0

Offline

#7 2009-09-15 22:16:35

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

Re: Wifi wont connect Automatically [SOLVED]

If you're using net-profiles, you should remove network from the DAEMONS array.

That detail seems to have been omitted from the Network Profiles wiki page.

Offline

#8 2009-09-16 00:44:46

Blake Gideon
Member
From: Los Angeles, CA
Registered: 2009-09-14
Posts: 57

Re: Wifi wont connect Automatically [SOLVED]

Thanks Tomk. I added that tid-bit to the wiki. big_smile

Offline

Board footer

Powered by FluxBB