Hi there, because of my needs I'm using a small script to start the AP that by the way includes the following command line: ifconfig ral0 inet $AP_IPADDR netmask $AP_SUBMASK media autoselect mediaopt hostap mode $MODE chan $CHAN bssid $MAC_MASK nwid $NWID -powersave wpa wpaakms psk wpaciphers ccmp wpagroupcipher ccmp wpaprotos wpa2 wpapsk `cat /root/WPA-PSK-64HEX` debug up
and for the record: $MODE=11g $CHAN (I've tried many) -powersave (disabled on purpose as not supported) This was working flawlessly for the last three releases on two different APs which have different hardware. Are you experiencing the same problem? On Fri, 2010-12-17 at 13:50 +0100, stolendata.net wrote: > Out of curiosity, could you post your hostname.xxx configuration > files? (minus the sensitive parts of course, like wpa-psk info etc.) > > > On Sun, Dec 12, 2010 at 3:33 PM, Snoop <sn...@email.it> wrote: > > Hi Stephen (and anyone else), > > I'm experiencing your same problem. I was looking for a solution on the > > web but I'd say unsuccessfully. I couldn't found any reply to his > > complaint (that is in fact the only one I've found around) and I was > > wondering if you received a solution or a tip in private. > > > > Sorry for this late email, I usually don't like to disturb others and it > > usually works (I found the solution on internet). But in this case I > > didn't find anything at all! And this quite impressed me. I was thinking > > that ral as AP was widely used too. > > > > Thanks in advance, any tip/direction is more than welcome. > > > > On Tue, 2010-11-30 at 03:33 +0000, Stephen Biggs wrote: > >> Running 4.8 patch/stable with all updated, apm disable via config, upgraded > from > >> 4.7 patch/stable. > >> > >> Any time ral0 is initialized (in hostap mode) using, say, sh /etc/netstart, > the > >> following message is shown on the console: > >> ral0: timeout waiting for BBP > >> > >> The code shows that when this happens, the device initialization is aborted > and > >> EIO error is returned, making 4.8 patch/stable useless for running the box > as a > >> wireless access point using ral. > >> > >> This may ordinarily point to hardware failing except for two things: > >> 1. checking the code shows that the busy bit is actually cleared because > no > >> "cannot read from BBP" message is seen, only a 0 is returned from the > version > >> flash read. My guess is that some firmware is being loaded wrong onto the > >> hardware in 4.8? > >> ...and > >> 2. ral0 initializes just fine without the timeout using either my previous > 4.7 > >> kernel, or the -current kernel which I am running now. > >> > >> The relevant parts of dmesg (relevant imho; if there is more that is > needed, > >> please advise) are: > >> ral0 at pci0 dev 14 function 0 "Ralink RT2561S" rev 0x00: irq 3, address > 00:24:1 > >> d:39:f6:84 > >> ral0: MAC/BBP RT2561C, RF RT2527 > >> > >> Also, pcidump -v shows for this device: > >> B 0:14:0: Ralink RT2561S > >> B B B B 0x0000: Vendor ID: 1814 Product ID: 0301 > >> B B B B 0x0004: Command: 0017 Status ID: 0410 > >> B B B B 0x0008: Class: 02 Subclass: 80 Interface: 00 Revision: 00 > >> B B B B 0x000c: BIST: 00 Header Type: 00 Latency Timer: 20 Cache Line > Size: 08 > >> B B B B 0x0010: BAR mem 32bit addr: 0xe3800000 > >> B B B B 0x0014: BAR empty (00000000) > >> B B B B 0x0018: BAR empty (00000000) > >> B B B B 0x001c: BAR empty (00000000) > >> B B B B 0x0020: BAR empty (00000000) > >> B B B B 0x0024: BAR empty (00000000) > >> B B B B 0x0028: Cardbus CIS: 00000601 > >> B B B B 0x002c: Subsystem Vendor ID: 1458 Product ID: e934 > >> B B B B 0x0030: Expansion ROM Base Address: 00000000 > >> B B B B 0x0038: 00000000 > >> B B B B 0x003c: Interrupt Pin: 01 Line: 03 Min Gnt: 00 Max Lat: 00 > >> B B B B 0x0040: Capability 0x01: Power Management > >> > >> I don't know what to do next here. I am understandably very apprehensive > about > >> running a -current kernel on top of a 4.8 stable userland. B I don't want > to be > >> running -current at all. > >> > >> I was thinking about posting a bug using sendbug but that seems a bit > pointless > >> considering that I am right now running the -current kernel. > >> > >> The best case scenario would be for whomever knows what causes the > -current > >> kernel to work in this instance to post what relevant changes there are (or > a > >> patch?) or better yet, post a patch to the errata so I can go back to a > 4.8 > >> stable kernel with the patch. > >> > >> What is interesting about this is that I can't find any other mention of > this > >> problem anywhere else on the Internet. B I would have thought that a lot > of > >> people would be running ral0 as an access point and would have found this. > >> > >> If this is only local to me, I would sure appreciate any advice on how to > track > >> this down. > >> > > > > > > > > > > B -- > > B Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP > autenticato? GRATIS solo con Email.it http://www.email.it/f > > > > B Sponsor: > > B Idee Regalo Personalizzate a partire da euro 3.90! Su MisterCupido.com > alta qualit` a prezzi imbattibili... e questa settimana GRATIS per te, la > confezione regalo! > > B Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=11027&d=12-12 > -- Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f Sponsor: Email Paghe e' un ufficio paghe on line al servizio della tua azienda, attivo 24 ore su 24, facile da usare e conveniente. E' il tuo consulente del lavoro dedicato. * Gratis fino al 31/12/2010 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=10680&d=17-12