LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-27-2013, 10:26 AM   #1
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 539Reputation: 539Reputation: 539Reputation: 539Reputation: 539Reputation: 539
Spoofing laptop information with unknown wireless networks


I now have a stable network manager setup on my Thinkpad T400. Currently I only support my own home network with one wired and one wireless configuration.

Next I'd like to venture into the jungle and be able to use the laptop with other wireless networks outside the sanity and safety of my home lan.

I want to spoof my hostname and MAC address. Nothing mysterious, just common sense privacy and a little monkey-wrenching against sick people who think they need to track every human on the planet.

By script I can change both the hostname and MAC address. That is not the question in this thread.

My question is when is the appropriate time in the boot sequence to do that? I don't know how network manager functions or at what point network manager exposes a laptop's hostname and MAC address. Obviously I need to spoof those parameters before network manager discloses this information the first time.

I don't want and have no need to change either parameter when connecting to my home lan.

At this point I have my home lan wired and wireless configurations set to automatically connect. Seems to make sense because when I'm home I trust myself and when I'm not those connection points won't exist and network manager "should" stop trying to connect anything else because nothing else would be configured to automatically connect. I'm thinking (guessing) that I then use a network manager applet wrapper to scan for existing networks. I presume then before I scan for any open networks is when I need to spoof the hostname and MAC address.

Ideas and thoughts appreciated.
 
Old 08-27-2013, 11:26 AM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279
Both network manager and wicd are started in /etc/rc.d/rc.M, so you could make your own script to change the hostname and MAC and run it before this.

However, I'm pretty sure a router only logs your hostname and MAC after you connect. So, in theory, you could just change it yourself before you connect.

You are lucky you can change your MAC, because I have a wifi card where it won't let you.

I also recommend against connecting to unencrypted networks as it's pretty easy for people to setup phishing sites on these networks and then grab your login info, etc.
 
  


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
How to access to users quality information on WIFI networks iteam Linux - Wireless Networking 3 07-21-2011 07:41 AM
No Wireless Networks Found After Ubuntu 9.10 Upgrade Using a IBM Wireless-B Card mepis1 Ubuntu 15 02-01-2010 08:52 PM
Established and unreplied tcp-connections from/to unknown networks Ygrex Linux - Networking 10 08-16-2009 04:49 PM
bridging wireless networks - kubuntu laptop alaios Linux - Wireless Networking 0 11-20-2007 04:24 AM
Need help spoofing MAC address, ifconfig down seems to remove wireless card sicc Linux - Wireless Networking 0 11-30-2004 02:42 AM


All times are GMT -5. The time now is 10:35 PM.

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