LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 10-21-2018, 08:43 AM   #1
grenier
Member
 
Registered: Jun 2004
Posts: 46

Rep: Reputation: 16
No wifi as root [solved]


Hi everyone,
I've got a weird problem and I hope someone will be able to help me.
I've just installed bodhi 5.0 on my x260 with no special problem, but right after rebooting I realized I couldn't access the network as root.
More specifically, after login in I can connect to the wifi network with no special issue and use with Midori, but no action with root privilege can connect. That means neither updater nor package installer nor apt. I've tried using the last both with a sudo command and after login in as root using su in a terminal. I'll note that I did make sure to allow access to the network connection to other users in the network configuration interface.

Any idea on how to correct that problem ?

Last edited by grenier; 11-01-2018 at 05:15 AM. Reason: found a solution
 
Old 10-21-2018, 03:15 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 9,493

Rep: Reputation: 991Reputation: 991Reputation: 991Reputation: 991Reputation: 991Reputation: 991Reputation: 991Reputation: 991
Have you tried it by hand as root? Kill the network, see if the wifi is spotted by the kernel
Code:
iwconfig <wifi_device>
e.g. iwconfig wlan0
You can usually connect with a line like
Code:
wpa_supplicant -i<wifi_device> -Dwext -c/path/to/wpa_supplicant.conf && dhcpcd <wifi_device>
It will probably puke, but the errors will be interesting.
 
1 members found this post helpful.
Old 10-22-2018, 03:02 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 9,966
Blog Entries: 7

Rep: Reputation: 2453Reputation: 2453Reputation: 2453Reputation: 2453Reputation: 2453Reputation: 2453Reputation: 2453Reputation: 2453Reputation: 2453Reputation: 2453Reputation: 2453
are you saying you're logging into the grahical desktop as root?
because i'm pretty sure you shouldn't be doing that.

apart from that, network connections always require elevated privileges.
 
1 members found this post helpful.
Old 10-22-2018, 09:29 AM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,106

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Read the section at the link below labelled Why you don't have a root password. Did you enable root and create a root password (see second link below)?

https://askubuntu.com/questions/4442...lems-with-sudo

https://askubuntu.com/questions/4442...lems-with-sudo

Not sure I understand your problem but you should be able to install software in a terminal with the apt commaand using sudo and your primary user password.
 
Old 10-22-2018, 10:15 AM   #5
grenier
Member
 
Registered: Jun 2004
Posts: 46

Original Poster
Rep: Reputation: 16
Oh boy. And here I thought I was just asking for some technical answer. I didn't expect to be lectured on my usual use of my laptop...
So, just in case: no I didn't graphically log in as root, I simply did it in a terminal wit the 'sudo su' command (although I will enable standard root login through su once I take the time to do so. I loathe the constant use of sudo).
Appart from that, no, as I said in my first post, I couldn't use apt since no elevated privilege action (i.e. root level action) could access the network.

Anyway, it appears there must have been a problem while installing as after going for a reinstall, the bug solved itself.

Thanks for the attempt to help, especially to business_kid.

Last edited by grenier; 11-01-2018 at 05:16 AM. Reason: typo
 
1 members found this post helpful.
  


Reply

Tags
bodhi, network, root


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wifi option is there but no wifi scanning or wifi not working Aakash447 Linux - Newbie 3 06-29-2018 12:48 AM
Want to share my wifi by creating a wifi hotspot ( While staying connected to wifi)? shadyXV Linux - Desktop 4 07-20-2015 06:37 PM
[SOLVED] wifi problems. after updating to the latest linux-kernel wifi doesn't work. jhp8940 Linux - Newbie 7 09-11-2014 01:17 PM
LXer: Court Says WiFi Isn't Radio Because It's Not Audio; Therefore WiFi Sniffing Can Be Wiretapping LXer Syndicated Linux News 0 09-10-2013 06:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi

All times are GMT -5. The time now is 10:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration