Jump to content

Dazzle

Active Members
  • Posts

    49
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Dazzle

  1. For some reason it was booting into the wrong option I guess, but since your video said not to choice an option I did that and it went to the ALFA login.

    I managed to get it to work though, thanks a lot anyway!

    Don't actually know why I thought I had to let it boot without choosing any option :huh:

    Thanks, sorry for this unnecessary topic ;)

    Dazzle

  2. Hey Everyone,

    I've just received my USB>UART (finally)

    So I started following Mr Protocol's tutorial right away.

    After getting the default login details, which should be admin/admin according to the terminal, but it's actually root and some number ass pw.

    I logged in and started to type the commands to flash the router, unfortunately I get error mesages saying setenv and saveenv can't be found.

    My router is currently running the default ALFA firmware.

    Thanks in advance for any help!

  3. Actually, a re-design is in progress.

    I would suggest you wait until then.

    Best,

    Sebkinne

    Allright, thanks for your response I was kinda expecting it already ;)

    I'll wait with the GUI and look into modules for now

    Thanks,

    Dazzle

  4. I didn't mean you should put a backslash there, but that the script does it automatically, I just thought it would only show it like that in the web interface and still show the SSID correctly on other devices.

    It's probably a little bug in the PHP somewhere, I can't access a pineapple at the moment to test though, I'm sure Sebkinne will know what's exactly going on.

    I'll have a look at it myself tonight

    ----------------------------------------------

    Using stripslashes() you might be able to achieve this, but that would mean you can't add a slash at all

    You could chnage the following code in config.php

    		if(isset($_POST[newSSID])){
    			if(isset($_POST[newSSIDPersistent])){
    				exec("echo \"$(sed 's/option ssid.*/option ssid ".$_POST[newSSID]."/g' /etc/config/wireless)\" > /etc/config/wireless");
    				echo "Changes to SSID have been made persistently<br />";
    			}
    		exec("hostapd_cli -p /var/run/hostapd-phy0 karma_change_ssid \"".$_POST[newSSID]."\"");
    		echo "Karma SSID changed to \"".$_POST[newSSID]."\" successfully <br /><br />";
    
    		}

    to this

    	$SSID = stripslashes($_POST[newSSID]);
    
    		if(isset($_POST[newSSID])){
    			if(isset($_POST[newSSIDPersistent])){
    				exec("echo \"$(sed 's/option ssid.*/option ssid ".$SSID."/g' /etc/config/wireless)\" > /etc/config/wireless");
    				echo "Changes to SSID have been made persistently<br />";
    			}
    		exec("hostapd_cli -p /var/run/hostapd-phy0 karma_change_ssid \"".$SSID."\"");
    		echo "Karma SSID changed to \"".$SSID."\" successfully <br /><br />";
    
    		}

    Be aware that I'm unable to test this so make sure to make a backup of your config.php first

    This is just a quick fix that might solve your problem temporarily

    Dazzle

  5. Hi guys,

    I would like to create a new interface for Jasager, since the last update some CSS has been added, but it's very basic

    Is there any template system in the works?

    It would be nice to be able to share templates without people having to overwrite their www folder with a new one.

    What do you think about this, would you like to see a new interface for Jasager or do you like it the way it is right now?

    I'm also looking into JqTouch, which I already used before, to create a mobile web interface for my pineapple B)

    I'll be able to flash my AP121U today after work since my USB > UART came in today

    Can't wait to get started with this, hopefully I can create some useful modules for the community too ;)

    Dazzle

  6. Because ' is used for other things in PHP it gets 'escaped'.

    Adding a backslash in front of a special character will make sure the character is used as text rather than part of the script.

    Hope that makes sense, kinda difficult to explain :rolleyes:

    Is it also showing up like that when you scan for wireless networks using a other device?

  7. Hi guys,

    Sorry for opening up yet another topic about batteries,

    I've looked into the other topics and I decided I was going to but the Incredicharge I-11000 or the Anker Astro3.

    But after I added my items to the shopping cart I saw it can't be shipped to The Netherlands :angry:

    I'm unable to find a european reseller for both of the battery packs, the only one that would send it to here would cost me $64 on shipping costs, which is more expensive than the actual battery pack itself

    Does anyone have any idea on how to get these battery packs to The Netherlands?

    Thanks in advance!

  8. You're hub probably won't work because the pineapple doesn't have enough power for both devices.

    If you want to use an USB hub you'll need to have a powered one, like you can find in the Hakshop and use a separate power source to power the hub, like a portable battery.

    It might be a good idea for the Hak5 team to add the USB hub in the elite bundle indeed, since most people will need to purchase it afterwards anyway, like I have too, but due to shipping costs, which are more than the hub I'm buying it elsewhere.

    -----

    I've read posts of people being able to use the ALFA, but I guess the support isn't that good yet.

    I'm going to help on Pineapple development as soon as I get mine, with all those people helping the pineapple we'll get it to work for sure. So buy one and help developing the pineapple! ;)

    Dazzle

  9. Thank you very much for even more ways to use Jasager (when I finally get my USB>UART adapter to flash my ALFA)

    How effective is it? I can imagine that only the A/Ps with the best signals will get a deauth.

  10. Hi there, if you have an arduino laying around pop the atmega chip out and you've got yourself an USB-UART adapter.

    Otherwise check ebay, you can find cheap ones there. When I get home I'm gonna send you the link for the one I bought, it was cheap and arrived within 2 weeks.

    Thanks for your reply, unfortunately no Arduino laying around, but I might want to try it out some time

    I've found some cheap ones on ebay indeed, I assumed I would find those trough Google as well so didn't check specifically.

  11. Hello everyone,

    I've order an Alfa AP121U directly from Alfa, because I'm from europe.

    Now I'd like to flash this with the MkIV firmware.

    I've tried searching and I know I should upload the upgrade.bin to the tmp directory.

    The webinterface looks like it's a custom Alfa firmware that's on there.

    I enabled SSH in the web interface, but the page still shows me it's disabled, even though I can make a connection now

    Loging in with the default username and password doesn't work for me and I am unable to find documentation on the router to get a default username and password

    I hope it's still possible to flash my AP121U without a UART cable, since I would then have to wait till I finally receive that cable and I really want to get started using Jasager

    Any help would be greatly appreciated

    Thanks,

×
×
  • Create New...