[K12OSN] laptops - workstations no access to internet

Johan Vermeulen jvermeulen at cawdekempen.be
Mon Nov 21 10:54:16 UTC 2011


	

	

	

	

Beste Ellen, dear All,

thanks for the reactions.

We zitten denk ik niet ver van elkaar, Ellen :=)

This is very strange, it seems to work out of the k12ltsp box for several stations, but not for my own laptop ...

I'm now working on a machine that sees eth0, as gateway;

[root at new-host-4 ~]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     1      0        0 eth0
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0

maybe that is normal when working with bridged network ?????

while my laptop sees eth1 ltspbr0 as gateway, as I would expect.
Both machines are on NetworkManager.

So I'm not getting this.

greetings, J.


Opensource Software is the future.



----- Oorspronkelijk bericht -----
Van: "Ellen Verheyen"<thepiano at telenet.be>
Aan: "Johan Vermeulen"<jvermeulen at cawdekempen.be>
Verzonden: Maandag 21 november 2011 07:39:31 GMT +01:00 Amsterdam / Berlijn / Bern / Rome / Stockholm / Wenen
Onderwerp: Re: [K12OSN] laptops - workstations no access to internet


Beste,

ipv4 forwarding aanzetten in :-)










To configure a CentOS or Fedora Linux host to forward IPv4 traffic, you can set the “net.ipv4.ip_forward” sysctl to 1 in /etc/sysctl.conf:

net.ipv4.ip_forward = 1


Once the sysctl is added to /etc/sysctl.conf, you can enable it by running sysctl with the “-w” (change a specific sysctl value) option:


$ /sbin/sysctl -w net.ipv4.ip_forward=1
net.ipv4.ip_forward = 1


Mvg


Ellen Verheyen
EK Projects bvba





Op 21-nov.-2011, om 01:05 heeft Johan Vermeulen het volgende geschreven:



dear all,

I've set up K12Linux per instructions onhttps://fedorahosted.org/k12linux/

It all went down without EM, and thinclients seem to boot fine.

However, when attaching a normal station of laptop on the network, it gets an Ip adress,
and can ping the eth1/ltspbr0, but cannot access the internet.

This is some of my config :

[root at crc network-scripts]# ls
ifcfg- ifdown-ipv6 ifup-bnep ifup-routes
ifcfg-eth0 ifdown-isdn ifup-eth ifup-sit
ifcfg-eth1 ifdown-post ifup-ippp ifup-tunnel
ifcfg-lo ifdown-ppp ifup-ipv6 ifup-wireless
ifcfg-ltspbr0 ifdown-routes ifup-isdn init.ipv6-global
ifdown ifdown-sit ifup-plip net.hotplug
ifdown-bnep ifdown-tunnel ifup-plusb network-functions
ifdown-eth ifup ifup-post network-functions-ipv6
ifdown-ippp ifup-aliases ifup-ppp

#vi ifcfg-eth1
HWADDR=00:11:09:AB:D2:67
TYPE=Ethernet
BOOTPROTO=none
IPV4_FAILURE_FATAL=no
IPV6INIT=no
NAME="eth1"
ONBOOT=yes
NM_CONTROLLED=no
BRIDGE=ltspbr0

I have to admid, I'm kinda lost on this, don't know where to look.

Any help would be greatly appreciated.

btw Warren, I will post the lts.conf as soon as I get this fully working...

greetings, J.


Opensource Software is the future.

_______________________________________________
K12OSN mailing list
K12OSN at redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see<http://www.k12os.org>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/k12osn/attachments/20111121/b2caaca2/attachment.htm>


More information about the K12OSN mailing list