Re: [SLUG] Awesome : Eben Moglen : the be very afraid tour

2007-05-16 Thread Andrew Swinn

Erik de Castro Lopo wrote:

Its youtube, but highly recommended:

http://www.youtube.com/watch?v=6YExl9ojclo

Erik


Nice. The dodgy camera action is a bit annoying but worth putting up 
with. Go Eben!


Andrew S
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Awesome : Eben Moglen : the be very afraid tour

2007-05-16 Thread Peter Miller
On Wed, 2007-05-16 at 14:01 +1000, Andrew Swinn wrote:
 Erik de Castro Lopo wrote:
  Its youtube, but highly recommended:
  
  http://www.youtube.com/watch?v=6YExl9ojclo
  
  Erik
 
 Nice. The dodgy camera action is a bit annoying but worth putting up 
 with. Go Eben!

This reminds me that there is software these days which can do
after-the-fact steady-cam on the frames of a movie.

Is there any FOSS that can do this job, yet?


Regards
Peter Miller [EMAIL PROTECTED]
/\/\*http://miller.emu.id.au/pmiller/

PGP public key ID: 1024D/D0EDB64D
fingerprint = AD0A C5DF C426 4F03 5D53  2BDB 18D8 A4E2 D0ED B64D
See http://www.keyserver.net or any PGP keyserver for public key.

An organisation that treats its programmers as morons will soon
have programmers that are willing and able to act like morons
only. -- Bjarne Stroustrup


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] Locking network interface number to specific MAC address

2007-05-16 Thread Erik de Castro Lopo
Hi all,

I have a motherboard with two identical (apart from the MAC addresses
of course) ethernet interfaces. The two MAC addresses are consectutively
numbered; XX:XX:XX:XX:XX:34 and XX:XX:XX:XX:XX:35.

On most reboots, the interface with the 34 MAC address becomes eth2
and the other becomes eth3, but very occasionally they get swapped
around which rather screws things up.

Is there any way to lock a MAC address to an interface name?

Cheers,
Erik
-- 
-
Erik de Castro Lopo
-
Java, the best argument for Smalltalk since C++. -- Frank Winkler
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Locking network interface number to specific MAC address

2007-05-16 Thread Jeff Waugh
quote who=Erik de Castro Lopo

 I have a motherboard with two identical (apart from the MAC addresses of
 course) ethernet interfaces. The two MAC addresses are consectutively
 numbered; XX:XX:XX:XX:XX:34 and XX:XX:XX:XX:XX:35.
 
 On most reboots, the interface with the 34 MAC address becomes eth2 and
 the other becomes eth3, but very occasionally they get swapped around
 which rather screws things up.
 
 Is there any way to lock a MAC address to an interface name?

/etc/iftab to the rescue (if you're facing this problem on your usual Debian
or Ubuntu). Nice and simple! :-)

- Jeff

-- 
OSCON 2007: Portland OR, USAhttp://conferences.oreillynet.com/oscon/
 
   I look forward to someday putting foo-colored ribbons on my homepage
   declaring 'port 25 is for spam', and 'just say no to the Spam Message
   Transmission Protocol!' - Raph Levien
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Locking network interface number to specific MAC address

2007-05-16 Thread Joseph Goncalves
On Thu, 17 May 2007, Erik de Castro Lopo wrote:
 I have a motherboard with two identical (apart from the MAC addresses
 of course) ethernet interfaces. The two MAC addresses are
 consectutively numbered; XX:XX:XX:XX:XX:34 and XX:XX:XX:XX:XX:35.

 On most reboots, the interface with the 34 MAC address becomes eth2
 and the other becomes eth3, but very occasionally they get swapped
 around which rather screws things up.

 Is there any way to lock a MAC address to an interface name?
Hi Eric,
You probably need to write a udev rule to specify the kernel interface. 
Don't know how to write a udev rule? Have a look here:
http://reactivated.net/writing_udev_rules.html

Rule would look like...

SUBSYSTEM==net, DRIVERS==?*, ATTRS{address}==XX:XX:XX:XX:XX:34, 
NAME=eth2

SUBSYSTEM==net, DRIVERS==?*, ATTRS{address}==XX:XX:XX:XX:XX:35, 
NAME=eth3

I have gentoo and udev-104-r12 does this automatically, so if a device 
is used for the first time, the udev rules get created automatically 
and the so the interface name for the device doesn't change across 
reboots. I've just copied the rules generated.


 Cheers,
 Erik

Regards
-- 
Joseph Goncalves
mailto:[EMAIL PROTECTED]
66D6 71CF 87F9 6B17 6824 C692 9FF0 1DAF 7DAE E661

--
This rocky shrine to the skull of a ruler grants no prayers.  It has 
become
the grave of lamentations. Only the wind hears the voice of this place.
The cries of night creatures and the passing wonder of two moons, all 
say his
day has ended. No more supplicants come. The visitors have gone from the 
feast.
How bare the pathway down this mountain.

  -- Lines at the Shrine of an Atreides Duke, Anon.


signature.asc
Description: This is a digitally signed message part.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Locking network interface number to specific MAC address

2007-05-16 Thread Tony Green


On Thu, 17 May 2007 14:20:33 +1000, Erik de Castro Lopo [EMAIL PROTECTED] 
wrote:
 Hi all,
 
 I have a motherboard with two identical (apart from the MAC addresses
 of course) ethernet interfaces. The two MAC addresses are consectutively
 numbered; XX:XX:XX:XX:XX:34 and XX:XX:XX:XX:XX:35.
 
 On most reboots, the interface with the 34 MAC address becomes eth2
 and the other becomes eth3, but very occasionally they get swapped
 around which rather screws things up.
 
 Is there any way to lock a MAC address to an interface name?
 


There certainly is, though it varies on distro.

In debian/ubuntu, you put a hwaddress entry into the interfaces line. 
e.g.
iface eth0 inet static
address 10.206.60.107
netmask 255.255.0.0
gateway 10.206.100.250
hardware XX:XX:XX:XX:XX:34

I'm fairly sure the same type of thing applies in the ifcfg-XXX world of redhat 
derivatives

greeno
-- 
Tony Green [EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Locking network interface number to specific MAC address

2007-05-16 Thread Erik de Castro Lopo
Jeff Waugh wrote:

 /etc/iftab to the rescue (if you're facing this problem on your usual Debian
 or Ubuntu). Nice and simple! :-)

Thanks Jdub. Perfect fix. Also explains why the interfaces on
this machine were eth2 and eth3 and not eth0 and eth1 (the drive
was cloned from another machine with the same motherboard).

Cheers,
Erik
-- 
-
Erik de Castro Lopo
-
Spammer: Any of you guys looking for a permanent position in Scotland?
Kaz Kylheku: No, I'm looking for a thug in Scotland who might be interested
 in beating up off-topic Usenet spammers, on a pro bono basis.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html