Ask Your Question

riclags's profile - activity

2015-06-23 09:27:55 -0600 received badge  Good Question (source)
2015-05-23 09:50:57 -0600 received badge  Notable Question (source)
2015-05-23 09:50:57 -0600 received badge  Famous Question (source)
2015-05-23 09:50:57 -0600 received badge  Popular Question (source)
2015-03-05 11:21:42 -0600 received badge  Famous Question (source)
2015-03-03 08:07:29 -0600 commented answer How to connect to wifi using nmcli?

I already did this an I get an Error: no device found for connection 'my-connection'. How do I associate a DEVICE to my connection (as I've mentioned in my question, the DEVICE column shows a -- under 'my-connection')?

2015-03-03 08:07:29 -0600 received badge  Commentator
2015-03-01 05:25:24 -0600 edited question How to connect to wifi using nmcli?

I installed Fedora Server on my computer and I want to connect to a WiFi network but I am confused on how to use nmcli command.

My interfaces, I suspect that wireless interface is down:

$ ip addr
...
3: wlp3s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:16:cf:b9:a4:cd brd ff:ff:ff:ff:ff:ff

My configured connections:

$ nmcli con show
NAME      UNAME           TYPE               DEVICE
wpl3s0    63e04cee-...    802-11-wireless    --

The status of devices:

$ nmcli dev status
DEVICE    TYPE    STATE        CONNECTION
wlp3s0    wifi    unmanaged    --

I do a nmcli dev wifi list but no results. The command nmcli radio wifi gives enabled. I then try doing:

$ sudo ifup wlp3s0
Error: no device found for connection 'wlp3s0'

So how do I assign a device to connection 'wlp3s0'?

Also, I am not even sure if I'm doing the right thing so please enlighten me.

Updates: 2015-03-01

I still haven't figured this out so I tried connecting to WiFi manually (without using the nmcli tool).

$ sudo ip link set dev wlp3s0 up        # bring up the 'wlp3s0' interface
$ sudo iwconfig wlp3s0                  # check interface
wlp3s0    IEEEE 802.11abgn  ESSID:off/any
          Mode:Managed  Access Point: Not-Associated    Tx-Power=17 dBm
          Retry short limit:7    RTS thr:off    Fragment thr:off
          Encryption key:off
          Power Management:off
$ sudo iwlist wlp3s0 scanning           # scan for ESSID; it finds "my-ssid"
wlp3s0    Scan completed :
          Cell 01 - Address: ...
                    ...
                    ESSID:"my-ssid"
                    ...
$ sudo wpa_passphrase "my-ssid" > wpa_config_file
sudo: wpa_passphrase: command not found
$ which wpa_supplicant
/usr/bin/which: no wpa_supplicant in (/usr/local/bin:/usr/bin/usr/local/sbin:/usr/sbin:...)

Could the lack of wpa_supplicant be the reason I can't connect? And why isn't this installed by default? How do I install it if I can't connect to the Internet? Any help is appreciated.

2015-03-01 05:07:03 -0600 commented answer How to connect to wifi using nmcli?

I can't. I'm not connected to the Internet so it throws an error when I do any yum <command>...

2015-02-25 09:29:03 -0600 commented answer How to connect to wifi using nmcli?

Output of journalctl -r -u NetworkManager.service:

... (wlp3s0): exported as /org/freedesktop/NetworkManager/Devices/2
... (wlp3s0): new Generic device (driver: 'ath9k' ifindex: 3)
... (wlp3s0): carrier is OFF
... (wlp3s0): 'wifi' plugin not available; creating generic device

Not sure what to make of that...

2015-02-19 08:10:35 -0600 received badge  Notable Question (source)
2015-02-13 19:34:45 -0600 answered a question Installing VirtualBox in Fedora 21 using RPM Fusion is giving me problems

As of this post, Fedora just got the 3.18.6-200.fc21 kernel and I've updated to it. I'm now able to install the VirtualBox package from RPM Fusion.

2015-02-13 18:20:06 -0600 received badge  Popular Question (source)
2015-02-12 10:48:24 -0600 commented question Installing VirtualBox in Fedora 21 using RPM Fusion is giving me problems

I tried what you suggested, cobra. Please see my update to question above.

2015-02-12 10:46:01 -0600 received badge  Editor (source)
2015-02-12 10:46:01 -0600 edited question Installing VirtualBox in Fedora 21 using RPM Fusion is giving me problems

I've recently installed Fedora 21 Workstation and I want to install the VirtualBox package from RPM Fusion. But it is giving me problems.

$ uname -a
Linux a10-5800k 3.18.5-201.fc21.x86_64 #1 SMP Mon Feb 2 21:00:58 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

$ sudo yum install VirtualBox kmod-VirtualBox
Loaded plugins: langpacks
Resolving Dependencies
--> Running transaction check
---> Package VirtualBox.x86_64 0:4.3.20-3.fc21 will be installed
--> Processing Dependency: libSDL-1.2.so.0()(64bit) for package: VirtualBox-4.3.20-3.fc21.x86_64
---> Package kmod-VirtualBox.x86_64 0:4.3.20-4.fc21.3 will be installed
--> Processing Dependency: kmod-VirtualBox-3.18.6-200.fc21.x86_64 >= 4.3.20-4.fc21.3 for package: kmod-VirtualBox-4.3.20-4.fc21.3.x86_64
--> Running transaction check
---> Package SDL.x86_64 0:1.2.15-17.fc21 will be installed
---> Package kmod-VirtualBox-3.18.6-200.fc21.x86_64.x86_64 0:4.3.20-4.fc21.3 will be installed
--> Processing Dependency: kernel-uname-r = 3.18.6-200.fc21.x86_64 for package: kmod-VirtualBox-3.18.6-200.fc21.x86_64-4.3.20-4.fc21.3.x86_64
--> Finished Dependency Resolution
Error: Package: kmod-VirtualBox-3.18.6-200.fc21.x86_64-4.3.20-4.fc21.3.x86_64 (rpmfusion-free-updates)
           Requires: kernel-uname-r = 3.18.6-200.fc21.x86_64
           Installed: kernel-core-3.17.4-301.fc21.x86_64 (@koji-override-0/$releasever)
               kernel-uname-r = 3.17.4-301.fc21.x86_64
           Installed: kernel-core-3.18.5-201.fc21.x86_64 (@updates)
               kernel-uname-r = 3.18.5-201.fc21.x86_64
           Available: kernel-debug-core-3.17.4-301.fc21.x86_64 (fedora)
               kernel-uname-r = 3.17.4-301.fc21.x86_64+debug
           Available: kernel-debug-core-3.18.5-201.fc21.x86_64 (updates)
               kernel-uname-r = 3.18.5-201.fc21.x86_64+debug
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

The problem is that the RPM Fusion kmod-VirtualBox.x86_64 points to kmod-VirtualBox-3.18.6-200.fc21.x86_64. There is an available kmod-VirtualBox for my current kernel and I try to install that like so.

$ sudo yum install VirtualBox kmod-VirtualBox-3.18.5-201.fc21.x86_64.x86_64

But I still get the same dependency check error as above. I guess my question is how do I install VirtualBox so that it uses the kmod with the same kernel Fedora 21 is using?

I have tried updating as of this post but Fedora 21 still doesn't have the 3.18.6-200.fc21 kernel available.

Update:

I tried this:

$ sudo yum install kmod-VirtualBox-3.18.5-201.fc21.x86_64.x86_64
...
Installed:
  kmod-VirtualBox-3.18.5-201.fc21.x86_64.x86_64 0:4.3.20-4.fc21.2               

Dependency Installed:
  VirtualBox-guest.x86_64 0:4.3.20-3.fc21                                       

Complete!

Then

$ sudo yum install VirtualBox
Loaded plugins: langpacks
Resolving Dependencies
--> Running transaction check
---> Package VirtualBox.x86_64 0:4.3.20-3.fc21 will be installed
--> Processing Dependency: libSDL-1.2.so.0()(64bit) for package: VirtualBox-4.3.20-3.fc21.x86_64
--> Running transaction check
---> Package SDL.x86_64 0:1.2.15-17.fc21 will be installed
--> Processing Conflict: VirtualBox-guest-4.3.20-3.fc21.x86_64 conflicts VirtualBox <= 4.3.20-3.fc21
--> Processing Conflict: VirtualBox-4.3.20-3.fc21.x86_64 conflicts VirtualBox-guest <= 4.3.20-3.fc21
--> Finished Dependency Resolution
Error: VirtualBox-guest conflicts with VirtualBox-4.3.20-3.fc21.x86_64
Error: VirtualBox conflicts with VirtualBox-guest-4.3.20-3.fc21.x86_64
 You ...
(more)
2015-02-12 08:07:48 -0600 commented question Installing VirtualBox in Fedora 21 using RPM Fusion is giving me problems

The thing is my current kernel is 3.18.5-201.fc21 and there is a kmod-VirtualBox-3.18.5-201.fc21 but the kmod-VirtualBox metapackage points to a newer kernel 3.18.6-200.fc21. I am wondering how I can "force" install kmod-VirtualBox-3.18.5-201.fc21 along with VirtualBox and not get the error I am getting.

2014-03-22 09:17:09 -0600 received badge  Famous Question (source)
2014-02-04 00:08:03 -0600 received badge  Notable Question (source)
2014-01-30 11:04:59 -0600 received badge  Nice Question (source)
2014-01-30 01:25:17 -0600 received badge  Popular Question (source)
2014-01-29 18:44:17 -0600 commented answer What's the difference between an Environment Group and Group?

So, I am assuming, that when I do a yum groupinstall "Basic Desktop" then the Environment Group is the one being installed, right?

2014-01-29 10:07:52 -0600 asked a question What's the difference between an Environment Group and Group?

I'm planning to do a Fedora 20 minimal install (CLI) and build it up so it ends up with a GUI (similar to how a beginner's install of Arch goes). I do a yum grouplist and under Available environment groups is the Basic Desktop group.

$ yum grouplist
Loaded plugins: langpacks, refresh-packagekit
Available environment groups:
   GNOME Desktop
   KDE Plasma Workspaces
   Xfce Desktop
   LXDE Desktop
   Cinnamon Desktop
   MATE Desktop
   Sugar Desktop Environment
   Development and Creative Workstation
   Web Server
   Infrastructure Server
   Basic Desktop
   Minimal Install

I wanted to see what's in Basic Desktop so I did a yum groupinfo "Basic Desktop" and I got a puzzling result.

$ yum groupinfo "Basic Desktop"
Loaded plugins: langpacks, refresh-packagekit

Environment Group: Basic Desktop
 Environment-Id: basic-desktop-environment
 Description: X Window System with a choice of window manager.
 Mandatory Groups:
    base-x
   +basic-desktop
    core
    dial-up
    fonts
    guest-desktop-agents
    hardware-support
    multimedia
    standard
 Optional Groups:
   +cinnamon-desktop
    firefox
    gnome-desktop
    input-methods
   +kde-desktop
   +legacy-fonts
    libreoffice
   +lxde-desktop
   +mate-desktop
   +sugar-desktop
   +xfce-desktop
   +xmonad
   +xmonad-mate

Group: Basic Desktop
 Group-Id: basic-desktop
 Description: Basic X Window System with a choice of window manager.
 Mandatory Packages:
    adwaita-cursor-theme
    adwaita-gtk2-theme
    adwaita-gtk3-theme
   +awesome
   +dwm
   +fedora-icon-theme
    gnome-icon-theme-symbolic
   +i3
   +initial-setup
   +lightdm
   +metacity
   +openbox
   +ratpoison
   +xmonad-basic

Apparently, there are 2 Basic Desktop groups, one Environment Group and just plain Group. I do understand that installing the Environment Group: Basic Desktop will install the Group: Basic Desktop group as the latter is a mandatory group for the former.

For the sake of knowledge and further understanding of Fedora, I am wondering...

  • ...what the difference is between Environment Group and Group?
  • ...what will be installed when I do a yum groupinstall "Basic Desktop"? Will it be the Environment Group or the Group?
2014-01-27 05:30:36 -0600 received badge  Good Question (source)
2014-01-25 00:10:09 -0600 commented question how to install development tools in Fedora 20

Any specific development tool in mind? If so, please update your question. You can also do in command line $ yum groupinfo "C Development Tools and Libraries" or $ yum groupinfo "Development Tools" and check if what you need is there.

2014-01-21 14:10:55 -0600 received badge  Famous Question (source)
2014-01-21 14:10:55 -0600 received badge  Notable Question (source)
2014-01-20 23:54:19 -0600 commented answer Fedora 20 system update failure for `initscripts` and `selinux-policy-targeted`

This resolved the `initscripts` and `selinux-policy-targeted` issue but I had to remove `kernel-3.12.8-300...` and do an update again to get it reinstalled; `yum reinstall kernel\*3.12.8-300\*` didn't work for me. But I think everything is updated now. Thanks for the quick response.

2014-01-20 22:20:23 -0600 received badge  Popular Question (source)
2014-01-20 19:27:13 -0600 asked a question Fedora 20 system update failure for `initscripts` and `selinux-policy-targeted`

I'm relatively new to Fedora and already I've had 2 issues with system updates in a span of 5 days! I'm starting to doubt if I want to continue using it (and I do want to continue using it) because I didn't experience any issues with system updates with Debian/*buntu before. Anyway...

$ sudo yum check-update
Loaded plugins: langpacks, refresh-packagekit

initscripts.x86_64                    9.51-1.fc20            updates
selinux-policy-targeted.noarch        3.12.1-117.fc20        updates
Security: kernel-3.12.8-300.fc20.x86_64 is an installed security update
Security: kernel-3.12.7-300.fc20.x86_64 is the currently running version

So, I do the yum update, initscripts and selinux-policy-targeted fail.

$ sudo yum update
...
Running transaction
error: %pre(initscripts-9.51-1.fc20.x86_64) scriptlet failed, exit status 127
Error in PREIN scriptlet in rpm package initscripts-9.51-1.fc20.x86_64
error: initscripts-9.51-1.fc20.x86_64: install failed
error: %pre(selinux-policy-targeted-3.12.1-117.fc20.noarch) scriptlet failed, exit status 127
Error in PREIN scriptlet in rpm package selinux-policy-targeted-3.12.1-117.fc20.noarch
initscripts-9.50-1.fc20.x86_64 was supposed to be removed but is not!
  Verifying  : initscripts9.50-1.fc20.x86_64                                                 1/4
  Verifying  : selinux-policy-targeted-.12.1-117.fc20.noarch                                 2/4
selinux-policy-targeted-3.12.1-116.fc20.noarch was supposed to be removed but is not!
  Verifying  : selinux-policy-targeted-.12.1-116.fc20.noarch                                 3/4
  Verifying  : initscripts-.51-1.fc20.x86_64                                                 4/4

Failed:
  initscripts.x86_64 0:9.50-1.fc20                  initscripts.x86_64 0:9.51-1.fc20
  selinux-policy-targeted.noarch 0:3.12.1-116.fc20  selinux-policy-targeted.noarch 0:3.12.1-117.fc20

Complete!

Questions

  1. During boot, I can't see kernel-3.12.8-300... as an option from the boot loader. I've read from other posts that to update boot loader, I have to run grub2 mkconfig -o /boot/grub2/grub.cfg but I am running Fedora 20 with EFI so I haven't tried this as it may muck up my system. How do I add the 3.12.8-300 kernel as an option to my boot loader if I'm on EFI?

  2. Is there anything I need to do to fix the issues with initscripts and selinux-policy-targeted for them to get installed? Being new to Fedora, I don't understand the %pre, PREIN and exit status 127 errors being thrown by the updater.

Thanks.

2014-01-15 20:03:23 -0600 marked best answer Fedora 20: How to resolve dependency resolution errors with `librtmp`?

Doing a yum update gives me the ff. dependency resolution messages:

--> Finished Dependency Resolution
Error: Package: mencoder-1.1-16.20131125svn.fc20.x86_64 (@rpmfusion-free)
       Requires: librtmp.so.0()(64bit)
       Removing: librtmp-2.4-0.3.20110811gitc58cfb3e.fc19.x86_64 (@rpmfusion-free)
           librtmp.so.0()(64bit)
       Updated By: librtmp-2.4-1.20131205.gitdc76f0a.fc20.x86_64 (rpmfusion-free-updates)
          ~librtmp.so.1()(64bit)
Error: Package: mplayer-1.1-16.20131125svn.fc20.x86_64 (@rpmfusion-free)
       Requires: librtmp.so.0()(64bit)
       Removing: librtmp-2.4-0.3.20110811gitc58cfb3e.fc19.x86_64 (@rpmfusion-free)
           librtmp.so.0()(64bit)
       Updated By: librtmp-2.4-1.20131205.gitdc76f0a.fc20.x86_64 (rpmfusion-free-updates)
          ~librtmp.so.1()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Being new to Fedora, I don't know how to go about this. Some questions:

  1. If I use --skip-broken flag, then yum will not update librtmp and leave it to version 2.4-0.3. I just have to wait for RPMFusion to get mencoder and mplayer updated with using librtmp-2.4-1... package and a yum update will resolve this error. Is this line of thinking correct?
  2. I have no idea what rpm -Va --nofiles --nodigest does...can someone care to explain?
2014-01-15 20:03:10 -0600 commented answer Fedora 20: How to resolve dependency resolution errors with `librtmp`?

I just tried yum update again and no more issues with librtmp. I didn't have to --enablerepo=rpmfusion-free-updates-testing when I did the update. Thanks everyone for the responses.

2014-01-15 20:01:57 -0600 received badge  Scholar (source)
2014-01-15 20:01:55 -0600 received badge  Supporter (source)
2014-01-15 11:04:32 -0600 received badge  Nice Question (source)
2014-01-15 05:43:01 -0600 received badge  Famous Question (source)
2014-01-15 04:37:40 -0600 received badge  Notable Question (source)
2014-01-15 03:28:15 -0600 received badge  Student (source)