09-26-2002
Thk you i'll try, but for now I put a new Host name for the other eth, and it's work (it stay after reboot)
I have two eth under the same subnet and now I have problem to ping 2 switchs under the same subnet!!!!
Bye
Enzo
Quote:
Originally posted by RTM
Create a file in /etc with the following type of info:
file name
hostname.hmex where x is the interface number
hostname.qfex
hostname.lex
You have to know which interface type you have - grep them from the dmesg command
contents of file
xxx.xxx.xxx.xxx where xxx is your IP number OR
put the hostname in there but it must be /etc/hosts
Read the man pages for:
ifconfig
netmasks (section 4)
hosts (section 4)
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hi,
How can i check the speed of the Ethernet card that my Sun server has and also how can i change it to full Duplex if it is set to half duplex? What is the file that takes care of this? (3 Replies)
Discussion started by: i2admin
3 Replies
2. IP Networking
I have searched this forum for solution and have drawn a blank... so I come to you for help :)
I an a Win XP user that has no problem getting on internet when I am on that OS (currently on it right now ;)). I installed red hat 9 and when I use that OS, I cannot get a connection. I ran the... (10 Replies)
Discussion started by: Minnesota Red
10 Replies
3. UNIX for Dummies Questions & Answers
I am an extreme novice trying to learn Linux. I have redhat 9 installed in a computer I built specifically to install and learn linux. I have an asus a7v8x-x motherboard with the realtek 10/100 mbps ethernet card. I also installed a Jaht adapter jn-1110r32c ethernet card. I cannot get the... (2 Replies)
Discussion started by: Tony Empire
2 Replies
4. SCO
Installed a replacement 3com pci card on an ibm PC 300 GL, running OpenServer 6.0 , brought up system, and recieved this message:
Fsstat:/dev/boot mounted
Mounted /stand filesystem
System auditing is not enabled.
Dlpid:Unable to open network adapter driver (/dev/mdi/r8e0)
Dlpid:No such... (0 Replies)
Discussion started by: tazmss1
0 Replies
5. Solaris
I have a Quad Ethernet card in a 220R. 2 ports activated. Each has its own hostname file and both hostnames are in the hosts file. I want both ports to have the same IP address so we can use the 2nd port in case we lose communication on the port. On bootup, the box gives me:
SIOCSLIFFLAGS:... (5 Replies)
Discussion started by: hshapiro
5 Replies
6. IP Networking
What command do I use to show mw the ethernet card, I have tried ipconfig -a (1 Reply)
Discussion started by: dhlopomo
1 Replies
7. Solaris
Hi Group,
I Have just installed quad card in my V440 machine,
I am facing problem I cn just ping its ce0 card only rest of the cards are not ping able,
here is details of my machine.
ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index
1
... (2 Replies)
Discussion started by: sameergrover
2 Replies
8. AIX
Hi,
is it possible to find out network utilization of etherenet card in %?
Regards,
Manoj (2 Replies)
Discussion started by: manoj.solaris
2 Replies
9. Solaris
Hi Gurus of Solaris.
I have a problem yesterday when I was installing solaris in a x86 equipement
I attached some log that I capture when I try to resolve the problem
Any guru that can help please.
Any command or procedure that I can run, please advice me
Regards
Andres (10 Replies)
Discussion started by: andresguillen
10 Replies
10. Hardware
Dear all,
I am setting up a new Ethernet network at home, I am going to have a good 100 Mbps internet connection (optic fiber) with a modem that have a gigabit ethernet card.
I would like to to measure the speed of data transmission between several servers that are going to be connected to the... (2 Replies)
Discussion started by: freddie50
2 Replies
LEARN ABOUT DEBIAN
pure-authd
pure-authd(8) Pure-FTPd pure-authd(8)
NAME
pure-authd - External authentication agent for Pure-FTPd.
SYNTAX
pure-authd [-p </path/to/pidfile>] [-u uid] [-g gid] [-B] <-s /path/to/socket> -r /program/to/run
DESCRIPTION
pure-authd is a daemon that forks an authentication program, waits for an authentication reply, and feed them to an application server.
pure-authd listens to a local Unix socket. A new connection to that socket should feed pure-authd the following structure :
account:xxx
password:xxx
localhost:xxx
localport:xxx
peer:xxx
end
(replace xxx with appropriate values) . localhost, localport and peer are numeric IP addresses and ports. peer is the IP address of the
remote client.
These arguments are passed to the authentication program, as environment variables :
AUTHD_ACCOUNT
AUTHD_PASSWORD
AUTHD_LOCAL_IP
AUTHD_LOCAL_PORT
AUTHD_REMOTE_IP
AUTHD_ENCRYPTED
The authentication program should take appropriate actions to fetch account info according to these arguments, and reply to the standard
output a structure like the following one :
auth_ok:1
uid:42
gid:21
dir:/home/j
end
auth_ok:xxx
If xxx is 0, the user was not found (the next authentication method passed to pure-ftpd will be tried) . If xxx is -1, the user was
found, but there was a fatal authentication error : user is root, password is wrong, account has expired, etc (next authentication
methods will not be tried) . If xxx is 1, the user was found and successfully authenticated.
uid:xxx
The system uid to be assigned to that user. Must be > 0.
gid:xxx
The primary system gid. Must be > 0.
dir:xxx
The absolute path to the home directory. Can contain /./ for a chroot jail.
slow_tilde_expansion:xxx (optional, default is 1)
When the command 'cd ~user' is issued, it's handy to go to that user's home directory, as expected in a shell environment. But
fetching account info can be an expensive operation for non-system accounts. If xxx is 0, 'cd ~user' will expand to the system user
home directory. If xxx is 1, 'cd ~user' won't expand. You should use 1 in most cases with external authentication, when your FTP
users don't match system users. You can also set xxx to 1 if you're using slow nss_* system authentication modules.
throttling_bandwidth_ul:xxx (optional)
The allocated bandwidth for uploads, in bytes per second.
throttling_bandwidth_dl:xxx (optional)
The allocated bandwidth for downloads, in bytes per second.
user_quota_size:xxx (optional)
The maximal total size for this account, in bytes.
user_quota_files:xxx (optional)
The maximal number of files for this account.
ratio_upload:xxx (optional)
radio_download:xxx (optional)
The user must match a ratio_upload:ratio_download ratio.
Only one authentication program is forked at a time. It must return quickly.
OPTIONS
-u <uid>
Have the daemon run with that uid.
-g <gid>
Have the daemon run with that gid.
-B Fork in background (daemonization).
-s </path/to/socket>
Set the full path to the local Unix socket.
-R </path/to/program>
Set the full path to the authentication program.
-h Output help information and exit.
EXAMPLES
To run this program the standard way type:
pure-authd -s /var/run/ftpd.sock -r /usr/bin/my-auth-program &
pure-ftpd -lextauth:/var/run/ftpd.sock &
/usr/bin/my-auth-program can be as simple as :
#! /bin/sh
echo 'auth_ok:1'
echo 'uid:42'
echo 'gid:21'
echo 'dir:/home/j'
echo 'end'
AUTHORS
Frank DENIS <j at pureftpd dot org>
SEE ALSO
ftp(1), pure-ftpd(8) pure-ftpwho(8) pure-mrtginfo(8) pure-uploadscript(8) pure-statsdecode(8) pure-pw(8) pure-quotacheck(8) pure-authd(8)
RFC 959, RFC 2389, RFC 2228 and RFC 2428.
Pure-FTPd team 1.0.36 pure-authd(8)