LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-27-2010, 11:25 PM   #1
Twister512
Member
 
Registered: Nov 2005
Location: Mansfield, PA
Distribution: Slackware
Posts: 97

Rep: Reputation: 15
Just installed Slack 13, a couple of wireless questions.


Just got my rig running Slack again after a long break. Version 13. I have a wireless card to connect to the internet. Every time I start the computer, I have to manually set the SSID using:

Code:
iwconfig wlan0 essid Lollerskates-house
and then doing

Code:
dhcpcd wlan0
to make it functional.


Not to terrible of a task for me to do, but the other users seem to not like it so much.

Is there a section I can just edit to set this in stone so it doesn't have to be done manually all the time?

Another issue I am having is with wicd. It keeps giving me this strange dbus error saying to make sure my user is in the netdev group. How is this accomplished?

I have read that some people have had this same issue and a reboot fixed the problem, not the case here.


I am also not using ETH0 at all, so is there a way I can get the annoying "Polling for DHCP server on interface eth0" to go away upon startup and shutdown?


Thanks a bunch guys for any help or direction.

--Paul--
 
Old 03-27-2010, 11:32 PM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
You can add your user to netdev by:
Code:
usermod -a -G netdev your_user_name
which will let you use wicd. In wicd there's an option to connect to a given network automatically on boot, which will solve your first problem.


Mind you, it is also useful to add your user to the following groups:
audio cdrom floppy plugdev video power
 
1 members found this post helpful.
Old 03-27-2010, 11:38 PM   #3
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Quote:
I am also not using ETH0 at all, so is there a way I can get the annoying "Polling for DHCP server on interface eth0" to go away upon startup and shutdown?
As for the above, putting an entry into the /etc/rc.d/rc.inet1.conf file, something like so:

Code:
IFNAME[0]="eth0"
USE_DHCP[0]="no"
..and that should solve the DHCP issue for eth0.
NOTE: The [0] should be optional if this is the only interface defined in this file.
Probably also wouldn't hurt to add your wireless interface in this file as well (I'm not sure how wicd and rc.inet1.conf play together, if at all, since I am not currently using any wireless myself.)

Last edited by GrapefruiTgirl; 03-27-2010 at 11:39 PM.
 
1 members found this post helpful.
Old 03-27-2010, 11:51 PM   #4
Twister512
Member
 
Registered: Nov 2005
Location: Mansfield, PA
Distribution: Slackware
Posts: 97

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by sycamorex View Post
You can add your user to netdev by:
Code:
usermod -a -G netdev your_user_name
which will let you use wicd. In wicd there's an option to connect to a given network automatically on boot, which will solve your first problem.


Mind you, it is also useful to add your user to the following groups:
audio cdrom floppy plugdev video power

I tried
Code:
usermod -a -G netdev user_name
and got this:

Quote:
usermod: invalid option -- 'a'
if I leave the -a out and just use -G and add users to the netdev group, it adds, but I still get the same d-bus errors.
 
Old 03-27-2010, 11:56 PM   #5
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Try adding them to the groups I mentioned above.
 
Old 03-28-2010, 12:02 AM   #6
Twister512
Member
 
Registered: Nov 2005
Location: Mansfield, PA
Distribution: Slackware
Posts: 97

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by sycamorex View Post
Try adding them to the groups I mentioned above.

I added the users to the groups listed above, along with the netdev group but without using the -a option and only the -G option.

When I tried -a it said it was an invalid option.
 
Old 03-28-2010, 12:05 AM   #7
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Quote:
Originally Posted by Twister512 View Post
I added the users to the groups listed above, along with the netdev group but without using the -a option and only the -G option.

When I tried -a it said it was an invalid option.
That's weird, it works on my slackware. That's the excerpt from the manual:

Code:
 -a, --append
           Add the user to the supplementary group(s). Use only with the -G
           option.
Anyway, has it got rid of the error message?
 
Old 03-28-2010, 12:37 AM   #8
Twister512
Member
 
Registered: Nov 2005
Location: Mansfield, PA
Distribution: Slackware
Posts: 97

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by sycamorex View Post
That's weird, it works on my slackware. That's the excerpt from the manual:

Code:
 -a, --append
           Add the user to the supplementary group(s). Use only with the -G
           option.
Anyway, has it got rid of the error message?
Just for giggles I tried just the -g option, and bada bing, it worked! No more d-bus errors and my wireless starts upon starting X now

Thanks for the help sycamorex and GrapefruiTGirl!

--Paul--
 
Old 03-28-2010, 01:00 AM   #9
Rodrin
Member
 
Registered: May 2003
Location: Upstate NY, U.S.
Distribution: Slackware
Posts: 248

Rep: Reputation: 31
To answer your first question, yes, anything you want to run each time you boot your computer you can add to the rc.local script. However, as sycamorex said, in this case if you get wicd running correctly (by putting yourself in the netdev group), you would probably be better off using it to connect to your wireless. The version of wicd that Slackware packages in extras is a bit buggy, at least when it comes to encrypted networks, so if you want to use encryption, you may want to acquire a newer version.

You should realize that if you use the -G option without the -a option in usermod, then it will remove you from all other groups. Without the -a option, you have to list every group you want to be a member of.

Last edited by Rodrin; 03-28-2010 at 01:04 AM.
 
Old 03-28-2010, 01:06 AM   #10
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by sycamorex View Post
You can add your user to netdev by:
Code:
usermod -a -G netdev your_user_name
Or
Code:
gpasswd -a your_user_name netdev
 
Old 03-28-2010, 04:59 AM   #11
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Quote:
Originally Posted by sycamorex View Post
That's weird, it works on my slackware. That's the excerpt from the manual:

Code:
 -a, --append
           Add the user to the supplementary group(s). Use only with the -G
           option.
I think '-a' is a new addition. I can remember replying to a similar post recently that the slackware usermod didn't have a '-a' option.
Are you perhaps using current?
 
Old 03-28-2010, 06:45 AM   #12
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Quote:
Originally Posted by GazL View Post
I think '-a' is a new addition. I can remember replying to a similar post recently that the slackware usermod didn't have a '-a' option.
Are you perhaps using current?
Indeed, I am. That might explain it
 
  


Reply



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
Couple Slack 13 questions.... linus72 Slackware 5 03-11-2010 05:50 AM
Installing Slack...Just a couple of questions BobNutfield Slackware 13 03-12-2006 11:01 AM
couple quick slack questions.... Basslord1124 Slackware 6 03-16-2005 11:49 AM
just installed FC2...couple questions tho apu95 Fedora 7 02-22-2005 09:14 AM
I would like to ask couple of questions before I install Slack 8.1 sitrus Slackware 6 09-12-2002 10:22 AM

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

All times are GMT -5. The time now is 03:04 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
Open Source Consulting | Domain Registration