Better networking thanks to Ronny Kalusniok.
Updated the configuration to use Linux kernel 4.1.5.
This commit is contained in:
parent
fed6b52d91
commit
47db7efdd0
@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# http://kernel.org
|
# http://kernel.org
|
||||||
#
|
#
|
||||||
KERNEL_SOURCE_URL=https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.0.tar.xz
|
KERNEL_SOURCE_URL=https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.1.5.tar.xz
|
||||||
|
|
||||||
# You can find the latest BusyBox source bundles here:
|
# You can find the latest BusyBox source bundles here:
|
||||||
#
|
#
|
||||||
|
@ -31,9 +31,10 @@ mount -t devtmpfs none /dev
|
|||||||
mount -t proc none /proc
|
mount -t proc none /proc
|
||||||
mount -t sysfs none /sys
|
mount -t sysfs none /sys
|
||||||
|
|
||||||
ip link set lo up
|
for DEVICE in /sys/class/net/* ; do
|
||||||
ip link set eth0 up
|
ip link set \${DEVICE##*/} up
|
||||||
udhcpc -b -i eth0 -s /etc/rc.dhcp
|
[ \${DEVICE##*/} != lo ] && udhcpc -b -i \${DEVICE##*/} -s /etc/rc.dhcp
|
||||||
|
done
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
@ -44,7 +45,7 @@ cat > rc.dhcp << EOF
|
|||||||
|
|
||||||
ip addr add \$ip/\$mask dev \$interface
|
ip addr add \$ip/\$mask dev \$interface
|
||||||
|
|
||||||
if [ -n "$router"]; then
|
if [ "\$router" ]; then
|
||||||
ip route add default via \$router dev \$interface
|
ip route add default via \$router dev \$interface
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user