LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 07-12-2010, 10:46 PM   #1
Goganchic
LQ Newbie
 
Registered: Feb 2010
Distribution: Ubuntu
Posts: 5

Rep: Reputation: 0
Question Ubuntu 10.04 Network Manager PPPoE change mac before connect


I have PPPoE internet connection at home and my provider verify mac address while I'm making connection, so before I can connect and send or receive some data I should change mac address on the eth0 adapter. Can I do this using Network Manager? I've found MAC option but if I am setting it - connection not even displaying in connections list.

My system: Ubuntu 10.04, Network Manager 0.8
 
Old 07-13-2010, 05:58 PM   #2
yooy
Senior Member
 
Registered: Dec 2009
Posts: 1,154

Rep: Reputation: 134Reputation: 134
Have you tried to run "change MAC" command during startup?
 
Old 07-14-2010, 01:09 AM   #3
Goganchic
LQ Newbie
 
Registered: Feb 2010
Distribution: Ubuntu
Posts: 5

Original Poster
Rep: Reputation: 0
I don't want to change mac always, only if I'm starting PPPoE connection.
 
Old 07-15-2010, 11:57 AM   #4
yooy
Senior Member
 
Registered: Dec 2009
Posts: 1,154

Rep: Reputation: 134Reputation: 134
MAC opption in nm-applet seems to be for device you are connecting to, not your MAC address.

However with little scripting you can write a script that change mac and connect with ifconfig
 
Old 07-19-2010, 05:10 PM   #5
subodhrohilla
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Rep: Reputation: 0
This is exactly what you are looking for :- http://www.ubuntugeek.com/change-you...on-ubuntu.html
 
Old 07-20-2010, 02:49 AM   #6
Goganchic
LQ Newbie
 
Registered: Feb 2010
Distribution: Ubuntu
Posts: 5

Original Poster
Rep: Reputation: 0
Subodhrohilla, thanks for your post, but this tool is not what I'm looking for It's only change mac address of some device, I know how to change device mac address using ifconfig, without any special utils, but I want Network Manager to change mac before connect and change it back after disconnect, so it will be very useful. May be there are some hooks in Network Manager, can I ask it to run some special shell command before connect and after disconnect?
 
Old 07-20-2010, 09:46 AM   #7
yooy
Senior Member
 
Registered: Dec 2009
Posts: 1,154

Rep: Reputation: 134Reputation: 134
I believe no. Writing small script would be easier.
 
  


Reply

Tags
mac address, manager, network, pppoe, ubuntu


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
cant connect pppoe on ubuntu 9.10 testver Linux - Networking 2 01-02-2010 06:21 AM
want ubuntu 8.10 to connect to network on BOOT, but still have Network Manager work monkeyman2000 Ubuntu 0 02-13-2009 03:22 PM
Unable to connect to wifi network with network manager. Poss authorization issue openSauce Linux - Networking 14 12-13-2008 10:05 AM
Ubuntu: GCC, PPPOE, and vain attempts to connect to the internet trevorv Linux - Newbie 11 02-04-2005 07:57 PM
I need to change the MAC adress (can't connect to the net) Agna Linux - Newbie 4 03-15-2004 01:23 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration