LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-16-2004, 05:35 PM   #1
juanb
Member
 
Registered: May 2002
Posts: 401

Rep: Reputation: 30
problem loading in promisc mode


Hi !!

I use FC 1 I need to to configure one of mt two nics so that when I boot the machine it will boot in promisc mode without an ip address, this is the configuration I put in /etc/sysconfig/network../ifcfg-eth1

# Intel Corp.|82557/8/9 [Ethernet Pro 100]
DEVICE=eth1
PROMISC=yes
BOOTPROTO=none
HWADDR=00:02:B3:24:EF:AE
ONBOOT=no
IPADDR=0.0.0.0
NETMASK=0.0.0.0

just after I issue manually or throw /etc/rc.d/rc.local the command ifconfig eth1 promisc up
It will start come alive and start capture network traffic.

I want to be able to start the nic in promics mode without issuing the command ifconfig eth1 promisc up.

Any ideas ?

thanks very much !!!
 
Old 09-16-2004, 07:54 PM   #2
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
Quote:
# Intel Corp.|82557/8/9 [Ethernet Pro 100]
DEVICE=eth1
PROMISC=yes
BOOTPROTO=none
HWADDR=00:02:B3:24:EF:AE
onBOOT=no
IPADDR=0.0.0.0
NETMASK=0.0.0.0
Maybe you have already tried this, but have you tried changing:

ONBOOT=no -to- ONBOOT=yes

To test what would happen during system boot, simply type:
cd /etc/sysconfig/network-scripts
./ifup eth1

Also, I don't see that the variable PROMISC is used in any of the redhat network scripts? You might need to modify the ifup script to add the promiscuous mode.

BTW Forum admins: Why is "ONBOOT" showing up as "onBOOT". I typed all upper case above. Strange
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lot of problem in capturing packet in promisc mode masood_gandhi Linux - Networking 2 11-26-2004 09:53 AM
set nic in promisc mode juanb Linux - Networking 1 09-01-2004 03:40 PM
Arp packets and Wifi Promisc mode SirSlappy Linux - Security 1 12-06-2003 10:02 AM
Promisc mode:Win2k question A-dummy Linux - Networking 3 09-03-2002 10:54 PM
eth0 in promisc mode sabeel_ansari Programming 2 06-21-2002 06:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration