Linux-Networking Digest #929, Volume #11 Sun, 18 Jul 99 06:13:32 EDT
Contents:
Re: Printing frm RH5.2 thru an NT ntwrk?? (Chris Nielsen)
Re: multiple dialup routing (Bill Steiner)
Re: how to connect 2 Linux PC's directly? (Stefan Schagerberg)
Re: Ethernet Routing: ping works one way but not back! (Jan Andres)
Re: Help re: mail server (Jan Andres)
Re: how to connect 2 Linux PC's directly? ("Ricky J. Sethi")
Re: My Dissapointment to find Linux not a viable solution (Tam McLaughlin)
Re: netscape (Cris Johnson)
Re: Incredible performance with NetScape (Jan Andres)
Re: Samba causing broadcast storms?? (Vidar Andresen)
Re: Another problem with multiple NICS (Vidar Andresen)
Re: How to setup IPCHAINS? (Clement)
Re: HELP ON NETWORKING (Jan Andres)
Re: good ISDN modem (Jan Andres)
Re: How to set your hostname? (Jan Andres)
Re: INN (NNTP Server) (Jan Andres)
----------------------------------------------------------------------------
From: Chris Nielsen <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,comp.os.linux.setup,linux.redhat.install,linux.redhat.misc
Subject: Re: Printing frm RH5.2 thru an NT ntwrk??
Date: Sun, 18 Jul 1999 01:36:00 -0700
I had the same problem - a printer on an NT machine that I wanted to print
to. I gave up on trying to use lpr, so I print using smbprint directly and
it seems to work just fine.
You'll need to hack the smbprint script - putting your NT password in etc.
There was some "added" stuff in the middle of mine, having to do with
authentication using some kind of files - I commented all that stuff out.
In my netscape (on Linux) I just used the smbprint command for the print
spool command.
Cheers,
Chris
On _DAYDATE, me wrote:
> HOLA!!
>
> I honestly have read a few How-to's and what not but can not 'clearly'
> understand how to get a printjob sent to a networked HP-LJ4000PS in an NT
> environment.
>
> Do I need Samba, can I snd it directly since the printer has Jetdirect?? If
> you have hands-on experience I'd prefer your response/s..
>
> TIA
> ray
>
>
>
>
>
Christopher Nielsen [EMAIL PROTECTED] http://ZORINco.com
__________________________________________________________
Makers of fine microcontroller products -
ModCon Microcontroller - SPI-X10 Home Automation controller -
MIDI Gizmo - Audio Board - and other fine products and accessories
C O N T R O L Y O U R W O R L D
------------------------------
From: Bill Steiner <[EMAIL PROTECTED]>
Subject: Re: multiple dialup routing
Date: Sun, 18 Jul 1999 00:24:59 -0700
Hi Johnathan:
Wish I could help you, but I haven't gotten as far as you have with eql.
Just a thought, though: what is route tell you? Have you checked it to see
if you have any conflicting routings? I had a lot of trouble with that when
I first started using ppp.
Perhaps you'll be able to help me out. I'm trying to get two v.90 modems
talking to my ISP. Have done it with NT Workstation previously, so I know it
works at ISP's end. I prefer Linux's router capabilities to NT. I can get a
single modem to work fine, but I can't get eql_enslave to work on my Linux
box. I'm running RedHat with the 2.2.5-13 kernel. It has EQL installed as a
module. I can get the module to load, and I can configure it as the default
gateway with my box's IP address. I can also get both modems connected to
the ISP. Then I run into a brick wall. RedHat doesn't come with eql_enslave,
so I downloaded it from sunsite/metalab (eql-1.2.tar.gz by Simon Janes).
Everytime I try to run eql-enslave, I get a bash error: cannor execute
binary file.
I've tried recompiling eql_enslave.c that comes with eql-1.2.tar.gz, but the
C compiler can't find eql.h in /usr/src/linux/drivers/net/. There's an eql.c
file there instead. I tried changing the reference from eql.h to eql.c in
eql.enslave.c but then the copiler spews error messages. Very frustrating! I
get the feeling that version 1.2 of eql_enslave is not compatible with these
newer kernels, but not sure of that either.
What version of eql_enslave are you using, and where did you get it? Did you
run into any of the difficulties I have?
Good luck with your problem. Thanks for any info you can provide about
eql_enslave.
Bill Steiner
Floydd wrote:
> i have a linux box running masquerading for a few win98 PCs with a dialup to
> the net... i have 2 modems and 2 lines and 2 ISP accounts, but the isp
> doesn't support MPPP
>
> now if i can get them to bind that'd be great, but at this point i'd just be
> happy to know how to split up the the connections either by:
>
> a) "where" on the net is is (ie 1-126.0.0.0 go through ppp0 and 128-224 fo
> through ppp1)
> b) load balance based on activity (if ppp0 is too busy go to ppp1)
> c) load balance based on protocol (http and telnet through ppp0 ftp etc
> over ppp1)
>
> i think (a) can be accomplished with some tricky routing but i can't figure
> it out.... perhaps (c) with some ipchains protocol management stuff....
> maybe
>
> ideas/sugestions?
>
> thanks =)
>
> -jerm
------------------------------
From: Stefan Schagerberg <[EMAIL PROTECTED]>
Subject: Re: how to connect 2 Linux PC's directly?
Date: Sun, 18 Jul 1999 10:29:38 +0200
Reply-To: [EMAIL PROTECTED]
By the way..
If you are only connecting two computer you don't need a hub. Only a
cross-over cable between the two PC:s. But a hub is more versatile since
you can subsequently connect more computers and also do some cabling if
you want to connect from different locations in your house/apartment
(useful for my laptop).
/Stefan
Stefan Schagerberg skrev:
>
> I doubt that it would work to connect the cable modem to a hub. At least
> the cable modem I have locks to the MAC ("hardware address") of the
> first network interface it's connected to after startup. It won't accept
> packages from other MAC:s after that.
> Here I have two NIC's in the computer connected to the cable modem, one
> for the cable modem and one connected to a hub and my other computers.
> And IP masq. of course.
> I guess this is the solution recommended.
>
> Regards
> /Stefan
>
> Thomas Edward White skrev:
> >
> > In article <7lp5ie$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
> >
> > >connected to the net. Do I need to buy some kind of hub
> > >concentrator device? (I allready have one connected using DSL via
> >
> > A hub is probably your best bet, with a second nic on pc a that
> > you can use to set up your internal lan on a separate network
> > address. Hubs and nics are cheap these days.
> >
> > There are other options, such as running your cable modem and
> > both computers into one hub and using ip aliasing to set up
> > two network addresses on computer a, one for the cable modem,
> > and one for the internal lan. See the ip-aliasing howto, or mini
> > howto. You might also take a look at the ip masquerading howto
> > to expand your capabilities even further.
> >
> > Be careful that no packets get routed from your internal lan
> > to the interface that your cable modem uses, unless you have
> > ip masquerading properly set up.
> >
> > Cheers,
> > Tom Ed White
------------------------------
From: [EMAIL PROTECTED] (Jan Andres)
Subject: Re: Ethernet Routing: ping works one way but not back!
Date: 18 Jul 1999 08:43:44 GMT
In article <7mg01e$rjh$[EMAIL PROTECTED]>, Holger van Koll wrote:
>
>Graham Harris <{$graham$}@microphoneDOT.prestel.co.uk> schrieb in Nachricht
><7mdlea$4jh$[EMAIL PROTECTED]>...
>>
>>Since A is clearly receiving C's pings, it seems to me that the cause is
>>likely to be that B is not forwarding A's responses on to C. Why?
>>
>
>be sure to
>echo 1 > /proc/sys/net/ipv4/ip_forward
>
>at boot time
He said he has enabled it. Btw, if it were not enabled, A wouldn't
have received C's pings.
>>Bridging is not enabled in the Kernel (I've not yet been able to rebuild
>the
>>kernel because of make "No rule to make target 'config'" errors- that's
>>another story). Do I need it?
>
>Are you sure you changed your dir to /usr/src/linux ?
>And installed the kernel-sources?
>
>
>
--
Jan Andres
[EMAIL PROTECTED]
Ham radio: DH2JAN
------------------------------
From: [EMAIL PROTECTED] (Jan Andres)
Subject: Re: Help re: mail server
Date: 18 Jul 1999 09:03:01 GMT
In article <7m6qra$4b10$[EMAIL PROTECTED]>, Dave wrote:
>I have a pentium machine that I need to set up as a mail server.
>
>I hear Sendmail is crap....how about qmail??
>
>Also, will the setup be fairly straight forward or are there any huge issues
>to deal with??
qmail is really cool. It's faster and easier to set up than sendmail,
and security is one of the qmail project's most important targets.
It's really the Right Thing(tm) for a mail server.
Have a look at http://www.qmail.org/ for a list of download mirror
sites. Furthermore, there's the qmail documentation project, linked
somewhere on the site mentioned above.
--
Jan Andres
[EMAIL PROTECTED]
Ham radio: DH2JAN
------------------------------
From: "Ricky J. Sethi" <[EMAIL PROTECTED]>
Subject: Re: how to connect 2 Linux PC's directly?
Date: Sun, 18 Jul 1999 01:56:33 -0700
Stefan Schagerberg <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I doubt that it would work to connect the cable modem to a hub. At least
> the cable modem I have locks to the MAC ("hardware address") of the
> first network interface it's connected to after startup. It won't accept
> packages from other MAC:s after that.
> Here I have two NIC's in the computer connected to the cable modem, one
> for the cable modem and one connected to a hub and my other computers.
> And IP masq. of course.
> I guess this is the solution recommended.
>
> Regards
> /Stefan
>
> Thomas Edward White skrev:
> >
> > In article <7lp5ie$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
> >
> > >connected to the net. Do I need to buy some kind of hub
> > >concentrator device? (I allready have one connected using DSL via
> >
> > A hub is probably your best bet, with a second nic on pc a that
> > you can use to set up your internal lan on a separate network
> > address. Hubs and nics are cheap these days.
> >
> > There are other options, such as running your cable modem and
> > both computers into one hub and using ip aliasing to set up
> > two network addresses on computer a, one for the cable modem,
> > and one for the internal lan. See the ip-aliasing howto, or mini
> > howto. You might also take a look at the ip masquerading howto
> > to expand your capabilities even further.
> >
> > Be careful that no packets get routed from your internal lan
> > to the interface that your cable modem uses, unless you have
> > ip masquerading properly set up.
> >
> > Cheers,
> > Tom Ed White
To add my $0.02... I currently have a cable modem connected via a hub. The
solution to the MAC -IP dilemmna is that the IP's are bound to the MAC of
the cable modem and so the cable modem becomes sorta a router. I also have
multiple IPs and I can configure the NICs on the connected computers for any
of the IPs. Also, I'm using a heterogenous environment (Winblows and
Linux... and occasional Mac) and it seems to work great with any and all of
em. Maybe it depends on the kind of cable modem you have (if I'm
remembering correctly, I believe mine is a Com 21?).
Adios,
Rick.
------------------------------
From: Tam McLaughlin <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy,comp.security.firewalls
Subject: Re: My Dissapointment to find Linux not a viable solution
Date: Sun, 18 Jul 1999 10:11:45 +0100
Reply-To: [EMAIL PROTECTED]
mlw wrote:
>
> > So, I have been informed that the linux server is not secure and we need a
> > proper
> > firewall.
>
> What is a "proper" fire wall, and how is it different from the
> filewalling software that comes with most distributions? If you want
> real security use the Linux proxy server or even IP Masquerading.
>
I am not sure anymore what a proper firewall is. I understood firewall to mean
that we
have some type of protection between our LAN and the rest of the word that makes
our
LAN invisible to the outside world while the the line is up. I believed that the
delegate proxy
server would do this since data has to pass between the proxy server and our
network/internet.
Also it is a sinle modem dialling up to our ISP and we are allocated a dynamic IP
address.
I do not think we require IP masquerading since this would mean we need to buy
some legal
IP addresses from our ISP ?
>
> > We also need a better method of virus scanning rather than
> > updating
> > each PC each month. I believe we could use samba for this with some type of
> > network AV software.
>
> Anti-virus software has to execute on a PC. If you need to have company
> wide virus scanning, put MacAffee on a network drive. In the startup
> script for your NOS have the client copy it locally.
>
> Every couple months, when MacAffee has an update, simply copy the files
> to the network directory. Windows machines reboot at least every week,
> so no problem.
>
> >
This sounds like what I want to do and would like to try this with samba
>
> > I know hat I could go out and buy an NT server with MSProxy or whatever and
> > some
> > email package, firewall-1 and mime-sweeper. But this would cost a hell of a
> > lot
> > or money which I dont know our company would be willing to pay for (ok, i
> > know all
> > about the importance how much is our data worth etc etc...).
>
> The e-mail virus scanner is the only thing that Linux does not have,
> simply because it does not need it. However, you could easily setup an
> e-mail scanner that looks for attachments that end in ".doc" ".com" and
> ".exe."
>
There have been many opinions on whethere mail should be scanned for viruses
on a linux (or any server). Whether there are any viruses for Linux or not is the
point
not that Linux is acting as a mail server therefore there should be some program
that
scans all incomming mail to check for viruses and either discard or notify or
whatever
before the mail gets to the desktop? To purely rely on users to scan for viruses
is is not
good enough (in my experience anyway).
>
> >
> > So, why is there Linux based solution. Why is there no AV scanning software
> > that can
> > run on Linux? If there is , does anyone know of a local company that can
> > help us?
>
> The only thing that you are missing with the Linux system is the e-mail
> checker. So, assuming you will have to by NT server, 150 licenses,
> firewall-1, and "mime-sweeper" you are looking at a minimum of $10,000.
> That is 100 consultant hours at $100. If you can't write the e-mail
> scanner script in a day or two (with proper testing) You can hire a
> consultant for a full week, and still be ahead.
>
I would not know where to start but would be sounds like an interesting project.
>
> Good luck.
>
> --
> Mohawk Software
> Windows 95, Windows NT, UNIX, Linux. Applications, drivers, support.
> Visit http://www.mohawksoft.com
------------------------------
From: [EMAIL PROTECTED] (Cris Johnson)
Subject: Re: netscape
Date: 18 Jul 1999 09:16:57 GMT
I am having the same problem, with netscape 4.07 as distributed with
Slackware 3.6. The web browser works fine with DNS names, but entering
a DNS name as news server comes back something like "server unknown"
Using other tools to get the IP address for my nntp server and entering
the IP address directly for the news server does seem to work. Telnet
and ftp do work fine with DNS names - it would seem something is wrong
with the linux version of netscape??
In article <[EMAIL PROTECTED]>,
Howard Mann <[EMAIL PROTECTED]> wrote:
>"R.Smith" <[EMAIL PROTECTED]> wrote:
>>I have a problem with configuring netscape that come r.h-5.2.
>>When I put my "news.dial.pipex.com" it gives unknown.
>>That happens with "smtp,pop"
>
>Try this while you are online/connected to your ISP
>
>Cheers,
>
>--=20
>Howard Mann
>http://www.newbielinux.com =20
>(a LINUX website for newbies)
>Smart Linuxers search at: http://www.deja.com/home_ps.shtml
>
>
------------------------------
From: [EMAIL PROTECTED] (Jan Andres)
Subject: Re: Incredible performance with NetScape
Date: 18 Jul 1999 09:19:54 GMT
In article <[EMAIL PROTECTED]>, Tom wrote:
>Hi all,
>
>I have installed a SuSE Linux 6.1 on a 486DX/4. I have set up the ISDN
>network and the automatic connect to the internet works well.
>But surfing with NetScape causes the transmission rates pushed down to 0-100
>bytes/sec (not KByte or MByte no, only bytes). Surfing with NetScape works
>well immediately after rebooting the system, but with every klick on a link
>it is getting slower immediately.
How did you measure the transmission speed? If you just looked at
Netscape's speed indicator, then I think everything's fine. Netscape
often displays crap there.
--
Jan Andres
[EMAIL PROTECTED]
Ham radio: DH2JAN
------------------------------
From: [EMAIL PROTECTED] (Vidar Andresen)
Subject: Re: Samba causing broadcast storms??
Date: Sun, 18 Jul 1999 10:05:41 GMT
In article <7mngec$h4l$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
>Hi all,
>
>I am running COL 2.2 on a switched lan as a test box. The lan is used
COL 2.2 ?
>by a large number of Netware and NT servers, with a few Unix boxes
>thrown in as well. It was installed right out of the box, a typical
>install, whatever that is. After about 2 weeks of no incidents, the
What kernel version? 'uname -a'
What samba version? 'rpm -qa |grep -i sam'
(assuming samba installed from a .rpm)
>infrastructure team was getting reports of dropped connections,
>inability to log in, etc. The term broadcast storm has been used a
>lot, although I am not entirly sure that everyone involved understands
>it meaning (not even sure that I do...) It was somehow traced back to
>my box and another similar box on the lan, both running COL 2.2.
'tcpdump' (and 'man tcpdump') will show if so. You might need to
filter or run the output to file.
If a lot of broadcast traffic look at
/etc/smb.conf and consider the settings.
[...]
remote announce = 192.168.0.255
# Browser Control Options:
# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
; local master = no
uncomment, i guess.
# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
; os level = 33
uncomment and change (was it up or down, dont remember, 'man smb.conf'
maybee, or doc somewhere.) You dont want to win 'in master browser
elections' in competition with a 'large number of Netware and NT
servers'.
# Domain Master specifies Samba to be the Domain Master Browser. This
# allows Samba to collate browse lists between subnets. Don't use this
# if you already have a Windows NT domain controller doing this job
; domain master = yes
default to no, i guess. otherwise uncomment and set to 'no'
# Preferred Master causes Samba to force a local browser election on startup
# and gives it a slightly higher chance of winning the election
; preferred master = yes
no!!
# Use only if you have an NT server on your network that has been
# configured at install time to be a primary domain controller.
; domain controller = <NT-Domain-Controller-SMBName
You might need to set..
# Enable this if you want Samba to be a domain logon server for
# Windows95 workstations.
; domain logons = yes
no!!
# All NetBIOS names must be resolved to IP Addresses
# 'Name Resolve Order' allows the named resolution mechanism to be specified
# the default order is "host lmhosts wins bcast". "host" means use the unix
# system gethostbyname() function call that will use either /etc/hosts OR
# DNS or NIS depending on the settings of /etc/host.config, /etc/nsswitch.conf
# and the /etc/resolv.conf file. "host" therefore is system configuration
# dependant. This parameter is most often of use to prevent DNS lookups
# in order to resolve NetBIOS names to IP Addresses. Use with care!
# The example below excludes use of name resolution for machines that are NOT
# on the local network segment
# - OR - are not deliberately to be known via lmhosts or via WINS.
; name resolve order = wins lmhosts bcast
# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
; wins support = yes
# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.
Dont know the above.
>Is this typical behaviour for Samba? Or the linux box in general? I
>never left samba running for very long, once it showed up in network
>neighborhood in my 95 pcs, I shut if down until I could be sure of
>exactly what it was doing. What puzzles me is the service was shut down
>when these complaints came in; by shut down I mean running
>
>samba stop
'ps aux |grep smbd'
And listen with tcpdump.
>as root. Is Samba, or some component of it still running after this? I
>see messages of it being loaded at boot, but it doesnt appear on the
>lan until samba start is run. Again, all settings were at defaults,
>using a static IP address that was specifically assigned for this text
>box.
'ps aux |grep smbd'
And listen with tcpdump.
Even before samba start. And while running. And after.
Mvh Vidar Andresen
------------------------------
From: [EMAIL PROTECTED] (Vidar Andresen)
Subject: Re: Another problem with multiple NICS
Date: Sun, 18 Jul 1999 10:05:42 GMT
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
>I think this deserves FAQ merit.
>
>I am having similar problems. I can't seem to get my eth1 to be recognized.
>When I do an ifconfig for eth1 I get an error about not known device.
>
>my lilo.conf reads.
>
>append="ether=10,0x300,eth0 ether=5,0x320,eth1"
>
>is this correct?
__Only__ __if__ driver in kernel. And then run '/sbin/lilo' to
activate lilo.
Then use linuxconf (easy way) to setup eth0 ant eth1 (__without__ any
values on wich module, irq, io, and so on, its taken care of, already,
by lilo.)
Set it to load at startup, or load as 'ifup eth0', 'ifup eth1'
> What else needs to be done.
__If__ loadet as module, remove from /etc/lilo.conf:
append="ether=10,0x300,eth0 ether=5,0x320,eth1"
And then run '/sbin/lilo' (to get the setting above removed, if its
there.)
Remove settings in /etc/conf.modules pointing to the nic.
Then use linuxconf (easy way) to setup eth0 ant eth1 (___with___
values on wich module, irq, io, and so on,)
Set it to load at startup, or load as 'ifup eth0', 'ifup eth1'
check /etc/conf.modules after it is done. (if not working)
Mvh Vidar Andresen
------------------------------
Date: Sun, 18 Jul 1999 19:08:42 +1000
From: Clement <[EMAIL PROTECTED]>
Subject: Re: How to setup IPCHAINS?
No way. Since your internal web host is using 10.x.x.x which is not a
routable IP, no web request will ever reach your box. So no matter what
you do, no one can see your internal web host.
XuYifeng wrote:
>
> Hi,
>
> I have a linux box used as a firewall, it has a public address(internet)
> 202.96.102.127 and another NIC which has
> internel address 10.100.0.1, I have another internal web host
> 10.100.0.3, now I want external user(internet) can
> access my internal web host, how to setup IPCHAINS ?
>
> any help will be appreciated,
>
> XuYifeng
--
Regards
Clement
------------------------------
From: [EMAIL PROTECTED] (Jan Andres)
Subject: Re: HELP ON NETWORKING
Date: 18 Jul 1999 08:57:50 GMT
In article <01becf41$a02a4060$58aa15a5@winson-yap>, skycom wrote:
>Dear friends,
>
>I have installed redhat with linux kernel 2.0 on my computer. I wish to ftp
>2.1 kernel. I used minicom -s to dial up my ISP and executed pppd /dev/cua1
>crtscts noipdefault and successfully ping the ISP IP address. However, when
>I tried to ping other sites, it failed. The error message is "unable to
>locate server name from 165.21.83.88. No response from the server".
>
>I believe I have not set up the TCP/IP network properly but from all the
>books that I've got, I just do not know where I went wrong. I am very new
>to networking and need help desperately.
>
>I would appreciate it if someone can advise me.
Add "defaultroute" to the pppd command line. This sets a default
route, e.g. it tells the system to send all outgoing network traffic
to the peer address of your PPP connection for further routing.
--
Jan Andres
[EMAIL PROTECTED]
Ham radio: DH2JAN
------------------------------
From: [EMAIL PROTECTED] (Jan Andres)
Subject: Re: good ISDN modem
Date: 18 Jul 1999 08:45:21 GMT
In article <[EMAIL PROTECTED]>, mango wrote:
>any body know a good ISDN modem for RH Linux 6 or SuSE 6.1 that will
>bond both B channels together?
Any ISDN card can do that. Just choose the cheapest one from the list
of supported hardware in the kernel docs.
--
Jan Andres
[EMAIL PROTECTED]
Ham radio: DH2JAN
------------------------------
From: [EMAIL PROTECTED] (Jan Andres)
Subject: Re: How to set your hostname?
Date: 18 Jul 1999 09:14:09 GMT
In article <[EMAIL PROTECTED]>, Rogue Eagle wrote:
>"John H. Chauvin" wrote:
>
>> What configuration files do you typically have to modify if you want to
>> change your hostname? I know that you have to modify /etc/hosts and
>> most likely /etc/sendmail.cf and/or sendmail.cw. Is this all files I
>> should worry about?
>>
>> By the way, how does a machine know its name. All the /etc/hosts file
>> does is relate an IP address to a name. It does not tell the computer
>> what its name is. How does a given computer know what its name is?
>
>Red hat uses the file /etc/HOSTNAME. You should also check through the
>rc.d scripts (rc.sysinit I believe) to make sure it isn't putting a value
>in the /etc/HOSTNAME file during bootup. I have RH 5.1 and it did such a
>thing.
In RedHat systems the hostname is set via /etc/sysconfig/network.
There's a line in it that looks like "HOSTNAME=foo.bar" or so.
>As far as /etc/hosts goes, I believe the 2nd (non-comment) line
>is the computer's IP. In other words, the line right after localhost.
Now that's really nonsense. There's no such thing as a computer's IP
address. IP addresses are assigned to network devices, not to hosts.
/etc/hosts just does name to IP address mapping in the same fashion
that DNS does it. The file is used when no name servers are available,
e.g. during system bootup.
--
Jan Andres
[EMAIL PROTECTED]
Ham radio: DH2JAN
------------------------------
From: [EMAIL PROTECTED] (Jan Andres)
Crossposted-To: linux.redhat.misc
Subject: Re: INN (NNTP Server)
Date: 18 Jul 1999 09:26:19 GMT
In article <7mjqne$qru$[EMAIL PROTECTED]>, Terry wrote:
>I am using RedHat 6.0 and installed the Web, SMTP, POP3,
>FTP Server without problem. Only NNTP Server I still can't
>make it works.
>
>Actually, it works, when I use news reader to access the
>server (on localhost), it can access some group, but they
>are like junk group (to, cancel, junk...). I know I have to
>setup a server that feed me news. The problem is, I am
>only a user, connect with ISP, is it possible to setup the
>ISP's news server to feed me news? I heard that this is
>different than we read news normally, we have to have
>a aggrement with ISP first? If we can without the
>aggrement, could someone tell me how? Like which config
>file to set?
>
>My goal is all the users can connect to the NNTP Server
>on localhost, when they want to see news in one particular
>group, NNTP Server could fetch and store them locally and
>let my users read them. On WinNT, there is a shareware
>called DNews could do it. How about on Linux?
Okay. First, create the newsgroups that you'd like to have on your
server.
# /usr/lib/news/bin/ctlinnd newgroup comp.os.linux.networking
etc.
Then you use the program "nntpget" to fetch articles from the remote
news server. This is called a "sucking feed". :-)
# /usr/lib/news/bin/nntpget -o news.your-isp.net
The -o option tells nntpget to fetch all articles that the local innd
wants to spool (i.e. articles from all newsgroups that exist on your
local news server) but hasn't already got from somewhere. You can run
this command as a cron job.
--
Jan Andres
[EMAIL PROTECTED]
Ham radio: DH2JAN
------------------------------
** 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
******************************