Welcome Guest ( Log In | Register )

5 Pages < 1 2 3 4 5 >Bottom

Outline · [ Standard ] · Linear+

 Raspberry Pi, Rm100 computer that beats iPhone4S

views
     
wcypierre
post Jan 11 2015, 09:42 PM

Newbie Programmer
Group Icon
Elite
4,619 posts

Joined: Jul 2011
QUOTE(sky03 @ Jan 11 2015, 12:02 PM)
btw can u suggest me a very good wifi adapter for raspi? currently i use d-link dwa123 11n but i notice sumtimes the signal level would drop... sad.gif
*
what are you doing actually? the signal drop depends on your distance with the router, as well as the antenna used(internal or external, for your case would be internal).
wcypierre
post Jan 11 2015, 10:50 PM

Newbie Programmer
Group Icon
Elite
4,619 posts

Joined: Jul 2011
QUOTE(sky03 @ Jan 11 2015, 10:10 PM)
i noe the fact that the further away from the router would result in lower signal... but the thing is at 1st the signal was really full bar and after period of time it suddenly deteriorates to a single bar... i have no idea wat causes this...

btw i had modded the wifi dongle and add an external antenna so it would transmit the signal better. i could still get the signal even i left the router in my room n went downstairs...
*
are you doing anything network related all the time? probably the raspberry pi is saving power on the usb wifi dongle perhaps?

but still, there's nothing with it though.

This post has been edited by wcypierre: Jan 11 2015, 10:53 PM
wcypierre
post Jan 12 2015, 09:05 AM

Newbie Programmer
Group Icon
Elite
4,619 posts

Joined: Jul 2011
QUOTE(sky03 @ Jan 11 2015, 10:55 PM)
well other than being a router nothing else.... btw does pi hav dat kind of power saving features? if yes how to disable it?i m using model B+
*
At the terminal:

1. iwconfig

2. nano /etc/network/interfaces
3. add "wireless-power off" after any wlan0 lines

i.e

auto wlan0
wireless-power off

4. reboot
5. iwconfig and you will see that your power management is now off.
wcypierre
post Jan 12 2015, 08:20 PM

Newbie Programmer
Group Icon
Elite
4,619 posts

Joined: Jul 2011
QUOTE(sky03 @ Jan 12 2015, 07:53 PM)
and based on the log roght after the signal sudden a drop it shows
R8188EU: ERROR ap recv di$$ecv disassoc reason code(8) sta:80:71:7a:45:03:ab

any1 hav idea y this happening?
*
http://www.aboutcher.co.uk/2012/07/linux-w...d-reason-codes/

Reason Code 8: Operating System moved the client to another access point using non-aggressive load balancing.

You can try the workaround at here, but I'm sure whether it will work for your case or not.
https://github.com/lwfinger/rtl8188eu/issues/35

Anyway, try to replace your power supply to a better source and use a better cable(better quality and shorter would be better)
wcypierre
post Jan 20 2015, 10:05 AM

Newbie Programmer
Group Icon
Elite
4,619 posts

Joined: Jul 2011
QUOTE(sarf2k4 @ Jan 19 2015, 11:20 PM)
hi guys, a friend of mine asked me to be their tutor for the raspi workshop but i myself didnt have raspi myself so i dont know what should i deliver, its a hands on workshop, what content should i deliver eg creating a wifi router, time lapse camera or something

thank you in advance
*
you must be good then brows.gif
wcypierre
post Jan 21 2015, 01:51 AM

Newbie Programmer
Group Icon
Elite
4,619 posts

Joined: Jul 2011
QUOTE(sarf2k4 @ Jan 21 2015, 01:38 AM)
because i introduced to a lecturer about raspi, then a student wanted to intro the raspi to the community and what it can do instead of normal pc

the thing i have in mind
-xbmc
-wifi router/ap
-local ftp server
-local web server
-maybe a little bit of hardware hacks? not my forte to be frank
lols, i part time tutoring only
*
nobody want to hire me as part time tutor sweat.gif

If you don't want to go for the hardware side,
1. ftp + web server + torrent
2. xbmc

would be a pretty practical usage for the masses smile.gif

If you want a "wow factor" then most likely it would be some hardware hacks
wcypierre
post Jan 21 2015, 02:18 AM

Newbie Programmer
Group Icon
Elite
4,619 posts

Joined: Jul 2011
QUOTE
yeah... i probably had to go for hardware hacks, actually tutor for university, thats why. software side, almost every hardware can be turned to that kind of server for lappies or old pc
true that, was using raspi as a download server but in the end changed to my old desktop because of the 100mbps ethernet and limited storage.

QUOTE(sarf2k4 @ Jan 21 2015, 02:13 AM)
as for the servers, i always had no luck on setting up the server to the public, even last time i tried dyndns also failed
sweat.gif ........

QUOTE
as for this workshop, this also a hands-on workshop, a normal tech talk would be very boring
what's your targeted users? IT students? general masses?

and please, as for any hands on workshop, please ensure that you have a fast internet for all, or else the whole workshop will be a mess(seen and taken a lot of workshops like that)
wcypierre
post Jan 21 2015, 02:46 AM

Newbie Programmer
Group Icon
Elite
4,619 posts

Joined: Jul 2011
QUOTE(sarf2k4 @ Jan 21 2015, 02:33 AM)
really, i only know local, but not public access, i dont know how, our internet here uses dynamic ip, that makes it even harder to access from the outside but i really do wanna set this thing up

our target is just for general masses, but i only as the tutor, other things are handled by that student, im getting ideas for the content first then i will tell him about the content which one best

what about copying one of the raspi updated firmware/raspbian os, can it be copied to another sdcard directly or there is an another method to clone the 'hdd'?
*
Not particularly sure about whether there's a script for dyndns but there should be though since dyndns is pretty popular. I'm using ddclient with cloudflare instead.

For public access, just access it via the fqdn that they gave you(usually is ur specified subdomain + the domain that u chosen). But if you're using streamyx <1mbps or any mobile broadband solution then it won't work because they are using private ip.

then............ a bit of modification
1. ftp + web server + torrent(set up web ui) + samba + minidlna + securing it + port forwarding + dyndns
2. xbmc

xbmc is pretty straightforward actually........ so I think the 1st one would be better as it would take more time and it would be a bit harder to do

dd? should be able to do the job although I have yet to try it

This post has been edited by wcypierre: Jan 21 2015, 03:05 AM
wcypierre
post Jan 21 2015, 03:28 AM

Newbie Programmer
Group Icon
Elite
4,619 posts

Joined: Jul 2011
QUOTE(sarf2k4 @ Jan 21 2015, 03:08 AM)
i am using 4mb package, there is no script involving with dyndns, just have to set up wamp/lamp/xamp server on any machine, setup ur account on dyndns, set ur dyndns login detail on ur adsl router and u should be done with it. i think i would go for local/public webserver set up as a priority since the workshop most likely gonna be held at university. u know the great firewall of university works

so this fqdn thingy, more like u rent a domain server with ur own preferred name right? the idea of dyndns is to host the website from ur home. but dyndns changed their services entirely maybe since 2012, they give free account for specific users only, unsure other dyndns services available, but im not gonna teach them that since it will be more of a tech talk already

what about samba, my knowledge about samba still in a thick haze, could u tell me about it and the benefits of it?  icon_question.gif
*
yeap. that way would be easier but I'm pretty skeptical of those ddns setup anyway. Back to topic, you would go for the internal network setup instead as you would be getting a private ip instead of a public ip. btw, you may want to go to the uni to test things out a few days before the talk because they may block some of the ports that you may need laugh.gif

not really, you can use the free subdomain that dyndns provides. I used my own domain at cloudflare because I have some in spare. but still, I haven't used dyndns and noip for quite a while already(at least 5 years back?) so it may be a bit outdated.

Samba is a file sharing protocol, and Windows has built in support for it natively(so it is easier than ftp in terms of setup in a sense, but ftp has been around for quite a while so if he/she has been working for a large company then he/she should be more familiar with ftp instead).
wcypierre
post Jan 21 2015, 10:58 AM

Newbie Programmer
Group Icon
Elite
4,619 posts

Joined: Jul 2011
QUOTE(sarf2k4 @ Jan 21 2015, 03:41 AM)
as of now, yeah the internal set up, since troubleshooting a public network level are quite hard and i dont have the resources to do that. the thing is, i still need to get my hands on the raspi if i were to test that there

about samba, is it the native windows file and sharing option? i found that option rather tedious setup if i wanted to share among older windows like w7<>xp on file transfers, not to mention that the heavy load on cpu as well when i did this in the past, so i still kinda prefer ftp for transferring files between my pc

u missed one of my question though i think, if i updated one of the raspi then i copied its sd card to the others, will it work?
*
yeap. setup wise a bit tedious but at least it is just a one time setup and easier to use imo. anyway, its your call.

I did mentioned the answer at the last line though, which is dd. Here's a link on how to do it: http://raspberrypi.stackexchange.com/quest...my-raspberry-pi
wcypierre
post Jan 21 2015, 09:30 PM

Newbie Programmer
Group Icon
Elite
4,619 posts

Joined: Jul 2011
QUOTE(sarf2k4 @ Jan 21 2015, 04:16 PM)
owh, sorry i didnt see that coming, so basically need to 'clone' the disk the same way we image those physical cd. thx for ur help so far, still a lot need to learn  icon_rolleyes.gif
*
nah, me too, still a long way to go laugh.gif
wcypierre
post Jan 28 2015, 02:26 PM

Newbie Programmer
Group Icon
Elite
4,619 posts

Joined: Jul 2011
QUOTE(quadcube @ Jan 22 2015, 03:08 PM)
anyone has problem with raspivid preview?mine doesn't wanna display any preview with "raspivid -t 0" or with the -p command

able to output the videos and still pic but unable to preview it before taking the pic/vid
*
if you still cannot find the solution 2 months later, bump me and I'll see what I can do because I didn't have my usb webcam with me for now laugh.gif
wcypierre
post Feb 9 2015, 11:49 AM

Newbie Programmer
Group Icon
Elite
4,619 posts

Joined: Jul 2011
QUOTE(eric_tan @ Feb 9 2015, 12:57 AM)
My initial test on my Raspberry Pi 2 running LAMP as a MySQL server is getting almost 2x speed gain from SQL queries.

I will compile my results on my Blog and let you guys know once its done.
*
I believe this is due to the additional RAM. SQL query speed are pretty much dependent on the amount of RAM available on the system(whether you can fit everything into the RAM) laugh.gif
wcypierre
post Feb 9 2015, 09:45 PM

Newbie Programmer
Group Icon
Elite
4,619 posts

Joined: Jul 2011
QUOTE(eric_tan @ Feb 9 2015, 02:16 PM)
From what I noticed, after a reboot the Pi/Pi2 (memory cached cleared), it takes about 20~30secs per query (calls for ~1500 records).
The second time on the same query, takes about 2~3 seconds only (after cached).

With the Pi 2, with the same test performed, almost all test came back with 1.6 ~ 2.0x faster.....

However when I test on my Live server (Quad Core Xeon 4GB ram), regardless cached/uncached it takes about 4~5 seconds for the same query.
Note: Whenever any record is updated/changed on the Pi, the next query will take 20~30 secs.... So its NOT the best as a MySQL server.
I am currently using the Pi as my replication server, to keep a copy of the existing DB. It is cheap and serves its purpose very well!

Note: There are options to cache your whole DB into memory using some MySQL option. Anybody tried it? I doubt the 1GB will have enough room to cache the whole DB
*
Not particularly sure without having access to your resources(sql query, pi and pi2 setup, and etc). It depends on how big is your db though, I don't think you'll be running a medium sized db at pi2 though laugh.gif

Not sure what with my raspberry pi nowadays......... since I've repurposed my old computer to become the download server and webscraper instead sweat.gif
wcypierre
post Feb 9 2015, 11:27 PM

Newbie Programmer
Group Icon
Elite
4,619 posts

Joined: Jul 2011
QUOTE(eric_tan @ Feb 9 2015, 11:02 PM)
Yes I would have to agree that my tests doesn't mean much specially when you don't know the size of DB and the queries that I used.

It has a couple of Tables with at most 20k records each. Some records have up to 100 fields, while other 20 fields only.

It is based on my "real world" usage, on the DB that I use daily.

From my tests, the Pi 2 has given me almost a 2x speed gain when compared to the Pi B+

I am sure when the DB size goes up.... the Pi would suffer... and you might NOT see any speed gains.. .... due to the 1GB ram......
*
how large is your db at the moment?
wcypierre
post Feb 21 2015, 12:20 PM

Newbie Programmer
Group Icon
Elite
4,619 posts

Joined: Jul 2011
QUOTE(alucard89 @ Feb 20 2015, 12:41 PM)
Just wanna ask, what's the best transfer speed you can get on raspberry nas? Particularly on rpi2

I've read some reviews that with RPI connected to gigabit Lan via USB to gigabit Lan adapter, you can get around 16Mbps
*
I think you can go more than that with rpi2 as the review that you see was done with rpi model b. My rpi model B typically maxes out at around 8-9mBps with the built in 100 base T adapter(although, don't think too much because your sd card will be a bottleneck once you go over 100 mbps)

http://314256.blogspot.com/2014/05/raspber...t-ethernet.html

This post has been edited by wcypierre: Feb 21 2015, 12:27 PM
wcypierre
post Feb 21 2015, 08:13 PM

Newbie Programmer
Group Icon
Elite
4,619 posts

Joined: Jul 2011
QUOTE(alucard89 @ Feb 21 2015, 12:44 PM)
Thanks for your input
Assuming I simply want to transfer a file to a hdd attached to rpi via samba/nfs share, would the sdcard still be a bottleneck?
Also, is that your blog?
I see the banana pi seems to have tremendous speed when transferring files over gigabit lan

http://314256.blogspot.com/2014/11/banana-...throughput.html
*
Nope, it would be dependent on the speed of your hdd(which would be more than enough). Nope, it was just a blog that I found while googling.

Banana pi is faster because it uses a dedicated chip for the gigabit nic and usb 2.0. So there's no bus sharing resulting in loss of performance unlike all rpi generations where the usb 2.0 bus is shared by all usb devices and the internal nic. Not to mention that the banana pi has a powerful cpu compared to rpi(not particularly sure against rpi2 because I have not checked on that part).

p/s: to be honest, if you wanted to do file sharing via samba/nfs, may as well as get banana pi or banana pro instead sweat.gif
wcypierre
post Feb 21 2015, 08:14 PM

Newbie Programmer
Group Icon
Elite
4,619 posts

Joined: Jul 2011
QUOTE(acbc @ Feb 21 2015, 12:46 PM)
I owned all 3 generations of Model B. My Pi2 Model B arrived this morning. Haven't found the time to power up.
*
what are you doing with them? brows.gif
wcypierre
post Feb 22 2015, 01:21 PM

Newbie Programmer
Group Icon
Elite
4,619 posts

Joined: Jul 2011
QUOTE(alucard89 @ Feb 22 2015, 01:05 PM)
Banana pi is definitely quite interesting, from what I read so far, it's not that great for media player but suits well for other purposes
I'm just quite unsure about the development for banana pi and I don't see too many people using it here
But with the sata port, I wonder if it supports sata ports multiplier to attach more hdds.

Btw, just tried openelec on RPi2, and the performance is really great so far, no buffering when watching movies or crashes.
Everything is smooth when running on heavy skin like Aeon NOX, I actually bought  IR receiver with remote for the rpi but the hdmi cec feature seems sufficient since I'm able to use the tv remote to control Kodi UI. I notice there's only shutdown option once the timer is up, no sleep option.
Is it better to just leave the RPI2 online all the time?
*
you don't really need bleeding edge updates though, although device support is important(like to support the IR receiver that you're using).

just leave it on. I have 3 rpi + 1 desktop running 24/7 at my room sweat.gif shakehead.gif shakehead.gif shakehead.gif
wcypierre
post Feb 22 2015, 01:36 PM

Newbie Programmer
Group Icon
Elite
4,619 posts

Joined: Jul 2011
QUOTE(alucard89 @ Feb 22 2015, 01:32 PM)
I wonder if they'll include gigabit lan for the next rPI
*
it depends on their next soc actually, because processor, ram, usb is built into the soc so we will just have to wait until the prices of more powerful soc becomes more affordable

5 Pages < 1 2 3 4 5 >Top
 

Change to:
| Lo-Fi Version
0.0274sec    0.74    7 queries    GZIP Disabled
Time is now: 11th December 2025 - 03:48 PM