Show Posts
Pages: 1 2 [3] 4 5 ... 8
31  Products / Arduino Yún / Re: Arduino Yun and WiFi - need help getting started on: June 08, 2014, 10:04:44 am
After you made a connection (with that other laptop), can you open its web interface (http://192.168.240.1) with a browser?

kind regards,

Jos
32  Products / Arduino Yún / Re: Arduino Yun and WiFi - need help getting started on: June 08, 2014, 01:11:39 am
Doing a laptop Restart didn't help either. 

I'm sure it's something basic on my laptop, but I haven't a clue what.  Some configuration issue?

Strange ... so your laptop can 'see' the Arduino network but can't connect to it; the encryption used on other networks have nothing to do with it (WPA, WEP etc.) and the Arduino network is completely 'open'; the IPv4 address is 192.168.240.1 (after a reset); the silly thing is that it works for me without problems (using url http://192.168.240.1 in my browser after connecting to that network). My guess would also be that it's something in your laptop that forbids a connection (one way or another). Can you ping it from your laptop? (open a command line interface and issue a 'ping 192.168.240.1')

kind regards,

Jos
33  Products / Arduino Yún / Re: Arduino Yun and WiFi - need help getting started on: June 07, 2014, 01:33:31 pm
I don't know anything about Kaspersky but I do know that I only trust that stuff as far as I can throw a rock at it; can you (temporalily) switch that thing off and see what happens? (you won't be swamped with viruses and spam all of a sudden because you also have a firewall in your router ;-)

kind regards,

Jos
34  Products / Arduino Yún / Re: Arduino Yun and WiFi - need help getting started on: June 07, 2014, 11:01:50 am
This is a very simple view of it all (at least, this is the way I did it) - when your Yun has booted for the first time (and it has booted, because you saw that large 'Linino' logo), it has created its own network. From your MS Windows box you should see it in a list of available networks. Click it and make your box connect to it; next point your browser to the url http://192.168.240.1; can you make it that far?

kind regards,

Jos
35  Products / Arduino Yún / Re: Accidentally deleted/removed a file using rm : please help on: May 20, 2014, 08:04:47 am
...
It's an old fashioned hacking session ;-)
...

I simply love it.

one comment (not important) :

"/dev/mtdbblock3" is in jffs2 format and jffs2 is compressed, then dumpfile is no longer readable text.


Can it be gunzipped? If so, a line as:

dd if=/dev/mtdbblock3 | zcat > /mnt/sda1/dumpfile

might do the trick. (I know next to nothing about OpenWRT's filing systems trickery)

kind regards,

Jos
36  Products / Arduino Yún / Re: Accidentally deleted/removed a file using rm : please help on: May 19, 2014, 12:54:14 pm
You could try this:

dd if=/dev/mtdbblock3 of=/mnt/sda1/dumpfile

This'll create a file named 'dumpfile'. Although it'd contain a lot of binary rubbish, the vi editor can still handle it; you'll spot the readable text parts in it and you have to remove the rest of it (using vi). It's an old fashioned hacking session ;-)

kind regards,

Jos
37  Products / Arduino Yún / Re: Accidentally deleted/removed a file using rm : please help on: May 19, 2014, 12:25:23 pm
If all else fails, you might try a dd from that partition and write it somewhere else (on /mnt/sda1 perhaps?) You can easily recognize that python text among all the binary gibberish and if your original filing system wasn't too fragmented, you'd be able to retrieve your file (or most of it).

kind regards,

Jos
38  Products / Arduino Yún / Re: jamvm out of memory on: May 12, 2014, 03:35:32 am
Ok, don't use the -Xmx flag to make the heap larger then, but your Yun won't hit the swap space unless you fill it up with other memory consuming processes ... (-Xmx32M makes your heap large enough for substantial Java programs while it still doesn't need that (slow) swap space).

Jos
39  Products / Arduino Yún / Re: jamvm out of memory on: May 11, 2014, 12:51:00 pm
Trying to turn on swap space is useless, because by default jamvm claims only 1MB for its maximum heap size (see the -X option for details), while (normally) Linux doesn't hit its swap space with that small amount of memory; that bus error has another cause (I run jamvm with 40MB heap space fine).

kind regards,

Jos

ps. it -Xmx, not -Xms (that's the stack size limit)
40  Products / Arduino Yún / Re: jamvm out of memory on: May 11, 2014, 10:47:19 am
Did you try the flag -Xmx32M (or similar)?

kind regards,

Jos
41  Products / Arduino Yún / Re: Testing serial port on: May 10, 2014, 12:49:32 pm
You can install it: coreutils-stty; the /dev/ATH0 device runs at 250000 baud.

kind regards,

Jos
42  Products / Arduino Yún / Re: vague 433MHz question on: May 04, 2014, 10:35:27 am
Quote
AtMega hangs up and doesn't respond to anything anymore
Do you mean the 32u4, the ar9331 or the Yun as a whole? What exactly stops happening?
Can you still ssh into the Yun? Can you still talk to the Yun over USB? Can you still access the Yun web interface?

It's only the AtMega (32u4) that doesn't respond anymore; I can communicate fine with the MIPS processor; it just can't talk to th AtMega anymore; it is stone dead. It comes up fine again after a reset though ...

Quote
I am quite sure that the issue is not a memory leak or a bug in my code;
Don't totally discount memory being the problem, the 32u4 has 2.5k of sram the Mega has 8k.

I know, I'm only using this many bytes of Flash/RAM:

Sketch uses 16,590 bytes (57%) of program storage space. Maximum is 28,672 bytes.
Global variables use 612 bytes (23%) of dynamic memory, leaving 1,948 bytes for local variables. Maximum is 2,560 bytes.

To see if the Yun is causing a RFI problem with your receiver, run your setup on the Mega and put the Yun as close as possible to where it would be if you were using it and power it up.

I'll check it and thanks for the tip,

kind regards,

Jos
43  Products / Arduino Yún / Re: vague 433MHz question on: May 04, 2014, 09:52:55 am
radio interference is not the problem.
check for memory leaks. (may use monitoring software for this) og good decoupling on power supply lines

Now I'm more confused than I already was before; another person (not on this forum) who was an antenna himself in a previous life (if you'd ask me ;-) claimed that it most likely would be high frequency interference. I'm a math guy and I claim utter incompetence in this field ...

b.t.w. I am quite sure that the issue is not a memory leak or a bug in my code; it is more than two years old and I scrutinized it again this morning and above all, it runs flawlessly on my old AtMega2560.

Thanks for replying and

kind regards,

Jos
44  Products / Arduino Yún / vague 433MHz question on: May 04, 2014, 07:22:11 am
Greetings,

I own a Yun and the AtMega processor serves quite a few sensors; one of them is a 433MHz receiver and the AtMega processor decodes the received signal. Software-wise speaking everything works fine except sometimes, just sometimes (once per day or so) the AtMega hangs up and doesn't respond to anything anymore. (except for a power off/power on signal or a complete reset of the processor).

That 433MHz receiver with its antenna is located very near the Yun board. I know nothing about hardware, but the idea popped up that a 400MHz crystal for the MIPS processor and 433MHz for the receiver aren't that much apart and maybe some lethal interference could've happened. Am I making sense? Would isolation of the entire Yun board help? Or are my thoughts way off? All the other sensors don't cause any troubles and my same software for the 433MHz receiver runs fine on another (Arduino 2560) 16MHz board.

kind regards,

Jos
45  Products / Arduino Yún / Re: Jamvm help...please on: May 01, 2014, 10:47:16 am
I do, but in order to try what you recommend a native library is also required...like RXTX JSSC makes reference to native calls.

Trying streams did not work, hence the reason why someone took the time to write RXTX and JSSC.

How strange, because I've been using streams using Java alone on that /dev/ttyUSB0 device for months now (polling them) and it works as a breeze ...

kind regards,

Jos
Pages: 1 2 [3] 4 5 ... 8