unsubscribe

2003-03-20 Thread Gustave Peterson
 
 ok folks i don't want to be rude.  but if I can
figure out how to use linux i ought to be able to
write an unsubscribe email, No?

The reason why I sent it to the list is because I
swear that this hasn't worked like 3 times already. 
I've even emailed to the webmaster.

this email should be an example, an ill bet any one of
you ten bucks that it won't work and i'll get messages
for the next week as well.  and since i sold my laptop
it doesnt do me any good.

much love and complaints
gp


__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com



Re: your mail

2003-03-20 Thread Derek Broughton

From: "Mike Beattie" <[EMAIL PROTECTED]>


It seems I'd picked up a version of pcmcia-cs from sid in one of my
experiments, but even having downgraded this to 3.1.33-6 it does 
_not_ seem to invoke ifup/ifdown (all that seems different is the 
use of hotplug in sid). I _did_ reset DHCP="y" when I recreated the

network.opts file.


Of cource, you do realise that when using /e/n/interfaces with 
pcmcia, you dont want to change the default network.opts at all, 
right?


Well, no I didn't, but a private email led me to understand the error of 
my ways.  It still seems odd that I need to leave network.opts saying
DHCP="n" if I want to get ifup to use dhcp.  But I do understand that 
that's correct.  Of course, it still didn't work...


I checked /etc/network/interfaces and I don't have "auto" specified for
eth0.

I've reinstalled pcmcia-cs just to make sure that I _do_ have a default
network.opts (attached).  Now the only thing that comes to mind is
hotplug, which was installed for USB but is now getting invoked for
PCMCIA cards, too.

But whatever's happening, I'm seeing 'ifdown' execute (correctly - it
runs the firewall's stop script) but 'ifup' doesn't:

cardmgr[308]: + /sbin/ifup: interface eth0 already configured

At least I can see that it's _trying_ to run ifup.

My configs are attached, along with the relevant part of syslog (minus 
too verbose output from dhclient showing that it did get an IP).
### etherconf DEBCONF AREA. DO NOT EDIT THIS AREA OR INSERT TEXT BEFORE IT.
auto lo

iface lo inet loopback

iface eth0 inet dhcp
hostname casio


### END OF DEBCONF AREA.  PLACE YOUR EDITS BELOW; THEY WILL BE PRESERVED.
up /etc/init.d/firestarter start
post-down /etc/init.d/firestarter stop
# Network adapter configuration
#
# The address format is "scheme,socket,instance,hwaddr".
#
# Note: the "network address" here is NOT the same as the IP address.
# See the Networking HOWTO.  In short, the network address is the IP
# address masked by the netmask.
#
case "$ADDRESS" in
*,*,*,*)
INFO="Sample private network setup"
# Transceiver selection, for some cards -- see 'man ifport'
IF_PORT=""
# Use BOOTP (via /sbin/bootpc, or /sbin/pump)? [y/n]
BOOTP="n"
# Use DHCP (via /sbin/dhcpcd, /sbin/dhclient, or /sbin/pump)? [y/n]
DHCP="n"
# If you need to explicitly specify a hostname for DHCP requests
DHCP_HOSTNAME=""
# Use PPP over Ethernet (via the pppoe package)? [y/n]
PPPOE="n"
# Use WHEREAMI (via the whereami package)? [y/n]
WHEREAMI="n"
# Host's IP address, netmask, network address, broadcast address
IPADDR=""
NETMASK="255.255.255.0"
NETWORK="10.0.1.0"
BROADCAST="10.0.1.255"
# Gateway address for static routing
GATEWAY="10.0.1.1"
# Things to add to /etc/resolv.conf for this interface
DOMAIN=""
SEARCH=""
# The nameserver IP addresses specified here complement the
# nameservers already defined in /etc/resolv.conf.  These nameservers
# will be added to /etc/resolv.conf automatically when the PCMCIA
# network connection is established and removed from this file when
# the connection is broken.
DNS_1=""
DNS_2=""
DNS_3=""
# NFS mounts, should be listed in /etc/fstab
MOUNTS=""
# If you need to override the interface's MTU...
MTU=""
# For IPX interfaces, the frame type and network number
IPX_FRAME=""
IPX_NETNUM=""
# Run ipmasq? [y/n]  (see the Debian ipmasq package)
IPMASQ="n"
# Extra stuff to do after setting up the interface
start_fn () { return; }
# Extra stuff to do before shutting down the interface
stop_fn () { return; }
# Card eject policy options
NO_CHECK=n
NO_FUSER=n
;;
esac

# This tries to use Debian's network setup in /etc/network/interfaces
# if no settings are given higher up in this file.  You can delete it
# if that isn't desired.

#is_true $PUMP || is_true $BOOTP || is_true $DHCP || is_true $DHCLIENT || \
#if [ ! "$IPADDR" -a -f /etc/network/interfaces ] ; then
INFO="Debian network setup"
start_fn () {
log /sbin/ifup $1
}
stop_fn () {
log /sbin/ifdown $1
}
#fi
Mar 20 09:06:42 casio.othello.dyn.ca cardmgr[308]: executing: './network stop 
eth0'
Mar 20 09:06:44 casio.othello.dyn.ca cardmgr[308]: + Stopping firestarter 
firewall: firestarter.
Mar 20 09:06:44 casio.othello.dyn.ca cardmgr[308]: executing: 'modprobe -r 
pcnet_cs'
Mar 20 09:06:44 casio.othello.dyn.ca cardmgr[308]: executing: 'modprobe -r 8390'
Mar 20 09:06:44 casio.othello.dyn.ca /etc/hotplug/net.agent: invoke ifdown eth0
Mar 20 09:07:00 casio.othello.dyn.ca cardmgr[308]: socket 0: NetGear FA411 Fast 
Ethernet
Mar 20 09:07:00 casio.othello.dyn.ca cardmgr[308]: executing: 'modprobe 8390'
Mar 20 09:07:01 casio.othello.dyn.ca cardmgr[308]: executing: 'modprobe 
pcnet_cs'
Mar 20 09:07:01 casio.othello.dyn.ca cardmgr[308]: executing: './network start 
eth0'
Mar 20 09:07:01 casio.othello.dyn.ca /etc/hotplug/

Re: Switching from static IP to DHCP

2003-03-20 Thread Larry Colen
I've been wrestling with the same problem. It would work on static
addresses, but if I tried the dhcp entry in /etc/network/interfaces
eth0 would come up, but without an ipaddress. I finally looked at 
/var/log/syslog and it said to make sure that CONFIG_PACKET  and
CONFIG_FILTER are defined in the kernel.

A quick kernel rebuild solved the problem.

Now I've got to try and figure out how to change from network to
network. the man page on interfaces seems to have about 80% of the
information you need to actually get it to work.


On Mon, Mar 17, 2003 at 12:14:26PM +, James Tappin wrote:
> Hi.
>   I'm trying to change a laptop that is currently using static IP to use
> DHCP instead. Which package do I need to reconfigure to do this.
> (netbase and netenv don't seem to have the options to do that).
> 
> TIA
>   James
> 
> -- 
> ++---+-+
> | James Tappin   | School of Physics & Astronomy |  O__|
> | [EMAIL PROTECTED] | University of Birmingham  | --  \/` |
> | Ph: 0121-414-6462. Fax: 0121-414-3722  | |
> ++-+
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
I've found something worse than oldies station that play the music I used to
listen to. Oldies stations that play the "new" music I used to complain about.
[EMAIL PROTECTED]http://www.red4est.com/lrc



Re: DVD/CDRW drives support

2003-03-20 Thread Eduard Bloch
#include 
* Matěj Hausenblas [Tue, Mar 18 2003, 11:19:27PM]:

> I would like to know, if in general nowadays the DVD/CDRW drives on laptops 
> are supported by cdrecord and if getting them to work is the same as getting 
> a standard drive to work on a desktop PC. (I mean ide-scsi emulation, or even 
> better true scsi).

Internal drivers are used the same way as the big versions. What I would
like is to have a driver for the external Freecom/Toshiba drive. It is
not USB or similar, it is a cardbus card which is registred correctly on
the PCI bus without a driver for it. If someone has an idea how to make
a such thing work, please tell me.

Gruss/Regards,
Eduard.
-- 
Eine Regierung darf sich nie in Abhängigkeit eines einzigen
Herstellers begeben, wenn sie unabhängig bleiben möchte.
-- Presse-Team



Re: Switching from static IP to DHCP

2003-03-20 Thread Roberto Sanchez


I've been wrestling with the same problem. It would work on static
addresses, but if I tried the dhcp entry in /etc/network/interfaces
eth0 would come up, but without an ipaddress. I finally looked at
/var/log/syslog and it said to make sure that CONFIG_PACKET  and
CONFIG_FILTER are defined in the kernel.

A quick kernel rebuild solved the problem.

Now I've got to try and figure out how to change from network to
network. the man page on interfaces seems to have about 80% of the
information you need to actually get it to work.


On Mon, Mar 17, 2003 at 12:14:26PM +, James Tappin wrote:
> Hi.
>I'm trying to change a laptop that is currently using static IP to use
> DHCP instead. Which package do I need to reconfigure to do this.
> (netbase and netenv don't seem to have the options to do that).
>
> TIA
>James
>
> --
> ++---+-+
> | James Tappin   | School of Physics & Astronomy |  O__|
> | [EMAIL PROTECTED] | University of Birmingham  | --  \/` |
> | Ph: 0121-414-6462. Fax: 0121-414-3722  | |
> ++-+
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact 
[EMAIL PROTECTED]


--
I've found something worse than oldies station that play the music I used 
to
listen to. Oldies stations that play the "new" music I used to complain 
about.
[EMAIL PROTECTED]
http://www.red4est.com/lrc



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




This is what I do (since I always bring up my network interface by hand):

I have two files in my /root directory.

*
file1:

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

eth0

iface eth0 inet static
address 192.168.0.254
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.1
*
file2:

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

eth0
iface eth0 inet dhcp

When I am on the static network, I su to root and call
ifup eth0 -i file1

When I am on the dynamic network, I su to root and call
ifup eth0 -i file2

If I need additional configurations, I can just add more files.  Not the 
most elegant solution, but it suits my needs (and I could never get netenv 
to work just right).


-Roberto Sanchez


_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail




Re: battery-stats package uploaded to unstable

2003-03-20 Thread xsdg
hrm... what's the difference between this package and ibam?  I've been running
ibam every minute (:o) through a cronjob for the past few months.  I admittedly
have looked at the website for neither battery-stats nor ibam, but from what I
can tell, both gather statistics about the batter{y,ies}, and both are able to
help the user make some sense of these statistics through gnuplot...

--xsdg
-- 
| An infinite number of monkeys given an infinite   |
|   amount of time can write shakespeare, Windows   |
|   was a 10 minute 5 monkey job|
) http://www.cuodan.net/~xsdg/[EMAIL PROTECTED] (



pgp7P9VqMZGV6.pgp
Description: PGP signature


Re: your mail

2003-03-20 Thread Mike Beattie
On Thu, Mar 20, 2003 at 09:21:11AM -0400, Derek Broughton wrote:
> Well, no I didn't, but a private email led me to understand the error of 
> my ways.  It still seems odd that I need to leave network.opts saying
> DHCP="n" if I want to get ifup to use dhcp.  But I do understand that 
> that's correct.  Of course, it still didn't work...
> 
> I've reinstalled pcmcia-cs just to make sure that I _do_ have a default
> network.opts (attached).

It's not. you need to purge it, then install it.

The stanza in network.opts doesnt apply, because it's not using
dhcp/bootp/whatever, and has no IP assigned. that's what the list of
it_true's at the bottom is for. In my default config, they're uncommented.

It seems backwards, I know. but if you leave that file alone, and use
interfaces(5), it'll work.

> But whatever's happening, I'm seeing 'ifdown' execute (correctly - it
> runs the firewall's stop script) but 'ifup' doesn't:
> 
> cardmgr[308]: + /sbin/ifup: interface eth0 already configured
> 
> At least I can see that it's _trying_ to run ifup.
...
> Mar 20 09:07:01 casio.othello.dyn.ca /etc/hotplug/net.agent: invoke ifup eth0
> Mar 20 09:07:10 casio.othello.dyn.ca cardmgr[308]: + /sbin/ifup: interface 
> eth0 already configured

Get rid of hotplug, it's getting there 'first'.

Mike.
-- 
Mike Beattie <[EMAIL PROTECTED]>  ZL4TXK, IRLP Node 6184

 Contentsofsignaturemaysettleduringshipping.



Re: your mail

2003-03-20 Thread ronin2
On Fri, 21 Mar 2003 11:48:25 +1200
Mike Beattie <[EMAIL PROTECTED]> wrote:

> It seems backwards, I know. but if you leave that file alone, and use
> interfaces(5), it'll work.

Where can I read about The Debian Way of letting /e/n/interfaces handle
pcmcia?

Kevin



Re: battery-stats package uploaded to unstable

2003-03-20 Thread Karl E. Jorgensen
On Thu, Mar 20, 2003 at 11:20:35PM +, xsdg wrote:
> hrm... what's the difference between this [battery-stats] package and
> ibam?  I've been running ibam every minute (:o) through a cronjob for
> the past few months.  I admittedly have looked at the website for
> neither battery-stats nor ibam, but from what I can tell, both gather
> statistics about the batter{y,ies}, and both are able to help the user
> make some sense of these statistics through gnuplot...

ibam simply tries to predict how long you can run before a recharge (or
how long before the battery is fully charged).  It does that vastly
better than e.g. my BIOS :-)

battery-stats has a slightly different aim - it collects statistics
about the battery charge over *longer* periods.  By looking at the stats
you can (or should be able to) see how your battery responds to
"wear-and-tear" over a period of e.g. a month.

-- 
Karl E. Jørgensen
[EMAIL PROTECTED]   http://karl.jorgensen.com
 Today's fortune:
And that's the way it is...
-- Walter Cronkite


pgpF8bDKzd5qJ.pgp
Description: PGP signature


Re: your mail

2003-03-20 Thread Mike Beattie
On Thu, Mar 20, 2003 at 08:56:44PM -0500, [EMAIL PROTECTED] wrote:
> Where can I read about The Debian Way of letting /e/n/interfaces handle
> pcmcia?

man 5 interfaces

e.g: My wireless card is eth1:  (builtin ethernet is eth0)

/etc/network/interfaces has:
...
mapping eth1
script /etc/network/ifscheme


# Home

iface eth1-home inet dhcp
wireless_nick toolbox
wireless_mode managed
wireless_essid blah
wireless_key 's:12345'


# Others...
...
etc.

(for the ifscheme script, see http://bugs.debian.org/15)

And it Just Works(tm), So, you can see that there is no difference between
using interfaces(5) for a builtin card, or a pcmcia card. The point is, that
network.opts does the magic of calling ifup or ifdown for you, if you leave
the configuration alone.

Mike.
-- 
Mike Beattie <[EMAIL PROTECTED]>  ZL4TXK, IRLP Node 6184

  "This isnt Mission Difficult Mr Hunt, this is Mission Impossible.
  Difficult should be a walk in the park for you."  -- MI:2



Re: your mail

2003-03-20 Thread ronin2
On Fri, 21 Mar 2003 14:36:23 +1200
Mike Beattie <[EMAIL PROTECTED]> wrote:

> man 5 interfaces
> 
> (for the ifscheme script, see http://bugs.debian.org/15)
> 
> And it Just Works(tm), So, you can see that there is no difference
> between using interfaces(5) for a builtin card, or a pcmcia card. The
> point is, that network.opts does the magic of calling ifup or ifdown
> for you, if you leave the configuration alone.

Thanks, Mike. I'll check that out.

I've been playing musical network.opts.

Kevin



Re: your mail

2003-03-20 Thread Derek Broughton
From: "Mike Beattie" <[EMAIL PROTECTED]>

It seems I'd picked up a version of pcmcia-cs from sid in one of my
experiments, but even having downgraded this to 3.1.33-6 it does 
_not_ seem to invoke ifup/ifdown (all that seems different is the 
use of hotplug in sid). I _did_ reset DHCP="y" when I recreated the
network.opts file.
Of cource, you do realise that when using /e/n/interfaces with 
pcmcia, you dont want to change the default network.opts at all, 
right?
Well, no I didn't, but a private email led me to understand the error of 
my ways.  It still seems odd that I need to leave network.opts saying
DHCP="n" if I want to get ifup to use dhcp.  But I do understand that 
that's correct.  Of course, it still didn't work...

I checked /etc/network/interfaces and I don't have "auto" specified for
eth0.
I've reinstalled pcmcia-cs just to make sure that I _do_ have a default
network.opts (attached).  Now the only thing that comes to mind is
hotplug, which was installed for USB but is now getting invoked for
PCMCIA cards, too.
But whatever's happening, I'm seeing 'ifdown' execute (correctly - it
runs the firewall's stop script) but 'ifup' doesn't:
cardmgr[308]: + /sbin/ifup: interface eth0 already configured

At least I can see that it's _trying_ to run ifup.

My configs are attached, along with the relevant part of syslog (minus 
too verbose output from dhclient showing that it did get an IP).
### etherconf DEBCONF AREA. DO NOT EDIT THIS AREA OR INSERT TEXT BEFORE IT.
auto lo

iface lo inet loopback

iface eth0 inet dhcp
hostname casio


### END OF DEBCONF AREA.  PLACE YOUR EDITS BELOW; THEY WILL BE PRESERVED.
up /etc/init.d/firestarter start
post-down /etc/init.d/firestarter stop
# Network adapter configuration
#
# The address format is "scheme,socket,instance,hwaddr".
#
# Note: the "network address" here is NOT the same as the IP address.
# See the Networking HOWTO.  In short, the network address is the IP
# address masked by the netmask.
#
case "$ADDRESS" in
*,*,*,*)
INFO="Sample private network setup"
# Transceiver selection, for some cards -- see 'man ifport'
IF_PORT=""
# Use BOOTP (via /sbin/bootpc, or /sbin/pump)? [y/n]
BOOTP="n"
# Use DHCP (via /sbin/dhcpcd, /sbin/dhclient, or /sbin/pump)? [y/n]
DHCP="n"
# If you need to explicitly specify a hostname for DHCP requests
DHCP_HOSTNAME=""
# Use PPP over Ethernet (via the pppoe package)? [y/n]
PPPOE="n"
# Use WHEREAMI (via the whereami package)? [y/n]
WHEREAMI="n"
# Host's IP address, netmask, network address, broadcast address
IPADDR=""
NETMASK="255.255.255.0"
NETWORK="10.0.1.0"
BROADCAST="10.0.1.255"
# Gateway address for static routing
GATEWAY="10.0.1.1"
# Things to add to /etc/resolv.conf for this interface
DOMAIN=""
SEARCH=""
# The nameserver IP addresses specified here complement the
# nameservers already defined in /etc/resolv.conf.  These nameservers
# will be added to /etc/resolv.conf automatically when the PCMCIA
# network connection is established and removed from this file when
# the connection is broken.
DNS_1=""
DNS_2=""
DNS_3=""
# NFS mounts, should be listed in /etc/fstab
MOUNTS=""
# If you need to override the interface's MTU...
MTU=""
# For IPX interfaces, the frame type and network number
IPX_FRAME=""
IPX_NETNUM=""
# Run ipmasq? [y/n]  (see the Debian ipmasq package)
IPMASQ="n"
# Extra stuff to do after setting up the interface
start_fn () { return; }
# Extra stuff to do before shutting down the interface
stop_fn () { return; }
# Card eject policy options
NO_CHECK=n
NO_FUSER=n
;;
esac

# This tries to use Debian's network setup in /etc/network/interfaces
# if no settings are given higher up in this file.  You can delete it
# if that isn't desired.

#is_true $PUMP || is_true $BOOTP || is_true $DHCP || is_true $DHCLIENT || \
#if [ ! "$IPADDR" -a -f /etc/network/interfaces ] ; then
INFO="Debian network setup"
start_fn () {
log /sbin/ifup $1
}
stop_fn () {
log /sbin/ifdown $1
}
#fi
Mar 20 09:06:42 casio.othello.dyn.ca cardmgr[308]: executing: './network stop eth0'
Mar 20 09:06:44 casio.othello.dyn.ca cardmgr[308]: + Stopping firestarter firewall: 
firestarter.
Mar 20 09:06:44 casio.othello.dyn.ca cardmgr[308]: executing: 'modprobe -r pcnet_cs'
Mar 20 09:06:44 casio.othello.dyn.ca cardmgr[308]: executing: 'modprobe -r 8390'
Mar 20 09:06:44 casio.othello.dyn.ca /etc/hotplug/net.agent: invoke ifdown eth0
Mar 20 09:07:00 casio.othello.dyn.ca cardmgr[308]: socket 0: NetGear FA411 Fast 
Ethernet
Mar 20 09:07:00 casio.othello.dyn.ca cardmgr[308]: executing: 'modprobe 8390'
Mar 20 09:07:01 casio.othello.dyn.ca cardmgr[308]: executing: 'modprobe pcnet_cs'
Mar 20 09:07:01 casio.othello.dyn.ca cardmgr[308]: executing: './network start eth0'
Mar 20 09:07:01 casio.othello.dyn.ca /etc/hotplug/net.agent: invo

Re: Switching from static IP to DHCP

2003-03-20 Thread Larry Colen
I've been wrestling with the same problem. It would work on static
addresses, but if I tried the dhcp entry in /etc/network/interfaces
eth0 would come up, but without an ipaddress. I finally looked at 
/var/log/syslog and it said to make sure that CONFIG_PACKET  and
CONFIG_FILTER are defined in the kernel.

A quick kernel rebuild solved the problem.

Now I've got to try and figure out how to change from network to
network. the man page on interfaces seems to have about 80% of the
information you need to actually get it to work.


On Mon, Mar 17, 2003 at 12:14:26PM +, James Tappin wrote:
> Hi.
>   I'm trying to change a laptop that is currently using static IP to use
> DHCP instead. Which package do I need to reconfigure to do this.
> (netbase and netenv don't seem to have the options to do that).
> 
> TIA
>   James
> 
> -- 
> ++---+-+
> | James Tappin   | School of Physics & Astronomy |  O__|
> | [EMAIL PROTECTED] | University of Birmingham  | --  \/` |
> | Ph: 0121-414-6462. Fax: 0121-414-3722  | |
> ++-+
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
I've found something worse than oldies station that play the music I used to
listen to. Oldies stations that play the "new" music I used to complain about.
[EMAIL PROTECTED]http://www.red4est.com/lrc


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



Re: DVD/CDRW drives support

2003-03-20 Thread Eduard Bloch
#include 
* Matěj Hausenblas [Tue, Mar 18 2003, 11:19:27PM]:

> I would like to know, if in general nowadays the DVD/CDRW drives on laptops 
> are supported by cdrecord and if getting them to work is the same as getting 
> a standard drive to work on a desktop PC. (I mean ide-scsi emulation, or even 
> better true scsi).

Internal drivers are used the same way as the big versions. What I would
like is to have a driver for the external Freecom/Toshiba drive. It is
not USB or similar, it is a cardbus card which is registred correctly on
the PCI bus without a driver for it. If someone has an idea how to make
a such thing work, please tell me.

Gruss/Regards,
Eduard.
-- 
Eine Regierung darf sich nie in Abhängigkeit eines einzigen
Herstellers begeben, wenn sie unabhängig bleiben möchte.
-- Presse-Team


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



Re: Switching from static IP to DHCP

2003-03-20 Thread Roberto Sanchez
I've been wrestling with the same problem. It would work on static
addresses, but if I tried the dhcp entry in /etc/network/interfaces
eth0 would come up, but without an ipaddress. I finally looked at
/var/log/syslog and it said to make sure that CONFIG_PACKET  and
CONFIG_FILTER are defined in the kernel.
A quick kernel rebuild solved the problem.

Now I've got to try and figure out how to change from network to
network. the man page on interfaces seems to have about 80% of the
information you need to actually get it to work.
On Mon, Mar 17, 2003 at 12:14:26PM +, James Tappin wrote:
> Hi.
> 	I'm trying to change a laptop that is currently using static IP to use
> DHCP instead. Which package do I need to reconfigure to do this.
> (netbase and netenv don't seem to have the options to do that).
>
> TIA
> 	James
>
> --
> ++---+-+
> | James Tappin   | School of Physics & Astronomy |  O__|
> | [EMAIL PROTECTED] | University of Birmingham  | --  \/` |
> | Ph: 0121-414-6462. Fax: 0121-414-3722  | |
> ++-+
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact 
[EMAIL PROTECTED]

--
I've found something worse than oldies station that play the music I used 
to
listen to. Oldies stations that play the "new" music I used to complain 
about.
[EMAIL PROTECTED]
http://www.red4est.com/lrc

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

This is what I do (since I always bring up my network interface by hand):

I have two files in my /root directory.

*
file1:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback
eth0

iface eth0 inet static
address 192.168.0.254
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.1
*
file2:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback
eth0
iface eth0 inet dhcp
When I am on the static network, I su to root and call
ifup eth0 -i file1
When I am on the dynamic network, I su to root and call
ifup eth0 -i file2
If I need additional configurations, I can just add more files.  Not the 
most elegant solution, but it suits my needs (and I could never get netenv 
to work just right).

-Roberto Sanchez

_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


Re: battery-stats package uploaded to unstable

2003-03-20 Thread xsdg
hrm... what's the difference between this package and ibam?  I've been running
ibam every minute (:o) through a cronjob for the past few months.  I admittedly
have looked at the website for neither battery-stats nor ibam, but from what I
can tell, both gather statistics about the batter{y,ies}, and both are able to
help the user make some sense of these statistics through gnuplot...

--xsdg
-- 
| An infinite number of monkeys given an infinite   |
|   amount of time can write shakespeare, Windows   |
|   was a 10 minute 5 monkey job|
) http://www.cuodan.net/~xsdg/[EMAIL PROTECTED] (



pgp0.pgp
Description: PGP signature


Re: your mail

2003-03-20 Thread Mike Beattie
On Thu, Mar 20, 2003 at 09:21:11AM -0400, Derek Broughton wrote:
> Well, no I didn't, but a private email led me to understand the error of 
> my ways.  It still seems odd that I need to leave network.opts saying
> DHCP="n" if I want to get ifup to use dhcp.  But I do understand that 
> that's correct.  Of course, it still didn't work...
> 
> I've reinstalled pcmcia-cs just to make sure that I _do_ have a default
> network.opts (attached).

It's not. you need to purge it, then install it.

The stanza in network.opts doesnt apply, because it's not using
dhcp/bootp/whatever, and has no IP assigned. that's what the list of
it_true's at the bottom is for. In my default config, they're uncommented.

It seems backwards, I know. but if you leave that file alone, and use
interfaces(5), it'll work.

> But whatever's happening, I'm seeing 'ifdown' execute (correctly - it
> runs the firewall's stop script) but 'ifup' doesn't:
> 
> cardmgr[308]: + /sbin/ifup: interface eth0 already configured
> 
> At least I can see that it's _trying_ to run ifup.
...
> Mar 20 09:07:01 casio.othello.dyn.ca /etc/hotplug/net.agent: invoke ifup eth0
> Mar 20 09:07:10 casio.othello.dyn.ca cardmgr[308]: + /sbin/ifup: interface eth0 
> already configured

Get rid of hotplug, it's getting there 'first'.

Mike.
-- 
Mike Beattie <[EMAIL PROTECTED]>  ZL4TXK, IRLP Node 6184

 Contentsofsignaturemaysettleduringshipping.


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



Re: your mail

2003-03-20 Thread ronin2
On Fri, 21 Mar 2003 11:48:25 +1200
Mike Beattie <[EMAIL PROTECTED]> wrote:

> It seems backwards, I know. but if you leave that file alone, and use
> interfaces(5), it'll work.

Where can I read about The Debian Way of letting /e/n/interfaces handle
pcmcia?

Kevin


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



Re: battery-stats package uploaded to unstable

2003-03-20 Thread Karl E. Jorgensen
On Thu, Mar 20, 2003 at 11:20:35PM +, xsdg wrote:
> hrm... what's the difference between this [battery-stats] package and
> ibam?  I've been running ibam every minute (:o) through a cronjob for
> the past few months.  I admittedly have looked at the website for
> neither battery-stats nor ibam, but from what I can tell, both gather
> statistics about the batter{y,ies}, and both are able to help the user
> make some sense of these statistics through gnuplot...

ibam simply tries to predict how long you can run before a recharge (or
how long before the battery is fully charged).  It does that vastly
better than e.g. my BIOS :-)

battery-stats has a slightly different aim - it collects statistics
about the battery charge over *longer* periods.  By looking at the stats
you can (or should be able to) see how your battery responds to
"wear-and-tear" over a period of e.g. a month.

-- 
Karl E. Jørgensen
[EMAIL PROTECTED]   http://karl.jorgensen.com
 Today's fortune:
And that's the way it is...
-- Walter Cronkite


pgp0.pgp
Description: PGP signature


Re: your mail

2003-03-20 Thread Mike Beattie
On Thu, Mar 20, 2003 at 08:56:44PM -0500, [EMAIL PROTECTED] wrote:
> Where can I read about The Debian Way of letting /e/n/interfaces handle
> pcmcia?

man 5 interfaces

e.g: My wireless card is eth1:  (builtin ethernet is eth0)

/etc/network/interfaces has:
...
mapping eth1
script /etc/network/ifscheme


# Home

iface eth1-home inet dhcp
wireless_nick toolbox
wireless_mode managed
wireless_essid blah
wireless_key 's:12345'


# Others...
...
etc.

(for the ifscheme script, see http://bugs.debian.org/15)

And it Just Works(tm), So, you can see that there is no difference between
using interfaces(5) for a builtin card, or a pcmcia card. The point is, that
network.opts does the magic of calling ifup or ifdown for you, if you leave
the configuration alone.

Mike.
-- 
Mike Beattie <[EMAIL PROTECTED]>  ZL4TXK, IRLP Node 6184

  "This isnt Mission Difficult Mr Hunt, this is Mission Impossible.
  Difficult should be a walk in the park for you."  -- MI:2


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



Re: your mail

2003-03-20 Thread ronin2
On Fri, 21 Mar 2003 14:36:23 +1200
Mike Beattie <[EMAIL PROTECTED]> wrote:

> man 5 interfaces
> 
> (for the ifscheme script, see http://bugs.debian.org/15)
> 
> And it Just Works(tm), So, you can see that there is no difference
> between using interfaces(5) for a builtin card, or a pcmcia card. The
> point is, that network.opts does the magic of calling ifup or ifdown
> for you, if you leave the configuration alone.

Thanks, Mike. I'll check that out.

I've been playing musical network.opts.

Kevin


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