You are not logged in.

#1 2009-03-16 03:55:36

KuroYoma
Member
Registered: 2009-03-15
Posts: 20

[SOLVED]Wireless problems wlan0 not up at boot. Tried alot need help

I have a broadcom 4318 wireless card.  I am using b43-fwcutter and it works like a charm.   I use xfce and it gets very annoying to have to execute this code every boot.

sudo ifconfig wlan0 up
sudo iwconfig wlan0 essid any
sudo dhcpcd wlan0

here is my 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="UTC"
USEDIRECTISA="no"
TIMEZONE="America/Indiana/Indianapolis"
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=(b43 !bcm43xx !ndiswrapper)

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

# 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"
wlan0="dhcp"
wlan_wlan0="wlan0 essid Comtrend"
INTERFACES=(eth0 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=(dbus hal syslog-ng netfs crond dhcpcd fam)

here is my /etc/conf.d/wireless

#
# Settings for wireless cards
#
# For each wireless interface declared in INTERFACES (in rc.conf), declare
# a wlan_${IF} variable that contains the arguments to be passed to
# iwconfig(8).  Then list the original interface name in the
# WLAN_INTERFACES array.
#
wlan0="dhcp"
wlan_wlan0="wlan0 mode managed essid default"
WLAN_INTERFACES=(wlan0)

Last edited by KuroYoma (2009-03-16 15:23:59)

Offline

#2 2009-03-16 05:02:28

Joe_Arch
Member
Registered: 2008-11-27
Posts: 67

Re: [SOLVED]Wireless problems wlan0 not up at boot. Tried alot need help

Have you tried netcfg? It would connect for you at boot, if you wanted it to.

Last edited by Joe_Arch (2009-03-16 05:02:47)

Offline

#3 2009-03-16 06:41:47

MarCustomized
Member
From: Detroit, MI
Registered: 2008-09-05
Posts: 116

Re: [SOLVED]Wireless problems wlan0 not up at boot. Tried alot need help

Wicd bro.  A 6 year old could set it up, and it's amazingly fast.  I also recommend using dhclient over dhcpcd.  For me, dhcpcd is awfully fickle.

Offline

#4 2009-03-16 15:23:31

KuroYoma
Member
Registered: 2009-03-15
Posts: 20

Re: [SOLVED]Wireless problems wlan0 not up at boot. Tried alot need help

I like it.  I tried both and both worked but Wicd allows me to connect to different networks with ease.  I like booting into my networks but this is the next best thing.  I have 3 to 4 wireless signals i use and netcfg worked for a single profile at boot i still had command line to use upon boot for my other connections.   Thank You both

Offline

Board footer

Powered by FluxBB