Linux-Networking Digest #761, Volume #10 Tue, 6 Apr 99 00:13:57 EDT
Contents:
Re: pppd woes (the eternal saga) (Jon-o Addleman)
question about pppd, pty's and tty's (Michael Rutman)
Re: router problem ("No Spam")
Re: Cable Modem Woes (Jason Lynch)
Re: Can the IP address on ppp0 & eth0 be the same? (Bill Unruh)
Re: pppd times out every so often... (John Strange)
Problems dialing up to ISP (Christian Freet)
Re: Overclocking was: Help me spend $2,000 on a new Linux-based computer (Thomas
Keats)
Re: home network using Linux (White Crow)
SERIAL Network Printer (JLocke1122)
Re: Netatalk setup in RH 5.2 ([EMAIL PROTECTED])
pppd & Kernel support for PPP? (Alexis M)
Need Docu_Direction... (tjterrible)
3Com 3C905 - Host error, FIFO diagnostic register 2000 ("Druce Vertes")
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Jon-o Addleman)
Crossposted-To: comp.os.linux.setup,comp.os.linux.questions,comp.os.linux
Subject: Re: pppd woes (the eternal saga)
Date: Mon, 05 Apr 1999 22:59:57 GMT
Once upon a 4 Apr 1999 20:40:02 GMT, [EMAIL PROTECTED] (Bill
Unruh) wrote:
>In <[EMAIL PROTECTED]> [EMAIL PROTECTED] (Jon-o Addleman) writes:
>
>>The first few steps seemed ok, but what you should really do is try to
>>start the connection manually, using minicom, like it says in the
>>HOWTO. Based on what happens there, you should be able to make the
>>scripts without too much trouble.
>
>Actually no. This was true when most ISPs used login authentication, but
>is not true today when many use PAP/CHAP -- eg AutoPPP under mgetty.
>The minicom login will in fact lead you astray. Many isps will present a
>login screen but when you try to use it is does nothing. It is of use
>only for the sysadmins, not plebs like you or me. We are to use PAP/CHAP
>right after the CONNECT message.
I see... I haven't actually used a PAP ISP before, so I didn't see
that. If your ISP *isn't* PAP or CHAP though, the minicom approach is
always good.
--
Jon-o Addleman
------------------------------
From: [EMAIL PROTECTED] (Michael Rutman)
Subject: question about pppd, pty's and tty's
Date: Mon, 05 Apr 1999 21:58:28 GMT
I'm attempting to get pppd to talk to my application instead of the serial
port (long story, but I need to intercept the packets).
pppd insists on using a device, so someone recommended I use pty-redir,
and I found pty-redir-0.1, but no author attribution. The way it was
explained to me, running pty-redir on my application would open a pty,
which pppd could then talk to through it's corresponding tty.
Unfortunately, this did not work. pppd can talk to my application just
fine, but return packets are dropped on the floor. pppd never sees the
packets.
Furthermore, I wrote a quick program that just opens the pty and tty and
attempts to talk to each other.
It's as simple as
int fd = open ( "/dev/ptyrf", O_RDWR );
while (1)
{
length = read( fd, buffer, 1024 );
fprintf( stderr, buffer );
write( fd, "foo", 4 );
}
The other program is the same, but it opens /dev/ttyrf
There is also an option for sending a line after opening the file descriptor.
Here is the problem. The side that opens the pty, it receives everything
from the tty side, but it also receives everything it writes.
The tty side, it can write everything fine, but it never receives a thing.
Can anyone tell me what I'm doing wrong? This seems very very simple.
------------------------------
From: "No Spam" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.questions
Subject: Re: router problem
Date: Mon, 5 Apr 1999 20:04:04 -0400
yaniv levy wrote in message <[EMAIL PROTECTED]>...
>
>if you have any solution, or somthing to try. id be happy to hear that.
>(maybe i'm not running a deamon that is supposed to be running ?)
>
Just a thought, doesn't TCP/IP require the top and bottom segments of a
subnet be reserved as well as the top and bottom address? Try changing your
IP numbers to middle of the range and see what happens.
------------------------------
From: Jason Lynch <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Re: Cable Modem Woes
Date: Tue, 06 Apr 1999 02:40:42 GMT
Right now I'm using a different ethernet card than they gave me and have
been using it win98 & NT since I got it a few monthes ago. I called and
asked beforehand and they said it would work fine.
ifconfig eth0 reseults:
eth0 Link encap:Ethernet HWaddr 00:A0:CC:3A:95:1B
inet addr:24.2.221.82 Bcast:24.2.221.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:1 dropped:0 overruns:0
TX packets:0 errors:6 dropped:0 overruns:0
Interrupt:10 Base address:0xb000
Ron Watkins wrote:
>
> For testing the network, don't worry too much about the names. The names are
> a layer grafted on over the numbers. If you can ping and traceroute to remote
> numbers, you're fine -- to get the names working you just configure DNS.
>
> I understand many cable providers bind the service to a specific network
> card. You may need to use the card they gave you. I'd check that first
> thing.
>
> To get the network operational, all you really MUST have is the correct IP
> address and gateway. The network mask is just for broadcasts, and USUALLY
> will not interfere with your ability to connect. (in some cases it can but
> not often.) You have to have the correct DNS number to get the friendly names
> instead of numbers, but it isn't required for numbers-only operation.
>
> Try using 'ifconfig eth0' when logged in as root. That will tell you your
> network configuration. You might copy and paste the output and let us take a
> look at it.
>
> <<RON>>
>
> > Well after it boots up I pinged myself at 24.2.211.13 and it responded
> > but it never ended. It went on and on and on. If I hadn't of killed it,
> > I'm not sure if it would have stopped.
>
> It wouldn't. Unix ping goes on forever. Windows ping defaults to 4
> repetitions. (if you want forever in Windows, use ping -t.)
>
> > I next tried to ping my default
> > gateway but it failed completly. Any help, hints, suggestions would be
> > helpful and greatly appreciated.
>
> Again, check to be sure you are using the same card that they gave you. If
> not, call them and ask them if you can use a different ethernet card.
>
> I really do not understand why they do that -- it is such a hassle for the end
> user. :(
>
> <<RON>>
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: Can the IP address on ppp0 & eth0 be the same?
Date: 6 Apr 1999 01:30:04 GMT
In <7ebfpo$f3k$[EMAIL PROTECTED]> "Head Spark"
<[EMAIL PROTECTED]> writes:
>When setting up a real IP address to be connected to the internet via modem
>(ppp0) do you set the ethernet card (eth0) to the same IP address as the
>ppp0 to reach the "rest" of the internal network (ie another box with a
>different (same subnet) real IP address).
Sure. Or different. The other systems just have to know how to get
information to you. And you have to make sure that packets know where to
go. Eg, for your other machine, put in a "host" route to that machine on
the ehternet. Make the ppp your default. The only problem you will have
is that some of the distributions like assiging a default route to the
ethernet when you boot up. This does not work since then ppd will not
assign the default route to ppp0 You must erase that default route over
eth0 before running pppd with the defaultroute option (or you could put
the deletion and establishment ofthe ppp default route into the files
/etc/ppp/ip-up.local.)
------------------------------
From: [EMAIL PROTECTED] (John Strange)
Subject: Re: pppd times out every so often...
Date: 6 Apr 1999 01:12:41 GMT
I would be nice if you would have told us what distribution (Slackware, Redhat)
and release (3.6, 5.2,....).
I have found on Redhat 5.2, linuxconf will reset protection anytime I apply
any changes. The fix is to use linuxconf to set the pppd protection within
linuxconf.
Did you look at the protection before resetting, to very the protection
changed?
Did you look at your /var/log/messages to see if there is any information?
BM ([EMAIL PROTECTED]) wrote:
: I have set pppd with cdmod u+s pppd when using KPPP. This works, but every
: so often pppd times out from my ISP. I've used my "other OS" computer to
: make sure that it wasn't a prob with my ISP, but everything worked fine. The
: only thing I had to do to solve the time out issue was to re-issue the chmod
: command. Any comments on this?
: Cheers,
: Ben
: -----------== Posted via Deja News, The Discussion Network ==----------
: http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
--
While Alcatel may claim ownership of all my ideas (on or off the job),
Alcatel does not claim any responsibility for them. Warranty expired when u
opened this article and I will not be responsible for its contents or use.
------------------------------
From: Christian Freet <[EMAIL PROTECTED]>
Subject: Problems dialing up to ISP
Date: 6 Apr 1999 03:32:05 GMT
I have followed the instrucions at the site
http://axion.physics.ubc.ca/ppp-linux.html but to no avail... seems as
though even as I have placed the noauth command in the /etc/ppp/options
file, it looks like my system is still requestion authorization from the
ISP (of course, it looks like this from my untrained eye); while tailing
the ppp log, there is the message saying "sent auth <pap>" or whatever (I
can be more specific), the key idea is that it is sending auth request in
addition to authorizing itself; you follow?
If anyone has some sort of fix or idea, please help; thanks in advance.
================== Posted via SearchLinux ==================
http://www.searchlinux.com
------------------------------
From: Thomas Keats <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: Overclocking was: Help me spend $2,000 on a new Linux-based computer
Date: Mon, 05 Apr 1999 22:22:18 -0400
Reply-To: [EMAIL PROTECTED]
I can see why one might want to squeeze a little extra performance out of their
system, but i have always followed the guidline, that it is a temporary
solution. One would best be spent using resources in finding a new chip at a
good decent price..
Last time a friend attempted to overclock Linux (RedHat5.1) actually moved
slower. (P100)
Greg Yantz wrote:
> Andrew <[EMAIL PROTECTED]> writes:
>
> >
> > One little thing though - the Celeron is clock-locked, so you can't
> > overclock it :-(
>
> Celerons are multiplier locked. You can easily overclock them by changing
> the bus speed.
>
> > > >Eugene wrote:
> > > >>
> > > >> Here is my dream machine:
> > > >>
> > > >> Celeron 366 overclocked to 550
>
> Your dream machine is a toaster oven? Running a Celeron at 450 is likely
> to work. 500 is unlikely. 550 is not a good idea.
>
> -Greg
------------------------------
From: White Crow <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: home network using Linux
Date: Tue, 06 Apr 1999 11:36:58 +0800
Do your three IP belong to the same subnet?
Realy, you need only one real IP and a proxy.
E R S wrote:
> Hi,
>
> I have three computers at home. They are all connected to
> each other (10baseT LAN) via a hub and the hub is connected
> to a cable modem (each computer has seperate account/ip
> address -assigned by isp).
>
> **Problem:
>
> When sharing files over the LAN (i.e. sending files from
> computer A to computer B -within my home), the files end up
> going over the larger LAN (Road Runner-Albany) before going
> to the destination computer -just 2 feet away! This makes
> for slower file transfers and network printing than if all
> those electrons stayed within my room. :)
>
> **Proposed Fix:
>
> I would like to setup a LAN within a LAN -if you will.
> Here's what I would like to do: 1) connect my two main
> computers to a hub, 2) connect that hub to a third (LINUX)
> computer, 3)connect the LINUX box to a printer and, using a
> second NIC, to the cable modem . This arrangement should
> ensure that file transfers/print jobs between my two main
> computers will stay within the house - not be sent over the
> Road Runner LAN. ***NOTE: I realize that this could be done
> *without* using Linux, but I want to learn and use programs
> that run on Linux --I'm sure you guys can appreciate that.
> ;)
>
> **Questions:
>
> How hard will this be to do? (I've played around with linux
> before -I'm not afraid)
> What sites can you direct me to for
> -file sharing between win98 and linux?
> -sharing a printer between win98 and linux?
>
> Your help is greatly appreciated. :)
>
> Take care,
>
> E R S
------------------------------
From: [EMAIL PROTECTED] (JLocke1122)
Subject: SERIAL Network Printer
Date: 6 Apr 1999 03:51:36 GMT
I am having problems setting up a network SERIAL printer.
When I go to print a test page, The printer light flashes for a second then
stops, and nothing was printed..
I think the baud rate is set wrong on the linux box..
How do I change settings on the serial port?
Jeremy
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Netatalk setup in RH 5.2
Date: 6 Apr 1999 05:28:04 +0100
Patrick Gibson <[EMAIL PROTECTED]> wrote:
[major skip]
> Patrick
Great Patrick, congratulations, but did anybody get kerberos working with
netatalk? I'm using SuSE 6.0 though. Could somebody consult me how to
turn on non clear text passwords in SuSE? (ok, how is it done in RH?)
Thank you in advance
--
Andrey Nikolaev Ulm university,
Department of Biophysics. Germany.
Email: Andrey.Nikolaev@!get-lost-spammer!.uni-ulm.de
Substitute physik instead of !*! .
------------------------------
From: Alexis M <[EMAIL PROTECTED]>
Subject: pppd & Kernel support for PPP?
Date: Tue, 06 Apr 1999 02:19:36 +0000
I'm trying to set up PPP on my Linux machine (Kernel 2.2.1, pppd 2.3.7),
but I get the following error:
/usr/sbin/pppd: This system lacks kernel support for PPP. This could be
because
the PPP kernel module is not loaded, or because the kernel is
not configured for PPP. See the README.linux file in the
ppp-2.3.7 distribution.
I followed all the steps in the pppd README file, but I cant find any
mention of PPP in the kernel configuration (I'm using make xconfig). The
only place it's mentioned is under ISDN, and I've selected that.
Can somebody give me a quick run-down on what I have to do to enable
PPP? I'm rather new to dial-up on linux, so treat me that way ;)
Thanks
Alexis M
<remove "nospam." to email me directly>
------------------------------
From: tjterrible <[EMAIL PROTECTED]>
Subject: Need Docu_Direction...
Date: Tue, 06 Apr 1999 03:51:53 GMT
Hi, I've installed RedHat 5.2 perfectly about twenty times. Networking
using a NIC installs perfect, sound is (the muted test sound of someone
mumbling something) working.
Surfing the Web, and Email works perfectly with Navigator in X, but I
want the ability to use Pine without my host and domain address showing
(dammit!).
I know there's a lot more I could do for security than deleting all
accounts except for root and "usr/myself" using linuxconf.
I like the AfterStep and KDE desktops (because I'm sick of tool bars)
but want to customize them (Windows habit).
Basically, could someone recommend a link/book/advice for an advanced
(and bored with) Microsh** user?
Thanks,
TJ
An Idiot with a computer is a better, faster Idiot.
------------------------------
From: "Druce Vertes" <[EMAIL PROTECTED]>
Subject: 3Com 3C905 - Host error, FIFO diagnostic register 2000
Date: Mon, 5 Apr 1999 23:57:04 -0400
I'm having a terrible time getting a 3Com 3c905 Ethernet adapter to work for
the 1st time. Any help would be greatly appreciated.
The symptoms are
- ifconfig recognizes the card
- pinging self works
- no LED indication of link to hub, and can't ping any other machine
- error in the message log - eth0: Host error, FIFO diagnostic register
2000
Additional information
- this is a dual-boot machine and under Windows 95 the card passes
diagnostics and everything works fine, so it's not hardware or interrupts
etc.
- in Win 95 I set the card to 100 Mbps half-duplex using the 3com
utilities, it shouldn't auto-detect
- Running RedHat 5.1 distribution - 2.00.35
- updated to latest driver I could find, v0.99H, no apparent difference
- dual PPro, SuperMicro motherboard, Intel 440 FX Triton chipset
in messages:
Apr 5 23:07:55 homer kernel: sysctl: ip forwarding off
Apr 5 23:07:55 homer kernel: 3c59x.c:v0.99H 11/17/98 Donald Becker
http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html
Apr 5 23:07:55 homer kernel: eth0: 3Com 3c905 Boomerang 100baseTx at
0xef00, 00:60:08:8d:64:3a, IRQ 9
Apr 5 23:07:55 homer kernel: 8K word-wide RAM 3:5 Rx:Tx split, MII
interface.
Apr 5 23:07:55 homer kernel: Media override to transceiver type 4
(100baseTX).
Apr 5 23:07:55 homer kernel: Enabling bus-master transmits and
whole-frame receives.
Apr 5 23:11:18 homer kernel: eth0: Host error, FIFO diagnostic register
2000.
Apr 5 23:11:18 homer kernel: eth0: Host error, FIFO diagnostic register
2000.
Apr 5 23:12:00 homer last message repeated 2 times
Apr 5 23:13:40 homer kernel: eth0: transmit timed out, tx_status 00 status
e000.
in dmesg
eth0: Host error, FIFO diagnostic register 2000.
eth0: Host error, FIFO diagnostic register 2000.
eth0: Host error, FIFO diagnostic register 2000.
eth0: Host error, FIFO diagnostic register 2000.
eth0: transmit timed out, tx_status 00 status e000.
Flags; bus-master 1, full 1; dirty 30 current 46.
Transmit list 00000000 vs. 03b95300.
0: @03b95220 length 8000005c status 0000005c
1: @03b95230 length 8000005c status 0000005c
2: @03b95240 length 8000005c status 0000005c
3: @03b95250 length 8000005c status 0000005c
4: @03b95260 length 800000e6 status 000000e6
5: @03b95270 length 800000e6 status 000000e6
6: @03b95280 length 800000e6 status 000000e6
7: @03b95290 length 800000e6 status 000000e6
8: @03b952a0 length 800000e6 status 000000e6
9: @03b952b0 length 8000006e status 0000006e
10: @03b952c0 length 8000006e status 0000006e
11: @03b952d0 length 8000006e status 0000006e
12: @03b952e0 length 8000006e status 8000006e
13: @03b952f0 length 8000006e status 8000006e
14: @03b95300 length 8000002a status 0000002a
15: @03b95310 length 8000002a status 0000002a
eth0: Resetting the Tx ring pointer.
Ran vortex-diag -aaf and got
vortex-diag.c:v1.07 11/24/98 Donald Becker ([EMAIL PROTECTED])
Found a 3Com PCI Ethernet 3c905 rev 0 at 0xef00.
Initial window 7, registers values by window:
Window 0: 0000 0000 0000 0000 0000 0000 ffff 0000.
Window 1: ffff 0000 0000 2003 8000 0005 13fc 8003.
Window 2: 6000 8d08 3a64 0000 0000 0000 06c6 4003.
Window 3: 02d8 0063 0000 0020 e040 0bff 13ff 6000.
Window 4: 0000 06d0 0000 0cc0 0003 8802 0000 8000.
Window 5: 1ffc fffc 06c6 1ffc 0007 06de 06c6 a000.
Window 6: 0000 0000 0000 0000 0000 0000 0000 c000.
Window 7: 0000 0000 0000 0000 8000 0098 0000 e000.
Vortex chip registers at 0xef00
0xEF10: ffffffff 00000000 00008000 000013fc
0xEF20: 00000000 00000000 00000000 ff000000
0xEF30: 00000000 00005559 00000000 00000000
Indication enable is 06c6, interrupt enable is 06de.
No interrupt sources are pending.
Transceiver/media interfaces available: MII.
MAC settings: full-duplex.
Maximum packet size is 0.
Station address set to 00:60:08:8d:64:3a.
Configuration options 4000.
Ran vortex-diag -mm and got
vortex-diag.c:v1.07 11/24/98 Donald Becker ([EMAIL PROTECTED])
Found a 3Com PCI Ethernet 3c905 rev 0 at 0xef00.
MII PHY found at address 24, status 7849.
MII PHY 0 at #24 transceiver registers:
3100 7849 2000 5c01 01e1 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0001 8060
8020 0c78 0000 3800 a3b9 0080 8005 001d.
Thanks for any help anyone can provide.
Druce Vertes
------------------------------
** 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
******************************