You are not logged in.
Is it possible to share internet connection from my laptop which is connected to internet through wlan0 interface (wireless) to other PCs on the LAN with my eth0 interface and lan cable?
(Like, Internet >> wireless Access-point >> laptop (wlan0) >> bridge to eth0 (lan card on this laptop) >> switch (through wired connection) >> other PCs)
and where can I find how?
Thanks
Last edited by ottoshmidt (2012-04-23 21:26:58)
Offline
That's perfectly possible. This wiki article contains some info on how to do it exactly.
Burninate!
Offline
Can also be done with networkmanager if you don't want to get your hands dirty (and if you're using it anyway).
In summary:
Make sure dnsmasq and iptables are installed
Connect nm to wireless
Connect ethernet cable between computers
in nm-connection-editor, edit wired connection
Under ipv4 settings, choose method, shared to other computers
Disclaimer: This was when I was using fedora, but I have a hotspot the other way round on arch so I presume it will work.
https://bbs.archlinux.org/viewtopic.php?id=139653
Offline
Can also be done with networkmanager if you don't want to get your hands dirty (and if you're using it anyway).
In summary:
Make sure dnsmasq and iptables are installed
Connect nm to wireless
Connect ethernet cable between computers
in nm-connection-editor, edit wired connection
Under ipv4 settings, choose method, shared to other computersDisclaimer: This was when I was using fedora, but I have a hotspot the other way round on arch so I presume it will work.
https://bbs.archlinux.org/viewtopic.php?id=139653
Actually I did that one first, saw that post, but couldn't succeed and then tried https://wiki.archlinux.org/index.php/Internet_Share and succeeded. So I needed to enable ipv4 forwards and also to install iptables (which should be running as a daemon). Can't judge what was wrong in your steps for sure but at least, as I said arch wiki gives a right direction to go.
Thanks all anyway.
Last edited by ottoshmidt (2012-04-23 21:28:04)
Offline