Networking weirdness

2000-04-09 Thread Guyren G Howe
Trying to network my Debian 2.2/Corel Linux box to my [EMAIL PROTECTED] cable 
modem.
Failing.

No trouble getting my Mac and my Windows box to talk to the modem, but the
same settings fail on my Linux box.

The thing is, I'm pretty sure everything is set right on my Linux box. Apart
from them all being the same as the settings on my other computers, I can
turn the activity light in my modem on by trying to ping the gateway.

Furthermore, I'm reasonably confident about my understanding of how to set
up networking in Linux, because I can get Linux talking to my other two
computers just fine, including setting up Windows 98 as my NAT service
(shudder!) for Linux.

On top of all that, the cable modem has a 10.x.x.x address, and I have no
trouble pinging it, and I can set up Windows 98 as the gateway just fine.

So here's the question: what could my Linux box possibly be doing so that it
can talk to my PC, my Mac, my cable modem, my PC as its gateway, but not
ATT's cable modem gateway? I'm pretty sure that it's something about how
Linux is trying to talk to the gateway.

An alternative question that might help is: I understand how to use route
and ifconfig to set this stuff up, but what sort of IP diagnostics are
available to me to work out what's wrong?


DNS lookups fail

2000-03-22 Thread Guyren G Howe
I have somehow managed to get things so that the computers going through my
Debian 2.2 box for NAT can do DNS just fine, but I can't do a nslookup from
the same box itself to save myself.

nslookup never returns anything, even a timeout. My /etc/resolv.conf file
shows the same things I have set on the other computers that work fine
through my linux box.

What could I have got wrong?

TIA


RE: DNS lookups fail

2000-03-22 Thread Guyren G Howe
Sorry, that was not quite right. nslookup did eventually return, with:

*** Can't find server name for address ...: No response from server

for all three servers I have in my /etc/resolv.conf file, which are working
fine.

I can ping these same servers just fine, so I don't think it's a routing
issue.

--
 From: Guyren G Howe [EMAIL PROTECTED]
 Date: Wed, 22 Mar 2000 04:40:40 -0800
 To: debian-user@lists.debian.org debian-user@lists.debian.org
 Subject: DNS lookups fail
 
 I have somehow managed to get things so that the computers going through my
 Debian 2.2 box for NAT can do DNS just fine, but I can't do a nslookup from
 the same box itself to save myself.
 
 nslookup never returns anything, even a timeout. My /etc/resolv.conf file
 shows the same things I have set on the other computers that work fine through
 my linux box.
 
 What could I have got wrong?
 
 TIA


Redirecting 101 again

2000-03-07 Thread Guyren G Howe
I still can't make my games work from inside my firewall.

I was hoping someone could offer me specific instructions; the things I've
tried to do with ipmasqadm and ipautofw don't seem to have done what I told
them to do.

So here is what I need. My Linux box is 192.168.0.5. My PC is 192.168.0.2.
Here is what Atomic told me I need to get Close Combat 4 working through my
firewall:

To work though a firewall or proxy server, the ports 47624, and the range
2300-2400 must be open for both inbound and outbound TCP and UDP traffic.


So: given that I have Debian 2.2, how do I get this to work.

Also: I have another game on a different machine that needs port 47624. How
can I switch my redirection to the other machine when needed?

Many thanks.


redirecting 101

2000-02-27 Thread Guyren G Howe
Hi.

I want to get some games and other things working on machines inside my
Linux NAT server.

eg for Close Combat, I need ports 47624 and 2300-2400 on both TCP and UDP
redirected so from the outside they look like they're going to/from my Linux
box, but everything gets redirected in both directions to my PC.

I also want to redirect different ranges of ports to different machines on
my internal network. I *need* to be able to play Total Annihilation from my
Mac!

I can't work out how to do this. All the instructions I can find tell me to
use ipfwadm, but Debian doesn't seem to offer it (not listed in debian
packages, for example).

I presume ipchains can do this, but I don't seem to have an ipchains man
page (how can I reinstall the man page, btw?) and I could never make that
work anyway.

I'd love to understand the general theory of how to redirect particular
ports for particular protocols to particular machines.

ipchains? ipautofw? ipportfw?

TIA


Apple rtsp_proxy gives segmentation fault

2000-02-03 Thread Guyren G Howe
Hi, all.

I would like to use Quicktime streaming over my cable modem from my Mac and
Windoze machines. Apple offers a rtsp_proxy (possibly also useful with Real
and/or MS streaming as well, but I don't know) for linux.

I downloaded, installed and launched it successfully, but when I try to hit
it, I get a segmentation fault. I have tried dejanews and other internet
searches without finding a reference to this.

I am running 2.2 kernel, and all my internet stuff works just great. I am
using NAT on it; perhaps it is interfering with the UDP or TCP stuff that
the rtsp_proxy is trying to do.

So have you gotten this to work?

And do I need to adjust my ipchains if I am running the proxy on the NAT
machine?

TIA

Guyren G Howe


Screen capture

2000-01-31 Thread Guyren G Howe
How can I do a screen (or ideally, a window) capture under Debian (I am
running Window Maker with Gnome, if that helps).

TIA


netatalk setup

2000-01-28 Thread Guyren G Howe
While there is a debian netatalk distribution, I can't find any useful
documentation for getting it working. Most of the instructions I can find
refer to compiling and installing it on Red Hat, and the instructions don't
match what I have.

I've tried searching the debian archive, but it never turns up anything.

I've also looked in the Debian documentation online, but that doesn't give
me anything, either.

man atalkd *does* give me useful information, but it doesn't work. Since my
local net is on eth1, man atalkd seems to say that all I need is a
/etc/netatalk/atalkd.conf with the string eth1. But I created this, and
when I try to launch atalkd, all I get is:

socket: Invalid argument
atalkd: can't get interfaces, exiting

Thinking I might need to load a module, I ran modconf, but there is nothing
about appletalk, atalk or anything similar in the net section there, or
anywhere else for that matter.

Yet when I do apt-get install netatalk, it says I have the latest version
installed.

So how do I get this working?


How to fix apt/dpkg/dselect

2000-01-26 Thread Guyren G Howe
I have been trying for three or four days to get my x server to run. I can't
get dselect or apt to do the intelligent thing when it comes to
re-installing anything.

If I fix something (by brute-force: download via ftp and install), something
else breaks. apt and dselect are hopelessly trapped in loops or something
about what depends on what, what I should have installed and so on.

For instance: at the moment, I am trying to install man-db, since I don't
have any man pages (don't ask). I do:

apt-get install man-db

I get:

...
You might want to run apt-get install -f...
Sorry, but the following packages have unmet dependencies:

man-db: Depends: groff
rstart: Depends: netstd but it is not going to be installed
rstartd: Depends: netstd but it is not going to be installed
E: Unmet dependencies. Try apt-get -f install with no packages (or specify a
solution)

I thought apt was supposed to *sort out* dependencies. So I do:

apt-get install -f

and I get:

blah blah blah
The following... will be installed:
netstd
... 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
10 packages not fully installed or removed.
...Do you want to continue?

I say Yes. I get:

Unpacking netstd...
dpkg: error processing... netstd_3.07-7slink...
trying to overwrite '/usr/bin/finger', which is also in package finger
dpkg-deb: subprocess paste killed by signal (broken pipe)
Errors were encountered while processing:
...netstd_3.07-7slink...
E: Sub-process /usr/bin/dpkg returned an error code (1)

So then, not seeing what else I can do, I do:

apt-get install finger

and I get:

...
rstart: Depends: netstd but it is not going to be installed
rstartd:...

and then it advises me to run apt-get -f install.

So I'm stuck in a loop. Is there some master package I can ask for that will
reinstall Debian 2.2? What else can I do? This sucks!

TIA

Guyren G Howe


startx hell

2000-01-25 Thread Guyren G Howe
startx won't run. It gives me:

System: '/usr/X11R6/lib/X11/xkb/xkbcomp -w 1 -R/usr/X11R6/lib/X11/xkb -xkm
-m us -em1 The XKEBOARD keymap compiler (xkbcomp) reports:  -emp ?  -em1
Errors from xkbcomp are not fatal to the X server keymap/xfree86
compiled/xfree86.xkm'

Figuring that this is because I have no keymap installed, I searched the
Debian package system for a keymap thingy. I found console-tools. However,
when I do

apt-get install console-tools

I get a character-mode (ncurses?) display labelled Debian Configuration
and then Configuring Console-data, which is asking me what keyboard layout
I want (qwerty, azerty, etc). However, this script does *nothing*. No
keystroke has any effect except for Ctrl-C.

So: how do I get startx to happen?

TIA


startx hell

2000-01-25 Thread Guyren G Howe
Anyone have any thoughts on this?

--
 From: Guyren G Howe [EMAIL PROTECTED]
 Date: Mon, 24 Jan 2000 17:24:49 -0800
 To: debian-user@lists.debian.org debian-user@lists.debian.org
 Subject: startx hell
 
 startx won't run. It gives me:
 
 System: '/usr/X11R6/lib/X11/xkb/xkbcomp -w 1 -R/usr/X11R6/lib/X11/xkb -xkm
 -m us -em1 The XKEBOARD keymap compiler (xkbcomp) reports:  -emp ?  -em1
 Errors from xkbcomp are not fatal to the X server keymap/xfree86
 compiled/xfree86.xkm'
 
 Figuring that this is because I have no keymap installed, I searched the
 Debian package system for a keymap thingy. I found console-tools. However,
 when I do
 
 apt-get install console-tools
 
 I get a character-mode (ncurses?) display labelled Debian Configuration
 and then Configuring Console-data, which is asking me what keyboard layout
 I want (qwerty, azerty, etc). However, this script does *nothing*. No
 keystroke has any effect except for Ctrl-C.
 
 So: how do I get startx to happen?
 
 TIA
 


Can't give non-root X access

2000-01-19 Thread Guyren G Howe
How do I give access to X from anything other than root? I get an error that
the user is not allowed to run X.

I realise that this probably involves xauth. But the explanations I can find
about how it works might as well be in Greek. They all talk about the name
of the host, for example. Why should I need this when I want to just be able
to create a non-root login on the same computer?

Can someone explain for me, step-by-step, how I let my non-root login use X?

Many thanks.


package hell

2000-01-18 Thread Guyren G Howe
How do I get out of package hell?

In trying to install Enlightenment on my Debian/Corel machine, I've got
myself trapped in all sorts of loops where apt-get, dselect and dpkg all
refuse to install any of the things I need because they can't install other
things that those things depend on.

I've somehow managed to get my X Server uninstalled, and I can't reinstall
it. I get several screens of errors about things that it can't install, and
I can't find any way of piping this output to less or anything so I can see
all the errors. The ones I can see say, for example, that things can't be
installed because they depend on xfree86-common, which it doesn't get up to
installing, because of these errors that come up first.

I've tried everything I can think of. Just now, for example, I told dselect
to remove everything. Then I told it to install xfree86-common. It complains
it can't because cannot open help file
'/usr/share/doc/xfree-86common/.dhelp'

I've tried apt-get update followed by apt-get upgrade, but I just get the
same errors.

I thought this whole package thing was supposed to make this stuff easier.
This makes windows look like something well organised.

Hlp!


Clarification on setting window manager

2000-01-15 Thread Guyren G Howe
Okay,

I asked the question a little while back about how I can set my window
manager. So far I have been advised to edit, in different messages from
different people:

/etc/X11/window-managers
~/xinitrc
~/.xsession

I've also been advised to run register-window-manager --default, but when I
run it, it advises me that it will soon be superceded!

Any or all of these look plausible. None of them actually seem to work (they
currently *all* say kde, but I'm still getting enlightenment).

What is the *real* answer here?

BTW, enlightenment looks like shit. I get stray lines all over the screen
when I resize windows, most of the little icons don't do anything, and the
right mouse-click on the desktop, which all the enlightenment
documentation (which is a generous term) I've been able to find advises me
to do, doesn't do anything.

Is enlightenment just crap, or am I missing something here?


KDE stuff under other desktops (and desktop recommendations)

2000-01-14 Thread Guyren G Howe
I want to get right into customising this thing (currently ranked as
newbie). So I installed the Afterstep desktop instead of KDE. Kinda nice, in
many ways.

But I miss some of the nice little apps from my Corel KDE stuff.

I've found that I can fire up the file browser by executing CorelExplorer.
But it lets me look at files but not, for example, open them.

And I cannot, for the life of me, work out where to find all the little KDE
things I was using.

So: how do I go about getting them to run under Afterstep.

And also, I was hoping that those who have tried a bunch of different
desktops would summarise why you settled on the desktop you prefer.
Advantages and disadvantages of the varoius desktops you've tried.

TIA 


Re: debian-user-digest Digest V100 #79

2000-01-14 Thread Guyren G Howe
Title: Re: debian-user-digest Digest V100 #79



This does nothing. I execute chmod 700 .xsession, and nothing happens. I just get the command prompt back.

Besides, shouldn't this tie into startx somehow?

From: [EMAIL PROTECTED]
Reply-To: debian-user@lists.debian.org
Date: 13 Jan 2000 22:02:49 -
To: [EMAIL PROTECTED]
Subject: debian-user-digest Digest V100 #79

From: John Pearson [EMAIL PROTECTED]
Date: Thu, 13 Jan 2000 15:52:34 +1030
To: debian-user@lists.debian.org debian-user@lists.debian.org
Subject: Re: How to install new Window manager

On Wed, Jan 12, 2000 at 03:57:53PM -0900, Ethan Benson wrote
 On 12/1/2000 Guyren G Howe wrote:
 
 But I can't work out how to get Afterstep to come up instead of KDE. Can
 someone tell me how to do this? All the explanations I've found go into
 gorey detail about compiling it, then say something like and then you
 install it.
 
 add a .xsession to your home directory wtih contents as follows:
 
 #! /bin/sh
 
 ## name of your preferred windowmanager (afterstep may not be right name)
 afterstep 
 

That line should be:
exec afterstep

When your .xsession terminates, so does your session. The 
last program you start in your .xsession should *not* be put
in the background like that, or you will exit before your
WM has time to start.

 then chmod 700 .xsession
 
 Ethan







X doesn't start any more

2000-01-13 Thread Guyren G Howe
Hi all,

After choosing afterstep and some other stuff in dselect, when I reboot my
machine, it says it's starting kdm, but nothing happens. And when I do exec
xdm, it just logs me out.

Any idea how to fix this?

Thanks! 


Worked it out

2000-01-13 Thread Guyren G Howe
I worked out why X wouldn't start (had my XFree86 config wrong).
Thanks anyway. 


How to install new Window manager

2000-01-12 Thread Guyren G Howe
I'm a newbie at this. I figured I'd get started learning to customise all
this stuff by installing a new Window Manager. I like the look of AfterStep
(one of its skins in particular), so I've downloaded all the relevant bits.

But I can't work out how to get Afterstep to come up instead of KDE. Can
someone tell me how to do this? All the explanations I've found go into
gorey detail about compiling it, then say something like and then you
install it.

I'm also interested in the meta-question: where would I look, on the net or
in /usr/doc or whatever, to work out the answer to this question for myself?

TIA 


@Home not working

2000-01-11 Thread Guyren G Howe
I'd be grateful for some advice about why I can't get a basic TCP network
running on this *^%$%^ thing.

I have a Debian 2.1/Corel box. It has two tulip Ether cards, which work fine
on my local LAN. (2 cards because I want to set up NAT, but I figured I'd
get basic internet connection working first).

The settings I use on my Mac and PC that work fine on @Home are:

address: 24.8.xx.yy (I'm substituting letters for part of my address)
netmask: 255.255.255.128
gateway: 24.8.xx.129

...and I have a bunch of domain servers and such.

I set this up with ifconfig. To simplify things, I've done ifconfig eth1
down, so I just have loopback and eth0 addresses:

...
eth0 inetaddr:24.8.xx.yy Bcast: 24.8.xx.255 Mask:255.255.255.128
   UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
   RX packets:81 errors:0 dropped:0 overruns:0 frame:0
   TX packets:356 errors:209 dropped:0 overruns:0 carrier: 418
   Collisions:0
   Interrupt:10 Base address:0xb000

And route -n says:

Destination Gateway Genmask Flags   Metric  Ref Use
Iface
0.0.0.0 24.8.xx.129255.255.255.128  UG   0  0   0
eth0
24.8.xx.128 0.0.0.0255.255.255.128  U 0  0   0
eth0

When I do dmesg, I get:

...
eth0: Changing PNIC configuration to half-duplex, CSR6 816e
...

I can't see anything else there that looks like the 209 errors that ifconfig
is telling me about.

This shouldn't be so difficult! I've done all this stuff over and over with
minor permutations, eg the route table in the opposite order, but I can
never get anywhere.

When I try to ping the gateway, ping 24.8.xx.129, I get nothing back.

Heelp!

Guyren G Howe 


[Rank Newbie] Netgear ether card under Corel distrib

2000-01-05 Thread Guyren G Howe
I am diving head first into Linux, but have done very little work with Unix
in my career except a tiny but at University.

My immediate problem is that I can't get network cards working under my
Corel linux (or my sound card -- an inland Sound Card PCI 128 Wave Table --
but I'm prepared to leave that one for later).

I have bought two cards now. Both have had me download .c versions of the
tulip drivers, and neither of them would compile for my Debian variant O/S.
I have tried reinstalling the OS from scratch after installing each set of
cards, but it didn't help. I can see the cards in the control Center's ftp
setup, and I can set options for it, but when I do ifconfig -a, all I get is
the loopback. Plus, the control center sees only card and there are two.

If you feel like commenting, the first thing I want this thing to do is run
NAT, so if that is relevant to this discussion, please say so.

I have a home-built ABP Dual-celeron 400 (couldn't get 366's any more)
machine, with a downloaded Corel Linux distrib.

So my immediate question is:

I need to know what to do with the tulip.c file I got from Bay Networks for
my Netgear FA 310TX cards (I have two, so I can run this thing as a NAT
machine).

The metaquestion, which might be more useful to me in the long run, is:

How do I translate instructions about compiling for RedHat or Slackware into
instructions for Debian? Specific questions, which might or might not be the
right ones:

- do I compile for a module or a monolithic kernel?

- after hours spent reading the /usr/doc stuff, I tried to compile, but I
found that one of the make files referred to a bunch of files that didn't
actually exist (at least, not in the locations given in the file; and the
first few I searched for didn't exist *at all* -- I know, I searched).

I found a bug report on this one (#32456 --
http://www.chiark.greenend.org.uk/debian/Bugs/db/32/32456-b.html), but I can
find nowhere to search for responses to these bug reports.

The metametaquestion is where is the best place to find answers to these
sorts of questions for myself. I spent most of yesterday trying to work this
one out for myself. I visited a couple of hundred web pages, and read a
significant proportion of the /usr/doc stuff, but I am no wiser about why
the arrangement of the files in Debian is clearly very different to those in
Redhat, what that means for compiling for Debian, etc. And I have a cable
modem. This time was almost entirely spent reading stuff that didn't answer
my questions.

I like the philosophy of Debian, but if everything I get is going to be set
up for Redhat, and if adapting them to Debian is going to be hard, I might
have to give up on debian and go with Red Hat. I'd rather not, though!

TIA

Help!!! 


UDMA/66

2000-01-05 Thread Guyren G Howe
I couldn't get Corel Linux to work until I switched my drive from the
UDMA/66 port to the normal one (I have a BP6 mobo and UDMA/66 drive).

The benchmarks I've seen (eg on Thresh) show the /66 to be way faster.

Is there any way I can get this to work?

TIA