Linux-Networking Digest #374, Volume #11 Wed, 2 Jun 99 09:14:31 EDT
Contents:
Re: DIALD building problems with RH5.2 (Brian Witowski)
Help? ("John Markey")
RH Install Problems (Nicholas E Couchman)
Re: Changing networks on a laptop... (Sitaram Chamarty)
Re: Changing networks on a laptop... (Sitaram Chamarty)
Re: Clear out the route table? (Sitaram Chamarty)
Re: DHCP, Pump, RedHat5.2 Solved +question (Sitaram Chamarty)
Re: Freeping for Linux? (Sitaram Chamarty)
Re: External modem dials out but only connects at 1200 then dies? (Sitaram Chamarty)
Re: RH 6.0 + Cable Modem using DHCP - I just want to die... (Sitaram Chamarty)
NIC install problem ("jeff Undercoffer")
NIC install problem ("jeff Undercoffer")
Re: Samba cannot print ("Mark R. Rinfret")
Re: another one with ppp problems (Clifford Kite)
NIC Install problem (jeff Undercoffer)
Trouble with tftp (Dirk von Suchodoletz)
NIC Install problem (jeff Undercoffer)
Re: Setup an network through LT Modem? (Rob Clark)
Re: Samba cannot print ("Oliver D. Bedford")
Re: I've broken http !?!? (Tom Davies)
Re: Access ZIP drive attached to Linux PC from windows? ("Hugh Saunders")
Re: Firewall and ftp ("Greg")
Re: need help configuring Linux as a Router (mango)
----------------------------------------------------------------------------
From: Brian Witowski <[EMAIL PROTECTED]>
Subject: Re: DIALD building problems with RH5.2
Date: Tue, 01 Jun 1999 23:48:15 -0400
Gilford,
I am having all sorts of problems building diald. Think you could save me a few
days and tell me how to apply the patch? Readme files included with most of
these Linux apps are pathetic. They assume that everybody is a C++ programmer
and has nothing better to do than to sit around and debug code. I started 'installing'
diald a few days ago and have gotten nowhere. The readme file says something
about the Makefile matching the config.h file or something similar but upon looking
for similar looking lines of code I found nothing. Also, I have heard mentioned
'getting
everything in place' before compiling. Am I supposed to create directories and move
file before doing a 'Make'? I didn't see anything about it in the readme file.
Thanks
Brian
Gilford Wimbley wrote:
> On 31 May 1999 10:05:46 +0200, [EMAIL PROTECTED]
> (Villy Kruse) wrote:
>
> >In article
><[EMAIL PROTECTED]>,
> >Mike Bartman <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >>
> >>There is no "__errno_location" field in icmp.h, just an "errno" field
> >>in a structure. I'm assuming that the __errno_location symbol is
> >>being generated by the compiler, right? Why? And how to I get past
> >>this problem? I'm familiar with OpenVMS, but as I said, unix
> >>development is new to me so this may be trivial for some of you, but
> >>it's got me stumped at the moment! :^)
> >
> >
> >
>
> >That errno field in a structure should be renamed to something else
> >as there is a #define errno somewhere in the headers.
> >
> >
> >Also, version 0.16 needs up to patch level 5 before it compiles on redhat
> >system. You'll run into other problems, too if you don't.
> >
> >Look at the contrib.redhat.com see if there is a rpm version you can
> >download. It has been there fore ages, including patch level 5.
> >
> >
> >Also check http://diald.unix.ch for the current (I thing) home page for diald.
> >
> >
> >
> >Villy
> Yeah, I downloaded a clean version of 0.16 and a patch to 0.16.5 and
> it compiled with one warning. It was a pointer type mismatch but it
> was in a comparison. I decided to leave it alone and try to run diald
> without worrying about the error, and it seems to be working fine.
>
> It took me like three days to figure out what do with the patch, but
> hey, learning is fun. Let me know if you can't find the patch, and
> I'll email it to you or something.
>
> regards,
> GW
>
> ps, the patch has to be applied to a pristine copy of 0.16, so if you
> don't have a pristine version of the source, still, you might need to
> download it again.
>
>
------------------------------
From: "John Markey" <[EMAIL PROTECTED]>
Subject: Help?
Date: Wed, 2 Jun 1999 07:10:03 -0400
I not sure how to get my Windows 98 Computer to talk to my Linux computer do
you need a client for windows like a novel one.
If so where do I get it from is it something that is already on the Redhat
Software CD?
Please Help
John
------------------------------
From: Nicholas E Couchman <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: RH Install Problems
Date: Wed, 02 Jun 1999 03:41:50 GMT
Here is the deal. I have a computer already running RH 6.0. This has a
coax ethernet card and is successfully connected to a WinNT server, and
soon to a Win9x machine. I am trying to get another computer running RH
6.0. This computer has no CDROM drive, so I put a coax ethernet card in
it and configured it. The RedHat install program recognizes the coax
card and installs the driver for it. When I try to do a NFS or FTP
install (I have both running on my other RH machine), the install prog
comes back and tells me that it cannot contact the server. Anyone got
any idea why?
--Nick
------------------------------
From: [EMAIL PROTECTED] (Sitaram Chamarty)
Subject: Re: Changing networks on a laptop...
Date: Wed, 02 Jun 1999 10:38:39 GMT
On Mon, 31 May 1999 17:25:00 +1000, Ian Tester <[EMAIL PROTECTED]> wrote:
>try installing a package called either "bind" or maybe "named"
Why are you asking him to install a name server if he doesnt
already have one?
To the original poster: you shouldnt have to install bind. Most
machines (esp if on an ethernet) do fine without one.
Even my home desktop (modem only) does fine, because netscape
insists on using its own "dnshelper", and the most frequent dns
queries come from netscape.
------------------------------
From: [EMAIL PROTECTED] (Sitaram Chamarty)
Subject: Re: Changing networks on a laptop...
Date: Wed, 02 Jun 1999 10:38:41 GMT
On Fri, 28 May 1999 15:59:43 -0400, Geoffrey L. Goetz
<[EMAIL PROTECTED]> wrote:
>I was wondering if there was a better way to accomplish the following.
>I need to reconfigure my laptop's network configuration (preferably
>without re-booting) depending on which location I am at. Here is what I
>am currently doing...
[snip commands]
That's pretty much it - you seem to have everything covered!
>This seems to be pretty straight forward and does allow me to quickly
>switch from one network to another with my laptop. But sometimes i have
>to re-boot for the edits to the /etc files to 'stick'.
Exactly which command doesnt "stick"? Can you run commands like
ifconfig, route -n, nslookup, etc to tell? Maybe that'll give me
a clue...
------------------------------
From: [EMAIL PROTECTED] (Sitaram Chamarty)
Subject: Re: Clear out the route table?
Date: Wed, 02 Jun 1999 10:38:42 GMT
On Mon, 31 May 1999 00:05:11 -0400, Geoffrey L. Goetz
<[EMAIL PROTECTED]> wrote:
>Is there anyway to clear out the entire route table in order to re-build
>it? Something like a route -CA (Clear All)?
bringing the interface down should do it.
ifconfig eth0 down
------------------------------
From: [EMAIL PROTECTED] (Sitaram Chamarty)
Subject: Re: DHCP, Pump, RedHat5.2 Solved +question
Date: Wed, 02 Jun 1999 10:38:44 GMT
On Fri, 28 May 1999 19:02:07 GMT, Francois Magnan
<[EMAIL PROTECTED]> wrote:
> I am now able to use DHCPCD in RedHat5.2 with the new kernel
>of RedHat6.0: 2.2.5. I followed
>
>http://www.pdc.kth.se/~jas/dhcpcd-on-redhat-with-linux-2.2.html
>
>The only thing I am missing now is that the ifdhcpc-done script
If you look at the patch for ifup on that page, which you prolly
applied as is, you will notice that the patch deleted the "-c
filename" option to dhcpcd.
Re-insert that piece should do it...
------------------------------
From: [EMAIL PROTECTED] (Sitaram Chamarty)
Crossposted-To: comp.os.linux.setup
Subject: Re: Freeping for Linux?
Date: Wed, 02 Jun 1999 10:38:45 GMT
On Mon, 31 May 1999 14:18:52 +0200, habib Jalili <[EMAIL PROTECTED]> wrote:
>there is a toll called freeping, which works unter Windows NT and pings
>in periodical intervall the hosts registered in the freeping. I'm
>looking for such a tool for linux? Does everybody know such a tool?
What's wrong with "ping -i 60 host.name"? Pings host.name every
60 seconds.
"man ping" for more options. The "ping" that comes with N(ice)
T(oy) is pathetic, so people have to resort to these weird one-off
programs.
You want something that pings a list of hosts regularly? Put a
list of hosts in a file called "ping.hosts", and run this:
while [ true ]
do
< ping.hosts xargs -n 1 ping -c 1
sleep 60
done
Put that in a file, chmod +x it, and run it...
If I didnt understand what the N(ice) T(oy) tool does, or you want
more functionality, feel free to ask.
------------------------------
From: [EMAIL PROTECTED] (Sitaram Chamarty)
Crossposted-To: comp.os.linux.setup
Subject: Re: External modem dials out but only connects at 1200 then dies?
Date: Wed, 02 Jun 1999 10:38:47 GMT
On Sun, 30 May 1999 15:18:52 -0700, David Cohen <@.> wrote:
>I rebuilt the machine lately and I don't think there's anything else
>that is on that IRQ, since I don't have any other devices there
Be sure.
cat /proc/interrupts
>But given that this is happening with the minicom program, which is
>a terminal dialup program (no PPP), I find it hard to understand why I don't
>just get a straight shell login prompt (i.e. "login:" )
Some ISPs (most?) assume a PPP connect and start sending the PPP
handshake info. They dont realise nor care that you might be
using a plain terminal program. This is nothing to do with what
you are using, it's on their side.
And - if you have a "pure PPP" account (no shell access) - this is
probably reasonable, too...
Other ISPs (like mine) give you a plain login: prompt after
waiting a few seconds to see if the client modem will start a PPP
handshake.
------------------------------
From: [EMAIL PROTECTED] (Sitaram Chamarty)
Crossposted-To: linux.redhat.install
Subject: Re: RH 6.0 + Cable Modem using DHCP - I just want to die...
Date: Wed, 02 Jun 1999 10:38:48 GMT
On Fri, 28 May 1999 21:39:47 GMT, You Wish <[EMAIL PROTECTED]> wrote:
>It seems like the change of IP address is not fully handled by Linux. Let's
>say you boot in NT and get address 1.2.3.4, when you boot in Linux, PUMP
>or dhcpcd request the address that it last requested by looking in its cache,
Try this and see if it works:
Clear the cache (delete /etc/dhcp/*cache*) just before dhcpcd
runs.
If this works, the downside is that you lose the "caching" when
you do Linux->reboot->Linux, and it may take a few seconds longer
to get an IP address.
This is likely what NT is doing anyway...:-)
------------------------------
From: "jeff Undercoffer" <[EMAIL PROTECTED]>
Subject: NIC install problem
Date: Wed, 02 Jun 1999 04:10:46 GMT
I have recently installed a new NIC card as well as obtaining and compiling
the driver, however I cannot get the machine to recognize the interface and
I am not sure if the driver object module is installed correctly.
I am using red hat 6 kernel 2.2.5.
Once I compiled the driver I:
copied it to /lib/modules/2.2.5-15/net/
ran depmod -a
verified that conf..modules contained the line alias eth0 modulename
When the machine starts it fails when attempting to initialize eth0.
I tried using linuxconf but the module name does not appear in the list of
available modules, I am not sure why not?
I also tried to insmod -o eth0 modulename, but the machine responds with an
error.
I would appreciate some expert advice.
------------------------------
From: "jeff Undercoffer" <[EMAIL PROTECTED]>
Subject: NIC install problem
Date: Wed, 02 Jun 1999 04:12:18 GMT
I have recently installed a new NIC card as well as obtaining and compiling
the driver, however I cannot get the machine to recognize the interface and
I am not sure if the driver object module is installed correctly.
I am using red hat 6 kernel 2.2.5.
Once I compiled the driver I:
copied it to /lib/modules/2.2.5-15/net/
ran depmod -a
verified that conf..modules contained the line alias eth0 modulename
When the machine starts it fails when attempting to initialize eth0.
I tried using linuxconf but the module name does not appear in the list of
available modules, I am not sure why not?
I also tried to insmod -o eth0 modulename, but the machine responds with an
error.
I would appreciate some expert advice.
------------------------------
From: "Mark R. Rinfret" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.admin,comp.os.linux.hardware,comp.os.linux.setup,hk.comp.os.linux,tw.bbs.comp.linux
Subject: Re: Samba cannot print
Date: Wed, 2 Jun 1999 07:51:31 -0400
Try adding these lines to your [global] section:
printing = BSD
printcap name = /etc/printcap
I chased this problem for a while after upgrading from RedHat 5.2 to 6.0 and
rebuilding samba from the source. While I originally approached it the
problem by investigating the source, several others on the net reminded me
that it can be addressed from the samba configuration file (too easy :-).
The samba configure script now decides that you have a System V system
(#define SYSV) and thus assumes SYSV printing (lp, lpstat vs lpr, lpq).
Since there is no lpstat command under Linux as packaged, the print fails.
The culprit is in source/include/includes.h:
/* this guess needs to be improved (tridge) */
#if (defined(STAT_STATVFS) || defined(STAT_STATVFS64)) && !defined(SYSV)
#define SYSV 1
#endif
It looks like "tridge" figured that this would come back to haunt him. My
guess is that the introduction of STAT_STATVFS64 caused this change in
default behavior. Defining SYSV establishes the lpstat command as the
default mechanism for determining the defined print queues. You can override
the default with the above changes to your /etc/smb.conf file.
Mark Rinfret
�˼��H <[EMAIL PROTECTED]> wrote in message
news:7j21be$[EMAIL PROTECTED]...
> I setup samba 2.0.4 in Redhat 6.0. A HP 6P is connected to it. I can print
> ascii and postcript(using ghostscript) in the linux box. However, I cannot
> print from Windows client though I can mount the home directory and other
> shares. The print job sent to the queue and disappears afterward but the
LED
> in my printer do not blink!!! I find nothing in /var/spoold/samba. My
> smb.conf is as follows. Can anyone help?
------------------------------
From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: another one with ppp problems
Date: 1 Jun 1999 22:13:01 -0500
Ryan Esty ([EMAIL PROTECTED]) wrote:
: When I am connected to the internet I get all my chat stuff done the ppp
: session begins and my computer starts to send out lcp configure packets
: these get returned and i get an error about serial line not 8 bit clean
: or something like that.
: In the how to it said that with this problem you might not be login in
: correctly but I used minicom to check that and the second problem is
: your connection might be really slow. So I do the stuff about the slow
: connection it says I usually connect at about 45000 but it takes about 2
: minutes for the ppp session to actually begin.
I'd look for a misconfigured IRQ first. In minicom in the terminal
mode enter AT and note the time until OK appears. It appears in under
a second when the IRQ configured for Linux agrees with the IRQ that the
modem actually uses. It takes on the order of 19 seconds when the IRQ
is misconfigured.
--
Clifford Kite <kite@inet%port.com> Not a guru. (tm)
/* I gave up on politics when no matter who I voted for, I regretted it.
* -- Pepper...and Salt, WSJ */
------------------------------
From: jeff Undercoffer <[EMAIL PROTECTED]>
Subject: NIC Install problem
Date: Wed, 02 Jun 1999 04:21:58 GMT
I have recently installed a new NIC card as well as obtaining and
compiling the driver, however I cannot get the machine to recognize the
interface and I am not sure if the driver object module is installed
correctly.
I am using red hat 6 kernel 2.2.5.
Once I compiled the driver I:
copied it to /lib/modules/2.2.5-15/net/
ran depmod -a
verified that conf..modules contained the line alias eth0 modulename
When the machine starts it fails when attempting to initialize eth0.
I tried using linuxconf but the module name does not appear in the list
of available modules, I am not sure why not?
I also tried to insmod -o eth0 modulename, but the machine responds with
an error.
I would appreciate some expert advice.
------------------------------
From: Dirk von Suchodoletz <[EMAIL PROTECTED]>
Subject: Trouble with tftp
Date: Wed, 02 Jun 1999 12:00:05 +0200
Hi,
we use a set of about 100 linux X terminals booting via bootp and tftp.
The tftp server starts via (x)inetd. Sometimes we get into trouble,
because tftp is unwilling to transfer the boot kernel. The connection
times out and the terminals hang...
If we try to start the daemon in the command line it says in
/var/log/messages: recvfrom: Socket operation on non-socket
Then we restart the (x)inetd and sometimes it will work again, or we
have to wait a while and it works for another while ...
If we test it with "tftp bootpserver" it transfers the file in 1 second,
if it works, sometimes in 40 to 50 seconds (but the network is without
load), sometimes it times out.
The daemon we use is the standard of suse distribution, but we compiled
it from the netpackage and it was the same...
Thanks a lot,
Dirk
------------------------------
From: jeff Undercoffer <[EMAIL PROTECTED]>
Subject: NIC Install problem
Date: Wed, 02 Jun 1999 04:23:54 GMT
I have recently installed a new NIC card as well as obtaining and
compiling the driver, however I cannot get the machine to recognize the
interface and I am not sure if the driver object module is installed
correctly.
I am using red hat 6 kernel 2.2.5.
Once I compiled the driver I:
copied it to /lib/modules/2.2.5-15/net/
ran depmod -a
verified that conf..modules contained the line alias eth0 modulename
When the machine starts it fails when attempting to initialize eth0.
I tried using linuxconf but the module name does not appear in the list
of available modules, I am not sure why not?
I also tried to insmod -o eth0 modulename, but the machine responds with
an error.
I would appreciate some expert advice.
------------------------------
Subject: Re: Setup an network through LT Modem?
From: [EMAIL PROTECTED] (Rob Clark)
Date: Wed, 02 Jun 1999 12:11:19 GMT
In article <7j2lho$fjt$[EMAIL PROTECTED]>, Z. Zhan <[EMAIL PROTECTED]> wrote:
>hi, everybody
>I'm kind of newbie in Linux. I just installed Redhat linux5.2 but I got
>problem in setting up the dial-up networking. I just try to follow the
>procedures listed in a linux book. Unfortunatelly, I couldn't get through.
>My dial-up will be between my home and the school internet service. I have
>56K LU PCI modem in my machine. The following is the info I got when I run a
>check program under Win98:
You have a Lucent LT Winmodem, which will only work with the Windows
software it came with. Crucial parts of the modem are missing in hardware
and are replaced with software.
Sorry :(
Rob Clark, [EMAIL PROTECTED]
http://www.o2.net/~gromitkc/winmodem.html
------------------------------
From: "Oliver D. Bedford" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.admin,comp.os.linux.hardware,hk.comp.os.linux,tw.bbs.comp.linux
Subject: Re: Samba cannot print
Date: Wed, 02 Jun 1999 13:35:45 +0200
> [printers]
> comment = All Printers
> path = /var/spool/samba
> print ok = Yes
> browseable = No
I have something like
# Set public = yes to allow user 'guest account' to print
guest ok = yes
in my smb.conf (guest ok = public).
In any case /var/log/samba/* (or equivalent) should contain more info.
Oliver
------------------------------
From: Tom Davies <[EMAIL PROTECTED]>
Subject: Re: I've broken http !?!?
Date: Thu, 03 Jun 1999 09:24:03 +1000
Jim Chisholm wrote:
> Sorry if this sounds obvious but are you sure you aren't using a proxy
> server for port 80 that might be down (or non-existant) ?
I don't think so -- I've got no proxies configured for Netscape, nad
haven't set up any for lynx...
Thanks anyway,
Tom
------------------------------
From: "Hugh Saunders" <[EMAIL PROTECTED]>
Subject: Re: Access ZIP drive attached to Linux PC from windows?
Date: Wed, 2 Jun 1999 10:29:53 +0100
>
>at our office, we recently have installed a linux PC, being part of a large
>ethernet network.
>The other 4 PCs are running win98 and are connected to the network as
well.
>what must be done in order to allow all 4 PCs to read and write files from
a
>ZIP
>drive attached to the linux PC???
>
>Please provide sufficient information, I am a Linux newbie ; - )
>
You'd probably be better off attaching the ZIP drive to one of the Win98
machines and sharing the drive using the Windows networking. Using Linux
will involve setting up Samba (which is a worthwhile effort in its own
right) and the Zip drive.
Fortunately, if you still want to do this with Linux, there are HOWTOs on
both setting up Samba and using a Zip drive with Linux (mini HOWTO). Try
http://www.suse.de/e/ and go to the documentation section.
Hugh
------------------------------
From: "Greg" <[EMAIL PROTECTED]>
Subject: Re: Firewall and ftp
Date: Wed, 2 Jun 1999 07:42:10 -0400
Hello Steve,
You will need the ftp module i.e. ip_masq_ftp
The quickest way to find out if its available at your prompt type:
/sbin/insmod ip_masq_ftp
If you dont get a nag you maybe in business
then type: lsmod
and it should show up on your table,
then just add that line to your ip masquerade script.
Greg.
Steve Farris <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> Anyway, uysing the simpler firewall, web browsing works fine (including
> secure connections). Usenet works fine. Email works fine. But ftp
> doesn't work. I can connect to a site, but it can't send anything back
(ie
> I can't get a directory listing). I have also been unable to get
> battle.net to work.
>
> Any ideas or pointer for further reading?
>
> Thanks!
>
> ----------
> Steve Farris, [EMAIL PROTECTED]
> "Computers are really reliable things that do everything you want
> them to do and nothing else." --Linus Torvalds
------------------------------
Date: Tue, 01 Jun 1999 23:39:07 -0400
From: mango <[EMAIL PROTECTED]>
Subject: Re: need help configuring Linux as a Router
thanks all need is a router and not IP Masq
Mike Selders wrote:
> mango wrote:
>
> > can someone help me configure RH Linux 6 as a router?
>
> IP routing?
> man route
> man ifconfig
>
> Also, you should play around with the network configuration tool in the
> control-panel.
>
> > what's the difference between IP Masquerading and IP routing?
>
> Routing decides what traffic goes through which interface or gateway in
> order to get to the appropriate desitination host or network. Routing
> is the facility that allows different networks to communicate with each
> other. IP Masquerading is allowing an entire network (like a small
> office LAN) to share a single IP address (like one that your ISP assigns
> to you). IP Masquerading does need routing, but Routing doesn't
> normally require Masquerading. If you are looking to Masquerade, you
> will also want man ipfwadm.
>
> -- Mike Selders, Network Administrator
> ______________________________________
> Clark & Thompson Online Services, Inc.
> http://www.ctos.com
------------------------------
** 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
******************************