Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
83
Issues
83
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
43c423e1
Commit
43c423e1
authored
Jan 18, 2013
by
Benoit Rat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userspace: ease configuration for non-DHCP switch
parent
405bc8f3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
S40network
userspace/rootfs_override/etc/init.d/S40network
+2
-0
interfaces
userspace/rootfs_override/etc/network/interfaces
+11
-0
No files found.
userspace/rootfs_override/etc/init.d/S40network
View file @
43c423e1
...
...
@@ -15,4 +15,6 @@ if [ "$rootloc" != "" ]; then
else
echo
"Starting ifplugd..."
/usr/sbin/ifplugd
-I
-f
-i
eth0
#Pull up the interface (check static/dynamic config in /etc/network/interfaces)
ifup eth0
fi
userspace/rootfs_override/etc/network/interfaces
View file @
43c423e1
...
...
@@ -2,3 +2,14 @@
auto lo
iface lo inet loopback
#Force eth0 to be configured by DHCP
auto eth0
iface eth0 inet dhcp
# Uncomment this example for static configuration
# iface eth0 inet static
# address 192.168.1.10
# netmask 255.255.255.0
# network 192.168.1.0
# broadcast 192.168.1.255
# gateway 192.168.1.1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment