You are not logged in.

#1 2009-01-21 21:00:29

speng
Member
Registered: 2009-01-17
Posts: 136

Wireless @ Boot-up, Ndiswrapper, BCM4318, Worked properly before

The title pretty much explains err... all of it.

I am using Arch64, my wireless network has ALWAYS worked at boot. Now it just hangs there, I've changed WIRELESS_TIMEOUT to 100, I sat there being bored (no effect).

I am using the newest ndiswrapper and I am connecting using ifconfig/iwlist/iwconfig.
I have no idea why it has stopped working properly!

#
# /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_GB.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="Europe/London"
KEYMAP="uk"
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=(ndiswrapper forcedeth snd-mixer-oss snd-pcm-oss 
snd-seq-oss 
snd-seq-device snd-seq-midi-event snd-seq snd-hwdep snd-page-alloc snd-pcm snd-rawmidi snd-timer snd snd-hda-intel soundcore snd-usb-audio snd-usb-lib)

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

# 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
#
wlan0="dhcp"
wlan_wlan0="wlan0 essid linksys key 1ACF1768540E76F3572812543A"
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=(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 hal cups alsa fam)

What might be wrong? hmm
To get it to work, I have to do:

ifconfig wlan0 down
ifconfig wlan0 up
iwconfig wlan0 essid "linksys" key <whatever>


Thanks smile

Offline

#2 2009-01-21 21:51:25

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Wireless @ Boot-up, Ndiswrapper, BCM4318, Worked properly before

why do you use ndiswrapper?. b43 support your chipset


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2009-01-21 23:22:37

speng
Member
Registered: 2009-01-17
Posts: 136

Re: Wireless @ Boot-up, Ndiswrapper, BCM4318, Worked properly before

No real reason. Do I need to add b43 in the modules section?
The b43 driver seems to work fine, next time I reboot i'll post the results.

Offline

#4 2009-01-22 00:20:33

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Wireless @ Boot-up, Ndiswrapper, BCM4318, Worked properly before

you'll need the firmware. check wiki


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2009-01-22 00:23:33

speng
Member
Registered: 2009-01-17
Posts: 136

Re: Wireless @ Boot-up, Ndiswrapper, BCM4318, Worked properly before

b43 works, I can rmmod ndiswrapper and modprobe b43 and it will work, but not from boot!

I have to ifconfig wlan0 down, iwconfig bla bla then ifconfig wlan0 up for it to work.
Why has it stopped working? It worked fine all the time, booting and when it got to the network part, it took it 3 seconds to connect and that was it!

So confused. o_o

Offline

#6 2009-01-22 00:35:15

archlinuxsagi
Member
Registered: 2008-09-12
Posts: 259

Re: Wireless @ Boot-up, Ndiswrapper, BCM4318, Worked properly before

speng wrote:

MODULES=(ndiswrapper forcedeth snd-mixer-oss snd-pcm-oss

It should be

MODULES=(b43 forcedeth snd-mixer-oss snd-pcm-oss

This will not load ndiswrapper and load b43 module instead upon system startup.

Last edited by archlinuxsagi (2009-01-22 00:35:38)

Offline

#7 2009-01-22 01:53:09

speng
Member
Registered: 2009-01-17
Posts: 136

Re: Wireless @ Boot-up, Ndiswrapper, BCM4318, Worked properly before

That did the same thing. It seems to be completely random whether it works or not. A few minutes ago, I rebooted just to try it (with ndiswrapper) and it took it a few seconds and it connected.
Very confusing. hmm

Offline

#8 2009-01-22 02:06:56

archlinuxsagi
Member
Registered: 2008-09-12
Posts: 259

Re: Wireless @ Boot-up, Ndiswrapper, BCM4318, Worked properly before

speng wrote:

That did the same thing. It seems to be completely random whether it works hmm

Random?
You may need to load your ethernet module first.
Refer to URL below:
http://wiki.archlinux.org/index.php/Ude … _Each_Boot

Offline

#9 2009-01-22 03:59:15

speng
Member
Registered: 2009-01-17
Posts: 136

Re: Wireless @ Boot-up, Ndiswrapper, BCM4318, Worked properly before

I'm not loading forcedeth at all, the only NIC I use is wlan0.
Doing !forcedeth might have solved it, I will post whenever I reboot.

Offline

Board footer

Powered by FluxBB