Linux-Networking Digest #949, Volume #11 Tue, 20 Jul 99 08:13:34 EDT
Contents:
Re: Linux IRQ oops (HoKuo Chan)
socket in CLOSE state ?!? ([EMAIL PROTECTED])
Re: are 4 nics practical? (Beat Rupp)
Firewall forwarding NetBios? (Johannes Hettig)
Mail Question (haze)
Re: samba and Windooz95 B (Ver 4.00.1111) ("Fox")
Squid + News = Problem ("Matthias Blohm")
Re: Newbie Q: Getting message 'RPC program not registered ' when trying to
mount (Peter)
Re: samba and windows network - incompatible namespaces? ([EMAIL PROTECTED])
Re: Good network backup software? (Michael Doerner)
Re: spoofimg netscape windoze client from Linux (John Thompson)
maximum size of NIS maps? (Brian Dawson)
Ethertap again. (Sitaram Shastri)
Re: Why not C++ ([EMAIL PROTECTED])
----------------------------------------------------------------------------
Crossposted-To: comp.os.linux.hardware,comp.os.linux.misc,comp.os.linux.setup
Date: Mon, 19 Jul 1999 11:02:37 -0400
From: HoKuo Chan <[EMAIL PROTECTED]>
Subject: Re: Linux IRQ oops
You can also check in the file /proc/interrupts
There you will find the interrupt settings for your various devices,
the first column being the interrupt number and the last column being
the device.
David Eaton wrote:
>
> run linuxconf as root and change the irq in the network section
>
> On Fri, 16 Jul 1999, Hunter Ritchie wrote:
> >Penguins,
> >
> > This is a repost because the last one didn't seem to take.
> > Anyway, I've just installed RedHat 6.0 on an old 486 machine with 20Mb
> >RAM. It takes about 4 hours for the install, so I am resistant to repeating
> >the procedure.
> >
> > Problem:: I oopsed during the install and set my Ethernet card to be
> >used at IRQ 5. Unfortunately, the card itself is set to be used at IRQ 10.
> >
> > Question:: How or where do I manipulate settings (through commands or
> >script modification) to get Linux to look for the card at IRQ 10? I've
> >tried 'ifconfig' and 'ether=' at boot. Neither has worked (which means they
> >both probably do and I just didn't use them correctly.)
> >
> > I know it is possible to reconfigure the card itself with a DOS utility,
> >but am avoiding that because it conflicts with my "master plan".
> >
> >Any help clearing this mess up is greatly appreciated.
> >Thanks in advance,
> >Pops
------------------------------
From: [EMAIL PROTECTED]
Subject: socket in CLOSE state ?!?
Date: Tue, 20 Jul 1999 09:30:36 GMT
Hi there !
i can't figure out what CLOSE state for a socket means (not CLOSE_WAIT
nor CLOSED) when i perform a netstat -a.
i've found no documentation about it. i'm using a linux box (kernel
2.2.9).
the point is that i'm afraid there is no time out for that state !
thankyou for your help !
Arnaud
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: Beat Rupp <[EMAIL PROTECTED]>
Subject: Re: are 4 nics practical?
Date: Tue, 20 Jul 1999 08:52:00 GMT
> Last a warning; I dont know anything of this, i just talk; done.
Yes of course... my mother knows more than you! I just missed to ask=20
her... :-)
Ok, I will give this a try next time I'm bored. Thanks!
Beat
------------------------------
From: Johannes Hettig <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.security
Subject: Firewall forwarding NetBios?
Date: Tue, 20 Jul 1999 11:50:11 +0100
Hi all,
I�ve got a Problem with my Linux-Firewall. I am in a large Domain with
my NT-maschine behind a Linux Firwall.
NT-Comp----------------Linux-Firewall--------------Domain------------gateway
129.168.12.78 abc.cdf.bla.251
abc.cdf.bla.xxx abc.cdf.bla.254
The firewall works with ipfwadm and masquerading. I want to access the
other computers of the domain via SMB, but this does not work. I
noticed that my NT-workstation sends the UDP packets concerning NetBIOS
(Port 137-119) to the Broadcast address of its net. But they are not
masqueraded and routed though I have all TCP and UDP Ports open.
Thanks for any help
Joe
Reply-to: [EMAIL PROTECTED]
------------------------------
From: haze <[EMAIL PROTECTED]>
Subject: Mail Question
Date: Sun, 18 Jul 1999 20:14:03 GMT
basically wondering if this were possible retrieve my e-mail( 5 accounts
from different locations) and then be able to check my mail from
netscape on the 98 boxes. imap mixed with fetchmail i beleive can do
this but do i need to have a imap server or something else.
specs. pent. 200
64mb ram
redhat 6.0
1 98 amd-k6-2 300
128mb ram
want to be able to check my mail fropm either machine without
worrying aboutif i read this message it won't appear in the other
machine and such
thanks
HAZE
------------------------------
From: "Fox" <[EMAIL PROTECTED]>
Subject: Re: samba and Windooz95 B (Ver 4.00.1111)
Date: Sun, 18 Jul 1999 21:27:45 +0100
With regard to Windows passwords. My current understanding is that windoze
95 original does not use encryped passwords. However 95 B/C and 98 do. Set
the use encrypted passwords option in SAMBA to yes and it will work just
fine.
Ted Groans <[EMAIL PROTECTED]> wrote in message
news:52Nh3.209$[EMAIL PROTECTED]...
> Based on what you told me, you are connecting to machines on the network
> just fine, but the machines are not accepting your connections because of
> authentication problems.
>
> Did you set up a smbuser and smbpasswd?
>
> You need to if you haven't already. Here is why. When you connect to a
> share, depending on the level of access needed, it will ask for a
password.
> If your username and password are not something the win95 box recognizes,
> you will not get in without hacking in.
>
> Use the "-U" modifier in smbclient so you can specify that you are
> connecting as a particular user. For instance, if you are connecting to a
> Win95 box called "me" and your network login name for that box was "you",
> you will have access to it if you use smblclient with the "-U" modifier,
and
> the username of "you." But you need to make sure that on your linux box,
> the smbpasswd for the user "you" is the same as the one on the win95 box.
> To do this type:
>
> smbpasswd you
>
> You need a user entry for "you" in the smbuser.conf (I think that is the
> file) file.
>
> Also, in smb.conf, you should specify that you use encrypted passwords
over
> the network. I am not sure if Win95 accepts nonencrypted ones though.
>
> Hope this helps.
>
> ~Mark
>
> jevv <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Hi!
> >
> > Am I the only one having troubles with this configuration????
> >
> > I have two PCs, one w RH60/Win95A and one w SuSE61/Win95B
> >
> > The RH60 istallation script for samba seems buggy: there is an entry
> > in the inetd.config file which I had to remove. so far, so good;
> >
> > when running samba on the SuSE box I can connect from the W95A machine.
> > when running both machines on Linux, smbclient works fine for both;
> > but when trying to connect the RH6 samba with a Win95B box I receive
only
> > "connection refused" errors.
> >
> > tcpdump shows nothing strange - I just _can't_ talk to port 139 on the
> > Win95B box.
> >
> > Any ideas what is going on????
> >
> > jevv %-(
> >
> > ------------------ Posted via SearchLinux ------------------
> > http://www.searchlinux.com
>
>
------------------------------
From: "Matthias Blohm" <[EMAIL PROTECTED]>
Subject: Squid + News = Problem
Date: Tue, 20 Jul 1999 11:58:30 +0200
Ok I have the SuseLinuxversion6.0 and the Squid as a Proxy and I masquared
my local Net and I have a Firewall.
But I have a Problem making me sad.
If I surf the Internet it will work fine. With Proxy or without Proxy. No
different.
If I Reading News, I can only Reading News by disable the Proxy. With Proxy
it did not work. I've looked in Documentation but nothing found.
Why is it so ??
Please help me !
Thanks in Advance
Matthias
------------------------------
From: [EMAIL PROTECTED] (Peter)
Subject: Re: Newbie Q: Getting message 'RPC program not registered ' when trying
to mount
Date: Tue, 20 Jul 1999 09:57:05 GMT
On Sun, 18 Jul 1999 11:58:41 -0400, Jeffrey Shaffer
<[EMAIL PROTECTED]> wrote:
Hi Jeff
You have my undying gratitude :-) I followed your advice and found
that these two daemons were not installed on the systems at all, so
after finding the right package and installing them it solved the
problem completely.
I have managed to mount from the laptop without any problem, but from
the desktop machine, when I try to mount the remote file system I get
the following message:-
mount: wrong fs type, bad option, bad superblock on Pico:/home/peter
or too many mounted file systems.
I have checked most things I can think of, but no luck. Any ideas ?
I have been struggling with Linux now for 4 weeks and am making very
slow progress but am too stubborn to give in (grin), I can see good
things in the future.
Thanks for the help Jeff
>
>Peter,
>O.K., try this... Run '/usr/sbin/rpcinfo -p' if you don't see BOTH 'mountd' and
>'nfsd' in the output, that means that the deamons were never registered with the
>portmapper. If this is the case, type '/usr/sbin/rpc.mountd' and
>'/usr/sbin/rpc.nfsd' on the nfs server. Also run '/usr/sbin/exportfs'. Now make
>sure you give permissions to your nfs client by putting the necessary stuff into
>the /etc/exports file.
>
>Also, remember that the kernel needs to be compiled with nfs support, so if you
>compiled your kernel make sure you gave it nfs support.
>
>
>
>>
>> >Marco Vranken wrote:
>> >
>> >> Hi,
>> >>
>> >> I had the same problem a time ago.
>> >> First you have to run samba (if you don't know how, there are a lot of mails
>> >> in this newsgroup that
>> >> tell you how).
>> >> How I solved the problem is this:
>> >> In the file /etc/rc.config you have set next settings:
>> >> START_PORTMAP="yes"
>> >> NFS_SERVER="yes"
>> >>
>> >
>> >You don't need samba for this. You just need to make sure that the nfs deamon
>> >is running on the server machine.
>> >If you're running RedHat, then you must go into /etc/rc.d/init.d and type ./nfs
>> >start.
>> >If this doesn't work, your machine is broke.
>> >
>> >Jeff
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: samba and windows network - incompatible namespaces?
Date: Tue, 20 Jul 1999 09:15:02 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> I'm having a severe problem with samba. I'll try to explain it
> all; I apologize for the wordiness, but I'm hoping to supply enough
> info here to get a solution back, assuming one actually exists. So:
>
> I'm trying to make samba work on a new redhat 6 system with a network
> that consists of 1 win98 pc, 1 win95 pc, and 1 win nt4/sp3 pc. And a
> redhat 6 pc.
>
> The network controller, more or less, is the NT4 machine.
>
> There is no password on the network on any of the machines except
> the Linux box. The log in on the linux box is root, and the password
> is zxcvbn
>
> The log in on all the Windows machines is "Ben Williams".
>
> Now, I have the machines up to where they ping each other happily.
> I can even see the Linux group (toast) on the 98 machine, where I am
> trying to get the initial connection up. But when I try to access
> the shared dir on the linux machine by clicking into the group
> (toast) and then the share (weasle), I get a dialog that says I
> must supply a password. Now, on the Linux machine, although I tried
> to set it for no password on root and etc, I failed. I set the
password
> length to 0, but it still won't let me get rid of the paranoia. Ok,
> so the password I use is "zxcvbn" which is easily typed and easily
> remembered, though completely superfluous and annoying. :( That's the
> ONLY password anywhere in the system; it's what I use when something
> won't let me get away without a password. So that's the only password
> I expect to encounter.
>
> Win98's dialog says I'm trying to access \\WEASLE\IPC$
>
> Well, maybe, but all *I* said was "weasle" (lower case, I might add).
first, set up a user that is identical on both sides ( add your 'root'
user to win-boxes, or 'ben williams' to linux.
have the same password on both sides.
this makes it easier .
next, win98 and nt /sp3 have encrypted passwords, so you will have to
'enableplaintextpassword' in the registry ( somewhere under
services/rdr/parameters), you can find in a lot of winnt-howtos.
or, you set up samba with encrypted passwords - there is a howto for
that but i have not done it yet.
last, make the share accessible for the identical user.
in samba2.0 or higher, there is a pretty good diagnosis.txt - step by
step troubleshooter, plus the swat - admin-tool.
i find them helpfull.
hth
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: [EMAIL PROTECTED] (Michael Doerner)
Subject: Re: Good network backup software?
Date: Tue, 20 Jul 1999 10:12:46 GMT
Hi,
have a look at Arkeia (www.arkeia.com) which came with my SuSE 6.1 as
a shareware version. Looks really good so far and should run on all
those OS.
Regards,
Michael Doerner
On Thu, 15 Jul 1999 20:18:20 GMT, [EMAIL PROTECTED]
(Frederic Faure) wrote:
>Hi,
>
>I'd like to replace our Seagate BackupExec running under NT and
>driving a DLT tape driver, and replace it with a Linux-based software.
>Besides Amanda and BRU, is there a good package I should look at? I
>have to backup Linux + Sparc Solaris + NT hosts.
>
>Thanks for any input,
>FF.
>--
>The system required Windows 95 or better, so I installed Linux!
Michael Doerner
------------------------------
From: John Thompson <[EMAIL PROTECTED]>
Subject: Re: spoofimg netscape windoze client from Linux
Date: Mon, 19 Jul 1999 20:07:20 -0600
"Paul A. Cheshire" wrote:
>
> How does one fool an HTTP server that I'm using Netscape 4.08 for windows
> instead of Linux. I vaguely remember some mention od it here but now I need it
> cannot find it!
Use the "Internet Junkbuster" (http://www.junkbusters.com)
proxy. You can configure it to report any "User-Agent"
string you desire.
--
-John ([EMAIL PROTECTED])
------------------------------
From: Brian Dawson <[EMAIL PROTECTED]>
Subject: maximum size of NIS maps?
Date: Tue, 20 Jul 1999 12:43:29 +0000
I need to create an NIS group map that will have over 1000 users in 1
group but it seems that the makedbm program I have is unable to do this.
>From the man page, it says that it separates the key from the data by a
space of tab character, but the group file uses neither of these and so
I figure it is trying to put the entire line into the key. This would be
over 7500 characters which perhaps is a bit to much for a key in a GDBM
table.
Is there anyway around this or am I just totally off base with this and
missing something simple?
Thanks for any suggestions,
Brian
------------------------------
From: Sitaram Shastri <[EMAIL PROTECTED]>
Crossposted-To: redhat.kernel.general,redhat.networking.general
Subject: Ethertap again.
Date: 20 Jul 1999 11:31:08 GMT
Hello people,
I have now successfully configured ethertap on two PCs, I can ping
to
tap0 from either box, and the sniffer program sees the icmp requests
and replies as
well. But when I write to tap0, it never comes down to
the physical wire as the
sniffer doesn't get any scent of it. Now I want to
know whether I can force packets
sent to tap0 to be forwarded to eth0.
Can this be done by modifying ethertap.c and
recompiling it.
I thought since ethertap is using netlink, packets should be sent on
the
wire. But I am just a fresh graduate,and I may be grossly mistaken. Is
there any
other way of going about it?
My real aim is to talk between two ethernet cards without
using TCP/IP.
Thanks All,
[EMAIL PROTECTED]
Sitaram Shastri.
================== Posted via SearchLinux ==================
http://www.searchlinux.com
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: Tue, 20 Jul 1999 11:28:47 GMT
In article <7l6h61$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Don Waugaman) wrote:
> In article <[EMAIL PROTECTED]>,
> Johan Kullstam <[EMAIL PROTECTED]> wrote:
> >[EMAIL PROTECTED] (Don Waugaman) writes:
> >
> >consider a min function in C++ that you wish to templatize
> >
> >template <class X>
> >X min(
> > X a,
> > Y b)
> >{
> > return a < b ? a : b;
> >}
> >
> >how do you use this for classes for which < is not defined? how
would
> >you substitute another definition of < if two less-than concepts
would
> >make sense for a certain class? perhaps you could pass a function.
> >but now < and the alt_less_than function would take different
syntaxes
> >and hence not work like
> >
> > min(a,b,<) and min(a,b,alt_less_than)
>
> You would use a functor (an object that encapsulates a function).
> This is the exact example of how min is defined in the SGI STL:
>
> template <class T>
> inline const T& min(const T& a, const T& b) {
> return b < a ? b : a;
> }
>
> template <class T, class Compare>
> inline const T& min(const T& a, const T& b, Compare comp) {
> return comp(b, a) ? b : a;
> }
>
> The first example uses the built-in < operator, so you can use that
for
> classes for which defining '<' makes sense. If you need to compare
two
> classes but not use the built-in operator, either because you prefer
not
> to use operator overloading or because you have a different ordering
> scheme in a different context, you can use the second function.
>
> You can write a CompareStrangeKeys struct for every different sort
> criteria over your class you can think of - each one just overloads
> its own operator() function and you're off to the races.
>
> Now that I think of it, you could do this a little differently:
>
> template <class T>
> class less {
> public:
> bool operator()(T const& a, T const& b) { return a < b; };
> };
>
> template <class T, class Compare = less<T> >
> inline const T& min(T const& a, T const& b) {
> Compare comp;
> return comp(a, b);
> }
>
> So you would have
> StrangeClass a(arguments1);
> StrangeClass b(arguments2);
> a = min(a, b);
> a = min<StrangeClass, StrangeClass::CompareStrangeKeys>(a, b);
>
The most beatiful approach, in my opinion, is to use what the standard
library uses, which is predicates. The approach is just slightly
different from your last one:
template <class T> struct less : public binary_function<T, T, bool> {
bool operator() (const T& x, const T& y) const {return x<y; }
};
template <class T>
inline const T& min(T const& a, T const& b) {
less comp;
return comp(a, b) ? a : b;
}
Now we specialize less for our class Strange
template<> struct less : public binary_function<Strange, Strange, bool>
{
bool operator() (const Strange& x, const Strange& y) const {return
x.strangeLessThan( y ); }
};
Which would look like:
main
{
Strange x;
Strange y;
Strange m = min(x,y);
int a, b;
int c = min(a,b)
...
}
The application programmer will only have to worry about specializing
less for the Strange class, nothing else. The main code is simple,
elegant, no extra run-time costs!
Richard Glanmark
[EMAIL PROTECTED]
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
******************************