• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1]
1  Linux Stuff / General Linux questions / How to assign unallocated space to /dev/sdb2 partition on an SD card ? on: May 30, 2012, 02:50:42 PM
I dont know if this is the right place for this topic.
I am using sheevaplug.
I have copied the 4GB image on to a 16GB class 10 scandisk SD card.
In gparted, I can see 11 GB of unallocated space.
Can someone be so kind in explaining me a step by step procedure to all the unallocated space of 11 GB to the /dev/sdb2 partition which is my root file system and currently only has 3.5 GB?

Thanks in advance.
2  General Category / General Discussion / Re: SOLVED***Linux-headers issue for Debian on: May 06, 2010, 01:47:35 PM
Thanks to Martin Michlmayr's advice.
All I had to do was
  apt-get update
  apt-get dist-upgrade
  flash-kernel
  reboot

All is well now!!!!
Cheers!!
3  General Category / General Discussion / Linux-headers issue for Debian on: May 06, 2010, 10:02:01 AM
Hi All,

I have used Martin's Debian installer for the Sheevaplug.
Everything works well. However, after I did apt-get dist-upgrade I can not install linux-headers.
uname -r gives me 2.6.30-2-kirkwood

However when I try to run apt-get install linux-headers-`uname -r`
I get "E: Couldn't find package linux-headers-2.6.30-2-kirkwood"

When I did search by running apt-cache search linux-headers*
I got :
rt2400-source - source for rt2400 wireless network driver
rt2500-source - source for rt2500 wireless network driver
rt2570-source - source for rt2570 wireless network driver
linux-headers-2.6.26-1-all - All header files for Linux 2.6.26
linux-headers-2.6.26-1-all-armel - All header files for Linux 2.6.26
linux-headers-2.6.26-1-common - Common header files for Linux 2.6.26-1
linux-headers-2.6.26-1-iop32x - Header files for Linux 2.6.26-1-iop32x
linux-headers-2.6.26-1-ixp4xx - Header files for Linux 2.6.26-1-ixp4xx
linux-headers-2.6.26-1-orion5x - Header files for Linux 2.6.26-1-orion5x
linux-headers-2.6.26-1-versatile - Header files for Linux 2.6.26-1-versatile
linux-headers-2.6.26-2-all - All header files for Linux 2.6.26
linux-headers-2.6.26-2-all-armel - All header files for Linux 2.6.26
linux-headers-2.6.26-2-common - Common header files for Linux 2.6.26-2
linux-headers-2.6.26-2-iop32x - Header files for Linux 2.6.26-2-iop32x
linux-headers-2.6.26-2-ixp4xx - Header files for Linux 2.6.26-2-ixp4xx
linux-headers-2.6.26-2-orion5x - Header files for Linux 2.6.26-2-orion5x
linux-headers-2.6.26-2-versatile - Header files for Linux 2.6.26-2-versatile
linux-headers-2.6.32-2-common - Common header files for Linux 2.6.32-2
linux-headers-2.6.32-2-kirkwood - Header files for Linux 2.6.32-2-kirkwood
linux-headers-2.6.32-2-orion5x - Header files for Linux 2.6.32-2-orion5x
linux-headers-2.6.32-3-all-armel - All header files for Linux 2.6.32
linux-headers-2.6.32-3-all - All header files for Linux 2.6.32
linux-headers-2.6.32-3-common - Common header files for Linux 2.6.32-3
linux-headers-2.6.32-3-iop32x - Header files for Linux 2.6.32-3-iop32x
linux-headers-2.6.32-3-ixp4xx - Header files for Linux 2.6.32-3-ixp4xx
linux-headers-2.6.32-3-kirkwood - Header files for Linux 2.6.32-3-kirkwood
linux-headers-2.6.32-3-orion5x - Header files for Linux 2.6.32-3-orion5x
linux-headers-2.6.32-3-versatile - Header files for Linux 2.6.32-3-versatile
linux-headers-2.6-iop32x - Header files for Linux 2.6-iop32x
linux-headers-2.6-ixp4xx - Header files for Linux 2.6-ixp4xx
linux-headers-2.6-kirkwood - Header files for Linux 2.6-kirkwood
linux-headers-2.6-orion5x - Header files for Linux 2.6-orion5x
linux-headers-2.6-versatile - Header files for Linux 2.6-versatile

In this list I don't have linux-headers-2.6.30-2-kirkwood

My sources.list is

deb http://ftp.us.debian.org/debian/
 
lenny main
deb-src http://ftp.us.debian.org/debian/
 
lenny main

deb http://security.debian.org/
 
lenny/updates main
deb-src http://security.debian.org/
 
lenny/updates main

deb http://volatile.debian.org/debian-volatile
 
lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile
 
lenny/volatile main

# Orion repository
deb http://people.debian.org/~tbm/orion
 
lenny main

So how do I install linux-headers?

Please help
Thanks in advance.

Kumar
4  General Category / General Discussion / Successful install of asterisk, dahdi, asterisk-addons, freepbx on sheevaplug on: November 20, 2009, 11:19:16 AM
Hi all,
Has any one successfully implemented, asterisk, , dahdi, asterisk-addons, freepbx on sheevaplug using the external usb sata hard drive with Linux debian 2.6.30-2-kirkwood kernel?
If yes, does it work with asterisk 1.4 or 1.6?
I have tried compiling asterisk 1.4, and it does successfully compile, however, it is unable to start asterisk, because /var/run/asterisk/asterisk.clt, and  /var/run/asterisk/asterisk.pid files do not exists. The directory /var/run/asterisk is somehow empty.
also in the /etc/asterisk.conf file, the astrundir = /var/run , which I changed it to /'var/run/asterisk.
The way I compiled asterisk was, ./configure, make, make install and make samples. Is this correct OR
./configure, make install, make samples is correct.
If someone has used asterisk 1.6, then what version of asterisk-addons is to be used?
would dahdi 2.2 work?
Can someone help clarify these issues?
Ideally If someone can specify astep-by-step procedure to install, asterisk, dahdi and freepbx would be excellent.
Thanks in advance.
5  General Category / General Discussion / Zaptel comilation error on Debian 2.6.30-2-kirkwood on: November 12, 2009, 07:05:26 PM
have followed The article at  http://www.cyrius.com/debian/kirkwood/sheevaplug/unpack.html   and downloaded and installed Debian lenny. uname -r = 2.6.30-2-kirkwood

Now when I try to install Zaptel on the system, it is giving me the following error.

-------------------------------------------------------------------------------------------------------------------------------------------
make[2]: Entering directory `/usr/src/linux-headers-2.6.30-2-kirkwood'
  CC [M]  /usr/src/zaptel-1.4.12.1/kernel/wctc4xxp/base.o
/usr/src/zaptel-1.4.12.1/kernel/wctc4xxp/base.c:63:1: warning: "WARN" redefined
In file included from /usr/src/linux-headers-2.6.30-2-common/arch/arm/include/asm/bug.h:22,
                 from /usr/src/linux-headers-2.6.30-2-common/include/linux/kernel.h:21,
                 from /usr/src/zaptel-1.4.12.1/kernel/wctc4xxp/base.c:23:
/usr/src/linux-headers-2.6.30-2-common/include/asm-generic/bug.h:82:1: warning: this is the location of the previous definition
/usr/src/zaptel-1.4.12.1/kernel/wctc4xxp/base.c: In function ‚wctc4xxp_net_set_multi‚:
/usr/src/zaptel-1.4.12.1/kernel/wctc4xxp/base.c:611: error: ‚struct net_device‚ has no member named ‚priv‚
/usr/src/zaptel-1.4.12.1/kernel/wctc4xxp/base.c: In function ‚wctc4xxp_net_up‚:
/usr/src/zaptel-1.4.12.1/kernel/wctc4xxp/base.c:619: error: ‚struct net_device‚ has no member named ‚priv‚
/usr/src/zaptel-1.4.12.1/kernel/wctc4xxp/base.c: In function ‚wctc4xxp_net_down‚:
/usr/src/zaptel-1.4.12.1/kernel/wctc4xxp/base.c:634: error: ‚struct net_device‚ has no member named ‚priv‚
/usr/src/zaptel-1.4.12.1/kernel/wctc4xxp/base.c: In function ‚wctc4xxp_net_hard_start_xmit‚:
/usr/src/zaptel-1.4.12.1/kernel/wctc4xxp/base.c:651: error: ‚struct net_device‚ has no member named ‚priv‚
/usr/src/zaptel-1.4.12.1/kernel/wctc4xxp/base.c: In function ‚wctc4xxp_poll‚:
/usr/src/zaptel-1.4.12.1/kernel/wctc4xxp/base.c:712: error: implicit declaration of function ‚netif_rx_complete‚
/usr/src/zaptel-1.4.12.1/kernel/wctc4xxp/base.c: In function ‚wctc4xxp_net_get_stats‚:
/usr/src/zaptel-1.4.12.1/kernel/wctc4xxp/base.c:721: error: ‚struct net_device‚ has no member named ‚priv‚
/usr/src/zaptel-1.4.12.1/kernel/wctc4xxp/base.c: In function ‚wctc4xxp_net_ioctl‚:
/usr/src/zaptel-1.4.12.1/kernel/wctc4xxp/base.c:758: error: ‚struct net_device‚ has no member named ‚priv‚
/usr/src/zaptel-1.4.12.1/kernel/wctc4xxp/base.c: In function ‚wctc4xxp_net_register‚:
/usr/src/zaptel-1.4.12.1/kernel/wctc4xxp/base.c:794: error: ‚struct net_device‚ has no member named ‚priv‚
/usr/src/zaptel-1.4.12.1/kernel/wctc4xxp/base.c: In function ‚wctc4xxp_net_capture_cmd‚:
/usr/src/zaptel-1.4.12.1/kernel/wctc4xxp/base.c:886: error: implicit declaration of function ‚netif_rx_schedule‚
make[6]: *** [/usr/src/zaptel-1.4.12.1/kernel/wctc4xxp/base.o] Error 1
make[5]: *** [/usr/src/zaptel-1.4.12.1/kernel/wctc4xxp] Error 2
make[4]: *** [_module_/usr/src/zaptel-1.4.12.1/kernel] Error 2
make[3]: *** [sub-make] Error 2
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.30-2-kirkwood'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/zaptel-1.4.12.1'
make: *** [all] Error 2
------------------------------------------------------------------------------------------------------------------------------------------
How do I solve this problem. Please help
Thanks in advance
6  Hardware and U-Boot firmware / U-Boot stuff / Booting from ISO image on to External Hard drive --Help Needed on: August 26, 2009, 12:08:48 PM
Here is my question in detail

A) I attach a 4 port USB 2.0 Hub to Shevaaplug
B) Next, On one port of the HUB I attach an External CDOM drive (With the ISO Image CD, of an application built on Debian or FreeBSD or Ubuntu)
C) On the other port of the USB HUB I attach a 1 TB Hard Drive
Now my question is, can we configure the UBOOT settings such that, the first preference for booting is from the CD ROM Drive and Next prerefence is to boot from the external Hard Drive.
So That when Sheevaplug boots, it straight goes to the CDROM with the ISO Image cd.
WHen I select it to run, The image is copied to the external 1 TB hard drive and  NOT to the local drive of Sheeval plug.
How is this achieved?
Thanks in Advance.
7  General Category / Success stories / Re: firewall on: August 24, 2009, 11:17:19 AM
Hi hammack,

Can you please let us know how you achieved this in a step-by-step manner?
Thanks in advance.
8  General Category / General Discussion / Booting from a CD (ISO Image) on to USB external Hard drive ????? on: August 24, 2009, 11:11:34 AM
Here is my question in detail

A) I attach a 4 port USB 2.0 Hub to Shevaaplug
B) Next, On one port of the HUB I attach an External CDOM drive (With the ISO Image CD, of an application built on Debian or FreeBSD or Ubuntu)
C) On the other port of the USB HUB I attach a 1 TB Hard Drive
Now my question is, can we configure the UBOOT settings such that, the first preference for booting is from the CD ROM Drive and Next prerefence is to boot from the external Hard Drive.
So That when Sheevaplug boots, it straight goes to the CDROM with the ISO Image cd.
WHen I select it to run, The image is copied to the external 1 TB hard drive and  NOT to the local drive of Sheeval plug.
How is this achieved?
Thanks in Advance.
Thanks
9  General Category / Success stories / Re: firewall on: July 22, 2009, 04:03:29 PM
That would be great.
Thanks and Regards
Kumar
10  General Category / Success stories / Re: Backup to Amazon S3 on: July 21, 2009, 05:35:56 PM
Can you please explain more in detail how exactly did you sync your data.
As I understand, the source of your data is in your USB drive attached to the plug. Then you used s3sync to syn your source to Amazon Huh
Did you use fstab ?
Can you explain step - by - step guide on what and how?
Thanks in Advance.
11  General Category / Success stories / Re: firewall on: July 21, 2009, 05:27:48 PM
Hi,
I have a DSL modem and a linksys router as well.
However, I would love to have this set up as well.
Can you please list in Step - By - Step fashion, as I am a newbie.

I would really appreciate it.
Thanks in Advance.
Kumar
Pages: [1]