Linux-Networking Digest #877, Volume #9          Thu, 14 Jan 99 09:13:59 EST

Contents:
  Re: How to assign a IP address range to an interface ? (Luca Colombi)
  Re: Obtaining MAC address from remote computer (Josef Moellers)
  Sendmail-Config. (Johannes Treml)
  PCMCIA CDPD Wireless IP Modems Under Linux ? (Bruno)
  Re: VNC Desktop (Andrea Fino)
  Re: Is it just me or what? (Mark Cooperstein)
  Re: simple sendmail question (Chris Deever)
  Re: Pentium with CD -> 486 without (Mikhail Bovineck)
  Re: SMC EZ 10/100 (Michael Scott)
  Re: External ISDN adapter - Does it need to use mlppp? (Joe Zeff)
  Re: Standleitung (Analog mit Modems) (Alex Pozgaj)
  Help! New user (Ziae)
  Re: ipfwadm: setsockopt failed: Invalid argument (Philip Wall / Wild Card)

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

From: Luca Colombi <[EMAIL PROTECTED]>
Subject: Re: How to assign a IP address range to an interface ?
Date: Thu, 14 Jan 1999 11:42:33 +0000

If what u need is to assign an IP address to a network card, do not recompile
the kernel.
Just use the 'ifconfig' command to assign IP addr, Bcast and Mask to you
network device.

For more help try command  'man ifconfig'.

I hope it helps.

[EMAIL PROTECTED] wrote:

> Hi,
>
> I need to recompile my 2.1.117 kernel and assign a range of ip address to an
> interface. How can I do that ? What's the kernel hack ?
>
> Example: eth0: 10.0.0.1 to 10.0.0.254
>
> Thank you to answer me also by email
>
> --------------
> Thomas Parvais
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own



--
Luca Colombi
System Administrator
The Hub Communications Co. Ltd.
The Farmhouse
Syon Park
Middlesex
TW8 8JF

Tel: +44(0)181 560 9222         Fax: +44(0)181 560 9333
E-mail: [EMAIL PROTECTED]       URL: http://www.thehub.co.uk




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

From: Josef Moellers <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system
Subject: Re: Obtaining MAC address from remote computer
Date: Thu, 14 Jan 1999 13:00:17 +0100

Sander Pilon wrote:

[ ... ]

> A packet arrived on eth0, I'm going to forward it to eth1 and I have to
> insert a new MAC
> address.

Where do you want to do this?
In userland, you don't have to do it, since the MAC layer is
inaccessable to the user. You use IP addresses.

In kernel, you use the arp module to resolve IP addresses.


-- 
Josef Moellers          [EMAIL PROTECTED]
        UNIX - Live free or die!
PS Dieser Artikel enthaelt einzig und allein meine persoenlichen
Ansichten!
PS This article contains my own, personal opinion only!

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

From: Johannes Treml <[EMAIL PROTECTED]>
Subject: Sendmail-Config.
Date: Thu, 14 Jan 1999 13:18:43 +0100

Hello,

is it possible to restrict the access to a smtp-server (sendmail)?

I would like to restrict the acces by IP-addresses or host-names.

Greeting

Johannes


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

From: Bruno <[EMAIL PROTECTED]>
Crossposted-To: linux.dev.laptop,comp.os.linux.hardware
Subject: PCMCIA CDPD Wireless IP Modems Under Linux ?
Date: Wed, 13 Jan 1999 20:39:31 -0600

>From reading the Linux PCMCIA Information Page and other HOWTOs
it does not seem that any CDPD Wireless modems are supported yet.
It is my understanding that CDPD cards are a completely different
from Wireless LAN cards ( which are used for building your 
own wireless LAN ). 

But maybe some of these CDPD cards use a standard serial interface
and could be used. I noticed this in the pcmcia list

>         [ Virtually all modem cards, simple serial port cards, and
>         digital cellular modems should work.  The only known
>         exceptions are the Compaq 192, the New Media WinSurfer, the
>         Megahertz XJ/CC2560, 3Com 3CXM356/3CCM356, and other so-called
>         "WinModems" that require special Windows drivers. ISDN modems
>         that emulate a standard UART are also supported. ] 
> 

Some how I doubt this is the case. So, I probably should just get
a digital cellular modem for wireless internet access. 

Does anybody have any suggestions for a good digital cellular modem?
Or does anybody know anything about the possiblility of using a 
CDPD card ?

Or for that matter any suggestions for wireless internet access for 
a linux laptop ( must be type II card ) ?

Thanks
Bruno

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

From: Andrea Fino <[EMAIL PROTECTED]>
Subject: Re: VNC Desktop
Date: Thu, 14 Jan 1999 12:28:40 +0100

If you check out the faq on the Orl www site, it is a known problem. Your
installation fails to setup
the default font path. I got the same, but commenting out two lines from the

configuration file, you should be ok. I am sorry, but I have not the
filename handy.
Anyway, I strongly suggest you to have a look at the faq.

Malay Shah wrote:

> Hi, I was wondering how I would setup a VNC Desktop server on a redhat
> 5.2 machine.  I have install VNC, but I can't seem to connect to it with
> my Win95 machine this is what I get in the log file
>
> 10/01/99 21:00:10 Xvnc version 3.3.2r3
> 10/01/99 21:00:10 Copyright (C) 1997-8 Olivetti & Oracle Research
> Laboratory
> 10/01/99 21:00:10 See http://www.orl.co.uk/vnc for information about VNC
>
> 10/01/99 21:00:10 Desktop name 'X' (malay.shah.net:0)
> 10/01/99 21:00:10 Protocol version supported 3.3
> 10/01/99 21:00:10 Listening for VNC connections on TCP port 5900
> 10/01/99 21:00:10 Listening for HTTP connections on TCP port 5800
> 10/01/99 21:00:10   URL http://malay.shah.net:5800
> failed to set default font path
> '/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/$
> Fatal server error:
> could not open default font 'fixed'
> _X11TransSocketINETConnect: Can't connect: errno = 111
> _X11TransSocketINETConnect: Can't connect: errno = 111
> _X11TransSocketINETConnect: Can't connect: errno = 111
> _X11TransSocketINETConnect: Can't connect: errno = 111
> _X11TransSocketINETConnect: Can't connect: errno = 111
> _X11TransSocketINETConnect: Can't connect: errno = 111
>
> How would I go about getting past this error?  thanks in advance.
>
> Malay Shah
> Please send any replies to my email address as well as the newsgroup


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

From: [EMAIL PROTECTED] (Mark Cooperstein)
Subject: Re: Is it just me or what?
Date: Thu, 14 Jan 1999 12:17:24 GMT

Check the log files in /var/log/messages. Also, you can put an entry in 
/etc/syslog.conf that looks like:
# save ppp error messages:
daemon.*        /var/log/ppp-log

This will log all ppp activity.  Then, you can add the "debug" option to pppd 
which will add more information to the /var/log/ppp-log file.  It should show 
you everything that's going on, right up to the point of connection.  If you 
successfully are getting connected, but can't ping anyone, not even your ISP, 
then there's something else wrong. BTW - if you've got X11 up and running, 
I've found the easiest way to get networking (including ppp, etc) configured 
is to use the "Network Configurator" (netcfg) applet from the control-panel.  
If control panel isn't starting with X, then from a terminal window type:
# control-panel
If that doesn't start, then you should be able to start netcfg the same way:
# netcfg

Mark


In article <77iacn$[EMAIL PROTECTED]>, "Charles Stack" <[EMAIL PROTECTED]> wrote:
>Okay...I've putzed with this PPP problem for over a week now and still have
>gotten nowhere.
>
>Here's the scoop...
>
>I am running RH 5.2 (workstation configuration 2.0.36).  My box also has an
>NE2000 compatible adapter (LinkSys).   My modem is connected to cua0 (or
>ttyS0 if you prefer).
>
>I configure a PPP connection using linuxconfig to my ISP (they use PAP) and
>activate the interface using usernet.  ifconfig tells me that I have a PPP
>connection using my static IP address.
>
>Problem is, I can't talk to anyone other than the other end of the
>connection.  I do NOT have a default gateway device specified.  I've even
>gone as far as editing my /etc/sysconfig/network file to make sure that the
>default gateway and gateway device are not specified.  My hosts and
>resolv.conf files look okay.  But, I can't talk to anyone...not even the DNS
>server.
>
>Under RH 5.0, I had a set of scripts that connected for me.  I brought these
>over to my 5.2 configuration.  Still no dice.  I've even tinkered with route
>and ifconfig...routes seem to be in place (didn't save the settings).
>
>One other thing....as I said before, I can connect to my ISP and get a PPP
>connection.  If I as much change the phone number, I can't authenticate.
>Now, that's probably something to do with my ISP's new routers...but my
>Windoze box has no problem connecting to either.
>
>What's going on here?  Is there a problem with the scripts that RH 5.2
>provides? Or is it a pppd problem?
>
>
>Any help is appreciated.
>
>TIA,
>
>Charles
>
>

**  Remove ".nospam" when replying or email will bounce back to you...

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

From: [EMAIL PROTECTED] (Chris Deever)
Subject: Re: simple sendmail question
Date: Thu, 14 Jan 1999 12:55:59 GMT

On Sun, 10 Jan 1999 21:45:00 GMT, [EMAIL PROTECTED] wrote:

>hi,
>
>basically, i have a machine called:
>
>       host1.domain.org
>
>and i would like to configure sendmail on host1 so that it can receive email
>sent to:
>
>       [EMAIL PROTECTED]
>
>and also send email so that the from: field looks like:
>
>       [EMAIL PROTECTED]
>
>instead of [EMAIL PROTECTED] how do i do this? i've seen the answer
>long time ago, but couldn't seem to find it anymore. i vaguely remember it
>has something to do with /etc/sendmail.cf (or sendmail.cw?).
>
>thanks for your help,
>
>robert
>
>-----------== Posted via Deja News, The Discussion Network ==----------
>http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    



Robert,

Yes, one way that you can accomplish this is to add the following line
to your sendmail.cf file:

Cwdomain.org

That will tell sendmail that your local host is also called domain.org
and e-mail sent to the host at either address is local mail and should
be delivered locally.

Chris
[EMAIL PROTECTED]


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

From: [EMAIL PROTECTED] (Mikhail Bovineck)
Subject: Re: Pentium with CD -> 486 without
Date: Thu, 14 Jan 1999 12:58:26 GMT
Reply-To: [EMAIL PROTECTED]



Well I am nearly there!  I have actually started the installation
twice now - once I ran out of hardrive space (oops) and the other time
there was a receive timout error on plip.  The problem is netmask I
think.  

Following the execution of my script file...

# ifconfig plip1 192.168.1.1 pointopoint 192.168.1.2 up
# route add 192.168.1.1 add { or sometimes 
                      route add 192.168.1.2 add, and sometimes
                      both!}
# mount /mnt/cdrom

netmask is listed by ifconfig -a as 255.255.255.0 but by route -n as
255.255.255.255.  The RH installation procedure AUTOMATICALLY assigns
it as 255.255.255.0 and then further fills out the Gateway and primary
nameserver fields.  As route lists the netmask as 255.255.255.255 and
the gateway as 0.0.0.0, I have been changing them to suite.  I have
been alternating clearing the primary nameserver and typing in
192.168.1.1 (IP of the pentium).  RH is really keen to fill in all
four fields though!

Another possible stumbling block is the next screen when asked for the
domainname and hostname.  I have been listing either...

_ _ _ _ _ _ _ _ _ _  {i.e. blank field}
localhost

or

localdomain
localhost

or

localdomain
localhost.localdomain

Of course it may not matter but then again who knows?  When I type
domainname on the pentium I get a blank line but hosthame gives me
localhost.localdomain.

I cannot seem to willingly create the miracle that started the
previous two semi-successful installations.  While sniffing around I
pressed Alt-F3 on the 486 and found messages associated with the
installation.  

Everytime I tried the install procedure this console would print the
following:

ip: 192.168.1.2 nm: 255.255.255.255 gw: 0.0.0.0 bc: 192.168.1.2

I'm not sure what bc is but the others are fairly self-explanatory.

Any ideas from anyone gratefully implemented :)

Cheers <yawn> - I'm off to the land of nod for some inspiration!

=========================================================================================

On Mon, 11 Jan 1999 02:23:32 GMT, [EMAIL PROTECTED] (Mikhail
Bovineck) wrote:

>
>Hi - I have Linux installed on a hardrive on a pentium box which
>originated on a CD ( RedHat Distribution).  I also have a 486
>with no CD which I would like to make a Linux box as well.  In other
>words, I would like to access the pentium box's CDrom from the 486. 
>
>Currently the 486 has muLinux installed on it, downloaded from the net
>and installed using 3 floppies. 
>
>All I have to connect the two is a null modem cable.  According to the
>RedHat docs I should be able to install from the CD via a network but
>do I need a network card for that?  Is the /dev/cua1 port sufficient?
>
>If so, how do I configure the durn thing?  All the Howto's seem to
>just be short of an answer that works!
>
>I have read all the docs from the LDP and the RedHat distribution but
>my head is spinning around!  Could someone please please explain in
>English for me how I connect the two (i.e. what protocol, what scripts
>etc).  I'm sure someone has had to do this before.
>
>I thank you in anticipation,
>
>Cheers :)
>


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

From: Michael Scott <[EMAIL PROTECTED]>
Subject: Re: SMC EZ 10/100
Date: Wed, 13 Jan 1999 21:31:01 -0500

> Thank you for your answer.  The IC on the NIC (was an SMC ASIC) gave absolutely
> no hint and the literature that came with it was laughable- as was the web site.

I am still having problems however.  I run the insmod and I get the message stating
the device is busy.

If anyone has installed this card I would appreciate it if they could post the
necessary files used and the settings they used on the card.

Cheers,
Mike



> Daring to challenge the will of the almighty Leviam00se, Mike Scott
> ([EMAIL PROTECTED]) had the courage to say:
>
> : I have a PCI SMC EZ 10/100 I am trying to install in Redhat 5.2 along
> : with a NE2000 compatible card.  I editted the conf.modules file to
> : include these two cards with the correct io and irq settings.  For the
> : SMC EZ card- I used the SMC Ultra driver which should work according to
> : the FAQ.
>
> *Bzzzt!* I'm sorry that's incorrect, but thanks for playing.
>
> There are actually two different SMC cards with 'EZ' in their names,
> and they do not use the same driver.
>
> The SMC EtherEZ 8416 is a 10Mbps ISA bus card which does in fact use
> the SMC Ultra driver (the card is an NS8390 derivative).
>
> The SMC EZ Card PCI 10/100 1211TX is a 10/100Mbps PCI bus card which
> uses a RealTek 8139 chip and requires the rtl8139 driver.
>
> Notice the difference: EtherEZ versus EZ Card. Yes, I know it's corny.
> It makes somewhat more sense to refer to them by model number (8416 vs.
> 1211TX). In any case, you need to install the rtl8139 driver. You should
> be able to find it from Donald Becker's collection either via HTTP at
> http://cesdis.gsfc.nasa.gov/linux/drivers or via FTP at
> ftp://cesdis.gsfc.nasa.gov/pub/linux/drivers. I don't know if it comes
> with RedHat 5.2 or not.
>
> -Bill
>
> --
> =============================================================================
> -Bill Paul            (212) 854-6020 | System Manager, Master of Unix-Fu
> Work:         [EMAIL PROTECTED] | Center for Telecommunications Research
> Home:  [EMAIL PROTECTED] | Columbia University, New York City
> =============================================================================
> "Mulder, toads just fell from the sky!" "I guess their parachutes didn't open."
> =============================================================================


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

From: [EMAIL PROTECTED] (Joe Zeff)
Crossposted-To: comp.os.linux.help
Subject: Re: External ISDN adapter - Does it need to use mlppp?
Date: Thu, 14 Jan 1999 02:12:24 GMT
Reply-To: [EMAIL PROTECTED]

[EMAIL PROTECTED] (tom) wrote:

>Well I can connect to Earthlink now but only with one channel.  I've
>read in the HOWTO's that you need to use a '&' between numbers after
>your ATD command.  Mine looks like this -
>
>ATD 12345551212 & 12345551212
>
>Still I can only connect one channel.  Dammit, I can get both channels
>in Windows why can't I do it in Linux?  Any ideas?  Anyone?

If you're getting two channel connects in Winderz, you *should* get
them in Linux.  You do know, don't you, that no matter what you do,
you can't always get two channel connects?  This may be coincidence.
If you want the bloody, off-topic story about why you don't always get
two channels, email me.

---
Joe Zeff
     The Guy With the Sideburns
Computers work in strange and wonderful ways,
Their marvels to avoid performing.
http://www.lasfs.org



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

From: Alex Pozgaj <[EMAIL PROTECTED]>
Crossposted-To: 
alt.os.linux,alt.sex.fetish.linux,at.linux,fido.ger.linux,fido.linux-ger,maus.os.linux,de.comp.os.unix.linux.hardware,de.comp.os.unix.linux.misc,de.comp.os.unix.linux.newusers
Subject: Re: Standleitung (Analog mit Modems)
Date: 14 Jan 1999 11:41:50 +0100

[EMAIL PROTECTED] (Detlef Bosau) writes:

[snip]
> Zum hundertsten Mal: Mit Linux ist keine Firewall machbar.
> Diese Augenwischerei mit dem ipfwadm Gemuckel schuetzt Dich vor
> genau: Gar nichts.

Detlef,

da ich einer von solchen bin, die ihren (vernetzten)
Linux-Rechner mit ipfwadm geschuetzt haben (oder zumindest
dachten es gemacht zu haben :-) ), waere ich Dir dankbar, wenn
Du mir die Referenz auf ein Artikel/Text/Howto geben koenntest,
in dem beschrieben ist warum ein mit ipfwadm eingerichtetes
Filter keinen Schutz anbietet.

Gott, was fuer ein langer Satz! :-)

Cheers, alex.
-- 
"Programming today is a race between software engineers striving
to build bigger and better idiot-proof programs, and the Universe
trying to produce bigger and better idiots.  So far, the Universe
is winning." -- Rich Cook

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

From: Ziae <[EMAIL PROTECTED]>
Subject: Help! New user
Date: 14 Jan 1999 02:20:28 GMT

I am new to Linux and need some help! Can anyone can point me in the
direction where I can find some help connecting a Linux PC to Windows 95
PC via Ethernet.

Thanks!!!


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

From: Philip Wall / Wild Card <[EMAIL PROTECTED]>
Subject: Re: ipfwadm: setsockopt failed: Invalid argument
Date: Wed, 13 Jan 1999 20:29:43 -0600
Reply-To: [EMAIL PROTECTED]

waxhead wrote:
> 
> I am running redhat 5.2 on a DEC alphastation 200 4/233
> I have installed a second NIC in the system(the box comes with a nic
> installed)
> I have compiled and compiled and compiled kernels for the last two months.
> Have set all the options for firewalling, ipforwarding and all that good
> stuff I have read in just about every HOW-TO's I can find of networking,
> firewalling, ppp, ipforwarding, net3, kernel, alpha, etc......
> 
> I have eth0 connected to my internal network here at my house. (192.168.0.5)
> eth1 is connected to a cable modem with the cox @home ISP.    (24.1.aaa.bb)
> eth1 is setup with DHCP, The DHCP fails at boot but I have entered a command
> line in the /etc/rc.d/rc.local  file to start the DHCP service to eth1
> 
> The problem I am having is when I try to the following command
> 
> ipfwadm -F -a m -S 192.168.0.0/24 -D 0.0.0.0/0
> 
> I get the error message
> 
> ipfwadm: setsockopt failed: Invalid argument
> 
> I have followed evrything in the HOW-TO's on kernels, net3, PPP, ISP,
> ip-forwarding,firewalling.
> Here is the end of my rc.local file.
> 
> echo "ip_masq 192.168.0.5"
> echo "1" > /proc/sys/net/ipv4/ip_forward
> /sbin/depmod -a
> /sbin/modprobe ip_masq_ftp.o
> /sbin/modprobe ip_masq_raudio.o
> /sbin/modprobe ip_masq_irc.o
> /sbin/modprobe ip_masq_cuseeme.o
> /sbin/modprobe ip_masq_vdolive.o
> /sbin/modprobe ip_masq_quake.o
> /sbin/ipfwadm -F -p deny
> /sbin/ipfwadm -F -a m -S 192.168.0.0/24 -D 0.0.0.0/0
> /sbin/route add -net 192.168.0.0
> 
> But the next to last line fails with the error I showed above.
> 
> The only way I can get ip-forwarding to work is to type
> 
> ipfwadm -F -p masquerade
> 
> AAAARRHHHHH........I don't think I want this like this..
> 
> Thanks in advance for any help on this.
> 
> Christopher


Try ipfwadm -F -a accept -m -S 192.168.0.0/24 -D 0.0.0.0/0

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Name: Philip Wall
Handle: Wild Card
e-mail: [EMAIL PROTECTED]
Thought of the day:
The goal of science is to build better mousetraps.  The goal of nature
is to build better mice.


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


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