LinuxQuestions.org
Visit Jeremy's Blog.
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 04-25-2009, 09:15 PM   #1
dellthinker
Member
 
Registered: Jan 2007
Distribution: Debian
Posts: 220

Rep: Reputation: 30
Cant disable eth1


Hi all, im using my wireless card for internet and im trying to disable the device.

When i run this command i get the following...

Code:
ifconfig

eth1      Link encap:Ethernet  HWaddr 00:16:6f:25:88:01  
          inet addr:10.23.2.3  Bcast:10.23.2.255  Mask:255.255.255.0
          inet6 addr: fe80::216:6fff:fe25:8801/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:2166 errors:2 dropped:10 overruns:0 frame:0
          TX packets:1874 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1415057 (1.3 MiB)  TX bytes:389136 (380.0 KiB)
          Interrupt:21 Base address:0xa000 Memory:a8401000-a8401fff

But when i try to disable it i get this..

Code:
ifdown eth1

ifdown: interface eth1 not configured
What does this mean and how do i fix it? Thanx in advance!
 
Old 04-25-2009, 09:26 PM   #2
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
ifdown and ifup are part of the ifupdown wrapper package and they do "additional stuff" (like calling dhclient.) The message you are seeing indicates that some of this "additional stuff" has not been configured. To circumvent this, try at a more basic level:

Code:
sudo ifconfig eth1 down

Last edited by jhwilliams; 04-25-2009 at 09:29 PM. Reason: elaboration
 
Old 04-25-2009, 09:35 PM   #3
hurry_hui
Member
 
Registered: Oct 2008
Location: Near Jakarta
Distribution: Slackware, Arch, Slax, Porteus, Tiny Core, Slitaz
Posts: 355
Blog Entries: 1

Rep: Reputation: 52
Quote:
...
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
...
This shows that your card is in monitor mode.

You need also to post 'lspci | grep -i network' and 'ifconfig -a'.

Btw, can you do 'ifconfig [your_wlan_name] down'?

It seems that you use kismet or airodump-ng. To get out from monitor mode, you need to 'modprobe -r [wlan_module]' and 'modprobe [wlan_module]'.

---edit---

Oops! slow typist.

Last edited by hurry_hui; 04-25-2009 at 09:36 PM. Reason: Too slow
 
Old 04-26-2009, 12:56 AM   #4
dellthinker
Member
 
Registered: Jan 2007
Distribution: Debian
Posts: 220

Original Poster
Rep: Reputation: 30
Thanks, that solution worked.
 
  


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
howto acess intrnet thru eth1(wireless card)in winXP via briging in linux(eth0-eth1) labhesh_popli Linux - Wireless Networking 1 09-21-2006 01:11 AM
How to disable eth1 (wireless nic card) at startup? exitsfunnel Linux - Wireless Networking 4 02-27-2005 11:27 PM
Drake 10.0: how to disable eth1 on boot buehler Linux - Newbie 1 06-15-2004 12:21 PM
eth1 added, mysql connections FROM this machine are from eth1. Need bound to eth0??? kreese Linux - Networking 9 03-31-2004 12:12 PM
Kernel 2.4.22 finds eth0 and eth1 but 2.6.0 does not find eth1 coollink Linux - Networking 3 01-13-2004 07:32 PM

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

All times are GMT -5. The time now is 08:49 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