Bruce Dubbs wrote: > xinglp wrote: >> 2013/1/10 Bruce Dubbs <bruce.du...@gmail.com>: >>> xinglp wrote: >>>> If so, the script init-net-rules.sh in udev-lfs-197-1 also need some >>>> change. >>>> >>>> DEVICES=$(eval echo /sys/class/net/{eth*,ath*,wlan*[0-9], ... >>>> --> >>>> DEVICES=$(eval echo /sys/class/net/{enp*,eth*,ath*,wlan*[0-9], ... >>> >>> What kind of network card do you have? I've never heard of enp* >> >> outputs of lspci >> 00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network >> Connection (rev 03) >> Subsystem: Hewlett-Packard Company Device 30e1 >> Flags: bus master, fast devsel, latency 0, IRQ 42 >> Memory at 90700000 (32-bit, non-prefetchable) [size=128K] >> Memory at 90727000 (32-bit, non-prefetchable) [size=4K] >> I/O ports at 20e0 [size=32] >> Capabilities: <access denied> >> Kernel driver in use: e1000e >> It was named to eth0 when I use udev 196. > > See > http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames > > > We're going to need to figure this out. The init-net-rules.sh may go > away completely. I'm just reading this now.
If you change the line to: DEVICES=$(eval echo /sys/class/net/en*) does it work for you? -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page