Re: How to create package without source code

2016-07-27 Thread Tom Grace

On 27/07/2016 09:24, Hans wrote:

However, I did not quit understand. Can I add several files instead of a single
one? And will it preserve rights, as I set?
Yes, both these are possible - have a look at the Wiki for more examples 
https://github.com/jordansissel/fpm/wiki




Re: How to create package without source code

2016-07-27 Thread Tom Grace

On 27/07/2016 08:39, Hans wrote:

The file is just a script. I read in the dokus, and all told, they want to
compile somehow.

I imagine, to pack all the files with the correct user rights into a folder,
then pack it into maybe *.tgz and then change it somehow into a *.deb.

Maybe there is a more simple way und you might want to point me to it.


It's sort of cheating, and wouldn't allow you to upload to the Debian 
archive, but for personal/internal use something like FPM might work. 
See https://github.com/jordansissel/fpm/wiki/PackageSimpleFiles for an 
example.




Re: ThinkPad fan

2016-06-17 Thread Tom Grace

On 17/06/2016 10:58, Francesco Montanari wrote:

I recently installed Jessie on a Lenovo ThinkPad T420. The fan usage
looks reasonable. However, high temperatures (96 C) are reached when
CPUs are running intensively for more than one minute or so. The fan
speed at those temperatures is about 4500 rpm.
Back when I had a ThinkPad, I found it would shut itself down at around 
that temperature. I also found that 4500 RPM isn't exactly the highest 
speed the fan can run.


I wrote https://github.com/theothertom/thinkpad-temp_mon to control the 
fan and have it spin faster over 80C. Before you have a go, note that 
I've not touched that code in >4 years (and don't have a thinkpad any 
more), so it might take a bit of poking before it works.




Re: Suggestions? A small webserver for file upload

2014-09-24 Thread Tom Grace

On 24/09/14 14:53, Ron Leach wrote:

What package would list members suggest for a small webserver that would
enable co-workers to upload files to us?


For just the file-upload bit, FTP is probably your best option. You 
could set up a space for each of the users who need to upload files, and 
have a superuser to allow internal users access to everything.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/5422d345.1070...@deathbycomputers.co.uk



Re: Debian mirror analysis by release

2013-10-14 Thread Tom Grace

On 13/10/13 11:10, Andre Majorel wrote:

Is there a program out there that will scan a Debian mirror
(E.G. created by debmirror) and, for each file in it, list the
release(s) by which it's used ?


It's not quite what you want, but you can look in (for example)
ftp://ftp.debian.org/debian/dists/stable/main/binary-amd64/Packages.bz2

This lists every file used by the stable release on the mirror, and if 
required you could search through a collection of these files to find 
the release which uses a given file.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/525bb4c0.30...@deathbycomputers.co.uk



Re: Download speeds from your servers.

2013-10-02 Thread Tom Grace

On 02/10/13 03:42, Hakan Ozturk wrote:

Hi,
We are trying to find out what download and upload speeds your servers support. 
 Is there a place at your website where each server's download/upload capacity 
is documented?  What max. speeds should we expect to get when downloading an 
ISO file?


As far as I know, there's no central list of expected mirror speeds, 
though some mirrors have a bandwidth graph or similar (for example 
http://mirror.netcologne.de/ has one).


Generally your fastest mirror will be one hosted by your ISP or one in 
your country, though this may vary dependent on when their peak load is.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/524bf76d.1000...@deathbycomputers.co.uk



Re: Thinkpad T61 Critical temperature reached (103 C), shutting down

2013-08-13 Thread Tom Grace

On 13/08/13 13:19, Alphonse Ogulla wrote:

The system is going down for system halt NOW!

Regarding the canned air solution, is it a one-off job to clean out
the CPU heat sink or is it for a continuous circulation of air
directly over the heat sink?

It's for a one off, it gets the dust out from the fins of the heat sync 
and should improve cooling (until it gets dusty again).



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/520a4aa2.6080...@deathbycomputers.co.uk



Re: Thinkpad T61 Critical temperature reached (103 C), shutting down

2013-08-13 Thread Tom Grace

On 13/08/13 10:02, Alphonse Ogulla wrote:

After a lot of googling, I decided to tear down the laptop, expose the
cooling fan and give it a good vacuum job to get rid of any dust that
might have accumulated and was possibly interfering with the CPU
cooling.  I assembled all the pieces, rebooted and re-run the rsync
copy command which this time ran to completion without overheating.
You might want to try some canned air on the heatsync attached to the 
CPU fan, or making sure the laptop is near some aircon etc.



root@curiosity:~# echo "level disengaged" > /proc/acpi/ibm/fan
-bash: echo: write error: Invalid argument
root@curiosity:~# echo "level 7" > /proc/acpi/ibm/fan
-bash: echo: write error: Invalid argument

Did you first load the ibm acpi module with the fan_control argument ?
rmmod thinkpad_acpi
modprobe thinkpad_acpi fan_control=1

I had the same issue with my thinkpad, and wrote this [1] to work around 
it, though in the end canned air was the proper solution.


[1] https://github.com/theothertom/thinkpad-temp_mon


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/5209f91e.3010...@deathbycomputers.co.uk



Re: huawei e169 +asterisk

2013-04-16 Thread Tom Grace
On 16/04/13 19:04, binary wrote:
> thanks a lot for the answer.
> i have done a clean install of debian
> root@debPBX:/usr/src/chan_dongle-1.1.r14# uname -a
> Linux debPBX 2.6.32-5-486 #1 Mon Feb 25 00:22:26 UTC 2013 i586 GNU/Linux
> root@debPBX:/usr/src/chan_dongle-1.1.r14#
> 
> and i have taken from the beginning the instructions and it still fails.
> the only difference is that i am installing asterisk version 11.3
> what am i doing wrong?

I think the issue you are having is to do with building against a
different version of Asterisk. I'm not familiar enough with either
Asterisk or chan_dongle to say where the issue might be. It would
probably be better at this point to ask someone from the Asterisk
project, via IRC or mailing lists.

If you find an answer, it would be useful to reply, just for the benefit
of those that find this thread later.

Tom


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/516d9911.3040...@deathbycomputers.co.uk



Re: huawei e169 +asterisk

2013-04-16 Thread Tom Grace
On 16/04/13 13:54, binary dreamer wrote:
> i have tried all versions from r10 to r14 and i am getting the same problem.

I just tried, following the instructions on the page you linked with no
problems, other than a missing libxml building asterisk. My system is as
follows:
$ cat /etc/debian_version ; uname -a
6.0.6
Linux sf-squeeze-64 2.6.32-5-amd64 #1 SMP Sun Sep 23 10:07:46 UTC 2012
x86_64 GNU/Linux

The exact process I followed is:

sudo apt-get install linux-headers-`uname -r` gcc g++ make libnewt-dev
libncurses5-dev openssl libssl-dev zlib1g-dev libxml2-dev
wget
http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.6.2.13.tar.gz
tar zxvf asterisk-1.6.2.13.tar.gz
cd asterisk-1.6.2.13
make clean && ./configure --disable-xmldocs && make && sudo make install
&& sudo make config
cd ..
wget
http://asterisk-chan-dongle.googlecode.com/files/chan_dongle-1.1.r14.tgz
tar xvf chan_dongle-1.1.r14.tgz
cd chan_dongle-1.1.r14
./configure --enable-manager --enable-apps
make
sudo make install

I have not tried building against the Debian packaged versions of
Asterisk, and you may have more luck asking the developers of
asterisk-chan-dongle about it.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/516d74eb.1040...@deathbycomputers.co.uk



Re: huawei e169 +asterisk

2013-04-16 Thread Tom Grace
On 16/04/13 12:12, binary dreamer wrote:
> Sorry, my mistake. i forgot to mention the errors:
> 
> root@debPBX:/usr/src/dongle-read-only# automake -a
> configure.in:6: installing `./config.guess'
> configure.in:6: installing `./config.sub'
> configure.in:7: installing `./install-sh'
> configure.in:7: installing `./missing'
> automake: no `Makefile.am' found for any configure output
> root@debPBX:/usr/src/dongle-read-only#
> 

Did you try from a tarball, rather than SVN ? You might have an easier
time with that.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/516d3bfa.6070...@deathbycomputers.co.uk



Re: NEEDED: not quite current buisnesscard and netinst iso images

2013-03-11 Thread Tom Grace
On 11/03/13 11:39, Richard Owlett wrote:
> Pointer please. TIA

You could have a poke about at
http://cdimage.debian.org/mirror/cdimage/archive/

Failing that, you may be able to create a custom CD for your needs using
the DVD set you have as a starting point.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/513dc41f.3000...@deathbycomputers.co.uk



Re: Netgear Series N Router as Access Point Poisons our LAN.

2013-03-06 Thread Tom Grace
On 05/03/13 17:53, Martin McCormick wrote:
>   I turn off the AP. She stops and restarts WiFi on her
> phone and all is right with the world once again.
> 
>   By the way, you do not ever use the WAN port on the AP.
> Just plug a cable from the switch to one of the switch ports on
> the AP and the AP starts relaying the traffic on the LAN to
> WiFi.
> 

I would check the following, even if you've already tried (consumer
routers can be a little funky):
* Is DHCP really off ?
* Are both your WiFi boxes using different LAN IP addresses ?
* Can you reproduce the problem connecting to either box alone ?
* Can you reproduce the problem roaming between boxes ?
* Is either access point advertising IPv6 ?

You may also want to investigate DD-WRT or another alternative firmware
for your WiFi only router. This may give you greater control over the
network and stop these kind of problems.

Tom


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51371096.3080...@deathbycomputers.co.uk



Re: compress files

2013-02-19 Thread Tom Grace
On 19/02/13 14:24, tsit...@linuxmail.org wrote:
> any suggestions please?

Have a look at the output of "date --help", under the FORMAT section.
You want something like "date +%b" to get "Feb". You might also consider
naming the files year-numerical_month to make sorting easier later.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51238d7a.7070...@deathbycomputers.co.uk



Re: Local copy of ALL man pages

2013-01-05 Thread Tom Grace
First, sorry for top posting. 

Generally, manpages are available in the package they relate to, and I'm not 
aware of an easy way to get all of them. Might you be able to use something 
like httrack to take an offline copy of a web version of them ?

Sent from my iPad

On 5 Jan 2013, at 17:19, Richard Owlett  wrote:

> When I've wanted to look at a man page for an uninstalled package I've used 
> http://manpages.debian.net .
> It would more convenient to have *ALL* pages available locally.
> 
> Are they available to download as a set somewhere on the web? [I use squeeze.]
> 
> I have copied all the .deb files from the 8 DVD install set to a USB drive.  
> How could I extract all the man pages?
> 
> TIA
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject 
> of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/50e860a3.6030...@cloud85.net
> 


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/f6fc165b-e85c-4847-8944-24eb674f4...@deathbycomputers.co.uk



Re: Can Debian's paranoia be tamed

2012-11-22 Thread Tom Grace
On 22/11/12 18:06, Richard Owlett wrote:
> 
> Effectively that's what I want.
> BUT neither 'root' nor 'superuser' is recognized by Gnome login screen :<

Presuming you're using GDM, maybe this will help you out?
http://projects.gnome.org/gdm/docs/2.14/configuration.html#securitysection

You could even get it to auto login if you want.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50ae6c57.4070...@deathbycomputers.co.uk



Re: favicon.ico not showing in apache2

2012-11-14 Thread Tom Grace
On 14/11/12 11:53, Jorge wrote:
> 
> Same result in IE and FF browsers. It only works if I put the 
> code line and disable SSL.
> 

Are you hitting this?
https://blog.mozilla.org/ux/2012/06/site-identity-ui-updates/

I didn't check if IE has a similar thing.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50a38714.2070...@deathbycomputers.co.uk



Re: Custom Grub-install on a Floppy

2012-11-08 Thread Tom Grace
On 08/11/12 14:13, Martin McCormick wrote:
> Should this work?
Yes, it should be possible.
> Where are some linear English sentences that de mystify what we
> can get grub-install to do?
> 
I'm not sure about that, but you might have an easier time customizing
an existing cdrom chainloading floppy image.

I found http://schierlm.users.sourceforge.net/bootdisk/ and you might be
able to remove some functionality from it to get what you want.

Another (unrelated) thing to check is the condition of your CMOS
battery. You may find that you can replace that and solve the root problem.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/509bc1b0.9010...@deathbycomputers.co.uk



Re: Number of Debian packages available.

2012-10-16 Thread Tom Grace
On 16/10/12 11:30, Lisi wrote:
> Approximately, in round terms, how may packages are available in Debian 
> (Squeeze?)
> 
>From doing:
for i in main contrib non-free; do echo $i:; curl -s
ftp://ftp.debian.org/debian/dists/stable/$i/binary-amd64/Packages.bz2 |
bunzip2 -c | grep Package: | sort -u | wc -l ;done

I get:
main:
28128
contrib:
182
non-free:
383

All a bit unscientific, but it might suit your needs


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/507d3e97.1060...@deathbycomputers.co.uk



Re: More on port forwarding(ssh, netcat and amule!)

2012-10-11 Thread Tom Grace
On 11/10/12 09:53, houkensjtu wrote:
> It seems that, not only on the router, but also I should open a specific port 
> on my laptop, otherwise netcat will not be able to connect from outside my 
> home.
> 
> I wonder why this happens and what is the mechanism behind it.
> Is it possible to open a port in debian, without launch certain software so I 
> can netcat from outside to my home laptop?

You can have the port open in firewall terms, but if you don't have any
software listening on it you will receive "connection refused".




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50768f92.3000...@deathbycomputers.co.uk



Re: Outgoing firewall and CNAMES

2012-09-16 Thread Tom Grace
On 12/09/12 17:59, Lists wrote:
> I use an outgoing policy of deny on webservers, and allow explicitely
> what I need them to connect to.  This has never posed a problem, until
> today.  I need to allow a website to pull in a feed from another site,
> hosted on amazon's elastic cloud thingy.  The problem is, the DNS name
> is a CNAME to a CNAME to a CNAME, like:
> 
> How do you guys deal with this kind of problem?

Generally, I've seen this solved using a whitelisting proxy on another
machine, rather than by using iptables.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/505612ea.90...@deathbycomputers.co.uk



Re: Restoring partition table.

2012-08-31 Thread Tom Grace
On 31/08/12 17:13, Malcolm Reed wrote:
> 
> Hello,
> bad news for me - I lost partition table in my 1Tb hard drive. All what
> I have it's fdisk output of working drive:
> 
> Can I convert fdisk output to sfdisk dump? How to convert count of
> blocks to number of sectors for using with sfdisk? 
> What can I do in this situation?

I would use Testdisk (should be in the repos), rather than try to copy
the partition table from another disk. Have a look at
http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step#Partition_table_recovery
for some ideas.

As ever with this stuff, be really careful that the partitions are
correct before writing anything to the disk.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5040ea67.2010...@deathbycomputers.co.uk



Re: IPSec Point to Point Tunnel Has Double Latency in One Direction

2012-08-29 Thread Tom Grace
On 28/08/12 16:19, Chris Dos wrote:
> 
> I can find no reason why this is occurring.  Anyone have any ideas why this 
> is happening?
>

Do you get anything helpful from traceroute/mtr ?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/503e2e8f.5020...@deathbycomputers.co.uk



Re: .htaccess , how to bypass authentication for specific IPs ?

2012-08-13 Thread Tom Grace
On 13/08/12 16:55, Camaleón wrote:

>> You need "Order allow,deny". See
>> http://httpd.apache.org/docs/2.0/mod/mod_access.html#order for details.
> 
> The order is consistent with the samples given in the link I sent before 
> but how is that altering the "Allow from" stanza?

The .htaccess J.B. provided has "Order deny,allow", they need to be the
other way around.


Sorry if I'd be quoting a little oddly, I joined in with this thread a
bit late on

Tom


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5029343c.1010...@deathbycomputers.co.uk



Re: .htaccess , how to bypass authentication for specific IPs ?

2012-08-13 Thread Tom Grace
On 13/08/12 16:25, Camaleón wrote:
> On Mon, 13 Aug 2012 10:40:51 +0530, J. B wrote:
> 
>> I have the following in my .htaccess to force the authentication
>>
>> []
>> AuthName "htaccess password prompt"
>> AuthUserFile /home/askapache.com/.htpasswd AuthType Basic
>> Require valid-user
>> [...]
>>
>> Now I like some IPs to bypass the authentication. Hence I have modified
>> the rule as
>>
>> [...]
>> Order deny,allow
>> Deny from all
>> AuthName "htaccess password prompt"
>> AuthUserFile /home/askapache.com/.htpasswd AuthType Basic
>> Require valid-user
>> Allow from 172.17.10.1
>> Satisfy Any
>> []
>>
>> But it just allow all IPs to bypass the authentication. IS there any
>> wrong code in the rule set ? The apache version is -  [ Server version:
>> Apache/2.2.16 (Debian) ]

You need "Order allow,deny". See
http://httpd.apache.org/docs/2.0/mod/mod_access.html#order for details.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50291d96.3030...@deathbycomputers.co.uk



Re: ot: file sharing other than yousendit, or sendspace?

2012-08-12 Thread Tom Grace
On 12/08/12 11:16, Curt wrote:
> On 2012-08-12, Karen Lewellen  wrote:
>> Hi all,
>> I am sort of in a hurry, need to send two small files.  While the y 
>> might normally go via email, google will not let them through because they 
>> are program files.
> 
> Upload the files to google docs (drive), which will accept any type of
> file, even executables, then share it with your loved ones.
Or put them in a password protected zip file


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/502782f6.8040...@deathbycomputers.co.uk



Re: buffer bloat or Squid issue ?

2012-06-29 Thread Tom Grace
On 29/06/12 14:15, Muhammad Yousuf Khan wrote:
> i have done some test and here are some details and results
> 
>  i am using two machine
> 
> 1, Gateway IPcop (linux)
> 2. Debian lenny (squid)
> 
> i am using download manager to download a 50MB file.
> 
> IPCOP
> ---
> when i do it VIA IPCOP my download  burst rate up to 270 KB
> not ping delay and other can also brows easily.
> 
> Squid on Lenny
> 
> 
> VIA SQuid (proxy mode) my download reach 365 which is full throughput
> and faster then IPCOP but
> ping delay reach 4000 which is considered almost near to death.
> 
> and no other users can browse and getting time out message on there browser.
> 
> 
> i think this shows that issue is with squid box and i don't know
> weather i have to tweak the squid or TCP buffer or anything
You may want to throttle the connection in Squid. It seems like the
connection is saturated, though under normal circumstances it that
wouldn't cause the level of trouble that you are seeing. It might be
worth investigating the settings on the IPCOP box.
Your theory about buffers could well be correct, but probably the
simplest thing to do is limit the maximum speed to around 95% of the
available bandwidth (may require some experimentation).



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4fedc297.7080...@deathbycomputers.co.uk



Re: Wheezy: VLC player weirdness

2012-05-14 Thread Tom Grace
On 14/05/12 10:04, T Elcor wrote:
> Hi,
> 
> For some reason VLC player refuses to play video files. It starts up, shows 
> the first frame of the video but doesn't play it further. 
> 
> Any ideas? Thanks
> 
You may want to try running vlc from a terminal and seeing if you get
any useful output.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4fb0d618.3060...@deathbycomputers.co.uk



Re: Graphical app on startup

2012-04-11 Thread Tom Grace
On 11/04/12 12:11, Antonio Fernández Pérez wrote:
> Hi again, 
> 
> Ok. 
> 
> Now, I have clear why I didn't get launch Java app. I don't know if I
> have to use GNOME Desktop or whatever because, in text mode, if I try
> launch fvwm, appears an error about display. 
You will need to start X before you can use FVWM. I would suggest doing
this with a display manager (such as SLiM, GDM, XDM etc.).
> 
> So, I should to install a Debian in text mode, configure LAN and after
> that, Debian ¿with or without desktop? I think that without desktop (the
> idea is to have a small system running with some application like java
> virtual machine and my java app), after that,  what I should to do?
> Should I to Configure vwfm with the article?

First I would get a display manager working so you can log into an X
session. SLiM is pretty simple and lightweight. Once you log in, the
user's ~/.xinitrc file will be used to load a window manager. Have a
look at the following to give you some pointers for what you are trying
to do:
https://wiki.archlinux.org/index.php/SLiM#Single_environments
https://wiki.archlinux.org/index.php/SLiM#Autologin

Both of these are the same article, but those are the bits you mostly need.

Tom

> 
> Thanks again.
> 
> Best regards, 
> 
> Antonio.
> 
> El 11 de abril de 2012 12:46, Tom Grace  <mailto:t...@deathbycomputers.co.uk>> escribió:
> 
> On 11/04/12 11:44, Antonio Fernández Pérez wrote:
> > I have followed it, but in some step I can't get launch a java app.
> > Also, I don't know what window manager I should to use, I think that a
> > minimal window manager...
> 
> In the article, the author mentions using FVWM as the window manager.
> You might also consider running your Java app in a terminal for testing
> so you can see any diagnostic output that you get.
> 
> 
> 
> 
> -- 
> 
> *Antonio Manuel Fernández Pérez*
> 
> Ingeniero Técnico Informático
> 
> Dpto. Informático Fabergames S.L.
> 
> TLF:96626 / FAX:966551801
> 
> www.fabergames.com <http://www.fabergames.com/>
> Fabergames respeta su privacidad
> <http://www.fabergames.com/index.php/component/content/article/57/1-politica-de-privacidad>
> 
> * * * ADVERTENCIA LEGAL * * *
> 
> Le informamos, como destinatario de este mensaje, que el correo
> electrónico y las comunicaciones por medio de Internet no permiten
> asegurar ni garantizar la confidencialidad de los mensajes transmitidos,
> así como tampoco su integridad o su correcta recepción, por lo que
> FABERGAMES S.L. no asume responsabilidad alguna por tales
> circunstancias. Si no consintiese en la utilización del correo
> electrónico o de las comunicaciones vía Internet le rogamos nos lo
> comunique y ponga en nuestro conocimiento de manera inmediata. Este
> mensaje va dirigido, de manera exclusiva, a su destinatario y contiene
> información confidencial y sujeta al secreto profesional, cuya
> divulgación no está permitida por la ley. En caso de haber recibido este
> mensaje por error, le rogamos que, de forma inmediata, nos lo comunique
> mediante correo electrónico remitido a nuestra atención o a través del
> teléfono (+ 34) 966 26 11 11 y proceda a su eliminación, así como a la
> de cualquier documento adjunto al mismo. Asimismo, le comunicamos que la
> distribución, copia o utilización de este mensaje, o de cualquier
> documento adjunto al mismo, cualquiera que fuera su finalidad, están
> prohibidas por la ley.
> 
> 
> 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f857254.9010...@deathbycomputers.co.uk



Re: Graphical app on startup

2012-04-11 Thread Tom Grace
On 11/04/12 11:44, Antonio Fernández Pérez wrote:
> I have followed it, but in some step I can't get launch a java app.
> Also, I don't know what window manager I should to use, I think that a
> minimal window manager... 

In the article, the author mentions using FVWM as the window manager.
You might also consider running your Java app in a terminal for testing
so you can see any diagnostic output that you get.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f856120.1090...@deathbycomputers.co.uk



Re: Graphical app on startup

2012-04-11 Thread Tom Grace
On 11/04/12 10:46, Antonio Fernández Pérez wrote:
> Please, anybody could help me? give me some howto that works or
> something to follow.
The article Chris Bannister linked looks to cover everything you'd need,
how far did you get before you hit trouble ?

> 2012/4/7 Chris Bannister  > 
> Start here:
> http://linuxgazette.net/128/adam1.html


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f8556b3.9050...@deathbycomputers.co.uk



Re: help needed with initial use of IrDa and LIRC

2012-03-16 Thread Tom Grace
On 16/03/12 14:59, kei...@strucktower.com wrote:
> I have never used IR before, and I thought I'd try to use it on my old
> Dell laptop. I simply want to be able to invoke commands using an
> arbitrary remote.
> 
> I'm confused as to whether I should use IrDa or LIRC, or both. The man
> pages and other docs I've read don't discuss the difference/relationship
> between IrDa and LIRC.
> 
It's been a while since I looked into this, so someone might prove me
wrong but as I understand it IrDA and general remote-control type IR are
different and incompatible. IrDA on a laptop is (as far as a PC in
concerned) a serial port, while an IR sender/receiver is a generic device.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f635ce4.9000...@deathbycomputers.co.uk



Re: separate user per website?

2011-06-13 Thread Tom Grace
 Lars Nielsen wrote:
> I am running my own server with lenny, apache and php. Now I have
> several websites that only I are going to update. Is it fine to run
> those under the same userlogin and use virtualhosts or should I create a
> separate user for each website?
> Is it posible to maintain a secure server using a single user with
> several websites?

It is possible, though it's kinda down to how much you trust the code
for each site. Running each under it's own user (using suPHP or similar)
does limit damage if one of the sites turns out to be insecure.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4df623b9.1010...@deathbycomputers.co.uk



Re: Debian Questions on apt-get

2011-06-06 Thread Tom Grace
On 06/06/2011 05:15 PM, Darac Marjal wrote:
> On Mon, Jun 06, 2011 at 11:03:36AM -0500, Matt wrote:
>> Now on Centos when I do 'yum update' after a fresh install I usually
>> get offered a good number of patches etc.  When I do 'apt-get update'
>> I seem to get nothing.
> 
> Is your sources.list now empty? 

Or did you install from a netinstall CD ? That'll pull the latest
updates during the install process itself.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4decfde9.7090...@deathbycomputers.co.uk



Re: ia64 and i386

2011-05-24 Thread Tom Grace
On 24/05/11 16:18, J.Hwan.Kim wrote:
> If the CPU core is i5, what package should be installed ia64 or i386?
You should be able to choose between amd64 and i386. Depending on what
you want to use the system for, i386 may suit you better than amd64.
ia64 is a different thing and won't work on the i5.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ddbcced.10...@deathbycomputers.co.uk



Re: first mkdir takes a long time (on ext3)

2011-05-19 Thread Tom Grace

On 19/05/11 17:01, Hartmut Niemann wrote:

I observe that it often takes very long time (20s) to mkdir on an ext3 drive,
especially the first directory.
What could the reason be?

If this is a data drive, has it been spun down to save power ?
Do other operations like reading a non-cached file, creating new files 
etc. take similarly long ?



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4dd5417c.10...@deathbycomputers.co.uk



Re: gnome-screensaver does not fade out

2011-05-16 Thread Tom Grace

On 15/05/11 23:02, Maroš Žilka wrote:

My problem is when i am inactive for some time screensaver
lock the screen without fade out so i can not stop it.


I'm not sure if I can help with the lack of fading, but as a work around 
the following may help:

Run gconf-editor and add a delay to apps -> gnome-screensaver -> lock_delay


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4dd0eaf5.5090...@deathbycomputers.co.uk



Re: unable to apt-get an older system

2011-05-10 Thread Tom Grace

On 10/05/11 16:50, Jim Pazarena wrote:

I have a debian based appliance which is running 2.6.16.62, I am unsure
how to
determine debian version.

You may have some luck with:
cat /etc/debian_version
or
cat /etc/lsb-release


Is there a way around this? Other than a full update, which isn't possible
because the appliance runs a canned program which would likely choke on
a full upgrade.
I'm thinking the problem *might* be that you are running an old release, 
but have "stable" in sources.list.
If you find the release you have installed, you may have more luck using 
http://archive.debian.org/ in your sources.list.


Tom


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4dc96b15.8000...@deathbycomputers.co.uk



Re: Disk Space Issues

2011-05-09 Thread Tom Grace

On 09/05/11 09:48, Daniel Linux wrote:

What you would do after you found a full filesystem? It is just a
general question that was asked in my class of operating systems and
nobody had an answer.


It all depends on context, you'll need to add a little more detail. For 
instance:
As an administrator, you'd probably go find big files and go shout at 
their creator.

As an application developer, you'd need to gracefully handle the error.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4dc7acca.1020...@deathbycomputers.co.uk



Re: Disk Space Issues

2011-05-09 Thread Tom Grace

On 09/05/11 09:40, Daniel Linux wrote:

Yes, I need generic steps. After running   df -h   I know what
filesystem is almost full. What should I do?
du -h /fullfilesystem is a good start, possibly with --max-depth to 
limit the output.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4dc7a947.9020...@deathbycomputers.co.uk



Re: configuration management

2011-05-06 Thread Tom Grace

On 07/05/11 00:56, shawn wilson wrote:

i'd prefer the system have some sort of ajax, soap, xml, syslog, or
snmp v3 output (in order of preference - can ya tell how i feel about
snmp?). but, i suppose i can parse and spit out pretty much any output
if need be.


What information are you looking to get from the output of a config run ?
IMHO, if you are using configuration management software the process 
should be kinda as follows:
Have a method of creating consistent base installs (for Debian, probably 
preseed).

Create clean machine based on that.
Run configuration management tool.
Profit.

btw, if i could take lvm, zfs, and virtualbox snapshots with whatever
software i use, that would be cool too :)
Again, my opinion, but there should be no need to take snapshots of the 
result of running any config management tool, as the canonical version 
of your boxes can be created using said tool



comments? suggestions?
I'm mostly familiar with Puppet, and use it extensively. Something I've 
found is that your first couple of attempts will probably not be ideal. 
A large part of the config management puzzle is getting your 
abstractions in the right place.
For example, it is fairly easy to copy /etc into file resources in 
Puppet and push them to several machines. Ideally, there should be as 
little machine specific configuration as possible.


Kinda like this:

httpd_config => {
'MPM' => 'prefork',
'StartServers' => '10',
'MinSpareServers' => '15',
'MaxSpareServers' => '25',
'ServerLimit' => '256',
'MaxClients' => '256',
'MaxRequestsPerChild' => '4000',
'Port' => '8000'
}

and using variables to put those values into config files and overriding 
as appropriate rather than having multiple versions of files.



Hope that gives you a couple of pointers.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4dc497ce.7080...@deathbycomputers.co.uk



Re: Managing large numbers (100+) of Debian-based machines

2011-04-07 Thread Tom Grace

On 07/04/11 20:01, Peter Beck wrote:


what about puppet ? Anyone made experience with puppet on debian ?
I do lots of Puppet on Debian, and it's a good way to get consistent 
machines. Not sure it's the right thing for the OP, I got the impression 
that they were just after I way of making sure all the boxes were updated.


If it's just updates, something like cron-apt might be the best thing. 
If it's managing the whole machine, Puppet/Cfengine is the way to go 
(though there is a learning curve).



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4d9e1a2e.3000...@deathbycomputers.co.uk



Re: Problem with time command

2011-04-05 Thread Tom Grace

On 05/04/11 17:40, Fabio Dellacorte wrote:

Hello everybody ,
i want use option for time command but it doesn't work because 
 intepreted anything as argument :

You may have better luck with the standalone "time"
$ /usr/bin/time --version
GNU time 1.7



$time --version
bash: --version: command not found


Thank you




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4d9b46a4.3030...@deathbycomputers.co.uk