5 ms·
where is reliable, easy internet connection sharing on linux? i've built scripts that serve ics but only under shamanic preconditions that elude me network ma
by justifier 12y ago
where is reliable, easy internet connection sharing on linux?
i've built scripts that serve ics but only under shamanic preconditions that elude me
network manager is supposed to allow for it with their 'share this connection' but getting it to work has also eluded me
on a windows7 boot everything just works with ics, but then i'm booted into windows
gramm`err : /allude/elude/
- trumbitta2 12y agoGrammar nazi here: elude
- justifier 12y agothanks for the free copy you are fine to point out when sumone errs without associating yourself with a genocidal political movement still.. any thoughts on linux ics?
- irishcoffee 12y agoGrammar something nobody will be offended by here: someone.
- justifier 12y agoallow me to avoid further misunderstanding due my brevity and idiosyncratic humor.. I was unoffended by the parent referring to thaemself as a grammar Nazi, my message latent in my response was a genuine appreciation for bringing my error to my attention, and my lament that so much culture is afraid to make a mistake that we shame people who explain correct usage to the point that as a defense people preemptively shame themselves Like I said,'its fine to correct sumone[sic]' Also, sumone was an international mistake intended to make people smile and remind us of our humanity:'to err is to be humen'
- lmm 12y agoUnfortunately every couple of years the popular kids come up with a new half-assed GUI for doing this stuff, but if you stick to the command line then the same simple things that have always worked still work, viz: echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE Ta-da, basic internet connection sharing is working. (If you want automatic network configuration for the devices that are connecting to your machine, you'll need to install and configure a dhcp server e.g. dhcpd) Edit: oh, no, that won't work, your network device is no longer eth0 because the distros have been messing around with it again. Sorry, I can't help, I moved to FreeBSD years ago to get away from this crap.
- jsprogrammer 12y agoI believe that is what justifier was alluding to as 'shamanic preconditions'.
- lmm 12y agoThey're two simple lines and they work everywhere; I'd understand "shamanic" to mean things that work as long as you sacrifice a chicken and the phase of the moon is right and your heart is pure. i.e. networkmanager.
- justifier 12y agoThe shamanic line was because those two lines you suggested would sometimes work, then suddenly stop working, or just fall to start working, or even rarely dibilitate all network activity where manually removing the flag and disabling the route failed to fix anything; then requiring a full reboot to fix Sometimes using those two lines would work alone, sometimes they would only work in conjunction with more lines with different flags.. This is why I said reliable and shamanic I run ubuntu 1404 server, slack on my notebook, debian on my home box.. Those two lines all do something different on each at different times of day under different moons, or alike when they all fail to do anything at all I chalked it up to some kind of collision with how nm or wicd, machine respective, were trying to run their show
- geofft 12y agoOn my Mac, getting connection sharing to work is always hokey, and it works better when I intentionally trigger some race conditions and then go and change things with `ifconfig`. I suspect this is just hard.
- pritambaral 12y agoThe key is to create/keep a network profile with IPv4 specifically set to "Shared to other computers". This way, when I have one connection to the internet (on a different interface, of course) I just pick this aptly named "Shared" connection in the applet. Works just fine!