Linux-Networking Digest #468, Volume #10 Fri, 12 Mar 99 07:13:43 EST
Contents:
Re: routing tables - just being curious ("Paul")
Re: Q : for multi booting between NT and Linux ("lunchmeat7")
56K USR/3com question (Scott W. Petesen)
Re: ifconfig showing lots of errors (Gregory G. Woodbury)
Re: VNC: server on LInux, viewer on NT - GREY screen problem ([EMAIL PROTECTED])
jiffies and traffic shaper (N-Duc Le)
Re: How to telnet as root ("Leopold Toetsch")
Bootable Network cards... ? (Qkev)
Re: How to telnet as root (Alexey Kakhno)
Re: Netscape Linux & Win: same Mailfolders? (Rolf Meinecke)
Can not ping over ringswitch from linux (Joris Lenior)
=?iso-8859-2?Q?Re:_Packet_Filtering_with_dynamic_IP=B4s?= ("Leopold Toetsch")
Re: IPFWADM shows no masquerading entries ("Leopold Toetsch")
urgent! (Adrian)
Re: needing ppp dialup to NT ras info ("Robert.Schossleitner")
Re: AppleTalk on Linux (Justin The Cynical)
----------------------------------------------------------------------------
From: "Paul" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Re: routing tables - just being curious
Date: Thu, 11 Mar 1999 13:46:39 -0500
Andy Jaworski wrote in message <7c66sk$eab$[EMAIL PROTECTED]>...
>Hi there,
>
>I have been struggling a little with my very small home network. I have
>only two machines. The Linux box has a small Win98 partition (dual boot).
>The other box is Win95 OSR2. They are both connected through a crossover
>twisted-pair cable. The Linux box also has PPP configured.
>The IP addresses of both machines are 192.168.48.1 and 192.168.48.2.
>
>Now, without PPP running i get the following output from the "route -n"
>command
>
> Destination Gateway Genmask Flags Metric
>Use Iface
>192.168.48.1 0.0.0.0 255.255.255.255 UH 0
>0 eth0
>127.0.0.1 0.0.0.0 255.255.255.255 UH 0
>0 lo
>
>192.168.48.0 0.0.0.0 255.255.255.255 U 0
>0 eth0
> 0.0.0.0 192.168.48.1 255.255.255.0 UG 0
>0 eth0
>
>My first question is: why is my local host 127.0.0.1 not 127.0.0.0. It has
If I am not mistaken 127.0.0.1 is the local host address 127.0.0.0 is the
local hosts network network
>been like this from the beginning (i.e. from original installation of
>RH5,2). Does it matter?
>The second question: how did the 192.168.48.0 line get into the routing
192.168.48.0 is the network number, you need a root to the 192.168.48.0
network through the eth0 device (192.168.48.1)
>table and what iis it for?
>
>As you can see I am just being curious and try to understand a little more.
>When I fire up my PPP connection, the routing table changes to:
>
> Destination Gateway Genmask Flags Metric
>Use Iface
>206.156.201.131 0.0.0.0 255.255.255.255 UH 0
>0 ppp0
>127.0.0.1 0.0.0.0 255.255.255.255 UH 0
>0 lo
>
>192.168.48.0 0.0.0.0 255.255.255.255 U 0
>0 eth0
> 0.0.0.0 206.156.201.131 255.255.255.0 UG 0
>0 ppp0
>
>Everything seems to work fine, but in order for this to work I had to add
>"route del default"
if you edit the /etc/sysconfig/network file and remove the the ip numbers
beside the GATEWAY entry you will not have to route delete.
>line to my ppp-up script just before the pppd line. Also, I had to add the
>following line
> route add -net default gw `hostname`
>to my ppp-off script.
>
>From netcfg you can make it so that the default route is your ISP when on
line, (Click the set default root option box from with in netcfg, ppp0
devise settings.
>Is this correct? Unfortunately, for this to work for all users on my Linux
>box, I had to make the route command suid.
>
>Sorry for the longish ramblings. I would appreciate any comments.
>
>Andy
>-----------------------------------------
>Andy Jaworski
>[EMAIL PROTECTED]
>
>
>
>Opinions expressed herein are my own and may not represent those of my
employer.
>
------------------------------
From: "lunchmeat7" <[EMAIL PROTECTED]>
Subject: Re: Q : for multi booting between NT and Linux
Date: Fri, 12 Mar 1999 01:36:30 -0500
i don't know about newer versions of lilo but..
you used to need an util called bootpart.exe to help nt's bootmanager to
recognize a linux partition..
Sam Orlando wrote in message <[EMAIL PROTECTED]>...
>
>
>wllee wrote:
>
>> I set up the LILO for multi booting between windows NT and linux.
>> But LILO didn't work correctly.
>>
>> LILO did not wait for user keyboard input. This boot only default.
>> What is the problem?
>>
>> p.s. LILO does not contain the NTFS format. So I select OS2 for NT.
>
>Make sure that you update lilo after adjusting the boot table in it.
>Also make sure your dely is more then 1 or 0... i use 10 secs till it
>defualts....
>
------------------------------
From: [EMAIL PROTECTED] (Scott W. Petesen)
Subject: 56K USR/3com question
Date: Fri, 12 Mar 1999 03:13:21 GMT
I just replaced my zoom 33.6 with a 56k usr/3com v.90
The zoom had a W2 in its init script in order to display the connect
speed in /var/log/messages.
The usr does not use W2, does anyone know how to display the connect
speed with this modem.
It is a model 0484.
====================================
Scott W. Petersen - N9SLA
Web Page: www.wwa.com/~scooter
Elgin, IL - USA
ICQ 8287204
Packet E-mail:
[EMAIL PROTECTED]
====================================
PLEASE note e-mail address is scooter @ wwa.com
------------------------------
From: [EMAIL PROTECTED] (Gregory G. Woodbury)
Subject: Re: ifconfig showing lots of errors
Date: 12 Mar 1999 10:59:36 GMT
Malware <[EMAIL PROTECTED]> shaped electrons to say:
>Hi Ying,
>
>you wrote:
>> Hi, I installed a new 10/100 NIC into my system and it works fine, but
>> checking my ifconfig I see a ton of errors:
>>
>> lo Link encap:Local Loopback
>> inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
>> UP LOOPBACK RUNNING MTU:3924 Metric:1
>> RX packets:46 errors:0 dropped:0 overruns:0
>> TX packets:0 errors:6343 dropped:46 overruns:0
>> ^^^^^^^^^^^
>
>Looks like your are running Linux 2.1 or 2.2 and did not read
>/usr/src/linux/Documentation/Changes
That really means that you need to get an up-to-date "netkit" package
from one of the distribution archive.
Or it could mean that your old init system scripts have to be
corrected if they are explicitly adding interface routes. Under the new
kernels (2.2.x) the "ifconfig lo up *" command that is executed
somewhere in the network initialization subsystem *should* automatically
add the necessary "interface routes" to the kernel routing tables, and
the script should *not* attempt to do it again.
The "Documentation/Changes" file is not for the casual Linux user, it
is terse, full of kernel hacker jargon, and sometimes just to vague to
be really useful. Even if it seems clear, you sometimes need to go read
the kernel sources and struggle thru the poorly commented code to figure
out what *really* happens.
I dearly like Linux (almost to the point of love) but the kernel code
just *needs* more comments. I don't care that the kernel tarballs get
bigger, the comments add more value to the kernel than any "kewl" new
feature can.
--
Gregory G. "Wolfe" Woodbury `-_-' Owner/Admin: wolves.durham.nc.us
ggw at wolves.durham.nc.us U Errant co-moderator of:
soc.religion.unitarian-univ
"The Line Eater is a boojum snark." Hug your wolf. (Thanks Peter.)
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux,comp.os.linux.misc
Subject: Re: VNC: server on LInux, viewer on NT - GREY screen problem
Date: Fri, 12 Mar 1999 10:51:21 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> [EMAIL PROTECTED] wrote:
> >
> > I have the VNC server on Linux. The VNC viewer on NT.
> > I can connect with the
> > viewer, but all that I see is a grey screen with the X
> > cursor (similar to
> > that seen on Linux after 'startx' but before your
> > chosen window manager kicks
> > in). Although I can move the
> > cursor, there is nothing there to select!!
> > Anyone know what I'm not doing that I should be?
>
> I had a similar problem, but I am not at the box where I had VNC
> running, so I don't know if I can give a complete answer. If I recall
> correctly, it was because there was no route in the routing table to the
> IP adddress that the windows box was seeing my linux box as. My
> situation was linux <-> via TCP/IP over a serial cable. I was
> frustrated since I could run a PC X server on the windows box just fine,
> remotely running apps from the linux box. But VNC would give me the
> grey screen. It turned out that although I had a loopback route to
> localhost (127.0.0.1, as does everybody), I had to add a separate route
> in the routing table to the "internal" IP address I had assigned to the
> linux box (e.g. 192.168.0.2) as part of the TCP-over-serial connection.
> Unlike running a remote X server, where you are displaying the remote
> apps on a server on the remote box, VNC works by actually running the
> "remote X server" on the "home box". Thus, unless you have a route to
> that IP address (i.e. the IP address of the linux box, as seen by the
> windows box) in the routing table, you can't send apps there to be
> displayed.
>
> Or else it is becuase you have no apps starting up in your startup file,
> as someone else suggested.
>
> Hope this helps.
>
> Jon Sundquist
>
I have a feeling that this might be the problem, though I am not sufficiently
familiar with Linux configuration to be sure. Here's something I tried after
having run vncserver on the Linux box and vncviewer on the WIndows box, On
the Linux box, I tried:
xman -display PC007248Linux:2
expecting to see xman appear on the windows PC. However, the Linux CLI
came back with...
_X11transSocketINETConnect: Can't connect: errno = 101
Error: Can't open display@ PC007248Linux:2
On the windows end, running vncviewer with the -console option displays
a console window that confirms the display name...
...
VNC authentication suceeded
Desktop name "sjm's X desktop (PC007248Linux:2)"
Does this support the notion that I might need some new entry in the
routing table? If so, how do I do this? Where is the routing information
held? Is it the IP address of the Linux box I need to add here (i.e.
the *server* end IP address)???
I feel I'm closing in on fixing this thing.
Thanks for your help so far.
Steve.
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: [EMAIL PROTECTED] (N-Duc Le)
Subject: jiffies and traffic shaper
Date: 11 Mar 1999 20:45:52 GMT
Hi All,
I am wondering if anyone can give me some pointer regarding
the "jiffies" variables defined in the shaper.c module.
The module is located in: linux/drivers/net/shaper.c
I have a tough time to locate the value of this "jiffies"
variables. Also, if someone can shed some more lights on the
algorithm of the module "shaper.c", I would appreciate very
much. Thanks for your time and helps.
Regards
Le
------------------------------
From: "Leopold Toetsch" <[EMAIL PROTECTED]>
Subject: Re: How to telnet as root
Date: Fri, 12 Mar 1999 11:54:30 +0100
Please could anyone write a filter for this su - bject or better an
autoreplier :-)
leo
------------------------------
From: Qkev <[EMAIL PROTECTED]>
Subject: Bootable Network cards... ?
Date: Fri, 12 Mar 1999 10:16:26 GMT
Using Debian on 486s...
I want to boot a 'Node' machine from a 'Host' machine. Setup is 10BaseT
Ethernet connected via a Hub. If I have no HD in the 'Node' do I require
a Bootable Ethernet card? Or is there a special setup I can use that
would have the machine boot from the 'Host' with a standard Ethernet card?
I guess it would be a diskless workstation sorta, my final goal being a
Cluster setup with multiple 'Node's.
Any info appreciated, please Email reply in addition to posting.
------------------------------
From: [EMAIL PROTECTED] (Alexey Kakhno)
Subject: Re: How to telnet as root
Date: Fri, 12 Mar 1999 06:54:00 GMT
On Mon, 01 Mar 1999 09:08:25 GMT, [EMAIL PROTECTED] (Paul)
wrote:
>Ta.
>
>"tonni" <[EMAIL PROTECTED]> wrote:
>
>>look the security file
>>Paul <[EMAIL PROTECTED]> wrote in message
>>news:[EMAIL PROTECTED]...
>>> Can anyone tell me how to allow root telnet access to a Linux box?
>>> I've added .rhosts file to root's home directory but it seems to be
>>> PAM authentication that is preventing it.
>>
>
look at /etc/login.conf and find CONSOLE /etc/securetty or
CONSOLE console:tty01:ttyXX
add ttyp0
ttyp1 etc
if you changed /etc/login.conf restart inetd
/etc/securetty do not restart anything
Alexey, Russia
[EMAIL PROTECTED]
------------------------------
From: Rolf Meinecke <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Netscape Linux & Win: same Mailfolders?
Date: Fri, 12 Mar 1999 11:45:43 +0100
Reply-To: [EMAIL PROTECTED]
Hello,
> Couldn't you link the files/directories?
> Example: 'ln -s /root/.netscape /mnt/dos/netscape/user/mail'
Dang! I just discovered, that don't even have Netscape installed under
Windows on _my_ machine. I am reading my mail with Pegasus there.
However, that is inconvenient for me too, so I will have to look for
a nice solution to read mail in whatever OS and have the same
mailfolders.
I fear, that linking the directories won't help. After all, the
read/write
request is directed to the other disk and will have the same problems
there.
I just checked: the dos-disk is mounted as root and all the files are in
the group root with the permissions 764. Readable for everybody, so they
should at least show up, don't they?
> So when Netscape Linux wants to write to it's mailbox, it'll write it
> in the dos partition since it's directed there by the link. You'd
> have to make sure you set up the proper permissions for the Netscape
> files on the windows dos partition.
I guess the problem is, that vfat does not understand permissions.
AFAIK, the vfat partition is mounted with root-permissions at boot-time
resulting all files to me owned by root.
> Just thought I haven't done this since I use Eudora. I remember I
> use to do something similar to this with the bookmark in Windows and
> Linux. They use the same bookmark file since I hard linked them.
How do you mount your dos-partition? Could you show me the line of
your /etc/fstab please?
> If this fails you can always try to run the Windows Netscape in Linux
> with Wine :)
That's not the point, I have to use Windows sometimes (using Framemaker
for my job, when I work at home sometimes) and I would like to check my
mails without booting another OS. This friend of mine had this problem
at first, but after all I discover, that I am working with two
mailbases.
Yuck.
> I'm using Agent for Windows in Linux and I use the same copy.
You are using it through Wine? Or is it available for Windows and Linux?
I don't want to install Wine on this machine, my time is limited and I
don't want to have _another_ Program to fiddle with.. ;)
thank you,
-rolf
--
If you eat pasta and anti-pasta, will you still be hungry?
Essener Str. 29 44139 Dortmund 0231/1062550
------------------------------
From: Joris Lenior <[EMAIL PROTECTED]>
Subject: Can not ping over ringswitch from linux
Date: Fri, 12 Mar 1999 12:19:32 +0100
Hi all,
I have two Tokenring LAN's connected by a FDDI ringswitch. Both LAN's
are on
the same network : 10.10.0.0 subnetmask 255.255.0.0. I can ping from a
NT
machine on LAN 1 to a host on LAN 2 but from the Linux RH5.2 box I can
only
ping to a host on LAN 1 and not to a host on LAN 2. I am using the
ibmtr driver
that came with Linux and it detects the card just fine. If anyone had
the same
problem or knows what could cause this please let me know.
Thanks in advance,
Joris Lenior
------------------------------
From: "Leopold Toetsch" <[EMAIL PROTECTED]>
Subject: =?iso-8859-2?Q?Re:_Packet_Filtering_with_dynamic_IP=B4s?=
Date: Fri, 12 Mar 1999 11:26:21 +0100
Hi,
=====Original Message=====
From: Folker Wendt <[EMAIL PROTECTED]>
Newsgroups: comp.os.linux.networking
Date: Freitag, 12. M�rz 1999 03:52
Subject: Packet Filtering with dynamic IP�s
I have my LAN connected to the Internet over a Linux-Gateway using ISDN
(ippp0). Everything works fine with masquerading. Now I want to set up
packetfiltering when the link goes up.
I inserted following lines in the dial-up script, where $INTERFACE means
ippp0:
# flush and deny everything
ipfwadm -O -f
ipfwadm -I -f
ipfwadm -O -p deny
ipfwadm -I -p deny
# my LAN needs full accces to the gateway
ipfwadm -O -a accept -b -S 0.0.0.0/0 -D -W eth0
ipfwadm -I -a accept -b -D 0.0.0.0/0 -S 192.168.42.0/24 -W eth0
=========SNIP
ipppd[96]: local IP address 212.7.130.45
ipppd[96]: remote IP address 212.7.128.195
kernel: ip_rewrite_addrs(): shifting saddr from 192.168.0.99 to
212.7.130.45 (state 4)
Your local IP (dynamically set) is now 212.7.130.45, so above Inputrule is
useless. Use Local-IP
You might have a look at my Firewall rules for dynamic IP's at
http://www.toetsch.at/de/tips/linux/99/08.htm
There are also rules against spoofing.
You can download the rules as TXT from the 2. page.
(Also would be nice if some firewalling profis have a look at the rules)
Hope this helps
------------------------------
From: "Leopold Toetsch" <[EMAIL PROTECTED]>
Subject: Re: IPFWADM shows no masquerading entries
Date: Fri, 12 Mar 1999 10:55:36 +0100
Ray O'Leary wrote in message <[EMAIL PROTECTED]>...
>Hello all:
===SNIP
>
>In my /etc/rc.d/rc.local I added the lines
>
>ipfwadm -F -p deny
>ipfwadm -F -a m -S 192.168.0.1/32 -D 0.0.0.0/0
>ipfwadm -F -a m -S 192.168.0.2/32 -D 0.0.0.0/0
>
No you've to masquerade your local net:
ipfwadm -F -p deny
ipfwadm -F -a m -S 192.168.0.0/24 -D 0.0.0.0/0 -W $EXT_INTERFACE
where EXT_INTERFACE is your pppX
That's it.
Also if you want to use ftp, irc, ...you have to load modules:
insmod ip_masq_ftp
insmod ip_masq_irc
...
Hope this helps
leo
------------------------------
Date: Fri, 12 Mar 1999 14:52:10 +0800
From: Adrian <[EMAIL PROTECTED]>
Subject: urgent!
We are trying to set up a linux web server. However we could not set up
the network card. Being new to Linux, we have no idea how to go about
doing this and using Linux command. Please advice.
Adrian
------------------------------
From: "Robert.Schossleitner" <[EMAIL PROTECTED]>
Subject: Re: needing ppp dialup to NT ras info
Date: Fri, 12 Mar 1999 12:54:13 +0100
Hi,
i've read the HOWTO. My Question is: is there anywhere a allready compiled
Version
for the i386 Platform of the pppd 2.3.5 with all the Patches applied or
is the binary specific to the environment (lib-version, kernel) for which it
is
compiled.
greetings Robert
Diederick van Dijk schrieb in Nachricht <[EMAIL PROTECTED]>...
>[EMAIL PROTECTED] (G.L. Grobe) wrote:
>
>>
>I've written a HOWTO on this subject. See my homepage for more
>details.
>
>Diederick
------------------------------
From: [EMAIL PROTECTED] (Justin The Cynical)
Subject: Re: AppleTalk on Linux
Date: 12 Mar 1999 12:00:33 GMT
Reply-To: [EMAIL PROTECTED]
On Thu, 11 Mar 1999 00:36:19 +0100, davide <[EMAIL PROTECTED]> wrote:
->I want to use a Linux box as File-Server, using Macintoshs as
->workstation. In the chooser i can see the Host, but the Mac dosen't
->recive a response from the server. Can anybody help me.
Well, I don't have all the answers, as I've not tried this yet, but
I do have a simple question on a hardware level.
I'm assuming that you have the machines attached via twisted pair
cabling and a hub. Can the hub deal with Appletalk? Appletalk is not 802.3
compliant, and many hubs can't deal with anything that isn't. It might be
803.2. I get the numbers mixed up at times, and it's too late for me to dig
up my hubs' manual. :-) Eitherway, Appletalk frames are not complient, and if
the hub can't handle it, it's not going to work.
--
"NT disk, meet Mr. Microwave."
David Parsons in comp.os.linux.advocacy (e-mail addy deleted for spam reasons)
Justin The Cynical - [EMAIL PROTECTED]
------------------------------
** 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
******************************