in reply to etc file that contains the device (eth0 eth1...) information
For example, if you are root or have sudo priviledges for ifconfig:
You can also set properties with ifconfig, as shown in the man page, or google searches.But you will almost certainly need to be root, with all the permissions in the deep network layers.open DH, "/sbin/ifconfig 'eth0' | " or die "Could not run ifconfig"; my $data = join "", <DH>; close DH; close DH; print "$data
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: etc file that contains the device (eth0 eth1...) information
by Hir@ (Initiate) on Feb 14, 2010 at 15:05 UTC |