Re: How do I unconfuse dpkg?

2003-03-11 Thread Rob Weir
On Mon, Mar 10, 2003 at 06:09:37PM -0700, Paul Scott wrote:
> How do I clean this up:?
> 
> joy:/home/paul# apt-get -f install
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Correcting dependencies... Done
> The following extra packages will be installed:
>   xlibmesa3-glu
> The following NEW packages will be installed:
>   xlibmesa3-glu
> 0 packages upgraded, 1 newly installed, 0 to remove and 1  not upgraded.
> 2 packages not fully installed or removed.
> Need to get 0B/259kB of archives. After unpacking 614kB will be used.
> Do you want to continue? [Y/n]
> (Reading database ... 114776 files and directories currently installed.)
> Unpacking xlibmesa3-glu (from .../xlibmesa3-glu_4.2.1-6_i386.deb) ...
> dpkg: error processing 
> /var/cache/apt/archives/xlibmesa3-glu_4.2.1-6_i386.deb (--unpack):
>  trying to overwrite `/usr/lib/libGLU.so.1', which is also in package 
> mesag3-glide2
> Errors were encountered while processing:
>  /var/cache/apt/archives/xlibmesa3-glu_4.2.1-6_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)

That's a bug in on of mesag3-glide2 or xlibmesa3-glu, they shouldn't
contain the same file.  Check the BTS to see if someone has reported it
or not yet.  You can force dpkg to install it anyway, thusly:
$ dpkg -i --force-overwrite file.deb

where file.deb is the package you want to force in.

-- 
Rob Weir <[EMAIL PROTECTED]>http://ertius.org/


pgp0.pgp
Description: PGP signature


Re: How can Iset an odd X resolutin?

2003-03-11 Thread stan
On Tue, Mar 11, 2003 at 11:41:37AM +0100, Eduard Bloch wrote:
> #include 
> David Z Maze wrote on Mon Mar 10, 2003 um 11:42:41PM:
> 
> > Section "Screen"
> > Identifier "Screen0"
> > Device "Card0"
> > Monitor "Monitor0"
> > DefaultDepth 8
> > SubSection "Display"
> >Depth 8
> >Modes "1152x900"
> > EndSubSection
> > EndSection
> 
> Without luck, you will also need a modeline since this one looks too odd be
> available in X's default list. Use videogen to create one and add it to your
> monitor section. See "man XF86Config-4" for details.
> 

Never mind. dselect found it.

Thansk.
-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin


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



Re: apt sources.list problem

2003-03-11 Thread Rob Weir
On Sun, Mar 09, 2003 at 06:53:55PM +0530, Bhushan Kulkarni wrote:
> Hi ,
>   I am using Debian Woody 3.0 r1 .My problem is below
> when i cat /etc/apt/sources.list it shows me following output
> 
> # CDROMs are managed through the apt-cdrom tool.
> deb cdrom:[Debian GNU/Linux 3.0 r1 _Woody_ - Official i386 Binary-3
> (20021218)]/ unstable contrib main non-US/contrib non-US/main
>
> deb cdrom:[Debian GNU/Linux 3.0 r1 _Woody_ - Official i386 Binary-2
> (20021218)]/ unstable contrib main non-US/contrib non-US/main
> deb cdrom:[Debian GNU/Linux 3.0 r1 _Woody_ - Official i386 Binary-1
> (20021218)]/ unstable contrib main non-US/contrib non-US/main
>  
>Why there is unstable and not stable ??
> Is this implies that i am using unstable packages ??
> Please Help me .

Gah, that's odd.  Where did you get these CDs from?  Sounds like you
either accidentally changed it or so, or else they're rather poorly made
CDs.

-- 
Rob Weir <[EMAIL PROTECTED]>http://ertius.org/


pgp0.pgp
Description: PGP signature


Re: Installer that supports 3ware raid

2003-03-11 Thread Rob Weir
Sorry for replying so late, I somehow missed your message till I started
cleaning out old messages in my d-u folder...

On Thu, Feb 13, 2003 at 01:08:23PM -0500, lloyd wrote:
> On Thu, 13 Feb 2003 16:50:08 +1100
> Rob Weir <[EMAIL PROTECTED]> wrote:
> 
> > > Can someone give me the URL of a Debian installer CD that will
> > > detect and install onto a system that has *only* 3ware IDE RAID
> > > storage?
> > 
> > Don't the bf2.4 support this?  Don't forget to build/download a proper
> > kernel once you've installed.
> 
> I'm not sure I get it - when you say "once you've installed" - 

I just meant to install a full featured kernel once you have installed
the Debian base system.  The bf2.4 kernels are missing a number of
important things that are unnecessary for the install...

> it seems
> I'm unable to install the kernel without first having some disk space
> available - but since the installer can't see my 3ware IDE RAID
> controller, I don't have any disk space to give it.  (This is when I'm
> using the official Debian net installation CD.)

Ooooh, OK.

> Do I need a specific installer that has support for the controller?  Or
> can I enable support in the installer durin the install process?  I did
> find a 3w- driver by switching to another terminal, but I don't know
> if it loaded properly, and in RAID1 mode.  I want to be sure I don't
> hose my RAID array since I already have two other OS's on there that I'm
> actively using.  (When partitioning my drive I left an empty 20GB
> partition for an eventual Debian install - this will be my first.)

Do you know which versions of Linux support these 3ware cards? I don't
know anything about that at all, sorry.  A possibly simpler solution is
to get an old and small hard rive from somewhere, install the Debian base
system on it, plug it in to your computer and boot into it...build a
kernel that supports the 3ware RAID controller on it, and then follow
these instructions to install the Debian bases system on your array:
http://people.debian.org/~walters/chroot.html.  It's annoying and
fiddly, but it should work.

I'm sure someone out there has made a boot floppy that will boot with
that controller; if you can find one, you could quite easily use that to
start the Debian installer, then just go through the normal install with
it.  I've no idea where though, sorry again.

-- 
Rob Weir <[EMAIL PROTECTED]>http://ertius.org/


pgp0.pgp
Description: PGP signature


Re: Ext3

2003-03-11 Thread Rémi Letot
Metnetsky <[EMAIL PROTECTED]> writes:

> I'm trying to install Debian, and was wondering how to use the ext3
> File-System as opposed to ext2?  The installer defaults me into cfdisk
> which only has ext2/swap as far as I can see.  Suggestions?  Oh yeah,
> I'm using the Debian-30r1 for i386 gotten a few days ago from a Debian
> mirror.  Thanks in advance,

If the installer doesn't select the 2.4 kernel automatically, start
with bf24 at the boot prompt. Then use cfdisk to partition your disks
(use the "linux" type for data and swap for...swap :-), don't bother
now for the choice of filesystem). Afterwards you initialize swap, and
then you initialize linux partitions, and there you choose between
ext3, ext2, or reizer. 

Note that the 2.2 kernel only supports ext2, so if you don't see the
ext3 choice, that's because you booted with a 2.2 kernel.

HTH,
-- 
Rémi


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



Re: compilation problems

2003-03-11 Thread Rob Weir
On Sat, Mar 08, 2003 at 10:20:30PM +0100, Christian Fuchs wrote:
> Dear Debian Community,
> 
> I just installed Debian 3.0.0r0 from the set of 7 cd's and I am very
> excited about it 
> (and a new user to debian).
> 
> I have, however a problem compiling any kind of C - Files.
> 
> I first tried compiling the kernbel source and got errors; then i write
> a small 
> hello-word program and i also got the same compilation errors.

Have you installed build-essential?  This package pulls in the basic
stuff needed for compiling C and C++ programs.  It's the absolute
minimum that you need for, funnily enough, compiling 'Hello World' :)
> 
> The output is attached below.
> 
> I think that this woudl eb a package misselection i did during the
> system install, but I 
> cannot think of which package that might be. Can anyone give me a hint
> of what to 
> try?
> 
> ===Cut===
> File: test.c
> 
> #include 
> 
> void main (void) {
>   printf("hello world!");
> }
> ===Cut===
> Output compilation errors test.c
> 
> In file included from /usr/include/sys/types.h:132,
> from /usr/include/stdlib.h:390,
> from test.c:1:
> /usr/include/time.h:82: parse error before `clockid_t'
> /usr/include/time.h:82: warning: data definition has no type or storage
> class
> /usr/include/time.h:94: parse error before `timer_t'
> /usr/include/time.h:94: warning: data definition has no type or storage
> class
> In file included from /usr/include/sys/types.h:215,
> from /usr/include/stdlib.h:390,
> from test.c:1:
> /usr/include/sys/select.h:49: parse error before `suseconds_t'
> /usr/include/sys/select.h:49: warning: data definition has no type or
> storage class
> /usr/include/sys/select.h:55: conflicting types for `__fd_mask'
> /usr/local/include/bits/types.h:89: previous declaration of `__fd_mask'
> test.c: In function `main':
> test.c:3: warning: return type of `main' is not `int'
> ===Cut===

Woah, weird.  I'd say it's missing packages.  Try installing
build-essential and try again; if it still doesn't work, email the list
again.

-- 
Rob Weir <[EMAIL PROTECTED]>http://ertius.org/


pgp0.pgp
Description: PGP signature


Re: libc6: did it move from unstable to testing?

2003-03-11 Thread Rob Weir
On Sun, Mar 09, 2003 at 07:30:11AM -0500, Kevin Coyner wrote:
> Sorry for the detailed and probably somewhat obvious question, but I
> switched over to Debian last summer, and am loving it.  But this is the
> first time I've encountered this type of situation where a testing
> package upgrade (libc6) caused an incompatitibility with another testing
> package, in the case php4.  Perhaps that's why they call it testing?

Yup.  Perhaps the most important list it was mentioned on (for our
purposes) is debian-devel-announce, which announces various important
Debian Development-related things.  It's maybe a message a week, so no
one has any excuse for not subscribing to it :)

-- 
Rob Weir <[EMAIL PROTECTED]>http://ertius.org/


pgp0.pgp
Description: PGP signature


Re: wtf? (long and frustrated)

2003-03-11 Thread Rob Weir
On Mon, Mar 10, 2003 at 02:02:21PM -0600, Kent West wrote:
> It sounds like you're running XFree86 3.x; I think upgrading to 4.x 
> would be of benefit to you. Of course, the easiest way to do that is to 
> leave Woody behind and go for Sid or Testing. I run Sid on my 

Huh?  Woody has X4.1, and it is in fact the default X system that
tasksel installs.  If you want X4.2, then both sarge and sid have it.
Also, you can get Eduard's backport of X 4.2 to woody from this URL:
http://people.debian.org/~blade/woody/.  I've not used it (I use sid),
but I've seen many people use it succesfully...

-- 
Rob Weir <[EMAIL PROTECTED]>http://ertius.org/


pgp0.pgp
Description: PGP signature


Re: How can Iset an odd X resolutin?

2003-03-11 Thread stan
On Tue, Mar 11, 2003 at 11:41:37AM +0100, Eduard Bloch wrote:
> #include 
> David Z Maze wrote on Mon Mar 10, 2003 um 11:42:41PM:
> 
> > Section "Screen"
> > Identifier "Screen0"
> > Device "Card0"
> > Monitor "Monitor0"
> > DefaultDepth 8
> > SubSection "Display"
> >Depth 8
> >Modes "1152x900"
> > EndSubSection
> > EndSection
> 
> Without luck, you will also need a modeline since this one looks too odd be
> available in X's default list. Use videogen to create one and add it to your
> monitor section. See "man XF86Config-4" for details.

Thanks for the helpful reoly.

However, I'm afraid I need a bit bigger clue. I can't seem to find a man
page (or executable) for videogen on my machine. Searching through the
XF86Config-4 man page for videogen also came up blank. 

This tool sounds exaclty like what I need though. Do I need to add a
package to my machien to get this utility?
-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin


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



Changing X resulution (Ctrl-Alt-+/-), only using a command-linetool ???

2003-03-11 Thread Mark Janssen
Hi List.

I know I can change the X11 resolution using the Ctrl-Alt-(Numerical+/-)
buttons. However, on my Happy Hacking keyboard, and my laptop I don't
have a numerical keypad, and the regular + and - buttons don't work in
this regard.

Does anyone know a tool or program to change the resulution from within
an X session. Wine has a tendency to change resolutions sometimes
without changing them back on termination... and working in a 640x480
screen with a huge virtual desktop isn't really handy :)

-- 
Mark Janssen -- maniac(at)maniac.nl -- GnuPG Key Id: 357D2178
Unix / Linux, Open-Source and Internet Consultant @ SyConOS IT
Maniac.nl Unix-God.Net|Org MarkJanssen.org|nl SyConOS.com|nl




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



Re: Ext3

2003-03-11 Thread Organ Grinder
Hi

If you use the debian 20r1 CD1, when it brings up the first install 
screen, press F3 (for more options!?, cant remember) then choose bf24, 
it comes with ext3 support so all your partitions can be ext3 :)

   - Regards -

Organ Grinder

Metnetsky wrote:

I'm trying to install Debian, and was wondering how to use the ext3
File-System as opposed to ext2?  The installer defaults me into cfdisk
which only has ext2/swap as far as I can see.  Suggestions?  Oh yeah,
I'm using the Debian-30r1 for i386 gotten a few days ago from a Debian
mirror.  Thanks in advance,
~ Metnetsky



 



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



Re: Ethernet problems: old 3c509b card is having overrun and errors

2003-03-11 Thread Jason M. Harvey
On Tue, 2003-03-11 at 05:03, Calyth wrote:
> I've been using 3c509b cards before, but it seems that this one, at a 
> uptime of 8 days, as a samba server, it have encountered 182 errors and 
> 185 overruns upon receiving 838.6 "MiB" (excuse my ignorance, but I 
> can't recall what MiB means. It has to be something bytes, but what?)
> Anyways, I was reading the Ethernet HOWTO, and it suggested me to change 
> the window size using the route command. According to that HOWTO, 
> linux's default TCP Rx window is set to 32KB, and I've reset it to half 
> the size. I'm waiting to see if anything improves.
> Has anyone ran into the same problem, and if so did anything you do that 
> effectively solves it? I'd be glad to hear.
> Also, is there a way to use two network cards in this (pretty much 
> crippled) server so that it would have better "speed", for a lack of a 
> better term. Again, I'm using it as a Samba server, and neither the HD 
> nor the network card seems to be fully utilized - the activity lights 
> are busts - so I don't quite believe that it being a 486 with 32MB of 
> RAM is truly the problem. I'm aware of ways that software could make 
> other computers think that two NIC as one, is there anything like that 
> that I could use in this case?
> Thanks in advance.
> 
> Calyth

actually, i had the same exact problem! mine was an isa 3com, i think
the 3c509c... not sure. anyway, i was takining massive errors - the same
as you. i tested some downloads - got about 7 to 9 k from kernel.org.
changed the cable, no help. then the local shop sold me a used smc isa
card for $5 - no more problems! those same downloads then came at about
170 k (cable) during busy hours!
sounds like a card problem.

good luck,
jason


-- 
Jason M. Harvey
[EMAIL PROTECTED]
http://www.jharv.com


signature.asc
Description: This is a digitally signed message part


Re: Ext3

2003-03-11 Thread Jamin W. Collins
On Tue, Mar 11, 2003 at 07:43:37AM -0500, Metnetsky wrote:

> I'm trying to install Debian, and was wondering how to use the ext3
> File-System as opposed to ext2?  The installer defaults me into cfdisk
> which only has ext2/swap as far as I can see.

You don't choose the partition's file system until after partitioning
the drive.  The installation refers to it as "Initializing a Linux
Partition".  You should be prompted for the file systems supported by
the kernel used to boot the install process.  By default, I believe this
is a 2.2.20 kernel without ext3 support.  If you're booting from CD, try
the bf24 boot option (listed under the F3 menu).  This should boot with
a 2.4.18 kernel that provides support for ext2, ext3, and ReiserFS.

-- 
Jamin W. Collins


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



Re: C, math.h and globals

2003-03-11 Thread Nicolas Kratz
man y1

-- 
Nicolas Kratz   |   GPG-key: 1D6D075A
<[EMAIL PROTECTED]>|   Never touch a running sysop,
<[EMAIL PROTECTED]>   |   or your wife is a big hippo.


pgp0.pgp
Description: PGP signature


Re: Apache Not Serving Up Documents

2003-03-11 Thread Brian Clark
* Joseph A Nagy Jr ([EMAIL PROTECTED]) [Mar 11. 2003 00:41]:

> Brian Clark wrote:

> >telnet jan-jr-ent.homelinux.org 80

..snip..

> [EMAIL PROTECTED]:~$ telnet jan-jr-ent.homelinux.org 80
> Trying 24.158.191.171...
> telnet: Unable to connect to remote host: Connection refused
> [EMAIL PROTECTED]:~$

What happens when you try to access it from that machine
(24.158.191.171)?

Try the same thing using 127.0.0.1 and see if you still get Connection
refused.

-- 
Brian Clark | Debian GNU/Linux: 3950 packages to keep you busy.
Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8
I live in my own little world, but it's ok, they know me here.


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



Re: How can Iset an odd X resolutin?

2003-03-11 Thread stan
On Tue, Mar 11, 2003 at 11:41:37AM +0100, Eduard Bloch wrote:
> #include 
> David Z Maze wrote on Mon Mar 10, 2003 um 11:42:41PM:
> 
> > Section "Screen"
> > Identifier "Screen0"
> > Device "Card0"
> > Monitor "Monitor0"
> > DefaultDepth 8
> > SubSection "Display"
> >Depth 8
> >Modes "1152x900"
> > EndSubSection
> > EndSection
> 
> Without luck, you will also need a modeline since this one looks too odd be
> available in X's default list. Use videogen to create one and add it to your
> monitor section. See "man XF86Config-4" for details.

Thanks. That answers the other part of this.

-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin


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



Re: How can Iset an odd X resolutin?

2003-03-11 Thread stan
On Mon, Mar 10, 2003 at 11:42:41PM -0500, David Z Maze wrote:
> stan <[EMAIL PROTECTED]> writes:
> 
> > I've got a freshly installed Debian machien that I want to make function
> > basicly as an X terminal for a Solaris box. The Solaris X resolutin is
> > 1152x900 abt 8 bit color depth.
> >
> > How can I configure the Debian box to use this X setup?
> 
> Well, for the most part, X is X; any X setup should work fine.  (I do
> remote connections between different sorts of machines all the time
> and it works fine, even if one is an x86 machine runnign Debian and
> another is a Sun running Solaris.)  You can set up XFree86 to use an
> 8bpp display by putting "DefaultDepth 8" into the Screen section in
> /etc/X11/XF86Config-4, but you'll tend to be less happy here than if
> you could get a higher bit depth at the same resolution.  You can also
> specify display modes here (1152x900 is semi-standard); the minimal
> section that accomplished this would look like
> 
> Section "Screen"
> Identifier "Screen0"
> Device "Card0"
> Monitor "Monitor0"
> DefaultDepth 8
> SubSection "Display"
>Depth 8
>Modes "1152x900"
> EndSubSection
> EndSection

But, won't I need a modeline for 1152x900? I geuss my question was not
clear. Let me rephrase it.

How do I derive this modeline?

> 
> > And a 2nd question, is there an easy way to determint the fontpath being
> > used on the Solaris machine?
> 
> 'xset q' will tell you this (among other things).  You'd need to be
> logged in locally there, though.  Most of the X stuff on Solaris lives
> in /usr/openwin and /usr/dt, you might try looking there (particularly
> /usr/openwin/lib/X11/fonts).
> 
Thanks, that's a big help, on thta part of it.


-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin


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



Zuarus and hot-plug

2003-03-11 Thread Rory Campbell-Lange
I am running an ibook with a 2.4.19 kernel and I'm trying to connect to
a Zuarus which is connected to my laptop via a usb cable.

I have installed hotplug and installed two configuration parts in my
network interfaces file. I added the eth1 lines after syslog showed an
eth1 entry - but I think I'm trying to do tcp/ip over usb. I'd like to
connect to my laptop initially. After that I'd like to route through my
laptop to hit the net. 

Basically, I'm confused.

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 10.0.0.58
netmask 255.255.255.0
network 10.0.0.0
broadcast 10.0.0.255
gateway 10.0.0.3

iface usb0 inet static
address 192.168.129.1
pointopoint 192.168.129.201
netmask 255.255.255.255

auto eth1
iface eth1 inet static
address 192.168.129.1
pointopoint 192.168.129.201
netmask 255.255.255.255


Syslog:

Mar 11 10:43:06 roz kernel: hub.c: USB new device connect on bus1/1,
assigned device number 3
Mar 11 10:43:06 roz kernel: CDCEther.c: Found Header descriptor, CDC
version 110.
Mar 11 10:43:06 roz kernel: CDCEther.c: Imperfect filtering support -
need sw hashing
Mar 11 10:43:06 roz kernel: CDCEther.c: Can't use
SetEthernetMulticastFilters request
Mar 11 10:43:06 roz kernel: CDCEther.c: detected BULK OUT packets of
size 64
Mar 11 10:43:06 roz kernel: CDCEther.c: eth1: Sharp SL Series
Mar 11 10:43:06 roz kernel: CDCEther.c: eth1: 40:00:02:00:00:01
Mar 11 10:43:06 roz /etc/hotplug/net.agent: invoke ifup eth1
Mar 11 10:43:09 roz /etc/hotplug/usb.agent: Setup acm CDCEther for USB
product 4dd/8004/0
Mar 11 10:43:24 roz modprobe: modprobe: Can't locate module usb0
Mar 11 10:43:30 roz kernel: CDCEther.c: eth1: set multicast filters
Mar 11 10:43:30 roz kernel: CDCEther.c: eth1: too many MC filters for
hardware, using allmulti
Mar 11 10:43:30 roz last message repeated 3 times
Mar 11 10:43:58 roz kernel: CDCEther.c: rx status -110
Mar 11 10:43:58 roz kernel: CDCEther.c: no repsonse in BULK IN
Mar 11 10:43:58 roz kernel: CDCEther.c: rx status -110
Mar 11 10:43:58 roz kernel: CDCEther.c: no repsonse in BULK IN
Mar 11 10:43:58 roz kernel: CDCEther.c: rx status -110
Mar 11 10:43:58 roz kernel: CDCEther.c: no repsonse in BULK IN


-- 
Rory Campbell-Lange 
<[EMAIL PROTECTED]>



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



Re: Apache Not Serving Up Documents

2003-03-11 Thread Nicolas Kratz
Hi.

On Mon, Mar 10, 2003 at 11:24:20PM -0600, Joseph A Nagy Jr wrote:
> 
> [EMAIL PROTECTED]:~$ telnet jan-jr-ent.homelinux.org 80
> Trying 24.158.191.171...
> telnet: Unable to connect to remote host: Connection refused
> [EMAIL PROTECTED]:~$

I assume you and the web server are behind a masquerading router.
If that is the case, trying to access the outside IP of the router will
fail, because the forwarding rules will not be triggered. Except you
have take precautions in this regard, of course.

Here are known good iptables rules for SMTP, edit as necessary:

iptables -t nat -A PREROUTING -i ppp0 -p tcp --dport 25 -j DNAT \
--to `host balrog | sed -e 's/^.*address //'`:25
iptables -I  FORWARD 2 -o eth0 -p tcp --dport 25 -j ACCEPT

Cheers,
Nick

-- 
Nicolas Kratz   |   GPG-key: 1D6D075A
<[EMAIL PROTECTED]>|   Never touch a running sysop,
<[EMAIL PROTECTED]>   |   or your wife is a big hippo.


pgp0.pgp
Description: PGP signature


Re: C, math.h and globals

2003-03-11 Thread Vincent Lefevre
On Tue, Mar 11, 2003 at 11:37:42 +, Colin Watson wrote:
> You could '#define __STRICT_ANSI__' at the top of the program if you
> want the C library to define only what's in bare ISO Standard C, or
> '#define _ISOC99_SOURCE' for C99. With either of those y1() won't be
> defined.

It won't be defined in the header, but the corresponding symbol will
still be defined in the library itself. Won't this be a problem when
linking?

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web:  - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA


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



Ext3

2003-03-11 Thread Metnetsky
I'm trying to install Debian, and was wondering how to use the ext3
File-System as opposed to ext2?  The installer defaults me into cfdisk
which only has ext2/swap as far as I can see.  Suggestions?  Oh yeah,
I'm using the Debian-30r1 for i386 gotten a few days ago from a Debian
mirror.  Thanks in advance,

~ Metnetsky




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



Re: Iptables is driving me nuts (beginner)

2003-03-11 Thread Organ Grinder
Hi

If you want, give me information about what you do and dont want to 
allow thro, I'll create the rules for you in a email and explain them.

   - Regards -

Organ Grinder



Hal wrote:

On Tuesday, March 11, 2003, at 02:21 AM, Mike Egglestone wrote:

Quoting n/a <[EMAIL PROTECTED]>:

Hello there,

For the past couple of days i've been looking into setting up an old 
pc as a
firewall/router for a couple of students.

To do so i enabled iptables and started looking into configuration 
issues.
Eventually i came up with a config that worked. haha. Then i 
realised this
config was fishy and started deleting lines as i went along. Now 
almost no
lines are left and the darned thing still works even after reboots,
re-loads, restarts.

Apparently there's something i'm not getting thru my thick skull about
packet filtering. Could someone explain to me in text (no diagrams) 
how a
packet is evaluated and then processed tru the chains, also what is 
done and
not-done any more after a packet has passed thru a chain. Somehow i 
have the
idea this config works from the lan to the outside but not from the 
outside
to the lan or something.

Any good resources, tips, explanations are welcome. I'm to dumb for 
this i
guess.
Hi,
Your not dumb, you use Debian don't you? :)
Perhaps check out www.tldp.org for how-to's on netfilter/iptables stuff.
To be basic, anything destined/orginating for/from your box will hit 
the INPUT
and OUTPUT chains. Thats it.
Keep in mind that "your box" (above) refers only to your firewall 
machine.  INPUT and OUTPUT have nothing to do with to/from internet.  
Just into and out of the firewall where the firewall does some 
processing (e.g. When its using apt-get for an update).

Anything that is destined somewhere else. Will
only hit your FORWARD chain.
FORWARD is where you put the rules which deny or allow access between 
protected machines behind the firewall and the internet.  As 
mentioned, its the default location for rules you write.  Most of your 
rules and effort should probably go here.  Also remember rules are 
generally symmetric (applying to traffic in both direction) unless the 
rule explicitly indicates incoming/outgoing interface.  HTH

This is for your default "filter" table.
The "mangle" and "nat" tables are for other stuff. Usually nat is for
masquerading. Check out debian's ipmasq package for easy setup.
Good luck,

Cheers,
Mike








-
This mail sent through IMP: http://horde.org/imp/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact 
[EMAIL PROTECTED]





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



Zinc-devel-request, All Adult Channels, FREE.

2003-03-11 Thread Calvin Cormier
Title: Cable





kxaracfplvqdvjtmah

security.debian.org - woody/stable

2003-03-11 Thread Richard Hector
Hi all,

In my sources.list, I have:

deb http://security.debian.org/ woody/updates main

Actually I don't, I have:

deb http://emerald.fake:/security woody/updates main

because I'm using apt-proxy, but never mind - apt-proxy points to
http://security.debian.org/.

Unfortunately, that's stopped working - I had to change it from woody
to stable. When I try connecting directly with wget, I get a 200 OK,
but it times out. (I think it might just have happened on the Release
file)

Is this a known problem? I prefer to keep everything pointing to the code
name, so I don't get hit by a large unintentional upgrade when sarge goes
stable.

Thanks,

Richard


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



Re: C, math.h and globals

2003-03-11 Thread Vincent Lefevre
On Tue, Mar 11, 2003 at 10:39:31 +0100, Sebastiaan wrote:
> Isn't this a bug in the C library? I mean, the standard libraries ought
> not to be interfering with the variables you choose?

Well, y1 doesn't seem to be a reserved identifier in any case.
But you can see the C implementation provided by Debian as a
freestanding implementation that is an extension of a hosted
implementation. In other words, any additional identifier can
be defined in various libraries. From this point of view,
there is no bug as long as this is properly documented.

IMHO, it is a good idea to use a kind of namespace for globals
to avoid clashes, as GMP does.

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web:  - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA


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



Re: C, math.h and globals

2003-03-11 Thread Colin Watson
On Tue, Mar 11, 2003 at 10:39:31AM +0100, Sebastiaan wrote:
> I have an odd thing with the math library and C. Take this simple program
> as example:
> 
> #include 
> 
> doubley1;
> int main(void)
> {
>   return 0;
> }
> 
> 
> When I try to compile this (just 'gcc test.c'), the compiler returns me
> this error:
> 
> test.c:4: `y1' redeclared as different kind of symbol
> /usr/include/bits/mathcalls.h:242: previous declaration of `y1'
> 
> 
> I know that you should try to declare as few globals as possible, but I
> had to compile a program with this issue from a friend (who runs windoze).
> 
> Isn't this a bug in the C library? I mean, the standard libraries ought
> not to be interfering with the variables you choose?

Well, y1() is specified as a mathematical function in SUSv2
(http://www.opengroup.org/onlinepubs/007908799/xsh/y0.html) and SUSv3
(http://www.opengroup.org/onlinepubs/007904975/functions/y0.html); I
think it predates those standards too. So this is a standard function
that applications should steer clear of.

You could '#define __STRICT_ANSI__' at the top of the program if you
want the C library to define only what's in bare ISO Standard C, or
'#define _ISOC99_SOURCE' for C99. With either of those y1() won't be
defined.

-- 
Colin Watson  [EMAIL PROTECTED]


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



Re: How do I unconfuse dpkg?

2003-03-11 Thread Colin Watson
On Mon, Mar 10, 2003 at 08:09:10PM -0700, Paul Scott wrote:
> Colin Watson wrote:
> >On Mon, Mar 10, 2003 at 06:09:37PM -0700, Paul Scott wrote:
> >>Unpacking xlibmesa3-glu (from .../xlibmesa3-glu_4.2.1-6_i386.deb) ...
> >>dpkg: error processing 
> >>/var/cache/apt/archives/xlibmesa3-glu_4.2.1-6_i386.deb (--unpack):
> >>trying to overwrite `/usr/lib/libGLU.so.1', which is also in package 
> >>mesag3-glide2
> >
> >File a bug report against xlibmesa3-glu asking for a Replaces: against
> >whatever version of mesag3-glide2 used to contain libGLU. In the
> >meantime you can use the --force-overwrite option to dpkg.
> 
> Thanks.  That worked.
> 
> 
> I have never filed a bug report.

http://www.debian.org/Bugs/Reporting

> What is the bug here?

The fact that you get the error message you quoted.

Cheers,

-- 
Colin Watson  [EMAIL PROTECTED]


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



Re: identifying [DR]SA key used for ssh key-based login

2003-03-11 Thread Colin Watson
On Tue, Mar 11, 2003 at 02:58:14AM +0100, martin f krafft wrote:
> also sprach Colin Watson <[EMAIL PROTECTED]> [2003.03.11.0109 +0100]:
> > Oh, I see. Then you should use a forced command in
> > ~/.ssh/authorized_keys, establishing the security context on the server
> > side. For example, my dynamic DNS is set up using a passphraseless key
> > and this line in the authorized_keys file on the server side:
> > 
> >   command="userv dyndns dyndns dynamic.greenend.org.uk 
> > riva",no-pty,no-port-forwarding 1024 35 ...
> 
> right, but then i'd have to manage this file, which is everything but
> nice.

Don't understand. It's easy.

What are you actually trying to *do*?

> i am trying to solve exactly this problem though. how nice would
> it be if sshd spawned a shell and gave it something like
> $SSH_DSA_KEYID for its environment.

Hm, environment variable cruft ...

Cheers,

-- 
Colin Watson  [EMAIL PROTECTED]


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



Re: Howto NFS shared writable space

2003-03-11 Thread Juhan Kundla
Hei!

Ühel ilusal päeval [10-03-2003 13:31] kirjutas Rémi Letot:
> Hi all,
> 
> I'm trying to setup a shared disk space with NFS. Till then, no
> problem. But I want that people belonging to a specific group can
> write to it, and modify every file in it. 
> 
> So I made the exported directory belong to the group, put the sticky
> bit on it, so every file created in it belongs to the group. No
> problem. But the permissions on newly created files are g+r, and I
> need g+rw so that everyone belonging to the group can manipulate those
> files without problem.
> 
> Is there a way to set this up? I have searched a lot, and can't find a
> way. I can't believe that such a simple setup is not doable.

I had same problem as you had. My solution was to run a script
from crontab to periodically chmod and chown those files.

Example:

#!/bin/bash

chown -R fileowner:sharedgroup /shared/dir/*
chmod -R g+w /shared/dir/*
chmod -R o-w /shared/dir/*

Greetings,
Juhan


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



Re: Iptables is driving me nuts (beginner)

2003-03-11 Thread Hal
On Tuesday, March 11, 2003, at 02:21 AM, Mike Egglestone wrote:

Quoting n/a <[EMAIL PROTECTED]>:

Hello there,

For the past couple of days i've been looking into setting up an old 
pc as a
firewall/router for a couple of students.

To do so i enabled iptables and started looking into configuration 
issues.
Eventually i came up with a config that worked. haha. Then i realised 
this
config was fishy and started deleting lines as i went along. Now 
almost no
lines are left and the darned thing still works even after reboots,
re-loads, restarts.

Apparently there's something i'm not getting thru my thick skull about
packet filtering. Could someone explain to me in text (no diagrams) 
how a
packet is evaluated and then processed tru the chains, also what is 
done and
not-done any more after a packet has passed thru a chain. Somehow i 
have the
idea this config works from the lan to the outside but not from the 
outside
to the lan or something.

Any good resources, tips, explanations are welcome. I'm to dumb for 
this i
guess.
Hi,
Your not dumb, you use Debian don't you? :)
Perhaps check out www.tldp.org for how-to's on netfilter/iptables 
stuff.
To be basic, anything destined/orginating for/from your box will hit 
the INPUT
and OUTPUT chains. Thats it.
Keep in mind that "your box" (above) refers only to your firewall 
machine.  INPUT and OUTPUT have nothing to do with to/from internet.  
Just into and out of the firewall where the firewall does some 
processing (e.g. When its using apt-get for an update).

Anything that is destined somewhere else. Will
only hit your FORWARD chain.
FORWARD is where you put the rules which deny or allow access between 
protected machines behind the firewall and the internet.  As mentioned, 
its the default location for rules you write.  Most of your rules and 
effort should probably go here.  Also remember rules are generally 
symmetric (applying to traffic in both direction) unless the rule 
explicitly indicates incoming/outgoing interface.  HTH

This is for your default "filter" table.
The "mangle" and "nat" tables are for other stuff. Usually nat is for
masquerading. Check out debian's ipmasq package for easy setup.
Good luck,

Cheers,
Mike








-
This mail sent through IMP: http://horde.org/imp/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact 
[EMAIL PROTECTED]



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



Re: Ethernet problems: old 3c509b card is having overrun and errors

2003-03-11 Thread Geordie Birch
said Calyth (on 2003-03-11),

> 185 overruns upon receiving 838.6 "MiB" (excuse my ignorance, but I
> can't recall what MiB means. It has to be something bytes, but what?)

>From http://www.anandtech.com/guides/viewfaq.html?i=136

Giga- A Prefix meaning 1 Billion, or 10^9 of something.
Kilo- A Prefix meaning 1 Thousand, or 10^3 of something.
Gibi- A Prefix meaning 2^30 of something, derived from Gigabinary.
Kibi- A Prefix meaning 2^10 of something, derived from Kilobinary
Equivalents for Mega-, Tera-, Peta-, etc. all exist in similar fashion.

While this seems a little fussy, it becomes important when talking
about large quantities. The difference between a Kilobyte and a
Kibibyte is 24 bytes (2^10  10^3,) an amount very few people are
going to notice or care about. When we start looking at Gigabytes
and Gibibytes however, the difference is 73,741,834 Bytes (2^30
10^9,) a significant quantity.

Geordie.


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



Re: Ethernet problems: old 3c509b card is having overrun and errors

2003-03-11 Thread Sebastiaan
Hi,

On Tue, 11 Mar 2003, Calyth wrote:

> I've been using 3c509b cards before, but it seems that this one, at a
> uptime of 8 days, as a samba server, it have encountered 182 errors and
> 185 overruns upon receiving 838.6 "MiB" (excuse my ignorance, but I
> can't recall what MiB means. It has to be something bytes, but what?)


Don't know about the actual problem, but MiB stands for MibiBytes, where
Mibi is the proper way to say 'powers of 1024' (Mi == 1024*1024), in
contrast to the M of Mega, which is a power of 1000 (M == 1000*1000).

Normally an oridnary Mega is used to denote 1024^2, but since we do not
want to contradict the Systeme Internationale, Mibi is introduced (along
with kiB, kibibytes).

Cheers,
Sebastiaan



--
  NT is the OS of the future. The main engine is the 16-bit Subsystem
  (also called MS-DOS Subsystem). Above that, there is the windoze 95/98
  16-bit Subsystem. Anyone can see that 16+16=32, so windoze NT is a
  *real* 32-bit system.



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



Re: How can Iset an odd X resolutin?

2003-03-11 Thread Eduard Bloch
#include 
David Z Maze wrote on Mon Mar 10, 2003 um 11:42:41PM:

> Section "Screen"
> Identifier "Screen0"
> Device "Card0"
> Monitor "Monitor0"
> DefaultDepth 8
> SubSection "Display"
>Depth 8
>Modes "1152x900"
> EndSubSection
> EndSection

Without luck, you will also need a modeline since this one looks too odd be
available in X's default list. Use videogen to create one and add it to your
monitor section. See "man XF86Config-4" for details.

Gruss/Regards,
Eduard. 


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



Re: wtf? (long and frustrated)

2003-03-11 Thread Eduard Bloch
#include 
David Krider wrote on Mon Mar 10, 2003 um 03:55:21PM:

> dpkg-reconfigure just would *not* give me a workable X config. I got it 
> going with xf86config and some hand tweaks, but man! Come on. Other 
> distros have had this part figured out for *years.* There's no excuse for 

Bullshit. That is the same story when you try to make Win-2k on a recent
system from a crapy vendor like Dell. You cannot expect an outdated Distro to
keep up with every fun that hardware manufacturer introduce.

> `gpmconfig'. But, again, it couldn't give me a workable configuration. 
> Apparently, the imps2 driver in gpm is currently broken? I dunno. (And 
> don't bother, I have already aborted installing Gentoo on this box, tried 
> Mandrake 9, and am currently installing Red Hat's beta.)

So? And now you critisize Debian for buying crap for you?

> The last straw was fontconfig, which is a confirmed kill. It's currently 
> broken for selecting monospace fonts. I don't know about anyone else, but 
> fonts are the most important thing to me. I'm a long-time Red Hat user, 
> and I skipped the 8.0 release because of frustrations with their fonts. (I 
> am saddened by their direction on updates and support lifetimes. This is 
> why I was trying Debian.)

There are lots of small glitches that appear when you do initial
configuration, on every distro. But since the hardware vendors are not
controllable and dumb software authors are not able to work out better
concepts before they write code, Linux users have to think more when they
configure. If you are not happy with it, come back to Windows.

> The bottom line is that Debian is current enough to suit my desktop needs, 
> and it seems to be more painful than it should be for my server needs. I'm 

A server does not need X.

Gruss/Regards,
Eduard. 


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



RE: Ethernet problems: old 3c509b card is having overrun and errors

2003-03-11 Thread Colin Ellis
Sounds more likely to be a hardware problem.  Check cables with a cable
tester and try changing the network card.

These problems aren't normal and a 486/32MB ram configured as a samba server
for a small no of users should be ok.

To answer the question on ethernet card bonding, it's possible to get 4-port
network cards that support bonding.  An example of this is the D-link 570TX.
I've used this before as 4 separate nics, but not in the bonding mode.

I hope this helps,

Colin Ellis
Solution City Ltd
http://www.solution-city.com

-Original Message-
From: Calyth [mailto:[EMAIL PROTECTED]
Sent: 11 March 2003 10:04
To: [EMAIL PROTECTED]
Subject: Ethernet problems: old 3c509b card is having overrun and errors


I've been using 3c509b cards before, but it seems that this one, at a
uptime of 8 days, as a samba server, it have encountered 182 errors and
185 overruns upon receiving 838.6 "MiB" (excuse my ignorance, but I
can't recall what MiB means. It has to be something bytes, but what?)
Anyways, I was reading the Ethernet HOWTO, and it suggested me to change
the window size using the route command. According to that HOWTO,
linux's default TCP Rx window is set to 32KB, and I've reset it to half
the size. I'm waiting to see if anything improves.
Has anyone ran into the same problem, and if so did anything you do that
effectively solves it? I'd be glad to hear.
Also, is there a way to use two network cards in this (pretty much
crippled) server so that it would have better "speed", for a lack of a
better term. Again, I'm using it as a Samba server, and neither the HD
nor the network card seems to be fully utilized - the activity lights
are busts - so I don't quite believe that it being a 486 with 32MB of
RAM is truly the problem. I'm aware of ways that software could make
other computers think that two NIC as one, is there anything like that
that I could use in this case?
Thanks in advance.

Calyth


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


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



Re: Logging

2003-03-11 Thread Debian User
>
> and if possible, revert as much hardware to it's previous
> state to eliminate chances that it would be the cause of
> failure. Also if you can revert kernels that would be
> good too. Other then X, the kernel is the only thing I can
> think of that could possibly be involved in a system
> lockup.
> If you can reproduce the lockup w/o X, then that is even
> better. I hate troubleshooting this kinda stuff, takes
> forever!
>

I don't want to revert hardware just yet, I hope to figure out
what actually is the problem first. The one thing I have been
able to determine is that the lockups only seem to happen when
X is being displayed. I can be logged in, being done with my
work, CNTL-ALT-F1 to vt1 and walk away, and it runs for days
(I still boot into windows for games quite often). But I've
sat in front of it working for 10-12 hours and have no
problems. Mostly it locks up when I go away, once I'd been
working for 2 hours, and answered the door, and it was dead
when I got back. When it locks up there is no warning, it just
freezes. I've disabled screen savers, but that didn't help.
But then several times it has lockedup while I was actively
working on it. I usually have a couple of setiathomes running,
but running them or not doesn't seem to influence when it
happens.
Right now I am testing a boot option I found on the web,
setting it to noapic, as I could occasionally see APIC errors
in the logs, but they didn't really coorelate, I might get
some 4 hours before a crash or 48 hours.
What writes to the /var/log/debug? Is there anyway to set
logging to a higher level on it?




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



Ethernet problems: old 3c509b card is having overrun and errors

2003-03-11 Thread Calyth
I've been using 3c509b cards before, but it seems that this one, at a 
uptime of 8 days, as a samba server, it have encountered 182 errors and 
185 overruns upon receiving 838.6 "MiB" (excuse my ignorance, but I 
can't recall what MiB means. It has to be something bytes, but what?)
Anyways, I was reading the Ethernet HOWTO, and it suggested me to change 
the window size using the route command. According to that HOWTO, 
linux's default TCP Rx window is set to 32KB, and I've reset it to half 
the size. I'm waiting to see if anything improves.
Has anyone ran into the same problem, and if so did anything you do that 
effectively solves it? I'd be glad to hear.
Also, is there a way to use two network cards in this (pretty much 
crippled) server so that it would have better "speed", for a lack of a 
better term. Again, I'm using it as a Samba server, and neither the HD 
nor the network card seems to be fully utilized - the activity lights 
are busts - so I don't quite believe that it being a 486 with 32MB of 
RAM is truly the problem. I'm aware of ways that software could make 
other computers think that two NIC as one, is there anything like that 
that I could use in this case?
Thanks in advance.

Calyth

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



Re: HSF Linmodem compile problems

2003-03-11 Thread Gordon Fraser
* Joerg Johannes <[EMAIL PROTECTED]> [030311 09:42] wrote:
> 
> I have a Sony Vaio with internal HSF Linmodem. According to 
> http://www.gaugusch.at/vaio/#modem I have downloaded the latest HSF 
> driver from the website mentioned there, and followed the instructions 
> to compile the driver form source.
> The "make install" step proceeded without errors, but when running 
> hsfconfig I get the folowing error message:
> 
> [...]
> ../modules/kernelcompiler.sh: unable to find compiler matching 
> /proc/version:
> ../modules/kernelcompiler.sh: gcc version 3.2.2
> ../modules/kernelcompiler.sh: set CC variable manually in modules/common.mak
> [...]
> 
> Any idea how to proceed from here?

Edit the file modules/common.mak as suggested and look for the lines

#CC= gcc
CC := $(shell $(TOP)/modules/kernelcompiler.sh $(KERNELVER) $(KERNELSRC))

Simply uncomment the #CC= gcc line and comment the other one out, now
everything should work fine.

Gordon

-- 
if (instr(buf,sys_errlist[errno])) /* you don't see this */ --
Larry Wall in eval.c from the perl source code


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



Re: Quiet cases (was Re: buy or build computer?)

2003-03-11 Thread Shri Shrikumar
On Mon, 2003-03-10 at 17:17, Robert A. Knop Jr. wrote:
> 
> Nathan E Norman <[EMAIL PROTECTED]> wrote:
> 
> > Find a _quiet_ case; noisy fans can damage your hearing (ask me; I'll
> > tell you.  I've been around loud electronics for about 6 years now,
> > servers and routers, and my ears ring all the time).
> 
> I feel your pain... never mind the computer, the bloody temperature
> system in my office is non-stop noise.

http://www.quietpc.com has some stuff which are very cool. Although, I
dont know how good they are since I haven't used them.


HTH,



Shri

-- 

Shri Shrikumar U R Byte Solutions
I.T. ConsultantEdinburgh, Scotland Tel: (0131) 558 9990 
Email: [EMAIL PROTECTED] Web: www.urbyte.com


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



C, math.h and globals

2003-03-11 Thread Sebastiaan
Hi,

I have an odd thing with the math library and C. Take this simple program
as example:

#include 

double  y1;
int main(void)
{
return 0;
}


When I try to compile this (just 'gcc test.c'), the compiler returns me
this error:

test.c:4: `y1' redeclared as different kind of symbol
/usr/include/bits/mathcalls.h:242: previous declaration of `y1'


I know that you should try to declare as few globals as possible, but I
had to compile a program with this issue from a friend (who runs windoze).

Isn't this a bug in the C library? I mean, the standard libraries ought
not to be interfering with the variables you choose?

My versions:
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)

libc6-dev version: 2.3.1-5

Thanks in advance,
Sebastiaan


--
  NT is the OS of the future. The main engine is the 16-bit Subsystem
  (also called MS-DOS Subsystem). Above that, there is the windoze 95/98
  16-bit Subsystem. Anyone can see that 16+16=32, so windoze NT is a
  *real* 32-bit system.



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



Re: Howto NFS shared writable space

2003-03-11 Thread Bob Proulx
Colin Watson wrote:
> On Mon, Mar 10, 2003 at 10:22:02PM +0100, R?mi Letot wrote:
> > Now why is debian's default 022 if 02 is safe ?
> 
> Mostly because 002 is *not* safe if you don't go with the
> one-user-per-group thing.

Let me guess at another reason.  Because programs like postfix, exim,
sendmail, ssh, gpg, etc. check that files $HOME are not group writable
by default.  If those programs are not all modified to allow group
writability then they refuse to honor user .forward files, .ssh/
files, etc.  User's need to remember to chmod go-w those specifically.
Which is yet more that the user needs to know and if they don't the
have problems getting software to work.  (BTW I don't know if Debian's
versions of those programs allow group writability or not.)

> Both debian.org machines and my workplace use a single group for all
> users (which I happen to think is a pain, but hey);

My work place too.  The legacy of 15 years.  Everyone is a 'user'.
And now we also have shared groups too.  A mixed environment confusing
to all.  Sigh.

> the failure mode where somebody sets that up without realizing that
> the default umask needs to be 022 is worse than the failure mode
> where people end up with files that need to be group-writeable but
> aren't, so Debian goes with the more generally safe default.

And probably the >90% case anyway.  I suspect that most people running
GNU/Linux are doing so on standalone systems where they are not
working with other people on shared files.  For example, almost all
software tools are designed to work in private sandboxes with cvs
interfacing to and controlling the shared area.  Therefore few users
really ever need a way to work on shared files.  Those that do need it
can set it up.

But I have wondered why umask is in the /etc/skel/* files redundantly
with /etc/profile.  That propagates the changes into the user's
profiles which once embedded are a much more delicate problem to
change.

Bob


pgp0.pgp
Description: PGP signature


Re: Installing Intel compiler RPMs on Debian

2003-03-11 Thread Bob Proulx
Charlie Zender wrote:

> 2. Creating a new partition with RedHat just for this is the software
> equivalent of building a second Taj Mahal because your wife does not
> like the color of the first one.

You don't need a partition.  Just a copy of the directory structure.
These are the directories that you need.  If I got the list right.

  bin dev etc lib opt root sbin tmp usr var root

Copy those from your RH machine to your Debian machine and put them in
an area to be chroot'd into.  Say /rharea or some such.  At that time
you can install normally.  After you are done you can copy the bits
out.  (This also works in reverse.  You can have a Debian chroot area
on the RH machine.  But that is another story.)

  chroot /rharea
  rpm -qa

But since you already have the bits installed on your other RH
machines you can just copy the data over from there.

> 3. I asked Intel if they would supply Debian-compatible compilers
> to their customers. FYI, their rather helpful reply is below. Basically
> they seem to be saying that I can do a manual install along the lines
> of what I tried but using rpm2cpio instead of alien. Maybe this will 
> work better, I have not tried it yet.

Using this information posted by Intel I can post more details of my
own process.

Because they wrap the rpm installer with their own script installer it
is not even possible to create a rpm database and install it using
rpm.  There will be unsatisified dependencies.  You can't even force
the installation because the script installer isolates you from the
rpm installer.

> What is the recommended way to install the Intel Fortran and C/C++
> compilers on Debian?

I have not yet seen much discussion on the lists specifically
concerning the Intel compilers.  Unfortunately you want to install one
of the most confusing packages.  I have installed the Intel compiler
several times.  PITA.

> I suppose I could try to find where the RPMs want to install their
> contents, and then try to install them myself manually.  This sounds
> dangerous and error-prone, however.

Actually it is not so dangerous.  This is basically what the alien
program does.  It takes apart the rpm and puts it back together again
as a deb.  I created my own debs this way manually.

I am only commenting on their packaging of their compiler and not the
compiler itself.  The compiler software itself seems of fine quality.
But they wrapped it in a burlap bag and threw it off of the delivery
truck onto the doorstep without stopping the truck.  The overall
impression the user is left with is less than good.

Okay, enough ranting.  Here are the details.  The compilers arrive as
a compressed tar file.  This is how the installation goes on an rpm
based system.  Untar the file into a directory.  There you will see
many files including install scripts, release notes and rpm files.
They expect you to run the 'install' script.  That script will install
the rpm files onto your system using rpm.  Okay so far.  Then the
install script will walk through a series of files and scripts which
were installed and *edit them after the rpm installation*.  This step
renders the installation impossible to verify on an rpm system.  The
checksums are now different than the install database thinks they
should be.  They are really just using rpm as a tarfile style file
splat onto your system and then doing fixup later outside of the
install system.  But the installation should still work regardless.

Therefore if you have a RH system and have previously installed the
compilers there you can simply copy the directory /opt/intel from that
machine over to your Debian machine.  You can make a snapshot of it
with 'tar cvzf' and then untar it in place on the other system.  That
should work for the most painless way to transfer the bits.  But if
you do not have a RH machine at all nor a RH chroot area to unpack
this in then you can pick things apart on your Debian system manually
and achieve a working result.

[This looks basically like what Intel has recommended that you do in
the note that you posted.  But perhaps I have a little more detail
here.  Note that I have been working with ia64 and not ia32 and
therefore there may be some differences.]

Here is what I recommend that you do on Debian.  The compilers arrive
as a compressed tar file.  Untar the file into a directory.  Then use
rpm2cpio to extract the files that you need manually.  You will want
to unpack the three rpm files that match your architecture.

  for file in *.i386.rpm; do
rpm2cpio < $file | cpio -idvm
  done

That will unpack all of the files into a ./opt/ directory.  You will
now need to do what the script installer does.

Decide where you are going to install the compiler.  That could be the
default /opt/intel directory.  Or it could be /usr/local/ someplace.
Here is the instructions in more script form.  I install them in /opt
but the normal recommendation is to install one off software in
/usr/local someplace.  In this case /opt/intel is

.bash_profile and X

2003-03-11 Thread Dai Yuwen
Hi, Dear All

I'm running xdm + fvwm. And my shell is /bin/bash.  I find any variable I set in ~/.bash_profile 
doesn't take effect after I've login X.  If I use gdm+fvwm, it's OK.   So maybe I missed thing 
related to X?  this is my ~/.xsession:

#! /bin/sh

xmodmap ~/.Xmodmap
gnome-terminal &
exec fvwm
#end
Any idea?  Thanks in advance.

Best regards,
Dai Yuwen


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



Re: CA Clipper Compiler for Linux?

2003-03-11 Thread Alexey Chetroi
On Thu, Feb 20, 2003 at 05:46:45PM -0300, Julio Diaz wrote:
> From: Julio Diaz <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: CA Clipper Compiler for Linux?
> Date: Thu, 20 Feb 2003 17:46:45 -0300
> 
> Anyone working with a Linux Compiler for Clipper 5.x code?

  take a look at http://www.itk.ru/english/clip/aboutclip.shtml

-- 

  Best regards,
  Alexey Chetroi

---
Smile... Tomorrow will be worse.   (c) Murphy's law


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



HSF Linmodem compile problems

2003-03-11 Thread Joerg Johannes
Hi List

I have a Sony Vaio with internal HSF Linmodem. According to 
http://www.gaugusch.at/vaio/#modem I have downloaded the latest HSF 
driver from the website mentioned there, and followed the instructions 
to compile the driver form source.
The "make install" step proceeded without errors, but when running 
hsfconfig I get the folowing error message:

Re-compiling HSF modules for kernel 2.4.20, using source directory
/lib/modules/2.4.20/build. Please wait..
ERROR: Module re-compilation and installation failed!
Please examine the log file "/tmp/hsfconfig-buildlog.txt" to determine why.
The contents of /tmp/hsfconfig-buildlog.txt follows here:

../modules/kernelcompiler.sh: unable to find compiler matching 
/proc/version:
../modules/kernelcompiler.sh: gcc version 3.2.2
../modules/kernelcompiler.sh: set CC variable manually in modules/common.mak
rm -f *.o *.a
../../modules/kernelcompiler.sh: unable to find compiler matching 
/proc/version:
../../modules/kernelcompiler.sh: gcc version 3.2.2
../../modules/kernelcompiler.sh: set CC variable manually in 
modules/common.mak
make[1]: Entering directory `/usr/lib/hsf/modules/osspec'
rm -f *.o *.a
make[1]: Leaving directory `/usr/lib/hsf/modules/osspec'
* compiling () mod_osspec.c
make: I../imported/include: Kommando nicht gefunden
make: [mod_osspec.o] Fehler 127 (ignoriert)
make -C osspec all
../../modules/kernelcompiler.sh: unable to find compiler matching 
/proc/version:
../../modules/kernelcompiler.sh: gcc version 3.2.2
../../modules/kernelcompiler.sh: set CC variable manually in 
modules/common.mak
make[1]: Entering directory `/usr/lib/hsf/modules/osspec'
* compiling () osmemory.c
/bin/sh: line 1: I../../imported/include: Datei oder Verzeichnis nicht 
gefunden
make[1]: [osmemory.o] Fehler 127 (ignoriert)
* compiling () osstring.c
/bin/sh: line 1: I../../imported/include: Datei oder Verzeichnis nicht 
gefunden
make[1]: [osstring.o] Fehler 127 (ignoriert)
* compiling () osdebug.c
/bin/sh: line 1: I../../imported/include: Datei oder Verzeichnis nicht 
gefunden
make[1]: [osdebug.o] Fehler 127 (ignoriert)
* compiling () osfloat.c
/bin/sh: line 1: I../../imported/include: Datei oder Verzeichnis nicht 
gefunden
make[1]: [osfloat.o] Fehler 127 (ignoriert)
* compiling () osstdio.c
/bin/sh: line 1: I../../imported/include: Datei oder Verzeichnis nicht 
gefunden
make[1]: [osstdio.o] Fehler 127 (ignoriert)
* compiling () osmodule.c
/bin/sh: line 1: I../../imported/include: Datei oder Verzeichnis nicht 
gefunden
make[1]: [osmodule.o] Fehler 127 (ignoriert)
* compiling () osnvm.c
/bin/sh: line 1: I../../imported/include: Datei oder Verzeichnis nicht 
gefunden
make[1]: [osnvm.o] Fehler 127 (ignoriert)
* compiling () ostime.c
/bin/sh: line 1: I../../imported/include: Datei oder Verzeichnis nicht 
gefunden
make[1]: [ostime.o] Fehler 127 (ignoriert)
* compiling () linuxres.c
/bin/sh: line 1: I../../imported/include: Datei oder Verzeichnis nicht 
gefunden
make[1]: [linuxres.o] Fehler 127 (ignoriert)
ar cr libosspec.a osmemory.o osstring.o osdebug.o osfloat.o osstdio.o 
osmodule.o osnvm.o ostime.o linuxres.o
ar: osmemory.o: Datei oder Verzeichnis nicht gefunden
make[1]: *** [libosspec.a] Fehler 1
make[1]: Leaving directory `/usr/lib/hsf/modules/osspec'
make: *** [osspec] Fehler 2

Any idea how to proceed from here?

Thanks

jeorg

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



Re: Getting Ogle to work

2003-03-11 Thread martin f krafft
also sprach John <[EMAIL PROTECTED]> [2003.03.11.0744 +0100]:
> & since I haven't followed the thread, I don't know if you ran:
> 
> /usr/share/doc/ogle/examples/install-css.sh*
> 
> That would get you a undebian library to run css.

this is exactly the problem.

-- 
Please do not CC me when replying to lists; I read them!
 
 .''`. martin f. krafft <[EMAIL PROTECTED]>
: :'  :proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
NOTE: The pgp.net keyservers and their mirrors are broken!
Get my key here: http://people.debian.org/~madduck/gpg/330c4a75.asc


pgp0.pgp
Description: PGP signature


Re: Voice on DSL?

2003-03-11 Thread daniel huhardeaux
Dan Hunt wrote:

Concept: Two sisters, seperated by 14 hours of driving, and some Rocky
Mountains.
Each has DSL service.

One has an I-Mac, one with i386 Debian GNU/Linux, each with a microphone / speaker headset and Apache Web server on this end.

Any package suggestions? BTW Yes, they each have a telephone. 

 

GnomeMeeting (audio+video)

--
:  __ __ __ __ __ __  [EMAIL PROTECTED]
: /_// __  // __  //_// __  // / phone.: +48 32 285 4554
:  / /  / /_/ // /_/ /  / /  / /_/ // / fax: +48 32 285 4554
: /_/  /_//_/  /_/  /_/ /_//_/ mobile..: +48 602 284 546


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



Solved: CUPS, HP LaserJet 4L; won't print

2003-03-11 Thread Geordie Birch
said nate (on 2003-03-08),

> Geordie Birch said:
>
> > Stumped (and wishing I had a spare cable and a known-to-work printer.)
>
> another thing to try..
>
> echo "Blah" >/dev/lp0
>
> I think your printer can handle ascii.. if that works at least you
> know the printer and cable and computer can talk...
>
> nate

The LaserJet 4L works just fine with CUPS.

The parallel port connector was plugged into the motherboard wrong -
offset by one row of pins in one of those contortionist locations behind
the power supply.  I feel lucky that I didn't fry both the motherboard and
the printer.

Geordie.


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



<    1   2   3