Re: working with windows larger than screen

2007-02-27 Thread csanyipal
Hi!

On Mon, Feb 26, 2007 at 05:57:05PM -0500, Kamaraju S Kusumanchi wrote:
> Can anyone recommend a window manager or a desktop environment which
> efficiently handles windows that are larger than physical size of screen?
> 
> any ideas?

I use Window Maker. Here, if the opened window is larger then the 
desktop, I can use Left_Alt + the left mouse button to move this 
window around.

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Installing Debian Etch on hw RAID 1 on nvidia nForce 430i

2007-07-06 Thread csanyipal
Hello!

I want to install Debian Etch on my new box with motherboard that has for 
the storage the nvidia nForce 430i chipset. This chipset support RAID 
1 configuration.

I want to install Etch on two SATA disk with the hardware RAID 1 
setup.

I setup in the BIOS the RAID 1 for these disks. I have only these two 
disks (2 x 320 GB) in the box.

I want to use the downloaded debian-40r0-i386-CD-1.iso for this 
installation.

Will Etch recognize the RAID 1 BIOS setup during the installation?

I find on the internet documentation about hardware RAID [1] but can't 
find in there description about installing a GNU/Linux system on hw 
RAID 1 out there.

Can I install Etch on this nvidia hardware RAID 1, or perhaps should I 
to install Etch with software RAID 1 on these two SATA disk?

Any advices will be appreciated!

[1] http://www.ram.org/computing/linux/dpt_raid.html

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



apach2 behind firewall

2007-07-16 Thread csanyipal
Hello!

I have apache2 behind a firewall. I want to setup firewall so, that one 
can it reach from the internet.

I red the documentations:
Linux 2.4 Packet Filtering HOWTO from Rusty Russell
Linux 2.4 NAT HOWTO from Rusty Russell
man iptables
Setting up a simple Debian gateway 

etc.

I setup my firewall-gateway so I can: 
to browse the internet, from the box behind firewall,
to use ekiga, gaim,
but one can't to reach my apache2 server on that box behind firewall.

I have a public IP, a registered domain name: csanyi-pal.info.

The iptables rules in iptables-save file on firewall are:
>
# Generated by iptables-save v1.3.6 on Mon Jul 16 15:18:29 2007
*mangle
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
COMMIT
# Completed on Mon Jul 16 15:18:29 2007
# Generated by iptables-save v1.3.6 on Mon Jul 16 15:18:29 2007
*nat
:PREROUTING ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A POSTROUTING -o ppp0 -j MASQUERADE
COMMIT
# Completed on Mon Jul 16 15:18:29 2007
# Generated by iptables-save v1.3.6 on Mon Jul 16 15:18:29 2007
*filter
:INPUT DROP [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -i lo -j ACCEPT 
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT 
-A INPUT -i ! ppp0 -m state --state NEW -j ACCEPT 
-A INPUT -i ppp0 -p tcp -m tcp --dport 80 -j ACCEPT 
-A INPUT -i ppp0 -p udp -m udp --dport 80 -j ACCEPT 
-A INPUT -i ppp0 -p tcp -m tcp --dport 25 -j ACCEPT 
-A INPUT -i ppp0 -p udp -m udp --dport 25 -j ACCEPT 
-A INPUT -i ppp0 -p udp -m udp --dport 5060 -j ACCEPT 
-A FORWARD -i ppp0 -o eth1 -m state --state RELATED,ESTABLISHED -j 
ACCEPT 
-A FORWARD -i eth1 -o ppp0 -j ACCEPT 
-A FORWARD -i ppp0 -o ppp0 -j REJECT --reject-with 
icmp-port-unreachable 
COMMIT
# Completed on Mon Jul 16 15:18:29 2007
<

My ISP has a weird setup; to connect to ISP, I must use pptp-linux, and 
iproute:
interfaces:
--->
auto eth0 sks-tunnel

iface eth0 inet dhcp

iface sks-tunnel inet ppp
provider sks-tunnel
up /etc/network/ip-up
down /etc/network/ip-down

# connection to LAN

auto eth1

iface eth1 inet static
address 192.168.1.1
netmask 255.255.255.0
---<

ip-up file:
--->
#!/bin/sh

echo "Wait 10 seconds to ppp0 getting up.."
sleep 10

ip route add 192.168.16.1 via 192.168.70.1 dev eth0
ip route replace default dev ppp0

echo "Set up the firewall."
iptables-restore < /etc/network/IPTABLES_rules

# set up forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward
---<

My question is: how to set up the DNAT with iptables in my case, so one 
can to reach my apache2 server behind the firewall?

Any advices will be appreciated!

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Add hardware to an existing system

2006-12-15 Thread csanyipal
On Fri, Dec 15, 2006 at 05:14:27PM +, kevin bailey wrote:
> 
> Now I take it that during installation the hardware was detected and the
> various modules were selected and loaded.  How to I tell the system to load
> the new modules required?

Compile the new kernel with support for that new hardwear.

-- 
Regards, Paul Csányi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



icewm & nautilus

2006-12-18 Thread csanyipal
Hello!

I installed on an old Toshiba laptop the Debian Etch system.

The windowmanager is icewm and I want to use the nautilus with it.

I try to edit the ~/.xinitrc :
exec /usr/X11R6/bin/icewm
exec /usr/X11R6/bin/nautilus

I make .xinitrc executable.

Still the nautilus want not to run automatically after I login from the 
gdm. 

What is the solution?

I will appreciate any advices!

-- 
Regards, Paul Csányi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



On Etch can't to remove a broken package

2007-01-03 Thread csanyipal
Hello!

On Etch I have installed a package: ltmodem-2.6.8-2-386 that I 
have been downloaded. This installation wasn't success.

After that this package came to be broken.

If I try to remove this package, I get an error message:

-->
(Reading database ... 60952 files and directories currently installed.)
Removing ltmodem-2.6.8-2-386 ...
find: warning: you have specified the -mindepth option after a
non-option argument -name, but options are not positional \
 (-mindepth affects tests specified before it as well as those \
 specified  after it).  Please specify options before other \
 arguments. 

find: warning: you have specified the -maxdepth option after a
non-option argument -name, but options are not positional \
 (-maxdepth affects tests specified before it as well as \
 those specified after it).  Please specify options before \ 
 other arguments.

Could not identify your distribution's way of automatically \
 loading modules, Exiting.
 
dpkg: error processing ltmodem-2.6.8-2-386 (--remove):
 subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
 ltmodem-2.6.8-2-386
E: Sub-process /usr/bin/dpkg returned an error code (1)
--<

What can I do to solve this problem?

I appreciate any advices.

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: On Etch can't to remove a broken package - Solved

2007-01-03 Thread csanyipal
Hello!

On Wed, Jan 03, 2007 at 08:15:44PM +0100, Florian Kulzer wrote:


> I think you can trick the script by creating a small dummy file which
> looks like it was generated during the ltmodem installation. The postrm
> script can then remove this dummy file and it will be happy that it did
> its job. Make sure that /etc/modprobe.d/ltmodem does not exist and run
> (as root)
> 
> echo "# lt_serial" > /etc/modprobe.d/ltmodem
> 
> I would expect that you can remove the package normally after you do
> this.

I did it, and I can now to remove the package. Thanks!

However I get the error messages:

> > -->
> > (Reading database ... 60952 files and directories currently installed.)
> > Removing ltmodem-2.6.8-2-386 ...
> > find: warning: you have specified the -mindepth option after a
> > non-option argument -name, but options are not positional \
> >  (-mindepth affects tests specified before it as well as those \
> >  specified  after it).  Please specify options before other \
> >  arguments. 
> > 
> > find: warning: you have specified the -maxdepth option after a
> > non-option argument -name, but options are not positional \
> >  (-maxdepth affects tests specified before it as well as \
> >  those specified after it).  Please specify options before \ 
> >  other arguments.
> > --<

Is it a problem?

I can now to install other packages with no problems.

-- 
Regards, Paul Csányi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



xcdroast Invalid readcd version -unknown- found

2007-01-07 Thread csanyipal
Hello!

I upgraded from Sarge to Etch. :)

Now I try to run Xcdroast (from an xterm), but get an error message:

-->
** (xcdroast:9724): WARNING **: Invalid readcd version -unknown- found.
Expecting at least version 1.1.0
Start xcdroast with the -n option to override (not recommended!)
--<

apt-cache search readcd don't give me a result.

What can I do to solve this problem?

I appreciate any advices!

-- 
Regards, Paul Csányi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: xcdroast Invalid readcd version -unknown- found

2007-01-08 Thread csanyipal
On Mon, Jan 08, 2007 at 10:41:54AM +0100, Sven Arvidsson wrote:

> > -->
> > ** (xcdroast:9724): WARNING **: Invalid readcd version -unknown- found.
> > Expecting at least version 1.1.0
> > Start xcdroast with the -n option to override (not recommended!)
> > --<
> 
> Sounds like there are still a few problems with the transition from
> cdrecord to wodim. Xcdroast should use readom (in the wodim package)
> instead of readcd. Please file a bug report.

Sorry, but how can I fill a bug report easily?

> As a temporary work around, install the cdrecord dummy package and see
> if that makes Xcdroast happy.

It was installed cdrecord dummy package but still get the abowe error 
message.

-- 
Regards, Paul Csányi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



set up Etch to unicode

2007-01-08 Thread csanyipal
Hello!

I upgraded the system from Sarge to Etch.

Now, I want to setup the X Window system to unicode.

How can I do that?

There on Etch isn't there the localeconf package.


Any advices will be appreciated!

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



set up Etch to unicode

2007-01-08 Thread csanyipal
Hello!

I upgraded the system from Sarge to Etch.

Now, I want to setup the X Window system to unicode.

How can I do that?

There on Etch isn't there the localeconf package.


Any advices will be appreciated!

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: set up Etch to unicode

2007-01-08 Thread csanyipal
On Mon, Jan 08, 2007 at 03:54:26PM -0500, Kevin Mark wrote:
> On Mon, Jan 08, 2007 at 08:31:35PM +0100, csanyipal wrote:

> > I upgraded the system from Sarge to Etch.
> > 
> > Now, I want to setup the X Window system to unicode.
> > 
> > How can I do that?
> > 
> > There on Etch isn't there the localeconf package.

> This[0] may be of some help.

> [0] http://packages.debian.org/unstable/misc/utf8-migration-tool

OK I installed utf8-migration-tool, but how can I use it?

No man page is here. Try to locate utf-8, but can't find any 
utf8-migration-tool.

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: set up Etch to unicode

2007-01-09 Thread csanyipal
Hello Roberto!

On Mon, Jan 08, 2007 at 06:50:02PM -0500, Roberto C. Sanchez wrote:
> On Mon, Jan 08, 2007 at 11:19:51PM +0100, csanyipal wrote:
> > 
> > OK I installed utf8-migration-tool, but how can I use it?
> > 
> > No man page is here. Try to locate utf-8, but can't find any 
> > utf8-migration-tool.
> > 
> If you run `dpkg -L utf8-migration-tool |grep bin`, it will tell you
> what binary or executable files are in the package.

That works. Thanks!

$  utf8migrationtool
Traceback (most recent call last):
  File "/usr/bin/utf8migrationtool", line 91, in change_setup
os.rename(oldfile, newfile)
OSError: [Errno 2] Nincs ilyen fájl vagy könyvtár

that is: No such file or directory.

All right, that's OK, because utf8migrationtool find just few file with 
latin-2 filename. 

But I don't know the meaning of this error message?

I have installed renameutils and mrename.

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: set up Etch to unicode

2007-01-09 Thread csanyipal
On Tue, Jan 09, 2007 at 10:10:42AM -0600, Matt Zagrabelny wrote:
> On Mon, 2007-01-08 at 20:16 +0100, csanyipal wrote:
> > 
> > I upgraded the system from Sarge to Etch.
> > 
> > Now, I want to setup the X Window system to unicode.
> 
> are you talking about X applications or simply an xterm (or equivalent)?

I was thinking about that that there in Etch must to be an application 
that can use to set up the system to unicode. It was my mistake.

> have you searched yet?
> 
> google: utf debian
> google: utf linux

No, I haven't. But now the applications in X Window works fine with 
unicode, I think because I used the tool utf8migrationtool.

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



When login, get error: configuration error - unknown item 'FAIL_DELAY' (notify administrator)

2007-01-10 Thread csanyipal
Hello!

I upgraded my Debian system from Sarge to Etch.

After that, whenever I login, get the error messages on Vterm:
->
configuration error - unknown item 'FAIL_DELAY' (notify administrator)
configuration error - unknown item 'QUOTAS_ENAB' (notify administrator)
configuration error - unknown item 'NOLOGIN_STR' (notify administrator)
configuration error - unknown item 'ENV_HZ' (notify administrator)
configuration error - unknown item 'PASS_MAX_LEN' (notify administrator)
configuration error - unknown item 'CHFN_AUTH' (notify administrator)
configuration error - unknown item 'CLOSE_SESSIONS' (notify administrator)
-<

These error messafes can I find too in 
syslog:
.. login: unknown configuration item `FAIL_DELAY'
.. login: unknown configuration item `QUOTAS_ENAB'
.. login: unknown configuration item `NOLOGIN_STR'
.. login: unknown configuration item `ENV_HZ'
.. login: unknown configuration item `PASS_MAX_LEN'
.. login: unknown configuration item `CHFN_AUTH'
.. login: unknown configuration item `CLOSE_SESSIONS'

and in
user.log too:
.. login: unknown configuration item `FAIL_DELAY'
.. login: unknown configuration item `QUOTAS_ENAB'
.. login: unknown configuration item `NOLOGIN_STR'
.. login: unknown configuration item `ENV_HZ'
.. login: unknown configuration item `PASS_MAX_LEN'
.. login: unknown configuration item `CHFN_AUTH'
.. login: unknown configuration item `CLOSE_SESSIONS'


What is this, and how can I resolvee it?

I will appreciate any advices!

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: When login, get error: configuration error - unknown item 'FAIL_DELAY' (notify administrator)

2007-01-10 Thread csanyipal
On Wed, Jan 10, 2007 at 07:55:35AM -0800, Andrew Sackville-West wrote:
> On Wed, Jan 10, 2007 at 03:24:46PM +0100, csanyipal wrote:

> > .. login: unknown configuration item `CLOSE_SESSIONS'
> 
> -^
> crucial information, IMO. I would check /etc/login.defs, in sid its
> full of comments about variables being moved and then going away. I
> didn't see any of these specifically, but maybe its a clue. 

I edit /etc/login.defs now, and comment those lines with these 
variables - put '#' in front of the line whit these variables. 
Than I log out from Vterm and login back on it.

The error messages gone.

I don't know about these variables, and I ask you that, is this 
solution abowe OK for security reason?

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



monodevelop in Etch

2007-01-22 Thread csanyipal
Hello!

I run Etch and want to use the mono on it.

I can't to find monodevelop for Etch.

Will there be monodevelop in etch?

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



monodevelop in Etch

2007-01-22 Thread csanyipal
Hello!

I run Etch and want to use the mono on it.

I can't to find monodevelop for Etch.

Will there be monodevelop in etch?

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



How can I know whether my Etch system isn't broken?

2007-02-09 Thread csanyipal
Hello!

I have dist upgraded from Sarge to Etch since a 1-2 month.
I use Synaptic for this and to installing packages.

Now I think that that maybe my system is broken, because of some bugs 
that I find in emacs21.

When I find bug in emacs21 and jde that I try to use with emacs21, I 
report bug with reportbug. Then I purged emacs21 and try to reinstall 
with synaptic, but can't to do that. So I try this a few times and then 
success the installation of emacs21. One of the maintainer of emacs21 
wrote to me that that my system is maybe broken.

Synaptic says no broken package.

How can I know whether my system is broken, or isn't?

I appreciate any advices!

-- 
Regards, Paul Csányi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: printing jpeg images A4 size

2007-02-13 Thread csanyipal
On Tue, Feb 13, 2007 at 11:12:47AM -0600, Hugo Vanwoerkom wrote:

> >Anybody know how to make a jpeg image fill the entire printed page and 
> >print it as such?
> >
> 
> I manage it in a ridiculous way: I display them with:
> http://packages.debian.org/unstable/web/wordpress
> 
> and adjust the size of the image to fit a printed page and when done so, 
> print.

I use gThumb to print images (jpg, etc.) on A4 paperformat.

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: plase help me install printer debian-sarge

2007-02-14 Thread csanyipal
On Wed, Feb 14, 2007 at 10:12:30AM +0100, Johannes Wiedersich wrote:
> Tuani Panggabean wrote:
> > plase help me install printer debian-sarge. 
> > speck printer Hp laser-jet 1320 
> > posision printer : ipaddress 192.168.10.9)
> > thanks
> 
> If you really need help on this you should consider taking some of the
> advice from
> http://www.catb.org/~esr/faqs/smart-questions.html
> and try to ask your question in a smart way.
> 
> Before you do so, you should take some effort to find a solution
> yourself by googling and reading the manuals. There will be someone to
> help you, if you provide better information of what you tried yourself
> in order to get your printer working and why it failed.

Try to find out whether your printer is supported, here:
http://www.linux-foundation.org/en/OpenPrinting

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: monodevelop in Etch - Success!

2007-02-15 Thread csanyipal
On Wed, Feb 14, 2007 at 09:44:14PM +0100, kfitzgeralald wrote:
> 
> I wrote a how-to guide a couple of days ago for exactly this:
> 
> http://kevinfitzgerald.net/sto/monodevelop-debian-etch.html
> 
> Hope this helps,

Yes, I install successfully the monodevelop package using this guide. 
Thanks!

I can add only a note to this guide: the monodevelop depend of the 
metacity package too:

# LANG=C dpkg -i monodevelop_0.12+dfsg-1_all.deb
(Reading database ... 156253 files and directories currently 
installed.)
Preparing to replace monodevelop 0.12+dfsg-1 (using 
monodevelop_0.12+dfsg-1_all.deb) ...
Unpacking replacement monodevelop ...
dpkg: dependency problems prevent configuration of monodevelop:
 monodevelop depends on metacity; however:
  Package metacity is not installed.
dpkg: error processing monodevelop (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 monodevelop


After I installed the metacity, I can install the monodevelop. :)

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Which one package serve to build debian package from CVS source?

2007-02-16 Thread csanyipal
Hello!

There was for this pourpose the checkinstall on Sarge, but now, on 
Etch, which one package serve for this pourpose out there?

If I download some source from one CVS, then can I use dh-make to 
convert it into a format that will allow me to build Debian packages, 
right?

But then, how can I build a debian package?

Or, can I use cvs-buildpackage to build a debian package from any CVS?

Any advices will be appreciated!

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: system-dependent variables - One of the solutions

2006-08-22 Thread csanyipal
Hello!

One of the solutions is that that must to reinstall Debian system. I 
did it.

I will never install again from source without checkinstall, I hope so.

-- 
Regards, Paul Csányi
http://csanyipal.info/moodle  <<<---  Moodle - Course Management System


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



apache2-doc - The requested URL /manual/ was not found on this server.

2006-08-30 Thread csanyipal
Hello!

I just installed apache2 & apache2-doc on Sarge.

I don't put yet any index.html file in the apache2-default/ directory, 
so there one can see the apache2 initial page out there.

On that page is the link to manual  & 
when I klick on it, I should to see the manual page, am I right?

But I get the error message:
"The requested URL /manual/ was not found on this server."

So, please, to explain to me someone, what should I to do, to see the 
manual page for apache2?

I will appreciate any advices!

-- 
Regards, Paul Csányi
http://csanyipal.info/moodle  <<<---  Moodle - Course Management System


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: apache2-doc - The requested URL /manual/ was not found on this server. - OK

2006-08-30 Thread csanyipal
On Wed, Aug 30, 2006 at 04:17:27PM +0200, Guillaume wrote:
> csanyipal a écrit :
> >
> >I just installed apache2 & apache2-doc on Sarge.
> >
> >I don't put yet any index.html file in the apache2-default/ directory, 
> >so there one can see the apache2 initial page out there.
> >
> >On that page is the link to manual <http://csanyipal.info/manual/> & 
> >when I klick on it, I should to see the manual page, am I right?
> >
> >But I get the error message:
> >"The requested URL /manual/ was not found on this server."
> >
> >So, please, to explain to me someone, what should I to do, to see the 
> >manual page for apache2?

> By default, the configuration of apache2 only allow to view 
> documentation from localhost
> 
> You have to edit the file: /etc/apache2/site-available/default
> And change the Allow from 127.0.0.1 line to Allow from all
> 
> Then restart apache2 with:
> /etc/init.d/apache2 restart

That solve my problem! Thanks! :-)

-- 
Regards, Paul Csányi
http://csanyipal.info/moodle  <<<---  Moodle - Course Management System


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



SSH port 22 is invisible from the internet!! :(

2007-04-09 Thread csanyipal
Hello!

I have installed on Etch openssh-client & openssh-server.

I can to login to localhost with ssh.

I want to allow a remote user to login with ssh on to my system.

I use iptables as a firewall and have added a rule to open the port 22:
$ sudo iptables -L 
...
target prot opt source   destination 
ACCEPT 0--  anywhere anywherestate 
RELATED,ESTABLISHED 
ACCEPT tcp  --  anywhere anywheretcp dpt:smtp 
ACCEPT tcp  --  anywhere anywheretcp dpt:ssh
ACCEPT tcp  --  anywhere anywheretcp dpt:www
...


I use a website 
http://wigwam.sztaki.hu:8080/varazslatok/tuzfalteszt.php
to see whethear is my port 22 visible and the test says that that the 
port 22 is invisible.

The remote user can't to login with ssh too on to my system.
My system has a FQDN csanyi-pal.info and a public IP: 85.222.164.132

My exim4 and apache2 works fine, but ssh won't to works. :(

Why is the port 22 invisible from the internet?

Any advices will be appreciated!

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: SSH port 22 is invisible from the internet!! :(

2007-04-09 Thread csanyipal
On Mon, Apr 09, 2007 at 09:35:50AM -0400, Douglas Allan Tutty wrote:

> Just because you opened the port doesn't mean that ssh will listen on
> that interface automatically; tell it.

Port 22
 
> May I also suggest limiting ssh logins to members of the ssh group?  And
> disallow root login via ssh.

PermitRootLogin no
AllowGroups ssh

-- 
Regards, Paul Csányi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: SSH port 22 is invisible from the internet!! :(

2007-04-09 Thread csanyipal
On Mon, Apr 09, 2007 at 03:53:24PM +0200, Jochen Schulz wrote:

> > I use iptables as a firewall and have added a rule to open the port 22:
> 
> That probably means you are blocking any traffic not explicitly allowed,
> correct? Maybe it would help to show us your complete iptables script.

I attach the iptables script to this mail.

> And you are connected directly to the internet, right? No NAT?

It's a long story. :(
My ISP use PPTP VPN to share the internet amongs clients.
So everybody are happy because they use Windows, but I must to setup my 
Etch to:
1. use dhcp on eth0
2. setup pptplinux to bring up ppp0 interface so to can to connect to 
the internet.
3. I asked and get from my ISP a public IP address that I used to to
others can from internet reach my apache2 www server and I to can to use 
exim4 for the mailing, because the mail system of my ISP have bad 
setup.

 
> > I use a website 
> > http://wigwam.sztaki.hu:8080/varazslatok/tuzfalteszt.php
> > to see whethear is my port 22 visible and the test says that that the 
> > port 22 is invisible.
> 
> I can only see a tux logo on that page.

Sorry! Try this:
http://wigwam.sztaki.hu:8080/varazslatok/port_teszt.shtml

and click to the "WIGWAM - gyors tűzfalteszt" button! :)
(WIGWAM - quick firewall testing)


> > The remote user can't to login with ssh too on to my system.
> > My system has a FQDN csanyi-pal.info and a public IP: 85.222.164.132
> 
> I can confirm that your port 22 is not reachable. It appears that some
> system (not necessarily yours) is dropping packets, since I only get a
> timeout, not a REJECT message:
> 
> | $ nmap 85.222.164.132 -p 22
> | Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2007-04-09 15:47 
> CEST
> | Interesting ports on ipv132.sksyu.net (85.222.164.132):
> | PORT   STATESERVICE
> | 22/tcp filtered ssh
> 
> To debug it a little bit more, you could use tcpdump to see whether you
> can see packets coming on port 22/tcp at all (tcpdump -i $dev "port
> 22"). If you do, you have a problem with outgoing packages which would
> explain the timeouts.

I do:
$ sudo tcpdump -vv -i ppp0 "port 22"
tcpdump: listening on ppp0, link-type LINUX_SLL (Linux cooked), capture size 96 
bytes


so if you could, please try to connect with ssh to my system!

You could to use "sshuser" username and "1234qwer" password to this. :)

-- 
Regards, Paul Csányi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: SSH port 22 is invisible from the internet!! :( - Sorry, the Attachment..

2007-04-09 Thread csanyipal
On Mon, Apr 09, 2007 at 06:12:06PM +0200, csanyipal wrote:
> On Mon, Apr 09, 2007 at 03:53:24PM +0200, Jochen Schulz wrote:
> 
> > > I use iptables as a firewall and have added a rule to open the port 22:
> > 
> > That probably means you are blocking any traffic not explicitly allowed,
> > correct? Maybe it would help to show us your complete iptables script.
> 
> I attach the iptables script to this mail.

Sorry, I forgotten the iptables script! 

-- 
Regards, Paul Csányi
# Generated by iptables-save v1.2.11 on Thu Jan 12 10:39:07 2006
*raw
:PREROUTING ACCEPT [313:52448]
:OUTPUT ACCEPT [355:33392]
COMMIT
# Completed on Thu Jan 12 10:39:07 2006
# Generated by iptables-save v1.2.11 on Thu Jan 12 10:39:07 2006
*nat
:PREROUTING ACCEPT [4:936]
:POSTROUTING ACCEPT [37:3404]
:OUTPUT ACCEPT [37:3404]
COMMIT
# Completed on Thu Jan 12 10:39:07 2006
# Generated by iptables-save v1.2.11 on Thu Jan 12 10:39:07 2006
*mangle
:PREROUTING ACCEPT [313:52448]
:INPUT ACCEPT [313:52448]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [355:33392]
:POSTROUTING ACCEPT [355:33392]
COMMIT
# Completed on Thu Jan 12 10:39:07 2006
# Generated by iptables-save v1.2.11 on Thu Jan 12 10:39:07 2006
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [355:33392]
:block - [0:0]
-A INPUT -j block 
-A FORWARD -j block 
-A block -m state --state RELATED,ESTABLISHED -j ACCEPT 
-A block -i ppp0 -p tcp --dport 25 -j ACCEPT
-A block -i ppp0 -p tcp --dport 22 -j ACCEPT
-A block -i ppp0 -p tcp --dport 80 -j ACCEPT
-A block -i ppp0 -p udp --dport 5060 -j ACCEPT
-A block -i ppp0 -p tcp --dport 5060 -j ACCEPT
-A block -i ppp0 -p tcp --dport 1720 -j ACCEPT
-A block -i ppp0 -p tcp --dport  -j ACCEPT
-A block -i ppp0 -p tcp --dport 6680:6699 -j ACCEPT
-A block -i ppp0 -p tcp --dport 1234 -j ACCEPT
#-A block -i ppp0 -p tcp --dport 5432 -j ACCEPT
#-A block -i ppp0 -p tcp --dport 389 -j ACCEPT
-A block -i ppp0 -p tcp --dport 9433 -j ACCEPT
-A block -i ! ppp0 -m state --state NEW -j ACCEPT 
-A block -j DROP 
COMMIT
# Completed on Thu Jan 12 10:39:07 2006


Re: SSH port 22 is invisible from the internet!! :(

2007-04-09 Thread csanyipal
On Mon, Apr 09, 2007 at 07:18:58PM +0200, Franck Joncourt wrote:

> First of all, if I were you, I would try to get an access to your
> ssh server through 127.0.0.1.
> 
> # telnet 127.0.0.1 22
> 
> should display SSH banner. Something like this :
> 
> ###
> Trying 127.0.0.1...
> Connected to 127.0.0.1.
> Escape character is '^]'.
> SSH-2.0-OpenSSH_4.3p2 Debian-9
> ^[
> Connection closed by foreign host.
> ###

I did it:

$ sudo telnet 127.0.0.1 22
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
SSH-2.0-OpenSSH_4.3p2 Debian-9
^]
Protocol mismatch.
Connection closed by foreign host.
[EMAIL PROTECTED]:~$


> Afterwards, you could worry a bit more with iptables if it does not work.

If the present iptables setup don't work, then I have no idea further how to 
setup iptables to solve this problem?

Any advices will be appreciated!

-- 
Regards, Paul Csányi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: SSH port 22 is invisible from the internet!! :(

2007-04-09 Thread csanyipal
On Mon, Apr 09, 2007 at 07:04:16PM +0200, gianca wrote:
> csanyipal ha scritto:
> > On Mon, Apr 09, 2007 at 09:35:50AM -0400, Douglas Allan Tutty wrote:
> > 
> >> Just because you opened the port doesn't mean that ssh will listen on
> >> that interface automatically; tell it.
> > 
> > Port 22
> Have you any setting for option "ListenAddress" in "/etc/ssh/sshd_config" ?

Yes:

#ListenAddress ::
#ListenAddress 0.0.0.0

-- 
Regards, Paul Csányi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: SSH port 22 is invisible from the internet!! :(

2007-04-09 Thread csanyipal
On Mon, Apr 09, 2007 at 08:56:40PM +0200, Jochen Schulz wrote:

> Hm, weird setup. So you get a non-public IP address on eth0 via DHCP and
> a "static" public address for ppp0?

Exactly!

> > I do:
> > $ sudo tcpdump -vv -i ppp0 "port 22"
> > tcpdump: listening on ppp0, link-type LINUX_SLL (Linux cooked), capture 
> > size 96 bytes
> > 
> > so if you could, please try to connect with ssh to my system!
> 
> Done (twice). Got a timeout again.

Sorry, I exit from tcpdump but now I'm run it again!

> If you can see either both incoming and outgoing packets or no packets
> at all, your setup is fine and someone else is dropping them. If you see
> only incoming packets, it's your fault.

Could you try to login again, please?

> In any case, I would now try to let sshd listen on another port that is
> probably not filtered (like 443).

Done:

sshd_config: Port 443
iptables script: -A block -i ppp0 -p tcp --dport 443 -j ACCEPT

But, if I run iptables -L then I can't see opened port 443! Why?

Chain block (2 references)
target prot opt source   destination 
ACCEPT 0--  anywhere anywherestate 
RELATED,ESTABLISHED 
ACCEPT tcp  --  anywhere anywheretcp dpt:smtp 
ACCEPT tcp  --  anywhere anywheretcp dpt:https 
ACCEPT tcp  --  anywhere anywheretcp dpt:www 
ACCEPT udp  --  anywhere anywhereudp dpt:sip 
ACCEPT tcp  --  anywhere anywheretcp dpt:sip 
ACCEPT tcp  --  anywhere anywheretcp dpt:1720 
ACCEPT tcp  --  anywhere anywheretcp dpt:rplay 
ACCEPT tcp  --  anywhere anywheretcp dpts:6680:6699 
ACCEPT tcp  --  anywhere anywheretcp dpt:1234 
ACCEPT tcp  --  anywhere anywheretcp dpt:9433 
ACCEPT 0--  anywhere anywherestate NEW 
DROP   0--  anywhere anywhere


> You should definitely remove that test user *now*. To debug connection

Done.

-- 
Regards, Paul Csányi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: SSH port 22 is invisible from the internet!! :(

2007-04-09 Thread csanyipal
On Mon, Apr 09, 2007 at 09:02:49PM +0200, gianca wrote:

> >> Have you any setting for option "ListenAddress" in "/etc/ssh/sshd_config" ?
> > Yes:
> > #ListenAddress ::
> > #ListenAddress 0.0.0.0
> So there is no limitation.
> 
> You said you can "ssh localhost", didn't you?

Yes, I can! :)

> "nmap localhost" should show port 22 is open.

$ sudo nmap localhost

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2007-04-09 21:35 CEST
Interesting ports on localhost.localdomain (127.0.0.1):
Not shown: 1668 closed ports
PORT STATE SERVICE
22/tcp   open  ssh
25/tcp   open  smtp
80/tcp   open  http
111/tcp  open  rpcbind
538/tcp  open  gdomap
631/tcp  open  ipp
666/tcp  open  doom
694/tcp  open  unknown
2628/tcp open  dict
3306/tcp open  mysql
8000/tcp open  http-alt
8081/tcp open  blackice-icecap

> And can you "ssh 85.222.164.132"?

Yes, I can! :)

> Have any other pc in you private lan to try to ssh to yours?

I haven't now. But, if I must, I can to connect to my PC box another 
PC, to try this ssh login.. For this I must to shut down my PC to set 
up ethernet cards properly in to 2 PCs.

-- 
Regards, Paul Csányi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: SSH port 22 is invisible from the internet!! :(

2007-04-10 Thread csanyipal
On Mon, Apr 09, 2007 at 07:48:11PM -0700, Dusty Wilson wrote:

> Sorry if I missed it, but has anyone mentioned netstat?
> 
> sudo netstat -lnp | grep ssh
> 
> That should show if you have any running ssh processes listening on
> your server and which IP addresses/port numbers it is listening on.
> If you haven't already done such a thing, could you let us know the
> output of that command?

$ sudo netstat -lnp | grep ssh
tcp   0   0 0.0.0.0:22   0.0.0.0:*   LISTEN   5276/sshd   
unix  2   [ ACC ]   STREAM   LISTENING   11745   5541/ssh-agent  
/tmp/ssh-shbAxL5495/agent.5495
[EMAIL PROTECTED]:~$

-- 
Regards, Paul Csányi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: SSH port 22 is invisible from the internet!! :(

2007-04-10 Thread csanyipal
On Tue, Apr 10, 2007 at 08:06:36AM -0400, Roberto C. Sánchez wrote:

> > sudo netstat -lnp | grep ssh
> > 
> > That should show if you have any running ssh processes listening on
> > your server and which IP addresses/port numbers it is listening on.
> > If you haven't already done such a thing, could you let us know the
> > output of that command?
> 
> Yes, I mentioned it in the first reply to the OP.  Personally, my
> favorite incantation is 'netstat -anput'.  That will give you the
> process name as well as the PID with the associated port.

$ sudo netstat -anput | grep ssh
tcp   0   0 0.0.0.0:22   0.0.0.0:*   LISTEN   5276/sshd

-- 
Regards, Paul Csányi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: SSH port 22 is invisible from the internet!! - SOLVED

2007-04-10 Thread csanyipal
Hello! :)

On Mon, Apr 09, 2007 at 03:53:24PM +0200, Jochen Schulz wrote:

> If you suspect SSH is being blocked by a system not under your control,
> you could try to have sshd listen on a port other than 22 (443 comes to
> mind). Maybe your ISP/hosting provider blocks 22.

Yes, my ISP/hosting provider blocks 22 and SSH.

I call my ISP and talk with him today.

He allow for me the open port 22 now. It works!

Thank you all for the help! :)

-- 
Regards, Paul Csányi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: SSH port 22 is invisible from the internet!! :(

2007-04-10 Thread csanyipal
On Tue, Apr 10, 2007 at 03:29:24PM +0200, Jörg-Volker Peetz wrote:

> > 
> > I have installed on Etch openssh-client & openssh-server.
> > 
> > I can to login to localhost with ssh.
> > 
> > I want to allow a remote user to login with ssh on to my system.
> > 
> 
> What is the contents of your /etc/hosts.allow and /etc/hosts.deny?
> According to /usr/share/doc/openssh-server/README.Debian.gz ssh is
> compiled with support for tcp-wrappers.

The both haven't any settings, everything is commented.

-- 
Regards, Paul Csányi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Etch upgrade and keyboard in WindowMaker

2007-04-15 Thread csanyipal
Hello!

On Sun, Apr 15, 2007 at 05:14:28PM -0400, Roberto C. Sánchez wrote:
> Hello all.  I upgraded my workstation from Sarge to Etch this weekend.
> The biggest annoynce I have encountered is that my keyboard is "broken"
> in WindowMaker.  That is, alt+tab no longer switches between windows.
> F12 no longer brings up the menu.  F11 no longer brings up the window
> list and alt+# (where # is a number 0-9) no longer switches to the
> appropriate workspace.  I have gone into WPrefs and tried rebinding the
> key combinations.  However, this still does not seem to work.  Has
> anyone else encountered something similar?  If so, can this problem be
> solved?

I use also WindowMaker and I encountered this error too.

If I can rememer correctly, I solve this problem so so I reconfigure 
xserver-xorg and set up again my keyboard.

$ sudo dpkg-reconfigure xserver-xorg

So I have in my xorg.conf in the Section "InputDevice" this:

Identifier  "Generic Keyboard"
Driver  "kbd"
Option  "CoreKeyboard"
Option  "XkbRules"  "xorg"
Option  "XkbModel"  "pc105"
Option  "XkbLayout" "hu,hr,cs"
Option  "XkbVariant""nodeadkeys"

and now I can use alt+tab on my Hungarian keyboard to switch 
between windows and alt+# to switch to the approppriate workspace.

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Architecural modelling software

2007-04-26 Thread csanyipal
On Wed, Apr 25, 2007 at 10:42:26PM +0100, andy wrote:
> I am looking for some architectural design modelling software that will 
> enable one to design buildings and model the effects of lighting, wind, 
> insulation values, etc.
> Does anyone know of anything that can do this kind of job? I've searched 
> on Sourceforge and google.com/linux but to no avail. Are there any 
> architects here who could recommend a GNU/Linux Debian-friendly program?

I have a fresh installed Varkon on my Etch system, and I think it is 
capable to do much to modelling some model.

I start to study varkon, which has very different GUI from others CAD 
systems, and very different approach to modelling a system.

Here [1] is a tutorial to varkon.

If you install varkon, you must to read the README's in the
/usr/share/doc/varkon/ directory to setup properly varkon on Debian.

It is easy to setup.

Also read the manuals and look to Varkons homepage [2].

[1] http://www.marcdatabase.com/~lemur/vk-varkon-tutorial.html
[2] http://www.tech.oru.se/cad/varkon

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



programming LPT port

2007-04-30 Thread csanyipal
Hello!

I wish to programing LPT port on the PC box from Debian Etch system.
I wish to make some applications that can run on other platforms too. 
(eg.: win 32)

Which one programming language is capable to easily access the LPT 
port and in the same time to allow to port the applications to others 
systems too (win 32)?

My friend try the java language, but I think that there are better 
languages for this purpose there, are not?

Any advices will be appreciated!

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: programming LPT port

2007-04-30 Thread csanyipal
Hello Doug!

On Mon, Apr 30, 2007 at 10:33:31AM -0400, Douglas Allan Tutty wrote:
> On Mon, Apr 30, 2007 at 01:08:09PM +0200, csanyipal wrote:
> > 
> > I wish to programing LPT port on the PC box from Debian Etch system.
> > I wish to make some applications that can run on other platforms too. 
> > (eg.: win 32)

> Python has modules for accessing the parallel port.  Python interpreters
> are avialable for multiple platforms.

I try to find such a module in python doc, but with no success.

Which python module can access the paralell port? Are there more than 
one module for this purpose?

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: programming LPT port

2007-04-30 Thread csanyipal
On Mon, Apr 30, 2007 at 07:26:41PM +0200, csanyipal wrote:

> > > I wish to programing LPT port on the PC box from Debian Etch system.
> > > I wish to make some applications that can run on other platforms too. 
> > > (eg.: win 32)

> > Python has modules for accessing the parallel port.  Python interpreters
> > are avialable for multiple platforms.

> Which python module can access the paralell port? Are there more than 
> one module for this purpose?

I find the package: python-parallel. OK

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



glibc 2.4 to install

2007-04-30 Thread csanyipal
Hello!

I have installed brlcad on my Etch system.

I downloaded it from http://sourceforge.net/projects/brlcad/

When I run it, I get error messages:
$ mged
mged: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by 
mged)
mged: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by 
/usr/brlcad/lib/libdm.so.19)
mged: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by 
/usr/brlcad/lib/librt.so.19)
mged: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by 
/usr/brlcad/lib/libfb.so.19)
mged: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by 
/usr/brlcad/lib/libbu.so.19)
mged: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by 
/usr/brlcad/lib/libitk3.3.so.0)
mged: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by 
/usr/brlcad/lib/libitcl3.3.so.0)
mged: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by 
/usr/brlcad/lib/libtk8.4.so.19)
mged: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by 
/usr/brlcad/lib/libtcl8.4.so.19)
mged: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by 
/usr/brlcad/lib/libbn.so.19)
mged: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by 
/usr/brlcad/lib/libpkg.so.19)
mged: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by 
/usr/brlcad/lib/libz.so.1)
mged: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by 
/usr/brlcad/lib/libpng.so.1)

I find these with aptitude:
$ aptitude search glibc
v   glibc-2.3.6-2  -
v   glibc-2.3.6.ds1-1  -
p   glibc-doc  - GNU C Library: Documentation
p   glibc-doc-reference- GNU C Library: Documentation
v   glibc-pic  - 
p   libg++2.8.1.3-glibc2.2 - The GNU C++ extension library - runtime version
p   libstdc++2.10-glibc2.2 - The GNU stdc++ library

So how can I, or can I install glibc 2.4 on Etch?

Any advices will be appreciated!

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Setup PATH for X Window (urxvt)

2007-05-01 Thread csanyipal
Hello!

I try to setup PATH permanently for X Window, that is for urxvt, in 
which must to run brlcad.

brlcad is here: /usr/brlcad/bin

Now, if I run mged (editor for brlcad) I must to open urxvt, then setup 
PATH for brlcad and then can run mged.

I want to setup PATH permanently to can run brlcad without setting up 
every time the PATH.

I try to write these:
PATH=/usr/brlcad/bin:$PATH
export PATH

in several places:
mcedit /etc/profile
mcedit ~/.xsession.d/10auto-start
mcedit .bash_profile
mcedit .xsession
mcedit ~/GNUstep/Library/WindowMaker/autostart

but env shows me that the PATH have not setup to brlcad:
PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games

How can I setup PATH for brlcad permanently?

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Setup PATH for X Window (urxvt)

2007-05-01 Thread csanyipal
On Tue, May 01, 2007 at 11:51:07AM +0100, Liam O'Toole wrote:

> Are you using GDM to log in? It does execute a login shell default. 

Yes. I edit the /etc/gdm/Init/Default but still not change the PATH. I 
try to edit /etc/gdm/PostLogin/Default too, but with no success.

> Better, though, would be to install the software to /usr/local instead.

I agree with this. But the brlcad package can one to download in tar.bz2 
package or from CVS repository. Which one can one use to build the debian 
package from it?

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



after compiling the kernel 2.6.18 bash error message & no X Window

2007-05-12 Thread csanyipal
Hello!

My system is Debian Etch.

After I downloaded the new linux-source-2.6.18, compiled it and 
installed the new custom kernel, I get error messages on console prompt 
when logged in:
-bash: id: command not found
-bash: [: : integer expression expected

and after gdm login I get error message that there are errors on 
installation or my disk is full. 

My disk isn't full, I use df -H to see whether my disk is full.

In .xsession-errors are these lines:
>
/etc/gdm/PreSession/Default: \
Registering your session with wtmp and utmp
/etc/gdm/PreSession/Default: running: /usr/bin/sessreg -a -w 
/var/log/wtmp -u /var/run/utmp -x \
"/var/lib/gdm/:0.Xservers" -h "" -l ":0" "csanyipal"
/etc/gdm/Xsession: Beginning session setup...
/etc/gdm/Xsession: line 165: grep: command not found
/etc/gdm/Xsession: line 73: ls: command not found
/etc/gdm/Xsession: Executing /usr/bin/wmaker failed, \
will try to run x-terminal-emulator
/etc/gdm/Xsession: line 197: exec: x-terminal-emulator: not found
<

What is the solution for this problem?

I appreciate any advices!

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Solved

2007-05-12 Thread csanyipal
Hello!

On Sat, May 12, 2007 at 12:58:31PM +0200, csanyipal wrote:

> My system is Debian Etch.
> 
> After I downloaded the new linux-source-2.6.18, compiled it and 
> installed the new custom kernel, I get error messages on console prompt 
> when logged in:
> -bash: id: command not found
> -bash: [: : integer expression expected

Well, I also did the following: edit the /etc/environment and change 
the PATH variable there.

Today I forget for this and boot the system with those errors.
Now I edit again this file and remove the line with the changed PATH 
variable. Everything is now OK. Sorry!

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



installing tutos2

2007-05-20 Thread csanyipal
Hello!

I try to install tutos2 but aptitude can't to create postgresql 
database tutos. I get the error message:
->
Creating the POSTGRES TUTOS database...

HOST:   localhost
PORT:   5432
DBUSER: www-data
DBNAME: tutos

createdb: could not connect to database template1: could not connect to 
server: A csatlakozás megtagadva
Is the server running on host "localhost" and accepting
TCP/IP connections on port 5432?
 Database tutos created !
createuser: could not connect to database template1: could not connect 
to server: A csatlakozás megtagadva
Is the server running on host "localhost" and accepting
TCP/IP connections on port 5432?
 User www-data created !
-<

How can I solve this problem?

Any advices will be appreciated!

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: installing tutos2

2007-05-20 Thread csanyipal
Hello Jose!

On Sun, May 20, 2007 at 10:32:47AM -0400, Jose Luis Rivas Contreras wrote:

> csanyipal escribió:
> > createdb: could not connect to database template1: could not connect to 
> > server: A csatlakozás megtagadva
> > Is the server running on host "localhost" and accepting
> > TCP/IP connections on port 5432?
> >  Database tutos created !
> > createuser: could not connect to database template1: could not connect 
> > to server: A csatlakozás megtagadva
> > Is the server running on host "localhost" and accepting
> > TCP/IP connections on port 5432?
> >  User www-data created !
> > -<
> > 
> > How can I solve this problem?
> 
> Your postgres server's not accepting connections. You have to configure
> postgres first.
> 
> Edit `/etc/postgresql/8.1/main/pg_hba.conf' and set up everything as you
> want/need and it's done, your problem is solved :).

My /etc/postgresql/7.4/main/pg_hba.conf on my Debian Etch has the 
following lines enabled:

->
local  all  postgres  ident sameuser
local  all  all   ident sameuser
host   all  all   127.0.0.1   255.255.255.255  md5
host   all  all   ::1  :::::::  md5
-<

I can to do the following on xterm window:

$ sudo su - postgres
[EMAIL PROTECTED]:~$

There I can to connect to the template1 database out there, or can 
create new users.

But when I try to install tutos2 then get the abowe wroted errors. Why?
Biang installing tutos2 I have to add password for postgres user; there 
I add the root password of my Debian system out there. Is it right?


-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: installing tutos2

2007-05-20 Thread csanyipal
On Sun, May 20, 2007 at 04:44:57PM -0400, Roberto C. Sánchez wrote:
> On Sun, May 20, 2007 at 06:49:07PM +0200, csanyipal wrote:
> > 
> > My /etc/postgresql/7.4/main/pg_hba.conf on my Debian Etch has the 
> > following lines enabled:
> > 
> > ->
> > local  all  postgres  ident sameuser
> > local  all  all   ident sameuser
> > host   all  all   127.0.0.1   255.255.255.255  md5
> > host   all  all   ::1  :::::::  md5
> > -<
> > 
> > I can to do the following on xterm window:
> > 
> > $ sudo su - postgres
> > [EMAIL PROTECTED]:~$
> > 
> > There I can to connect to the template1 database out there, or can 
> > create new users.
> > 
> > But when I try to install tutos2 then get the abowe wroted errors. Why?
> > Biang installing tutos2 I have to add password for postgres user; there 
> > I add the root password of my Debian system out there. Is it right?
> > 
> The postgres user should not have a password!
> 
> Please post what shows up in the postgres logs when you try and install
> tutos2.  To do this, open up a terminal window and run `sudo tail -f
> /var/log/postgresql/postgres.log` and then run the installation of
> tutos2.  Post what shows up in the postgres log here.

-->
$ sudo tail -f /var/log/postgresql/postgresql-7.4-main.log 
2007-05-20 17:40:59 LOG:  az adatbáziskezelő rendszer a(z) 2007-05-20 
17:40:57 CEST időpontban leállítva
2007-05-20 17:40:59 LOG:  ellenőrzőpont-bejegyzés a(z) (0, 9CD7F8) 
pozíciónál
2007-05-20 17:40:59 LOG:  redo-bejegyzés a(z) (0, 9CD7F8) pozíciónál; 
undo-bejegyzés a(z) (0, 0) pozíciónál; leállítás TRUE
2007-05-20 17:40:59 LOG:  next transaction ID: 578; next OID: 17144
2007-05-20 17:40:59 LOG:  az adatbáziskezelő munkára kész
2007-05-20 17:40:59 LOG:  az induló csomag nem teljes
2007-05-20 17:51:16 FATAL:  database "postgres" does not exist
2007-05-20 18:02:54 ERROR:  zero-length delimited identifier at or near 
"""" at character 30
2007-05-20 18:39:16 ERROR:  current user cannot be dropped
2007-05-20 18:39:26 FATAL:  a(z) "root" felhasználó nem létezik
--<

This abowe is in Hungarian.

I can't remember how can I set the LANG environment variable for a 
command to show up messages in English?

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] Re: installing tutos2

2007-05-21 Thread csanyipal
On Sun, May 20, 2007 at 05:37:27PM -0400, Roberto C. Sánchez wrote:
> On Sun, May 20, 2007 at 11:03:49PM +0200, csanyipal wrote:
> > 
> > This abowe is in Hungarian.
> > 
> > I can't remember how can I set the LANG environment variable for a 
> > command to show up messages in English?
> > 
> I have this on my system:
> 
> $ cat /etc/default/locale
> #  File generated by update-locale
> LANG=en_US
> 
> Perhaps you could try running update-locale on your system and then
> posting the output again?

I try to setup now locale on my system, with:
dpkg-reconfigure locales
locale-gen
update-locale

But, I can't to change:
# locale
LANG=hu_HU
LANGUAGE=hu_CS:hu_HU:hu:en_GB:en
LC_CTYPE="hu_HU"
LC_NUMERIC="hu_HU"
LC_TIME="hu_HU"
LC_COLLATE="hu_HU"
LC_MONETARY="hu_HU"
LC_MESSAGES="hu_HU"
^^ to LC_MESSAGES="en_US"
LC_PAPER="hu_HU"
LC_NAME="hu_HU"
LC_ADDRESS="hu_HU"
LC_TELEPHONE="hu_HU"
LC_MEASUREMENT="hu_HU"
LC_IDENTIFICATION="hu_HU"
LC_ALL=

On the Sarge there was for this the localeconf but here on the Etch I 
don't know how to change this abowe?

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] Re: installing tutos2

2007-05-24 Thread csanyipal
On Sun, May 20, 2007 at 05:37:27PM -0400, Roberto C. Sánchez wrote:
> On Sun, May 20, 2007 at 11:03:49PM +0200, csanyipal wrote:
> > 
> > This abowe is in Hungarian.

> I have this on my system:
> 
> $ cat /etc/default/locale
> #  File generated by update-locale
> LANG=en_US
> 
> Perhaps you could try running update-locale on your system and then
> posting the output again?

I edited the /etc/environment file and now I get messages on English, 
when reconfigure tutos2:

sudo tail -f /var/log/postgresql/postgresql-7.4-main.log
2007-05-24 22:53:22 LOG:  database system was shut down at 2007-05-24 
22:53:21 CEST
2007-05-24 22:53:22 LOG:  checkpoint record is at 0/9B1058
2007-05-24 22:53:22 LOG:  redo record is at 0/9B1058; undo record is at 
0/0; shutdown TRUE
2007-05-24 22:53:22 LOG:  next transaction ID: 536; next OID: 17142
2007-05-24 22:53:22 LOG:  database system is ready
2007-05-24 22:53:22 LOG:  incomplete startup packet
2007-05-24 23:05:03 LOG:  incomplete startup packet
2007-05-24 23:05:03 LOG:  received fast shutdown request
2007-05-24 23:05:03 LOG:  shutting down
2007-05-24 23:05:05 LOG:  database system is shut down
2007-05-24 23:05:07 LOG:  database system was shut down at 2007-05-24 
23:05:05 CEST
2007-05-24 23:05:07 LOG:  checkpoint record is at 0/9B1098
2007-05-24 23:05:07 LOG:  redo record is at 0/9B1098; undo record is at 
0/0; shutdown TRUE
2007-05-24 23:05:07 LOG:  next transaction ID: 546; next OID: 17142
2007-05-24 23:05:07 LOG:  database system is ready
2007-05-24 23:05:08 LOG:  incomplete startup packet


Then I do these:

sudo dpkg-reconfigure tutos2
Document `TUTOS' is not installed, cannot remove.
Creating the POSTGRES TUTOS database...

HOST:   localhost
PORT:   5432
DBUSER: www-data
DBNAME: tutos

createdb: could not connect to database template1: could not connect to 
server: Connection refused
Is the server running on host "localhost" and accepting
TCP/IP connections on port 5432?
 Database tutos created !
createuser: could not connect to database template1: could not connect 
to server: Connection refused
Is the server running on host "localhost" and accepting
TCP/IP connections on port 5432?
 User www-data created !
---
 To enable access to the tutos Database add something like   
 this to your [postgreshome]/data/pg_hba.conf file 
---
host  tutos   [IP Addr of localhost]  255.255.255.255   trust
---
it is recommended to restart the database !

When using the PHP version of TUTOS please
ensure that your php/config.pinc files has the following entries

$tutos[dbname][0] = "tutos";
$tutos[dbhost][0] = "localhost";
$tutos[dbuser][0] = "www-data";
$tutos[dbpasswd][0]   = "";
$tutos[dbtype][0] = 1 ;
$tutos[dbalias][0]= "Whatever you want";
$tutos[repository][0] = "the path to the file/document repository";


[EMAIL PROTECTED]:~$ sudo /etc/init.d/postgresql-7.4 restart
Restarting PostgreSQL 7.4 database server: main.

I think it is all OK, except that that I cant open in my browser the 
webpage: localhost/tutos/php/admin/scheme.php

My browser wants to run it and not to open it. Why?

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] Re: installing tutos2

2007-05-24 Thread csanyipal
On Thu, May 24, 2007 at 11:39:31PM +0200, csanyipal wrote:

> [EMAIL PROTECTED]:~$ sudo /etc/init.d/postgresql-7.4 restart
> Restarting PostgreSQL 7.4 database server: main.
> 
> I think it is all OK, except that that I cant open in my browser the 
> webpage: localhost/tutos/php/admin/scheme.php
> 
> My browser wants to run it and not to open it. Why?

How to run this php script?

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] Re: installing tutos2

2007-05-25 Thread csanyipal
On Fri, May 25, 2007 at 12:07:57AM +0200, csanyipal wrote:
> On Thu, May 24, 2007 at 11:39:31PM +0200, csanyipal wrote:
> 
> > [EMAIL PROTECTED]:~$ sudo /etc/init.d/postgresql-7.4 restart
> > Restarting PostgreSQL 7.4 database server: main.
> > 
> > I think it is all OK, except that that I cant open in my browser the 
> > webpage: localhost/tutos/php/admin/scheme.php
> > 
> > My browser wants to run it and not to open it. Why?
> 
> How to run this php script?

I enable the php4 module for apache2 and then I can run this script.

But get the error message on the opened web page:
->
TUTOS Fatal Error

Opening the database POSTGRES: [EMAIL PROTECTED]:5432 as www-data

Detail

DBerror: POSTGRES: [EMAIL PROTECTED]:5432 as www-data no connection
-<

How can I solve this problem?

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] Re: installing tutos2

2007-05-25 Thread csanyipal
On Fri, May 25, 2007 at 11:35:48AM -0400, Roberto C. Sánchez wrote:
> On Thu, May 24, 2007 at 11:39:31PM +0200, csanyipal wrote:
> > 
> > 
> > sudo dpkg-reconfigure tutos2
> > Document `TUTOS' is not installed, cannot remove.
> > Creating the POSTGRES TUTOS database...
> > 
> > HOST:   localhost
> > PORT:   5432
> > DBUSER: www-data
> > DBNAME: tutos
> > 
> > createdb: could not connect to database template1: could not connect to 
> > server: Connection refused
> > Is the server running on host "localhost" and accepting
> > TCP/IP connections on port 5432?
> >  Database tutos created !
> > createuser: could not connect to database template1: could not connect 
> > to server: Connection refused
> > Is the server running on host "localhost" and accepting
> > TCP/IP connections on port 5432?
> >  User www-data created !
> 
> What is in your /etc/postgresql/pg_hba.conf?


I have now installed postgresql-8.1:

/etc/postgresql/8.1/main/pg_hba.conf :

-->
# Database administrative login by UNIX sockets 
local all postgres ident sameuser

# TYPE  DATABASE USER CIDR-ADDRESS METHOD

# "local" is for Unix domain socket connections only
local all all ident sameuser

# IPv4 local connections:
host all all 127.0.0.1/32 md5

# IPv6 local connections:
host all all ::1/128 md5

# I edited this for tutos:  
host  tutos   127.0.0.1  255.255.255.255   trust
--<


-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] Re: installing tutos2

2007-05-25 Thread csanyipal
On Fri, May 25, 2007 at 01:56:54PM -0400, Roberto C. Sánchez wrote:
> On Fri, May 25, 2007 at 06:33:21PM +0200, csanyipal wrote:
> > 
> > /etc/postgresql/8.1/main/pg_hba.conf :
> > 
> > -->
> > # Database administrative login by UNIX sockets 
> > local all postgres ident sameuser
> > 
> > # TYPE  DATABASE USER CIDR-ADDRESS METHOD
> > 
> > # "local" is for Unix domain socket connections only
> > local all all ident sameuser
> > 
> > # IPv4 local connections:
> > host all all 127.0.0.1/32 md5
> > 
> > # IPv6 local connections:
> > host all all ::1/128 md5
> > 
> > # I edited this for tutos:  
> > host  tutos   127.0.0.1  255.255.255.255   trust
> 
> Did you try this?
> 
> host  tutos www-data  127.0.0.1  255.255.255.255   trust

Yes,now  and after I edited the pg_hba.conf, I restarted postgresql too.

But I get the same error message:

Opening the database POSTGRES: [EMAIL PROTECTED]:5432 as www-data

Detail

DBerror: POSTGRES: [EMAIL PROTECTED]:5432 as www-data no connection

When I reconfigured tutos2 I give to www-data user an empty password 
(hit enter).

I added now my username to www-data group.

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] Re: installing tutos2

2007-05-26 Thread csanyipal
On Fri, May 25, 2007 at 05:26:51PM -0400, Roberto C. Sánchez wrote:
> On Fri, May 25, 2007 at 08:24:58PM +0200, csanyipal wrote:
> > 
> > Yes,now  and after I edited the pg_hba.conf, I restarted postgresql too.
> > 
> > But I get the same error message:
> > 
> > Opening the database POSTGRES: [EMAIL PROTECTED]:5432 as www-data
> > 
> > Detail
> > 
> > DBerror: POSTGRES: [EMAIL PROTECTED]:5432 as www-data no connection
> > 
> > When I reconfigured tutos2 I give to www-data user an empty password 
> > (hit enter).
> > 
> > I added now my username to www-data group.
> > 
> You did this in postgres, right?  Posgres does not understand system
> users/groups.  They must be in postgres' users table.

No, I didn't this in postgres, but with sudo vigr.

I still can't to use tutos2 on my Debian Etch system.

Something I don't setup right in postgresql database, I think, but what?

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] Re: installing tutos2

2007-05-26 Thread csanyipal
On Sat, May 26, 2007 at 10:40:57AM +0200, csanyipal wrote:
> On Fri, May 25, 2007 at 05:26:51PM -0400, Roberto C. Sánchez wrote:
> > On Fri, May 25, 2007 at 08:24:58PM +0200, csanyipal wrote:
> > > 
> > > Yes,now  and after I edited the pg_hba.conf, I restarted postgresql too.
> > > 
> > > But I get the same error message:
> > > 
> > > Opening the database POSTGRES: [EMAIL PROTECTED]:5432 as www-data
> > > 
> > > Detail
> > > 
> > > DBerror: POSTGRES: [EMAIL PROTECTED]:5432 as www-data no connection
> > > 
> > > When I reconfigured tutos2 I give to www-data user an empty password 
> > > (hit enter).
> > > 
> > > I added now my username to www-data group.
> > > 
> > You did this in postgres, right?  Posgres does not understand system
> > users/groups.  They must be in postgres' users table.
> 
> No, I didn't this in postgres, but with sudo vigr.
> 
> I still can't to use tutos2 on my Debian Etch system.
> 
> Something I don't setup right in postgresql database, I think, but what?

I red now the postgresql-doc-8.1/html/runtime-config-connection.html 
and edit the postgresql.conf to accept tcp connections from localhost:
--->
listen_addresses = 'localhost,csanyi-pal.info'
port = 5433
max_connections = 100
superuser_reserved_connections = 2
unix_socket_directory = '/var/run/postgresql'
unix_socket_group = ''
unix_socket_permissions = 0777
bonjour_name = ''
authentication_timeout = 60
ssl = off
password_encryption = on 
db_user_namespace = off
tcp_keepalives_idle = 0
tcp_keepalives_interval = 0
tcp_keepalives_count = 0
---<

Now, when I do dpkg-reconfigure tutos2 I get not the error message 
about that that can't to connect to database, but this message:

--->
# dpkg-reconfigure tutos2
Document `TUTOS' is not installed, cannot remove.
Please install the chosen TUTOS SGBD: , then try
dpkg-reconfigure tutos
---<

When I try to run http://localhost/tutos/php/admin/scheme.php
in the browser I still get the error message:

---> 
TUTOS Fatal Error
Opening the database POSTGRES: [EMAIL PROTECTED]:5432 as www-data
Detail
DBerror: POSTGRES: [EMAIL PROTECTED]:5432 as www-data no connection
---<

Maybe must I to setup apache2 for this to work?

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] Re: installing tutos2

2007-05-26 Thread csanyipal
On Sat, May 26, 2007 at 09:32:28AM -0400, Roberto C. Sánchez wrote:
> On Sat, May 26, 2007 at 10:40:57AM +0200, csanyipal wrote:
> > 
> > No, I didn't this in postgres, but with sudo vigr.
> > 
> > I still can't to use tutos2 on my Debian Etch system.
> > 
> > Something I don't setup right in postgresql database, I think, but what?
> > 
> Log in to postgres and execute this:
> 
> SELECT * FROM pg_user;
> 
> Paste the results.

[EMAIL PROTECTED]:~$ su
Password: 
csanyi-pal:/home/csanyipal# su - postgres
[EMAIL PROTECTED]:~$ SELECT * FROM pg_user;
-su: SELECT: command not found


-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] Re: installing tutos2

2007-05-27 Thread csanyipal
On Sat, May 26, 2007 at 06:07:32PM -0400, Roberto C. Sánchez wrote:

> > > Log in to postgres and execute this:
> > > 
> > > SELECT * FROM pg_user;
> > > 
> > > Paste the results.
> > 
> > [EMAIL PROTECTED]:~$ su
> > Password: 
> > csanyi-pal:/home/csanyipal# su - postgres
> > [EMAIL PROTECTED]:~$ SELECT * FROM pg_user;
> > -su: SELECT: command not found
> > 
> After 'su - postgres', do this:
> 
> [EMAIL PROTECTED]:~$ psql -d template1
> 
> After that you get a psql prompt.  That is where you execute the SELECT
> statement.

template1=# SELECT * FROM pg_user;
   usename| usesysid | usecreatedb | usesuper | usecatupd |  passwd  | 
valuntil | useconfig 
--+--+-+--+---+--+--+---
 postgres |1 | t   | t| t | **** |  
| 
 phpgroupware |2 | f   | f| f |  |  
| 
 csanyipal|  100 | f   | f| f |  |  
| 
(3 sor)

(3 sor) that is (3 raw)

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] Re: installing tutos2

2007-05-30 Thread csanyipal
On Sun, May 27, 2007 at 08:48:33AM -0400, Roberto C. Sánchez wrote:

> > template1=# SELECT * FROM pg_user;
> >usename| usesysid | usecreatedb | usesuper | usecatupd |  passwd  | 
> > valuntil | useconfig 
> > --+--+-+--+---+--+--+---
> >  postgres |1 | t   | t| t |  |  
> > | 
> >  phpgroupware |2 | f   | f| f     |  |  
> > | 
> >  csanyipal|  100 | f   | f| f |  |  
> > | 
> > (3 sor)
> > 
> > (3 sor) that is (3 raw)
> > 
> 
> So, there is no www-data user.  Either tutos2 needs to create it or you
> need to create it.  Remember, postgres doesn't know anything about your
> operating system users by default.

After I try once or twice to install tutos2 with the postgresql I 
decided to try to install tutos2 with the mysql database.

I red the tutos document: 
http://www.tutos.org/homepage/install_easy.html

and setup properly everything, I think.

I have now the tutos database and user on mysql server.
I setup apache2 to include /etc/tutos/apache.conf. Here is an Alias and 
Directory directive for /usr/share/tutos/.

I run http://csanyi-pal.info/tutos/php/admin/scheme.php and get an 
empty webpage in my browser without any error message.

Then I try to open http://csanyi-pal.info/tutos/php/mytutos.php but get 
only an empty page.

Well, I don't know indeed, how to solve this problem and get tutos to 
work on my Etch system?

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] Re: installing tutos2

2007-05-31 Thread csanyipal
On Thu, May 31, 2007 at 10:20:04AM -0400, Roberto C. Sánchez wrote:

> > I run http://csanyi-pal.info/tutos/php/admin/scheme.php and get an 
> > empty webpage in my browser without any error message.
> > 
> > Then I try to open http://csanyi-pal.info/tutos/php/mytutos.php but get 
> > only an empty page.
> > 
> > Well, I don't know indeed, how to solve this problem and get tutos to 
> > work on my Etch system?
> > 
> Does anything show up from these accesses in the apache acces sand/or
> error logs?  Does tutos2 keep its own error log somewhere in /var/log?
> If so, what does it say?

I purge everything: tutos2, postgresql, mysql, php4 and install these 
once again. Now I can get the error message in my webbrowser, if try to 
open http://csanyi-pal.info/tutos/php/admin/scheme.php


apache2 access.log:
-->
...
127.0.0.1 - - [31/May/2007:22:54:23 +0200] "GET /tutos/html/white.css 
HTTP/1.1" 404 343 "http://cs
anyi-pal.info/tutos/php/admin/scheme.php" "Mozilla/5.0 (X11; U; Linux 
i686; hu; rv:1.8.1.3) Gecko/
20070310 Iceweasel/2.0.0.3 (Debian-2.0.0.3-1)"
--<

apache2 error.log
--> 
...
[Thu May 31 22:54:23 2007] [error] [client 127.0.0.1] File does not 
exist: /usr/share/tutos/html/c
lassic/nohover.css, referer: 
http://csanyi-pal.info/tutos/php/admin/scheme.php
[Thu May 31 22:54:23 2007] [error] [client 127.0.0.1] File does not 
exist: /usr/share/tutos/html/t
utos.css, referer: http://csanyi-pal.info/tutos/php/admin/scheme.php
  
[Thu May 31 22:54:23 2007] [error] [client 127.0.0.1] File does not 
exist: /usr/share/tutos/html/b
lue.css, referer: http://csanyi-pal.info/tutos/php/admin/scheme.php 
  
[Thu May 31 22:54:23 2007] [error] [client 127.0.0.1] File does not 
exist: /usr/share/tutos/html/r
ed.css, referer: http://csanyi-pal.info/tutos/php/admin/scheme.php  
  
[Thu May 31 22:54:23 2007] [error] [client 127.0.0.1] File does not 
exist: /usr/share/tutos/html/w
hite.css, referer: http://csanyi-pal.info/tutos/php/admin/scheme.php
--< 


/var/log/tutos/tutos
-->
DateTime:   31.May.2007 22:54:22 CEST
Errno:  1024
FATAL Error:
Opening the database POSTGRES: [EMAIL PROTECTED]:3306 as 
tutos

DBerror: POSTGRES: [EMAIL PROTECTED]:3306 as tutos no connection
LastQuery:  
File:   /usr/share/tutos/php/webelements.p3 +278
Browser:Mozilla/5.0 (X11; U; Linux i686; hu; rv:1.8.1.3) 
Gecko/20070310 Iceweasel/2.0.0.3 
(Debian-2.0.0.3-1)
Language:   hu-hu,hu;q=0.8,en-us;q=0.5,en;q=0.3
URL:/tutos/php/admin/scheme.php
Request:/tutos/php/admin/scheme.php
activemodule:   note
activemodule:   watchlist
RemoteAddr: 127.0.0.1
TUTOS Version:  2.0-dev
PHP Version:4.4.4-8+etch3 Linux
PHP Config: /etc/php4/apache2/php.ini
APACHE Version: Apache/2.2.3 (Debian) PHP/4.4.4-8+etch3 mod_perl/2.0.2 
Perl/v5.8.8
STACKTRACE:
  php_error (1024,FATAL Error:
Opening the database POSTGRES: [EMAIL PROTECTED]:3306 as 
tutos

DBerror: POSTGRES: [EMAIL PROTECTED]:3306 as tutos no 
connection,/usr/share/tutos/php/
webelements.p3,278,Array)
  trigger_error (FATAL Error:
Opening the database POSTGRES: [EMAIL PROTECTED]:3306 as 
tutos

DBerror: POSTGRES: [EMAIL PROTECTED]:3306 as tutos no connection)   
/usr/share/tutos/p
hp/webelements.p3 +278
  fatal_error (Opening the database POSTGRES: 
[EMAIL PROTECTED]:3306 as tutos,
DBerror: POSTGRES: [EMAIL PROTECTED]:3306 as tutos no connection)   
/usr/share/tutos/p
hp/db/db_pg.pinc +160
  open ()   ->  /usr/share/tutos/php/database.pinc +458
  getconnection ()  ->  /usr/share/tutos/php/db.p3 +312
  db_open (0,)
/usr/share/tutos/php/admin/scheme.php +300
  prepare ()->  /usr/share/tutos/php/layout/layout.pinc 
+598
  display ()->  /usr/share/tutos/php/admin/scheme.php 
+346
--<

I don't know why tutos think that that I use Postgres when I setup it 
to use mysql in the /etc/tutos/config.php?


-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] Re: installing tutos2 - Almost solved

2007-06-02 Thread csanyipal
On Thu, May 31, 2007 at 11:21:30PM +0200, csanyipal wrote:

> I purge everything: tutos2, postgresql, mysql, php4 and install these 
> once again. Now I can get the error message in my webbrowser, if try to 
> open http://csanyi-pal.info/tutos/php/admin/scheme.php

I edit again carefully the /etc/tutos/config.php and now I can to run 
http://csanyi-pal.info/tutos/php/admin/scheme.php

and can to login with the superuser account.

I get only the error message about SQL syntacs error and can't to 
create calendar tables in the tutos database.

The Debian TUTOS package IMHO isn't fully compatible with the 
mysql-server version on the Etch release, I think.

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] Re: installing tutos2 - not yet solved

2007-06-02 Thread csanyipal
On Sat, Jun 02, 2007 at 11:41:02AM -0400, Roberto C. Sánchez wrote:

> > > I purge everything: tutos2, postgresql, mysql, php4 and install these 
> > > once again. Now I can get the error message in my webbrowser, if try to 
> > > open http://csanyi-pal.info/tutos/php/admin/scheme.php
> > 
> > I edit again carefully the /etc/tutos/config.php and now I can to run 
> > http://csanyi-pal.info/tutos/php/admin/scheme.php
> > 
> > and can to login with the superuser account.
> > 
> > I get only the error message about SQL syntacs error and can't to 
> > create calendar tables in the tutos database.
> > 
> > The Debian TUTOS package IMHO isn't fully compatible with the 
> > mysql-server version on the Etch release, I think.
> > 
> Interesting.  You might want to review the bug reports for tutos and see
> if this has already been reported.  If not, It might be a good idea to
> report a bug.

I run reportbug and find this information about tutos2 & mysql:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=353981&archived=False&mbox=no

"When I was paid to develop TUTOS 2 branch, we made the choice to only 
support PostgreSQL, our RDBM of choice. And I wrote some complex queries 
involving a syntax MySQL wouldn't be able to understand.

The MySQL support in TUTOS was from there broken, but I forgot to mark 
this in the debian package. Our way to resolve the debian bug was to 
effectively mark tutos as being a PostgreSQL only project, a decision
 taken two years ago."

Now I must to try again to install tutos2 with postgresql, because, as 
I figure out, tutos2 support only postgresql, isn't?

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] Re: installing tutos2 - not yet solved

2007-06-02 Thread csanyipal
On Sat, Jun 02, 2007 at 04:53:49PM -0400, Roberto C. Sánchez wrote:
> On Sat, Jun 02, 2007 at 07:07:51PM +0200, csanyipal wrote:
> > 
> > I run reportbug and find this information about tutos2 & mysql:
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=353981&archived=False&mbox=no
> > 
> > "When I was paid to develop TUTOS 2 branch, we made the choice to only 
> > support PostgreSQL, our RDBM of choice. And I wrote some complex queries 
> > involving a syntax MySQL wouldn't be able to understand.
> > 
> > The MySQL support in TUTOS was from there broken, but I forgot to mark 
> > this in the debian package. Our way to resolve the debian bug was to 
> > effectively mark tutos as being a PostgreSQL only project, a decision
> >  taken two years ago."
> > 
> > Now I must to try again to install tutos2 with postgresql, because, as 
> > I figure out, tutos2 support only postgresql, isn't?
> > 
> Interesting.  You are running this on Etch, right?  I will try and see
> if I can duplicate your problem later this week.

Yes, I'm trying to run tutos2 on Etch. :)

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



xorg & hardwear support for GeForce 7600GS Leadtek AGP

2007-06-07 Thread csanyipal
Hello!

System: Etch, kernel 2.6.18

Before I by this videocard, I want to be sure that that xorg supports 
it.

Is somewhere a list of videocards supported by xorg?

Any advices will be appreciated!

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] Re: installing tutos2 - almost solved

2007-06-07 Thread csanyipal
On Sun, Jun 03, 2007 at 07:55:41AM +0200, csanyipal wrote:
> On Sat, Jun 02, 2007 at 04:53:49PM -0400, Roberto C. Sánchez wrote:

> Yes, I'm trying to run tutos2 on Etch. :)

Now I have installed tutos2 on Etch.

I used php4, & postgresql-7.4.

Before installing tutos2 I created with postgres user the "www-data" 
user on postmaster and give him rights to create database.

Then I created the tutos database as "www-data" user. Everywhere must I 
use ' "www-data" ' in command line because of this:
-->
/usr/share/doc/www-pgsql/README.Debian ->
2.3 Problems with the user 'www-data' and Postgres:
So you have to say:
CREATE USER "www-data"
not
CREATE USER www-data
--<

Then I installed tutos2.

It runs very well, but get some error messages too.

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] Re: installing tutos2 - almost solved

2007-06-09 Thread csanyipal
On Sat, Jun 09, 2007 at 10:36:19AM -0400, Roberto C. Sánchez wrote:
> On Thu, Jun 07, 2007 at 09:26:52PM +0200, csanyipal wrote:
> > 
> > Before installing tutos2 I created with postgres user the "www-data" 
> > user on postmaster and give him rights to create database.
> > 
> > Then I created the tutos database as "www-data" user. Everywhere must I 
> > use ' "www-data" ' in command line because of this:
> > -->
> > /usr/share/doc/www-pgsql/README.Debian ->
> > 2.3 Problems with the user 'www-data' and Postgres:
> > So you have to say:
> > CREATE USER "www-data"
> > not
> > CREATE USER www-data
> > --<
> > 
> Hmm.  Why are you using www-pgsql?  It is not a dependcy of tutos2 or
> any of its dependencies.

Yes, of course, but I want to tried out some interfaces to administer 
postgresql databases.

In the meantime I purge again tutos2 and drop "www-data" user and 
"tutos" database.  Then I create (postgresql) user "csanyipal" with 
password.  I grant all privileges to this user. With "csanyipal" user I 
create the database "tutos".

Then I install again tutos2.

I run the [tutos_dir]/tutos/php/admin/scheme.php and create 
successfully the tables in the tutos database, & create the superuser 
with password "tutos".

But I can't to change the superusers password!

> > Then I installed tutos2.
> > 
> > It runs very well, but get some error messages too.
> > 
> What errors?

Fatal error: Call to undefined function: loadlayout() in 
/usr/share/tutos/php/admin_show.php on line 16

I get this error message above when click with mouse on the navigation 
bar on the "Administrator" link, when I'm logged in as superuser.

And can't to login as "demo" with password "guest".

This tutos version for the Etch is 2 years old. :(
If this version works, then I would be happy.

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] Re: installing tutos2 - almost solved

2007-06-10 Thread csanyipal
On Sat, Jun 09, 2007 at 06:34:29PM -0400, Roberto C. Sánchez wrote:

> > I run the [tutos_dir]/tutos/php/admin/scheme.php and create 
> > successfully the tables in the tutos database, & create the superuser 
> > with password "tutos".
> > 
> > But I can't to change the superusers password!
> > 
> Hmm.  How are you trying to change the password?

Login as superuser (I can to login only with the superuser account.) 
Then click on the Settings on the navigation bar.
So, I can't to find any place where I can to change the superusers 
password.

I try to change this password with the phppgadmin, but there, in the 
people table in tutos database the password is stored in an encrypted 
way. 

So, in this version of tutos-2 on Etch how can I change the superusers 
password?

> > > What errors?
> > 
> > Fatal error: Call to undefined function: loadlayout() in 
> > /usr/share/tutos/php/admin_show.php on line 16
> > 
> > I get this error message above when click with mouse on the navigation 
> > bar on the "Administrator" link, when I'm logged in as superuser.
> > 
> Looks like a PHP problem.

What can I do to solve this problem?

> > And can't to login as "demo" with password "guest".
> > 
> Does it log an error in this case?

Yes. In the tutos error log I can find these messages:
-->
DateTime:   10.Jun.2007 10:38:32 CEST
Errno:  8
Undefined index:  Bug
LastQuery:  INSERT into messages (ts,message) \ 
values ('06-10-2007 10:38:31','not unique 0 Result \ 
for demo / guest (127.0.0.1)')
File:   /usr/share/tutos/php/layout/layout.pinc +564
Browser:Mozilla/5.0 (X11; U; Linux i686; hu; \
rv:1.8.1.3) Gecko/20070310 Iceweasel/2.0.0.3 \
(Debian-2.0.0.3-1)
Language:   hu-hu,hu;q=0.8,en-us;q=0.5,en;q=0.3
URL:/tutos/php/mytutos.php
Request:/tutos/php/mytutos.php
POST:   uname   --> demo
POST:   pw  --> xxx
POST:   dbnr--> 0
POST:   login   --> Bejelentkezés
RemoteAddr: 127.0.0.1
Referer:http://csanyi-pal.info/tutos/php/\
mytutos.php?msg=goodbye
TUTOS Version:  2.0-dev
Database:   POSTGRES: [EMAIL PROTECTED]:5432 as csanyipal
DB Alias :  Postgres database
PHP Version:4.4.4-8+etch3 Linux
PHP Config: /etc/php4/apache2/php.ini
APACHE Version: Apache/2.2.3 (Debian) \
PHP/4.4.4-8+etch3 mod_perl/2.0.2 Perl/v5.8.8
STACKTRACE:
  php_error (8,Undefined index:  \
Bug,/usr/share/tutos/php/layout/layout.pinc,\
564,Array)
  layout_stop   ->  /usr/share/tutos/php/\
layout/layout.pinc +564
  layout_stop ()->/usr/share/tutos/php/\
layout/layout.pinc +621
  display ()   ->/usr/share/tutos/php/\
auth/auth.pinc +91
  login_form (/tutos/php/mytutos.php,\
Bejelentkezés sikertelen)  ->   /usr/share/tutos/php/\
permission.p3 +358
  check_user () /usr/share/tutos/php/calendar.p3 +18
  include_once (/usr/share/tutos/php/\
calendar.p3) /usr/share/tutos/php/mytutos.php +10
--<

> > This tutos version for the Etch is 2 years old. :(
> > If this version works, then I would be happy.
> > 
> Are you able to try the upstream version?

How can I do that? I try to update tutos with update-php script, but I 
don't know the database ID. I follow the instructions in the 
install_easy.html : "...
call the http://[yourserver]/tutos/php/admin/update.php?id=XX page 
where XX is our database index from config.php"

I try to use for XX the numbers: 00, 01, but with no success.

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] Re: installing tutos2 - almost solved

2007-06-10 Thread csanyipal
On Sun, Jun 10, 2007 at 09:12:25AM -0400, Roberto C. Sánchez wrote:

> > > > I run the [tutos_dir]/tutos/php/admin/scheme.php and create 
> > > > successfully the tables in the tutos database, & create the superuser 
> > > > with password "tutos".
> > > > 
> > > > But I can't to change the superusers password!
> > > > 
> > > Hmm.  How are you trying to change the password?
> > 
> > Login as superuser (I can to login only with the superuser account.) 
> > Then click on the Settings on the navigation bar.
> > So, I can't to find any place where I can to change the superusers 
> > password.
> > 
> I'm sorry I don't understand,  but which application are you using for
> this?

With iceweasel browser I login to TUTOS.

> > I try to change this password with the phppgadmin, but there, in the 
> > people table in tutos database the password is stored in an encrypted 
> > way. 
> > 
> IIRC, phppgadmin has a user management function.  You should not need to
> modify the users table directly.
> 
> > So, in this version of tutos-2 on Etch how can I change the superusers 
> > password?
> > 
> I usually change the user's passowrd by logging in using the command
> line client and using the 'ALTER USER' SQL statement.  It supports
> encrypting the password as well.

There isn't there the "superuser" user in the postgresql tutos 
database. I think that that the superuser is the user that can to 
administer with php the TUTOS users, objects, etc.


> > > > And can't to login as "demo" with password "guest".
> > > > 
> > > Does it log an error in this case?
> > 
> > Yes. In the tutos error log I can find these messages:
> > -->
> > DateTime:   10.Jun.2007 10:38:32 CEST
> > Errno:  8

..

> > STACKTRACE:
> >   php_error (8,Undefined index:  \
> > Bug,/usr/share/tutos/php/layout/layout.pinc,\
> > 564,Array)

..

> The stacktrace mentions a PHP error.  I would try and track that one
> down first.  Additionally, you might find better help on the debian-isp
> list.  At least, I think you are more likely to find someone actually
> running tutos2 on that list.

I will to do that. Thanks! :)

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



supported hardware accelerated 3D card with OpenGL driver

2007-06-13 Thread csanyipal
Hello!

My system is Etch, with compiled kernel-2.6.18.

I want to by a cheaper (around 160 USD) hardware accelerated 3D videocard 
for which I can to install an OpenGL driver.

I think it will to be some PCI-E nvidia or ati videocard, right?

Any advices will be appreciated!

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: supported hardware accelerated 3D card with OpenGL driver

2007-06-13 Thread csanyipal
Hello Doug!

On Wed, Jun 13, 2007 at 09:44:02AM -0400, Douglas Allan Tutty wrote:
> On Wed, Jun 13, 2007 at 12:01:47PM +0200, csanyipal wrote:
> > My system is Etch, with compiled kernel-2.6.18.
> > 
> > I want to by a cheaper (around 160 USD) hardware accelerated 3D videocard 
> > for which I can to install an OpenGL driver.
> > 
> > I think it will to be some PCI-E nvidia or ati videocard, right?
> > 
> > Any advices will be appreciated!
> > 
> 
> I have an Asus EN7300GT silent (nVidia 7300GT) that uses the stock
> debian nvidia kernel packages (so no compiling the driver).  It will
> work with the 'nv' driver but then you don't get hardware accel.
> 
> It was $60 CDN.
> 
> There are lots of cards around.  What is it you want to do that you need
> acccel 3D?

I want to play FlightGear. But that is not so important.

Actually, I want to use BRL CAD, programming in python, and play some 
games.

Actually, I just want to by a cheap PCI-Express videocard that is 
supported on the Debian Etch system.

I see that Asus EN7300GT silent is an excellent choice, isn't?

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: resizing pictures and EXIF

2007-06-14 Thread csanyipal
Hi!

On Thu, Jun 14, 2007 at 04:07:39PM +0200, Lubos Vrbka wrote:
> hi guys,
> 
> does anyone know good way how to resize jpg pictures and preserve EXIF 
> at the same time, preferably using graphics/imagemagick? it seems that 
> graphicsmagick removes the EXIF information, but maybe there is some 
> option i missed :(

I just resize a 60 jpg images with my bash script (see the attachment).

I open such an image and see the image info: there I can see the EXIF 
information out there: 
Profile-exif: 34883 bytes

and after thet follows a lot of numbers in hexadecimal format.

I don't know about EXIF information, what it is, but I suggest that you 
try my script and resize your pictures (copy them in another directory 
& there resize them!) and after that open such an image with display 
command and see the image info (right click / menu / Image Info)!

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm
#!/bin/sh
mkdir kicsi
for i in `ls`
do
if [ `file $i | grep '.jpg' | wc -l` -eq 1 ]
then
convert -resize 400x300 $i "${i%.jpg}_kicsi.jpg"
mv "${i%.jpg}_kicsi.jpg" kicsi/
fi
done


Re: supported hardware for Debian Etch

2007-06-18 Thread csanyipal
Hello!

On Wed, Jun 13, 2007 at 07:15:36PM -0400, Douglas Allan Tutty wrote:
> On Wed, Jun 13, 2007 at 04:34:26PM +0200, csanyipal wrote:
>  
> > I see that Asus EN7300GT silent is an excellent choice, isn't?
> 
> Works just fine for me; 1600x1200 at 85 Hz (the monitor's limitation)
> with great DVD playback with mostly idle CPU and minimal memory usage,
> with hardware mpeg decoding, blending deinterlace, on vlc.

I want to by now the hardware for my new Debian Etch PC box. This PC 
box I want to use for applications like OpenOffice, for programming in 
Python, for some games like: Balazar..

Now I have the PC box with Intel motherboard with intel 845GL chipset, with 
integrated videocard, CPU Intel Celeron 1.7Ghz, 2GB RAM, 60GB IDE HDD. 
This box I want to use as my home server.

I have too a PC box Pentium 1; this box want I to use as a firewall for 
my LAN.

My vendor give to me a list of hardware for the new desktop box:
---
PSU: TRUST PW-5550 520W Pro PSU Low Noise Big Fan 24pin
MBoard: MSI S775 P965 NEO-F 1066MHz/4XDDRII 800MHz/PCI-E/SATA 
II/7.1ch/GLAN
CPU: LGA775, Intel Core 2 Duo E 6420 2,13GHz/1066/4MB BOX 64bit
RAM: Kingston KVR 512MB DDR2 800MHz CL5 DIMM 64MX64 Non-ECC 240-pin 
Unbuffered DIMM.1.8V
HDD: WD 80GB 7200rpm 8MB 300MB/s 8.9ms Caviar SE SATAII
videocard: Asus nVidia EN7300GT/SILE/HTD/256MB nVidia 
EN7300GT/SILENT/HTD/256M/400MHz/400MHz/PCIe
FDD: NEC FD-1231H. FDD. Ivory Data Transfer Rate 250/125 
kByte/s;Track/Track Acc
UPS: Inform Guard 600A (600VA)/Line Interractive/AVR
switch: D-Link DES-1005D/E 5-Port Fast Ethernet Unmanaged Switch


I ask you about that, that whether is these hardware abowe compatible 
with Debian Etch? (For the videocard the answer is yes.)

Any advices will be appreciated!

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: screenshot

2007-06-20 Thread csanyipal
On Wed, Jun 20, 2007 at 09:09:50PM +0200, Mathias Brodala wrote:
> Hi Frank.
> 
> Frank McCormick, 20.06.2007 20:56:
> > Anybody know of relatively simple software to take screenshots of the
> > dexktop or of windows of applications. Gnome-utils contains a screenshot
> > maker but its a 6 meg download and am 18 meg installation!!

> Try "scrot", it???s extremely small but still provides a lot of functionality.

I use imagemagick for this:
import -frame ~/Images/Screenshots/image_of_the_window_or_frame.jpg

Then I see this image with:
display ~/Images/Screenshots/image_of_the_window_or_frame.jpg

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: supported hardware accelerated 3D card with OpenGL driver

2007-06-21 Thread csanyipal
On Wed, Jun 13, 2007 at 07:15:36PM -0400, Douglas Allan Tutty wrote:
> On Wed, Jun 13, 2007 at 04:34:26PM +0200, csanyipal wrote:
>  
> > I see that Asus EN7300GT silent is an excellent choice, isn't?
> 
> Works just fine for me; 1600x1200 at 85 Hz (the monitor's limitation)
> with great DVD playback with mostly idle CPU and minimal memory usage,
> with hardware mpeg decoding, blending deinterlace, on vlc.

OK 

But someone says that that this card is weak for the modern 3D games, 
isn't?

What about videocard:
MSI nVidia NX7600GS-T2D512EH 400MHz/800MHz/DDR2 128-bit/TV-out&2xDVI/SLI

Is it supported on Debian Etch?

Or, if nobody has this card, then please advise to me a good videocard 
for modern 3D games (like BillardGL, Balazar, etc.), that is supported on 
Debian Etch!

Any advices will be appreciated!

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



nvidia-glx & linux-image-2.6.18-4-486 & a custom linux image?

2007-06-22 Thread csanyipal
Hello!

I want to by a videocard:
MSI nVidia NX7600GS-T2D512EH 400MHz/800MHz/DDR2 128-bit/TV-out&2xDVI/SLI

For this to work, a will to install nvidia-glx debian package.

But, with this package apt will to install:
linux-image-2.6.18-4-486
too.


I have yet a custom linux-image-2.6.18. I don't know, how can I use the 
nvidia-glx with this custom linux-image, or what can I do in this 
situation?

Any advices will be appreciated!

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



compatible UPS

2007-06-22 Thread csanyipal
Hello!

Is this UPS supported by Etch?

Inform Guard 600A (600VA)/Line Interractive/AVR

Any advices will be appreciated!

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: compatible UPS - solved

2007-06-22 Thread csanyipal
On Fri, Jun 22, 2007 at 12:19:13PM +0200, csanyipal wrote:

> Is this UPS supported by Etch?
> 
> Inform Guard 600A (600VA)/Line Interractive/AVR
> 
> Any advices will be appreciated!

Sorry for this mail abowe.
I find this link, which solve my problem:
http://www.apcupsd.org/

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: compatible UPS - solved

2007-06-22 Thread csanyipal
On Fri, Jun 22, 2007 at 11:32:32AM -0500, Hugo Vanwoerkom wrote:
> csanyipal wrote:
> >On Fri, Jun 22, 2007 at 12:19:13PM +0200, csanyipal wrote:
> >
> >>Is this UPS supported by Etch?
> >>
> >>Inform Guard 600A (600VA)/Line Interractive/AVR
> >>
> >>Any advices will be appreciated!
> >
> >Sorry for this mail abowe.
> >I find this link, which solve my problem:
> >http://www.apcupsd.org/
> >
> 
> And that site says that apcupsd supports an Inform Guard 600A?

No, I actually haven't an Inform Guard 600A, but will to by some UPS. 
On that site I find that, that an APC Back-UPS is supported by apcupsd. 
So I decide that, that I should to by such an UPS. :)

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



checkinstall kqemu-1.3.0pre9

2006-11-11 Thread csanyipal
Hello!

I have download the kqemu-1.3.0pre9:
wget http://fabrice.bellard.free.fr/qemu/kqemu-1.3.0pre9.tar.gz

and unpuck it to the /tmp/ directory.

Then i cd to that directory and try:
# ./configure && make && checkinstall

but get the error message:

Selecting previously deselected package kqemu-1.3.0pre9.
(Reading database ... 112958 files and directories currently
installed.)
Unpacking kqemu-1.3.0pre9 (from
.../kqemu-1.3.0pre9_1.3.0pre9-1_i386.deb) ...
dpkg: error processing
/tmp/kqemu-1.3.0pre9/kqemu-1.3.0pre9_1.3.0pre9-1_i386.deb
(--install):
 trying to overwrite `/lib/modules/2.6.8/modules.alias', which is also
in package kernel-image-2.6.8
Errors were encountered while processing:
 /tmp/kqemu-1.3.0pre9/kqemu-1.3.0pre9_1.3.0pre9-1_i386.deb
/var/tmp/qIKmPmJTLcCoULPWGXGa/dpkginstall.log (END)

What can I to do to install with checkinstall the kqemu?

I appreciated any advices!

--
Regards,
Paul


This message was sent using SKS-Webmail.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Setting up a home gateway/router

2014-05-22 Thread csanyipal
Hi,

I wish to set up my home headless power pc box as a gateway/router ( GW ).
I can connect to it with SSH only.

Before, I set up this GW to get an IP address from my ISP with
dhcp.client.

Now, I ask a static IP address for this GW and don't know how to setup
eth0 interface so I can connect to Internet from this GW and to forward
Internet connection to my LAN.

My ISP
  |
  --- eth0 ( GW ) --- eth1
|
LAN

This is my home network that I want to set up.

The state of this setup so far is that that I can SSH into GW only, but
can't reach the Internet, and from LAN I can't reach Internet too.

Can I get advices how to setup my home network?

--
Regards, from Paul


-- 
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/87mwe9ay8k@gmail.com



Re: Setting up a home gateway/router

2014-05-23 Thread csanyipal
Hi Vincent,

"Vincent W. Chen"  writes:

> On Thu, May 22, 2014 at 9:57 PM,   wrote:
>> I wish to set up my home headless power pc box as a gateway/router ( GW ).
>> I can connect to it with SSH only.
>>
>> Before, I set up this GW to get an IP address from my ISP with
>> dhcp.client.

Before eth0 had dynamically assigned IP addresses that it get from my
ISP with dhcp3.client. Now I don't have dhcp3 client installed on GW. I
removed it.

>> Now, I ask a static IP address for this GW and don't know how to setup
>> eth0 interface so I can connect to Internet from this GW and to forward
>> Internet connection to my LAN.
>>
> Do you mean that eth0 on GW has a static IP address? If so, you
> probably have to modify /etc/network/interfaces for eth0, e.g.

Yes, I mean that now, eth0 has a static IP address, that is:
217.17.111.173 specifically assigned to MAC address of eth0 interface.
My ISP set this up on his side. At home, I have only a Cable modem. To
this Cable Modem is connected the GW ( my headless power pc box ) with
eth0 interface. I don't have ( I think ) IPv6.

So I tried with this setup:
iface eth0 inet static
 address 217.17.111.173
 netmask 255.255.255.0

> iface eth0 inet static
> address 192.168.0.1
> netmask 255.255.255.0
>
> # If you have IPv6
> iface eth0 inet6 static
> address ::1
> netmask 64
>
> Change the IP address / netmask to your own.
>
>> My ISP
>>   |
>>   --- eth0 ( GW ) --- eth1
>> |
>> LAN
>>
>> This is my home network that I want to set up.
>>
>> The state of this setup so far is that that I can SSH into GW only, but
>> can't reach the Internet, and from LAN I can't reach Internet too.
>>
>> Can I get advices how to setup my home network?
>>
> You have to allow forwarding from your LAN to the outside internet. In
> /etc/sysctl.conf, enable
>
> net.ipv4.ip_forward=1

I have this already set.

> # If you have IPv6
> net.ipv6.conf.all.forwarding=1
>
> There may be other options in /etc/sysctl.conf that you'd want to
> change. Read the associated comments and manpages.
>
> If you are setting up a gateway, you might want to look into the
> firewall iptables/ip6tables. The standard procedure is to drop all
> packets, allowing only specific ones to pass through.

I'm using Shorewall on my GW ( headless power pc ).

--
Regards, from Paul


-- 
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/87vbswldf0@gmail.com



Re: Setting up a home gateway/router

2014-05-23 Thread csanyipal
Curt  writes:

> On 2014-05-23, Pascal Hambourg  wrote:
>
>>> Do you mean that eth0 on GW has a static IP address?
>>
>> No, the OP wrote that internet-facing eth0 has a DHCP address from the ISP.
>
> I understood that *before* he had a DHCP address from his ISP, but *now*
> he has a static address (only mentioning what he had before to sow
> confusion in the ranks :-)).

Exactly.

> Or perhaps he had it working before, with the dynamic ip address, but not now,
> with the static one.

Exactly.


-- 
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/87ppj4ld88@gmail.com



Re: Setting up a home gateway/router

2014-05-23 Thread csanyipal
csanyi...@gmail.com writes:

> So I tried with this setup:
> iface eth0 inet static
>  address 217.17.111.173
>  netmask 255.255.255.0

but it doesn't work.

Say, the output of the command 'ping gnu.org' is:
ping: unknown host gnu.org

>>> My ISP
>>>   |
>>>   --- eth0 ( GW ) --- eth1
>>> |
>>> LAN
>>>

The LAN part of my home network works, I have setup a DHCPD server for
eth1 interface. I can connect from LAN to my GW with SSH client.

--
Regards, from Paul


-- 
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/87ioowlcfo@gmail.com



Re: Setting up a home gateway/router

2014-05-23 Thread csanyipal
Ron Leach  writes:

> On 23/05/2014 16:52, csanyi...@gmail.com wrote:
>> csanyi...@gmail.com writes:
>>
>>> So I tried with this setup:
>>> iface eth0 inet static
>>>   address 217.17.111.173
>>>   netmask 255.255.255.0
>>
>> but it doesn't work.
>>
>> Say, the output of the command 'ping gnu.org' is:
>> ping: unknown host gnu.org
>>
> My ISP
>|
>--- eth0 ( GW ) --- eth1
>  |
>  LAN
>
>>
>> The LAN part of my home network works, I have setup a DHCPD server for
>> eth1 interface. I can connect from LAN to my GW with SSH client.
>>
>
> That reply is reporting a DNS failure - its causes could be
> various. Is basic connectivity working, at all, beyond the GW?  Here's
> how to find out.
>
> I suggest, instead, that you try:
>
> ping 8.8.8.8
>
> which is Google's DNS service machine.
>
> Report back if you can ping.  Include reports back when trying from
> (a) the GW device, and
> (b) a LAN device

When ping 8.8.8.8 from:

a) GW device
connect: Network is unreachable

b) LAN device
ping -c 3 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
>From 192.168.10.1 icmp_seq=1 Destination Net Unreachable
>From 192.168.10.1 icmp_seq=2 Destination Net Unreachable
>From 192.168.10.1 icmp_seq=3 Destination Net Unreachable

--- 8.8.8.8 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 1998ms

less /etc/resolv.conf
nameserver 91.102.231.242
nameserver 91.102.231.241

--
Regards, from Paul


-- 
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/87d2f4l57j@gmail.com



Re: Setting up a home gateway/router

2014-05-24 Thread csanyipal
Mike McGinn  writes:

> Comments below
> On Friday, May 23, 2014 11:52:43 csanyi...@gmail.com wrote:
>> csanyi...@gmail.com writes:
>> > So I tried with this setup:
>> > iface eth0 inet static
>> > 
>> >  address 217.17.111.173
>> >  netmask 255.255.255.0
>> 
>> but it doesn't work.
> I built a gateway / router / vpn / firewall at work using Debian Squeeze. The 
> first thing I noticed is that you did not define a gateway for eth0. That 
> could be your problem. This is normally defined for you by the dhcp server, 
> so 
> you would have not needed it before, but you probably need it now.

Yes, I thought as much, but don't know which IP address to add as a
default gateway in my case?

The command should look like this:
# route add -net 10.0.0.0 netmask 255.0.0.0 gw 192.168.0.1 dev eth0
   ???

but what IP address should I add into this command?

--
Regards, from Paul


-- 
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/87mwe7scj2@gmail.com



Re: Setting up a home gateway/router

2014-05-24 Thread csanyipal
Reco  writes:

> On Sat, 24 May 2014 12:21:05 +0200
> csanyi...@gmail.com wrote:
>
>> Yes, I thought as much, but don't know which IP address to add as a
>> default gateway in my case?
>> 
>> The command should look like this:
>> # route add -net 10.0.0.0 netmask 255.0.0.0 gw 192.168.0.1 dev eth0
>>    ???
>> 
>> but what IP address should I add into this command?
>
> As others wrote you, you need a default gateway.
> A static route for 10.0.0.0/8 network won't do you any good as your
> home router is unable to communicate with the outside world.
>
> Assuming that your 217.17.111.173/24 address on eth0 is correct, you
> probably need to set up default gateway as 217.17.111.1 (and you really
> should check it with your ISP, they are the only ones who know this).

I just mail to my ISP and admins will help me but only on monday. :(

> So, forget this 'route' stuff, just add 'gateway 217.17.111.1' to
> your /etc/network/interfaces, bounce eth0, see how it goes.

Well, I just tried that, but without success.

/etc/network/interfaces
---

auto eth0
iface eth0 inet static
  address 217.17.111.173
  netmask 255.255.255.0
  gateway 217.17.111.1

# ifdown eth0
# ifup eth0

$ ping 8.8.8.8

I get the following output:

PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
>From 217.17.111.173 icmp_seq=1 Destination Host Unreachable

Can I do anything to setup my home network or must to wait monday for
ISP's admins?

--
Regards, from Paul


-- 
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/87fvjzs4ur@gmail.com



Re: Setting up a home gateway/router

2014-05-24 Thread csanyipal
Reco  writes:

>  Hi.
>
> On Sat, 24 May 2014 15:06:52 +0200
> csanyi...@gmail.com wrote:
>
>> Well, I just tried that, but without success.
>
> /24 net allows 256 addresses. You've tried one (and is using another
> one), so it's 254 to go.
>
> As I wrote, if you don't want to guess - check with your ISP.

Well, I tried the default gateway with IP address:
217.17.111.1
and
217.17.111.254

None of them works. I rebooted every time when changed the default gw
address.

On both case I get the error message:
$ ping -c 3 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
>From 217.17.111.173 icmp_seq=3 Destination Host Unreachable

--- 8.8.8.8 ping statistics ---
3 packet transmitted, 0 received, +1 errors, 100% packet loss, time
2017ms

Also, I get no documentation else with the static IP address from my ISP
but that that I get the static IP address 217.17.111.173 for the NIC
with the specific MAC address that I don't wrote down here.

Thank you all for help.

--
Regards, from Paul


-- 
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/87a9a7rxi8@gmail.com



Re: Setting up a home gateway/router

2014-05-24 Thread csanyipal
Pascal Hambourg  writes:

> csanyi...@gmail.com a écrit :
>> Reco  writes:
>> 
>>>
>>> /24 net allows 256 addresses. You've tried one (and is using another
>>> one), so it's 254 to go.
>
> Less. .0 and .255 are reserved as network and broadcast addresses.
>
>> Also, I get no documentation else with the static IP address from my ISP
>> but that that I get the static IP address 217.17.111.173 for the NIC
>> with the specific MAC address that I don't wrote down here.
>
> Is it really static or DHCP with a reservation for your MAC address ?
> In the latter case, revert to DHCP and you'll get all the required
> parameters (address, netmask, gateway, DNS) automatically.

The problem is solved now.

It is not really static but DHCP with a reservation for my MAC address.

I mentioned before maybe that, that I removed the dhcp-client
program. Now, I installed it again. Fortunately, I don't removed it from
/var/cache/apt/archives/ directory.

In /etc/network/interfaces I have now

allow-hotplug eth0
iface eth0 inet dhcp

I tried the commands in on command line:

# service networking stop && service networking start

but this freezes the situation; I waiting 2 minutes and after that I
power off and then power on the GW machine.

After that I can login to it with SSH and can see that everything works.

So the problem is solved. Thank you all for help.

However, in this case ISP's closes all ports, but 80.
So, now I have open port 80 only.

But, if I want to setup on this server an LDAP server, then there must
be opened other port too.

Well, one is depend on her/his ISP very much.

--
Regards, from Paul


-- 
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/8738fzrmap@gmail.com



Compiling kernel from Github - Howto?

2015-01-17 Thread csanyipal
Hi,

I have a headless powerpc box and run on it Debian Wheezy with kernel
Linux b2 3.2.62-1 #1 Mon Aug 25 04:22:40 UTC 2014 ppc GNU/Linux .

But this kernel doesn't have support for the rtl8192cu kernel-module.

One can to get the kernel source from here:
https://github.com/Excito/community-b3-kernel .

I did so with the command:
git clone https://github.com/Excito/community-b3-kernel.git

I get the community-b3-kernel/ dorectory with a lot of subdirectories,
so I actually don't know where to find the directory with the 3.2.62-1
kernel source?

If I can find it, from there I can compile the kernel with the wnated
module.

Any advices will be appreciated!

--
Regards, from Pál


-- 
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/87iog5v3ic@gmail.com



Re: Compiling kernel from Github - Howto?

2015-01-17 Thread csanyipal
Gary Dale  writes:

> On 17/01/15 10:19 AM, csanyi...@gmail.com wrote:

>> I have a headless powerpc box and run on it Debian Wheezy with kernel
>> Linux b2 3.2.62-1 #1 Mon Aug 25 04:22:40 UTC 2014 ppc GNU/Linux .
>>
>> But this kernel doesn't have support for the rtl8192cu kernel-module.
>>
>> One can to get the kernel source from here:
>> https://github.com/Excito/community-b3-kernel .
>>
>> I did so with the command:
>> git clone https://github.com/Excito/community-b3-kernel.git
>>
>> I get the community-b3-kernel/ dorectory with a lot of subdirectories,
>> so I actually don't know where to find the directory with the 3.2.62-1
>> kernel source?
>>
>> If I can find it, from there I can compile the kernel with the wnated
>> module.
>>
>> Any advices will be appreciated!
>>
> Before compiling a custom kernel, I'd check with RealTek to see if
> they have a package for Debian that you can install.
>
On my headless powrpc box with Wheezy system when I run:
aptitude search firmware-realtek
I get:
i   firmware-realtek

So for my ZyXEL NWD2205 Wireless adapter I have installed the proper
driver, right?


-- 
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/87egqswopg@gmail.com



Re: Compiling kernel from Github - Howto?

2015-01-22 Thread csanyipal
csanyi...@gmail.com writes:

> Gary Dale  writes:
>
>> On 17/01/15 10:19 AM, csanyi...@gmail.com wrote:
>
>>> I have a headless powerpc box and run on it Debian Wheezy with kernel
>>> Linux b2 3.2.62-1 #1 Mon Aug 25 04:22:40 UTC 2014 ppc GNU/Linux .
>>>
>>> But this kernel doesn't have support for the rtl8192cu kernel-module.
>>>
>>> One can to get the kernel source from here:
>>> https://github.com/Excito/community-b3-kernel .
>>>
>>> I did so with the command:
>>> git clone https://github.com/Excito/community-b3-kernel.git
>>>
>>> I get the community-b3-kernel/ directory with a lot of subdirectories,
>>> so I actually don't know where to find the directory with the 3.2.62-1
>>> kernel source?

I think so so one can run int the root directory ( in this case it is
community-b3-kernel/ directory ) the following command:

make menuconfig

but then I get the menuconfig with the header:

.config - Linux/powerpc 3.2.63 Kernel Configuration

This is not the right kernel source for me, what I want.

If I run the command:
git tag -l

I get:

debian/1%3.2.62-1
upstream/3.2.62
upstream/3.2.63

I think what I want is compiling the debian/1%3.2.62-1 kernel.
In this case what should I do to get the right debian-3.2.62-1 kernel?

--
Regards, from Pál


-- 
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/87r3unum8e@gmail.com



Re: In menuconfig when Load an Alternate Configuration File, can't enter the file name

2015-03-01 Thread csanyipal
Ric Moore  writes:

> On 03/01/2015 12:55 AM, Csányi Pál wrote:
>> I'm compiling a custom kernel for my Debian Wheezy operating system.
>>
>> In menuconfig when Load an Alternate Configuration File, can't enter
>> the file name.
>> The cursor blinking in the field but can't enter any letter.
>>
>> How can I solve this problem?
>>
> Are you root user? You might need root privs to change system things. :) Ric

It is irrelevant whether I start menuconfig as root or not root.
The yellow cursor blinks in that field and none of the keys can it moves
to the left, and neither Del, nor BackSpace can to delete the default
text in it, the '.config' string.

-- 
Regards from Pal


-- 
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/871tl84xjp@gmail.com



Re: In menuconfig when Load an Alternate Configuration File, can't enter the file name

2015-03-01 Thread csanyipal
Sven Hartge  writes:

> Ric Moore  wrote:
>> On 03/01/2015 12:55 AM, Csányi Pál wrote:
>
>>> I'm compiling a custom kernel for my Debian Wheezy operating system.
>>>
>>> In menuconfig when Load an Alternate Configuration File, can't enter
>>> the file name.  The cursor blinking in the field but can't enter any
>>> letter.
>>>
>>> How can I solve this problem?
>
>> Are you root user? You might need root privs to change system things.
>> :) Ric
>
> You don't need to be and you should not be logged in as root to
> configure or compile a kernel.

Exactly. I know that. Still, the problem exist, regardless of what user
( none root or root ) start the menuconfig, this field can't be edited
here. 

-- 
Regards from Pal


-- 
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/87vbik3f8v@gmail.com



Re: In menuconfig when Load an Alternate Configuration File, can't enter the file name

2015-03-02 Thread csanyipal
Sven Hartge  writes:

> csanyi...@gmail.com wrote:
>> Sven Hartge  writes:
>
>>> You don't need to be and you should not be logged in as root to
>>> configure or compile a kernel.
>
>> Exactly. I know that. Still, the problem exist, regardless of what
>> user ( none root or root ) start the menuconfig, this field can't be
>> edited here. 
>
> I cannot reproduce your problem here, regardless of what terminal type I
> use (xterm, rxvt, terminator, screen, ...). Can you try on a different
> system? Maybe something is really really wonky with the one you are
> using right now.

I copy from my headless Power PC box the source directory and cannot
reproduce the problem neither I.

So, what colud be the problem on my headless box?
As I sed, I'm running on it Debian GNU/Linux Wheezy system.

-- 
Regards from Pal


-- 
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/87a8zvxzz9@gmail.com



Re: In menuconfig when Load an Alternate Configuration File, can't enter the file name

2015-03-02 Thread csanyipal
csanyi...@gmail.com writes:

> Sven Hartge  writes:
>
>> csanyi...@gmail.com wrote:
>>> Sven Hartge  writes:
>>
 You don't need to be and you should not be logged in as root to
 configure or compile a kernel.
>>
>>> Exactly. I know that. Still, the problem exist, regardless of what
>>> user ( none root or root ) start the menuconfig, this field can't be
>>> edited here. 
>>
>> I cannot reproduce your problem here, regardless of what terminal type I
>> use (xterm, rxvt, terminator, screen, ...). Can you try on a different
>> system? Maybe something is really really wonky with the one you are
>> using right now.
>
> I copy from my headless Power PC box the source directory and cannot
> reproduce the problem neither I.

I copy it to my desktop machine and on it menuconfig works as expected,
I can change the name of .config file in the Field.

> So, what colud be the problem on my headless box?
> As I sed, I'm running on it Debian GNU/Linux Wheezy system.

-- 
Regards from Pal


-- 
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/87oaobmjhj@gmail.com



Recompiling debian kernel

2015-03-05 Thread csanyipal
Hi,

I'm trying to recompile the installed kernel on my headless power PC
box. On this box I'm running Debian GNU/Linux Wheezy system.

uname -a
Linux b2 3.2.62-1 #1 Mon Aug 25 04:22:40 UTC 2014 ppc GNU/Linux

I have downloaded kernel source from here:
https://github.com/Excito/community-b3-kernel.git

with the command:
git clone https://github.com/Excito/community-b3-kernel.git

Then I grab the config straight from /boot
that is I copied it from /boot/.config to the source directory:
cp /boot/config-3.2.62-1 community-b3-kernel/

Then I
make oldconfig

and after that
make menucionfig

and here I set the module for
Realtek RTL8192CU/RTL8188CU USB Wireless Network Adapter

Then I execute
make
to build the kernel, and

sudo make modules_install

dpkg-buildpackage -us -uc -b -apowerpc

but at these last step I get an error message:
make[2]: Leaving directory
`/home/csanyipal/BubbaKernelek/LeforditottKernelek/\
Community-b3-kernel/community-b3-kernel/debian/build/source'
dtc -b 0 -V 17 -R 4 -S 0x3000 -I dts -O dtb -f debian/dts/bubba.dts >
debian/dts/bubba.dtb
/bin/sh: 1: cannot create debian/dts/bubba.dtb: Directory nonexistent
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory
`/home/csanyipal/BubbaKernelek/LeforditottKernelek/\
Community-b3-kernel/community-b3-kernel'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

What should I do to solve this problem?

-- 
Regards from Pal



-- 
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/87mw3rvdfe@gmail.com



Re: Wireless AP setup: RTL8188CUS

2015-03-25 Thread csanyipal
László Kohári  writes:

> Dear Pal, Dear Debian users,
>
> Did you able to find something with this problem?
> I have an RTL8192CU, but I'm not able to m make it work.
>
> It's working as a client, but not as an Access point.
>
> If I try to start hostapd with minimal config I got the following:
>
> "Could not open file /sys/class/net/wlan0/phy80211/name: No such file
> or directory"
>
> May I ask for some kind if tutorial if possible?

I did not able to find a solution.
However, maybe you find here the solution:
http://sirlagz.net/2012/08/09/how-to-use-the-raspberry-pi-as-a-wireless-access-pointrouter-part-1/

-- 
Regards from Pal


-- 
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/87bnjg6ekd@gmail.com



  1   2   >