Ask Your Question

sandeep's profile - activity

2018-03-07 10:06:39 -0600 commented question unable to start ad-hoc network (how to debug)

I was trying to share the wifi network. I finally got this working and pasted the recipe below.

2018-03-07 10:06:33 -0600 answered a question unable to start ad-hoc network (how to debug)

I got this working by collating a couple of docs on networking and ad-hoc mode. On both the laptops, I executed the command sequence (of course with different static ip).

systemctl disable NetworkManager.service 
ip link set wlp4s0 down
iwconfig wlp4s0 mode ad-hoc
iwconfig wlp4s0 essid 'll2'
iwconfig wlp4s0 key 1234567890
iwconfig wlp4s0 channel 4
ip link set wlp4s0 up
ip addr add dev wlp4s0
2018-03-05 12:38:15 -0600 asked a question unable to start ad-hoc network (how to debug)

I am running fedora 27 on lenovo x1. I am trying to start a ad-hoc network using the xfce4 network manager. The network manager tries but fails and resorts back to the default wifi network. How can I debug the issue. I seem to have all the necessary dependencies.

2017-09-17 12:55:32 -0600 asked a question grub2 dual boot windows entry

Got a new acer spin 3 machine. Install fedora on dual boot. However windows partition will not show up. I followed instruction posted here:

1. copied the Windows/Boot/EFI to /boot/efi/Microsoft/Boot
2. Then added a entry to the grub.d/40_custom


exec tail -n +3 $0
menuentry 'Microsoft Windows 10' {
set root='hd0,gpt1'
chainloader /EFI/Microsoft/Boot/bootmgfw.efi

  1. update grub

grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

However, I still don't see windows partition:

sh [root@localhost ~]# grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg Generating grub configuration file ... Found linux image: /boot/vmlinuz-4.12.8-300.fc26.x86_64 Found initrd image: /boot/initramfs-4.12.8-300.fc26.x86_64.img Found linux image: /boot/vmlinuz-4.11.8-300.fc26.x86_64 Found initrd image: /boot/initramfs-4.11.8-300.fc26.x86_64.img Found linux image: /boot/vmlinuz-0-rescue-227f1017eeeb4359a87087474f3eecf7 Found initrd image: /boot/initramfs-0-rescue-227f1017eeeb4359a87087474f3eecf7.img done

2017-09-17 12:17:18 -0600 received badge  Popular Question (source)
2017-09-17 12:17:18 -0600 received badge  Notable Question (source)
2017-03-11 13:31:58 -0600 asked a question map a special character from a font to a compose key shortcut

I am trying to figure out what are the feasible ways to type in non-english using the standard us keyboard.

So far I have figured out how to set the compose key and use key shortcut: for example

compose key + ` + e = é

Now I want to customize the key combination to a specific character from a specific font How do I go about doing that? Also, does a font come with predefined key combination?

Also, is this something ibus input selector can help? If so, any links would be helpful. I have looked quite a bit on this now and have not able to figure out a working approach.

2017-01-11 22:55:34 -0600 received badge  Notable Question (source)
2016-12-23 16:50:45 -0600 asked a question juniper vpn not able to set rule for forwarding

First, I was having diffculty in installing juniper vpn. I got pass that hurdle however when running the vpn has following error:

./ncui -h  host -f user.crt  -u sandeep -r RemoteAccessUsers -L 3  -U "login-host"

gives following error:

ip6tables: Bad rule (does a matching rule exist in that chain?).
ip6tables: Bad rule (does a matching rule exist in that chain?).
ip6tables: Bad rule (does a matching rule exist in that chain?).

I tried disabling the firewall as recommended here ( ) but this doesn't solve the problem.

2016-12-23 15:04:16 -0600 asked a question 32bit java on 64bit os for vpn: Failed to load ncui library

Juniper vpn program is a 32 bit java binary. In order to run this, I installed various 32bit packages java.i686, libXext.i686, libXtst, libXrender, and so on. The program is able to execute but the depended library ncui fails to load with following error

OpenJDK 64-Bit Server VM warning: You have loaded library /home/sandeep/Downloads/tmp/ which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Failed to load the ncui library.

I have seen this problem posted on other forums but there is no solution of it. I am on a AMD machine which is a intel binary. Not sure if that is the problem. ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=e020bbf004c887b69f895e1297890975ea03b99d, stripped

Had some success in running this program. It seems one doesn't have to go the java route. One can create an executable directly from the libncui as follows:

gcc -m32 -Wl,-rpath,`pwd` -o ncui

the resulting ncui executable is able to work. (credit: ).

2016-06-12 15:07:28 -0600 asked a question How configure grub2 for dualboot with windows 8 on fedora 24

I understand that this specific problem has been discussed on the forum before:

link 1 link 2

I tried the approach mentioned there but I still not able to fix it. Here are the specific details:

 [root@X1carbon EFI]#fdisk -l
    Disk /dev/sda: 119.2 GiB, 128035676160 bytes, 250069680 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: gpt
    Disk identifier: 4774B8EA-1C42-4937-9327-B576FF37D8B2

    Device         Start       End   Sectors  Size Type
    /dev/sda1       2048    825343    823296  402M Windows recovery environment
    /dev/sda2    2050048   2582527    532480  260M EFI System
    /dev/sda3    2582528   2844671    262144  128M Microsoft reserved
    /dev/sda4    2844672  85288959  82444288 39.3G Microsoft basic data
    /dev/sda5  213159936 235388927  22228992 10.6G Windows recovery environment
    /dev/sda6  235388928 250068991  14680064    7G Intel Fast Flash
    /dev/sda7     825344   1026047    200704   98M EFI System
    /dev/sda8    1026048   2050047   1024000  500M Microsoft basic data
    /dev/sda9   85288960 211111935 125822976   60G Linux LVM

This is my attempt at the approach mentioned in other posts:

exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

menuentry 'My Working Windows Bootloader' {
    search --no-floppy --fs-uuid --set=root 'DAE2-98ED'
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi

DAE2-98ED is the UUID for /dev/sda7 which is mounted at /boot/efi.

The only main issue is I see is that the file /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi is not present

2016-06-12 12:23:13 -0600 received badge  Popular Question (source)
2015-02-26 22:43:14 -0600 received badge  Supporter (source)
2015-02-22 20:58:51 -0600 received badge  Student (source)
2014-01-19 21:11:52 -0600 received badge  Scholar (source)
2014-01-19 17:55:38 -0600 commented question mlocate/updatedb doesn't include files /run/media.

did so. works well.

2014-01-19 16:37:17 -0600 received badge  Editor (source)
2014-01-19 16:36:57 -0600 asked a question mlocate/updatedb doesn't include files /run/media.


How can I direct mlocate/updatedb to include files on filesystem sdb2 mounted on /run/media/... to be included in the indexing. Currently, mlocated refuses to include those.