LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   slackware 13 on ThinkPad X31, could't connect to internet, could't restart & shutdown (https://www.linuxquestions.org/questions/slackware-14/slackware-13-on-thinkpad-x31-couldt-connect-to-internet-couldt-restart-and-shutdown-764422/)

SiRoel 10-25-2009 08:19 PM

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.

cwwilson721 10-25-2009 09:33 PM

Is your user in power group? What is the output of ifconfig?

kite 10-25-2009 11:05 PM

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

slackd 10-25-2009 11:31 PM

Quote:

Originally Posted by SiRoel (Post 3732365)
- 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. :)


All times are GMT -5. The time now is 10:00 AM.