LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-25-2009, 08:19 PM   #1
SiRoel
LQ Newbie
 
Registered: Apr 2009
Posts: 7

Rep: Reputation: 0
slackware 13 on ThinkPad X31, could't connect to internet, could't restart & shutdown


- how to set internet connection ? i got pop up alert such as "could not parse xml file "
- command #shutdown -r now or #shutdown -h now could not restart or shutdown my machine, i have opened /etc/lilo.conf and add command: append = "acpi=force"
but it didn't works. what should i do ?
help me please, thanks.
 
Old 10-25-2009, 09:33 PM   #2
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Is your user in power group? What is the output of ifconfig?
 
Old 10-25-2009, 11:05 PM   #3
kite
Member
 
Registered: Aug 2003
Location: Shenzhen, China
Distribution: Slackware
Posts: 306

Rep: Reputation: 47
I am using X31 with slack 13 too.

Regarding internet, what type of connection you have? Here I use WICD to connect to my home wifi router easily.

Regarding power off, if you could power using root, you must check whether normal user is a member of power group, check /etc/group
 
Old 10-25-2009, 11:31 PM   #4
slackd
Member
 
Registered: Sep 2009
Location: Bangalore, India
Distribution: Fedora, Slackware, Arch Linux
Posts: 260
Blog Entries: 1

Rep: Reputation: 60
Thumbs up

Quote:
Originally Posted by SiRoel View Post
- how to set internet connection ? i got pop up alert such as "could not parse xml file "
- command #shutdown -r now or #shutdown -h now could not restart or shutdown my machine, i have opened /etc/lilo.conf and add command: append = "acpi=force"
but it didn't works. what should i do ?
help me please, thanks.
1. To connect to the internet:

- for pppoe, run -> pppoe-setup (follow on-screen instructions)
- for wireless, -> use wicd
- for dialup, -> use Wvdial

2. Am guessing u have created a new account and have not added the appropriate groups.

see this list and do the needful->
Code:
sam@Sam:~$ groups
sam bin daemon sys tty disk wheel audio video cdrom games slocate shadow ftp haldaemon plugdev power netdev scanner users console
then as root u can use "visudo" from the terminal and then edit accordingly.-> (assuming ur comfortable with vi editor)

Code:
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#

# Host alias specification

# User alias specification

# Cmnd alias specification

# Defaults specification

# Runas alias specification

# User privilege specification
root    ALL=(ALL) ALL

# Uncomment to allow people in group wheel to run all commands
#  %wheel       ALL=(ALL)       ALL

# Same thing without a password
  %wheel        ALL=(ALL)       NOPASSWD: ALL

# Samples
# %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users  localhost=/sbin/shutdown -h now
then u can use the following commands to successfully shutdown or reboot:

for reboot ->
Code:
sudo /sbin/reboot
for shutdown ->
Code:
sudo /sbin/shutdown -h now
Hope this helps.

Last edited by slackd; 10-25-2009 at 11:36 PM.
 
  


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
how to : mount flashcard via CLI, get slackware 12.2 load faster on thinkpad X31 SiRoel Slackware 2 07-17-2009 06:06 AM
could't load fedora 4 in MSI K9AGM2 board...showing error szoan Linux - Newbie 1 05-28-2008 06:25 AM
Could't find gmp library after moving Perl Module 2007fld Programming 1 09-04-2007 08:47 PM
Can only connect to internet if 1st boot into XP then restart & boot into Suse 10.1 axarq Linux - Networking 6 08-03-2006 08:33 PM
GNG error on Synaptic, Signatures could't be verified. Stimz Linux - Newbie 8 12-06-2005 06:59 AM

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

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