LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 12-03-2012, 05:05 PM   #31
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848

Well, you can edit the /etc/group file with an editor. Did you already use an editor with Linux?

You can also use sed
Code:
sudo sed -i.bkp 's/\(scanner.*\)/\1flyerdan69/' /etc/group
sudo sed -i.bkp1 's/\(lp.*\)/\1flyerdan69/' /etc/group
without any warranty!

Afterwards use the groups command again.

Markus

Last edited by markush; 12-03-2012 at 05:08 PM.
 
1 members found this post helpful.
Old 12-03-2012, 05:07 PM   #32
cmcanulty
LQ Newbie
 
Registered: Sep 2009
Posts: 26

Rep: Reputation: 0
scanner

I tried for months to get a brother MFC networked with ubuntu . It printed but I finally gave up on scanning and got an HP MFC which does it all fine with no hassles. Good luck.
 
Old 12-03-2012, 05:11 PM   #33
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Quote:
Originally Posted by cmcanulty View Post
I tried for months to get a brother MFC networked with ubuntu . It printed but I finally gave up on scanning and got an HP MFC which does it all fine with no hassles. Good luck.
Well, for scanning in the network there's a tutorial here at LQ http://www.linuxquestions.org/linux/...r_over_network

And the problem of flyerdan is only a permissionproblem, the device is recognized by the system, it will work soon.

Markus
 
1 members found this post helpful.
Old 12-03-2012, 05:23 PM   #34
FlyerDan69
LQ Newbie
 
Registered: Dec 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
I feel like a dope cause I dont know how to do what that link is telling me to do.
 
Old 12-03-2012, 05:51 PM   #35
FlyerDan69
LQ Newbie
 
Registered: Dec 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
I did not use an editor with linux
 
Old 12-03-2012, 05:58 PM   #36
FlyerDan69
LQ Newbie
 
Registered: Dec 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
flyerdan69@Satellite-A205:~$ sudo sed -i.bkp 's/\(scanner.*\)/\1flyerdan69/' /etc/group
[sudo] password for flyerdan69:
flyerdan69@Satellite-A205:~$ sudo sed -i.bkpl 's/\(lp.*\)/\1flyerdan69/' /etc/group

was anything supposed to happen after i did this? Markhus I really appreciate all of your help!!!!!
 
Old 12-03-2012, 06:27 PM   #37
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
I forgot to write that you should have to log out and login again after changing the group membership.

And both commands have to be executed one after the other because you have to enter the password for the first command before entering the second.

Probably the usermod command did already work. But you will see this when you login next time

Markus
 
1 members found this post helpful.
Old 12-03-2012, 06:38 PM   #38
FlyerDan69
LQ Newbie
 
Registered: Dec 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
flyerdan69@Satellite-A205:~$ sudo sed -i.bkp1 's/\(lp.*\)/\1flyerdan69/' /etc/group
[sudo] password for flyerdan69:
flyerdan69@Satellite-A205:~$ groups
flyerdan69 adm cdrom sudo dip plugdev lpadmin sambashare
flyerdan69@Satellite-A205:~$


here is what comes up after i did the two steps you told me about and the groups command again
 
Old 12-04-2012, 12:12 AM   #39
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Could you please post the output of
Code:
cat /etc/group
but at first (since you've now restarted the computer) check if scanning works now.

Markus
 
1 members found this post helpful.
Old 12-04-2012, 03:37 PM   #40
FlyerDan69
LQ Newbie
 
Registered: Dec 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
syslog:x:103:
fuse:x:104:
messagebus:x:105:
bluetooth:x:106:
scanner:x:107:flyerdan69flyerdan69flyerdan69
colord:x:108:
lpadmin:x:109:flyerdan69flyerdan69flyerdan69flyerdan69
ssl-cert:x:110:
lightdm:x:111:
nopasswdlogin:x:112:
netdev:x:113:
whoopsie:x:114:
mlocate:x:115:
ssh:x:116:
avahi-autoipd:x:117:
avahi:x:118:
pulse:x:119:
pulse-access:x:120:
utempter:x:121:
rtkit:x:122:
saned:x:123:
flyerdan69:x:1000:
sambashare:x:124:flyerdan69
 
Old 12-04-2012, 03:51 PM   #41
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Well, the commands worked, but not as expected.

You will have to open the group file in an editor and remove the redundant flyerdan69. You will have to use the sudo command with the editor. Probably gedit is installed
Code:
sudo gedit /etc/group
the lines to be altered:
Code:
syslog:x:103:
fuse:x:104:
messagebus:x:105:
bluetooth:x:106:
scanner:x:107:flyerdan69
colord:x:108:
lpadmin:x:109:flyerdan69
ssl-cert:x:110:
lightdm:x:111:
nopasswdlogin:x:112:
netdev:x:113:
whoopsie:x:114:
mlocate:x:115:
ssh:x:116:
avahi-autoipd:x:117:
avahi:x:118:
pulse:x:119:
pulse-access:x:120:
utempter:x:121:
rtkit:x:122:
saned:x:123:
flyerdan69:x:1000:
sambashare:x:124:flyerdan69
The lp group doesn't exist, probably it isn't needed.

Note that you will have to logout and afterwards login after changing the group file in order the changes to take place.

Markus
 
1 members found this post helpful.
Old 12-04-2012, 04:28 PM   #42
FlyerDan69
LQ Newbie
 
Registered: Dec 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
Do i romove the whole scanner and flyerdan69 or just the flyerdan69s ?
 
Old 12-04-2012, 04:33 PM   #43
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
No, the lines in red in my above posting should look like in my posting! one flyerdan69 at the end of the line, no space after the colon ":"

Markus
 
1 members found this post helpful.
Old 12-04-2012, 05:15 PM   #44
FlyerDan69
LQ Newbie
 
Registered: Dec 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
Markush you are the man!!!! Thank you so much for helping me I dont know what i would have done without you.Works like a charm now. God Bless and thanks again. Dan
 
Old 12-04-2012, 05:19 PM   #45
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
You're welcome,

I'm happy to read that you've the scanner working now.

Btw, if you want to learn a bit more about Linux you can read here: http://rute.2038bug.com/index.html.gz

Markus
 
  


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
Brother MFC-7360N Scanner activation Curt Wiedeman Ubuntu 4 11-19-2012 11:57 AM
Brother MFC-J220 on Slackware 13:37 Scanner Cannot Be Detected. Help. malekmustaq Slackware 12 08-19-2012 10:32 PM
[SOLVED] Brother MFC-7840W Network Scanner not Recognized in XSane Kaiser Soze Slackware 9 06-21-2011 11:40 PM
Brother MFC-9440CN scanner with Ubunutu 10.10 cigtoxdoc Linux - Hardware 2 03-04-2011 12:47 AM
Brother MFC-8670DN -- Scanner Not Working in Ubuntu 9.04 noobwifi Linux - Hardware 3 05-22-2009 12:26 PM


All times are GMT -5. The time now is 03:42 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration