10 More Discussions You Might Find Interesting
1. Solaris
please find the below o/p for your reference
bash-3.00# fcinfo hba-port
HBA Port WWN: 21000024ff295a34
OS Device Name: /dev/cfg/c2
Manufacturer: QLogic Corp.
Model: 375-3356-02
Firmware Version: 05.03.02
FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies
2. Solaris
Hello,
I have an unloaded T5140 machine and want to access the ILOM for the first time and subsequently the network port after that., and then load Solaris 10 the final January 2011 build.
The first part is what confuses me -the cabling.
I am coming from a Windows machine (w/appropriate... (5 Replies)
Discussion started by: joboy
5 Replies
3. Web Development
I need to set a serial port to 9600 7E1. How do I accomplish this?
I've tried every combination, with no luck. (6 Replies)
Discussion started by: Meow613
6 Replies
4. Web Development
I am trying to write to a serial port and capture the reponse in a file -
adduser ethan dialout
The user `ethan' is already a member of `dialout'
root@meow:/home/ethan# ls -l /dev/ttyS0
crw-rw-r-- 1 ethan dialout 4, 64 Oct 7 20:55 /dev/ttyS0
$fh1 = fopen("/dev/ttyS0", "w+");... (74 Replies)
Discussion started by: Meow613
74 Replies
5. Solaris
Hi Everyone,
In my environment, I have few T5220. On the iLOM Management Card, I have both Network and Serial port are cabled, I don't have any issues while I try to connect using Network Management port, but when I try to connect the serial port for the same server which is actually connected... (3 Replies)
Discussion started by: bobby320
3 Replies
6. Shell Programming and Scripting
Hi,
I have a external board connected to my serial port. I need to execute "shutdown -r now" command when system boot up. When system boots up it requires a username ans password. Then I need to run my command. I can use rc script but that is rebooting system before it asks for username and... (0 Replies)
Discussion started by: charlie.arya
0 Replies
7. Programming
Hello!
Can someone advice me which method I will use if I want to communicate with device via RS232 serial port with this requirements:
1. Serial port is opened in non-canonical mode.
2. All the time I need to check is there something to read.
3. If I have to write something I need to write it... (6 Replies)
Discussion started by: jvrlic
6 Replies
8. Programming
I am developing an application in c with Linux OS, where a radio modem working at baud rate 9600 will be attached to PC on serial port. More than four such units will be communicating at one time, so there may be jamming or data corruption. Each module will be transmitting Data packets less than... (2 Replies)
Discussion started by: raj8109
2 Replies
9. Linux
Hi All,
I am a begineer in Linux, I have 4 ports and 3 are operational port 1,port 2 and port 4 (when I plug in serial device I can see it working) but port 3 seems it is not working.
I am sure the hardware is fine.
when I give command
dmesg | grep tty
I get,
serial 8250:ttyS0 at... (0 Replies)
Discussion started by: vr_82
0 Replies
10. UNIX for Dummies Questions & Answers
I am having trouble with a device connected through a serial port on my sun workstation ( I am running solaris 7).
The seriel device works on an identical workstation running the same o/s version but when I move it to the initial workstation it doesn't work. I am using an rs232 serial cable and... (1 Reply)
Discussion started by: Henrik
1 Replies
mod_security(3erl) Erlang Module Definition mod_security(3erl)
NAME
mod_security - Security Audit and Trailing Functionality
DESCRIPTION
Security Audit and Trailing Functionality
EXPORTS
list_auth_users(Port) -> Users | []
list_auth_users(Address, Port) -> Users | []
list_auth_users(Port, Dir) -> Users | []
list_auth_users(Address, Port, Dir) -> Users | []
Types Port = integer()
Address = {A,B,C,D} | string() | undefined
Dir = string()
Users = list() = [string()]
list_auth_users/1 , list_auth_users/2 and list_auth_users/3 returns a list of users that are currently authenticated. Authentica-
tions are stored for SecurityAuthTimeout seconds, and are then discarded.
list_blocked_users(Port) -> Users | []
list_blocked_users(Address, Port) -> Users | []
list_blocked_users(Port, Dir) -> Users | []
list_blocked_users(Address, Port, Dir) -> Users | []
Types Port = integer()
Address = {A,B,C,D} | string() | undefined
Dir = string()
Users = list() = [string()]
list_blocked_users/1 , list_blocked_users/2 and list_blocked_users/3 returns a list of users that are currently blocked from access.
block_user(User, Port, Dir, Seconds) -> true | {error, Reason}
block_user(User, Address, Port, Dir, Seconds) -> true | {error, Reason}
Types User = string()
Port = integer()
Address = {A,B,C,D} | string() | undefined
Dir = string()
Seconds = integer() | infinity
Reason = no_such_directory
block_user/4 and block_user/5 blocks the user User from the directory Dir for a specified amount of time.
unblock_user(User, Port) -> true | {error, Reason}
unblock_user(User, Address, Port) -> true | {error, Reason}
unblock_user(User, Port, Dir) -> true | {error, Reason}
unblock_user(User, Address, Port, Dir) -> true | {error, Reason}
Types User = string()
Port = integer()
Address = {A,B,C,D} | string() | undefined
Dir = string()
Reason = term()
unblock_user/2 , unblock_user/3 and unblock_user/4 removes the user User from the list of blocked users for the Port (and Dir) spec-
ified.
THE SECURITYCALLBACKMODULE
The SecurityCallbackModule is a user written module that can receive events from the mod_security Erlang Webserver API module. This module
only exports the function(s), event/4,5 , which are described below.
EXPORTS
event(What, Port, Dir, Data) -> ignored
event(What, Address, Port, Dir, Data) -> ignored
Types What = atom()
Port = integer()
Address = {A,B,C,D} | string() <v>Dir = string()
Data = [Info]
Info = {Name, Value}
event/4 or event/4 is called whenever an event occurs in the mod_security Erlang Webserver API module ( event/4 is called if Address
is undefined and event/5 otherwise). The What argument specifies the type of event that has occurred, and should be one of the fol-
lowing reasons; auth_fail (a failed user authentication), user_block (a user is being blocked from access) or user_unblock (a user
is being removed from the block list).
Note:
Note that the user_unblock event is not triggered when a user is removed from the block list explicitly using the unblock_user function.
Ericsson AB inets 5.5.2 mod_security(3erl)