Bug 859690

Summary: [F17 - OLPC XO-1.75] After update from yum, Wi-fi is connected, but has not got Internet connection
Product: [Fedora] Fedora Reporter: Álvaro Castillo <midgoon>
Component: NetworkManagerAssignee: Dan Williams <dcbw>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: danw, dcbw, jklimes
Target Milestone: ---   
Target Release: ---   
Hardware: arm7   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-19 11:40:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
/var/log/messages file none

Description Álvaro Castillo 2012-09-23 09:47:47 UTC
Description of problem:
Network manager has got OLPC for GNOME 3. When I upgrade my OLPC version from 11.* to 12.1.0 I was connected on some Wi-fi and all OK. However, after upgrade software from yum. I am connected on Wi-Fi but, I have not got an Internet connection.

Version-Release number of selected component (if applicable):
F17 - OLPC XO-1.75

Network Manager version: 0.9.4.0-9.git2 @koji.dist...

Uname -a: Linux xo-74-33-76.localdomain 3.0.19_xo1.75-20120803.1234.olpc.f49cd50 #1 PREEMPT Fri Aug 3 12:44:10 EDT 2012 armv7l armv7l armv7l GNU/Linux

Steps to Reproduce:

1. Clic on connection icons (I guess NM-applet)
2. Select wifi network to connect. 
3. Connect it. Open browser

Additional info:

How to solve? You need run # dhclient eth0 to get IP address and surf on the net.

Comment 1 Álvaro Castillo 2012-09-23 09:49:18 UTC
"Additional info:

How to solve? You need run # dhclient eth0 to get IP address and surf on the net."

P.S: Always that you change Wi-Fi net, you need run these command.

Comment 2 Jirka Klimes 2012-10-16 07:58:09 UTC
Would you run these command in a terminal after you connected to the Wi-Fi and attach their output here (but before running dhclient):
$ nmcli dev
$ nmcli con s
$ ip a
$ ip route
$ cat /etc/resolv.conf

Also, /var/log/messages file with NetworkManager logs would be helpful.

Comment 3 Álvaro Castillo 2012-10-17 14:13:44 UTC
Yup!

$ nmcli dev
DEVICE      TYPE           STATUS
eth0    802-11-wireless    connected

$ nmcli con s
NAME       UUID           DEVICES  PREDETERMINED VPN   MASTER-PATH
wlan0    0cac.....         eth0      yes          no    not established

$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    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 qlen 1000
    link/ether 20:7c:8f:74:33:76 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.35/24 brd 192.168.1.255 scope global eth0
    inet6 fe80::227c:8fff:fe74:3376/64 scope link 
       valid_lft forever preferred_lft forever

$ ip route 
default via 192.168.1.1 dev eth0  proto static 
192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.35 

$ cat /etc/resolv.conf
All is commented

Comment 4 Álvaro Castillo 2012-10-17 14:15:00 UTC
Created attachment 628833 [details]
/var/log/messages file

Comment 5 Dan Winship 2012-10-19 11:34:12 UTC
So you have an IP address, you just don't have DNS.

Hm...

Oct 17 13:55:51 xo-74-33-76 NetworkManager[378]: <warn> could not commit DNS changes: (0) Could not replace /etc/resolv.conf: Device or resource busy

though this does not seem to be the same as bug 867432, since /var/log/messages seems to show that selinux is disabled.

Comment 6 Dan Winship 2012-10-19 11:40:02 UTC
http://dev.laptop.org/ticket/12121 suggests that this is in some way caused by using yum to update OLPC packages, which is apparently not supported.

Comment 7 Álvaro Castillo 2012-10-21 09:18:45 UTC
Yes, but I do not understand why maintain packages with yum. :/ . So, if a software is vulnerable, how to patch it without upates? 

However, with 11.* version, you can upgrade your packages in your system and nothing occurs this.

SElinux is disabled by default.