Modify

Ticket #2360 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

No interface eth0 in configuration

Reported by: davy@… Owned by: jacalvo@…
Milestone: 2.0.X Component: network
Severity: critical Keywords: network eth
Cc:

Description

I have no interface list in network configuration page.

In log file, I had got this message : DEBUG> Network.pm:1110 EBox::Network::setIfaceStatic - Interface eth0 does not exist.

But, if I check with ifconfig, I can see eth0 network card.

I installed ubuntu 10.04 and zentyal packages after on a dedicated server (OVH kimsufi).

I have not found anything on web about this issue.

Attachments

Change History

comment:1 Changed 3 years ago by jsoriano@…

  • Status changed from new to closed
  • Resolution set to fixed

(In [18977]) NN: Use sysfs if possible to find network interfaces, fixes #2360

comment:2 Changed 3 years ago by davy@…

  • Status changed from closed to reopened
  • Resolution fixed deleted

I'm not sure this will fix my issue because when I try the following command :

cat /proc/net/dev 2>/dev/null | sed 's/^ *//' | cut -d " " -f 1 | grep : | sed 's/:.*//'

This return a list of interface which contains eth0.

comment:3 Changed 3 years ago by davy@…

  • Status changed from reopened to new

I've also got this error when I tried to access to Network configuration page :

 Network.pm:1939 EBox::Network::ifaceAddress - Interface {value} does not exist.

I think it is linked.

comment:4 Changed 3 years ago by anonymous

I also have no interface in dashboard. If that can help.

comment:5 Changed 3 years ago by davy@…

  • Status changed from new to closed
  • Resolution set to fixed

It works with the change 18977. In fact, when I use root ifconfig works and I have access to /proc/net/dev But if I use admin user, ifconfig failed and I have no access to /proc/net/dev but I have access to /sys/class/net.

Thanks a lot.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.