Weird configuration


 
Thread Tools Search this Thread
Special Forums IP Networking Weird configuration
# 1  
Old 11-05-2008
Weird configuration

Hi All,

I have a problem with a weird configuration that I need and a few possible solutions came up, but I do not know how to implement none of them.

Let me explain the situation:

I have one switch, one tftp server (linux) and a couple of embedded devices that have the same IP address and it is impossible to be changed, fortunately they have different mac address.

When these embedded devices have to be upgraded, they download automatically its firmware file from the tftp server, but of course all the other devices have to be turned off and in this way it is impossible to work.

Here you have the question:

If I use iptables is there any way to execute a script when a package match with a rule ??

I was thinking in a possible solution but I need to take an action when a package matches with a iptables rule.

If anyone has any idea, please let me know it!!

Thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Weird behavior of Vi

Hi there, I am a bit puzzled by a weird behavior of Vi. I very simply would like to add increased numbers in some files. Since I have many thousands entries per file and many files, I would like to macro it in vi. To do this, I enter the first number ("0001") on the first line and then yank... (4 Replies)
Discussion started by: hypsis
4 Replies

2. Red Hat

Something weird with the FS size

Hi, I have a problem with a Files system. # df -h Sys. de fich. Tail. Occ. Disp. %Occ. Monté sur /dev/cciss/c0d0p3 5,7G 3,7G 1,8G 68% / /dev/cciss/c0d0p1 97M 9,9M 82M 11% /boot /dev/cciss/c0d0p7 2,9G 2,0G 802M 71% /cache tmpfs 506M 0 ... (2 Replies)
Discussion started by: Castelior
2 Replies

3. UNIX for Dummies Questions & Answers

File with a weird name 'q'

All, I have the following listing of files $ ls -lrt -rw-rw-rw- 1 user1 group1 335691 Aug 4 17:45 script1.sh -rw-rw-rw- 1 user1 group1 648 Aug 4 17:45 try,csv -rw-rw-rw- 1 user1 group1 1381275 Aug 4 17:45 test.txt -rw-rw-rw- 1 user1 group1 ... (7 Replies)
Discussion started by: rahulrathod
7 Replies

4. UNIX for Dummies Questions & Answers

weird warning

what does the following mean and how can it be fixed tcpdump: WARNING: arptype 65535 not supported by libpcap - falling back to cooked socket Couldn't find user 'pcap' (1 Reply)
Discussion started by: chrisb345
1 Replies

5. Shell Programming and Scripting

Help with my weird script!

So I have this script titled "testing.sh" #!/bin/ksh #PROGRAM INITIALIZATION HomeDir=/home/sap/gl/ftp server=testftp01 userid=ftp_uatollmsgbus password="f&p53715" MSGLOG=${HomeDir}/msglog.txt FTPLogTmp=${HomeDir}/testing.tmp FTPLogFile=${HomeDir}/testing.log... (1 Reply)
Discussion started by: kdyzsa
1 Replies

6. HP-UX

HP-UX weird FTP ?

Hi, I am trying to connect to a distributors FTP server (which returns the prompt at the bottom of this post). Each week these people post our sales data using the same file names. When you do an ls you can see them all there for months on end. When I use my windows or linux ftp clients I can... (10 Replies)
Discussion started by: IngmarMeins
10 Replies

7. HP-UX

weird core

If have this core here.. generated by ARIES32: Core file for PA32 application saved to /var/vx/isis/core.vxsvc I load it up in gdb and do a where.. I see.. (gdb) where #0 0xc22afb7c in smallcount+0 () from /usr/lib/libc.2 #1 0xc34759cc in write_stream+0xfc () from... (1 Reply)
Discussion started by: nkshirsagar
1 Replies

8. Shell Programming and Scripting

weird permissions

Context: Apache 2.0, Redhat 8.0, Perl 5.80 I am using the follwing line to write a file open UPLOADFILE, ">$writeto" or errorcantwrite(); which works just fine when the directory permissions are 700 However .... I dont want to have a directory that allows users to both upload and... (1 Reply)
Discussion started by: andyj
1 Replies

9. UNIX for Dummies Questions & Answers

Weird Problem???

I have a problem I don't understand... I am trying to declare a variable, and then output the results of that variable, couldn't be simpler #!/bin/ksh VAR='Oranges' if then echo "Found Lemons" elif then echo "Found Oranges" fi The output shouold clearly be "Found Oranges", but... (2 Replies)
Discussion started by: danhodges99
2 Replies
Login or Register to Ask a Question
WIRELESS(7)						     Linux Programmer's Manual						       WIRELESS(7)

NAME
wireless - Wireless Tools and Wireless Extensions SYNOPSIS
iwconfig iwpriv -a DESCRIPTION
The Wireless Extensions is an API allowing you manipulate Wireless LAN networking interfaces. It is composed of a variety of tools and configuration files. It is documented in more detail in the Linux Wireless LAN Howto. The Wireless Tools are used to change the configuration of wireless LAN networking interfaces on the fly, to get their current configura- tion, to get statistics and diagnose them. They are described in their own man page, see below for references. Wireless configuration is specific to each Linux distribution. This man page will contain in the future the configuration procedure for a few common distributions. For the time being, check the file DISTRIBUTIONS.txt included with the Wireless Tools package. DEBIAN 3.0 In Debian 3.0 (and later) you can configure wireless LAN networking devices using the network configuration tool ifupdown(8). File : /etc/network/interfaces Form : wireless-<function> <value> wireless-essid Home wireless-mode Ad-Hoc See also : /etc/network/if-pre-up.d/wireless-tools /usr/share/doc/wireless-tools/README.Debian SuSE 8.0 SuSE 8.0 (and later) has integrated wireless configuration in their network scripts. Tool : Yast2 File : /etc/sysconfig/network/wireless /etc/sysconfig/network/ifcfg-* Form : WIRELESS_<function>=<value> WIRELESS_ESSID="Home" WIRELESS_MODE=Ad-Hoc See also : man ifup info scpm ORIGINAL PCMCIA SCRIPTS
If you are using the original configuration scripts from the Pcmcia package, you can use this method. File : /etc/pcmcia/wireless.opts Form : *,*,*,*) ESSID="Home" MODE="Ad-Hoc" ;; See also : /etc/pcmcia/wireless File PCMCIA.txt part of Wireless Tools package AUTHOR
Jean Tourrilhes - jt@hpl.hp.com http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/ SEE ALSO
iwconfig(8), iwlist(8), iwspy(8), iwpriv(8), iwevent(8). wireless-tools 4 March 2004 WIRELESS(7)