Page 1 of 1

Drakgw dont detect nic as lan

PostPosted: Feb 5th, '14, 09:27
by scanray
Hello everyone.

I just installed MGA4. On my computer I have 3 network cards. eth0 for internet, eth1 for local network and eth2 for dmz.
Apparently all good, but when I run drakgw to share internet with eth1, drakgw not detect any network card for lan.
This message appears:
Code: Select all
                │  No ethernet network adapter configured for LAN has been detected on your system. │
                │                                                                                   │
                │  Please run the hardware configuration tool to configure it, and ensure that the  │
                │  Mageia firewall is not enabled for network adapter connected to your LAN         │
                │  network. 

I disabled the firewall rules. (as the message says), but there is no way that drakgw detect my other network cards.

By the way, I did the same installation and configuration with MGA3 and it worked great.
The only thing different I did was in mga4 renaming of nics I renamed from enp... to eth [0,1,2] to avoid having to change all the scripts that I have.

It may be a bug? or is there something different about the way to configure networks in mga4?

thanks in advance

Re: Drakgw dont detect nic as lan

PostPosted: Feb 5th, '14, 16:25
by doktor5000
How did you rename the interfaces? And please show the output of
Code: Select all
netstat -rn
and
Code: Select all
ip a
as root

Re: Drakgw dont detect nic as lan

PostPosted: Feb 5th, '14, 18:00
by scanray
Hi Doktor5000,

to rename the interfaces I created a link in /etc/udev/rules.d/ for 80-net-name-slot.rules -> /dev/null
Later, I have created a persistent rules for my devices in the same directory. I take the info from http://www.freedesktop.org/wiki/Softwar ... faceNames/

netstat -rn
Code: Select all
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG        0 0          0 eth0
10.0.0.0        0.0.0.0         255.0.0.0       U         0 0          0 eth1
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth1
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth2
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
192.168.2.0     0.0.0.0         255.255.255.0   U         0 0          0 eth2

ip a
Code: Select all
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 08:60:6e:f0:7f:14 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.34/24 brd 192.168.1.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 2001:1388:105:1f49:a60:6eff:fef0:7f14/64 scope global dynamic
       valid_lft 16sec preferred_lft 6sec
    inet6 fe80::a60:6eff:fef0:7f14/64 scope link
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether ec:10:69:81:ec:10 brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.100/8 brd 10.255.255.255 scope global eth1
       valid_lft forever preferred_lft forever
    inet6 fe80::ee10:69ff:fe81:ec10/64 scope link
       valid_lft forever preferred_lft forever
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 00:1b:11:79:4d:e6 brd ff:ff:ff:ff:ff:ff
    inet 192.168.2.1/24 brd 192.168.2.255 scope global eth2
       valid_lft forever preferred_lft forever
    inet6 fe80::21b:11ff:fe79:4de6/64 scope link
       valid_lft forever preferred_lft forever
5: vboxnet0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 0a:00:27:00:00:00 brd ff:ff:ff:ff:ff:ff


thanks

Re: Drakgw dont detect nic as lan

PostPosted: Feb 8th, '14, 21:50
by scanray
HI,
Well I have it all back to how it was before. I thought this was the problem.
Just does not work. Drakgw only detects the network card connected to Internet. Then get the message that there is no card connected to a local network.

Personally I do not care, I can solve it by shell. The problem is that I have several friends that I convinced to use mageia. They only use the graphical mode. Right now they are using MGA3 and are happy, but want to move to mga4.
I told them do not even change. If they have the same problems as me, will be discouraged.

Please someone can help me solve it?

thanks

Re: Drakgw dont detect nic as lan

PostPosted: Feb 8th, '14, 23:05
by doktor5000
Then please report that as a bug, after searching if it hasn't been reported yet already: https://wiki.mageia.org/en/How_to_report_a_bug_properly

Re: Drakgw dont detect nic as lan

PostPosted: Feb 9th, '14, 00:52
by scanray
I have searched this error. I found this problem in the bugs from MGA1.
The strange thing is I never had this problem. But I think the previous times I did mageia installed with one network card. Then I was putting the other cards one by one. I did this to keep the order of the cards.
I'll try this method to see if it manages well.

thanks

Re: Drakgw dont detect nic as lan

PostPosted: Feb 9th, '14, 11:46
by doktor5000
For completeness's sake and also to allow others to follow up on that bug report, please also post the link to it here in the thread, thanks.