Debian startup problem

Andreas Bach Aaen <[email protected]>
Newsgroups gmane.linux.drivers.at76c503a.user
Organization private
Message-ID <[email protected]>
Hi,

I got a debian specific problem with the at76c503 driver.
It somehow seems that the correct parameters aren't set on bootup. I 
get this:
$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11-DS  ESSID:"okuwlan"  Nickname:"okuwlan"
          Mode:Ad-Hoc  Channel:10  Cell: 00:00:00:00:00:00
          Bit Rate:11Mb/s
          RTS thr=1536 B   Fragment thr=1536 B
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  invalid crypt:0  invalid misc:0

My /etc/network/interfaces lokks like this:
----------
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet static
        address 192.168.0.3
        network 192.168.0.0
        netmask 255.255.255.0
        broadcast 192.168.0.255
        gateway 192.168.0.1
        wireless_mode managed
        wireless_essid XXXXXXXXXX
        wireless_channel 10
        wireless_nick nickname
auto eth0
iface eth0 inet static
        address 192.168.1.254
        network 192.168.1.0
        netmask 255.255.255.0
        broadcast 192.168.1.255
----------

If I after bootup makes a:
ifup wlan0
then everything works. It does seem that something goes wrong during 
bootup, but I can't find the traces in dmesg or /var/log/messages.
Any good ideas?

Regards,
-- 
 /\ ,_  _|,_ _  _  _,  |¨) _  _ |_    /\  _  _ ,_
/¨¨\| )(_|| (-'.-|`-,  |¨).-|(_ | )  /¨¨\.-|(-'| )
¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨
grep -r 'Andreas Bach Aaen' /usr/src/linux
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.