xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 Forum Rules Rules
 
Reply to this topicStart new topic
> I Fixed The Problem With Mac All 00000000, In All Debian for Xbox Versions - READ!
SlaYer
post Jan 24 2003, 06:41 PM
Post #1


X-S X-perience
**

Group: Members
Posts: 478
Joined: 29-July 02
Member No.: 2154
Xbox Version: v1.1
360 version: v1 (xenon)



01/25/03 UPDATE: MY SCRIPT HAS BEEN MADE INTO AN OFFICIAL TEMPORARY FIX FOR 0.1.0 MAC BUG! laugh.gif

Just do:
"apt-get update"
and then
"apt-get install xbox-macfix"
=========================================

I have solved a major problem related to the bug in Debain whereas the MAC was being read as all 00000's. The MAC being all 000's causes a major problem with any real firewall like a PIX since it has no way of returning packets to that machine.

See my previous post HERE! With more details.

Credits for solving this go to myself and some of the wonderfull folks on the #xbox-linux IRC channel. (ed, toface, tjfontaine, etc...)

If you experience networking problems and the MAC is ALL 0000's do this:

1) Create a script file called something like "macfix" and place it in the "/etc/network/if-pre-up.d" directory

2) Make the file executable with "chmod ug+x macfix"

3) The file contents should be like this (just get rid of the #---begin--- and #----end--- lines!):

#--------begin macfix-------------
#!/bin/sh
# made by 1wolf1 a.k.a SlaYer
#
if [ $IFACE != "eth0" ]; then
exit 0
fi
echo "Configuring MAC for ${IFACE}..."
/sbin/ifconfig eth0 hw ether `read_mac`
/sbin/ifconfig eth0 promisc
#--------end macfix-------------

4) Now, go to "/etc/network/" and run "nano interfaces" to edit the intrfaces file and make sure all IP/SM/Gateway are all OK. If they are just press CTRL-X to exit, or if you made changes, just press CTRL-O, ENTER, CTRL-X

That's it, reboot and when it comes back up it will work, have the correct MAC address, and you can ping anywhere, even through a PIX!

This post has been edited by 1wolf1: Jan 26 2003, 01:50 AM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
MosaX
post Jan 25 2003, 07:48 AM
Post #2


X-S Member
*

Group: Members
Posts: 75
Joined: 22-November 02
Member No.: 9796



Ahhh, thanks for hunting that fix down! At last, after trying for 2 weeks, I'm up on the net with Linux!
beerchug.gif beerchug.gif beerchug.gif beerchug.gif beerchug.gif and a pop.gif

Now it's on 2 adjusting the screen, if possible...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
SlaYer
post Jan 25 2003, 08:02 PM
Post #3


X-S X-perience
**

Group: Members
Posts: 478
Joined: 29-July 02
Member No.: 2154
Xbox Version: v1.1
360 version: v1 (xenon)



QUOTE (MosaX @ Jan 25 2003, 07:48 AM)
Ahhh, thanks for hunting that fix down! At last, after trying for 2 weeks, I'm up on the net with Linux!
beerchug.gif beerchug.gif  beerchug.gif  beerchug.gif  beerchug.gif  and a  pop.gif

Now it's on 2 adjusting the screen, if possible...

LOL, enjoy! it was my second day messing with it, but the #xbox-linux folks are most helpfull so best bet is to hang in the channel. See ya there...

BTW, my handle there is <xSlaYer>

This post has been edited by 1wolf1: Jan 25 2003, 08:03 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
SlaYer
post Jan 26 2003, 12:22 AM
Post #4


X-S X-perience
**

Group: Members
Posts: 478
Joined: 29-July 02
Member No.: 2154
Xbox Version: v1.1
360 version: v1 (xenon)



UPDATE: OFFICIAL FIX FOR MAC BUG AVAILABLE!

Just do: "apt-get install xbox-macfix to install"
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
MosaX
post Jan 26 2003, 12:23 PM
Post #5


X-S Member
*

Group: Members
Posts: 75
Joined: 22-November 02
Member No.: 9796



Thanks for that info, slayer.

Btw, where did U find it announced? I didn't se anything about it on the sourceforge site.

Also, R U required 2 remove the temp fix? I suppose so...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
MosaX
post Jan 26 2003, 12:55 PM
Post #6


X-S Member
*

Group: Members
Posts: 75
Joined: 22-November 02
Member No.: 9796



apt-get can't find xbox-macfix for me.

Which mirror did U find it on?

I have tried to apt-get update, and also added an additional (already have 3 local ones) source ftp.debian.org, which I'd guess is a 'master'. Maybe it takes time for the fix to propagate 2 all the mirrors?

====
Later that day:

I solved it by uncommenting these 2 lines in sources.list
deb http://localhost:9999/xbox-debian woody main
deb-src http://localhost:9999/xbox-debian woody main

Apperently they have something 2 do with finding xbox-related downloads using apt-get.


This post has been edited by MosaX: Jan 26 2003, 08:13 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
SlaYer
post Jan 27 2003, 12:09 AM
Post #7


X-S X-perience
**

Group: Members
Posts: 478
Joined: 29-July 02
Member No.: 2154
Xbox Version: v1.1
360 version: v1 (xenon)



QUOTE (MosaX @ Jan 26 2003, 12:23 PM)
Thanks for that info, slayer.

Btw, where did U find it announced? I didn't se anything about it on the sourceforge site.

Also, R U required 2 remove the temp fix? I suppose so...

Well, I found it by just hanging out in the #xbox-linux IRC channel.

However the "fix" for now is "MY" fix. However it's a catch 22, since in order to get the fix you need to be online laugh.gif So best bet is to follow my instuctions and make it yourself as the "fix" just places my "macfix" file in the "/etc/network/if-pre-up.d" directlry.

Apparently there has been a kernel level fix implemented, it's in CVS, but it requires at least a partial re-compile of the kernel and I shy away from that for now. Next release will more than likely have it fixed from the getgo.

Remember your best place for latest info and support is #xbox-linux on IRC so come on in and say hi to me "xSlayer" when you're there laugh.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Yackom
post Jan 28 2003, 04:56 AM
Post #8


X-S Enthusiast


Group: Members
Posts: 16
Joined: 3-January 03
Member No.: 16299



what irc server are you talking about? in #xbox-linux?

thanks for the fix, even tho i have yet to do it.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
trotyl
post Jan 29 2003, 08:48 AM
Post #9


X-S Enthusiast


Group: Members
Posts: 18
Joined: 29-January 03
Member No.: 21743



Hi,

i Got problem with this fix and net on my Debian sad.gif
My xbox is 192.168.0.2 and works fine i can login via ssh but he cant ping sad.gif
My pc is 192.168.0.1.
On Pc i got second lan card that conects to the net i got IP trotyl.pai.net.pl and dns 172.16.1.1. When i conect to xbox i cant ping sad.gif
In interface i got:

iface lo inet loopback

iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
gateway 192.168.0.1

i Think it is good but dunno sad.gif

In resolv.conf i got:

domain trotyl.pai.net.pl
nameserver 172.16.1.1
nameserver 172.16.1.2

....

So i want to do macfix...
i enter dir
/etc/network/if-pre-up.d
and type vi macfix
and in macfix i got:


#!/bin/sh
# made by 1wolf1 a.k.a SlaYer
#
if [ $IFACE != "eth0" ]; then
exit 0
fi
echo "Configuring MAC for ${IFACE}..."
/sbin/ifconfig eth0 hw ether `read_mac`
/sbin/ifconfig eth0 promisc

exit by esc :x enter
and then i type
chmod ug+x macfix

and reset the net by ifdown eth0; ifup eth0 and i got Configuring MAC for eth0...

then i type ping -c 4 google.ca

ping: unknown host google.ca

So i dont have net to my xbox sad.gif Dunno what to do now sad.gif

Plz help... Thx
Greetz smile.gif

User is offlineProfile CardPM
Go to the top of the page
+Quote Post
trotyl
post Jan 29 2003, 09:14 AM
Post #10


X-S Enthusiast


Group: Members
Posts: 18
Joined: 29-January 03
Member No.: 21743



Ok it works smile.gif My Windows Xp dont get Internet Sharing sad.gif now it works... must fight:)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
SlaYer
post Jan 30 2003, 09:26 PM
Post #11


X-S X-perience
**

Group: Members
Posts: 478
Joined: 29-July 02
Member No.: 2154
Xbox Version: v1.1
360 version: v1 (xenon)



QUOTE (trotyl @ Jan 29 2003, 09:14 AM)
Ok it works smile.gif My Windows Xp dont get Internet Sharing sad.gif now it works... must fight:)

Great, good to hear it... well now you can play with linux... :-)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
gulizi
post Feb 1 2003, 11:18 PM
Post #12


X-S Enthusiast


Group: Members
Posts: 1
Joined: 4-January 03
Member No.: 16449



thx man, you saved me, spent a few hours trying to figure this out, even trying to recompile kernel...

This post has been edited by gulizi: Feb 1 2003, 11:19 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
mustang79
post Mar 11 2003, 05:57 AM
Post #13


X-S Enthusiast


Group: Members
Posts: 13
Joined: 11-March 03
Member No.: 26875



Hi, I'm not sure if my problem is related, but i'm going try and post it here anyway smile.gif

I installed Ed's Debian 0.1.0 and the installation went fine. Did the mac address fix, also because that was necessary.

I have to go through a proxy for both http, and ftp at my college. I've edited the wgetrc file in /etc to reflect the http, and ftp proxy's. I'm not able to do "apt-get update" because it times out. It cycles through a bunch of "hits", and I guess it's retrieving the list of packages, but it times out just seconds later. The last message said something about wine. I'm not sure if it's actually connecting because it only mentions localhost (which from what i understand is then passed on apt-proxy).

I also don't seem to be able to ping correctly. I added http_proxy and ftp_proxy in my .profile in case that would help, but it didn't.

I'm not at all sure what I'm doing wrong at this point, but I've tried a lot of things. I would very much appreciate some help, if anyone can make heads or tails of my problem.

SlaYer, your work on the XBox is VERY well appreciated on this end!

Thanks,
Carl (larsoncs1@gcc.edu)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
CamJ256
post Mar 25 2003, 10:29 PM
Post #14


X-S Member
*

Group: Members
Posts: 67
Joined: 1-January 03
Member No.: 15901



QUOTE (trotyl @ Jan 29 2003, 09:48 AM)
exit by esc :x enter
and then i type
chmod ug+x macfix


Im doing nano macfix to make the file then i get to the part where
i am supposed to type vi macfix(to make it an executable i guess im not sure, im really new to linux) and i cant get back out to do the rest of the process no matter what i do i am stuck in the vi macfix screen. Whats the problem with this????

So i have tried to do this by skipping the vi macfix stage but it says something about chmod ug+x macfix not being a executable. I dont really know what vi mac fix is even supposed to do so im having lots of problems getting this to work. Any ideas on what i should do would be very appreciated. Mabye i should just get an older version of Linux, like 7 8 or 9, though i have searced for places to download these and havent found any.

This post has been edited by CamJ256: Mar 29 2003, 02:48 AM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
CamJ256
post Mar 29 2003, 02:39 AM
Post #15


X-S Member
*

Group: Members
Posts: 67
Joined: 1-January 03
Member No.: 15901



ahh damn someone please help and respond to my above post.

sad.gif sad.gif sad.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post





Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 25th May 2013 - 04:42 PM