Linux-Networking Digest #633, Volume #12         Sat, 18 Sep 99 22:13:42 EDT

Contents:
  Re: Can not find www.mydomain.com - help requested (Steve)
  Re: redir and inetd (Donald Gordon)
  Re: Dual boot  networked to dual boot (Tom Eastep)
  Re: Browsers and Linux ([EMAIL PROTECTED])
  Re: Dual boot  networked to dual boot (DanH)
  Re: *Some* web sites inaccessible through ipchains? (Tom Eastep)
  Re: converting database file to passwd file ("Eugene")
  Re: NIS ypbind problems (L J Bayuk)
  GTE WorldWind and Linux (newbie to linux) ([EMAIL PROTECTED])
  Re: redir and inetd ("Matt Chipman")
  PPP as non-root user ("Richard Whitcombe")
  Re: ypserv: cannot ypinit (L J Bayuk)
  Re: hybernation!! (Tom Eastep)
  need help on dial-up setup. ("Nav")
  Re: Problem with LinkSys Netcard (Scott Nolde)
  The simplest possible network ... (William Gallafent)
  Re: indecision in choosing IF (Stuart Summerville)
  Re: DSL & PPPoE (Richard Birchall)

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

From: Steve <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Re: Can not find www.mydomain.com - help requested
Date: Sun, 19 Sep 1999 01:09:09 GMT

Not much to go on here.  Are you talking about a public web site?  If
not you need to give your client some way to resolve the name
www.domainname.com to an ip number, that is accomplished by DNS (pretty
big unless you have more than a few dozen PC's on line or serve as your
own ISP), or use a hosts file.  Simply edit the /etc/hosts file and add
your site name and IP like so:

192.168.1.1  www.domainname.com

Of course use your real IP number.  I can't remember if you have to stop
and start inetd or not.

If you're talking about a publicly hosted web site on an ISP then you
have to take it up with your isp, if you can see other sites and resolve
via DNS then they have a DNS or routing problem.

Hope this helps.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  "Michael L. Black" <[EMAIL PROTECTED]> wrote:
> I am can access my website by the IP address but I can not
> accesses by www.domainname.com.
>
> Any help would be appreciated.
> Michael Black
>
>


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: [EMAIL PROTECTED] (Donald Gordon)
Subject: Re: redir and inetd
Date: 19 Sep 1999 00:43:37 GMT

In article <7rvsi5$7r3$[EMAIL PROTECTED]>,
        "Matt Chipman" <[EMAIL PROTECTED]> writes:
> has anyone used the port redirector util "redir" with inetd.conf?
> 
> can you post an example,  or a link to a faq or something

example line:

nntp stream tcp nowait.1000 root redir /usr/sbin/redir --inetd news.paradise.net.nz 119
^port-to-recieve-from       ^username-to-run-as                ^host-to-redirect-to 
^port-to-redirect-to

of course, you might want to change the 'root' bit

For more information on inetd.conf, the command "man inetd.conf"
would help :)

Don

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

From: Tom Eastep <[EMAIL PROTECTED]>
Subject: Re: Dual boot  networked to dual boot
Date: Sun, 19 Sep 1999 01:06:21 +0000

dkselich wrote:
> 
> I have two dual boot machines. They are already networked when both
> machines are running Win98. I want to network them when one is running
> linux and the other is running Win98. I also want to network them when
> they are both running linux.
> 
> Does one of these machines have to be set up as a server and the other a
> workstation?

No....

-Tom
-- 
Tom Eastep               \    Opinions expressed here
[EMAIL PROTECTED]        \    are my own and not 
Shoreline, Washington USA  \    those of my employer
Work: [EMAIL PROTECTED] \________________________

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

From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux,comp.os.linux.setup
Subject: Re: Browsers and Linux
Date: Sun, 19 Sep 1999 01:11:51 GMT

Netscape comes with SuSE 6.2 as well

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

From: DanH <[EMAIL PROTECTED]>
Subject: Re: Dual boot  networked to dual boot
Date: Sat, 18 Sep 1999 21:11:05 -0400

dkselich wrote:
> 
> I have two dual boot machines. They are already networked when both
> machines are running Win98. I want to network them when one is running
> linux and the other is running Win98. I also want to network them when
> they are both running linux.
> 
> Does one of these machines have to be set up as a server and the other a
> workstation?

Linux doesn't care what you call the machine, it's either part of the
subnet or not.  If it is, then there are configuration files you need to
alter to offer NFS mount points, samba mounting etc.  But just to
network, no.

Dan
-- 
UNIX - Not just for vestal virgins anymore
Linux - Choice of a GNU generation

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

From: Tom Eastep <[EMAIL PROTECTED]>
Subject: Re: *Some* web sites inaccessible through ipchains?
Date: Sun, 19 Sep 1999 01:30:17 +0000

"David S. Rowell" wrote:
> 
> Greetings,
> 
> I have installed RH6.0 and ipchains.  I have a dialup connection to connect
> to my local ISP, and I use my Linux server as a gateway.  ipchains is set up
> using the "three line setup" from the howto.
> 
> Many sites are accessible from my Win98 client machine on my side of the
> server, but some are not.  The browser says "connection reset".  When I try
> to connect from a browser on the server, they work fine (presumably not
> going through ipchains).  This is a very consistent problem -- here's a
> short list of problematic sites:
> 
> www.onsale.com
> www.firstusa.com
> netbenefits.401k.com
> www.4cds.com
> 
> What kinds of things can I do to troubleshoot this problem?  I am able to
> ping these sites successfully, but when I traceroute them I usually get
> "Request timed out" towards the end of the route.
> 
> Again, this is a problem on some sites, but not others.  Any suggestions
> would be greatly appreciated.
> 

Just a guess - this sounds like an MTU discovery problem:

a) Does your 3-line ipchains setup accept icmp type 3 packets?
b) Does the RH6 setup do ICMP masquerading?

-Tom 
-- 
Tom Eastep               \    Opinions expressed here
[EMAIL PROTECTED]        \    are my own and not 
Shoreline, Washington USA  \    those of my employer
Work: [EMAIL PROTECTED] \________________________

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

From: "Eugene" <[EMAIL PROTECTED]>
Subject: Re: converting database file to passwd file
Date: Sun, 19 Sep 1999 01:13:09 GMT

Writing a script to create the passwd file would not be very easy, as long
as you have a list of users in text format. You could use something like:

for i in `cat userlist`
do
    adduser $i ....
done

In the example above you don't actually write to the passwd file (which is
not a good thing anyway), but use the Unix utilities to read the list of
users and add them accordingly.

Eugene


Josh Gentry <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Folks,
>
> The project is to migrate a departmental file server from a
> Novell box to a Linux box.  We have a database record of all
> the Novell users.  We want to be able to output a file in a
> format that a script will use to create a passwd file to
> place all the user accounts on the Linux box.  We have a guy
> who says he can output the file from the database just about
> however we want it, so the script is what we are looking
> for.  We want to run the script, giving it this file as
> input, and get a passwd file out.  Could be a shell script,
> or I could see it bing a PERL script.  Anyone have one, or
> know where we could get one.
>
> * Sent from RemarQ http://www.remarq.com The Internet's Discussion Network
*
> The fastest and easiest way to search and participate in Usenet - Free!
>



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

From: [EMAIL PROTECTED] (L J Bayuk)
Subject: Re: NIS ypbind problems
Date: 19 Sep 1999 01:10:57 GMT

[EMAIL PROTECTED] wrote:
>Hi,
>
>I'm trying to set up NIS on a small network of Red Hat 6 linux boxes.
>
>I (think) I've set up ypserv successfully (according to the instructions
>that came with it, and NIS_HOWTO).
>
>Then, when I try to get the client software going, I get errors. I
>downloaded yp-bind 3.3 and yp-tools 2.3, compiled and installed
>successfully. etc etc etc.
>
>When I try a ypcat, I get this message:
>
>YPBINDPROC_DOMAIN: Domain not bound
>No such map passwd.byname. Reason: Can't bind to server which serves
>this domain
>
>Now, i'm wondering if it might have something to do with:
>...

Here are some things to try.

Make sure "ps ax" shows ypserv running on the server and ypbind on the
client.

>From the client and server: nisdomainname
Should list your NIS domain name; must be the same on both.

>From the client, try: ypwhich
Should show which server you are bound to, but will probably give
you the unbound domain message.

>From the client: rpcinfo -p servername
(where servername is the NIS server). See if client can get an rpc reply
from the server, and see if ypserv is listed in that reply.

Check system logs (/var/log/messages or /var/log/syslog) on both client and
server. That's where ypserv etc. will log messages.

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

From: [EMAIL PROTECTED]
Subject: GTE WorldWind and Linux (newbie to linux)
Date: Sun, 19 Sep 1999 01:18:41 GMT

Does any one have GTE WorldWind connected through a linux machine?
I have a PC with an amd 400 mhz  cpu, 32 mb ram and SuSE 6.2
The only documentation I can find refers to a url
http://www.psilord.com

but there is nothing there except for some graphics.Almost to the
point of giving up but any help would be most appreciated.

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

From: "Matt Chipman" <[EMAIL PROTECTED]>
Subject: Re: redir and inetd
Date: Sun, 19 Sep 1999 11:53:30 +1000


Bernd Eckenfels <[EMAIL PROTECTED]> wrote in message
news:7s0k0j$cg8$[EMAIL PROTECTED]...
> Matt Chipman <[EMAIL PROTECTED]> wrote:
> > has anyone used the port redirector util "redir" with inetd.conf?
>
> > can you post an example,  or a link to a faq or something
>
> You should run it stand alone, its much faster and more reliable, but if
you


H\what is the best way to accomplish this?

thanks

Matt



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

From: "Richard Whitcombe" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: PPP as non-root user
Date: Sun, 19 Sep 1999 02:42:27 +0100

Im using RH6 with my own written PPP scripts and am unable to get ppp to
dial without user root..
On running it i get error "/usr/sbin/pppd: using the name option requires
root privilege"
This is due to my pppd specifying the logon name
How do i get round this problem ? (ive tried chmod on everything i can think
of).
I dont have X so cant use kppp or anything.

Please can any reply be forwarded via email to me.


--
---

Regards,
Richard Whitcombe ([EMAIL PROTECTED])
South Wales,  UK
ICQ 1556459
PGP on request



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

From: [EMAIL PROTECTED] (L J Bayuk)
Subject: Re: ypserv: cannot ypinit
Date: 19 Sep 1999 01:14:15 GMT

[EMAIL PROTECTED] wrote:
>I'm trying to set up a ypserv for my local network and I've gone through
>the NIS Howto but every time I start ypinit -m on the master server it
>looks like this
>
>...
>We need some  minutes to build the databases...
>Building /var/yp/xxxx/ypservers...
>Running /var/yp/Makefile...
>./ypinit: make: command not found
>Error running Makefile.
>Please try it by hand.
>...
>
>I've checked and the Makefile is not executable and has no scipt header
>in it. ie '!/bin/sh'

Nope. Wrong track. You need make (the program), and it probably wasn't
installed because of selections you made during installation. You will
need to install make (probably part of a development tools package) to run
an NIS server.

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

From: Tom Eastep <[EMAIL PROTECTED]>
Subject: Re: hybernation!!
Date: Sun, 19 Sep 1999 01:05:52 +0000

Sudip Sarbajna wrote:
> 
> Hi
> I am experiencing something awkward! Sometime after  booting - the
> networking apps like xterm,telnet,ping seem to freeze ( from the client pc
> running win98) ! But the moment I do some activity( pressing <CR>) in the
> console of the linux box they all come alive !!
> As if it goes into some hybernation till any activity is registered in the
> console. Has it something to do with the power managent stuff? To make sure
> my linux box runs those network apps continuously I recompiled the kernel
> and carefully answered 'no' to any kind of 'power management' related
> configuration question during 'make config'. Still it is behaving the same!!
> I disabled the pwer management options in the cmos set up also.
> Can anybody throw some pointer?
> Thanks in advance.
> 
> Sudip

You should also disable power management in your BIOS...

-Tom
-- 
Tom Eastep               \    Opinions expressed here
[EMAIL PROTECTED]        \    are my own and not 
Shoreline, Washington USA  \    those of my employer
Work: [EMAIL PROTECTED] \________________________

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

From: "Nav" <[EMAIL PROTECTED]>
Subject: need help on dial-up setup.
Date: Sat, 18 Sep 1999 21:24:50 -0400

Hi Folks,

I use Redhat's Linux6.0.

 I am having difficulties setting up my dial up network. I  couldn't connect
 to my ISP. I followed the necessary configuration. I configurednameserver,
 PPP etc. I used usernet to dial. The modem dialed; I can hear the sound,
but
 usernet's toggle switch didn'tchnge it color from yellow to green. After
for
 a while modem hangs up and starts to dial again. I don't know how to stop
 usernet to dial again and I don't know how to setup internet connection.
 please send me all steps to configure internet connection.

 Thanks in advance.

 Nav



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

From: Scott Nolde <[EMAIL PROTECTED]>
Subject: Re: Problem with LinkSys Netcard
Date: Sun, 19 Sep 1999 01:47:52 GMT

Skip linuxconfig and jump into the console level.... here are some files
of mine I used to configure my Linksys card.

in /etc/conf.modules add the line
alias eth0 tulip

Try this and see if it helps

- Scott

Qiang Xue wrote:
> 
> I am install RedHat 6.0 (kernel 2.2.5) with a LinkSys EtherFast
> 10/100 LAN PCI netcard.
> 
> During installation, I select "tulip", it cannot probe out the
> net device. So I stopped installing netcard. I downloaded tulip.c
> of version 0.9. I compiled it and put it in /lib/modules/net/tulip.o,
> then "depmod -a" and "insmod tulip.o". With "netconf" I chose "DHCP"
> and set network device as "tulip". Okay, I restarted the system,
> and the system failed to bring up the tulip interface!
> 
> The card works well under Windows 98 (DHCP networking). And a diagnosis
> program in LINUX also detected out the card. Then what's the problem?
> I am rather ignorant of LINUX and don't know the necessary processes
> to deal with such kind of problem. Can anyone help me out? Thanks a lot.

-- 
================================================
                 Scott Nolde
          [EMAIL PROTECTED]
================================================

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

From: William Gallafent <[EMAIL PROTECTED]>
Crossposted-To: uk.comp.os.linux
Subject: The simplest possible network ...
Date: 19 Sep 1999 02:23:09 +0100


... and my inability to make it work.

The config:

Two machines each running SuSE 6.2. Each contains a D-Link DFE530TX
ethernet card, and the two are connected together by a cat-5 crossover
cable. The cards and their drivers think the network is working - from
dmesg on this machine, for example:

via-rhine.c:v1.01 2/27/99  Written by Donald Becker
  http://cesdis.gsfc.nasa.gov/linux/drivers/via-rhine.html
eth0: VIA VT3043 Rhine at 0xb800, 00:80:c8:fb:49:2f, IRQ 11.
eth0: MII PHY found at address 8, status 0x782d advertising 05e1 Link 45e1.
eth0: Setting full-duplex based on MII #8 link partner capability of 45e1.

The other machine gives similar output.

ifconfig -a gives this on my machine:

eth0      Link encap:Ethernet  HWaddr 00:80:C8:FB:49:2F
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:14 errors:0 dropped:0 overruns:0 frame:0
          TX packets:90 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:11 Base address:0xb800

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:84 errors:0 dropped:0 overruns:0 frame:0
          TX packets:84 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

ppp0      Link encap:Point-to-Point Protocol
          inet addr:212.228.50.39  P-t-P:158.152.1.222  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1524  Metric:1
          RX packets:2541 errors:8 dropped:0 overruns:0 frame:8
          TX packets:2074 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10

(Yes, I'm currently connected to the internet ...!)

And the other machine gives a similar output, without the ppp0 entry,
and with eth0's inet addr as 192.168.0.2 ... but otherwise the same.

route -n gives me:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
158.152.1.222   0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         158.152.1.222   0.0.0.0         UG    0      0        0 ppp0

Again, the other machine is the same but without the ppp0 entries.

However, if I try "ping 192.168.0.2" from this machine, I get no
packets returned. I can ping the network card in each machine from the
machine that contains it (i.e. on this machine, 192.168.0.1, I can
ping 192.168.0.1) with no problem. Attempting to connect from the
other machine, though, using e.g. finger or telnet, gives me:

/home/bill> finger @192.168.0.2
[192.168.0.2]
finger: connect: No route to host

Poking around, I discovered that /etc/route.conf contains one line:

192.168.0.0      0.0.0.0      255.255.255.0

Of the little lights on the back of the cards (!), The 100Mbps one is
on, the "Link" one is on, and the "Activity" one flickers when I try
to ping the other machine, so clearly some traffic is being sent onto
the network ...

So, everything is working but nothing is working, as it were. How can
I make my machines talk to one another? I've trawled manuals and
HowTos, but every problem dealt with seems to be more complicated than
mine!

*** Am I right in saying that everything above this line points to the
*** system being correctly configured?

Hum. I've just noticed some worrying lines in the dmesg of the other
machine; could these be the route (awful pun but it's getting late) of
the problem, I wonder? The other machine is only a 5x86-133 on a 1993
vintage PCI motherboard. They read:

eth0: Transmit timed out, status 0003, PHY status 782d, resetting ...

And invariably appear in quantity when I try to ping this machine (the
fast one) from the old one. Time to turn up the debug info. And
perhaps enabling "CPU too slow to handle bandwidth" on the kernel for
the slow one might help?

A free pint of the beer of your choice to the first person who points
out exactly how stupid I'm being, or rather how to stop being so
stupid. Unless I'm not being and it's some amazingly technical problem
that I've been really clever to discover :O (Awarded at my discretion,
to whoever replies in such a way as to make my "network" work.)

Less of a network, more of a doesn't work, really.

Incidentally, the crossover cable between the two cards is strewn
across my floor at the moment - I wondered if leaving it in a coil
might not be helping matters - but it doesn't seem to have made any
difference.

I'm still working on this, but will now post and get back to it, in
the hope that somebody will put me out of my misery before I fall
asleep at the keyboard!

TVMIA,

-- 
Bill Gallafent.

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

From: [EMAIL PROTECTED] (Stuart Summerville)
Subject: Re: indecision in choosing IF
Reply-To: [EMAIL PROTECTED]
Date: Sun, 19 Sep 1999 01:42:54 GMT

>Yes, no default route is set to talk to the external gateway via ppp0.

Ooopps - should read "Yes, a default..."

Stu.
==============================================
Stuart Summerville
Home: stus@<nospam>netspace.net.au
Work: stuart.summerville@<nospam>icpdd.neca.nec.com.au
==============================================

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

From: Richard Birchall <[EMAIL PROTECTED]>
Subject: Re: DSL & PPPoE
Date: Sun, 19 Sep 1999 02:04:37 GMT

In article <[EMAIL PROTECTED]>,
  Michael Foster <[EMAIL PROTECTED]> wrote:

> I just got an ADSL modem and want to get it running on my Linux Server
> (Red Hat 5.2) so I can split the connection.  My ISP is using PPP over
> Ethernet and does not support Linux yet.

> Can anyone give me some pointers or references to documents that might
> help?  Thanks.

See:  http://www.math.uwaterloo.ca/~mostrows


Richard



Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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


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