Linux-Networking Digest #323, Volume #12         Sun, 22 Aug 99 14:13:44 EDT

Contents:
  TFTPD - file creation ("Don Wahl")
  Help: neighbour table overflow message ("Gareth")
  Re: Ethernet card vs 2.0.32 What am I misssing here? (LhD Administrator)
  Re: 3 COM Etherlink III port setup from BNC to TP (Pascal Fleer)
  Re: 3 COM Etherlink III port setup from BNC to TP (Pascal Fleer)
  problem Installing RH6 via FTP ("brad")
  Daemon smbd damaged? (Bas van Weelde)
  Re: Firewall Test? (Rod Smith)
  Re: 3com ISA cards and linux (See sig for reply)
  how to setup linux to be a client using a proxy server ("Ahhhh")
  modem connects, pings stay "inside" lan (JG)
  Re: Mgetty isnt playing nice... (Clifford Kite)
  transparent proxy ("desmond")
  RH 5.1/Samba print server-How much RAM? ("steve epstein")
  BUmping up packet size ,, aka,, speeding up Internet.... ("Mike")
  Re: Networking between linux and win98 (Jan-Albert van Ree)
  Re: My server is refusing telnet sessions! ("Suddn")
  ncpfs & non root users problem (root)
  Re: transparent proxy (Tom Eastep)
  Re: transparent proxy (Tom Eastep)
  Re: transparent proxy ("desmond")
  Re: BeOS Question (Helge Grimm)
  Re: 3com ISA cards and linux (Stephen R. Savitzky)
  Re: Daemon smbd damaged? (Peter Eddy)
  Sendmail question (Stephen Beck)
  Re: Sendmail question (Andrzej Filip)
  Re: Ericsson HiS modem (Repost) (spasmgut)
  Need to implement PPPoE for DSL service... (John Dowd)

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

From: "Don Wahl" <[EMAIL PROTECTED]>
Subject: TFTPD - file creation
Date: Sun, 22 Aug 1999 09:20:35 -0400

I would like to allow TFTP to put files into /tftpboot without requiring the
file to exist first. What do I need to accomplish this?




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

From: "Gareth" <[EMAIL PROTECTED]>
Subject: Help: neighbour table overflow message
Date: Sun, 22 Aug 1999 14:28:35 +0100

I have recently be getting these messages on any network activity.
I did recompile the kernel and change the startup scripts at the same
time, then rebooted. So I don't know what area is causing the problem.

I am also having trouble with wvdial, it says no responce on ATZ, but
minicom works find. I used wvdialconf to generate the file and it found the
right port fine.

Where is the document on pppd dialing with chat. I read it a few days ago
but
now can't remember the syntax, and I can't find the file in the few hundred
megabytes of howtos, faqs and books.

Any help, documents to read would be appreciated.

Gareth



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

From: LhD Administrator <[EMAIL PROTECTED]>
Subject: Re: Ethernet card vs 2.0.32 What am I misssing here?
Date: Sun, 22 Aug 1999 13:30:56 GMT


Sam Walton wrote:
[..]
> I then activate that setting and save. I go to the shell window and
> type "ping -r 168.127.68.12" which happens to be the TCP address my Mac
> is using for its DHCP setting. I have also tried setting a static
> address on this Mac when I'm offline to eliminate that as a variable.
One wouldn't expect this to work (127, two machines on different 
networks), try using 192.0.0.2 and 192.0.0.3 on the PC & the Mac.  
[..]
> Air biscuits. I use Contol-Z to make it stop, is that cool?
Ctrl-C is better.

> I typed "dmesg | more" and so no reference to eth0 or IRQ 10. Netatalk
> and Samba seem to come up, though.
What about references to ne.c?  
Probably not, which would imply the driver module didn't get loaded.
See "man insmod", "man ifconfig".  
Type "ifconfig" and see if eth0 is listed.

> Then I typed "cat /proc/net/dev" and got
> 65  0  0  0  0  65  0  0  0  0
> whatever that means. 
Hmm, you should get transmit/receive stats.
Although 2.0.32 is pretty old, it may be different.

> BTW, can an ISA card fit in a PCI slot?
No, sorry.  It's very different.

One possibility is to go grab a newer kernel and just compile in ne.o 
permanently. But first try those other things, at worst it'll be a 
learning experience.





LhD Administrator
LhD: Linux Hardware Database
http://lhd.datapower.com



==================  Posted via CNET Linux Help  ==================
                    http://www.searchlinux.com

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

From: Pascal Fleer <[EMAIL PROTECTED]>
Subject: Re: 3 COM Etherlink III port setup from BNC to TP
Date: Sun, 22 Aug 1999 10:04:47 +0200
Reply-To: [EMAIL PROTECTED]

Get the configuration floppy from 3Com and set the port either to auto (doesn't
work well) or to BNC.

Pascal

darkfader wrote:

> Hi!
>
> I'm using Suse Linux 6.0 in a system I set up today, and it works great
> apart from one VERY big problem:
>
> The drvier automatically selected the NIC's BNC port, though I connected it
> on TP!
> Is there anyone, who can tell me how and where to tell the driver what port
> to use???
>
> Thanks,
>
> Florian

--


















remove the "_" from the tld to reply !



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

From: Pascal Fleer <[EMAIL PROTECTED]>
Subject: Re: 3 COM Etherlink III port setup from BNC to TP
Date: Sun, 22 Aug 1999 10:05:20 +0200
Reply-To: [EMAIL PROTECTED]

Get the configuration floppy from 3Com and set the port either to auto (doesn't
work well) or to BNC.

Pascal

darkfader wrote:

> Hi!
>
> I'm using Suse Linux 6.0 in a system I set up today, and it works great
> apart from one VERY big problem:
>
> The drvier automatically selected the NIC's BNC port, though I connected it
> on TP!
> Is there anyone, who can tell me how and where to tell the driver what port
> to use???
>
> Thanks,
>
> Florian

--


















remove the "_" from the tld to reply !



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

From: "brad" <[EMAIL PROTECTED]>
Subject: problem Installing RH6 via FTP
Date: Sun, 22 Aug 1999 14:37:02 GMT

I was wondering if anyone could help me with a small problem I am running
into donig an FTP install (my 486 does'nt have a CD-ROM) on a computer I
wish to use as IP-Masqurading on.
I am using 3Com509b cards (I have disabled the plug and play on them yes and
I know the settings I have asssigned them i.e. IO and IRQ do not conflict
cause windows 98 saw them no problem and connected to the @home system)
I use a boonet.img floppy to boot the system and then go thought the
questions, selecting in FTP install and then static IP address. Filing out
all my info that both @home and winipcfg gave me about my settings. However
when I put in the FTP site and Directory I get errors. This is where the odd
things start to happen. I usually get a "bad server responce" error but can
also get "unable to connect to server" error. I have yet to get it to
connect to ANYTHING this way. I played with the Path (to the 2nd stage
install image) and one time I did, by putting in the wronge path, got the
modem lights to flash much more vigerously than before before spitting out
the error "could not find file".
I am only working with one NIC in the machine right now in case they were
interfearing with each other, and have swapped cards making sure it was'nt
the card. no luck.
I have hooked up a windows 98 box and it saw both cards (in legacy mode) and
I was able to rin winproxy with them just fine so I know its not the cards.
Whats odd is that in digging through winipcfg I did get a dhcp server addy.
however if I chose DHCP method of install I get a bad rescponce. (might just
be a dead end)
I would REALLY appreciate any help and NOT have to go to a windows box to
use for my proxy.
(feeling like the only one with this problem )

Brad in San Diego




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

From: Bas van Weelde <[EMAIL PROTECTED]>
Subject: Daemon smbd damaged?
Date: Sun, 22 Aug 1999 15:52:26 +0200

Okay! Now' I'v really had it!!! Checked everything and it all seems to
be allright. 
But Samba services fail, since the smbd-daemon gives no sign of life,
even when present. When I give: ps x | grep mnb, nothing shows up. But
when I do: /bin/ls/ -l /usr/sbin/smbd /usr/sbin/nmbd, they are both
fine. What can be wrong?

Anybody knows?

Many, many thanks in advance. I'll send you a bunch of roses.

Bas

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

Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: Firewall Test?
Date: Sun, 22 Aug 1999 14:08:23 GMT

[Posted and mailed]

In article <[EMAIL PROTECTED]>,
        [EMAIL PROTECTED] writes:
>   Think I've got it working!!  Is there a way I can test the
> integrity? How does one know the firewall is truly functional?

No test can be complete, because nobody can know about undiscovered bugs
in the software that might gain access.  In general, though, you need to
try to break into your computer from outside, or get somebody else to do
that if you're not competent to do so.  I know of one VERY BASIC
automated test that's available online.  You sign up for this and the
maintainer runs various port scans on your system to see what services
are available. This will tell you where your some of your POTENTIAL
vulnerabilities are, but that's it.  If nothing else, it's a reasonable
starting point:

http://www.dslreports.com/r3/dsl/secureme

-- 
Rod Smith
[EMAIL PROTECTED]
http://members.bellatlantic.net/~smithrod
Author of _Special Edition Using Corel WordPerfect 8 for Linux_, from Que

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

Crossposted-To: 
at.linux,aus.computers.linux,be.comp.os.linux,comp.os.linux,comp.os.linux.advocacy,comp.os.linux.development.system,comp.os.linux.hardware,comp.os.linux.misc
From: See sig for reply <[EMAIL PROTECTED]>
Subject: Re: 3com ISA cards and linux
Date: Sat, 21 Aug 1999 13:21:05 GMT

X-No-Archive: yes

On Sat, 21 Aug 1999, Kalkas wrote:

> I have been seriously thinking to use Linux and stop using Windows 98. I am
> fascinated by Linux's stability and security.

I agree.

> However, it seems that it is not possible for me to use Linux, since I use
> cable modem with a 3com ISA card. More precisely, I use 3com EtherLink III
> ISA (3C509/3C509b) network interface card, and there are no drivers which
> will support my card in Linux.

Ooops?
One of my Linux boxes does use a 3C509. Had no problems to get it running.
Even the Linux which included kernel 2.0.33 supported it.

Cheers,
        Detlef.

--
Detlef Marxsen at 53 27 N 09 57 E.
Due to bad spam experience, my header is faked. To send email to me
remove the ".no" from  [EMAIL PROTECTED]
Sorry for the inconvenience.
May the bugs and computer-viruses eat the spammers alive!


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

From: "Ahhhh" <[EMAIL PROTECTED]>
Subject: how to setup linux to be a client using a proxy server
Date: Sun, 22 Aug 1999 09:20:18 -0500

how to setup linux to be a CLIENT using a proxy server

all i need is to be pointed at a how-to please
networking is setup, but need to access the internet through a proxy, using
linux box as a client

--
disclaimer:
      all the preceding information is for all purposes to be
      considered fictional, and not an admission of any kind!



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

From: JG <[EMAIL PROTECTED]>
Subject: modem connects, pings stay "inside" lan
Date: Sun, 22 Aug 1999 14:29:04 GMT

I'm working on setting up my linux server to connect to
the internet. I'm using "eznet" to connect and handle the 
ppp side of everything. After it's connected, I try to ping
my nameserver, and instead of going outside, I'm watching
the lights on my hub flash for the server only.  I think
that it is trying to ping the address, just going to the 
wrong network device.  

I'm relatively new to linux, have read the howto's for ppp,
diald, and other networking related info.

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

From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: Mgetty isnt playing nice...
Date: 22 Aug 1999 09:30:18 -0500

Ye old grumpy Tech ([EMAIL PROTECTED]) wrote:

: I'm trying to setup autoppp, to answer calls and establish a ppp
: session.... this I HAVE done. Here is an excerpt from my logfiles:

: Aug 22 13:42:21 asterisk mgetty[982]: data dev=ttyR0, pid=982,
: caller='none', conn='57600', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'

[edited]

: Aug 22 13:42:34 asterisk mgetty[995]: init chat failed, exiting...: Invalid
: argument

Notice that the mgetty PID here is not the PID that started the
connection.  Mgetty has respawned, look for an argument error in the
/etc/inittab mgetty entry.  Too low a device file speed might also
cause this.  In both those cases there would be "respawning too fast"
messages in one of the log files.  I'd also check /var/lock to see if
there might be a device file locking problem.

--
Clifford Kite <kite@inet%port.com>                    Not a guru. (tm)
/* 97.3% of all statistics are made up. */

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

From: "desmond" <[EMAIL PROTECTED]>
Subject: transparent proxy
Date: Sun, 22 Aug 1999 17:31:42 +0200

L.S.

I use a cablemodem to connect to the internet. Because my clients are heavy
internet users I've installed IP masquerading I also installed squid both
work fine. The problem is that my client by using masquerading can get
around squid so I tried to install transparent proxying but it doesn't work.
Any Ideas ???





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

From: "steve epstein" <[EMAIL PROTECTED]>
Subject: RH 5.1/Samba print server-How much RAM?
Date: Sun, 22 Aug 1999 10:48:24 -0500

I have a small Win98 network, with 2 TCP/IP printers. Server has 64MB RAM +
128MB Swap, 2GB free space on HD. Small print jobs are fine, but large jobs
shutdown the print queue. I had trouble printing jobs larger than 20MB when
there was 32MB RAM + 64MB swap. Now I can print jobs up to 40MB.
Unfortunately I need to regularly print jobs from 50-100MB. The problem
seems RAM dependent, but swap file increases do not seem to help.

Any suggestions? Thanks

steve epstein

[EMAIL PROTECTED]




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

From: "Mike" <[EMAIL PROTECTED]>
Subject: BUmping up packet size ,, aka,, speeding up Internet....
Date: Sun, 22 Aug 1999 23:34:27 +0930

Hi,
    I was hoping someone could tell me if theres a way of increasing your
connection speeds under linux RH 5.2. In windows it gives you the option in
the advanced section of modem setup of increasing your modem send / recieve
buffer sizes. This can make a notable increase to people on a good quality
connection. mIRC the chat program has a command to max out your packet sizes
on DCC transfers which once again makes a huge difference. Is there
something I can do at a system level with Linux to get things flowing a bit
quicker??



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

From: Jan-Albert van Ree <[EMAIL PROTECTED]>
Subject: Re: Networking between linux and win98
Date: Sun, 22 Aug 1999 17:48:14 +0200

Todd Keller schreef:
> 
> Greetings,
> 
>   I'm not sure if this is in the right place but any advice is welcome.
> I have a win98 machine with a dial-up adapter, and a D-Link 220
> ISA adapter, both with it's own TCP/IP protocols bound to it. The
> machine's IP is set, and it's seen by the linux box (ping comes back
> good), and I can ftp and telnet to the linux box (through the 5 port
> hub). However, which machine is it that I'm to tweak for dns resolving?
> My /etc/hosts and /etc/resolv.conf both look good to me and I'm
> wondering if I'm missing something. Thanks for any help and if it's
> a windows problem, I'm just going to shoot myself for asking this
> in a linux domain, hehe...

If you'd list both /etc/hosts and /etc/resolv.conf as well as /etc/lmhosts
we might be able to help. To make DNS work for me temporarily, I made a
file lmhosts in my /etc just like the Win98 lmhosts file (check out
c:\windows\lmhosts.sam ) And I have Samba running with the 'DNS PROXY =
YES' option. Now I can use names instead of IP numbers. Only works for my
local network...
-- 
Jan-Albert "Sliver" van Ree | [EMAIL PROTECTED]
3D Sims Archive maintainer  | http://www.3dgamers.com

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

From: "Suddn" <[EMAIL PROTECTED]>
Subject: Re: My server is refusing telnet sessions!
Date: Sun, 22 Aug 1999 16:20:13 GMT

I looked in the taskmanager and didn't see anything that looked like
"telnetd" so I checked my /etc/inetd.conf file and found this:

telnet    stream     tcp     nowait    root    root    /usr/sbin/tcpd
in.telnetd

Van Wambeke wrote in message <7pohoq$858$[EMAIL PROTECTED]>...
>is the telnetd deamon running?
>if it is not try the file /etc/inetd.conf
>
>
>Suddn a �crit dans le message ...
>>My server use to allow me to log on via telnet.  Now it just closes the
>>connection.  (no request for username/password)
>>
>>I have no idea why?!  Need help!
>>
>>
>
>



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

From: root <[EMAIL PROTECTED]>
Subject: ncpfs & non root users problem
Date: 22 Aug 1999 19:05:30 +0200

Hi.

I've installed & configured ncpfs and it works perfectly
when I'm logged in as root. However, non root users can not
use "slist" and "nprint" utilities. SUID root solved the
problem for "slist", but not for "nprint". 

Any ideas what's wrong ???


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

From: Tom Eastep <[EMAIL PROTECTED]>
Subject: Re: transparent proxy
Date: Sun, 22 Aug 1999 16:05:47 +0000

Tom Eastep wrote:
> 
> You could deny TCP port 80 SYN packets from your local network.
> 
Please pardon me responding to my own post. The above suggestion is
obviously in lieu of using transparent proxy and assumes that Squid is
listening on a port other than 80.

> --
> Tom Eastep
> [EMAIL PROTECTED]

-- 
Tom Eastep
[EMAIL PROTECTED]

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

From: Tom Eastep <[EMAIL PROTECTED]>
Subject: Re: transparent proxy
Date: Sun, 22 Aug 1999 15:46:11 +0000

desmond wrote:
> 
> L.S.
> 
> I use a cablemodem to connect to the internet. Because my clients are heavy
> internet users I've installed IP masquerading I also installed squid both
> work fine. The problem is that my client by using masquerading can get
> around squid so I tried to install transparent proxying but it doesn't work.
> Any Ideas ???

You could deny TCP port 80 SYN packets from your local network.

-- 
Tom Eastep
[EMAIL PROTECTED]

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

From: "desmond" <[EMAIL PROTECTED]>
Subject: Re: transparent proxy
Date: Sun, 22 Aug 1999 18:28:33 +0200


Tom Eastep <[EMAIL PROTECTED]> schreef in berichtnieuws
[EMAIL PROTECTED]
> Tom Eastep wrote:
> >
> > You could deny TCP port 80 SYN packets from your local network.
> >
> Please pardon me responding to my own post. The above suggestion is
> obviously in lieu of using transparent proxy and assumes that Squid is
> listening on a port other than 80.
>
> > --
> > Tom Eastep
> > [EMAIL PROTECTED]
>
> --
> Tom Eastep
> [EMAIL PROTECTED]

I've already tried blocking port 80 (squid listens on 3128) I also
implemented some changes in squid.conf and redirected traffic via ipchains.
But it still didn't work.



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

From: Helge Grimm <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup
Subject: Re: BeOS Question
Date: Sun, 22 Aug 1999 19:10:36 +0200

BeOS is a very fast multimedia-os...

"Robert F. Scheyder" schrieb:

> Hi,
>
> Hate to bring this up, but what is BeOS?  And why to they claim to be better
> than Linux?  They're thinking of giving it a try at my school, and I'm just
> interested in what BeOS really claims to do.
>
> Tschuss!
>
> Robert Scheyder
>
> --
> ===================================================
> Robert F. Scheyder
> [EMAIL PROTECTED]
>
> "Life is a Battlefield..."
>     -with apologies to Pat Benatar


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

From: [EMAIL PROTECTED] (Stephen R. Savitzky)
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.hardware,comp.os.linux.misc
Subject: Re: 3com ISA cards and linux
Date: 22 Aug 1999 08:27:26 -0700

"Kalkas" <[EMAIL PROTECTED]> writes:

> Stephen R. Savitzky <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > "Kalkas" <[EMAIL PROTECTED]> writes:
> >
> Thanks Steve!
> That was good news indeed!
> 
> I also assume now that Linux should support my monitor and my audio card. My
> audio card is Creative Sound Blaster PCI 128, and my monitor is MAG
> InnoVision DX15F. Am I correct in my assumption?

I understand that the SB PCI128 is supported; I remember seeing
something to that effect on one of the newsgroups recently.  (I'm
usually too lazy to get sound working, myself.)

I have a MAG monitor of some sort, but in general there's no problem
with monitors.  One suggestion: track down your monitor's specifications
before trying to configure X.  You'll want to know the horizontal and
vertical frequency limits so that X can set timings that don't fry the
monitor (it's happened to me).  If you don't have the information,
specifying your monitor as a "generic multisync" usually works with
anything that's not too old.

-- 
 /   Steve Savitzky   \ 1997 Pegasus Award winner: best science song--+  \
/ <[EMAIL PROTECTED]>      http://theStarport.com/people/steve/   V   \
\   hacker/songwriter:       http://theStarport.com/people/steve/Doc/Songs/
 \_ Kids' page: MOVED ---> http://Interesting.Places.to/Browse/forKids/ _/

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

From: Peter Eddy <[EMAIL PROTECTED]>
Subject: Re: Daemon smbd damaged?
Date: Sun, 22 Aug 1999 13:26:13 -0400

Bas van Weelde wrote:
> 
> Okay! Now' I'v really had it!!! Checked everything and it all seems to
> be allright.

What is "everything"?  How do you know it's alright?

> But Samba services fail, since the smbd-daemon gives no sign of life,
> even when present. When I give: ps x | grep mnb, nothing shows up. But
> when I do: /bin/ls/ -l /usr/sbin/smbd /usr/sbin/nmbd, they are both
> fine. What can be wrong?

Try, "ps aux | grep smb"  

Is samba being started in your init scripts?  Depending on what
distribution you have, how samba is started may differ, so your
distribution information would be one helpful piece of info.

Peter

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

From: Stephen Beck <[EMAIL PROTECTED]>
Subject: Sendmail question
Date: Sun, 22 Aug 1999 12:33:15 -0400
Reply-To: [EMAIL PROTECTED]

when I use my hostname as the SMTP server, I can successfully send mail
to my own system, but it will not send to the internet.  What to I need
to configure to do so?

-- 
Stephen Beck
[EMAIL PROTECTED]
http://home.att.net/~sirbeck/

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

From: Andrzej Filip <[EMAIL PROTECTED]>
Subject: Re: Sendmail question
Date: Sun, 22 Aug 1999 18:52:07 +0200

Stephen Beck wrote:

> when I use my hostname as the SMTP server, I can successfully send mail
> to my own system, but it will not send to the internet.  What to I need
> to configure to do so?

http://www.sendmail.org/~ca/email/setup1.html

A first Guide for e-mail installation
Last Update 1999-08-05

Intention
This is a draft, it isn't finished at all!

This guide gives some very rough hints about the things to do when you
setup e-mail for a
small domain or a single computer. It is not intended as a full blown
description, but just as a
collection of hints, of DOs and DON'Ts. The MTA I will describe is sendmail
(the current
version can be found at ftp.sendmail.org .) There are others available too,
but I'm used to
sendmail and I recommend it. Please send comments/suggestions to me.
[...]

--
Andrzej (Andrew) A. Filip | Warsaw, Poland | fax: +1(801)327-6278
[EMAIL PROTECTED]  |  [EMAIL PROTECTED]  |  http://bigfoot.com/~anfi
   Postings: http://deja.com/profile.xp?author=Andrzej%20Filip

 Who refuses a better job offer ?



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

Date: Mon, 23 Aug 1999 00:45:36 +0800
From: spasmgut <[EMAIL PROTECTED]>
Crossposted-To: jaring.os.linux
Subject: Re: Ericsson HiS modem (Repost)

This is a multi-part message in MIME format.
==============51C561F73D7080282658BF8F
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

For those of you that missed my earlier post here's the script again.
Hope it will solve your problem. Just curious, I thought I gave ericsson
the script. Didn't they give it to you when they installed it at your
house/office? They should, cause you pay rm50 for installation charges.
And that includes setup :o)

Regards,
rizan

Anonymous wrote:
> 
> Hello,
> 
> Anyone have using Ericsson HiS (home-internet-solution) Modem with Linux ?
> 
> I'm having a problem connecting HiS modem with my Linux (RH5.2),
> I created a chat script for this, as follow :
> ~~~~~~~~~~~~~~
> "" \n
> > login mylogin
> pass: mypasscode
> ~~~~~~~~~~~~~~
> 
> I got above info through window-95 terminal program talk with the HiS
> modem.
> 
> The Linux settings is 115200bps, ffowcontrol = crtrts, data bit 8, 1 stop
> bit and none parity.
> However, I can connected using Win95 and the chat is proven work since I
> succesful
> simulate the modem by connecting the linux to my win95 PC running
> "hyper-terminal" to
> simulate( Ie I type in >,  ogin:. word: .. etc)
> 
> The /var/log/ppp files just list that chat-script fail. (howver it success
> if I "simulate" it with win95 as above)
> 
> Note: my chat-script and ppp connection proven work with "normal" standard
> modem dial-up to ISP.
> 
> Any clue ?
> 
> Thank,
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> :< [EMAIL PROTECTED]
> :< [EMAIL PROTECTED]
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
==============51C561F73D7080282658BF8F
Content-Type: text/plain; charset=us-ascii;
 name="his"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="his"

#!/bin/sh
# Tested on Linux Redhat 5.2 kernel 2.2.10 make sure you have
# at least pppd ver 2.3 installed because that's the only version I tested
# this proggie on :o)
# E.g: $ pppd --version
#      pppd version 2.3 patch level 5 
#
# Usage: $ chmod +x his
#        $ ./his  
# This script is to be run under root privilege. It will 
# initiate a ppp connection for Ericsson HiS Network Terminal.
# You can reach me at [EMAIL PROTECTED] or on dalnet spasmgut
#
# Make sure user is root
#
whoami > /tmp/uidtest.his
if /bin/cat /tmp/uidtest.his |grep root >/dev/null
    then
        # Ask user for com port 
        clear
        echo "This script will take you thru the procedures of setting up"
        echo "your HiS NT for PPP. If you need to change your password"
        echo "just run the program again......"
        echo -n "What COM port is your HiS modem connected to? (1,2,3,4) "
        read com
        case $com in
                1)COM="/dev/ttyS0"
                 echo "COM port is set to /dev/ttyS0"
                 ;;
                2)COM="/dev/ttyS1"
                 echo "COM port is set to /dev/ttyS1"
                 ;;
                3)COM="/dev/ttyS2"
                 echo "COM port is set to /dev/ttyS2"
                 ;;
                4)COM="/dev/ttyS3"
                 echo "COM port is set to /dev/ttyS3"
                 ;;
                *)echo "Invalid choice!!!....Program Terminated"
                  exit
        esac

        #Ask user for Login and Password
          echo -n
          echo -n "Login:"
          read login
          echo -n "Password:"
          read pass
        
       #Assign the variables
         LOGIN=$login
         PASS=$pass

       #Export the variables so it's available thru out the program
         export LOGIN PASS COM

       #Check if /etc/ppp exist. If not create one 
       if test -d /etc/ppp
             then
               echo ............
              else
                echo "/etc/ppp doesn't exist. Create it?(y/n)"
                read create
                if test $create = "y"
                   then
                    mkdir /etc/ppp
                   else
                     echo "You MUST create /etc/ppp/ in order to proceed..."
                     exit
                fi
       fi

       #Copy login, hostname and password into /etc/ppp/pap-secrets
        echo $LOGIN "*" $PASS > /etc/ppp/pap-secrets

       #Edit the /etc/ppp/options
       echo lock defaultroute debug > /etc/ppp/options 

       #Create a dialup sript to launch pppd
       clear
       echo "exec pppd $COM 115200 crtscts name $LOGIN" >/usr/local/bin/dialup 
       chmod 755 /usr/local/bin/dialup
       echo "A file called dialup has been created in /usr/local/bin/"
       echo "Do you want the connection to be automatically started "
       echo -n "whenever your computer boots up?(y/n) "
       read choice
       case $choice in
          y)clear
            echo "# Starts PPP for HiS system" >>/etc/rc.d/rc.local
            echo "/usr/local/bin/dialup" >>/etc/rc.d/rc.local
            echo "Connection will be automatically started when reboot"
            echo "Program Done......e-mail: [EMAIL PROTECTED]"
            ;;
          n)clear
            echo "Program Done......e-mail: [EMAIL PROTECTED]"
            echo "Run dialup manually to start connection."
            ;;
      esac
 else
    clear
    echo "This program MUST be run under ROOT....."
    exit
 fi
# Gets rid of uidtest.his file for UID verification purposes
rm /tmp/uidtest.his

==============51C561F73D7080282658BF8F==


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

From: John Dowd <[EMAIL PROTECTED]>
Subject: Need to implement PPPoE for DSL service...
Date: Sun, 22 Aug 1999 16:47:57 GMT

I'm currently using DHCP to connect to my ISP and its always worked
fine. Now they are going to some kind of access management s/w and it
requires PPPoE in order for me to connect. Since they only officially
support WinBloze and Mac's they haven't produced the s/w for Linux. I'm
running SuSE 6.1.

Has anyone out there experienced this and do you know what I need to
setup on my machine to be able to connect? I'm assuming that I need to
get the PPP s/w installed first.

                                                                Cheers!!
-- 
=====================================================================
                To err is human, to forgive is not company policy!

                                                        John Dowd
                                                        [EMAIL PROTECTED]

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


** 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