LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-04-2009, 07:09 AM   #16
J Harp
Member
 
Registered: Sep 2009
Posts: 133

Original Poster
Rep: Reputation: 0

The last line of my last reply is incorrect. It should be.
barb10jim09@jim:~$
 
Old 10-04-2009, 07:17 AM   #17
J Harp
Member
 
Registered: Sep 2009
Posts: 133

Original Poster
Rep: Reputation: 0
The last line of my last post is incorrect.
It should be. barb10jim09@jim:~$

Edit sorry double post.

Last edited by J Harp; 10-04-2009 at 07:19 AM.
 
Old 10-04-2009, 07:27 AM   #18
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Well, that's odd, because the user who "doesn't connect" is a member of more groups than the one who can. If you are sure you have this the right way round, read on.

jim3744harp (who can use the net) is a member of the group admin and barb10jim09 is not.

So we can try adding barb10jim09 to the group admin like this:

Make sure barb10jim09 is not logged in

Login as jim3744harp

Give this command in a terminal
Code:
sudo  usermod  -aG  admin  barb10jim09
You'll have to give jim3744harp's password.

Now login as barb10jim09 and see if the network works any better.

As an aside, can the user jim3744harp use the sound device? Because he is not a member of the audio group.

I don't understand how your default groups got to be messed up like this.

Quote:
The last line of my last post is incorrect.
Typos can (sometimes) be forgiven
 
Old 10-04-2009, 02:20 PM   #19
J Harp
Member
 
Registered: Sep 2009
Posts: 133

Original Poster
Rep: Reputation: 0
I tried your instructions several times without the expected result. Tried it with double spaces between the commands, which looks to be correct, also tried single spaces in case I was misreading something. Tried exiting on the next line after entering the commands, tried it without exiting. Every trial showed disconnected-offline.

Here is the return after logging in as barb10jim09and running groups in a terminal, it appears admin has been added, but still no connection.

barb10jim09@jim:~$ groups
barb10jim09 adm dialout fax cdrom tape audio video plugdev fuse netdev admin
barb10jim09@jim:~$

No the sound device was not working, at least when I tried to play a you tube I got no sound. That was to be the next project, but looks like it is part of this one.

I don't know how the mixup happened either. so far as I know all I did was enter the first user and after getting it connected, add the second one. It's easy to see that I don't know much about it, I have only been working with Ubuntu since last Tuesday, at least I learned how to open a terminal today.

Do you think it's time to remove one or both of the users and start over? I'll not try that without a go ahead from someone who knows the subject. I certainly appreciate your trying to help.
 
Old 10-05-2009, 03:36 AM   #20
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
I tried your instructions several times without the expected result. Tried it with double spaces between the commands, which looks to be correct, also tried single spaces in case I was misreading something.
The number of spaces don't matter, I just double spaced the command so you'd notice the spaces.

Technically, it did work, because barb10jim09 is now a member of the admin group, but that hasn't solved your problems.
Quote:
Do you think it's time to remove one or both of the users and start over?
I think it is time for a re-install. It's easy to mess things up when you are just starting with linux. I think I needed three reinstalls in my first week because I kept playing (& learning!) until I broke it.

Plug everything in (router, printer etc) and turn it all on. Reboot from your CD and reinstall.
Once you have done that, the first thing it'll want to do is fetch updates - let it, then reboot, then add your other users and start configuring things.

Remember the first user registered will have admin and sudo privileges, the rest will have the privileges you assign them when you create each additional user, so take care with these.

On my 'buntu systems, (6.06, 8.4) the network comes up at boot, and all users can use it. I don't have to turn the network on, it's just there as long as my ethernet cable is plugged in.

Let us know how it goes.
 
Old 10-05-2009, 08:38 AM   #21
J Harp
Member
 
Registered: Sep 2009
Posts: 133

Original Poster
Rep: Reputation: 0
Thank you, I will do the reinstall as soon as time is available. I have some other must do jobs for today.
 
Old 10-05-2009, 11:19 PM   #22
J Harp
Member
 
Registered: Sep 2009
Posts: 133

Original Poster
Rep: Reputation: 0
Ok I reinstalled and updated, entered a single user with an easier login name. I ran groups and got about the same list as on the first install, the only difference was the addition of lpadmin. I have no ides what most of these are for.

Using sudo I added audio and video, then installed adobe flash player, I now have sound and video. Here is the latest groups report.


jim@jim-desktop:~$ groups
jim adm dialout cdrom audio video plugdev lpadmin admin sambashare
jim@jim-desktop:~

My searches have failed to find a list of commands and what they do. could someone help me with that. Thanks.
 
Old 10-06-2009, 06:13 AM   #23
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Your groups look better. Well done.

Nowadays you can do most things through the GUI, but it is often helpful to know about the underlying commands and how they work.

Here are some links to useful documentation:

http://rute.2038bug.com/index.html.gz
http://tldp.org/LDP/Bash-Beginners-G...tml/index.html
http://www.yolinux.com/TUTORIALS/Lin...etworking.html

Have fun.
 
  


Reply


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
New Linux user, can not connect to Linksys Wireless router - help! vban77 Linux - Wireless Networking 7 08-02-2009 01:47 PM
how many user can connect to wireless router ? vargadanis Linux - Wireless Networking 5 02-03-2007 03:35 PM
connect wvdial as non-root user? cdhgee Linux - Software 4 08-01-2005 02:37 AM
pan doesnt connect as user only as root madcow007 Linux - Software 0 06-27-2005 07:58 PM
Connect to mysql as non root(linux) user dublinclontarf Slackware 1 02-09-2004 04:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:27 AM.

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
Open Source Consulting | Domain Registration