overwraith Posted April 30, 2014 Share Posted April 30, 2014 (edited) I keep trying to use ifconfig and macchanger to change the mac and bring the interface back up again, and the pineapple's interface never comes back up again. Here is an example command: ifconfig wlan0 down && macchanger -A wlan0 && ifconfig wlan0 up Is anybody else observing this behavior? Is there something wrong with my pineapple? I usually end up having to reboot in order to fix it. Edited April 30, 2014 by overwraith Quote Link to comment Share on other sites More sharing options...
xrad Posted April 30, 2014 Share Posted April 30, 2014 If you try jjd's macchanger script, you shouldn't have any problems.......Sebkinne even said eventually he will integrate the script into the pineapple. I'm not sure if he has done that yet. Quote Link to comment Share on other sites More sharing options...
overwraith Posted April 30, 2014 Author Share Posted April 30, 2014 Ok, but try bringing a port down, and putting it up again, it should work, but it doesn't. ifconfig wlan0 down ifconfig wlan0 up Quote Link to comment Share on other sites More sharing options...
xrad Posted April 30, 2014 Share Posted April 30, 2014 Oops sorry overwraith, I'll check one of mine after I get some coffee in me. I'm sure you have already tried but.......... Just to make sure, Have you replaced the sd card with a class 10 sd? Have you tried to reflash the pineapple to factory settings? Quote Link to comment Share on other sites More sharing options...
xrad Posted April 30, 2014 Share Posted April 30, 2014 (edited) Ok, again I apologize for the delay overwraith. Mine does the same thing, wlan0 will not start back up. I don't think there is anything wrong with your pineapple. You might want to submit it to the bug tracker. I could be wrong, but that could be one of the reasons jjd wrote the script, other than being able to have a different random mac at every boot. I'll play with it a bit more this evening, and maybe someone else can try to see if it works for them. Edited April 30, 2014 by xrad Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted April 30, 2014 Share Posted April 30, 2014 Using macchanger breaks the way the interface works. The Mac needs to be changed in /etc/config/wireless. We will add this soon. Best regards, Sebkinne Quote Link to comment Share on other sites More sharing options...
xrad Posted April 30, 2014 Share Posted April 30, 2014 Thanks for the reply Sebkinne. Could you clarify, is it the default macchanger that does this? Or is it jjd's macchanger script that's does it? Is it ok to still be using his script for now? Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted April 30, 2014 Share Posted April 30, 2014 jjd uses the file I mentioned above to change your Mac. Macchanger does it in a way that openwrt doesn't like and therefore fails to bring up the interface. Best regards, Sebkinne Quote Link to comment Share on other sites More sharing options...
xrad Posted April 30, 2014 Share Posted April 30, 2014 Good to know, thanks. I'll continue to use it until its added in the firmware. Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted April 30, 2014 Share Posted April 30, 2014 Good to know, thanks. I'll continue to use it until its added in the firmware. If you want to track the progress of implementation, feel free to create a suggestion in the bug tracker. Best regards, Sebkinne Quote Link to comment Share on other sites More sharing options...
overwraith Posted April 30, 2014 Author Share Posted April 30, 2014 (edited) Ok, so the pineapple is probably fine, but I think there are probably two bugs here (one with macchanger, and one with ifconfig), because even if I simply try to turn off the interface and turn it back on again it will not turn on. What do you think? Edited April 30, 2014 by overwraith Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted April 30, 2014 Share Posted April 30, 2014 It's not macchanger's fault at all, it simply doesn't work well with openwrt. It's also not ifconfig's fault, as it tries to bring up the device. Openwrt then refuses to bring up the interface as the Mac addresses are not matching. On the Pineapple, changing your Mac is simply a little different. Best regards, Sebkinne Quote Link to comment Share on other sites More sharing options...
overwraith Posted April 30, 2014 Author Share Posted April 30, 2014 But even if I don't change the MAC the interface will not come back up again once it is down. Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted April 30, 2014 Share Posted April 30, 2014 Execute "wifi" to bring it back up. If there are issues you'll be notified. Best regards, Sebkinne Quote Link to comment Share on other sites More sharing options...
overwraith Posted April 30, 2014 Author Share Posted April 30, 2014 Thank you. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.