Linux-Networking Digest #360, Volume #10          Wed, 3 Mar 99 00:13:50 EST

Contents:
  pppd to isp (Peter Downs)
  Re: Routing ppp0 (null-modem) to local net (Brian McCauley)
  Re: NT can, Linux can't-- I think ("John Hardin")
  Re: 3c590 problem... ("Cameron Spitzer")
  unable to login as non-root user. ("i.am/dof")
  Re: firewall(IP MASQ) + ICQ (Doug Goldstein)
  Re: Need info on routing for 2 NICS (Doug Goldstein)
  kppp finally works!! (Linux Newbie)
  Re: Printing Accounting (Alan Curry)
  Re: IP Masquerading: losing connections? (Doug Goldstein)
  Re: IP forwarding with port mapping (Doug Goldstein)
  Re: Are you new to Linux? Thne read this (Allen)
  PPP can't use ISP's Name Server (Mike Niemann)
  Re: The truth about the Pentium III chip and ID --- **boycott info** (Juergen Heinzl)

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

From: Peter Downs <[EMAIL PROTECTED]>
Subject: pppd to isp
Date: Tue, 02 Mar 1999 22:29:33 -0600

I have this strange problem while trying to connect to my isp with my
linux box.
chat seems to get the connection live properly however when pppd sends
the lcp,
the server doesn't respond... (im sending this from a win95 machine,
fyi) Unfortunately,
I don't have another isp to try to connect to and the admin at my isp
only knows winnt
so won't support linux connectivity.
I've considered using my win95 box as a proxy but i'd much rather be
free of any
sort of ms dependencies... Any suggestions?  Regards,
Ragnar


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

From: Brian McCauley <[EMAIL PROTECTED]>
Subject: Re: Routing ppp0 (null-modem) to local net
Date: 02 Mar 1999 19:24:50 +0000

Gerdjan Busker <[EMAIL PROTECTED]> writes:

>                              -            terminal
>                              |               |
> laptop  <--- ppp --->   box  --- ether  ----------|
>                                                 |
>                                              Windowze box
> 
> 
> 
> Box, windowze box and terminal are fine.
> 
> For the ppp I do:
> laptop:  pppd -detach crtscts lock defaultroute 192.168.1.2:192.168.0.128 
> /dev/modem 38500 &
> 
> box: pppd -detach crtscts lock proxyarp 192.168.0.128:192.168.1.2 
> /dev/modem 38500 &

Would you care to drop the '-detach' and the '&'? They simply cancel
each other out.  Who is prepetuating this '-detach ...&' nonsense?

> Redhat 5.1 with out of the box kernel (symbols ip_forward* are in the kernel)

RH defaults to ip forwarding disabled.

To enable do:

echo 1 >/proc/sys/net/ipv4/ip_forward

Then figure out where in the RH setups you change the boot up
default.  (I've never used RH so I don't know).

-- 
     \\   ( )  No male bovine  | Email: [EMAIL PROTECTED]
  .  _\\__[oo   faeces from    | Phones: +44 121 471 3789 (home)
 .__/  \\ /\@  /~)  /~[   /\/[ |   +44 121 627 2173 (voice) 2175 (fax)
 .  l___\\    /~~) /~~[  /   [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
  # ll  l\\  ~~~~ ~   ~ ~    ~ | http://www.wcl.bham.ac.uk/~bam/
 ###LL  LL\\ (Brian McCauley)  |

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

From: "John Hardin" <[EMAIL PROTECTED]>
Subject: Re: NT can, Linux can't-- I think
Date: Tue, 2 Mar 1999 20:08:38 -0800


[EMAIL PROTECTED] wrote in message
<[EMAIL PROTECTED]>...
>Here's one I regret NT can do but not Linux-- tell me I'm wrong:
>
>Plug roving Windows laptop users into the home office network, over an
>internet connection (not a dialup connection!)
>
>Linux can't do it. I got it working in Windows today after 2 weeks
>seeking a Linux equivalent and newsgroup suggestions (discovered
>NT/W98's PPTP/VPN).


The Linux FreeS/WAN implementation of IPSec exists and is interoperable
with several commercial IPSec VPN servers.

There is a Linux PPTP client and server, and there have been two patches to
PPPD to implement Microsoft-compatible encryption and compression.

And Linux can act as a masquerading gateway if you've already got a PPTP or
IPSec client that you want to use without hogging your phone
line/ISDN/DSL/Cable modem.

For details and links, see the Linux VPN Masquerade home page at:

  ftp://ftp.rubyriver.com/pub/jhardin/masquerade/ip_masq_vpn.html

--
 John Hardin KA7OHZ                               [EMAIL PROTECTED]
 pgpk -a finger://gonzo.wolfenet.com/jhardin    PGP key ID: 0x41EA94F5
 PGP key fingerprint: A3 0C 5B C2 EF 0D 2C E5  E9 BF C8 33 A7 A9 CE 76
=======================================================================
  If you spend any time administering Windows NT, you're far too
  familiar with the Blue Screen of Death (BSOD) ...
                            - "MSDN Flash" email newsletter, 2/9/1999



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

From: "Cameron Spitzer" <[EMAIL PROTECTED]>
Subject: Re: 3c590 problem...
Date: 2 Mar 1999 20:21:36 GMT

In article <[EMAIL PROTECTED]>,
The New Guy  <[EMAIL PROTECTED]> wrote:
>shaefer wrote:
>> 
>> Hi all,
>> 
>> Sorry for this silly question, but I need to know if there is some way
>> to switch a 3Com 3c590 Vortex from the 10Base2 interface to the 10BaseT
>> interface?
>
>The card EEPROM uses an autodetection to determine which port is being
>used on the card.

That is only true if you have a Boot ROM installed.  The vast
majority of 3C590 cards does not have a Boot ROM.
The little 8-pin EEPROM contains no microprocessor code.
All it contains are the settings you can adjust with the
diagnostic programs.  3Com ships a Microsoft diagnostic with the
card, or you can download it from their Web site.  Dr. Becker
wrote a Linux diagnostic, available from the NASA Linux site.

One of the bits in the 8-pin EEPROM is *ADVISORY* to the driver,
and tells the driver whether you requested the driver to do automatic 
media selection.  This bit does not control any hardware function
by itself.

There is enough information in the Linux driver to modify it to
ignore the advisory autodetect bit, in the event you don't want to
use the diagnostic or a LILO command line option.



>> When I do the simple thing (place a 50-ohm terminator on the BNC plug and insert
>> my cat-5 cable into the RJ45 plug), it doesn't work. 
>
>Try it without the terminator on the bnc plug.  I think the card
>defaults to the bnc or goes tri-state when it can't decide which port to
>use, which i think it would be doing in this case.

If there is no terminator, the driver will see continuous collisions
on the 10Base-2 (coax, BNC) port.  If the driver is autoselecting, it will
conclude you are not using 10Base-2.  If auto select is off and 10Base-2
is selected and there is no terminator, the driver will think the network
is broken.

Cameron
http://petra.greens.org/~cls/

Ps., my name is in the Ethernet-HOWTO, and on the 3C590 schematics.
However, I do not work at 3Com any more.

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

From: "i.am/dof" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,alt.linux
Subject: unable to login as non-root user.
Date: Tue, 02 Mar 1999 20:17:15 +0000
Reply-To: [EMAIL PROTECTED]

hello all.

I recently changed to slakware, and since then i have been having
problems with telnet and ftp acess to my own machine (and now logging in

locally too).
When it happened on the first time i just did a reinstall (I had not
installed much stuff onto it since then)...
but now i have everything sorted (or at least i did have everything
sorted until this happened.. ) i would rather work out what the problem
is.

Anyway enough rambling.
The problem itself.

when i try and telnet to my own machine it tells me :

Trying 144.124.229.2...
Connected to pcheac.trf.aber.ac.uk.
Escape character is '^]'.
Welcome to Linux 2.0.36.

pcheac login: dof
Password:
Connection closed by foreign host.

When earleir on in the day i was able to.

I can log in as ROOT, but clearly this is not very helpful.

earlier on (the first time i tried loggin in after my pc kicked me off),

it told me /bin/bash execute permission denied, but i looked at the
permissions on /bin/bash and i could see nothing wrong with them.
-rwxr-xr-x   1 root     bin        279352 Mar 31  1997 /bin/bash

I cannot also log in locally as non-root.
I added a new user, ("tester" and i was unable to log in with that
either)

Heres an entry from /var/log/messages :
Mar  2 18:20:19 pcheac identd[255]: Connection from osfb.aber.ac.uk
Mar  2 18:20:19 pcheac identd[255]: from: 144.124.16.22 (
osfb.aber.ac.uk ) for:
 61008, 23
Mar  2 18:20:19 pcheac identd[255]: Returned: 61008 , 23 : NO-USER


any helps of ideas would be gratefully accepted !

dof.

running - slakware 3.6.

if anyone does answer this, could they please email me the answer at
[EMAIL PROTECTED] too please. thanks.

--0--
David Goodwin.  http://i.am/dof
MEng software engineering UWA
[EMAIL PROTECTED] [EMAIL PROTECTED]


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

From: Doug Goldstein <[EMAIL PROTECTED]>
Subject: Re: firewall(IP MASQ) + ICQ
Date: Tue, 02 Mar 1999 20:24:16 GMT

If you're using IP Masqing this solution will do it. Works for me fine.

Specify this when you boot up:
ipautofw -A -r tcp aaaa bbbb -h xxx.xxx.xxx.xxx     xxx.xxx.xxx.xxx being
your NT machine running ICQ. aaaa being a port 11-12 numbers away from bbbb.

For example mine looks like this.
ipautofw -A -r tcp 2000 2011 -h 192.168.1.2

Then in ICQ go into Preferences->Connection. Select using a firewall or
proxy. Open the Settings, say you don't have a SOCKS proxy. Then in the "Use
the following TCP ports" put the port aaaa and port bbbb. Whatever numbers
you choose. And your all set. Just need to restart ICQ and possibly your
Linux box if you didn't also run that line at the command line.

Doug Goldste


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

From: Doug Goldstein <[EMAIL PROTECTED]>
Subject: Re: Need info on routing for 2 NICS
Date: Tue, 02 Mar 1999 20:25:33 GMT

Basicly read the IP Masqing HOWTOs and FAQs. Since that is how a firewall
works.

Darrel Davis wrote:

> I have a RedHat 5.2 Linux box with 2 NICS which are up and running.  The
> desire is
> to turn the machine into a firewall.  eth0 is set to be the gateway device
> but with both
> interfaces up, i can't even ping between them.  Any pointers to FAQs for
> this kind
> of dual interface routing?
>
> Any help appreciated.
>
> -darrel


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

From: [EMAIL PROTECTED] (Linux Newbie)
Subject: kppp finally works!!
Date: Tue, 02 Mar 1999 20:27:43 GMT

        I finally got kppp to dial and connect to my ISP.  Previously
it would just connect send my passwords, ID etc, initiate PPP on the
server side and just sit there and time out.  I don't know what I did
to make it work but I added this to my  /etc/ppp/options file.

-detach
modem
#lock
crtscts
defaultroute
asyncmap 0
mtu 552
mru 552
name expressnet.com

After adding this it worked.  If you're having the same symptoms as I
am, give it a try.  I just edited this file and nothing else.  

It's always the little things that don't work.  Heck, I was pulling my
hair out for the last week or 2.  My next task is getting my gravis
Xterminator and my WinTV to work in Linux.  Any tips?


--
"Linux:  The best things in life are free"

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

Crossposted-To: comp.os.linux.misc
Subject: Re: Printing Accounting
From: [EMAIL PROTECTED] (Alan Curry)
Date: Tue, 02 Mar 1999 20:28:30 GMT

In article <7bh4vf$2gb$[EMAIL PROTECTED]>,
 <[EMAIL PROTECTED]> wrote:
>  We need to set up printer accounting on our RH5.2 servers -- to charge
>users per page or per byte for all their printing. I've turned on accton, but
>don't see any way right off to get print spool info from it. The print spool
>itself has the info we need, although only briefly. Is there some way to
>continually copy the print spool info to another file, so we can then right a
>program to bill them? Doing lpq, even a continual loop, would probably let
>many small jobs slip by.

In related news, I'd like to know if there is any lpd replacement with some
access control. In some places it doesn't make sense to allow every user to
print just because there happens to be a printer there, but the
administrator might want to print something once in a while, so having lpd
running is convenient. If lpr would do a getuid() and compare against a list
of allowed users (kinda like /etc/minicom.users, only for lpr), that would be
ideal.

Has anyone done this yet?
-- 
Alan Curry    |Declaration of   | _../\. ./\.._     ____.    ____.
[EMAIL PROTECTED]|bigotries (should| [    | |    ]    /    _>  /    _>
==============+save some time): |  \__/   \__/     \___:    \___:
 Linux,vim,trn,GPL,zsh,qmail,^H | "Screw you guys, I'm going home" -- Cartman

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

From: Doug Goldstein <[EMAIL PROTECTED]>
Subject: Re: IP Masquerading: losing connections?
Date: Tue, 02 Mar 1999 20:28:50 GMT

Strange thing is you can't just do that. You need to reboot the WHOLE network to
get it back once it dies on you for good.

Rick Onanian wrote:

> [EMAIL PROTECTED] wrote:
> >
> > I've set up Linux boxes with IP Masquerading to act as cable modem routers
> > for small LANs before, and they've always worked fine.  Recently, I set one
> > up for my neighbor, who happens to be on the same cable-modem segment as I
> > am, and his works for awhile (12-24 hours), then eventually stops working.
> <snippage>
>
> It's not the correct solution to the problem, but one workaround would
> be to set the linux box to automatically reboot itself every twelve
> hours or so... man cron
> --
>   rick - a guy in search of raw (ISO) cd images of SuSE and Slackware
> ---------------
> My opinions don't exist, and as such, are not anyone elses. I do not
> represent anyone, not even myself, and especially not my employer.
> ---
> Looking for a 1968 Camaro SS convertible, black interior,
> beat-up rustbucket that is in need lots of restoration and TLC.
> ---
> Reply to me at either thc <at sign here> psynet <dot> net or
> rick <at sign> mail <dot> artmold <dot> com


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

From: Doug Goldstein <[EMAIL PROTECTED]>
Subject: Re: IP forwarding with port mapping
Date: Tue, 02 Mar 1999 20:30:30 GMT

I have a Linux box to the internet and a W98 behind the firewall(IPMASQ).

Doug Goldstein

Matt Chipman wrote:

> What type of os is the pc connected to the internet?  Is it a linux or win95
> machine?
>
> If its win 95 then go here
> http://home.t-online.de/home/sog-luebeck/hhproxy.htm
>
> Matt
>
> Hans wrote in message <[EMAIL PROTECTED]>...
> >Hi, i'm new with the IP forwarding thing.
> >I have 2 computers on my small network, I would like to map incoming
> >telnet connections on the 192.168.0.1 port 8023 (computer connected to
> >internet) to the computer 192.168.0.2 port 23.
> >I've tried everything with ipfwadm with no success at all. Do you have
> >any suggestions?
> >Thanks in advance.
> >Hans.
> >
> >


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

From: [EMAIL PROTECTED] (Allen)
Crossposted-To: comp.os.linux.setup,comp.os.linux.hardware,alt.os.linux
Subject: Re: Are you new to Linux? Thne read this
Date: 3 Mar 1999 04:51:50 GMT

Hallelujah. I'll take every resource I can get.  I think I've nearly got voting
stock in O'Reilly & Associates by now.   I installed my first Linux system this
past weekend, and Hardware is great, but Unix experience is nil.  I have the
Linux System administrators Guide, and Running Linux, though I thought they both
assumed a lot of basic unix command line knowlege, and I really need something
in hard copy, so I can read it when I CAN'T get the system to do what I want it
to do, like get out of vi, or change my rez in X, how to shut down properly,
etc...  I literally rebooted and re-installed 3 times this weekend, because of
little things like not knowing how to escape out of vi or som man page I'd gone
to, and for once, I;d really like to have hard copy docs that were up too date,
so I could read them even when the system is down.  I did run across an old copy
of "Linux Unleashed" published by Sams, and while it included an outdated copy
of slackware 2.2, it really does take one by the hand at start and tell them ALL
the keystrokes to gain their independence.  I sure they print an updated
edition, just like I hopw there is an updated revision of running Linux, and the
admin guide, as I need to get up to speed on DHCP, and networking in a hurry,
but neither of those books even lists it in the index.

On Mon, 1 Mar 1999 21:32:42 -0500, "Snoopy :-))" <[EMAIL PROTECTED]> wrote:

>Accept My Congradulations :-))
>I am sure that the Newbies who will be fortunate enough to read your Post
>and go to the suggested Link will probobly remember you with gratitude for a
>long time.
>The Tutorial & Guide to which you are reffering to is probobly one of the
>Best Begginer Guide in the World( written by Matt Welsh etc. he is also one
>of the authors of the highly recommended book="Running Linux").
>The Link you gave is very good for Online Reading, But I've found another
>Place on the Web which I think is even better, since here you can find the
>above mentioned Guide and also download the whole Guide in many different
>Formats (I prefer the HTML) in addition you will find many other Goodies
>:-))
>Here it is:  http://metalab.unc.edu/LDP/ldp.html
>There is another site which I highly recommend.  "Eric Raymond's" home page.
>If you are wondering who he is, in that case you are a Newbie for sure.  But
>I can assure you, that spending a little time at his page will definatelly
>put a fire under you regarding not wanting to be a Newbie for to long.
>Ofcourse you will also discover the reason as to why he is so admired by
>those who count, and why he is considered to be One of the Top Gurus in the
>World.  His FAQ Collection should definatelly be considered as a Bible for
>Newbies!!!!!
>Here is the Link: http://www.tuxedo.org/~esr/
>Your opinion will be welcomed
>Best regards
>Snoopy :-))  :-))
>childsplay wrote in message <[EMAIL PROTECTED]>...
>>Hey there if you rnew to linux like i am, then your going nuts reading
>>all the linux
>>web pages on the net looking to get started while pulling your hair out.
>>Well i think
>>I have found the most perfect site for the beginner. I mean the real
>>beginner
>>this site takes you thru everything step by step will examples and all.
>>Anyway check it out and good luck to all you linux newbies.
>>
>>http://rlz.ne.mediaone.net/usr/doc/LDP/install-guide/gs.html
>>
>>--
>>Charles "childsplay" VanDyke
>>[EMAIL PROTECTED]
>>
>>
>

Allen


(email addy; user ID portion has a numeral one in place of word
onespoiler, and of course, delete the bogus secondary domain of nospam.)
fight spam everywhere!!!

                            
                The irony is that Bill Gates claims to making a
                         stable operating system and
             Linus Torvalds claims to be trying to take over the world.
                
                 Linux; The Official OS of the New Millennium
                      
                          http://www.linuxlink.com

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

From: [EMAIL PROTECTED] (Mike Niemann)
Subject: PPP can't use ISP's Name Server
Date: Wed, 03 Mar 1999 04:43:11 GMT

OK, I'm a newbie... although it has taken me about 4 installs, and a
couple hundred boots to get this far.

I finally can get connected to my ISP (via Minicom), and I start PPP
with: pppd -d /dev/cua1 38400 defaultroute

I can ping across my peer-to-peer lan, which uses the eth0 network
card. When I ping to an internet address... I get no response (all
lost packets).

If I load Netscape, I can access an internet site with the IP address,
but not the www.xxxx.com name. Oddly enough the site responds to
Netscape although not to ping (perhaps that is normal).

Using route -n, I see the four entries expected... and the ppp0 route
has picked up the ISP provided IP address. [I'm using the networking
info at http://rlz.ne.mediaone.net/usr/doc/LDP/install-guide/ ]. There
the example output shows:

Destination
default

and mine shows

Destination
0.0.0.0

Any help would be truly appreciated.

Regards, Mike

PS - I seem forced to use Minicom because my ISP is Netcom.... and my
login starts with #... which isn't a cool character in Linux'ville.
I'm sure there is some sort of escape character... just haven't found
it yet.

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

From: [EMAIL PROTECTED] (Juergen Heinzl)
Crossposted-To: 
comp.lang.perl.misc,comp.mail.sendmail,comp.os.linux.setup,comp.os.ms-windows.advocacy
Subject: Re: The truth about the Pentium III chip and ID --- **boycott info**
Date: Tue, 02 Mar 1999 20:52:40 GMT

In article <[EMAIL PROTECTED]>, Bill Anderson wrote:
>Bill Frisbee wrote:
[...]
>What Stalin and Hitler did was nothing new, either.
>Just because others are doing it, does not make it right.

Aside from posting this crap all over ... but all right, Stalin, Hitler
and the Nazis ... seems like the typical lowest point of every news
thread has just been reached again; something that makes me hopeful.

If you do not like it do not buy a PIII ... no-one than the rest of
the world could care less about that.

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


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