Page 1 of 1

laptop fails to show wired connection to be up

PostPosted: May 29th, '12, 22:33
by Fred01
laptop fails to show wired connection to be up.

This laptop earlier had no issue with either the wired or wireless connection - and showed either which was active in the network icon in the top task bar.
After the updrade from Mageia 1 into Mageia 2 the network icon shows no connection -- that's the icon consisting of 2 monitors shows an X.
when you would bring up the network manager its also shows no connection on wired -

when the cable is attached to the laptop when booting - it shows (Gnome) on top the icon with 2 monitors and an X
when clicking the icon and going to Network settings --it shows for Wired -- Wired unmanaged -100MB/s -- Hardware Address: F4:CE:46:E3:78:C3
seems not to respond on activating it... // no options as available choice

When in Network Settings checking on the Wireless connection - it says also Wireless Unavailable, but yet I can same time do all on the internet
so it seems I do have some connection on either wired or wireless.....
In the Network settings the window says that apart from 'Wireless Unavailable' - also that according the little 'slider' at right hand side, the wireless
is of -- also it shws that the laptop appears to be in "Airplane Mode'....

But as said - can reach any internet website though..... // only no clue on what connection....

Then when I remove the cable, the connection indicator on top chnanges from the 2 little monitors in 3 dots / like if searching - and short after
the sign for WiFi connection comes up.... and the Network window shows that Wireless is connected / with the little slider on 'ON' ....??

Strange is that with wired, no IP-address info is shown / and with WiFi up it does show an IP-address....

So have no clue as to what now it does with its connections....

Fact is that eventhough there seems to be no wired connection -- as per indication of the network applet icon
and the indication in the network manager - reading unmaged / and no further informayion - the wired
connection seems to provide for external acces to the internet -- see below the information from
the console following the command ifconfig.

Thanks
RGDS
Fred
=============================================
laptop HP - console info (ifconfig)

With only WiFi connection up:

Code: Select all
[root@fred_hp fred]# ifconfig
eth0 Link encap:Ethernet HWaddr F4:CE:46:E3:78:C3
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:1155 errors:0 dropped:0 overruns:0 frame:0
TX packets:1026 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1100233 (1.0 MiB) TX bytes:149626 (146.1 KiB)
Interrupt:22 Memory:98800000-98820000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

wlan0 Link encap:Ethernet HWaddr 00:1E:65:F4:61:90
inet addr:192.168.1.19 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21e:65ff:fef4:6190/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:308 errors:0 dropped:0 overruns:0 frame:0
TX packets:466 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:56761 (55.4 KiB) TX bytes:97690 (95.4 KiB)

[root@fred_hp fred]#


with the cable attached to the laptop -- and where the icon on top
shows 2 monitors with an X

[root@fred_hp fred]# ifconfig
eth0 Link encap:Ethernet HWaddr F4:CE:46:E3:78:C3
inet addr:192.168.1.15 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::f6ce:46ff:fee3:78c3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1206 errors:0 dropped:0 overruns:0 frame:0
TX packets:1101 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1108909 (1.0 MiB) TX bytes:170618 (166.6 KiB)
Interrupt:22 Memory:98800000-98820000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

[root@fred_hp fred]#


======================================================

Re: laptop fails to show wired connection to be up

PostPosted: May 30th, '12, 07:20
by isadora
Please!!!!!! Code-tag output of commands.
This keeps the forum readable, thanks!!!!

Re: laptop fails to show wired connection to be up

PostPosted: Jun 4th, '12, 08:04
by Fred01
Any more info required from my side...?

Have tried several ways this weekend again... but no success.
Strange is that the network applet shows no connection at all for wired, and opening the network through clicking the applet
shows the wired connection as unmanaged, but when opening the network manager through 'tools 'it shows with the wired
connection being up and also shows a button 'disconnect' what suggests the system sees at least that there's a connection....

Re: laptop fails to show wired connection to be up

PostPosted: Jun 5th, '12, 18:03
by doktor5000
Please show the output of
Code: Select all
iwconfig
and
Code: Select all
ps -ef | grep -v grep | grep -i net

Re: laptop fails to show wired connection to be up

PostPosted: Jun 6th, '12, 17:49
by Fred01
OK - have done as requested ;

FYI - the below is with the wired connection, which is up,
eventhough it doesn't show in the network applet (what still shows as 2 monitors with an 'X'

clicking on it shows as 'wired unmanaged' // "wireless hardware disabled'.

Network settings show:

Code: Select all
Wired unmanaged / 100 MB/s
Hard Ware addr F4:CE:46:E3:78:C3


Code: Select all
[fred@fred_hp ~]$ su
Password:
[root@fred_hp fred]#[b] iwconfig[/b]
lo        no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:off/any 
          Mode:Managed  Access Point: Not-Associated   Tx-Power=off   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
         
eth0      no wireless extensions.

[root@fred_hp fred]#
[root@fred_hp fred]# [b]ps -ef | grep -v grep | grep -i net[/b]
root        14     2  0 17:21 ?        00:00:00 [netns]
root      1607     1  0 17:21 ?        00:00:00 /usr/sbin/NetworkManager --no-daemon
fred      3017  2309  0 17:21 ?        00:00:01 /usr/bin/perl /usr/bin/net_applet
[root@fred_hp fred]#


=============================================================
Now with cable removed -- the same requested commands:

Network settings show:

Wired:
Code: Select all
Wired unmanaged / 100 MB/s
Hard Ware addr F4:CE:46:E3:78:C3


Wireless:
Code: Select all
Connected: 54 MB/s
Hard Ware addr 00:1E:65:F4:61:90


Herunder with the requested command -- in wireless conncetion being up:

Code: Select all
[root@fred_hp fred]#[b] iwconfig[/b]
lo        no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:"tele2_fred" 
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:24:8C:89:0E:EA   
          Bit Rate=54 Mb/s   Tx-Power=15 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=61/70  Signal level=-49 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:72   Missed beacon:0

eth0      no wireless extensions.

[root@fred_hp fred]# [b]ps -ef | grep -v grep | grep -i net[/b]
root        14     2  0 17:21 ?        00:00:00 [netns]
fred       387  2998  0 17:38 ?        00:00:02 gnome-control-center network
root      1607     1  0 17:21 ?        00:00:00 /usr/sbin/NetworkManager --no-daemon
fred      3017  2309  0 17:21 ?        00:00:05 /usr/bin/perl /usr/bin/net_applet
[root@fred_hp fred]#

Re: laptop fails to show wired connection to be up

PostPosted: Jun 8th, '12, 17:45
by doktor5000
Please show the output of
Code: Select all
grep -i nm_controlled /etc/sysconfig/network-scripts/ifcfg*
as root.

And can you please give a small screenshot which applet you're using, and where it shows "unmanaged" ?

Re: laptop fails to show wired connection to be up

PostPosted: Jun 8th, '12, 20:42
by Fred01
OK - find attached a screenshot showing the open network applet what is default on top of the screen.
As you can see it shows two monitors with a cross -- featuring there's apparantly no connection,
but like indicated in the earlier provided output from either ifconfig / iwconfig -- and as proof I'm
sending all this with the connection up -- the wired connection works // only shows nowhere as active.

Have also attached a screenshot of the 'Network Settings' which appear after having clicked these
in the applet mentioned above ;

hier in this window you can see that for wired it shows 'unmanaged'....
========================================================================
Out put provided herunder of the requested: grep -i nm_controlled /etc/sysconfig/network-scripts/ifcfg*

Code: Select all
[fred@fred_hp ~]$ su
Password:
[root@fred_hp fred]# grep -i nm_controlled /etc/sysconfig/network-scripts/ifcfg*
/etc/sysconfig/network-scripts/ifcfg-eth0:NM_CONTROLLED=no
/etc/sysconfig/network-scripts/ifcfg-wlan0:NM_CONTROLLED=yes
/etc/sysconfig/network-scripts/ifcfg-wwan0:NM_CONTROLLED=yes
[root@fred_hp fred]#

Re: laptop fails to show wired connection to be up

PostPosted: Jun 8th, '12, 20:58
by Fred01
OK - have finally been able to attach the screenshots..
Perhaps better to also mentione next time that the website doesn't allow to upload bare screenshots in 'png' format..

Re: laptop fails to show wired connection to be up

PostPosted: Jun 8th, '12, 22:55
by doktor5000
OK, so this is network-manager. Please show the contents of /etc/NetworkManager/NetworkManager.conf
Or maybe something like mentioned in the following links helps: http://wiki.debian.org/NetworkManager#W ... _Unmanaged and http://ubuntuforums.org/showthread.php?t=1028541

Fred01 wrote:OK - have finally been able to attach the screenshots..
Perhaps better to also mentione next time that the website doesn't allow to upload bare screenshots in 'png' format..

Well, works for me. Could you please give more detailed informations about the screenshots you wanted to upload and which error message you got?

Re: laptop fails to show wired connection to be up

PostPosted: Jun 8th, '12, 23:56
by Fred01
contents of /etc/NetworkManager/NetworkManager.conf

[main]
plugins=ifcg - rh,keyfile
managed=true
================
the line with managed=true wasn't in the file / I've added from info on the url you've provided
and as mentionrf there after restarted the network services, but no result or change, still
shows wired as unmanaged and as applet icon the 2 monitores with X.

Re: laptop fails to show wired connection to be up

PostPosted: Jun 9th, '12, 01:44
by wintpe
Fred

on the wired lets look at this from a CLI point of view , it will be clearer.

the config files for eth0 wired connection are

Code: Select all
/etc/sysconfig/network-scripts/ifcfg-eth0


and you can run the command ifup eth0 to start it.

ifconfig eth0 should show that its got an ipaddress like this.

Code: Select all
eth0    Link encap:Ethernet  HWaddr 3C:D9:2B:FE:E3:5C
          inet addr:192.168.1.5  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::3ed9:2bff:fefe:e35c/64 Scope:Link
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:30675 errors:0 dropped:0 overruns:0 frame:0
          TX packets:30495 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:42567202 (40.5 MiB)  TX bytes:2375492 (2.2 MiB)


If thats not the case, set it to static

back it up (not in this directory)

ifcfg-eth0

Code: Select all
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.1.5
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
ONBOOT=yes
METRIC=10
MII_NOT_SUPPORTED=yes
USERCTL=no
MTU=1500
DNS1=192.168.1.7
DNS2=192.168.1.70
DOMAIN=ossi.net
RESOLV_MODS=no
IPV6INIT=no
IPV6TO4INIT=no
ACCOUNTING=yes
NM_CONTROLLED=yes


sorry about the code, ive not leaned how to do that yet.

then ifup eth0

see if that works, im trying to get you past network manager/applet etc and go under the hood.

regards peter

Re: laptop fails to show wired connection to be up

PostPosted: Jun 9th, '12, 08:17
by isadora
Following screencast explains the way to use [CODE]-tagging.
Good luck, and thanks!!!

http://ftp.mandrivauser.de/rpm/rpm/extr ... e_tags.ogv

Re: laptop fails to show wired connection to be up

PostPosted: Jun 9th, '12, 12:57
by doktor5000
wintpe wrote:sorry about the code, ive not leaned how to do that yet.


Just look at you post again via "Edit" - i've added the tags for you to take a look ;)

Re: laptop fails to show wired connection to be up

PostPosted: Jun 10th, '12, 19:15
by Fred01
Using the command - ifup eth0// doesn't give me any feedback / see hereunder;

[fred@fred_hp ~]$ su
Password:
[root@fred_hp fred]# ifup eth0

Determining IP information for eth0... done.
[root@fred_hp fred]#
===============================

The file ifcg-eth0 / reads:

Code: Select all
DEVICE=eth0
BOOTPROTO=dhcp
NETMASK=255.255.255.0
ONBOOT=yes
METRIC=10
MII_NOT_SUPPORTED=no
USERCTL=no
RESOLV_MODS=no
LINK_DETECTION_DELAY=6
IPV6INIT=no
IPV6TO4INIT=no
ACCOUNTING=no
NM_CONTROLLED=no
DHCP_CLIENT=dhclient
DHCP_HOSTNAME=fred_hp.sloep74.com
NEEDHOSTNAME=no
PEERDNS=yes
PEERYP=yes
PEERNTPD=no


================================

Using the command ifconfig shows that wired does has an IP-address // see hereunder...
But - already knew that - as eventhough the applet doesn't indicate no connection, I found
out it connection just was there and working.
The only issue is that the network applet doesn't show a connection (shows 2 monitors with an X)
and when from the applet clicking Network Settings -- the wired connection shows unmanaged,
see the images provided....

Thus the only issue is that I do have a connection on wired, but nothing shows in the applet
and Nertwork Settings thet I do have wired up ../ neither taht I can co anything with it like
disconnect, conncet or anything - as it shows unmanaged...

So - on the command ifconfig it shows a normal connection to be up:

Code: Select all
[root@fred_hp fred]# ifconfig
eth0      Link encap:Ethernet  HWaddr F4:CE:46:E3:78:C3 
          inet addr:192.168.1.15  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::f6ce:46ff:fee3:78c3/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2867 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2396 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2639243 (2.5 MiB)  TX bytes:390356 (381.2 KiB)
          Interrupt:22 Memory:98800000-98820000

Re: laptop fails to show wired connection to be up

PostPosted: Jun 11th, '12, 01:44
by wintpe
Can you try kde as i know it works in kde.

Trying to find out if this is a prob with you install or a bug with gnome.

I dont use gnome, just the thought of it makes me anoyed, funny have same feeling about macosx.

If same issue in kde then your os install has something wrong, and thats why we are struggling to see whats wrong.

Regards peter

Re: laptop fails to show wired connection to be up

PostPosted: Jun 11th, '12, 19:36
by Fred01
Screenshot from display manager.jpg
Screenshot from display manager.jpg (54.11 KiB) Viewed 9577 times
Screenshot from login setup.jpg
Screenshot from login setup.jpg (54.5 KiB) Viewed 9577 times
Screenshot from display manager.jpg
Screenshot from display manager.jpg (54.11 KiB) Viewed 9577 times
Ok - have tried for KDE -- but seems not even able to restart into KDE - as it is no choice
in either the login neither in the display manager // see attached images.
So seem not able to try this out...

Re: laptop fails to show wired connection to be up

PostPosted: Jun 11th, '12, 19:38
by Fred01
Should also mention that at the login manager - Gnome is the one and only choice...

Re: laptop fails to show wired connection to be up

PostPosted: Jun 12th, '12, 01:19
by doktor5000
So you don't have KDE installed at all (which you could install via installing task-kde4 package) but that's no the point here as it should still work in GNOME.

Re: laptop fails to show wired connection to be up

PostPosted: Jun 12th, '12, 13:19
by wintpe
ok it should work in gnome, but as i dont use gnome, i could not advise what to look at.

hence why it would be helpful to know if its a generic problem with this system, or a gnome config issue.

so for me , its easier to help people with kde than gnome.

regards peter

Re: laptop fails to show wired connection to be up

PostPosted: Jun 13th, '12, 00:32
by doktor5000
@Fred01: So are you willing to try to install KDE via task-kde4 to help us to try to sort that out?

Re: laptop fails to show wired connection to be up

PostPosted: Jun 13th, '12, 21:33
by Fred01
Network Center1.jpg
Network Center1.jpg (93.24 KiB) Viewed 9546 times
Ok, done -- have loaded KDE through task-kde4 and reset Boot and Graphical environment.
Restarted graphical environment and KDE came up -- surprise the Network applet works.
See image below right hand of monitor screen, when mouse overlays, it shows IP address
and when clicking the sepapate Network Center comes up where with opening of
the wired connecction it shows as on the embedded image, hence now there's control
over wired and no longer indication unmanaged....

Re: laptop fails to show wired connection to be up

PostPosted: Jun 15th, '12, 00:08
by doktor5000
Ok, that's at least a start. But i guess you don't want to use KDE, don't you?

Re: laptop fails to show wired connection to be up

PostPosted: Jun 15th, '12, 07:42
by Fred01
Corrects assumption -- in fact I've been using Gnome for about 10 years now......
So - yes - would like to have this also to function normally within Gnome as it all used to work before the upgrade to version 2.
---------
That's imilar the case with the other laptop which after the upgrade rebooted back with KDE and since doesn't get into the Gnome environment ,
even though having de-installed and re-installed the Gnome task package as you advise to try...., although that laptop absolutely doesn't use
even the wireless network connection --- okay know I shouldn't it mention here - as this one is a different thread, but yet all this came up after
the upgrading to version 2 / whilst before all worked splendidly well....
-----------
By the way - coming week I'll be abroad / away from these 2 laptops left at home - just in case I've to try or do something....

Thanks so far for all efforts....

Fred

Re: laptop fails to show wired connection to be up

PostPosted: Jun 18th, '12, 22:49
by doktor5000
Maybe it's just better to do a fresh installation of Mageia, and keep your /home but create a new user, so you get a fresh configuration, and then migrate all your old settings that you need to that new user. This is less hassle IMHO than trying many hours to debug this when i don't have access to that machine and could take a more thorough look myself.