Linux-Networking Digest #81, Volume #12 Sun, 1 Aug 99 21:13:32 EDT
Contents:
Re: Program to find optimal MTU? (Clifford Kite)
Kppp/Network - weird problem ([EMAIL PROTECTED])
Re: Modem doesn't do anything (James Niemasik)
Java ICQ (root)
Re: DHCP problems with REDHAT (Brad Howes)
Re: DHCP problems with REDHAT (Doug O'Leary)
Cisco Discovery Protocol (Jerry Williams)
Solaris + Linux + NFS (George Nimmer)
Re: Samba Problems ([EMAIL PROTECTED])
Re: connecting to internet (Abdullah Ramazanoglu)
Re: Modem doesn't do anything (James Niemasik)
Re: Modem doesn't do anything (Abdullah Ramazanoglu)
Re: NIS? ([EMAIL PROTECTED])
----------------------------------------------------------------------------
From: kite@NoSpam.%inetport.com (Clifford Kite)
Crossposted-To: comp.os.linux.misc
Subject: Re: Program to find optimal MTU?
Date: 1 Aug 1999 19:02:50 -0500
Jeff Workman ([EMAIL PROTECTED]) wrote:
: IIRC, if you enable PATH_MTU_DISCOVERY when you compile your kernel, Linux will
: do this for you automatically.
In 2.2.9 there is a CONFIG_PATH_MTU_DISCOVERY in
linux/Documentation/Configure.help and in linux/net/ipv4/Config.in but
no other reference to it in any file in linux or it's subdirectories.
In the Config.in file it's commented out.
This probably means that it's in the kernel permanently since there is an
IP_MTU_DISCOVER defined in linux/net/ipv4/in.h . But that's a guess, I
haven't compared to the PMTU code in the 2.0.x kernels to make sure.
--
Clifford Kite <kite@inet%port.com> Not a guru. (tm)
/* Those who can't write, write manuals. */
------------------------------
From: [EMAIL PROTECTED]
Subject: Kppp/Network - weird problem
Date: Sun, 01 Aug 1999 23:34:09 GMT
Here's my netstat -rn
192.168.x.1 0.0.0.0 255.255.255.255 UH 00 0
eth0
12.23.xx.xx 0.0.0.0 255.255.255.255 UH 00 0
ppp0
192.168.x.0 0.0.0.0 255.255.255.0 U 00
0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 00
0 lo
0.0.0.0 12.23.xx.xx 0.0.0.0 UG 00
0 ppp0
Some of the above is automatically added when Kppp is called, and
connection made to ISP. HERE's the PROBLEM -
When Kppp 'details' show the ISP address (12.23.xx.xx) in BOTH local
and remote, everything functions correctly.
When Kppp 'details' show 192.168.x.x in the local position with the
ISP (12.23.xx.xx) in the remote position - the only complete
connection I have is to the ISP. No routing occurs outside my local
net or the ISP, anything else cannot be found (no DNS).
In BOTH cases the netstat -rn remains the same, none of the 'net'
files such as hosts, lmhosts, resolv.conf have been changed.
The ISP DNS address is dynamically assigned, but seems to have no
apparent influence over this condition.
How can this be? What/where is the problem ?? Just how much 'beta'
type software is included with the RH6.0 distro? FWIW the Kppp version
in 1.6.2
------------------------------
Date: Sun, 01 Aug 1999 16:27:09 -0700
From: James Niemasik <[EMAIL PROTECTED]>
Subject: Re: Modem doesn't do anything
Ok, first I disabled the two serial ports in the bios that had com1 and com2. I
check in /var/log/messages and there weren't any 16550's (nor in setserial -gav
/dev/ttyS?). This was with my modem's jumpers set to com1 irq 4. Then I turned the
serial ports back on, and there were two 16550's in /var/log/messages and in
/dev/ttyS?. I assume this means my modem is a winmodem or "soft" or whatever...
dammit.
Abdullah Ramazanoglu wrote:
> James Niemasik wrote:
> >
> > I tried setting my modem's jumpers to com3 irq5, and then typed setserial -v
> > /dev/ttyS2 irq 5 in the console. It still didn't work. How do I "issue the
> > command from rc.local"?
>
> To make it sure whether the modem can be recognized by Linux at all, I
> would suggest that you disble COM1 and COM2 from BIOS. Now, since there
> will be no serial port on system except your modem, it doesn't matter
> which COM port you set it up for. But for simplicity, it is better if
> you set it up for COM1/irq4 or COM2/irq3. With this scheme:
>
> 1. BIOS POST messages normally should report a serial port. You can
> confirm this while booting with onboard serial ports enabled. Note the
> reported address: 0x03f8 / 0x02f8 / 0x03e8 / 0x02e8 means COM1 (ttyS0) /
> COM2 (ttyS1) / COM3 (ttyS2) / COM4 (ttyS3) respectively. If your BIOS
> does't report any serial ports, then your modem is UART-less (soft) one.
> You cannot use it with Linux. See again
> http://www.o2.net/~gromitkc/winmodem.html
>
> 2. If BIOS does report your modem as a serial port (say 0x03f8 ->
> ttyS0), then kernel should also detect it as 0x03f8. You can confirm
> this looking into the last lines of the /var/log/messages file. Go to
> the bottom of file, and while you browse it upwards you must see
> something like :
> ~~~~~~~
> Aug 1 18:25:46 coco2 kernel: NET4: Unix domain sockets 1.0 for Linux
> NET4.0.
> Aug 1 18:25:46 coco2 kernel: NET4: Linux TCP/IP 1.0 for NET4.0
> Aug 1 18:25:46 coco2 kernel: IP Protocols: ICMP, UDP, TCP, IGMP
> Aug 1 18:25:46 coco2 kernel: Initializing RT netlink socket
> Aug 1 18:25:46 coco2 kernel: Starting kswapd v 1.5
> Aug 1 18:25:46 coco2 kernel: Serial driver version 4.27 with MANY_PORTS
> MULTIPORT SHARE_IRQ enabled
> Aug 1 18:25:46 coco2 kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A
> Aug 1 18:25:46 coco2 kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A
> Aug 1 18:25:46 coco2 kernel: ttyS02 at 0x03e8 (irq = 4) is a 16550A
> Aug 1 18:25:46 coco2 kernel: pty: 256 Unix98 ptys configured
> Aug 1 18:25:46 coco2 kernel: apm: BIOS version 1.2 Flags 0x07 (Driver
> version 1.9)
> Aug 1 18:25:46 coco2 kernel: Real Time Clock Driver v1.09
> Aug 1 18:25:46 coco2 kernel: VP_IDE: IDE controller on PCI bus 00 dev
> 39
> Aug 1 18:25:46 coco2 kernel: VP_IDE: not 100% native mode: will probe
> irqs later
> ~~~~~~~
>
> 3. If there is no kernel message such as "...kernel: ttyS02 at 0x03f8
> (irq = 4) is a 16550A" then I don't know what to say. There *must* be.
> (BTW, if you used irq=5, ignore that irq=4 message. It's a default value
> kernel takes. You will override it later with "setserial").
>
> 4. If you set the modem to COM1 or COM2 ignore this. If you set it to
> e.g. COM3/irq5 then manually enter "setserial -v /dev/ttyS2 irq 5".
>
> 5. When you enter "setserial -gav /dev/ttyS?" you will get a detailed
> info about all serial devices on system. See if your modem is reported
> properly.
>
> Note: To issue a command from within rc.local, just put it in the end of
> rc.local. This file (it is a script) is automatically run each time
> Linux boots, so you won't have to enter "setserial" command manually
> each time you boot Linux. But it is also okay if you enter the command
> manually.
>
> >
> > Abdullah Ramazanoglu wrote:
> >
> > > James Niemasik wrote:
> > > >
> > > > I set up ppp0 in RH6, but when I hit Activate or Connect, nothing
> > > > happens at all. I don't hear my modem either, which I do in Windows.
> > > > It's set for ttyS2, because my modem's on COM3 in win98. I don't think
> > > > the modem is picking up the line, because I tried plugging my phone into
> > > > the modem's line port, and I can still get a dialtone. Any suggestions?
> > > > Thanks.
> > >
> > > If you are not sure the modem is recognized by Linux in the first place,
> > > please see http://www.o2.net/~gromitkc/winmodem.html
> > >
> > > If you are sure that yours is not a winmodem :
> > >
> > > COM1 thru COM4 (that is ttyS0 thru ttyS3) only defines which I/O address
> > > to use. As for *default* interrupts, COM1 and COM3 use irq-4 while COM2
> > > and COM4 use irq-3. This means that you cannot use concurrently COM1 &
> > > COM3 (and COM2 & COM4) with default irq values. I'm excluding IRQ
> > > sharing, because it is not possible (AFAIK) for serial ports found on
> > > usual mainboards and modems.
> > >
> > > By default, kernel assigns irq-4 to ttyS2 (COM3). You must either
> > > disable COM1 on your mainboard and set the modem for COM3 / irq-4, or
> > > you must set the modem for COM3 / irq-5 (any free IRQ supported by
> > > modem) in which case you don't need to disable COM1 on mother board. For
> > > the latter case you should issue this command from the rc scripts
> > > (rc.local) :
> > >
> > > setserial -v /dev/ttyS2 irq 5
> > >
> > > See 'man setserial' for fancy features.
> > > HTH
> > > --
> > > Abdullah Ramazanoglu [ aramazanoglu AT demirbank DOT com DOT tr ]
> >
> > --
> >
> > * James Niemasik
> > * [EMAIL PROTECTED]
> > * ICQ: 7490296 AIM: njamie
> > * http://welcome.to/jamesbeam
>
> --
> Abdullah Ramazanoglu [ aramazanoglu AT demirbank DOT com DOT tr ]
--
* James Niemasik
* [EMAIL PROTECTED]
* ICQ: 7490296 AIM: njamie
* http://welcome.to/jamesbeam
------------------------------
From: root <[EMAIL PROTECTED]>
Subject: Java ICQ
Date: Sun, 01 Aug 1999 19:50:03 -0400
I am trying to install Java ICQ but JDK is required in order to install
it. What I need to know is how to install JKD 1.1.7.
------------------------------
Crossposted-To: comp.os.linux.setup
Subject: Re: DHCP problems with REDHAT
From: Brad Howes <[EMAIL PROTECTED]>
Date: 01 Aug 1999 20:12:02 -0400
"Andrew H. George" <[EMAIL PROTECTED]> writes:
> hi, i was totally unable to get dhcpcd to work with a previous
> installation. so, i did a clean install of Red Hat 6.0 when i try to
> run dhcpcd, it pauses for a while and times out the actually error
> message in /var/log/dhcpcd.log:
>
> Aug 1 11:04:18 localhost dhcpcd[577]: timed out waiting for a valid DHCP
> server response
Check that /etc/sysconfig/network-scripts/ifup is being run by
/etc/rc.d/init.d/network. In ifup (which is a symlink) you should see that
the file ifcfg-eth0 is read in. Here's a snippet of what mine says:
DEVICE="eth0"
BOOTPROTO="dhcp"
ONBOOT="yes"
If this is what your setup looks like, then you should also see somewhere
in `ifup' a call to `pump' -- this is what RH 6 uses to query a DHCP
server for network configuration information. Don't do your own dhcpcd
unless you remove the `pump' instantiation; use one or the other.
FYI, I've had sporadic connection attempts with MediaOne here in
Boston. However, it appears to be simply a timeout issue. I've edited my
`ifup' script to try several times to obtain DHCP info; seems to do the
job now. This is using the latest `pump' and 3c905 driver.
HTH,
Brad
--
Brad Howes [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Doug O'Leary)
Crossposted-To: comp.os.linux.setup
Subject: Re: DHCP problems with REDHAT
Date: Sun, 1 Aug 1999 19:24:54 -0500
[This followup was posted to comp.os.linux.networking and a copy was sent
to the cited author.]
Hi;
I did, at last, get the two working together. There was a combination of
thngs that kept me from getting it right.
As I mentioned in my previous post, my nic wasn't configured correctly.
That was fixed by getting the drivers and eliminating the pnp mode.
Once that was done, Linux was using the correct irq and base I/O address.
I still wasn't getting an address from Mediaone; however. Based on some
other info from the newsgroups, I downloaded what I thought was an
updated version of pump (different dhcp client) from redhat's web site.
When I went to install it, rpm told me that the version that I had was
newer than the one that I was attempting to install. The one that was
already on there came with the Redhat 6.0 Mandrake version. So, with
little hope for success, I deinstalled the version that was there and
installed the version from Redhat's web site. It worked; I am finally
getting an address.
I hope this helps. I understand how frustrating this is. I've been
battling this particular issue for as long as I've had my cable modem
(about six months, I think). It's particularly satisfying to having
finally won this battle...
Doug
--
==============
Douglas K. O'Leary
Senior System Admin
[EMAIL PROTECTED]
[EMAIL PROTECTED]
==============
------------------------------
From: Jerry Williams <[EMAIL PROTECTED]>
Subject: Cisco Discovery Protocol
Date: Sun, 01 Aug 1999 17:56:08 -0600
I would like to write a program that would listen for cdp packets.
The problem that I am running into is that they are 802.3 and not IP
traffic. So my question is about the socket call. What do I use to
open a socket that would allow me to receive this traffic?
Thanks for any help!
------------------------------
From: George Nimmer <[EMAIL PROTECTED]>
Subject: Solaris + Linux + NFS
Date: Sun, 01 Aug 1999 20:56:29 -0400
Reply-To: [EMAIL PROTECTED]
At work, I'm trying to get a Pentium machine running RedHat 5.1 to
export a NFS share to several machines. Those machines are:
- Another Pentium running Linux
- An SGI Octane running IRIX
- A Sun Ultra 10 Creator 3D running Solaris 2.6
- An HP ??? running HP-UX.
Currently, all can mount the Linux exports EXCEPT the Sun machine. I am
at home and dont know the exact parameters I'm using, but I know that r
and w sizes are 8192. The Linux server is running RH 5.1 without any
update RPMS (as far as I know) and has kernel 2.0.35.
Until I can post more info tomorow morning - does anyone know of any
known glitches off-hand with RH5.1, kernel 2.0.35, and exporting NFS to
Solaris 2.6???
Thanks!!!
--
George Nimmer - [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Samba Problems
Date: Mon, 02 Aug 1999 00:02:26 GMT
I have two ideas:
Make sure that in the smb.conf file (either in /etc
or /usr/local/samba/lib), the workgroup name is set to the same
workgroup as your win98 boxes.
Try to see if you can access the linux computers by
typing "\\IPAddressOfMachine" into the run box. You should either be
able to access the computer, or at least see a password box. If not, I
can't help you...
Also try to either enable encrytion in samba, or enable plain text
passwords in Win98. Details are in the ENCRYPTION.txt and Win95.txt
files in the samba docs directory. According to the documentation, you
won't be able to browse a computer if both don't match (ie, either both
send encryted passwords or plaintext passwords).
Hope that helps!
Artit J.
<snip>
> However, it seems the Linux Boxes can only see themselves and the
> Win98 Boxes can only see themselves... but they can't see each other.
> I'm pretty sure they know a samba server is there but for some reason
> they just can't connect, and I get a
>
> session request to 206.58.222.3 failed
> session request to *SMBSERVER failed
>
> and so on..
>
> Anyone have a clue whats wrong?
>
> Matthew Bell
> [EMAIL PROTECTED]
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: Abdullah Ramazanoglu <[EMAIL PROTECTED]>
Subject: Re: connecting to internet
Date: Mon, 02 Aug 1999 04:02:46 +0300
[EMAIL PROTECTED] wrote:
>
> I am an extreme newbie and would appreciate any help on how to configure
> linux for signing on to the internet.
Hello,
For your future references, http://www.deja.com/ is a perfect place to
search for common questions.
For ISP connectivity, there are many methods ranging from manually
editing ppp and network related files to using cook-book scripts to GUI
utilities. I found kppp is the best and easiest and most featured among
them. To use kppp, you must install KDE beforehand. It has a GUI driven
interface, and you don't have to make a bit of network definition in
system: kppp does all the definitions dynamically on the fly (according
to what you entered to its Setup menu) and reverts back when you
disconnect.
However, please observe follwing steps:
1. /etc/ppp/options file must exist, and must be empty. Following
commands will do that:
# cp -p /etc/ppp/options /etc/ppp/options.SAVE
# echo > /etc/ppp/options
2. pppd and kppp executables must be SUID root. (They must have root
privileges even when they are run by a non-root user) Following commands
will do that:
# chmod u+s `which kppp`
# chmod u+s `which pppd`
Note the ` sign. It is inverse apostorophe (')
3. If you use linuxconf, please note that linuxconf detects the changed
mode of pppd and asks you whether it should revert it back. Don't.
Welcome to Linux
--
Abdullah Ramazanoglu [ aramazanoglu AT demirbank DOT com DOT tr ]
------------------------------
Date: Sun, 01 Aug 1999 17:51:00 -0700
From: James Niemasik <[EMAIL PROTECTED]>
Subject: Re: Modem doesn't do anything
I found it in the database! strange that I didn't before, maybe I mistyped it...
anyways
it says "OK".
That's good news. Knowing that it should work now, any suggestions?
Abdullah Ramazanoglu wrote:
> James Niemasik wrote:
> >
> > Ok, first I disabled the two serial ports in the bios that had com1 and com2. I
> > check in /var/log/messages and there weren't any 16550's (nor in setserial -gav
> > /dev/ttyS?). This was with my modem's jumpers set to com1 irq 4. Then I turned the
> > serial ports back on, and there were two 16550's in /var/log/messages and in
> > /dev/ttyS?. I assume this means my modem is a winmodem or "soft" or whatever...
> > dammit.
>
> It is unusual (AFAIK) for a winmodem to have jumpers. So it is still a
> good idea to visit http://www.o2.net/~gromitkc/winmodem.html
> There you will find a modem database sorted by FCC-ID which is very
> successfull in pin pointing a specific modem. You can possibly find your
> modem there. If you can't, perhaps you give them a feedback about your
> modem, so that it will be added to database as winmodem, in order to
> prevent other souls from buying it in the future.
>
> Regards
> --
> Abdullah Ramazanoglu [ aramazanoglu AT demirbank DOT com DOT tr ]
--
* James Niemasik
* [EMAIL PROTECTED]
* ICQ: 7490296 AIM: njamie
* http://welcome.to/jamesbeam
------------------------------
From: Abdullah Ramazanoglu <[EMAIL PROTECTED]>
Subject: Re: Modem doesn't do anything
Date: Mon, 02 Aug 1999 03:14:10 +0300
James Niemasik wrote:
>
> Ok, first I disabled the two serial ports in the bios that had com1 and com2. I
> check in /var/log/messages and there weren't any 16550's (nor in setserial -gav
> /dev/ttyS?). This was with my modem's jumpers set to com1 irq 4. Then I turned the
> serial ports back on, and there were two 16550's in /var/log/messages and in
> /dev/ttyS?. I assume this means my modem is a winmodem or "soft" or whatever...
> dammit.
It is unusual (AFAIK) for a winmodem to have jumpers. So it is still a
good idea to visit http://www.o2.net/~gromitkc/winmodem.html
There you will find a modem database sorted by FCC-ID which is very
successfull in pin pointing a specific modem. You can possibly find your
modem there. If you can't, perhaps you give them a feedback about your
modem, so that it will be added to database as winmodem, in order to
prevent other souls from buying it in the future.
Regards
--
Abdullah Ramazanoglu [ aramazanoglu AT demirbank DOT com DOT tr ]
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: NIS?
Date: Mon, 02 Aug 1999 00:09:20 GMT
What you are talking about is DNS, not NIS. However, what you want to
do isn't DNS exactly. Normally, a domain name is registered to a
specific IP address that rarely changes. Since yours is dynamic, DNS in
the regular sense won't work. As far as I know, there is only one
company that will do this for you. DYNDNS, at www.dyndys.com, has this
service, but they charge $25 a year I think.
Artit J.
In article <[EMAIL PROTECTED]>,
This newsgroup wrote:
> hi all,
>
> Where should I look for information on how to register my box?
> What I want to do is allow someone to telnet into my box
> without me having to tell them the ip (dynamic) first. They
> should just have to enter my domain name. Is this the NIS service?
> Thanks.
>
>
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
******************************