• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: 1 ... 25 26 [27] 28 29 30
391  Linux Stuff / General Linux questions / Re: Slow Transfer Rates? on: August 25, 2009, 06:12:49 PM
Looks like you have two things in play here.
  • How fast you can read from the disk
  • How fast you can transfer over the network
With an external USB-powered USB drive (and a powered-hub) I read from it to the Plug at just under 30MB/s, which is about the same as it delivers to my standard desktop system, so not sluggish there.

Reading a 60MB file from the same filesystem over a Wifi connexion using sftp I get ~1.3MB/s.  This is about the max rate that I've seen my Wifi connexion go.

In both cases I remounted the file systems to flush the buffer caches before testing.  (I could instead have echoed something to /proc/sys/vm/drop_caches to achieve the same, but I'd forgotten about that, and forgotten what to echo as well).
392  General Category / General Discussion / Re: No internet access after alpha-6 installer on: August 25, 2009, 04:55:42 PM
you did not read the manual Wink
That might be because the README.txt in the sheevaplug-installer-alpha-6 tells you what to do but doesn't mention editing anything.  OK - I did read the README.txt and uboot-custom.txt in installer and still didn't edit mine in.  Perhaps this info needs greater prominence?
393  General Category / General Discussion / Re: Help! Sheevaplug inaccessible on: August 25, 2009, 04:14:42 PM
So will you be changing your name to "active" now?
394  General Category / General Discussion / Re: Setting up sheevaplug with wlan on: August 24, 2009, 05:23:12 PM
Might be related to things like this:

http://patchwork.kernel.org/patch/38530/

There seem to be a few post about "No probe response from AP" timeouts since 2.6.30-rc3.  Apparently fixed at 2.6.31.2.  But they may be driver-specific (and neither is RTL8187).

My scripts to re-associate (which are at least a workaround) are these:
5-min crontab job (/etc/cron.d/WifiCheck)
Code:
# Check the Wifi status
#
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/local/bin

01-58/5 * * * * root /local/bin/wireless-check
The actual script (/local/bin/wireless-check):
Code:
#!/bin/sh
#
if=wlan0

if iwconfig $if | grep -q Not-Associated; then
   : Not associated, so get it to retry
else
   exit     # All OK
fi

iwconfig $if | Mail -s 'Wifi lost association on plug' {my-mail-address}
# Force re-association
iwconfig $if ap auto
(I've got mail setup...)
The result, earlier today, showed this in in dmesg (as well as mailing me the Not-Associated details):
Quote
wlan0: no probe response from AP 00:02:cf:xx:xx:xx - disassociating
wlan0: direct probe to AP 00:02:cf:xx:xx:xx try 1
wlan0: direct probe to AP 00:02:cf:xx:xx:xx try 2
wlan0: direct probe to AP 00:02:cf:xx:xx:xx try 3
wlan0: direct probe to AP 00:02:cf:xx:xx:xx timed out
wlan0: direct probe to AP 00:02:cf:xx:xx:xx try 1
wlan0: direct probe to AP 00:02:cf:xx:xx:xx try 2
wlan0 direct probe responded
wlan0: authenticate with AP 00:02:cf:xx:xx:xx
wlan0: authenticated
wlan0: associate with AP 00:02:cf:xx:xx:xx
wlan0: RX ReassocResp from 00:02:cf:xx:xx:xx (capab=0x431 status=0 aid=4)
wlan0: associated
395  General Category / General Discussion / Re: Reflash help needed! on: August 24, 2009, 04:52:36 PM
You are not alone.  Other have seen some USB sticks fail.
Points that have cropped up (IIRC):
a) Has to be FAT32
b) Has to be directly on the partition (e.g. /dev/sda1) not on the whole device (e.g. /dev/sda) 
c) The USB stick has to be 2GB or less.
396  Linux Stuff / Linux distributions / Re: Unable to boot after apt-get dist-upgrade on: August 23, 2009, 04:28:16 PM
<Guessing>
  Your boot line mentions /boot/uInitrd and /boot/uImage, but you've got these on a partition that gets mounted as /boot.  So I expect these are actually /uInitrd and /uImage wrt to the actual partition they are one.
Try redoing the bootcmd_mmc setting.
</Guessing>
397  General Category / General Discussion / Re: Setting up sheevaplug with wlan on: August 23, 2009, 01:16:26 PM
My wifi is also a little flakey at the moment. After about a day it loses association with the AP.
So I've added a script to re-associate when this happens.
No packet loss on ping, though (although I have just changed the aerial and move things around).
I have one of these.  And yes - it does get quite warm.
398  General Category / General Discussion / Re: How to set up a network printer? on: August 23, 2009, 01:01:16 PM
>> Anybody got any ideas at this point?

Are you any good on Apache access configuration?  cups uses the same style.
Again, in cupsd.conf you'll find things like:
Quote
<Location />
  # Allow remote administration...
  Order allow,deny
  Allow @LOCAL
</Location>
Which means it will allow access from any address which resolves back to a name that is not in any domain.  So, if you edit your /etc/hosts file to add an entry for the client that is trying to connect and make sure that the first name part is just the short name, e.g:
Quote
192.168.1.105           ps3 ps3.local
then it should work.  Or you could edit all of the @LOCAL entries in cupsd.conf...

At this point "man cupsd.conf" might be a good idea.



399  General Category / Application ideas and development Q/A / Re: lighttpd + php5 + mysql on: August 23, 2009, 12:50:16 PM
If you don't make /tmp world-writeable (with the sticky-bit set) then it will be more than php that has problems.
400  General Category / General Discussion / Re: How to set up a network printer? on: August 22, 2009, 06:55:25 PM
This (the 127.0.0.1:631) means your cups is set to listen only on the local interface, so your not going to be able to talk to it from any other system.
Something in your /etc/cups/cupsd.conf file will be setting this.
The usual way to fix this would be via the web interface - but that's Catch-22.
I suggest you look at that file with an editor and look for a line with 127.0.0.1 in it.  Possibly:
Code:
Listen 127.0.0.1:631
Just comment it out (the default should be listen on all interfaces)
401  General Category / General Discussion / Re: How to set up a network printer? on: August 22, 2009, 04:53:30 PM
The request was to telnet to port 631, not just telnet (which will go to the telnet port - 23)
First - lets check you really have a cups server running.
On the plug, type:
Code:
netstat -tan | grep LISTEN
It should show a listener on port 631, so a line like this:
Code:
tcp        0      0 0.0.0.0:631                 0.0.0.0:*                   LISTEN
402  General Category / General Discussion / Re: tun device ? openvpn etc on: August 21, 2009, 07:03:24 PM
Probably because the tunnel only exists once something decides to create it. It needs a destination (the light at the other end of the tunnel).  So unless an application has an active one set-up there is no such device.
403  General Category / General Discussion / Re: Can't connect to sheevaplug from outside home network on: August 21, 2009, 06:58:44 PM
You say you've forwarded ports.  But have you allowed the protocol through the firewall.
I have a ZyXel router and I need to setup both for incoming traffic to work. i.e. I have to both route it to the internal system I desire and allow it to pass from WAN to LAN.
404  General Category / General Discussion / Re: Setting up sheevaplug with wlan on: August 21, 2009, 06:54:04 PM
I've got the cherokee web server running on mine (which is what I was running on my Asus wl500g, and was available so it made it rather simple to move everything over).
405  General Category / General Discussion / Re: Lighttpd & sftp on: August 21, 2009, 06:49:13 PM
I'm wondering is there way to ftp or sftp into the sheeva? I found that sftp is installed on the sheeva, but I don't know the password to get into it (it's not nosoup4u)
That is the password, but you have to tell it to be root if you aren't on the client system, so
Quote
sftp root@plug
  To ftp in you'd have to install an ftp server (run apt-cache search ftpd)
Pages: 1 ... 25 26 [27] 28 29 30