------------------------------------------------------------------------
Subject:
Re: Interfaces configuration and tap0
From:
Martin Wuertele <[EMAIL PROTECTED]>
Date:
Wed, 13 Mar 2002 10:27:58 +0100
To:
debian-user@lists.debian.org
Hi Philippe!
On Tue, 12 Mar 2002, Philippe Raxhon wrote:
I'm running a Debian 2.2 with testing packages. I have 2 network cards:
- eth0: not configured, it's used by pppd (ADSL line) when started.
- eth1: configured as 192.168.1.254, for my local network (configured
using linuxconf, present in /etc/network/interfaces)
scrap linuxconf, it does not work troublefree on redhat and is even worse
with debian.
if you want your interface automatically started when booting add
auto eth0
to /etc/network/interfaces (see man 5 interfaces)
Thanks a lot (I had forgoten that line) but I still have tap0 on
startup, but not in single mode, so it's probably a daemon that is
setting it. The real problem is that tap0 is set has the default route,
and I still have to do;
ifconfig tap0 down
or change the default route:
route add default gw xxx.xxx.xxx.xxx dev ppp0
But when I boot, ifconfig showns only lo and tap0 (being the default
gateway). That means I have to do:
- ifconfig tap0 down
- ifconfig eth1 192.168.1.254
before starting the ADSL connection (that is then the default gateway).
What is tap0?
Why doesn't it "load" eth1? When I start linux in single mode it
doesnt't load nor tap0 nor eth1.
BTW, I have another problem. I have added some environment variables to
/etc/profile, but they are not taken into account when I run a xterm
while they are set in a tty.
put the it into /etc/environment and it should work
It works for all of them except when I try to add some path to PATH,
gnome doesn't want to start. Is this syntax correct:
PATH="$PATH:$JAVA_HOME/bin:$ANT_HOME/bin"
knowing JAVAHOME and ANT_HOME are set the lines before.
This syntax is certainly not correct. It's the one I have in
/etc/profiles and, in a TTY, I still can't run java or ant and don't see
them in the PATH when typing: set | less
yours martin