LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-10-2009, 01:18 PM   #1
darkstar01
Member
 
Registered: Nov 2008
Distribution: Slackware 12.1 and Ubuntu 8.04
Posts: 38

Rep: Reputation: 15
Changing MAC address help


Ok, I'm used to Slackware and using ifconfig up/down to use the GNU Macchanger. But I'm new to Debian and have tried both the ifconfig and /etc/init.d/network stop/start/restart options but I always seem to get an error. Generally it is an unresolved DNS error.

I always have to reboot my computer to get my eth0 back up and then it resets my faked MAC.

I'm not sure how to fix it. I'm not new to computers but I'm new to the realm of networking and fixing DNS errors.

Thanks to all who help in advance.
 
Old 08-10-2009, 01:23 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Why do you need a fake MAC address ?
What are the error messages?

Quote:
I'm used to Slackware and using ifconfig up/down to use the GNU Macchanger.
The same commands should work in debian
 
Old 08-10-2009, 01:27 PM   #3
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 70
Quote:
Originally Posted by darkstar01 View Post
Ok, I'm used to Slackware and using ifconfig up/down to use the GNU Macchanger. But I'm new to Debian and have tried both the ifconfig and /etc/init.d/network stop/start/restart options but I always seem to get an error. Generally it is an unresolved DNS error.

I always have to reboot my computer to get my eth0 back up and then it resets my faked MAC.

I'm not sure how to fix it. I'm not new to computers but I'm new to the realm of networking and fixing DNS errors.

Thanks to all who help in advance.
Somehow DNS errors and MAC address issues don't seem to be very related to me. Could you post the exact commands you're typing and the exact error message you're getting?
 
Old 08-10-2009, 09:20 PM   #4
darkstar01
Member
 
Registered: Nov 2008
Distribution: Slackware 12.1 and Ubuntu 8.04
Posts: 38

Original Poster
Rep: Reputation: 15
Ok, using ifconfig I get "connect: Network is unreachable"

and using /etc/init.d/networking I get "ping: unknown host www.google.com"
 
Old 08-11-2009, 05:58 AM   #5
mushroomboy
Member
 
Registered: Jan 2006
Distribution: Debian Testing ALWAYS!!!
Posts: 363

Rep: Reputation: 43
First you shouldn't need a fake MAC unless your trying to bypass for a network. Or you are extremely paranoid, and if that is the case you should try setting up the network with everything set to default. If it doesn't auto then you should find out why... Like if your getting an unknown host error and you have access to internet somehow (as in being here) then you could find out the IP of google and ping that. Also, if you are being a router it's not your problem, it's the routers... =P But yes, first try to ping an IP, if that doesn't work then your not getting a signal from the ISP (or gateway).
 
Old 08-11-2009, 11:41 AM   #6
darkstar01
Member
 
Registered: Nov 2008
Distribution: Slackware 12.1 and Ubuntu 8.04
Posts: 38

Original Poster
Rep: Reputation: 15
I fixed the issue.
It turns out it's wasn't a DNS issue, it was that my dhcp never gave me a new IP because I forgot to run the dhclient to reassign an IP.

Thanks for all the help guy.
 
  


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
Changing MAC address. vigneshke Linux - Networking 5 06-20-2009 05:08 PM
Cannot connect after changing MAC address SentralOrigin Linux - Wireless Networking 6 03-28-2009 02:12 PM
Randomly changing MAC address? sancho Linux - Hardware 4 11-24-2007 11:00 AM
Changing your MAC address kamransoomro84 Linux - General 3 04-22-2006 06:42 AM
Changing my Mac address griggt Linux - Networking 3 07-26-2005 05:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration