On Fri, Apr 9, 2010 at 8:57 PM, jumbophut wrote:
After running the code in section 7.13, viz:
for NIC in /sys/class/net/* ; do
INTERFACE=${NIC##*/} udevadm test --action=add $NIC
done
I cannot find the /etc/udev/rules.d/70-persistent-net.rules file that
is supposed to have been
After running the code in section 7.13, viz:
for NIC in /sys/class/net/* ; do
INTERFACE=${NIC##*/} udevadm test --action=add $NIC
done
I cannot find the /etc/udev/rules.d/70-persistent-net.rules file that
is supposed to have been generated.
I have spent some time trying to track down the
On 08/04/10 10:17, jumbophut wrote:
After running the code in section 7.13, viz:
for NIC in /sys/class/net/* ; do
INTERFACE=${NIC##*/} udevadm test --action=add $NIC
done
I cannot find the /etc/udev/rules.d/70-persistent-net.rules file that
is supposed to have been generated.
I have
On April 8, 2010 03:17:38 am jumbophut wrote:
After running the code in section 7.13, viz:
for NIC in /sys/class/net/* ; do
INTERFACE=${NIC##*/} udevadm test --action=add $NIC
done
I cannot find the /etc/udev/rules.d/70-persistent-net.rules file that
is supposed to have been
On Tue, Jan 12, 2010 at 09:07:07PM -0600, jmsc...@setex.ipcallback.com wrote:
On Tue, Jan 12, 2010 at 12:57:25PM -0600, Bruce Dubbs wrote:
jmsc...@setex.ipcallback.com wrote:
regarding the following code blurb in LFS 6.5, chapter 7.13.1
for NIC in /sys/class/net/* ; do
On Tue, 2010-01-12 at 21:55 -0600, Bruce Dubbs wrote:
jmsc...@setex.ipcallback.com wrote:
by the way, one of the conditions for setting the value of INTERFACE
is that
udev_device_get_subsystem(dev), net) == 0
That seems like it is looking for /dev. If it errors, the expression
On Mon, Jan 11, 2010 at 01:08:35AM -0600, Bruce Dubbs wrote:
jmsc...@setex.ipcallback.com wrote:
On Sun, Jan 10, 2010 at 10:37:13PM -0600, Bruce Dubbs wrote:
jmsc...@setex.ipcallback.com wrote:
the standard output to /lib/udev/write_net_rules is
caught and filtered by udevadm, so
On 1/12/10, jmsc...@setex.ipcallback.com jmsc...@setex.ipcallback.com wrote:
so, in the name of progress, i like to solict advice on what to do next,
LFS-6.4 and earlier had:
for NIC in /sys/class/net/* ; do
INTERFACE=${NIC##*/} udevadm test --action=add --subsystem=net $NIC
done
I wonder
On Tue, Jan 12, 2010 at 10:02:02AM -0500, linux fan wrote:
On 1/12/10, jmsc...@setex.ipcallback.com jmsc...@setex.ipcallback.com wrote:
so, in the name of progress, i like to solict advice on what to do next,
LFS-6.4 and earlier had:
for NIC in /sys/class/net/* ; do
On 1/12/10, jmsc...@setex.ipcallback.com jmsc...@setex.ipcallback.com wrote:
not clear that adding --subsystem would force INTERFACE to be exported to
Hmm,
Output of ls -d /sys/class/net/*
/sys/class/net/eth0 /sys/class/net/lo
Output of ls -dl /sys/class/net/*
lrwxrwxrwx 1 root root 0
On 1/12/10, linux fan wrote:
Just experimenting ...
It almost seems like export/import is fouled up.
The following block should print:
bar
..
foo=
echo 'echo $foo' fubar
chmod 755 fubar
foo=bar ./fubar
echo .$foo.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ:
jmsc...@setex.ipcallback.com wrote:
regarding the following code blurb in LFS 6.5, chapter 7.13.1
for NIC in /sys/class/net/* ; do
INTERFACE=${NIC##*/} udevadm test --action=add $NIC
done
i've come to the conclusion that something is missing.
Yes, there is something
On Tue, Jan 12, 2010 at 12:57:25PM -0600, Bruce Dubbs wrote:
jmsc...@setex.ipcallback.com wrote:
regarding the following code blurb in LFS 6.5, chapter 7.13.1
for NIC in /sys/class/net/* ; do
INTERFACE=${NIC##*/} udevadm test --action=add $NIC
done
i've come
On Tue, Jan 12, 2010 at 10:02:02AM -0500, linux fan wrote:
On 1/12/10, jmsc...@setex.ipcallback.com jmsc...@setex.ipcallback.com wrote:
so, in the name of progress, i like to solict advice on what to do next,
LFS-6.4 and earlier had:
for NIC in /sys/class/net/* ; do
jmsc...@setex.ipcallback.com wrote:
by the way, one of the conditions for setting the value of INTERFACE
is that
udev_device_get_subsystem(dev), net) == 0
That seems like it is looking for /dev. If it errors, the expression is
false. I wonder if dev above is a shorthand for
On Mon, Jan 11, 2010 at 01:08:35AM -0600, Bruce Dubbs wrote:
jmsc...@setex.ipcallback.com wrote:
On Sun, Jan 10, 2010 at 10:37:13PM -0600, Bruce Dubbs wrote:
jmsc...@setex.ipcallback.com wrote:
the standard output to /lib/udev/write_net_rules is
caught and filtered by udevadm, so
On Sat, Jan 09, 2010 at 12:48:42PM -0600, Bruce Dubbs wrote:
jmsc...@setex.ipcallback.com wrote:
i see the error
util_run_program: 'write_net_rules'
util_run_program: '/lib/udev/write_net_rules' (stderr) 'missing
$INTERFACE'
util_run_program: 'write_net_rules' returned
jmsc...@setex.ipcallback.com wrote:
from examining the udevadm source, it appears the environment variable list
is rebuilt for the execve call to /lib/udev/write_net_rules.
i do see the INTERFACE env variable being passed to udevadm in main(),
as expected, but not being included in the envp
On Sun, Jan 10, 2010 at 08:38:09PM -0600, Bruce Dubbs wrote:
jmsc...@setex.ipcallback.com wrote:
from examining the udevadm source, it appears the environment variable list
is rebuilt for the execve call to /lib/udev/write_net_rules.
i do see the INTERFACE env variable being passed to
jmsc...@setex.ipcallback.com wrote:
the standard output to /lib/udev/write_net_rules is
caught and filtered by udevadm, so examining the env list to execve()
seemed a bit more direct.
Where is standard output caught? I don't see it. After options, udevadm
just calls udevadm-test(argc,
On Sun, Jan 10, 2010 at 10:37:13PM -0600, Bruce Dubbs wrote:
jmsc...@setex.ipcallback.com wrote:
the standard output to /lib/udev/write_net_rules is
caught and filtered by udevadm, so examining the env list to execve()
seemed a bit more direct.
Where is standard output caught? I
jmsc...@setex.ipcallback.com wrote:
On Sun, Jan 10, 2010 at 10:37:13PM -0600, Bruce Dubbs wrote:
jmsc...@setex.ipcallback.com wrote:
the standard output to /lib/udev/write_net_rules is
caught and filtered by udevadm, so examining the env list to execve()
seemed a bit more direct.
Where is
On Fri, Jan 08, 2010 at 11:36:19PM -0600, Bruce Dubbs wrote:
jmsc...@setex.ipcallback.com wrote:
Nope, appears that /etc/udev/rules.d/70-persistent-net.rules is missing.
I see many but no obvious errors in the output of of the 'for' loop in the
blurb in paragraph 7.13.1:
for NIC
jmsc...@setex.ipcallback.com wrote:
If you do
INTERFACE=eth0 udevadm test --action=add eth0
Do you get anything?
now i'm seeing the error
unable to open device '/syseth0'
My fault. It should be
INTERFACE=/sys/class/net/eth0 udevadm test --action=add /sys/class/net/eth0
(one
On Sat, Jan 09, 2010 at 12:04:41PM -0600, Bruce Dubbs wrote:
jmsc...@setex.ipcallback.com wrote:
If you do
INTERFACE=eth0 udevadm test --action=add eth0
Do you get anything?
now i'm seeing the error
unable to open device '/syseth0'
My fault. It should be
jmsc...@setex.ipcallback.com wrote:
i see the error
util_run_program: 'write_net_rules'
util_run_program: '/lib/udev/write_net_rules' (stderr) 'missing $INTERFACE'
util_run_program: 'write_net_rules' returned with exitcode 1
amongst the voluminous output.
i tried exporting
On Sat, Jan 09, 2010 at 12:48:42PM -0600, Bruce Dubbs wrote:
jmsc...@setex.ipcallback.com wrote:
i see the error
util_run_program: 'write_net_rules'
util_run_program: '/lib/udev/write_net_rules' (stderr) 'missing
$INTERFACE'
util_run_program: 'write_net_rules' returned
-persistent-net.rules
The problem is that /etc/udev/rules.d/70-persistent-net.rules is not
created.
Did I miss running a command in the previous chapters ... perhaps
/lib/udev/write_net_rules?
Here is the link to the web page with the code in question
http
jmsc...@setex.ipcallback.com wrote:
Nope, appears that /etc/udev/rules.d/70-persistent-net.rules is missing.
I see many but no obvious errors in the output of of the 'for' loop in the
blurb in paragraph 7.13.1:
for NIC in /sys/class/net/* ; do
INTERFACE=${NIC##*/}
file.
cat /etc/udev/rules.d/70-persistent-net.rules
The problem is that /etc/udev/rules.d/70-persistent-net.rules is not
created.
Did I miss running a command in the previous chapters ... perhaps
/lib/udev/write_net_rules?
Here is the link to the web page with the code in question
/* ; do
INTERFACE=${NIC##*/} udevadm test --action=add $NIC
done
followed by the blurb to inspect the 70-persistent-net.rules file.
cat /etc/udev/rules.d/70-persistent-net.rules
The problem is that /etc/udev/rules.d/70-persistent-net.rules is not created.
Did I miss
/rules.d/70-persistent-net.rules is not created.
Did I miss running a command in the previous chapters ... perhaps
/lib/udev/write_net_rules?
Here is the link to the web page with the code in question
http://www.linuxfromscratch.org/lfs/view/stable/chapter07/network.html
Also, the host os
/etc/udev/rules.d/70-persistent-net.rules
The problem is that /etc/udev/rules.d/70-persistent-net.rules is not
created.
Did I miss running a command in the previous chapters ... perhaps
/lib/udev/write_net_rules?
Here is the link to the web page with the code in question
http
-persistent-net.rules is not created.
Did I miss running a command in the previous chapters ... perhaps
/lib/udev/write_net_rules?
Here is the link to the web page with the code in question
http://www.linuxfromscratch.org/lfs/view/stable/chapter07/network.html
Also, the host os
34 matches
Mail list logo