Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

macchanger problem

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
Cid
Apprentice
Apprentice
User avatar
Posts: 155
Joined: Fri Dec 19, 2003 6:35 am
Location: New York

macchanger problem

  • Quote

Post by Cid » Thu Dec 09, 2004 8:28 pm

hi, i've been using macchanger for a while now and it worked perfectly. now today i try to bring up the interface and i get this error:

Code: Select all

# /etc/init.d/net.eth1 start
 * Starting eth1
 *              macchanger: missing required function interface_variable

this has never happened before and i don't know what it means. usually is just says it changed the mac and starts up perfectly. i tried commenting out the mac_eth1 part in my /etc/conf.d/net file to disable mac changing to see if something might happen, but i get the same error! i guess this isn't the only thing that is trying to use macchanger since when it's commented out i still get the error. anyone have any ideas?
Spiral out. Keep going...
Top
Cid
Apprentice
Apprentice
User avatar
Posts: 155
Joined: Fri Dec 19, 2003 6:35 am
Location: New York

  • Quote

Post by Cid » Fri Dec 10, 2004 12:41 am

another thing....i have eth0 and eth1, for some reason it swtiches back and forth for some reason between my wireless card and my ethernet port. regardless of that, it's only on eth1 that i have this macchanger problem. right now for some reason my wireless card changed to eth1, and i tried bringing it up and i got the same error, but was able to use the ethernet port as eth0. so for some reason whenever i try to bring up eth1 i'm getting this macchanger problem.
Spiral out. Keep going...
Top
Cid
Apprentice
Apprentice
User avatar
Posts: 155
Joined: Fri Dec 19, 2003 6:35 am
Location: New York

  • Quote

Post by Cid » Fri Dec 10, 2004 5:44 pm

ok, i guess no one has seen this problem and i can't figure it out myself. so does anyone have any experience with macchanger? maybe not this problem specifically, but anything. how does it get called when starting the eth interfaces? i need to know so i can stop it from calling it. hopefully someone will know this at least :) thanks.
Spiral out. Keep going...
Top
UberLord
Retired Dev
Retired Dev
User avatar
Posts: 6838
Joined: Thu Sep 18, 2003 10:26 am
Location: Blighty
Contact:
Contact UberLord
Website

  • Quote

Post by UberLord » Fri Dec 10, 2004 8:53 pm

http://forums.gentoo.org/viewtopic.php?t=261749
Top
Cid
Apprentice
Apprentice
User avatar
Posts: 155
Joined: Fri Dec 19, 2003 6:35 am
Location: New York

  • Quote

Post by Cid » Fri Dec 10, 2004 10:08 pm

cool, thanks. i linked both eth0 and eth1 to lo, now they both work. but eth1 doesn't work when i have the mac_eth1 variable set in /etc/conf.d/net. it says:

Code: Select all

ERROR: Can't  change MAC: interface up or not permission: Device or resource busy
i don't know why this is happening. the device is definitely not busy, i just started the machine and this was the first time i tried to bring it up. it works without that variable set though, so thanks for that, but do you have any idea why macchanger won't work now?
Spiral out. Keep going...
Top
UberLord
Retired Dev
Retired Dev
User avatar
Posts: 6838
Joined: Thu Sep 18, 2003 10:26 am
Location: Blighty
Contact:
Contact UberLord
Website

  • Quote

Post by UberLord » Sat Dec 11, 2004 1:11 am

Thats probably a bug - some drivers require the interface to be up - and some require it down. The next version should cater for both.

If you require an immediate fix, then change interface_up to interface_down in the macchanger module (or vice versa)
Top
Cid
Apprentice
Apprentice
User avatar
Posts: 155
Joined: Fri Dec 19, 2003 6:35 am
Location: New York

  • Quote

Post by Cid » Sat Dec 11, 2004 8:44 am

sorry to be a pain, but what do you mean change it in the macchanger module?
Spiral out. Keep going...
Top
UberLord
Retired Dev
Retired Dev
User avatar
Posts: 6838
Joined: Thu Sep 18, 2003 10:26 am
Location: Blighty
Contact:
Contact UberLord
Website

  • Quote

Post by UberLord » Sat Dec 11, 2004 12:38 pm

Yes
Top
Cid
Apprentice
Apprentice
User avatar
Posts: 155
Joined: Fri Dec 19, 2003 6:35 am
Location: New York

  • Quote

Post by Cid » Sat Dec 11, 2004 4:52 pm

hahaha....what is the macchanger module to change? where is it located? sorry, i don't understand :?
Spiral out. Keep going...
Top
UberLord
Retired Dev
Retired Dev
User avatar
Posts: 6838
Joined: Thu Sep 18, 2003 10:26 am
Location: Blighty
Contact:
Contact UberLord
Website

  • Quote

Post by UberLord » Sun Dec 12, 2004 10:31 am

Tell ya what, here's a direct link it the machanger module

Save it to /lib/rcscripts/net.modules.d as macchanger
Top
Post Reply

10 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic