03-31-2009
Thanks but why ifup wlan0 doesn't work?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have been looking in the scripts for interface management, in an effort to kick off a script of my own on any "significant network event" (I will qualify that in a bit)
I managed to add a check to tell netplugd to run my script every time there is a hot-plug event. Now I need to make it so my... (0 Replies)
Discussion started by: jjinno
0 Replies
2. Red Hat
hi there
the ethernet wire was out of the pc when the system started.
#ifconfig
#ifconfig -a
i did not get any ip for eth0.
i plug the cable into the pc
#ifdown eth0
#ifup eth0
now the ip address is assigned to eth0
Question is : IS this right way to bring ethernet down... (2 Replies)
Discussion started by: dplinux
2 Replies
3. Shell Programming and Scripting
I've been finding myself using a log file colorizer written in perl to reformat and colorize the output from many different programs. Mainly, however, I use it to make the output from "tail -f" commands more readable.
The base perl script I use is based on "colorlogs.pl" available from the... (1 Reply)
Discussion started by: rcsteiner
1 Replies
4. Shell Programming and Scripting
How can view log messages between two time frame from /var/log/message or any type of log files.
when logfiles are very big and especially many messages with in few minutes, I would like to display log messages between 5 minute interval.
Could you pls give me the command? (1 Reply)
Discussion started by: johnveslin
1 Replies
5. HP-UX
AM in need of some plugin/script that can monitor HP-UX file "/var/opt/resmon/log/event.log" .
Have written a scrip in sh shell that is working fine for syslog.log and mail.log as having standard format, have interrogated that to Nagios and is working as I required .
But same script failed to... (3 Replies)
Discussion started by: Shirishlnx
3 Replies
6. Shell Programming and Scripting
is there a way to efficiently monitor logfiles that do not have a date or time format? i have several logs on several different servers that need to be monitored. but i realized writing a script for this would be very complex and time consuming giving the variety of things i need to check for i.e.... (2 Replies)
Discussion started by: SkySmart
2 Replies
7. Red Hat
I've got an issue with a VMWare server running RHEL 6.3 that has dual E1000 NICs. I have configured the cards as I would normally do in /etc/sysconfig/network-scripts as ifcfg-eth0 and ifcfg-eth1. I can execute ifup eth0 and bring the interface up quite happily, however when I execute ifup eth1 it... (2 Replies)
Discussion started by: phaedrus
2 Replies
8. Shell Programming and Scripting
How to check log size every 10min. by script (can use crontab)
if log size not change with alert "Log not update"
Base run on SunOS 5.8 Generic_Virtual sun4u sparc SUNW,SPARC-Enterprise
logFiles="log1.log log2.log"
logLocation="/usr/home/test/log/"
Out put.
Tue Jan 31... (3 Replies)
Discussion started by: ooilinlove
3 Replies
9. Shell Programming and Scripting
Hi ,
We have around 22 logs , each has different entries. I have to automate this using shell script. The ideas which am sharing is given below
1) We use only TAIL -100 <location and name of the log> Command to check the logs.
2) We want to check whether the log was updated before 24... (13 Replies)
Discussion started by: Kalaihari
13 Replies
10. Shell Programming and Scripting
Below is my script to log all the command input by any user to /var/log/messages. But I cant achieve the desired output that i want. PLease see below.
function log2syslog
{
declare COMMAND
COMMAND=$(fc -ln -0)
logger -p local1.notice -t bash -i -- "$USER:$COMMAND"
}
trap... (12 Replies)
Discussion started by: invinzin21
12 Replies
WPI(4) BSD Kernel Interfaces Manual WPI(4)
NAME
wpi -- Intel 3945ABG Wireless LAN IEEE 802.11 driver
SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file:
device wpi
device wpifw
device pci
device wlan
device wlan_amrr
device firmware
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
if_wpi_load="YES"
DESCRIPTION
The wpi driver provides support for the Intel 3945ABG Wireless network adapter. wpi supports station, adhoc, and monitor mode operation.
Only one virtual interface may be configured at any time. For more information on configuring this device, see ifconfig(8).
This driver requires the firmware built with the wpifw module to work.
FILES
/usr/share/doc/legal/intel_wpi/LICENSE wpi firmware license
EXAMPLES
Join an existing BSS network (i.e., connect to an access point):
ifconfig wlan0 create wlandev wpi0 inet 192.168.0.20
netmask 0xffffff00
Join a specific BSS network with network name ``my_net'':
ifconfig wlan0 create wlandev wpi0 ssid my_net up
Join a specific BSS network with 64-bit WEP encryption:
ifconfig wlan0 create wlandev wpi0 ssid my_net
wepmode on wepkey 0x1234567890 weptxkey 1 up
Join a specific BSS network with 128-bit WEP encryption:
ifconfig wlan0 create wlandev wpi0 wlanmode adhoc ssid my_net
wepmode on wepkey 0x01020304050607080910111213 weptxkey 1
DIAGNOSTICS
wpi%d: could not load firmware image '%s' The driver failed to load the firmware image using the firmware(9) subsystem. Verify the wpifw
firmware module is installed.
wpi%d: fatal firmware error An unknown error has occurred in the uploaded firmware, you may have to unload/reload the driver to continue.
wpi%d: Radio transmitter is switched off The hardware switch controlling the radio is currently turned off. Data transmission is not possi-
ble in this state.
SEE ALSO
pci(4), wlan(4), wlan_ccmp(4), wlan_tkip(4), wlan_wep(4), wpifw(4), ifconfig(8), wpa_supplicant(8)
AUTHORS
The original wpi driver was written for OpenBSD by Damien Bergamini <damien.bergamini@free.fr>. Benjamin Close <benjsc@FreeBSD.org> ported
wpi to FreeBSD.
BUGS
Not all the error messages are documented here.
Background scanning is not currently supported.
BSD
October 5, 2008 BSD