Re: home lan, modem sharing, etc.

2003-01-29 Thread Vikki Roemer
On Wed, Jan 29, 2003 at 12:50:33AM -0500, Stephen Gran wrote:
 This one time, at band camp, Vikki Roemer said:
  Hi!
  So I have several questions:
  Can I set up modem sharing with a minimum of hassle for my parents
  when they go to use it and for free?  How?
 
 Sure.  There is a package called diald that is designed for this,
 although I have heard mixed reports about how well it works.  pppd also
 has a demand mode that I know works well.  Set the client computer to
 use the other as a gateway, do the proper things for connection sharing
 there (more information to follow if you don't know what I mean) and it
 should work fine.

Oh, ok.  Now I just have to find out how to set up connection
sharing.  That does sound familiar, though.  Hmm...

  Semi-related question-- do I absolutely *need* Partition Magic to
  dual-boot Linux and Windows?  The thing is, with my dad being out of
  work, we don't have money for a $60 piece of software. :(
 
 No.  In my experience, when you're installing both from scrathc (as it
 sounds like you're going to) just install Windows first - the Debian
 install at least is smart enough to detect another parasite^W OS on the
 hard drive, and set up lilo accordingly.  If that doesn't work in
 libranet, the default lilo configuration for Debian has some lines
 commented out that will point you in the right direction.  Basically,
 Windows will overwrite the MBR without asking, but lilo will do The
 Right Thing WRT other OS's on the disk.

Good.  See, I knew that once I got Libranet on the system I could set
up lilo to dual-boot properly (I inadvertently learned about it when I
set up my computer to dual-boot RH as the secondary OS); I just didn't
know if the installer would (should) be smart enough to shove Windows
out of the way.

Ok, things are looking up... :)

  Is it possible to set up the mail on my system so that my parents'
  mailboxen can be accessed with Mozilla on their computer?  I tried
  getting Moz to get mail from localhost but it won't-- will I run into
  similar problems over a LAN?
 
 Again, sure.  I run qpopper or the like for LAN-only access - for times
 where one computer is picking up the mail, but there are likely to be
 plenty of dumb clients, and no one stores their mail on the server, and
 you're behind a firewall, straightforward POP3 is easy and fast.  If you

Oh, good.

 have more complicated needs, I recommend IMAP and SSL (or TLS).  Most

I was going to finish setting that up anyway (I started setting up
TLS, got in over my head, and now I'm waiting until I have time to
pick it back up again).  But that's a secondary consideration.

  Is there anything else I should be setting up?
 
 Some iptables-based firewalling, especially for the netbios nastiness,
 andit looks pretty good here.  There's _always_ more to do, but that's a
 good start.  Printer sharing is also nice, and easy to set up with samba
 and cups.
 

Oh, yeah, I forgot to mention that-- I have iptables set up to filter
ppp traffic (basically, if I didn't ask for the packet, it's not getting
through).  I also have printer sharing set up on the Windows computer
(it's my parents' printer, so they keep it), but at this point I'm not
sure how well it works; I've also set it up so that the CD-burner on
that computer is shared, too-- I think that works, but I'm not
entirely sure (UDF is a pain in the butt).

BTW, is there a way to get nmbd to listen on eth0 *only*?  At the
moment, it insists on listening on both eth0's address and on all
interfaces.

-- 
Vikki RoemerHomepage: http://www.2khiway.net/users/vroemer
Registered Linux user #2880021   http://counter.li.org/
Just because you're not paranoid, that doesn't mean they're not out
to get you. (ripped from someone's slashdot .sig)
PGP fingerprint: 0A3E 0AE4 CCD9 FF31 B4BB  C859 2DE1 B1D8 5CE0 1578
Keyserver: http://pgp.mit.edu/

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GAT d-(?) s: a--- C(++) UL P+ L+++ E W++ N+ o? 
K- w--() O? M? V?(-) PS+(+++) PE(++) Y+ PGP++ t+@ 5 X-() 
R*(?) tv-- b+++(++) DI+ D--(?) G e-(*)+ h! r-- x?
--END GEEK CODE BLOCK--


 



msg27208/pgp0.pgp
Description: PGP signature


Re: home lan, modem sharing, etc.

2003-01-29 Thread Stephen Gran
This one time, at band camp, Vikki Roemer said:
 Oh, ok.  Now I just have to find out how to set up connection
 sharing.  That does sound familiar, though.  Hmm...

Google is your friend - plenty of examples are out there.  When you get
stuck, write back.  iptables in particular makes it easy.

snip

 BTW, is there a way to get nmbd to listen on eth0 *only*?  At the
 moment, it insists on listening on both eth0's address and on all
 interfaces.

in smb.conf:
[global]
interfaces = eth1 192.168.0.1/24
bind interfaces only = Yes

Usual manpages for details.  You can specify IP (single or range) or 
interface.

HTH,
-- 
 --
|  Stephen Gran  | I bet the human brain is a kludge.   -- |
|  [EMAIL PROTECTED] | Marvin Minsky   |
|  http://www.lobefin.net/~steve | |
 --



msg27309/pgp0.pgp
Description: PGP signature


home lan, modem sharing, etc.

2003-01-28 Thread Vikki Roemer
Hi!
I'm working on setting up a LAN here at home.  I have 2 computers
here, 1 running Windows ME (within the next few weeks I'll be
reinstalling ME (it's that time of the year) and then I'll also be
trying to dual-boot ME and Libranet)-- my parents' computer-- and my
Linux box, which I'm dual-booting Debian and Redhat on.  My parents'
computer has a winmodem which keeps on destabilising the system, so
I want to disable it and have it connect through my computer's
external modem.  The computers are currently networked (pretty much--
I'll work out the bugs after the reinstall) and sharing files
perfectly with Samba.  On my computer, I already have
fetchmail/postfix/maildrop set up to get my mail from my ISP, process,
and deliver it-- but I don't have a static IP, so it's not a
'free-standing' server; I have Apache set up because I use webmin and
dwww.  I've already set up amavis/clamav to scan my mail because I'm
kinda hoping that I can at best download everyone's mail and process
it myself (and use my SMTP server for outgoing mail, which I already
do for my own mail), or, at worst, it won't be a total waste because
my mail can't be blamed for any infections on the Windows box (it has
a mcafee virus scanner, but still...).  I also want to be able to
store all of my files (even ones generated on the Windows computer) on
my computer and be able to access them easily-- but samba seems to
work extremely well for that. :)

So I have several questions:
Can I set up modem sharing with a minimum of hassle for my parents
when they go to use it and for free?  How?

Semi-related question-- do I absolutely *need* Partition Magic to
dual-boot Linux and Windows?  The thing is, with my dad being out of
work, we don't have money for a $60 piece of software. :(

Is it possible to set up the mail on my system so that my parents'
mailboxen can be accessed with Mozilla on their computer?  I tried
getting Moz to get mail from localhost but it won't-- will I run into
similar problems over a LAN?

Is there anything else I should be setting up?

TIA.

-- 
Vikki RoemerHomepage: http://www.2khiway.net/users/vroemer
Registered Linux user #2880021   http://counter.li.org/
Just because you're not paranoid, that doesn't mean they're not out
to get you. (ripped from someone's slashdot .sig)
PGP fingerprint: 0A3E 0AE4 CCD9 FF31 B4BB  C859 2DE1 B1D8 5CE0 1578
Keyserver: http://pgp.mit.edu/

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GAT d-(?) s: a--- C(++) UL P+ L+++ E W++ N+ o? 
K- w--() O? M? V?(-) PS+(+++) PE(++) Y+ PGP++ t+@ 5 X-() 
R*(?) tv-- b+++(++) DI+ D--(?) G e-(*)+ h! r-- x?
--END GEEK CODE BLOCK--


 



msg27064/pgp0.pgp
Description: PGP signature


Re: home lan, modem sharing, etc.

2003-01-28 Thread Stephen Gran
This one time, at band camp, Vikki Roemer said:
 Hi!
 So I have several questions:
 Can I set up modem sharing with a minimum of hassle for my parents
 when they go to use it and for free?  How?

Sure.  There is a package called diald that is designed for this,
although I have heard mixed reports about how well it works.  pppd also
has a demand mode that I know works well.  Set the client computer to
use the other as a gateway, do the proper things for connection sharing
there (more information to follow if you don't know what I mean) and it
should work fine.

 Semi-related question-- do I absolutely *need* Partition Magic to
 dual-boot Linux and Windows?  The thing is, with my dad being out of
 work, we don't have money for a $60 piece of software. :(

No.  In my experience, when you're installing both from scrathc (as it
sounds like you're going to) just install Windows first - the Debian
install at least is smart enough to detect another parasite^W OS on the
hard drive, and set up lilo accordingly.  If that doesn't work in
libranet, the default lilo configuration for Debian has some lines
commented out that will point you in the right direction.  Basically,
Windows will overwrite the MBR without asking, but lilo will do The
Right Thing WRT other OS's on the disk.

 Is it possible to set up the mail on my system so that my parents'
 mailboxen can be accessed with Mozilla on their computer?  I tried
 getting Moz to get mail from localhost but it won't-- will I run into
 similar problems over a LAN?

Again, sure.  I run qpopper or the like for LAN-only access - for times
where one computer is picking up the mail, but there are likely to be
plenty of dumb clients, and no one stores their mail on the server, and
you're behind a firewall, straightforward POP3 is easy and fast.  If you
have more complicated needs, I recommend IMAP and SSL (or TLS).  Most
Windows email apps will allow you to set up the smarthost for outgoing
mail and the POP/IMAP server for incoming mail by IP, so you don't even
need ot worry about getting Windows lmhosts files working right, which I
always find to bw more aggravating than necessary.

 Is there anything else I should be setting up?

Some iptables-based firewalling, especially for the netbios nastiness,
andit looks pretty good here.  There's _always_ more to do, but that's a
good start.  Printer sharing is also nice, and easy to set up with samba
and cups.

-- 
 --
|  Stephen Gran  | If you can keep your head when all  |
|  [EMAIL PROTECTED] | about you are losing theirs, then you   |
|  http://www.lobefin.net/~steve | clearly don't understand the situation. |
 --



msg27074/pgp0.pgp
Description: PGP signature