this is on Mageia 2 Beta 3. My computer is connected to the internet through a speedtouch usb modem. So ppp0 is up and works fine. I'm trying to share that connection with another computer on a local network (eth0). So I click on MCC / Network & Internet / share internet connection... On the window that appears, I click on next, then I get a message telling me that no configured lan adapter exists, so the ICS configuration fails. So I get back to network center and click on the "wired (ethernet)" configure button and set its IP address to static 192.168.0.1, mask 255.255.255.0. Then, again, MCC / Network & Internet / share internet connection... but, after two screens, I still get the message telling me that no configured lan adapter exists, though "ifconfig eth0" returns : eth0 Link encap:Ethernet HWaddr 00:1C:7E:0A:19:B8 inet adr:192.168.0.1 Bcast:192.168.0.255 Masque:255.255.255.0 adr inet6: fe80::21c:7eff:fe0a:19b8/64 Scope:Lien UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:11638 errors:0 dropped:0 overruns:0 frame:0 TX packets:11090 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:1000 RX bytes:7871124 (7.5 MiB) TX bytes:1250960 (1.1 MiB) Interruption:20 Mémoire:ffcc0000-ffce0000 So, there seems to be no way to achieve ICS configuration in my situation, unless I miss something.
Make sure eth0 is not in /etc/shorewall/interfaces.
CC: (none) => davidwhodgins
It was, so I removed the corresponding line, making /etc/shorewall/interfaces empty. I also checked the shorewall service state : it was stopped. Then I tried again to configure the ICS, but still the same error saying no configured lan adapter exists, though "ifconfig eth0" still returns : eth0 Link encap:Ethernet HWaddr 00:1C:7E:0A:19:B8 inet adr:192.168.0.1 Bcast:192.168.0.255 Masque:255.255.255.0 adr inet6: fe80::21c:7eff:fe0a:19b8/64 Scope:Lien UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:77 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:1000 RX bytes:0 (0.0 b) TX bytes:13675 (13.3 KiB) Interruption:20 Mémoire:ffcc0000-ffce0000
If I'm reading /usr/sbin/drakgw correctly, shorewall has to be enabled for the internet device, but not the lan device. Try enabling shorewall, but make sure it's only for ppp0.
Great, that did the trick, thanks ! Maybe : - either it should be mentioned somewhere in the ICS configuration wizard that the firewall must be enabled for the interface connected to the internet and disabled pour the other ones. - or the ICS configuration wizard should propose to automatically perform the needed shorewall configuration modifications. Otherwise, other non expert users will probably be stuck with this problem like I was. I'm leaving this bug open until something is done about it, unless you think for some reasons that what I propose is irrelevant.
I agree that the message in drakgw should make this much clearer, or, propose to do it.
Summary: unable to configure internet connection sharing => drakgw doesn't make needed firewall settings clear.Source RPM: (none) => drakx-net-0.97.2-1.mga1.src.rpm
Hi, This bug was filed against cauldron, but we do not have cauldron at the moment. Please report whether this bug is still valid for Mageia 2. Thanks :) Cheers, marja
Keywords: (none) => NEEDINFO
Closing as a duplicate of bug 4678. *** This bug has been marked as a duplicate of bug 4678 ***
Status: NEW => RESOLVEDResolution: (none) => DUPLICATE