Damn Small Linux (DSL) Forums
Welcome,
Guest
. Please
login
or
register
.
December 04, 2023, 01:28:02 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
The new DSL forums are now open.
Stats
11609
Posts in
311
Topics by
291
Members
Latest Member:
mik3ca
Search:
Advanced search
Get
The Official Damn Small Linux Book
.
Great VPS hosting provided by
Tektonic
Damn Small Linux (DSL) Forums
Damn Small Linux
Other Help Topics
How to make sysctl.conf read on boot
« previous
next »
Pages:
[
1
]
Author
Topic: How to make sysctl.conf read on boot (Read 8207 times)
sokolum
Newbie
Posts: 2
How to make sysctl.conf read on boot
«
on:
February 19, 2013, 11:04:07 PM »
I configure DSL with 2 Ethernet Interfaces and need to route, to do that so the following is tested and working:
/etc/sysctl.conf:
net.ipv4.ip_forward = 1
sysctl -p /etc/sysctl.conf
Now DSL is routing my traffic.
The bad thing is, it doesn't stand after a reboot. Need to do again 'sysctl -p /etc/sysctl.conf' manually...
«
Last Edit: February 19, 2013, 11:05:39 PM by sokolum
»
Logged
sokolum
Newbie
Posts: 2
Re: How to make sysctl.conf read on boot
«
Reply #1 on:
February 20, 2013, 02:14:52 PM »
Well, just did the following and works:
Added the following line at the end of file:
/etc/init.d/dsl-config
sudo sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward"
My previous example is no more needed with this new step.
«
Last Edit: February 20, 2013, 02:17:31 PM by sokolum
»
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Damn Small Linux
-----------------------------
=> Site News
=> Release Candidates
=> User Feedback
=> DSL Tips and Tricks
=> USB booting
=> DSL Ideas and Suggestions
=> DSL Embedded
=> HD Install
=> Laptops
=> Other Help Topics
-----------------------------
MyDSL Extensions
-----------------------------
=> The Testing Area
=> Apps
=> Games
=> Gtk2
=> Multimedia
=> Net
=> System
=> Themes
=> Window Managers
=> Extension Development
-----------------------------
DSL Not
-----------------------------
=> DSL-N
-----------------------------
Non-DSL Topics
-----------------------------
=> water cooler