Operating System - Linux
1832433 Members
3146 Online
110042 Solutions
New Discussion

Re: masquerading? MTRR? pam_passcheck

 
Paul Bowen
Advisor

masquerading? MTRR? pam_passcheck

I have a Proliant server with 2 NIC. One connected to internal LAN, one to ADSL Router from BT. I use masquerading to access the internet from windows clients, and it seems OK, but is this the best way?
Also, I get the message MTRR - no more available - What is this ? I haven't seen it before.
Finally, file transfer on the LAN using samba shared directories is really slow. I use SHARE level security, and everyone connects fine. I noticed a 'smb_pam_passcheck' auth failed message, but it still allows access. Why the message, and is this causing the slow network ?
Tried to resolve all issues, but got lost, asked a friend but he couldn't help so now I am asking the audience.
shit happens - just deal with it
5 REPLIES 5
Huc_1
Honored Contributor

Re: masquerading? MTRR? pam_passcheck

I also use masquerading on 2 nic and have no complains, I did not realy know what MTRR where,so It prompt me to search and see if I could help
at first jest here is what I found on 1 of my small systems.

there is a file that you should have/or can get hold off

this is /usr/share/doc/kernel-doc-2.4.20/mtrr.txt

a locate mtrr

should reveale this file if it is on your system

there are some usefull information in there, read it, You may find it interesting.

after having read this i did a
cat /proc/mtrr

on my small amd/duron system this gave me the following

reg00: base=0x00000000 ( 0MB), size= 256MB: write-back, count=1
reg05: base=0xd0000000 (3328MB), size= 64MB: write-combining, count=1

in the above document it also say's you can manipulate those settings

I HAVE not tryed this as I have no problem with my setup.

I have used SAMBA and sometimes still do but not very often, I do not find it "slow"

Perhaps you could be more specific what is slow
for you and add some of you setup informations and logs as attachement, perhaps this would allow us ? / me ! to help you futher.

Jean-Pierre.

Smile I will feel the difference
Steven E. Protter
Exalted Contributor

Re: masquerading? MTRR? pam_passcheck

If file transfer on the lan is slow:

check the setting of the switch, make sure they match the LAN card.

If the card is set up for 100 BaseT Full Duplex and the switch is set of for 10 BaseT Half, its going to mess with network speed badly.

I don't know the Linux commands off hand to check this stuff, but if will poke around and see what I can find.

If you already know the commands, go ahead.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jerome Henry
Honored Contributor

Re: masquerading? MTRR? pam_passcheck

And if you don't :
use the command: /sbin/mii-tool to verify the current settings.
Use the command: /sbin/ethtool ???s eth0 speed 10 duplex full autoneg off.
Use the command: /sbin/mii-tool to verify the new settings.
hth
J
You can lean only on what resists you...
Paul Bowen
Advisor

Re: masquerading? MTRR? pam_passcheck

haven't got the mtrr text file on the machine to check. Can anyone send it me ?
The switch allegedley auto negotioates the speed and duplex settings, so they cannot be set.
The mii-tool command shows the settings for one card only - the one connected to the adsl router - the other one shows as not supporting the command.
I have re-configures Samba and the network seems a bit quicker, but a particular document scan program that has the access data base and the images (though they are small) on the server takes about a minute to update the record and store the document. This was previously on an HP9000 D220 and it took only seconds.
Any clues?
Thanks
shit happens - just deal with it
Jerome Henry
Honored Contributor

Re: masquerading? MTRR? pam_passcheck

Here you are...

Do you have PAM modules authentication set ?
Clearly your machine is trying to do it, fails, and passes, this explains the timeouts...

J
You can lean only on what resists you...