[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Connecting a Laptop to a Local Network to get Internet Access



Stuart Sears wrote:


try enabling ip-forwarding in /etc/sysctl.conf on the desktop once you have made the edit, run sysctl -p to update your kernel settings then try to ping/otherwise access something in the outside world




Here is /etc/sysctl.con (I didn't change it):


# Enables packet forwarding
net.ipv4.ip_forward = 1
# Enables source route verification
net.ipv4.conf.all.rp_filter = 1
# Disables automatic defragmentation (needed for masquerading, LVS)
net.ipv4.ip_always_defrag = 0
# Disables the magic-sysrq key
kernel.sysrq = 0

When I run "sysctl -p":

[root rab chippy]# sysctl -p
bash: sysctl: command not found
[root rab chippy]# /sbin/sysctl -p
net.ipv4.ip_forward = 1
net.ipv4.conf.all.rp_filter = 1
error: 'net.ipv4.ip_always_defrag' is an unknown key
kernel.sysrq = 0

Rick B.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]