Jump to content

Wlan1 will not enable, no red LED


ScottHelme

Recommended Posts

cat /etc/config/wireless prior to connecting

root@Pineapple:~# cat /etc/config/wireless
config wifi-device radio0
option type mac80211
option channel 11
option hwmode 11ng
option macaddr 00:13:37:a5:08:bd
option htmode HT20
list ht_capab SHORT-GI-20
list ht_capab SHORT-GI-40
list ht_capab RX-STBC1
list ht_capab DSSS_CCK-40
# REMOVE THIS LINE TO ENABLE WIFI:
# option disabled 1

config wifi-iface
option device radio0
option network lan
option mode ap
option ssid Pineapple5_08BD
option encryption none

config wifi-device radio1
option type mac80211
option channel 11
option hwmode 11g
option macaddr 00:13:37:81:42:22

# REMOVE THIS LINE TO ENABLE WIFI:
# option disabled 1

config wifi-iface
option device radio1
option network lan
option mode ap
option ssid Pineapple5_4222
option encryption none

cat /etc/config/wireless after connecting

root@Pineapple:~# cat /etc/config/wireless

config wifi-device 'radio0'
option type 'mac80211'
option channel '11'
option hwmode '11ng'
option macaddr '00:13:37:a5:08:bd'
option htmode 'HT20'
list ht_capab 'SHORT-GI-20'
list ht_capab 'SHORT-GI-40'
list ht_capab 'RX-STBC1'
list ht_capab 'DSSS_CCK-40'

config wifi-iface
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'Pineapple5_08BD'
option encryption 'none'

config wifi-device 'radio1'
option type 'mac80211'
option channel '11'
option hwmode '11g'
option macaddr '00:13:37:81:42:22'

config wifi-iface
option device 'radio1'
option mode 'sta'
option network 'wan'

wlan1 is reporting the IP 172.16.42.204 which is not what my DHCP server is dishing out.

Link to comment
Share on other sites

Do you have anything plugged into the eth0 port? Also, did wlan1 connect to wlan0? aka testing mode. There is no info in the second wireless config about the client AP that you're connecting to... Also, perhaps an option disabled '0' in each wifi-device section... Once you've done that use the WiFi Manager infusion to select what AP you want wlan1 to connect to then save and commit it. It should work right away and then after reboot the client mode tab should use that new info in /wireless and it should connect automatically.

Edited by thesugarat
Link to comment
Share on other sites

BOOB00,

That's the kind of output I got when I removed wlan1 via the WiFi Manager infusion. I had to clean it up a bit then to make it work… Here's how I think yours should look.

config wifi-device 'radio0'


option type 'mac80211'


 option channel '11'


option hwmode '11ng'


option macaddr '00:13:37:a5:08:73'


option htmode 'HT20'


list ht_capab 'SHORT-GI-20'


list ht_capab 'SHORT-GI-40'


 list ht_capab 'RX-STBC1'


 list ht_capab 'DSSS_CCK-40'


 option disabled '0'



config wifi-iface


 option device 'radio0'


 option network 'lan'


option mode 'ap'


option ssid 'Pineapple5_0873'


option encryption 'none'



config wifi-device 'radio1'


 option type 'mac80211'


 option channel '11'


option hwmode '11g'


option macaddr '00:13:37:81:42:73'


 option disabled '0'





config wifi-iface


 option device 'radio1'


option network 'wan'


 option mode 'sta'


option ssid 'Pineapple5_4273'


 option encryption 'none'

Thanks for your help man, i can not thank you enough. I put that in as my /etc/config/wireless and after a reboot it went back to the default (bad) configuration. Its like at every reboot it goes back to the original.

EDIT: After i cat the new file i noticed that it had a bunch of random characters, and i deleted them and it works fine. Thanks man!

Edited by BOOB00
Link to comment
Share on other sites

Do you have anything plugged into the eth0 port? Also, did wlan1 connect to wlan0? aka testing mode. There is no info in the second wireless config about the client AP that you're connecting to... Also, perhaps an option disabled '0' in each wifi-device section... Once you've done that use the WiFi Manager infusion to select what AP you want wlan1 to connect to then save and commit it. It should work right away and then after reboot the client mode tab should use that new info in /wireless and it should connect automatically.

Yeah my PC goes into the LAN port which I assume is eth0. That's how I'm setting this up atm. It should be connecting to my home AP as I select it from the drop down and put the WPA key in. Will try the other stuff now.

Link to comment
Share on other sites

Ok, now I get a red LED blinking on for a second, the maybe off for 5.


root@Pineapple:~# cat /etc/config/wireless

config wifi-device 'radio0'
option type 'mac80211'
option channel '11'
option hwmode '11ng'
option macaddr '00:13:37:a5:08:bd'
option htmode 'HT20'
list ht_capab 'SHORT-GI-20'
list ht_capab 'SHORT-GI-40'
list ht_capab 'RX-STBC1'
list ht_capab 'DSSS_CCK-40'
option disabled '0'

config wifi-iface
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'Pineapple5_08BD'
option hidden '0'

config wifi-device 'radio1'
option type 'mac80211'
option hwmode '11g'
option macaddr '00:13:37:81:42:22'
option disabled '0'
option channel '1'

config wifi-iface
option device 'radio1'
option ssid '*snip*'
option key '*snip*'
option network 'wan'
option hidden '0'
option mode 'sta'
option encryption 'mixed-psk+tkip+aes'

Link to comment
Share on other sites

Use the WiFi Manager Infusion for wlan1 and choose the correct encryption settings and then save/commit. As long as it connects then and gives you an IP address, it should be good to go after a reboot. Keep in mind that if you go back to the Client Mode tab and select the same network it will overwrite the encryption incorrectly if you haven't updated your functions.php file per my other post. Again that's an unverified fix but it's worked for a few others.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...