After reading and following the master lines on the wiki, I have been able to connect to RS (without miniPCI's) only after touching the reset button (not pressing while getting on, simply touching the button on time). Is there a way to get the RS working without the need of touch that button?
Following the wiki, I executed the "opkg update" and "opkg upgrade" commands.
Can I now use "opkg install webif"?
I closed putty, and now i'm trying to reconnect, but the password of root seems to be changed, and "ubnt" is not workig, nor the classicals "root", "toor", "admin", "r"... is there another password that works?
Another question, can I use any miniPCI wireless card, or only thoses selled by ubnt?
Saludos, OSCAR.
lqbweb
02-04-2009, 11:24 AM
oscar,
could you explain me how did you flash it, with which firmware. and do you mean that its not booting (its hang in rescue mode in redboot time) but when you press just one time the button it boots?
Thanks,
saludos
No sorry, it was a misunderstanding mine, just is the time to leave my sit and go to the device to push the button that the device begins to work properly. The pushing the button has no effects.
BTW, I found that this button resets (what else!) the device to the defaults firmware' config, when pushed while the device is booting (just what expected).
I found also that when upgrading from internet the passwd of root is changed! I verified this twice. I use the following procedure to overpass this:
Well, that's what I'm doing:
Wireless conecction between my PC, running XP and configured as 192.168.1.42 on the ethernet, and the router, configured as 192.168.1.1 on the LAN. All the subnet masks are 255.255.255.0
Wired connection between PoE device and WAN port on RS
Wired connection betwen router and the PoE injector device (this means that the LAN meets the RS device by the WAN port)
Plug-in the connector, wait for lights to show "3.3V" and "wan" enlighted.
Run putty (http://www.chiark.greenend.org.uk/~sgtatham/putty/)
Instruct putty to open a SSH session on 192.168.1.20 (you would like to save this config as "RouterStation"). Press the 'open' button.
If putty reply, 'conecction refused' Wait another while, until something happends. If this is the first time you get access to RS, a weird message is showed explaining that a secure file will be created, and that you must be sure that this is the host you want to connecto to. All right, let us continue. In the window, putty must be saying 'login as:'
Type 'root' and when asked for the password, type 'ubnt'
If all is right, you must gain access to shell as root.
Now you will access using WinSCP (http://winscp.net/)
You need to open a session with SCP protocol, user 'root' and password 'ubnt'. Another annoing splash screen. Forget that messages about groups and pwd. A nice file explorer lets you navigate throught the file system.
Change the network file as showed in the wiki. It's really easy to do, simply double-click the file in WinSCP file explorer and a file editor opens to make it. The very important thing is to have this in the section 'interface lan' on the 'etc/config/network' file. remember to make 'tab' to separate properly the things (just a style...)
config interface lan
option ifname "eth0 eth1"
option type bridge
option proto static
option ipaddr 192.168.1.20
option gateway 192.168.1.1
option dns 192.168.1.1
option netmask 255.255.255.0
Now reboot the device. Simply pass to the putty window (that remains open), or open the commands window under WinSCP, and type 'reboot'. Putty closes and WinSCP must close. Wait until you gets control again of the device.
Now, when login in the shell you must have access to internet (if your router is properly configured) from the RS.
Do 'opkg update' and the 'opkg upgrade', as seen in the wiki.
DON'T CLOSE THE WINDOW.
Here is the WEIRD THING: type 'passwd root' and change the password for other. Cannot be 'ubnt' anymore, so choose your preferred.
Hope this helps.
When I found that the password don't works, I get a bit afraid, and I tried to reflash the unit with AP51 (http://download.berlin.freifunk.net/sven-ola/area51/readme.txt).
The bin seems to work, but the .gz seems to be too mince (14.957 bytes)
With tftpd (http://tftpd32.jounin.net) the same. The .bin seems to be good, but the .gz don't go. Surely is my fault, so I pride someone that explains step by step how to flash the RS.
Saludos, OSCAR.
UBNT-Mike.Taylor
02-04-2009, 02:14 PM
I'm not sure what you tried to do with the .gz file, but that is a compressed archive containing a makefile and some patches.
If you upgrade your unit - it will be using latest of OpenWRT which will have their default root password.
In order to keep the ubnt password (or password of your choice) you need to edit that /etc/passwd file so that it lands in your mini-fo filesystem.
I'll add this note to the wiki page.
Thanks,
Mike