Re: New to linux on laptops - A few Q's

1999-09-19 Thread Seth Golub

Steve Robbins <[EMAIL PROTECTED]> writes:

> When I travel, I turn off my home machine, and have the laptop
> masquerade as it, so as to receive email on the laptop.  That's fine
> until I return home.  Now I have to merge all these mail folders.

I copy everything onto my laptop so that when it becomes the active
mail machine, it's also the master keeper of all mail files.  I
manually set which system is in charge of mail, and its files clobber
the ones on the other system when I sync them.

When I just go out for a day or two and leave my home machine on and
pulling my mail down, my laptop isn't the master of my mail, so I Bcc
myself (with fully-qualified, non-local address) to archive outgoing
mail I write while offline.

There are two drawbacks to my setup:

 1) When I go out for the day, I may make changes to my mail folders
and spools.  When I return, those changes are lost.  I do this
because it's critical that I not lose new mail in the spools at
home, and I'm happy being overly cautious in this case.

 2) If I pull down mail on my laptop and resync with my desktop
machine without setting my laptop to be the master mail machine, I
will lose mail.  Similarly, if after I return and sync I forget to
set my desktop machine to be the mail master, I'll lose mail when
I sync with the laptop.  I haven't had any problems yet because
I've been careful enough and don't fetch mail from my laptop
often.  The vulnerability could be fixed with some locks and
script changes, but as I'm ditching my desktop machine in a couple
weeks, I won't have to worry about it anymore.



using nfs on install

1999-09-19 Thread Chris Hoover
I'm trying to reinstall debian on my laptop since I was having trouble getting
potatoe to install.  Anyway, I was able to find a 2.1 cd and I picked up a 3com
Etherlink III network/33.6 pcmcia card.  The question is, how can I bet the
install program to bring up the network so I can nfs install the base system? 

Before I started trying to reinstall, the network was up and running (and I had
not done anything since replacing my 14.4 modem with the new card).

Ideas on what to do?

Thanks,

Chris



Re: Laptop used in multiple network contexts?

1999-09-19 Thread Greg Woods
Adam Shand wrote:
> 
> > If your laptop is not connected to a network, what exactly is it that
> > you are doing that would make any sense in a network-less context that
> > causes DNS timeouts?
> 
> trying to send email.  you don't expect it to be delivered but you want it
> to be queued so as soon as you do connect it gets sent.

Since I use Netscape Messenger as my e-mail client, I handle this case
by just using Compose,
then saving unsent messages in the Drafts folder. I can later command
Netscape to send
the queued messages. Sendmail is really not good to use on laptops. It
very strongly 
assumes that you are always connected and DNS is always available; it
simply wasn't designed to work in an environment where DNS is not
available, so I wouldn't recommend trying to use it in one.

--Greg



Re: Laptop used in multiple network contexts?

1999-09-19 Thread Greg Woods
Adam Shand wrote:

> 
> you can do pretty much all of this with pcmcia schemes.

I'm going to have to look into that; this is the first I've heard about
pcmcia schemes.


>  * if i suspend/hibernate/save to disk my laptop my network connection
>doesn't work when i restore.

You need to eject the card before you suspend. That is true even on
Windoze. What I do is
eject the card, then suspend, and when I reactivate, I reinsert the card
and then run my DHCP restart script which reconfigures the Ethernet
interface. This does, however, require that a DHCP server be available
on the networks you connect to.

--Greg



Re: using nfs on install

1999-09-19 Thread Jim Jensen

After you install the driver disk (installing the nfs module of
course), go to the "Configure PCMCIA" option, then do the network
config, telling it you will use a pcmcia network device.  Then when
you install the base system, tell it you will use nfs.  I just did it
today.

-Jim Jensen [EMAIL PROTECTED]



Re: using nfs on install

1999-09-19 Thread Chris Hoover
On Sun, 19 Sep 1999, Jim Jensen wrote:
> After you install the driver disk (installing the nfs module of
> course), go to the "Configure PCMCIA" option, then do the network
> config, telling it you will use a pcmcia network device.  Then when
> you install the base system, tell it you will use nfs.  I just did it
> today.
> 
>   -Jim Jensen [EMAIL PROTECTED]

Ok, maybe I'm doing something really wrong/stupid.  On my laptop, I've
installed the nfs module  I've setup the network at 192.168.1.10 and told it to
use pcmcia.  On my other box I've setup the /etc/exports file with /mnt/cdrom
192.168.1.10(rw)..  When I tell the install to mount 192.168.1.3:/mnt/cdrom it
gives me "Error mounting NFS filesystem 192.168.1.3/mnt/cdrom , please try
again".

What am I doing wrong?  When I load up a second console on my laptop and run
ifconfig, it justs lists lo.  Why is the pcmcia network not being listed???


thanks,
chris



Re: Laptop used in multiple network contexts?

1999-09-19 Thread Dave Thayer
On Sat, Sep 18, 1999 at 11:39:13PM -0600, Greg Woods wrote:
> 
> Adam Shand wrote:
> 
> > 
> > you can do pretty much all of this with pcmcia schemes.
> 
> I'm going to have to look into that; this is the first I've heard about
> pcmcia schemes.
> 
> 
> >  * if i suspend/hibernate/save to disk my laptop my network connection
> >doesn't work when i restore.
> 
> You need to eject the card before you suspend. That is true even on
> Windoze. What I do is

You might want to have a look at the scripts in /etc/apm, in particular
/etc/apm/apmd_proxy and /etc/apm/event.d/pcmcia. These aren't very well
documented (at least not in /usr/doc/ or man pages) but the scripts are well
commented and pretty self explanatory.

your pal dave

-- 
Dave Thayer
Denver, Colorado USA
[EMAIL PROTECTED] 



Re: New to linux on laptops - A few Q's

1999-09-19 Thread Seth Golub

Steve Robbins <[EMAIL PROTECTED]> writes:

> When I travel, I turn off my home machine, and have the laptop
> masquerade as it, so as to receive email on the laptop.  That's fine
> until I return home.  Now I have to merge all these mail folders.

I copy everything onto my laptop so that when it becomes the active
mail machine, it's also the master keeper of all mail files.  I
manually set which system is in charge of mail, and its files clobber
the ones on the other system when I sync them.

When I just go out for a day or two and leave my home machine on and
pulling my mail down, my laptop isn't the master of my mail, so I Bcc
myself (with fully-qualified, non-local address) to archive outgoing
mail I write while offline.

There are two drawbacks to my setup:

 1) When I go out for the day, I may make changes to my mail folders
and spools.  When I return, those changes are lost.  I do this
because it's critical that I not lose new mail in the spools at
home, and I'm happy being overly cautious in this case.

 2) If I pull down mail on my laptop and resync with my desktop
machine without setting my laptop to be the master mail machine, I
will lose mail.  Similarly, if after I return and sync I forget to
set my desktop machine to be the mail master, I'll lose mail when
I sync with the laptop.  I haven't had any problems yet because
I've been careful enough and don't fetch mail from my laptop
often.  The vulnerability could be fixed with some locks and
script changes, but as I'm ditching my desktop machine in a couple
weeks, I won't have to worry about it anymore.


using nfs on install

1999-09-19 Thread Chris Hoover
I'm trying to reinstall debian on my laptop since I was having trouble getting
potatoe to install.  Anyway, I was able to find a 2.1 cd and I picked up a 3com
Etherlink III network/33.6 pcmcia card.  The question is, how can I bet the
install program to bring up the network so I can nfs install the base system? 

Before I started trying to reinstall, the network was up and running (and I had
not done anything since replacing my 14.4 modem with the new card).

Ideas on what to do?

Thanks,

Chris


Re: Laptop used in multiple network contexts?

1999-09-19 Thread Greg Woods
Adam Shand wrote:
> 
> > If your laptop is not connected to a network, what exactly is it that
> > you are doing that would make any sense in a network-less context that
> > causes DNS timeouts?
> 
> trying to send email.  you don't expect it to be delivered but you want it
> to be queued so as soon as you do connect it gets sent.

Since I use Netscape Messenger as my e-mail client, I handle this case
by just using Compose,
then saving unsent messages in the Drafts folder. I can later command
Netscape to send
the queued messages. Sendmail is really not good to use on laptops. It
very strongly 
assumes that you are always connected and DNS is always available; it
simply wasn't designed to work in an environment where DNS is not
available, so I wouldn't recommend trying to use it in one.

--Greg


Re: Laptop used in multiple network contexts?

1999-09-19 Thread Greg Woods
Adam Shand wrote:

> 
> you can do pretty much all of this with pcmcia schemes.

I'm going to have to look into that; this is the first I've heard about
pcmcia schemes.


>  * if i suspend/hibernate/save to disk my laptop my network connection
>doesn't work when i restore.

You need to eject the card before you suspend. That is true even on
Windoze. What I do is
eject the card, then suspend, and when I reactivate, I reinsert the card
and then run my DHCP restart script which reconfigures the Ethernet
interface. This does, however, require that a DHCP server be available
on the networks you connect to.

--Greg


Re: using nfs on install

1999-09-19 Thread Jim Jensen

After you install the driver disk (installing the nfs module of
course), go to the "Configure PCMCIA" option, then do the network
config, telling it you will use a pcmcia network device.  Then when
you install the base system, tell it you will use nfs.  I just did it
today.

-Jim Jensen [EMAIL PROTECTED]


Re: using nfs on install

1999-09-19 Thread Chris Hoover
On Sun, 19 Sep 1999, Jim Jensen wrote:
> After you install the driver disk (installing the nfs module of
> course), go to the "Configure PCMCIA" option, then do the network
> config, telling it you will use a pcmcia network device.  Then when
> you install the base system, tell it you will use nfs.  I just did it
> today.
> 
>   -Jim Jensen [EMAIL PROTECTED]

Ok, maybe I'm doing something really wrong/stupid.  On my laptop, I've
installed the nfs module  I've setup the network at 192.168.1.10 and told it to
use pcmcia.  On my other box I've setup the /etc/exports file with /mnt/cdrom
192.168.1.10(rw)..  When I tell the install to mount 192.168.1.3:/mnt/cdrom it
gives me "Error mounting NFS filesystem 192.168.1.3/mnt/cdrom , please try
again".

What am I doing wrong?  When I load up a second console on my laptop and run
ifconfig, it justs lists lo.  Why is the pcmcia network not being listed???


thanks,
chris


Re: Laptop used in multiple network contexts?

1999-09-19 Thread Dave Thayer
On Sat, Sep 18, 1999 at 11:39:13PM -0600, Greg Woods wrote:
> 
> Adam Shand wrote:
> 
> > 
> > you can do pretty much all of this with pcmcia schemes.
> 
> I'm going to have to look into that; this is the first I've heard about
> pcmcia schemes.
> 
> 
> >  * if i suspend/hibernate/save to disk my laptop my network connection
> >doesn't work when i restore.
> 
> You need to eject the card before you suspend. That is true even on
> Windoze. What I do is

You might want to have a look at the scripts in /etc/apm, in particular
/etc/apm/apmd_proxy and /etc/apm/event.d/pcmcia. These aren't very well
documented (at least not in /usr/doc/ or man pages) but the scripts are well
commented and pretty self explanatory.

your pal dave

-- 
Dave Thayer
Denver, Colorado USA
[EMAIL PROTECTED]