Linux-Networking Digest #341, Volume #12 Tue, 24 Aug 99 01:13:39 EDT
Contents:
Re: Win98->Linux PPP server freezes after 5 minutes (Clifford Kite)
Re: Problem establishing PPP connection (Clifford Kite)
Re: 21143 tulip chipset problem -- need help (Zachary Hamm)
Re: How does linuxconf conn and disconn to ppp0? (Matt Clement)
Problem : PPPD always fail (dbp)
How do you create a hard link? ("Matt")
pppd w/demand always dials (Steve Johnson)
Re: C++ templates: More than Turing Complete? (David Schwartz)
3Com 905TX not working, which module? (chipw)
Re: Link with a Netware LAN ("Brad Werschler")
Re: fpt & http but no telnet? (Yury Donskoy)
Re: realtek problem (Matt Clement)
Re: Want to set up server but DSL is on a LAN... help? ("Brad Werschler")
Re: how do i do multihoming? (hollywoodjoe)
Obtaining Class C IP address block. ([EMAIL PROTECTED])
Re: ADSL+DHCP - Re: Newbie Question (tansm)
Re: fpt & http but no telnet? (Steve Ledford)
----------------------------------------------------------------------------
From: kite@NoSpam.%inetport.com (Clifford Kite)
Crossposted-To: comp.protocols.ppp
Subject: Re: Win98->Linux PPP server freezes after 5 minutes
Date: 23 Aug 1999 21:21:38 -0500
Craig Artley ([EMAIL PROTECTED]) wrote:
: I've set up a PPP server on an old 486 running Red Hat Linux 6.0 (2.2.5-15
: kernel). The modem is connected to an old serial board, which setserial
: identifies as a UART 16450. I'm running mgetty (1.1.14-8) on the port, and
: the ppp version is 2.3.7-2.
Upgrading the kernel might be a good idea, there was a significant
revision in the PPP support code starting with kernel version 2.2.8 .
One thing you can try is to use the pppd novj option, I *think* it was
a problem in VJ header compression and if so then this might fix the
problem you have.
The 16450 UART is not going to work well with modem connect speeds in
excess of 14400 and maybe in excess of 9600 . Try adding the pppd
speed option 9600 and see what happens. Also make sure that the UART
type configured by setserial is the same as the actual UART type.
: When I dial in from my home Linux box, everything seems great. I get good,
: reliable performance. When I boot the same machine in Windows 98 and dial
: in, all seems well at first. Then after a few minutes, the interface seems
: to hang or freeze. Any transfers that are going on just stop. I can't ping
: the server or anything on the other side. Then after a few minutes, it
: sometimes picks up again, like nothing happened. The process repeats like
: this, or can hang and never come back (where never>=5 minutes---when I just
: give up and disconnect).
: I don't think it is a problem with the Windows 98 setup because I use the
: same machine to call 3 other PPP ISPs and have never had this problem in 98
: (or Linux).
: I have turned on IP forwarding and proxy arp on the server:
: # echo -n 1 > /proc/sys/net/ipv4/ip_forward
: # echo -n 1 > /proc/sys/net/ipv4/conf/ppp0/proxy_arp
: The latter did not seem necessary (maybe it is builtin to the proxyarp
: option of pppd?), because it works fine without it.
: I use these options for pppd
: [root@mule log]# cat /etc/ppp/options
: asyncmap 0
: netmask 255.255.255.255
: proxyarp
: lock
: crtscts
: modem
I'd try using asyncmap a0000 since this seems to cure a fair number of
obscure link communication problems.
: I did seem to get better performance when dialing in from linux if I also
: set MTU and MRU to 576. (Is this something that is necessary or detrimental
: to Windows Dial-up Networking? How do you set it in Windows?)
The MTU and MRU shouldn't be detrimental to Winxx . You'll have to
ask someone else about Winxx DUN settings.
: These /var/log/messages might contain clues. When I connect linux->linux, I
: see this:
: Aug 22 16:27:56 mule kernel: PPP BSD Compression module registered
: Aug 22 16:27:57 mule kernel: PPP Deflate Compression module registered
: But when I connect form Windows 98, I see this:
: Aug 22 16:59:30 mule kernel: PPP Deflate Compression module registered
: Aug 22 16:59:30 mule pppd[6748]: CCP terminated by peer
: Aug 22 16:59:30 mule pppd[6748]: Compression disabled by peer.
Microsoft doesn't use CCP algorithms with freely available sources and
pppd doesn't use any other kind of CPP algorithm. The messages show
nothing that could be causing your problem. You can add the pppd noccp
option and then there will be no useless CCP negotiations.
: In Dial-Up Networking I have the compression options turned on. Any ideas
: on what's causing the lock-ups, or things I could try to further diagnose
: the problem?
If none of these suggestions work then try adding the pppd option debug
and look at and/or post the ppp link negotiation logs.
--
Clifford Kite <kite@inet%port.com> Not a guru. (tm)
/* Better is the enemy of good enough. */
------------------------------
From: kite@NoSpam.%inetport.com (Clifford Kite)
Crossposted-To: comp.os.linux.setup,comp.os.linux.help
Subject: Re: Problem establishing PPP connection
Date: 23 Aug 1999 20:44:19 -0500
Luis D Casillas ([EMAIL PROTECTED]) wrote:
: problems. The setup that is failing right now basically just changed
: in the phone no, username and password in the chat script.
: The ISPs tech support people told me, aprat from the "we don't support
: Linux" and and "Linux is is full of bugs" (!) lines, that they don't
: use PAP, or CHAP. So that one isn't it.
Hmm. Do you believe that Linux is full of bugs? If not then why do
you seem to believe that they don't use PAP or CHAP.
It's easy to try. Configure /etc/pap-secrets and /etc/pap-secrets with
the line
<username> * <secret>
where <username> is your ISP username and <secret> is your secret
(password) for the ISP. Then add the pppd option name <username>
to /etc/ppp/options. Finally delete the chat login/password expect/
sends and end the chat script with CONNECT \d\c if the script is
in a chat -f file, or CONNECT \\d\\c if the script is given as
arguments to chat.
--
Clifford Kite <kite@inet%port.com> Not a guru. (tm)
/* A salute to Inspector Baynes, of the Surry Constabulary, the only
police Inspector to ever best Mr. Sherlock Holmes at his own game.
"The Adventure of Wisteria Lodge", by Sir Arthur Conan Doyle. */
------------------------------
From: Zachary Hamm <[EMAIL PROTECTED]>
Subject: Re: 21143 tulip chipset problem -- need help
Date: Mon, 23 Aug 1999 22:21:52 -0400
Reply-To: [EMAIL PROTECTED]
Try using the de4x5 driver instead of the tulip. Works for me...
Zack
"L. Mark Pilant" wrote:
>
> Nilang,
>
> As I understand it, it is possible to force the state of the tulip
> chip by setting the appropriate options in the /etc/conf.modules
> file. You will probably see something like:
>
> alias eth0 tulip
>
> in the file. Simply add the line:
>
> options tulip options=n
>
> where 'n' is determined using the information below. BTW, you can
> also add:
>
> debug=n
>
> to enable driver debugging. (I added debug=6 to see what all was
> going on in the driver.)
>
> If you take a look at the web page:
>
> http://cesdis.gsfc.nasa.gov/linux/drivers/tulip.html
>
> it lists the various options and the corresponding media selection.
>
> For 10Mbs, it would appear a value of 1, 4, 9, 10, or 12 would be
> appropriate. This mostly would depend upon whether you are using
> thinwire or twisted pair for the interconnects.
>
> I do have to add a caveat here: I haven't been able to get the NIC
> (tulip based) on my PC to work as yet. That means all of the above
> is what I expect is *supposed* to happen :-)
>
> (The problem I'm having is the driver fails to negotiate the
> connection [status 0x000000c6, 0x000000c7, or 0x000020c7] for
> the twisted pair interconnect, and falls back to 100baseT which
> fails miserably because the network doesn't support it.)
>
> Good luck.
>
> - Mark
> [EMAIL PROTECTED]
------------------------------
From: Matt Clement <[EMAIL PROTECTED]>
Subject: Re: How does linuxconf conn and disconn to ppp0?
Date: Mon, 23 Aug 1999 23:29:04 -0400
MikeSch wrote:
> As clueless as I am, I have managed to connect ppp0 to my isp and with
> ipchains everything on my win98 machine just works like a champ. I would
> like to be able to connect and disconnect the linux box ppp0 without
> trekking to the basement. So far, the only way I can connect and disconnect
> is by hitting the respective buttons in linuxconf. Does anyone know what
> linuxconf is doing for me in the background that I might duplicate over a
> telnet session from my office? (Any ideas for a batch session that can be
> run from the win98 client to conn and dis the linux box's ppp0?) This is
> just the first step. Some day I will have a dedicated line and all my
> win98/nt machines will connect through it. (and I won't have to disconnect)
> Until then, I have to keep my ISP bill down!!!!!
> Any help or pointers greatly appreciated.
> I am still elated that the ipchains thing works so well!!!!
>
> Mike Schrauder
> please email
> [EMAIL PROTECTED]
if you telnet to the linux machine as root and type ................. ifdown
ppp0 then it will disconnect from the modem and to turn it back on you have
to type ifup ppp0 from a telnet-d root login.
------------------------------
Date: Tue, 24 Aug 1999 11:32:04 +0800
From: dbp <[EMAIL PROTECTED]>
Subject: Problem : PPPD always fail
I use pppd to connect to ISP, but ISP always hang me up, here is the
configuration:
pppd.sh :
exec pppd connect \
'chat -v -f /etc/ppp/chatscript' \
-detach crtscts ttyS1 defaultroute \
/dev/ttyS1 38400
/etc/ppp/chatscript :
...
CONNECT ""
TIMEOUT 5
"name:" dbp
"word:" xxx
/var/log/messages :
...
Username:
-- got it
send (dbp^M)
expect (word:)
antims^M
Password:
-- got it
send (xxx^M)
Serial connection established.
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS1
peer refused to authenticate
Connection terminated.
Exit
(I enter password in script rather than PAP or CHAP)
--
Please replace NOSPAM to HEHE to reply, thank you.
------------------------------
From: "Matt" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,linux.redhat.install
Subject: How do you create a hard link?
Date: Tue, 24 Aug 1999 03:37:42 GMT
How do you create a hard link as opposed to a symlink? What is the
difference?
------------------------------
From: [EMAIL PROTECTED] (Steve Johnson)
Subject: pppd w/demand always dials
Date: Tue, 24 Aug 1999 02:48:02 GMT
I have a minor problem where pppd with the "demand" option always wants to
dial immediately after the ppp-on script runs. If I let it connect and then
either kill it with a SIGHUP or let it time out ("idle" option) and
disconnect on it's own, it works fine from then on -- it will wait and not
dial again until a request comes in for that interface. How do I prevent
this initial unrequested connect? I haven't been able to find anything in the
pppd documentation that addresses this. Any suggestions? Thanks in advance.
------------------------------
From: David Schwartz <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: C++ templates: More than Turing Complete?
Date: Mon, 23 Aug 1999 20:43:15 -0700
Davin McCall wrote:
> Incidentally, if a C++ compiler couldn't compile the example given to
> demonstrate "why not all C++ programs can be compiled to finite
> assembly code" (although some that can't could be run as a script), it
> is a problem with the compiler design rather than any logical
> impossibility.
No, it's a defect in the example. If templates are Turing complete, it
is theoretically possible to create examples of C++ code that, while
legal, can never be compiled into valid code because the existence of
the valid code would be logically equivalent to a proof that the
compilation could not terminate.
It's kind of like the equivalent of, "Though this sentence is true, you
will never realize it." Obviously, you can never realize that that
sentence is true (because if you did, you'd have proven that you
couldn't). But since that's what it says, it _is_ true, right? Oh, wait,
...
If C++ is turing complete, it should be possible to construct similarly
self-referencial pieces of code. They would be syntactically valid.
Obviously, they could not be compiled.
DS
------------------------------
From: chipw <[EMAIL PROTECTED]>
Subject: 3Com 905TX not working, which module?
Date: Tue, 24 Aug 1999 03:14:10 +0000
I have a samba server that currently has a Linksys 710TX nic which works
great, and 2 other pc's (win98) also using the Linksys 710TX. I am
switching to DSL in the near future and am putting in a second nic in my
server for the DSL connection. I have a 3Com 905TX, so I put that in but
Linux doesn't initialize it properly and when I run netconf I don't see
a kernel module for the 905. Which module should I use for this card?
Also, when I set it up for the outside world do I use the IP provided by
my ISP or do I assign it one? My current ISP is assigning dynamic IPs (I
have ISDN right now). I am setting up ipmasq and firewalling. Any
suggestions would be greatly appreciated.
Thanks
Chip
------------------------------
From: "Brad Werschler" <[EMAIL PROTECTED]>
Crossposted-To: linux.dev.ipx
Subject: Re: Link with a Netware LAN
Date: Tue, 24 Aug 1999 04:00:13 GMT
Run the "nwsfind" command. It should be able to find your Novell server if
the IPX is working properly. If you find the server, then use the command
"ncpmount -S <servername> -U <username> /mnt/<whatever>" to mount the
volumes.
Luiz Guilherme B Damiano <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I'd like to connect one computer using Linux with my Novell LAN. I
> configured the LAN card (it's a NetGear FA310TX) that is working well
> when the computer is running Windows 95 (I have the 2 OS installed) and
> the IPX protocol is set to auto configuration. The Tulip.c module is
> working, but I do not know how to do to get access to my Netware Server.
>
> I'm just beginning in Linux world and any response will be appreciated,
>
>
>
------------------------------
Date: Mon, 23 Aug 1999 23:25:01 -0400
From: Yury Donskoy <[EMAIL PROTECTED]>
Subject: Re: fpt & http but no telnet?
Steve Ledford wrote:
> Yep! Been there, done that. It all boils down to the securetty file in
> /etc. The default ability to login via telnet is for users. Unless the
> securetty file specifies the tty device that root can login in on then
> root will not login in other than over a ttyX session.
Yes, well, since I don't even get the "Login:" prompt, the /etc/securetty file
doesn't come into effect, since the system doesn't even know yet what username I
want to use. The problem is not that I am being denied access after I type in my
name and password, but that I am denied the ability to TELL the system my name and
password.
Thanks.
Yury.
------------------------------
From: Matt Clement <[EMAIL PROTECTED]>
Subject: Re: realtek problem
Date: Mon, 23 Aug 1999 23:27:21 -0400
Gaudibri wrote:
> I just installed Red Hat 5.2 on my computer with an old ISA Ethernet realtek
> 8019 inside.
> The problem is that Linux always finds it busy and does not want to activate
> it. The only thing that is working is the loopback device.
>
> To check the base address and irq of the card, i plugged it in an another
> computer powered (:-)) by Windows 98 but even with these parameters, i get
> again and again the same words on the screen : eth0 is busy, busy, busy.
>
> If anyone could help me....
i have that card and you have to download rset8019.exe from their website to
set the software config to non plug and play and set it up using the manual
configs. that should fix the problem. i have the same card and had the same
problem and this fixed me right up.
------------------------------
From: "Brad Werschler" <[EMAIL PROTECTED]>
Subject: Re: Want to set up server but DSL is on a LAN... help?
Date: Tue, 24 Aug 1999 03:45:07 GMT
Get your friends to ping your IP. If they can ping you, they can send files
to you once you give them user accounts on your Linux box. If they can't
ping you, then your DSL setup doesn't allow you to do this.
Brad
Matt Shores <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hello,
> There is probably a simple answer for this, but I felt the need to
> ask. I am using Linux (RH 6.0) and am happily connected via DSL. Now,
> when I look at my IP, it is something like 10.0.0.2 (LAN I assume).
> I think everything I do goes out through a router of my ISP (though I am
> not certain - my network knowledge is next to nothing, obviously :) ).
> Is there a way I can have a server (I would like to let my friends
> transfer files to my machine) through this kind of configuration? I
> have another machine on hand if necessary. Any help is appreciated!
>
> Matt
> [EMAIL PROTECTED]
>
>
------------------------------
From: hollywoodjoe <[EMAIL PROTECTED]>
Subject: Re: how do i do multihoming?
Date: Mon, 23 Aug 1999 20:28:15 +1700
here is what I learned.
1. I can use both ethernet cards on the same network with
no problems
2. if I use one card on one network, and one on the other,
I cannot reach one of the cards from outside my network,
but I can reach both from inside my network
3. if I swap the networks on the cards, the one that was
working stops working and the one that wasn't begins working
4. i can ping the non-working card, and see the packets
arriving on the machine suing a network monitoring tool,
but it shows no sign of packets leaving. I sent massively
huge packets so it was easy to detect.
5. the two networks on with different providers
so what si the proper way to set up multihoming with two
different providers? and what type of equipment do I need?
* 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]
Crossposted-To: comp.infosystems.www.servers.unix
Subject: Obtaining Class C IP address block.
Date: Tue, 24 Aug 1999 04:09:01 GMT
Reply-To: [EMAIL PROTECTED]
Hi,
Can someone assist me in obtaining IP address block for internet
use. I am planning on setting up several web servers which will have
their own name server. The web servers would all have static IP
addresses with a domain name bound to each.
I need a block of 50 to start with.
My co-location ISP told me he could rent a block to me. But what would
happen if I decide to move to another location some time in the
future. Do I loose the IP addresses and have to register new ones or
rent new ones from another ISP?
Can I get a block of IP addresses that are unique - which I can keep
to myself. Something like a domain name that I register.
Where do I get this from.
Your help will be highly regarded.
Thanks & regards,
------------------------------
From: tansm <[EMAIL PROTECTED]>
Subject: Re: ADSL+DHCP - Re: Newbie Question
Date: Tue, 24 Aug 1999 04:37:11 GMT
Only two words came out after i wrote /sbin/pump...'operation failed'
one question, if the computer uses DHCP, then where in the world is the
DHCP server? how can the computer 'know' what IP to use?
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> The ADSL modem doesn't use DHCP, the computer does. If you look in the
> Windoze control panel, you will see the box "Obtain an Address from a
> DHCP server" checked.
>
> Try turning on DHCP in Linux, using control-panel or whichever
mechanism
> you prefer.
>
> To try it as a one-off, log in as root and give the commands:
>
> pump
> ifconfig -a
>
> If it's just normal DHCP, that's all she wrote. If it's like
RoadRunner
> cable service and requires some kind of "login" then you need
> appropriate Linux client software for that.
>
> [EMAIL PROTECTED] wrote:
> >
> > i'm new to linux networking, so any help would be greatly
appreciated.
> > my problem is this: i'm trying to set up my linux box so that it can
> > access the Net. Here's some info.
> > i'm currently using redhat 6.0, with the 2.2.5 kernel
> > i'm plugged in to an 8-port hub, which is in turn plugged into a
Cisco
> > 675 external adsl modem. the modem is using DHCP to dynamically get
our
> > address from our ISP at USwest, so everything works fine for me in
> > Win98.
> >
> > anyway, in Windows, i started up winipcfg and got these info
> >
> > Windows 98 IP Configuration
> >
> > Host Name . . . . . . . . . : TANSM
> > DNS Servers . . . . . . . . : 207.108.32.1
> > 204.147.80.5
> > Node Type . . . . . . . . . : Broadcast
> > NetBIOS Scope ID. . . . . . :
> > IP Routing Enabled. . . . . : No
> > WINS Proxy Enabled. . . . . : No
> > NetBIOS Resolution Uses DNS : No
> >
> > Ethernet adapter :
> >
> > Description . . . . . . . . : Realtek RTL8029(AS) Ethernet
Adapt
> > Physical Address. . . . . . : 00-00-E8-4E-13-11
> > DHCP Enabled. . . . . . . . : Yes
> > IP Address. . . . . . . . . : 10.0.0.3
> > Subnet Mask . . . . . . . . : 255.255.255.0
> > Default Gateway . . . . . . : 10.0.0.1
> > DHCP Server . . . . . . . . : 10.0.0.1
> > Primary WINS Server . . . . :
> > Secondary WINS Server . . . :
> > Lease Obtained. . . . . . . : 08 22 99 2:40:32 AM
> > Lease Expires . . . . . . . : 08 25 99 2:40:32 AM
> >
> > from the Howto's, i gathered that my ethernet card is an NE2000
> > compliant card, so i had no problems setting up my card in the
kernel.
> > i've also read the DHCP howto, which unfortunately only covered
RH5.x,
> > so didn't do much help.
> > also, i did a 'ifconfig' and 'ifconfig eth0' and got
> >
> > 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:48 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
> > collisions:0 txqueuelen:0
> >
> > eth0 Link encap:Ethernet HWaddr 00:00:E8:4E:13:11
> > BROADCAST MTU:1500 Metric:1
> > RX packets:24 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
> > collisions:0 txqueuelen:100
> > Interrupt:11 Base address:0xe400
> >
> > which i think shows eth0 to be set up correctly(i hope). so what's
my
> > problem? any pointers would be helpful because i can't even get on
my
> > own LAN, someone please help me break away from Windows!
> >
> > Sent via Deja.com http://www.deja.com/
> > Share what you know. Learn what you don't.
>
> --
> David Crooke, Austin TX, USA. +1 (512) 656 6102
> "Open source software - with no walls and fences, who needs Windows
> and Gates?"
>
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: Steve Ledford <[EMAIL PROTECTED]>
Subject: Re: fpt & http but no telnet?
Date: Mon, 23 Aug 1999 11:05:45 -0500
Reply-To: [EMAIL PROTECTED]
Yep! Been there, done that. It all boils down to the securetty file in
/etc. The default ability to login via telnet is for users. Unless the
securetty file specifies the tty device that root can login in on then
root will not login in other than over a ttyX session.
Now, in simple terms to your problem. The default securetty file
includes only ttyX values. Since the only valid ttyX is on the Linux box
itself, then root can only login via telnet on the actual box. Now the
catch 22, unless you set up other user accounts on your Linux box,
telnet will NOT accept an outside connection because the only account is
root and the telnet session type is not specified in the securetty file
for root.
Be very careful with what you setup. I stronglt reccomend to NOT put in
any new tty device types in the securetty file. This will leave you
prone to someone hacking your root password via telnet.
Yury Donskoy wrote:
>
> David Crooke wrote:
>
> > Telnetting to a 192.168 address won't work - those are private
> > addresses, not Internet ones. If you can't telnet to the *firewall* it's
> > because something is set to block it (ipchains/ipfwadm rules, tcpd,
> > etc.) or because it isn't running telnetd.
>
> I have exactly the same problem as the previous person, except that I don't
> have a firewall. It's a local network between my Linux box and my Win'98
> box. The Linux box 192.168.1.2 and Win'98 is 192.168.1.1. All network
> services(ie., ftp, Samba) work, except for Telnet from Win'98 to Linux. All
> I get is the contents of the issue.net file, and that's it. I checked the
> inetd.conf, and made sure that telnetd is running, which it is whenever the
> request comes in. Any suggestions?
>
> Thanks.
> Yury.
------------------------------
** 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
******************************