LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 07-14-2004, 07:28 PM   #1
Smiles_a_Lot
LQ Newbie
 
Registered: Mar 2004
Posts: 20

Rep: Reputation: 0
Linux Newbie MAC Question


Hello everyone,
At work we have changed how our computers are routed to the internet and I have been unable to apply the changes to my Xandros OS.I am running a dual boot OS setup W2000 and Xandros 2.0 and we are now required to have a network access or MAC code in order for the router to allow us access to the net. I have my code and have set up my Inet connection through W2000 but don't know how to do the same with Xandros.
Have been using Xandros almost exclusively since I set up the dual boot and do not want to go back to W2000. Can anyone help a Linux newb?
Thanks
Smiles_A_Lot

 
Old 07-14-2004, 10:46 PM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
Is this MAC code a MAC address or something different?
 
Old 07-15-2004, 10:57 AM   #3
Smiles_a_Lot
LQ Newbie
 
Registered: Mar 2004
Posts: 20

Original Poster
Rep: Reputation: 0
Linux Newbie Mac Question

Hi Ppuru,
Thanks for responding to my Q. I think it is a MAC address.To change it on my W2000 OS I went to Network & Dial-upconnections >Local area network>Properties> Configure(The Ethernet Card)> Advanced> then I highlighted Network address and under the Value section I unchecked "Not Present" and Checked the circle to manually put in a value...where I put in the MAC Code or Address(?).It's a code we're using to control who has access to our router.I don't know if that is enough info or not.

 
Old 07-15-2004, 10:16 PM   #4
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
you can
Code:
#ip link set dev eth0 address <your mac addr>
Redhat/Fedora does this auto using the MACADDR param in ifcfg-devx file.
 
Old 07-16-2004, 12:01 PM   #5
Smiles_a_Lot
LQ Newbie
 
Registered: Mar 2004
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks ppuru
I tried that at first it didn't recognize the" ip" command but I found that the" if"command is used for some network troubleshooting (ex ifconfig) so I used your command code with "if" instead.That just gave me a > prompt but I think that may be because I typed in the mac address as xx-xx-xx-xx-xx-xx rather than xx:xx:xx:xx:xx:xx The reason I think this is because while trying to get the command to work I typed in ifconfig and it gave me my ethernet card's MAC in the format xx:xx:xx:xx:xx:xx. Since I know had this number I gave it to the tech to get this card accepted by the router.Had fun trying all this out. Thx for your help! P.S. the command you gave me" #if link set dev eth0 address" was that to change my ethernets card MAC?
 
Old 07-17-2004, 01:25 AM   #6
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
the ip command belongs to the iproute2 package. if is an iterator in shell scripts - it has nothing to do with commands like ifconfig, ifup, ifdown etc.
 
Old 07-19-2004, 08:34 AM   #7
Smiles_a_Lot
LQ Newbie
 
Registered: Mar 2004
Posts: 20

Original Poster
Rep: Reputation: 0
Thx ppuru,
I got my ethernet cards actual MAC accepted by the router (once I found it out by using the ifconfig command) so my problem has been solved.
Thanks again for your help

 
  


Reply



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
dumb mac/linux question citrus Linux - Newbie 7 08-07-2005 03:40 PM
Mac Osx Like Linux For Newbie ?? my-unix-dream Linux - Newbie 2 04-17-2005 03:41 AM
Linux vs Mac question (Virus vulnerability related) unixfreak Linux - Security 14 08-29-2004 06:05 AM
Linux MAC question mickx27 Linux - Networking 4 08-03-2004 09:16 PM
distant connection to mac os 9 [newbie] aseedb Linux - Newbie 0 11-27-2003 06:57 AM

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

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