Linux-Networking Digest #244, Volume #11         Sat, 22 May 99 15:13:35 EDT

Contents:
  Re: Samba Server not in Network Neighborhood ("Maguai")
  Newbie problems with RedHat 5.2 PPP ("Keith E. Dickson")
  Re: IP Masquerading doesn't work! (Gilford Wimbley)
  Re: eth0:0 not showing on ifconfig - puzzled (Paul B. Brown)
  Re: PCMCIA and ether card initialization ("Tim Underwood")
  CGI  for IPFWADM
  Re: How to put second IP on eth0 ? (Paul B. Brown)

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

From: "Maguai" <[EMAIL PROTECTED]>
Crossposted-To: linux.samba
Subject: Re: Samba Server not in Network Neighborhood
Date: Sat, 22 May 1999 17:55:34 GMT

Check this site
http://home.talkcity.com/MigrationPath/maguai/linuxhowto.html


<[EMAIL PROTECTED]> wrote in message
news:7gfg62$84f$[EMAIL PROTECTED]...
> I have a RedHat 5.2 machine running Samba(v 1.9.18p10-3).  I edited the
> default smb.conf putting entries for the groupname, added a share, and
added
> some allowable hosts.  I ran testparm, which found no errors, but I can't
see
> it on the network (I even ran a 'Find Computer...' for it w/ no success).
I
> can't map a drive to the share I created either.  Any ideas?
>
> --
> Morgan Terry
> [EMAIL PROTECTED]
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own



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

From: "Keith E. Dickson" <[EMAIL PROTECTED]>
Subject: Newbie problems with RedHat 5.2 PPP
Date: Sat, 22 May 1999 12:37:32 -0500

Subject:
            Newbie problems with PPP in 5.2
       Date:
            Sat, 22 May 1999 12:34:21 -0500
       From:
            "Keith E. Dickson" <[EMAIL PROTECTED]>
 Newsgroups:
            linux.redhat.ppp




OK, here's the story:
I"m completely new to the Linux scene, but after doing a lot of reading,

I decided to give it a try, mainly as a toy and a learning experience. I

bought the book Linux Unleashed which included RedHat 5.2, and have
managed it get it up and running on my computer, with XWindows also. Had

some problems trying to get my mouse to work, had it set up and
recognized, but my cursor kept jumping up to the upper right corner. I
started doing some reading, and when I came back a half hour later, the
screen-saver had engaged, and when I wiggled the mouse to disengage, the

mouse seemed to be working great.

Now I'm ready to start configuring my dialup to the internet. I think
I've read about every single howto online, printed most of them out for
reference, but it now seems something's not set up right with the
kernel. I've tried configuring by using linuxconf and going into the
netconfig, but after entering in all the appropriate info, I hit the
Apply Changes button, which tells me there was errors and shows me the
configuration log which states:

Checking base configuration
   Checking kernel's modules
   Mounting local volumes
   Checking LILO
   Executing some Sysv init scripts
        *No APM support in kernel
        >Starting up APM daemon:apmd

but at this point, my hard drive light stays on constantly, and nothing
happens. In doing some more reading, I read the all kernels from RedHat
come with PPP support, but to make sure, type in: dmesg | less
.......I've done that, looking for some reference to PPP, and there is
none.
Did some more reading....found another reference that says to type in:
rpm -qa | grep ppp to check for PPP support. Did that, it returned:
ppp-2.3.5-1......so does this mean I DO have what I need?

As if it weren't too obvious, I'm just starting out with this, I have no

programming experience, just an abundance of curiosity and patience. So
from what I've supplied here, can someone point me in the right
direction on how to proceed? Please be very specific, since I'm not up
to speed with the commands and such, but I'm slowly catching on to some
of the very basics.
Thanks for the help!





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

From: [EMAIL PROTECTED] (Gilford Wimbley)
Subject: Re: IP Masquerading doesn't work!
Date: Sat, 22 May 1999 18:00:22 GMT

On Sat, 22 May 1999 11:32:29 +0530, Manoj Phadke <[EMAIL PROTECTED]>
wrote:

>This is a multi-part message in MIME format.
>--------------95B496558A2F1892884D221F
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>
>Hi David,
>
>This happened with me also in same situation ie. change over from slackware
>to Resdhat. You seem to have class C network, if i guessed right. one of the
>commands you have been trying refers to class B network with netmask
>255.255.0.0. This will never work.
>Try following steps. Pl. don't use traceroute version of Redhat. It has bug
>that doesn't pick ppp adapter's path. Copy slackware's traceroute.
>
My version of Redhat traceroute works.  I have a ppp0 and an eth0, and
so it notifies me when I run it that it is using the eth0 interface.
So, I  have to explicitly tell it  which interface to use.  That's not
a "bug" is it?  How should traceroute know which interface you want to
use if you don't tell it?

>/sbin/ipfwadm -F -f
>/sbin/ipfwadm  -F -p deny
>/sbin/ipfwadm -F -a accept m -S 192.168.0.0/24 -D 0.0.0.0/0  /* if
>192.168.0.0/24 doesn't work try 192.168.0.0/32
>
>If you wish to allow only a certain machine (in this case 192.168.1.123),
>access to the Internet,
>you could instead add the rule
> /sbin/ipfwadm -F -a m -S 192.168.0.123/32 -D 0.0.0.0/0
>
>You can set up further rules to block access to certain sites and log
>traffic etc. The following rule denies and logs traffic attempting
> to go to the site 207.9.12.47 ipfwadm -I -a reject -S 192.168.1.0/24 -D
>207.9.12.47/32 -o.
>
>for more information refer http://www.pcquest.com/may98/gateway.html
>
>Regards
>
>Manoj Phadke
>
>-----------------------------------------------------------------------------------------------------------------
>
>David Murray wrote:
>
>> Okay, this is driving me crazy... All I did was reload my server with
>> RedHat 5.2 instead of Slackware 3.4... but I can't make IP Masq work!
>> Here is some info to start with:
>>
>> Kernel Version 2.0.36 with all needed items compiled in.
>>
>> Ifconfig looks like this:
>
>--------------95B496558A2F1892884D221F
>Content-Type: text/x-vcard; charset=us-ascii;
> name="mmphadke.vcf"
>Content-Transfer-Encoding: 7bit
>Content-Description: Card for Manoj Phadke
>Content-Disposition: attachment;
> filename="mmphadke.vcf"
>
>begin:vcard 
>n:Phadke;Manoj
>x-mozilla-html:TRUE
>org:NLS Agency (I) Pvt. Ltd.;Systems
>adr:;;;;;;
>version:2.1
>email;internet:[EMAIL PROTECTED]
>title:System Executive
>fn:Manoj
>end:vcard
>
>--------------95B496558A2F1892884D221F--
>


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

From: [EMAIL PROTECTED] (Paul B. Brown)
Subject: Re: eth0:0 not showing on ifconfig - puzzled
Date: 22 May 1999 18:16:57 GMT

[Posted and mailed]

> i am puzzled over ip aliasing.
> i set up another ip on eth0 as follows:
> 
> ifconfig ifconfig eth0:0 xxx.xxx.xxx.xxx
> route add -host xxx.xxx.xxx.xxx dev eth0:0
> 
> ok, i can ping new ip address locally and from outside and it works.
> only... it does not show up in ifconfig list. there is just eth0 but not
> the alias i just created. that somewhat troubles me. i am using rh52,
> 2.2.2. am i missing here something or just doing something plain wrong?

sven,

Hummm . . . have you tried: ifconfig -a

??

Paul

===========================================================================
Paul B. Brown                          [EMAIL PROTECTED]
President
Brown Technologies Network, Inc.       http://www.btechnet.com/

Unix Systems Administration            "Sailing is a state of mind . . . ."
===========================================================================

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

From: "Tim Underwood" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.portable
Subject: Re: PCMCIA and ether card initialization
Date: Sat, 22 May 1999 12:29:44 -0500

Something else I have noticed...

All I have to do to get the card running, once booted is:
    /etc/rc.d/init.d/network restart

Then it's off and running

Tim Underwood wrote in message ...
>I have installed RH 6 on a Compaq 1375, and finally got the Linksys PCMCIA
>ether card to generally work, but still have some problems.
>
>I upgraded the pcmcia to 3.0.10.  The card is using the ne.o (NE2000)
>driver.
>
>The problem is that the card is not seen when linux boots (even after the
>"delay" startup).  But all I have to do is run linuxconf, and have it
>restart the network, and PRESTO!  The card is now there and initialized.
>
>Why isn't it initializing properly?
>
>



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

From: <[EMAIL PROTECTED]>
Crossposted-To: alt.internet.services
Subject: CGI  for IPFWADM
Date: Sun, 23 May 1999 01:58:00 +0800

Hi,

     Currently I have firewall setup and all dial-in users are using private
IP.  I have a plan to limit all my dial-in users to checkin (name and
password) to a certain web page before they can have routes to outside
network.

     I can manually enter in linux prompt the following command to provide
users access to outside network.

#/sbin/ipfwadm -F -a masquerade -S 192.168.1.2/32 -D 0.0.0.0/0

* note * 192.168.1.2 is dial-in user's ip.

However I would like to have a script to do the job.

Please provide solutions or suggestion!

Your help is greatly appreciated!

Thank you very much!

Denny

[EMAIL PROTECTED]




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

From: [EMAIL PROTECTED] (Paul B. Brown)
Subject: Re: How to put second IP on eth0 ?
Date: 22 May 1999 18:12:52 GMT

>> How do you assign a second IP address to the ethernet interface?

Pat,

You will need to patch your 2.0.x kernel with the IP Alias patch.  You
can find documentation at:

http://metalab.unc.edu/pub/Linux/HOWTO

Then you can do something like, assuming your ehternet interface is called
eth0:

ifconfig eth0:1 <ip_addr> netmask <netmask> up
route add -net <network_addr> eth0:1

Rememeber to add these to your startup scripts.

Enjoy!  :-)

Paul

===========================================================================
Paul B. Brown                          [EMAIL PROTECTED]
President
Brown Technologies Network, Inc.       http://www.btechnet.com/

Unix Systems Administration            "Sailing is a state of mind . . . ."
===========================================================================

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


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