• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: 1 2 [3]
31  General Category / General Discussion / Re: Changed IP in init_setup.sh, getting "No route to host", do I need a JTAG board? on: December 05, 2010, 11:50:43 AM
your gp+ has a static ip on eth0,
your gp+ is connected to your router.
i suppose that your router is in the same subnet as your eth0-port of the gp+
so try to ping & connect by ethernet, not by wlan
32  Hardware and U-Boot firmware / Hardware / Re: Guruplug I/O and JDB errors on writing to micro SD card on: November 23, 2010, 03:02:10 AM
I have a GPlug-Display which is configured with boot and root partitions on a micro-SD card (/dev/sda1, /dev/sda2, respectively) while there is an internal flash drive partitioned as FAT16 for storing videos (this is how it came configured).

When running applications that seem to write intensively to the flash (such as apt-upgrade but occassionally even simpler things), I randomly get errors on the console of form:
xa-sdh pxa-sdh.0: DATA Line Error(status: 0x0010)!
mmcblk0: error -5 transferring data, sector 1319016, nr 120, card status 0x900
end_request: I/O error, dev mmcblk0, sector 1319096
Buffer I/O error on device mmcblk0p2, logical block 139387
lost page write due to I/O error on mmcblk0p2
end_request: I/O error, dev mmcblk0, sector 1319104
Buffer I/O error on device mmcblk0p2, logical block 139388
lost page write due to I/O error on mmcblk0p2
end_request: I/O error, dev mmcblk0, sector 1319112
Buffer I/O error on device mmcblk0p2, logical block 139389
lost page write due to I/O error on mmcblk0p2
end_request: I/O error, dev mmcblk0, sector 1319120
Buffer I/O error on device mmcblk0p2, logical block 139390
lost page write due to I/O error on mmcblk0p2
end_request: I/O error, dev mmcblk0, sector 1319128
Buffer I/O error on device mmcblk0p2, logical block 139391
lost page write due to I/O error on mmcblk0p2
JBD: Detected IO errors while flushing file data on mmcblk0p2
JBD: Detected IO errors while flushing file data on mmcblk0p2

I'm not sure if this is due to bad flash or due to a driver issue. I am concerned though of course about data corruption.

NOTE the  output of fdisk -l is:
Disk /dev/mmcblk0: 4035 MB, 4035969024 bytes
68 heads, 3 sectors/track, 38640 cylinders
Units = cylinders of 204 * 512 = 104448 bytes
Disk identifier: 0x00000000

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1               1        1000      101998+   6  FAT16
/dev/mmcblk0p2            1001       38640     3839280   83  Linux

Disk /dev/mmcblk1: 8018 MB, 8018460672 bytes
219 heads, 12 sectors/track, 5959 cylinders
Units = cylinders of 2628 * 512 = 1345536 bytes
Disk identifier: 0x00000000

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk1p1               4        5960     7826432    b  W95 FAT32

and the outut of df is:
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mmcblk0p2         3778976   1072780   2514232  30% /
tmpfs                   257748         0    257748   0% /lib/init/rw
udev                     10240       520      9720   6% /dev
tmpfs                   257748         4    257744   1% /dev/shm

In any case, the problem seems to occur when writing to the root filesystem


i have two gp+'s running and have since 8 months also the rootfs and swap allocated on mmc-cards.
on one guruplug i've exactly the same problem as you (8gb mmc a-data), the other gp+ is running without any problem (4gb mmc)!
i have not yet figured out what the problem is: the specific mmc-card or  gp+
the problem occurs about one time in 2 months.
i did a badsector check on my laptop, result: no bad sectors.
my workaround is simple: insert the mmc-card in your laptop, do a fsck with autorepair (a lot of errors will be found) , after that my gp+ with that recovered mmc-rootFS is running fine for weeks.
weekly i make a tar-backup of the rootFS, in the beginning i did not the above mentioned workaround, but formatted the root-partition and restored the tar-backup.

33  Linux Stuff / General Linux questions / Re: [guruplug+] SSH hangs and other hanging problemsRX packets on: November 20, 2010, 10:10:50 AM
get more details about your bad ssh-connection.
a) on your plug - start an extra ssh-server in debug mode;
    root@plug:/etc/init.d#    /usr/sbin/sshd -ddd  -p 1234
b) on your pc - connect the extra ssh-server in debug-mode ;
    ssh  -l <loginname>  <ip / ssh-server>  -p 1234   -v

have a good look at:
dmesg
/var/log/syslog
/var/log/kern.log
ifconfig eth0/eth1  -   RX packets (errors - dropped - collisions ?)  - same for TX packets
34  General Category / Application ideas and development Q/A / Re: Deluge (Torrent Box) on: November 06, 2010, 02:53:05 PM
keep it simple, just install rTorrent
i'am using that great/stable/light/fast  app for years on my nslu2, and now for months on my guruplug without any problem.

http://computingplugs.com/index.php/RTorrent
http://en.wikipedia.org/wiki/RTorrent

piet@snot:~$ dpkg --list rtorrent
||/ Name                     Version                  Description
+++-========================-========================-========
ii  rtorrent                 0.8.6-1                  ncurses BitTorrent client based on LibTorrent from rakshasa
35  General Category / Application ideas and development Q/A / Re: How to make my GuruPlug secure on: November 06, 2010, 02:22:21 PM
GuruPlug Server Plus needs some major refactoring before it can be used.A recent publication suggested that the first step to wireless protection was to turn off the router broadcast. I tried it and it appears to work. But the next time I rebooted, Windows Vista Home Premium would not connect to the router.
that's a novice/stupid suggestion in that publication, 'cause :
http://synjunkie.blogspot.com/2007/12/bypass-hidden-ssid-mac-address-filter.html
..
Conclusion
Hopefully this demonstration has proven to you how simple it is for an attacker to bypass some of the more basic restrictions. Don't rely on a hidden SSID or MAC Address filtering as your only security measures. They may stop the average neighbor from using your internet connection but they will not prevent an attacker from breaking into your network and using your internet connection.
Posted by SynJunkie
Labels: Kismet, WiFi
..
36  Linux Stuff / General Linux questions / Re: GUI and VNC guruplug plus? anynone succeed? on: October 16, 2010, 02:29:10 PM
i installed these packages below, so i'm able to run xorg,xeyes,synaptic,iceweasel,openoffice natively, 'can remotely connect my guruplug from home (ubuntu,gnome-rdp) and from work too (ssh->tunnel->mstsc)

ii  tightvncserver                    1.3.9-6.1+b1                  virtual network computing server software
ii  xserver-xorg                      1:7.5+7                       the X.Org X server
ii  rdesktop                          1.6.0-3                       RDP client for Windows NT/2000 Terminal Server
ii  xrdp                              0.5.0~20100303cvs-6           Remote Desktop Protocol (RDP) server
ii  iceweasel                         3.5.12-2                      Web browser based on Firefox
ii  icewm                             1.3.7~pre2-1                  wonderful Win95-OS/2-Motif-like window manager
ii  icewm-common                      1.3.7~pre2-1                  wonderful Win95-OS/2-Motif-like window manager
ii  icewm-gnome-support               1.3.7~pre2-1                  GNOME support files for IceWM
ii  icewm-themes                      1.2.26-1                      Theme files for the Ice Window Manager
ii  openoffice.org                    1:3.2.1-6                     office productivity suite

pstree
..
     └─xrdp-sesman───xrdp-sessvc─┬─Xvnc
                                 ├─ck-launch-sessi─┬─ssh-agent
                                 │                 └─x-session-manag─┬─icewm─┬─firefox-bin───10*[{firefox-bin}]
                                 │                                   │       └─xterm───bash
                                 │                                   ├─icewmbg
                                 │                                   └─icewmtray
                                 └─xrdp-chansrv───{xrdp-chansrv}
[/img][/img]
37  General Category / General Discussion / Re: Hidden SSID? on: September 23, 2010, 04:27:58 AM
uaputl   sys_cfg_bcast_ssid_ctl   --help

Usage : sys_cfg_bcast_ssid_ctl [0|1]

Options:
0     - Disable SSID broadcast
1     - Enable SSID broadcast
empty - Get current SSID broadcast setting

http://plugcomputer.org/plugwiki/index.php/Setting_GuruPlug_to_be_a_WiFi_Access_Point
38  General Category / Application ideas and development Q/A / Re: Guruplug add the graphical interface on: September 19, 2010, 01:54:55 PM
@thrbigob, Did you happen to see the "No Display" error message when you installed Xorg? Also, do you have firefox working with Xorg?


Thanks,

Iansito

you just simply install iceweasel, then you get xorg* and  icewm*   installed too:
ii  iceweasel                         3.5.12-2                      Web browser based on Firefox
ii  icewm                             1.3.7~pre2-1                  wonderful Win95-OS/2-Motif-like window manager
ii  icewm-common                      1.3.7~pre2-1                  wonderful Win95-OS/2-Motif-like window manager
ii  icewm-gnome-support               1.3.7~pre2-1                  GNOME support files for IceWM
ii  icewm-themes                      1.2.26-1                      Theme files for the Ice Window Manager

i  xserver-xorg                      1:7.5+7                       the X.Org X server
ii  xserver-xorg-core                 2:1.7.7-6                     Xorg X server - core server
ii  xserver-xorg-input-all            1:7.5+7                       the X.Org X server -- input driver metapackage
ii  xserver-xorg-input-evdev          1:2.3.2-6                     X.Org X server -- evdev input driver
ii  xserver-xorg-input-synaptics      1.2.2-2                       Synaptics TouchPad driver for X.Org server
ii  xserver-xorg-video-all            1:7.5+7                       the X.Org X server -- output driver metapackage
ii  xserver-xorg-video-apm            1:1.2.2-2                     X.Org X server -- APM display driver
ii  xserver-xorg-video-ati            1:6.13.1-2                    X.Org X server -- AMD/ATI display driver wrapper


39  General Category / General Discussion / Re: Virtual Machine for GuruPlug development on: July 18, 2010, 02:15:07 PM
i'm using ubuntu-lucid with  "Oracle VM VirtualBox 3.2.6-63112",
no need to import the .vmdk,
in VirtualBox just open your {de91a558-197d-42d2-b9da-3e6334b9c3aa}.vmdk
only had to change your boot/grub entry ( on-the-fly changing "root=hda1 into root=sda1" ), it's running nicely now.
so: thanks-a-lot for this big_ignoramus, you made me happy !
40  Linux Stuff / General Linux questions / Re: Mounting eSATA Drive on boot on: June 21, 2010, 02:34:31 PM
i had the exactly the same problem on my guruplug  with ext3-fs,  so i changed my fstab into:

/dev/sdb1               /                   ext3    defaults,noatime,errors=remount-ro 0 1 # mmc-sd
UUID=<UUID>        /mnt/sdc2     ext3    rw,noexec,nodev,async,noatime,nodiratime,data=writeback 0 1 # 2tb sata disk - 1tb partition

That sounds quite logical to me ... just one question: How did you know, that /dev/sdb1 is the SD-Card?

In the original configuration, my /etc/fstab is empty, so the SD is mounted in another way (which I don't know) ...

Any suggestions?

Sascha
i had to flash a new u-boot: U-Boot 2010.03-01161-gd91b0a9 (Apr 22 2010 - 03:24:41)
urls:
http://oinkzwurgl.org/guruplug_uboot
http://plugcomputer.org/plugforum/index.php?topic=1642

so had to change u-boot envs in order to boot from mmc-sd:

u-boot, printenv:
   x_bootargs_root=root=/dev/sdb1 rootdelay=13
   bootcmd=${x_bootcmd_usb}; ${x_bootcmd_kernel}; setenv bootargs ${x_bootargs} ${x_bootargs_root}; bootm 0x6400000;

so:  /dev/sdb1 is the rootFS
41  Linux Stuff / General Linux questions / Re: Mounting eSATA Drive on boot on: June 21, 2010, 05:51:48 AM
i had the exactly the same problem on my guruplug  with ext3-fs,  so i changed my fstab into:

/dev/sdb1               /                   ext3    defaults,noatime,errors=remount-ro 0 1 # mmc-sd
UUID=<UUID>        /mnt/sdc2     ext3    rw,noexec,nodev,async,noatime,nodiratime,data=writeback 0 1 # 2tb sata disk - 1tb partition

now i don't have the mentioned problem anymore

when you change the fstab-line at-the-end into   ...  0  0  , just to ignore the fsck,  it must work anyway
in your case:

/dev/sda1 /srv ext4 defaults,noatime 0 0 

Pages: 1 2 [3]