Linux-Networking Digest #208, Volume #11         Thu, 20 May 99 00:13:45 EDT

Contents:
  Re: linux ADSL setup - name resolution problem (Greg Weeks)
  Re: linux ADSL setup - name resolution problem (Bill Hatter)
  PPP Problem: What does my ISP want? (Rand Simberg)
  Re: vnc xserver terminal error (Eric G. Olsen)
  Re: Password required in Win98 network neighborhood for linux client 
([EMAIL PROTECTED])
  Problem telnetting to a machine (Amit Margalit)
  Re: linux ADSL setup - name resolution problem (robert fries)
  Re: PPP route error (Clifford Kite)
  ftp-server shows me no content if anon (James)
  Re: Windows <---> Linux networking ("Richard Miller")
  Re: IP Masquerading on 2.2 ("G. Wayne Nichols")
  eth0: Infinite loop in interrupt... (root)

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

Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Greg Weeks)
Subject: Re: linux ADSL setup - name resolution problem
Date: Wed, 19 May 1999 21:17:33 -0500

In article <[EMAIL PROTECTED]>,
        tjm <[EMAIL PROTECTED]> writes:
> I don't understand why there is a non-routable
> address used on your NIC (10.0.0.2) and a 
> non-routable gateway of 10.0.0.1.  Your ISP
> should give you the gateway address and the
> IP for you to use, in addition to the DNS
> IP.  Use ifconfig to set the correct IP
> for your connection, establish a route
> to the gateway address then set the default
> gateway to that address.  The resolv.conf
> looks OK.  Your routing tables are incorrect.

My guess is he's behind a Cisco 675 or equivilent router with NAT/PAT
in the router. The router is his default gateway and DHCP server. All
addresses are non-backbone routable in this configuration.

Greg Weeks
-- 
http://durendal.tzo.com/greg/


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

Date: Thu, 20 May 1999 02:53:15 +0000
From: Bill Hatter <[EMAIL PROTECTED]>
Crossposted-To: onenet.linux
Subject: Re: linux ADSL setup - name resolution problem

Why fork out the money for RH6???  Get Mandrake Linux for a couple of bucks
online, or let me know, and I'll burn ya a copy for the price of a cd.  It's
just as good as RH(it's a RH clone), and I've been able to get it setup
great.

"D.L." wrote:

> Brandon <"[EMAIL PROTECTED]"> wrote in <[EMAIL PROTECTED]>:
>
> >I had no problem at all in seting up RH6, it took all of about 3
> >minutes...if you're not using DHCP, you should try disabling it in the
> >router by telneting to 10.0.0.1 and using #set dhcp server disabled, then
> >#write.
> >
> >
>
> I tried that, and no luck.  I even tried setting up a DHCP client
> on the linux side.  Win98 works equally well with or without using
> DHCP.
>
> My problem doesn't seem to be purely network related, since I can
> still ping zoomtown's nameservers by IP address with no problem.
> I suspect that something is interfering with bind, so I tried
> replacing bind8 with bind4.  That didn't do it either.
> As I mentioned earlier, "netstat -r" just hangs at the header.
> I found that this happens only after I set up the default route with:
>
> # route add default gw 10.0.0.1 eth0
>
> I'm almost ready to trash SuSE, and cough up the bux for redhat6...
> Maybe there's a reason that SuSE 6.1 was $35.00 vs about $80.00
> for redhat6...
>
> --
> D.L. Sharp/NU8H      [EMAIL PROTECTED]        Cincinnati, Ohio
> Kindred Spirits Hearth - http://w3.one.net/~dls/kspirits
> [EMAIL PROTECTED]


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

From: [EMAIL PROTECTED] (Rand Simberg)
Subject: PPP Problem: What does my ISP want?
Date: Thu, 20 May 1999 02:24:53 GMT

With all the threads I've seen on this topic, I propose a new
newsgroup--alt.os.linux.pppd

I am trying to get a PPP connection to Netcom.  From their web page, I
am using the following command (I've modified it a little for data
rate):

/usr/sbin/pppd /dev/ttyS2 115200 \
connect "/usr/sbin/chat -v -f /etc/ppp/chat-netcom" \
debug defaultroute modem crtscts lock

I'm using the following chat script:

ABORT           BUSY
ABORT           'NO CARRIER'
#''              ATZ
#OK              AT+FCLASS=0
#OK              AT&F&C1&D2
#OK
''              ATDT13108960011
CONNECT         ''
login:          us,ppp,simberg
Password:       AdAstra8
'PPP session'   ''

I commented out the modem commands because I wasn't sure they were
relevant to my setup, and it seems to dial OK without them.  Again,
this is the script from Netcom's web page on the subject.

I'm using the following options file:

domain ix.netcom.com
ipcp-accept-local
ipcp-accept-remote
noipdefault
#noauth
#passive
#lock 
#crtscts 
#defaultroute 

The first four are what Netcom recommends--the others are experiments
that I've been trying, but I get the same results with or without any
of them.  Also note that I've commented out the last three because I
invoke them in the command line.

Here's the log:

May 19 17:32:32 localhost pppd[1664]: Serial connection established.
May 19 17:32:42 localhost pppd[1664]: Using interface ppp0
May 19 17:32:42 localhost pppd[1664]: Connect: ppp0 <--> /dev/ttyS2
May 19 17:32:43 localhost pppd[1664]: sent [LCP ConfReq id=0x1
<asyncmap 0x0> <magic 0x9abb04d8> <pcomp> <accomp>]
May 19 17:33:01 localhost last message repeated 6 times
May 19 17:33:02 localhost pppd[1664]: Hangup (SIGHUP)
May 19 17:33:02 localhost pppd[1664]: Modem hangup
May 19 17:33:02 localhost pppd[1664]: Connection terminated.
May 19 17:33:02 localhost pppd[1664]: Connect time 0.4 minutes.
May 19 17:33:03 localhost pppd[1664]: Exit.
May 19 17:34:23 localhost pppd[1669]: pppd 2.3.7 started by root, uid
0
May 19 17:34:24 localhost chat[1670]: abort on (BUSY)
May 19 17:34:24 localhost chat[1670]: abort on (NO CARRIER)
May 19 17:34:24 localhost chat[1670]: send (ATDT13108960011^M)
May 19 17:34:24 localhost chat[1670]: expect (CONNECT)
May 19 17:34:53 localhost chat[1670]: ATDT13108960011^M
May 19 17:34:53 localhost chat[1670]: CONNECT
May 19 17:34:53 localhost chat[1670]:  -- got it 
May 19 17:34:53 localhost chat[1670]: send (^M)
May 19 17:34:53 localhost chat[1670]: expect (login:)
May 19 17:35:03 localhost chat[1670]:  115200^M
May 19 17:35:03 localhost chat[1670]: netcom login:
May 19 17:35:03 localhost chat[1670]:  -- got it 
May 19 17:35:03 localhost chat[1670]: send (us,ppp,simberg^M)
May 19 17:35:03 localhost chat[1670]: expect (Password:)
May 19 17:35:13 localhost chat[1670]:  ^M
May 19 17:35:23 localhost chat[1670]: netcom login: us,ppp,simberg^M
May 19 17:35:33 localhost chat[1670]: Password:
May 19 17:35:33 localhost chat[1670]:  -- got it 
May 19 17:35:33 localhost chat[1670]: send (AdAstra8^M)
May 19 17:35:33 localhost chat[1670]: expect (PPP session)
May 19 17:35:53 localhost chat[1670]:  ^M
May 19 17:35:53 localhost chat[1670]: PPP session
May 19 17:35:53 localhost chat[1670]:  -- got it 
May 19 17:35:53 localhost chat[1670]: send (^M)
May 19 17:35:53 localhost pppd[1669]: Serial connection established.
May 19 17:36:03 localhost pppd[1669]: Using interface ppp0
May 19 17:36:03 localhost pppd[1669]: Connect: ppp0 <--> /dev/ttyS2
May 19 17:36:04 localhost pppd[1669]: sent [LCP ConfReq id=0x1
<asyncmap 0x0> <magic 0x1ccbec37> <pcomp> <accomp>]
May 19 17:36:22 localhost last message repeated 6 times
May 19 17:36:23 localhost pppd[1669]: Hangup (SIGHUP)
May 19 17:36:23 localhost pppd[1669]: Modem hangup
May 19 17:36:23 localhost pppd[1669]: Connection terminated.
May 19 17:36:23 localhost pppd[1669]: Connect time 0.4 minutes.
May 19 17:36:24 localhost pppd[1669]: Exit.
May 19 18:00:33 localhost modprobe: can't locate module block-major-8
May 19 18:00:34 localhost last message repeated 7 times
May 19 18:00:34 localhost modprobe: can't locate module block-major-48
May 19 18:00:35 localhost last message repeated 7 times
May 19 18:00:35 localhost modprobe: can't locate module block-major-72

Looks to me like the problem is occurring after I get the serial
connection:

May 19 17:36:04 localhost pppd[1669]: sent [LCP ConfReq id=0x1
<asyncmap 0x0> <magic 0x1ccbec37> <pcomp> <accomp>]
May 19 17:36:22 localhost last message repeated 6 times

Can anyone figure out what Netcom or pppd wants?

TIA,

Rand

************************************************************************
simberg.interglobal.org  * 310 372-7963 (CA) 307 739-1296 (Jackson Hole)  
interglobal space lines  * 307 733-1391 (Fax) http://www.interglobal.org 

"Extraordinary launch vehicles require extraordinary markets..."
Replace first . with @ and throw out the "@trash." to email me.  
Here's my email address for autospammers: [EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Eric G. Olsen)
Crossposted-To: 
comp.os.linux.x,comp.os.ms-windows.networking.tcp-ip,comp.os.ms-windows.nt.misc
Subject: Re: vnc xserver terminal error
Date: Wed, 19 May 1999 13:56:06 GMT

This is just a wild guess, but it looks like the server side (your Linux 
box) can't open a display. On the linux side, try:

xhost +<your local server name>

and then restart xvnc.

If that doesn't help, is there some kind of .xsession-errors log that 
vnc creates to give you a clue why it isn't happy?

maybe u betta off running the _server_ on NT and the _client_ on linux 
:-)

HTH

Eric

In article <[EMAIL PROTECTED]>, Matt 
<[EMAIL PROTECTED]> wrote:
>Hi,
>
>I have the following problem whilst configuring vnc
>from AT&T research.
>
>19/05/99 00:55:13 Xvnc version 3.3.2
>19/05/99 00:55:13 Copyright (C) 1997-8 Olivetti & Oracle Research
>Laboratory
>19/05/99 00:55:13 See http://www.orl.co.uk/vnc for information about VNC
>19/05/99 00:55:13 Desktop name 'x11' (:0)
>19/05/99 00:55:13 Protocol version supported 3.3
>19/05/99 00:55:13 Listening for VNC connections on TCP port 5900
>
>Fatal server error:
>Couldn't add screen

[snip]

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

From: [EMAIL PROTECTED]
Subject: Re: Password required in Win98 network neighborhood for linux client
Date: Wed, 19 May 1999 12:59:01 GMT

In article <7hq8pc$uom$[EMAIL PROTECTED]>,
  "Michael Tefft" <[EMAIL PROTECTED]> wrote:
> I have Caldera OpenLinux 1.3 installed and running. I can telnet to
the
> Linux box from my Win98 machine and I can see the Linux box and the
two
> directories \homes and \public. But if I click on either directory I
am
> asked for a password.
 two possible things that can go wrong here :
-same user and same password on both machines OR
-enable plaintextpassword somewhere in registry ( or there is some
setting in samba to use the encrypted pw that win98 and winnt send)

one of those mostly does the trick
>
>


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

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

From: Amit Margalit <[EMAIL PROTECTED]>
Subject: Problem telnetting to a machine
Date: Wed, 19 May 1999 16:16:58 +0300

Hello!

I am having a problem with a machine that won't let me
telnet into it.

When I try I get this:

$ telnet 10.0.0.2
Trying 10.0.0.2...
Connected to 10.0.0.2.
Escape character is '^]'.
Connection closed by foreign host.
$

And that's it. The interfaces are set up properly, the
IPs are indeed 10.0.0.1 and 10.0.0.2 over a plip line.

Pings work, and from the machine's console I am able to
telnet to its peer. I have even set up the peer as a
router for it, and doing masquerading for it. The
problem machine can telnet over the internet without
problem.

I am also able to open X apps from the problem machine
to its peer, without trouble.

Any ideas?

I'd appreciate direct emails and promise to post the
solution when found.

Thanks,

        Amit Margalit

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

From: [EMAIL PROTECTED] (robert fries)
Crossposted-To: onenet.adsl,onenet.linux,comp.os.linux.setup,comp.dcom.xdsl
Subject: Re: linux ADSL setup - name resolution problem
Date: Thu, 20 May 1999 02:29:28 GMT

You need to put your nameserver addresses in /etc/resolv.conf
No, you don't need to specify a DHCP server in Linux, but if you're
using DHCP, you have to configure Linux to run the DHCP client.
It's analagous to configuring Windows to 'get IP address
automatically'.

/RF
On 18 May 1999 22:28:47 -0400, [EMAIL PROTECTED] (D.L.) wrote:

>Hello World! :-)
>
>I just installed SuSE linux 6.1, with kernel 2.2.5, and am
>trying to set it up for ADSL, but am encountering problems with
>the setup.  I can ping my nameservers, but I can't resolve
>names.  Even 'netstat -r' hangs at the header.
>
>Here's the information I got from Win98 (winipcfg) where
>ADSL works fine:
>
>DNS Servers: 216.68.4.10
>             216.68.5.10
>
>IP Addr:         10.0.0.2
>Default Gateway: 10.0.0.1
>Subnet Mask:     255.255.255.0
>
>Do I need to specify a DHCP server in linux?  I did not need to
>when I set up Solaris 7 on the same computer.
>
>Here's what I'm using to set up the network:
>
># ifconfig eth0 10.0.0.2 netmask 255.255.255.0 up
># route add default gw 10.0.0.1 eth0
>
>And here's the pertinent files and config from my system:
>
>havok:~ # cat /etc/hosts
>
>#
>
># IP-Address  Full-Qualified-Hostname  Short-Hostname
>
>#
>
>
>10.0.0.2        havok.zoomtown.com      havok
>
>127.0.0.1       localhost
>
>
>havok:~ # ifconfig -a
>
>eth0      Link encap:Ethernet  HWaddr 00:10:5A:0E:24:79
>
>          inet addr:10.0.0.2  Bcast:10.0.0.255  Mask:255.255.255.0
>
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>
>          RX packets:12 errors:0 dropped:0 overruns:0 frame:0
>
>          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
>
>          collisions:0 txqueuelen:100
>
>          Interrupt:10 Base address:0x300
>
>
>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:4 errors:0 dropped:0 overruns:0 frame:0
>
>          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
>
>          collisions:0 txqueuelen:0
>
>
>havok:~ # netstat -nr
>
>Kernel IP routing table
>
>Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
>
>10.0.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         10.0.0.1        0.0.0.0         UG        0 0          0 eth0
>
>
>#
>
># /etc/resolv.conf
>
>#
>
>search zoomtown.com
>
>nameserver 216.68.4.10
>
>nameserver 216.68.5.10
>
>
>havok:~ # cat /etc/host.conf                         
>
>#
>
># /etc/host.conf
>
>#
>
>#
>
>#
>
>order hosts,bind
>
>multi on
>
>
>
>
>havok:~ # cat /etc/nsswitch.conf
>
>passwd: files
>
>group:  files
>
>hosts:  files dns
>
>networks:       files dns
>
>services:       db files
>
>protocols:      db files
>
>rpc:    db files
>
>ethers: db files
>
>netmasks:       files
>
>netgroup:       files
>
>bootparams:     files
>
>automount:      files
>
>aliases:        files               
>
>
>If you need any more info - please let me know.
>
>TIA,
>D.L.
>-- 
>D.L. Sharp/NU8H      [EMAIL PROTECTED]        Cincinnati, Ohio
>Kindred Spirits Hearth - http://w3.one.net/~dls/kspirits
>[EMAIL PROTECTED]


rfries at pacbell dot net


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

From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: PPP route error
Date: 19 May 1999 20:13:24 -0500

Paul Douglas ([EMAIL PROTECTED]) wrote:
: > Hmm..  You haven't read the linux/Documentation/Changes file that comes

: Oops - sorry, I should have done that.  I originally thought I was using
: pppd 2.3.5.

: Anyway, I've installed 2.3.8 and recompiled the kernel just to be sure.

: Still not much change.  Output of route and ifconfig as before so I
: won't repeat them.  Pinging the server address, dns servers, and default
: gateway address all works fine.  Trying to go further than that, as
: before, produces a blank.

The ifconfig output and route output looked entirely normal in the earlier
post except for a couple of IP inconsistencies that appeared to be the
result of mixing the output of different sessions.  The default route
for the PPP interface was present and the interface up and running.

The log posted this time looked normal except for the signal 15 which
you must have used to terminate the PPP session.  There's been progress
since you said in your first post that you could only ping the localhost
and that there was no default route for the PPP interface.

Since you said you have the resolv.conf configured with a nameserver I'm
at a lost for other suggestions.  There are ISPs that may configure their
Internet router to prevent pings from getting beyond their domain but they
are comparatively rare.
  As much as I hate to do it I'll have to throw
in the towel and hope that someone else has an idea.

--
Clifford Kite <kite@inet%port.com>                       Not a guru. (tm)
/* Those who can't write, write manuals. */

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

Date: Thu, 20 May 1999 05:01:49 +0200
From: James <[EMAIL PROTECTED]>
Subject: ftp-server shows me no content if anon

Hello Linux freaks

I'm using SuSE 6.1. If I want to connect to the ftpserver I can login ,
but it shows me no content if logged as anonymous. I can change
directories etc, but the ls command returns nothing....?!?

Who can help?

Thanx

James
-- 
=====================
[EMAIL PROTECTED]
http://hpcomm.cjb.net
=====================

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

From: "Richard Miller" <[EMAIL PROTECTED]>
Subject: Re: Windows <---> Linux networking
Date: Wed, 19 May 1999 21:47:15 -0500

I'm very new to this stuff myself but my system is very similar to yours but
right now I have no gateway address set and it works fine.  I'm sure when I
setup the fourth box as a firewall /router this will change but that's step
two.  Try nulling out the gateway address and see what happens.
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> I'm trying to setup a very small LAN (2 computers).
> One of them runs Red Hat 5.2 (kernel 2.2.5) and
> the other runs Windows 95 (it absolutely has to,
> since the person who uses it can't/won't use
> anything else).
>
> I've been trying just to get them to ping each other
> without much success. I've set them up with 192.168.1.
> addresses, with the Linux box setup to be the gateway.
>
> Now the Linux box is happy pinging itself (192.168.1.1),
> but it does not find 192.168.1.2 (the Windows box).
> In fact, the arp cache says that the address 192.168.1.2
> maps to 00:...:00 -- showing that 192.168.1.2 is not
> announcing itself.
>
> The Windows box has been set up with a TCP/IP
> service with DialUpAdapter-->TCP/IP with
> dynamic addressing, since this is what the ISP
> does, as well as another Network Adapter->Tcp/IP
> service, whose IP address *is* set to 192.168.1.2
> and gateway to 192.168.1.1. However, if I load
> up a DOSshell and try to ping 192.168.1.2 (itself)
> it tells me the request timed out.
>
> In desperation I installed Linux on a separate
> partition on the Windows box. The network ran
> quite happily then.
>
> Is it a Windows problem, or a Linux one? And if so,
> what could be the cause?
>
>
> Thanks in advance for any help.
>
>
> angel
>
>
> PS No, I can't ditch Windows, much as I would at this
> point love to.



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

From: "G. Wayne Nichols" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.caldera
Subject: Re: IP Masquerading on 2.2
Date: Wed, 19 May 1999 22:58:44 -0400

You need to turn on more options that just IP forwarding.
>From the /usr/src/linux/.config file, here are my settings:

CONFIG_IP_MASQUERADE=y
CONFIG_IP_MASQUERADE_ICMP=y
CONFIG_IP_MASQUERADE_MOD=y
CONFIG_IP_MASQUERADE_IPAUTOFW=m
CONFIG_IP_MASQUERADE_IPPORTFW=m
CONFIG_IP_MASQUERADE_MFW=m

Now that I think of it, I believe you have to answer "Y"
to the question about "experimental" drivers,
at the very beginning of the configuration dialogue,
in order to get the prompts for IP Masquerading.

Then once you have the needed kernel support,
you have to use "ipchains" instead of "ipfwadm" to set it up.
I added the following lines to rc.local :
    ipchains -P forward DENY
    ipchains -A forward -s 192.168.0.0/24 -j MASQ



Donald E. Stidwell <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Has anyone managed to get IP Masquerading working on OpenLinux 2.2? I'm
> having a devil of a time with it. Have had it setup successfully in SuSE
> 6.0 and RedHat 5.2, but not making any progress in getting it to work
> with OL 2.2
>
> I have recompiled the kernel to use IP forwarding, but when I make
> modules, none of the ip_masq modules are made.
>
> As mentioned, I've had this working perfectly in 2 other distros, but
> I'm about to tear my hair out on COL 2.2. Any help would be appreciated.
>
> Don



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

From: [EMAIL PROTECTED] (root)
Subject: eth0: Infinite loop in interrupt...
Date: 19 May 1999 23:07:44 -0500


Brand new installation of Red Hat release 5.1 (Manhattan), Kernel 2.0.35

When booting I get this exact error message over and over...

eth0: Infinite loop in interrupt, status 2011

This spits out onto the screen several times during boot-up and a few times
even after my login banner appears.

Occaisionally it will appear while logged in/working...

Any thoughts??  Thanks!

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


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