Linux-Networking Digest #649, Volume #10         Sat, 27 Mar 99 13:13:36 EST

Contents:
  nnrp.access and dynamic IP: no security ("Luis A. Burgos")
  Re: RedHat5.2 adding users ? (vaclav vyvoda)
  How to link two PCs via ethernet cards ("Jing Duan")
  Solution to Sendmail Problem (Desmond Coughlan)
  IP Masquerading almost successful ([EMAIL PROTECTED])
  Complete PPP script.. need help. details ("Eriksson")
  my /var/log/messages ("Eriksson")
  Re: NFS problems with Linux 2.2.x server, freebsd client 
([EMAIL PROTECTED])
  Re: Newbie struggling with Samba ("Eriksson")
  Re: Finding a process on a port ("Jim Laird")
  Re: 10BaseT > 100m, cable??? ("Jos van Santen")
  Re: ttyS? ?? (Thomas Laus)
  Re: Newbie struggling with Samba ("Antonio")
  Re: WU FTP ("Stressed")
  Re: Nebie need to get on network/Internet (garv)
  Re: terminal problem with SCO (from linux) (Emily)
  Re: Help on PPP dial-up (Sven Utcke)
  Re: Help on PPP dial-up (Sven Utcke)
  Re: Min Computer hardware when using Linux ("William Evans")
  Re: IP masquerading & domain names ("William Evans")

----------------------------------------------------------------------------

From: "Luis A. Burgos" <[EMAIL PROTECTED]>
Subject: nnrp.access and dynamic IP: no security
Date: Sat, 27 Mar 1999 10:58:34 -0500

Hello,

I have already set up a news server (with the little help from my friends)
for my intranet. Everybody is happy with it and it's working fine. I'm not
receiving newsfeeds from any other host or feeding anybody. Just local news.

The problem arises when I had to add several computers located in a
different campus whose IP addresses are assigned dynamically.

I set up the nnrp.access like this

# deafult to no access
*:: -no- : -no- :!*
#
*.my.domain:Read Post:::*

But they're still able to connect (what means that everybody in the world is
able to connect) I tried to set up an entry for their domain like:

#allow remote users
*.their.domain:Read Post:::*

But it won't work anyways, since apparently the server identifies those
remote computers as belonging to their ISP domain.

But anyways, they're able to connect and read and post and they're suppose
not to, since there's no match for them in the nnrp.access

Any clue?

Please let me know what to do regarding this problem. Any help would be
greatly appreciated.

My news server is wet and wide open in the middle of the internet.

Rogelio



------------------------------

From: [EMAIL PROTECTED] (vaclav vyvoda)
Subject: Re: RedHat5.2 adding users ?
Reply-To: [EMAIL PROTECTED]
Date: Sat, 27 Mar 1999 15:55:13 GMT

Or try Webmin (http://www.webmin.com - I think).

On Claus Meisel [EMAIL PROTECTED] wrote:
: Hi

: I just installed RedHat 5.2 Server and I when I started X windows ( startx )
: I could not see the utility to add users.
: I thought I remembered from 5.0 that there was a utility to add users
: easily. I know I can use useradd or adduser but I liked the xwindow utility.
: Help, please e-mail me.

: Thanks

: claus




------------------------------

From: "Jing Duan" <[EMAIL PROTECTED]>
Subject: How to link two PCs via ethernet cards
Date: Sat, 27 Mar 1999 15:16:48 GMT

I am new to Linux.

I have two computers, one for Windows95, the other for Linux.  I have Intel
EtherExpress Pro 10+ cards on both computers, and linked with RJ45.  I know
my LAN works.

I want to know how to setup the Linux machine so that I can share files
between the computers.  I am running Slackware 3.6.

Thank you in advance.

Jing Duan




------------------------------

From: Desmond Coughlan <[EMAIL PROTECTED]>
Subject: Solution to Sendmail Problem
Date: 27 Mar 1999 17:50:14 +0100

I posted an article recently, asking for help as to why I couldn't
send mail to certain ISPs, and more precisely, what I could do to
change this.

For the benefit of other users, here is the solution, provided by a
friend late last night:

[snip]

##################
#   local info   #
##################

Cwlocalhost

# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
Dj$w.mydomain.xx

I hope this helps those with the same problem ...
-- 
Desmond Coughlan                |Restez zen ... Linux peut le faire
[EMAIL PROTECTED]
[www site under construction]
                                

------------------------------

From: [EMAIL PROTECTED]
Crossposted-To: de.comp.os.unix.networking,comp.os.linux.setup,linux.redhat.misc
Subject: IP Masquerading almost successful
Date: Sat, 27 Mar 1999 15:06:05 GMT

Cheers everyone, I hope you can help me.

        This is the network design I want to implement:

        Internet
                I
                I
        ISP Router 139.X.X.X DNS
                I
                I  139.X.X.X Dynamically assigned
        Our Router 192.168.1.254
                I
             minihub-----WWW Server 192.168.1.1
                I
        Linux Box eth1  192.168.1.253  RedHat 5.2
                I eth0  192.168.0.254  Kernel 2.0.36
                I
                I
  192.168.0.3--LAN Hub ------192.168.0.1
                etc.---192.168.0.2


- I've set up the LAN clients (NT and W9x boxes) with
  192.168.0.254 as default gateway, and 139.X.X.X as DNS

- On the Linux, both NICs are correctly detected and show on dmesg

- I've added the /sbin/depmod & modprobe ip_masq lines to   /etc/rc.d/rc.local
and also echo "1" > /proc/sys/net/ipv4/ip_forward

- My /etc/sysconfig/network:

        NETWORKING=yes
        FORWARD_IPV4=TRUE
        HOSTNAME=host.gw
        DOMAINAME=gw
        GATEWAY=0.0.0.0  - Are these
        GATEWAYDEV=eth0  - Ok?

- My /etc/resolv.conf:

        search gw
        nameserver 139.X.X.X

- My /etc/sysconfig/network-scripts/ifcfg-eth0

        DEVICE=eth0
        IPADDR=192.168.0.254
        NETMASK=255.255.255.0
        GATEWAY=192.168.1.253 - Is this Ok?
        BROADCAST=192.168.0.255
        NETWORK=192.168.0.0
        ONBOOT=yes

- My /etc/sysconfig/network-scripts/ifcfg-eth1

        DEVICE=eth1
        IPADDR=192.168.1.253
        NETMASK=255.255.255.0
        GATEWAY=192.168.1.253 - Is this Ok?
        BROADCAST=192.168.1.255
        NETWORK=192.168.1.0
        ONBOOT=yes

- I've tried with this rules:

        ipfwadm -F -p deny
        ipfwadm -F -a m -S 192.168.0.0 eth1

- Results:

 I can't see our router, 192.168.1.254 pinging from the Linux.
 Should I manually add any route command?, such as:

        route add -host 192.168.1.254 dev eth1

 What's the point I'm missing? Are Ok those Gateway's IPs? Are ok those 
rules?

  I'd be grateful if anyone here could enlighten me.

  Please, reply either to the group as well as to my private e-mail.

  Thanks in advance.

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

------------------------------

From: "Eriksson" <[EMAIL PROTECTED]>
Subject: Complete PPP script.. need help. details
Date: Sat, 27 Mar 1999 18:00:19 +0100

This is the script that is not working.. my log messages are at the end. My
ISP uses PAP logins


****/etc/ppp/options ****

debug
/dev/cua1
115200
modem
crtscts
lock
connect /etc/ppp/net-connect
name s-xxxxx                   // My login name
asyncmap 0
defaultroute
:
****/etc/ppp/pap-secrets *****
s-xxxxxx        ppp0           yyyyyyy     // yyyyy is my password

**** /etc/ppp/net-connect *****
# ! /bin/sh
/usr/sbin/chat -v -t 60 -f /etc/ppp/net-chat

**** /etc/ppp/net-chat ****

TIMEOUT                 50
ABORT                   '\nBUSY\r'
ABORT                   '\nNO ANSWER\r'
ABORT                   '\nRINGING\r\n\r\n\RINGING\r'
''                                \rAT&C1&D2Q0V1X4
'OK-+++\c-OK'        ATH0
OK                            'ATDTxxxxxx'  //  my isps number
CONNECT                 ''


My /etc/resolv.conf

nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx




------------------------------

From: "Eriksson" <[EMAIL PROTECTED]>
Subject: my /var/log/messages
Date: Sat, 27 Mar 1999 18:02:04 +0100



Mar 27 16:48:55 labzone kernel: registered device ppp0
Mar 27 16:48:56 labzone pppd[128]: pppd 2.2.0 started by root, uid 0
Mar 27 16:48:57 labzone chat[130]: timeout set to 80 seconds
Mar 27 16:48:57 labzone chat[130]: abort on (\nBUSY\r)
Mar 27 16:48:57 labzone chat[130]: abort on (\nNO ANSWER\r)
Mar 27 16:48:57 labzone chat[130]: abort on (\nRINGING\r\n\r\n\RINGING\r)
Mar 27 16:48:57 labzone chat[130]: send (^MAT&C1&D2Q0V1X4^M)
Mar 27 16:48:57 labzone chat[130]: expect (OK)
Mar 27 16:48:57 labzone chat[130]: ^MAT&C1&D2Q0V1X4^M^M
Mar 27 16:48:57 labzone chat[130]: OK -- got it
Mar 27 16:48:57 labzone chat[130]: send (ATH0^M)
Mar 27 16:48:57 labzone chat[130]: expect (OK)
Mar 27 16:48:57 labzone chat[130]: ^M
Mar 27 16:48:57 labzone chat[130]: ATH0^M^M
Mar 27 16:48:57 labzone chat[130]: OK -- got it
Mar 27 16:48:57 labzone chat[130]: send (ATDT56264900^M)
Mar 27 16:48:58 labzone chat[130]: expect (CONNECT)
Mar 27 16:48:58 labzone chat[130]: ^M
Mar 27 16:49:23 labzone chat[130]: ATDT56264900^M^M
Mar 27 16:49:23 labzone chat[130]: CONNECT -- got it
Mar 27 16:49:23 labzone chat[130]: send (^M)
Mar 27 16:49:23 labzone pppd[128]: Serial connection established.
Mar 27 16:49:24 labzone pppd[128]: Using interface ppp0
Mar 27 16:49:24 labzone pppd[128]: Connect: ppp0 <--> /dev/modem
Mar 27 16:49:27 labzone pppd[128]: Hangup (SIGHUP)
Mar 27 16:49:27 labzone pppd[128]: Modem hangup
Mar 27 16:49:27 labzone pppd[128]: Connection terminated.
Mar 27 16:49:27 labzone pppd[128]: Exit.




------------------------------

From: [EMAIL PROTECTED]
Crossposted-To: comp.unix.bsd.freebsd.misc
Subject: Re: NFS problems with Linux 2.2.x server, freebsd client
Date: Fri, 26 Mar 1999 02:13:09 GMT

In article <7d9k2t$1alp$[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] (Leslie Mikesell) wrote:

> I'm not sure how you are going to help this situation unless the
> data is cachable.

The data is nothing but static HTML or media -- very cachable. It's the
*volume* of data that's the problem -- there is simply too much of it to
reside on any single machine, which means some sort of lookup involved in
figuring out which backend box to proxy for.  The structure of the data is
essentially several million directories, all residing under a common "root"
(in actuality, there are several layers of hashing going on, but the logical
structure is that described).

> If it is, you can generate appropriate Expires: and/or Cache-control: headers
> on the initial output and insert caching proxies either ahead of or behind the
> load balancers.

Well, the proxies would have to be behind *some* load balancing harware (they
all must answer requests sent to a single IP address).

> If you want other people's caches to help out as well you may need
> to make sure that the URL's don't include /cgi-bin/ or ?.

There is no CGI on the system in question.

> Squid running in accel mode is very fast at delivering cached pages and
> needs next-to nothing in the way of configuration to make it do
> the right thing.

Unfortunately, Squid dies a horrible death under heavy load, and the ICMP
"cache-sharing" protocol it claims to have is complete bunk.  We tried that
solution several months ago, and it is (unfortunately) unworkable in this
scenario.

I really don't think there's any way around the problem except to develop a
custom proxy.  Nobody else seems to be pushing anywhere near as much data as
this site is, and so none of the 'standard' proxy solutions are up to par.

-Bill Clark

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

------------------------------

From: "Eriksson" <[EMAIL PROTECTED]>
Subject: Re: Newbie struggling with Samba
Date: Sat, 27 Mar 1999 18:09:50 +0100

I've used a regestry file to make win98 to send plain text passwords.

Is there any way to change back to encrytp passwords with win98?

And will linux / samba with this:
encrypt passwords = yes
in the smb.conf file really understand win98 encrypted passwords?

(to test that I'll have to change the registry back to the way it was..)

Thanx!

/Martin


>I would highly recommend setting up yoru linux box to accept encrypted
>password loong before you modify your NT registry to send plain text
>passwords.  What you need to do is add a line in your smb.conf file
>that says:
> encrypt passwords = yes
>That will switch Samba to encrypted password mode....also, modify the
>line that says:
> security = <whatever>    to    security = user
>That shoudl fix that problem....then you can login to your Linux box
>as whatever user you created.
>
>Darren
>



------------------------------

From: "Jim Laird" <[EMAIL PROTECTED]>
Subject: Re: Finding a process on a port
Date: Sat, 27 Mar 1999 17:13:34 GMT

Hey splash!! I found  a program that will do this: lsof -- that is, "list
open files". Since a socket is a file, you can figure out what process is
listening to which port. I found some rpms at

ftp://linux.sarang.net/pub/alzza-5.2/i386/RedHat/RPMS/lsof-4.40-1.i386.rpm

The syntax you use is: 'lsof -i :<port>' The program does a lot more than
this since it will figure out which process has any file open, and according
to the man pages it is available for several platforms. The source is also
at the same site (somewhere). Wouldn't you know that I'd find it right after
asking for it. Pain in the arse...

Jim

Jim Laird wrote in message ...
>How do you figure out which process has attached to a given port? I was
port
>scanning my machine to see what was open and I came across port 635 (the
NFS
>mount service). Luckily I found it in /etc/services, but what if I didn't?
>Is there an easy way (i.e. a program) to figure this out, i.e. find a
>process id attached to a given port?
>
>Just wondering,
>
>Jim
>
>



------------------------------

From: "Jos van Santen" <[EMAIL PROTECTED]>
Crossposted-To: 
alt.comp.hardware,alt.computer.hardware,comp.dcom.lans.ethernet,comp.os.ms-windows.networking.misc,comp.os.ms-windows.networking.tcp-ip,comp.os.ms-windows.networking.windows,comp.os.ms-windows.nt.admin.networking,comp.sys.
Subject: Re: 10BaseT > 100m, cable???
Date: Sat, 27 Mar 1999 17:40:15 +0100

Just use a cheap hub and place it somewhere in the middle. (Some companies
sell very cheap 5 ports hubs)

Do not worry about (late)collisions because that will only be a problem if
the total cable length  exceeds 5km (maybe a little less if you have some
delaying equipment in the line)

If you're planning to only use 2 computers a hub will even be faster then a
switch.

Jos.

Lee Sharp wrote in message ...
>Sheldon wrote in message <[EMAIL PROTECTED]>...
>|On Fri, 26 Mar 1999 20:01:08 +0100, "Rikard Bjurenb�ck"
>|<[EMAIL PROTECTED]> wrote:
>
>|Cant use 10baseT if it is more than 100 meters.
>
>|If there are houses inbetween the farthest house and yours, you could
>|put in another hub in one of the middle houses, to boost the signal.
>
>   Not a hub!  A switch...  The entire point is that with a flat network
><with a hub> after 100 meters, it takes too long to travel to reliably not
>have collisions.  As you push the spec, the collisions go WAY up.  It is
>simply a speed-of-light-on-a-shared-medium thing. :-)  Just put a cheap
>switch in one, or more houses, and daisy chain off that.  If you are
project
>oriented, a small Linux box with two NICs can be a switch.  Read the
>bridging howto.  Not cheaper, but way cool. :-)
>
>            Lee
>
>



------------------------------

From: [EMAIL PROTECTED] (Thomas Laus)
Subject: Re: ttyS? ??
Date: Sat, 27 Mar 1999 16:14:32 GMT

On Sat, 27 Mar 1999 20:41:23 +1000, Julian Bordas
<[EMAIL PROTECTED]> wrote:

>Hello
>        Trying to get my modem working.  It's ans external runnng of the
>serail port.  But is it ttys) or ttyS1 or what?  I've tried all
>combinations in my options script to no avail.  I've read the modem
>HowTo and not had any luck.  I think I may be missing something some
>where.  any ideas?
>
>Thanks
>


Well I also had this problem getting my external modem to work.  It
seems like the pulldown menu and book for SuSE Linux 6.0 uses these
device names for the serial port.  I had an old Unix book laying
around and it refered to the serial ports as 'cua0, cua1'.  When I
manually edited the /etc/rc.config file to use the Unix device name
the serial port responded the first time.

Tom



------------------------------

From: "Antonio" <[EMAIL PROTECTED]>
Subject: Re: Newbie struggling with Samba
Date: Sat, 27 Mar 1999 17:25:49 GMT

Success! I followed the directions in ENCRYPTION.txt to enable encryption on
samba and it works I can see the contents of the root directory on NT.

Thanks to all.

ps To other Linux, NT and networking newbies out there: a pretty good book
on all this is "Linux Network Toolkit" by Paul Sery. It walks you trough
building a simple Linux Server and W95 client network. Unfortunately it was
written before windows switched to encryption.






------------------------------

From: "Stressed" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,linux.redhat.install,linux.redhat.misc
Subject: Re: WU FTP
Date: Sat, 27 Mar 1999 12:35:09 -0500

OK, back to the drawing board. I'll keep at it.





------------------------------

From: garv <[EMAIL PROTECTED]>
Subject: Re: Nebie need to get on network/Internet
Date: Sat, 27 Mar 1999 09:43:22 -0800

John J. Burke wrote:

> I hope that I can get some good help..
> I just installed Linux Red Hat 5.2 and Wow, I just love it..  Sure I have a
> l

Just go read my online.txt at:

sac.verio.net/users/garv/


------------------------------

From: Emily <[EMAIL PROTECTED]>
Subject: Re: terminal problem with SCO (from linux)
Date: Sat, 27 Mar 1999 15:55:32 GMT

In article <7ct1gv$600$[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] (Villy Kruse) wrote:
> In article <[EMAIL PROTECTED]>,
> Ed Weinberg <[EMAIL PROTECTED]> wrote:
>
> >
> >Can you copy "linux" from the linux termcap and add it to the SCO
> >termcap?
> >
>
> Sure, but you rather need to copy the terminfo entry as all standard
> SCO programs uses terminfo and not termcap.  Application programs
> might be different, and to make the confusion complete, some of them
> uses their own very private termcap like-file.
>
> On linux you can do 'infocmp > /tmp/ticfile'
>
> transfer that file to SCO
>
> run 'tic /tmp/ticfile' on SCO
>
> set TERM=linux on SCO
>
> In an emergency, the vt100 terminal type is not too far from the linux
> terminal type althoug it will cause your numeric keypad to be messed up
> if you use the vi program.
>
> Villy
>


Try this - it seems to work for me - does vi and more right, anyway:
(tic /tmp/_filename_ will compile this source into your terminfo database
(/usr/lib/terminfo/l/linux))


#  linux from infocmp on linux box, with smir, rmir, ich1 and ich removed
linux|linux console,  am, bce, eo, mir, msgr, xenl, xon,  colors#8, it#8,
pairs#64, 
acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\3
32m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}
\23 4~\376,  bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,  clear=\E[H\E[J,
cnorm=\E[?25h, cr=^M,  csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,  dch1=\E[P, dim=\E[2m,
dl=\E[%p1%dM, dl1=\E[M,  ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 
flash=\E[?5h\E[?5l$<200/>, home=\E[H, hpa=\E[%i%p1%dG,  ht=^I, hts=\EH,
il=\E[%p1%dL,  il1=\E[L, ind=^J, invis=\E[8m, kb2=\E[G, kbs=\177, kcbt=\E[Z, 
kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,  kdch1=\E[3~, kend=\E[4~,
kf1=\E[[A, kf10=\E[21~,  kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,  kf19=\E[33~, kf2=\E[[B,
kf20=\E[34~, kf3=\E[[C, kf4=\E[[D,  kf5=\E[[E, kf6=\E[17~, kf7=\E[18~,
kf8=\E[19~, kf9=\E[20~,  khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
kspd=^Z,  nel=^M^J, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM,  rmacs=\E[10m,
rmpch=\E[10m, rmso=\E[27m,  rmul=\E[24m, rs1=\Ec, sc=\E7, setab=\E[4%p1%dm, 
setaf=\E[3%p1%dm, 
sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%
t;1%;%?%p7%t;8%;%?%p9%t;11%;m,  sgr0=\E[0;10m, smacs=\E[11m, smpch=\E[11m, 
smso=\E[7m, smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR,  u7=\E[6n, u8=\E[?6c,
u9=\E[c, vpa=\E[%i%p1%dd,

We do unix.
To contact, emily -at/know-spam viscnsl [dot+ com


============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

------------------------------

From: Sven Utcke <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.misc,comp.os.linux.setup
Subject: Re: Help on PPP dial-up
Date: 27 Mar 1999 18:29:48 +0100

[EMAIL PROTECTED] writes:

> I have a question of my own.. i just installed linux SuSE 6.0 yesterday and i
> am a linux newbie....  i've read EVERY thing i could find that is relevent at
> LDP and the above is the only way i can get connected.        during bootup, it
> says that diald is active but!        the modem never trys to dial out.  i use YaST
> to configure my ppp connection but again, diald doesnt dial.. ironic eh?  so
> i end up doing the minicom/pppd thing.. which is a pain...
> 
> any brave soul willing to help me tackle this?  i'm a newbie but not totally
> stupid so i promise i wont be too frustrating to help..

Sure.  There are two things you should try to do seperately.  In
/etc/suseppp/scripts
you will find a script ppp-up.  Try to get this to work.  Once you're
able to initiate a ppp-connection using this script (and cancel it
using ppp-down), your halfway there.

Next you need to set up diald.  diald is started (on reboot) by
calling /sbin/init.d/diald, which is easy to change to connect using
one of your scripts in /etc/suseppp.

However, by default diald will use /etc/diald.conf, so you might want
to change this for your purposes --- the manpages give really good
examples on how to do it.  Be aware that you might need to change
/sbin/init.d/diald to reflect your use of the standard-setup (which is
non-standard under SuSE).

This should get you on your way

Sven
-- 
 _       _   Lehrstuhl fuer Mustererkennung und Bildverarbeitung
| |_ __ | |__                                                        Sven Utcke
| | '  \| '_ \   phone:      +49 761 203 8274                   Am Flughafen 17
|_|_|_|_|_.__/   fax  :      +49 761 203 8262           79110 Freiburg i. Brsg.
mailto:[EMAIL PROTECTED]   www.informatik.uni-freiburg.de/~utcke

------------------------------

From: Sven Utcke <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.misc,comp.os.linux.setup
Subject: Re: Help on PPP dial-up
Date: 27 Mar 1999 18:32:02 +0100

Mike Henricks <[EMAIL PROTECTED]> writes:

> Farid wrote:
> 
> > OK,
> >
> > here's the example of my chat script:
> >
> > -----snip------
> > 'ABORT' 'BUSY'
> > 'ABORT' 'ERROR'
> > 'ABORT' 'NO CARRIER'
> > 'ABORT' 'NO DIALTONE'
> > 'ABORT' 'Invalid Login'
> > 'ABORT' 'Login incorrect'
> > " 'ATZ'
> > 'OK' 'ATDT4945012'
> > 'CONNECT' "
> > 'myusername' 'mypassword'
> >
> > ----snip---------
> >
> 
> if your isp uses PAP or CHAP, your script should stop at CONNECT. the login
> and password are handled by them, not your script
> Hope that helps

And if it doesn't, your script should look something like
"" 'ATZ'
 ^
'CONNECT' ""
           ^
(note the "" instead of ") and
'ogin:'   'myusername'
'ssword:' 'mypassword'

Sven
-- 
 _       _   Lehrstuhl fuer Mustererkennung und Bildverarbeitung
| |_ __ | |__                                                        Sven Utcke
| | '  \| '_ \   phone:      +49 761 203 8274                   Am Flughafen 17
|_|_|_|_|_.__/   fax  :      +49 761 203 8262           79110 Freiburg i. Brsg.
mailto:[EMAIL PROTECTED]   www.informatik.uni-freiburg.de/~utcke

------------------------------

From: "William Evans" <[EMAIL PROTECTED]>
Subject: Re: Min Computer hardware when using Linux
Date: 27 Mar 1999 11:04:48 -0500

>>>>> "J" == J Peterson <[EMAIL PROTECTED]> writes:

    J> I want to set up Linux on a computer just to see how it works and am
    J> wondering what the min. hardware requirements are.  I was planning on
    J> buying a real cheap computer like a 486-100Mhz to use as I wanted to
    J> be free to mess with it and not wanting to mess up my normal computer.
    J> I just plan on hooking the linux box up to the @Home service via a
    J> cable modem and then hook my Pentium 266 to this.  

Disclaimer: this is my humble opinion; it is possible to set it up
with more or less, so take this for what it's worth (the paper it's
printed on ;-).

The 486-100 should be enough to routing purposes, as well as
firewalling/masquerading.  If that is *all* you want to do, then you
don't need much more than the mo-board, cpu, ram (8MB is enough, but
16MB is definitely better), ethernet card(s), and a floppy.

Notice I left a few things out:

(1) video card (and a monitor) -- once you have it configured, you
    don't need a monitor attached to it, since it'll be fairly
    automated; if you want to work on it, you can either telnet in
    from the other computer or attach a serial line to either a dumb
    terminal or to the computer itself (so, yes, the pentium and the
    486 would be connected twice), since the kernel can treat a serial
    line like the console;

(2) hard drive -- if you're planning on doing just the
    routing/masq-ing, then you don't need a full distribution on it.
    LRP, or the Linux Router Project, is designed to put everything
    you need for a router (or dialup server or minimalist anything) on
    a floppy ... no hard drive to mess up or worry about screwing up.
    Boot it up and it works.  The floppy is never touched again unless
    you update the configuration.

However, if you want to mess around with it, see how it works, and
play with a full distribution, you'll probably want video and a hard
drive for more room and a permanent installation.

As far as a video card goes, you can get away with a cheap SVGA board
with 1mb of onboard memory; however, with prices how they are, you can
easily get a slightly better card for a little more money.  The
monitor ... well, you probably know enough about monitors yourself to
go with that.  Just make sure that you have access to the timing specs
(listed in the owner's manual).

For the hard drive, I'd recommend going with no less than 400-500MB
for some room to play with.  I don't know if you can buy them that
small these days, though ;-) (I've been playing with linux for years
now, and I've lived happily with 1GB for a while now.)

I'm assuming that you'll have two ethernet cards in there: one for the
cable modem side, and one for the local network side.  (If you were
planning on using just one in the linux box and using IP aliasing, I
would strongly recommend against it, but that's a different issue
altogether.)

If you plan on doing other things, such as compiling, games (linux has
games? where? :-> ), etc, then you may want to opt for a pentium or
more.  Everything will still work with a 486, though.

Before you make any purchases, just double check that it'll be
supported by linux on the Hardware Compatibility page:

http://www.redhat.com/support/docs/rhl/intel/rh52-hardware-intel.html

Okay, this is going to be a bit redhat-centric, but it gives you an
idea of what to look for.  What works for redhat will work for other
distributions.  (There may be things that aren't listed that do work,
though.  *shrug*)

HTH

-bill

-- 
William Evans                 < william . evans @ computer . org >

------------------------------

From: "William Evans" <[EMAIL PROTECTED]>
Subject: Re: IP masquerading & domain names
Date: 27 Mar 1999 11:14:36 -0500

>>>>> "JCA" == JCA  <[EMAIL PROTECTED]> writes:

    JCA>     I have two Linux boxes connected to the Internet. One of
    JCA> them is directly connected and enables the other to gain
    JCA> Internet access by means of IP masquerading.

    JCA>     I am confused about the domain name to be used for my
    JCA> internal network, if any.  I don't think it can be that of my
    JCA> ISP as I have been assigned one and only one IP address. Can
    JCA> anybody enlighten me here, please?

Really, it can be whatever you want, with certain restrictions.

If you're running your own (caching) name server, you can master any
domain you'd like.  Keep in mind that it shouldn't shadow a real
domain (therefore making the registered domain unavailable to you and
your hidden subnet).  There are advantages with running your own
caching name server; one, apropos to this, is being able to control
this stuff.

This isn't an issue if you hard code all names into /etc/hosts,
though.  If you just put:

192.168.2.1     box1.my-own-domain.com box1
192.168.2.2     box2.my-own-domain.com box2

on both machines, it'll work just fine.

You'll probably want to muck around with /etc/resolv.conf and change
the "search" parameter, but if you aren't running a local name server,
then putting a fake domain in resolv.conf will waste bandwidth
whenever you do a non-qualified hostname lookup.

My box, running a caching name server, masters a domain that I call
vabch.va.us.  AFAIK, it is not a valid domain (nobody's running it),
so I don't worry about shadowing a real one.

-- 
William Evans                 < william . evans @ computer . org >

------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.networking) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Networking Digest
******************************

Reply via email to