Re: XO communications interface naming
On Wednesday 04 Jun 2008 1:21:34 am Mikus Grinbergs wrote: I don't have wireless - am using an USB-ethernet adapter instead. Network adapters are given logical device names using udev rules. See for rules matching net SUBSYSTEM in /etc/udev/rules.d (usually *persistent-net-generator.rules). On first boot, the generator creates a rule file (*persistent-net.rules) for all persistent detected devices. Subsequently, any hot plugged network device gets assigned the next available sequence number. Does your adapter have a fixed entry in this file? If not, you can add it manually. The list of active network devices is in /proc/net/dev and under /sys/class/net. HTH, Subbu ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: XO communications interface naming
On Wed, Jun 04, 2008 at 11:49:08AM +0530, K. K. Subramaniam wrote: On Wednesday 04 Jun 2008 1:21:34 am Mikus Grinbergs wrote: I don't have wireless - am using an USB-ethernet adapter instead. Network adapters are given logical device names using udev rules. See for rules matching net SUBSYSTEM in /etc/udev/rules.d (usually *persistent-net-generator.rules). On first boot, the generator creates a rule file (*persistent-net.rules) for all persistent detected devices. Subsequently, any hot plugged network device gets assigned the next available sequence number. Does your adapter have a fixed entry in this file? If not, you can add it manually. The list of active network devices is in /proc/net/dev and under /sys/class/net. Maybe adding the network adapters to udev rules should be done build-wide so that we can eliminate the possibility of unintentional renamings. See: # NetworkManager not tracking interface renames http://dev.laptop.org/ticket/5931 # msh0 interface with a bogus name (msh0_rename) http://dev.laptop.org/ticket/5746 Erik ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
XO communications interface naming
From a practical perspective though, in XOs, the onboard interface is always eth0 these days. I don't have wireless - am using an USB-ethernet adapter instead. Once upon a time, my G1G1 XO would set up its wired interface on 'eth0'. I normally run Joyride, and in the last couple of months there has been __NO__ regularity in which interface name is used for which communications interface -- one build will give the 'eth0' name to the wired interface, the next build will give the 'eth1' name to the wired interface, the subsequent build is back to 'eth0', and so on. [Often, when the interface is 'eth1', the radio interface (to the non-existent school ?) is given the name 'eth2' -- but the mesh interface name remains 'msh0'.] I've given up trying to make any sense out of the names given to the communications interfaces - I just 'ifconfig' and look for the wired IP address. mikus p.s. If my XO ever suspends, the wired interface is NOT resumed (and all interfaces get set to the inboard radio). [Maybe 'suspend' is something to be avoided by systems having an active antenna.] ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel