Ubuntu 8.10 won't shutdown/restart or connect to default network

Asked by Tyler B

I have 2 issues, the first being that Ubuntu 8.10 won't shutdown or restart, it just hangs at the black screen just before the power would cycle off/on (restart) or shut down.

The second issue I'm having is that it won't automatically connect to my default network connection.

It currently lists the following networks:

Wired Network:
ifupdown (default)

Wireless Network:
Beckett <-- This is my Wireless-N D-Link router
BeckShare <-- This is point-to-point network setup using my laptop when I was using my laptop as a router a while back.

I tried going into System->Preferences->Network Configuration and enabling the Automatically Connect setting. When I click OK to close, though, I get the following error:

Updating connection failed: nm-ifupdown-connection.c.82
- connection update not supported (read-only)..
[Close]

I'm really not sure what that means.

I just upgraded, last night, from 8.04LTS to 8.10 and am fairly new to Linux, let along Ubuntu. Any help is greatly appreciated.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu network-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Juliano
Solved:
Last query:
Last reply:
Revision history for this message
Tyler B (mtylerb) said :
#1

Anyone?

Revision history for this message
Best Juliano (jcsilva87) said :
#2

Hi. I had the same problem with the shutdown/reboot and solve it this way:
Open the file /etc/init.d/alsa-utils with the following command:

sudo gedit /etc/init.d/alsa-utils

The file opens in Gedit and around the line 353 you'll find the instruction "stop)". Below this instruction you should add these two instructions:

ifconfig wlan0 down
ifconfig eth0 down

So, the file should be this way:

stop)
ifconfig wlan0 down
ifconfig eth0 down
EXITSTATUS=0

After doing this, save the file, close it and restart or shutdown Ubuntu and verify if the problem continues.

Revision history for this message
Tyler B (mtylerb) said :
#3

That's great Juliano, that solved the restart problem! Thanks so much!

Now for the default connection problem, does anyone know anything about that?

Revision history for this message
goto (gotolaunchpad) said :
#4

I have the same problem, but my sound is away too and I cannot change any network settings.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#5

Ubuntu 8.10 netwok manager and network manager applet

There are bugs marked "high" for networks-manager and network-manager-applets please see:

https://bugs.launchpad.net/ubuntu/+source/network-manager-applet/+bugs

https://bugs.launchpad.net/ubuntu/+source/network-manager-applet/+bug/289466

https://bugs.launchpad.net/ubuntu/+source/network-manager/+bugs

https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/279262

They are candidate to be solved in short time...

hope this helps

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#6

Sorry previous answer have no sense here... I select wrong tab in multi tabs opened Firefox questions.

Revision history for this message
gunnerjamesr (gunnerjamesr) said :
#7

HI, i tried using the below solution for shutting down / restarting but when i try to save the changes it says i dont have permission. Could you tell me how to solve this (it seems everyone else managed it without a problem, haha)

ifconfig wlan0 down
ifconfig eth0 down

So, the file should be this way:

stop)
ifconfig wlan0 down
ifconfig eth0 down
EXITSTATUS=0

Revision history for this message
Tyler B (mtylerb) said :
#8

@gunnerjamesr - did you use the command exactly the way it is printed above? You need to type:

sudo gedit /etc/init.d/alsa-utils

into a terminal. Make sure to include the sudo, otherwise you won't be able to edit the file as it is "owned" by root.

Revision history for this message
Tyler B (mtylerb) said :
#9

Thanks Juliano, that solved my question.

Revision history for this message
gunnerjamesr (gunnerjamesr) said :
#10

hi, yep i did this but it still doesn't want to shut down.

i click the shut down button, the computer does everything right until the Ubuntu sign come up. the orange bar slowly turns to black then once its completely black it just stops and i have to use the power button to shut it down.

I did everything exactly as it says but still nothing.

really not sure what might be the problem.

Revision history for this message
johnn (j-northall) said :
#11

And more thanks Juliano from a new boy..
Does "wlan" mean wireless LAN...as I don't have one?
Also my network configuration to my router has a "eth1" as well as "eth0", should I add that too? Ubuntu did this when it first made connection.
Before I did the fix, the computer did a hang on shutdown & I pulled out the network cable & put it back in. The shutdown then completed OK. Maybe a good test.

Revision history for this message
Robin Perkins (robin-perkins) said :
#12

@johnn - you need to do it for every interface that you have on your computer. This is going to be different for everyone. To see what interfaces you have in terminal run "ifconfig". (Note: you don't have to worry about the lo, Local Loopback interface).

i.e. if it brings up eth0, wlan0 <-- then you need to ifconfig <interface> down for each
 if it brings up eth0, eth1 <-- then you need to ifconfig <interface> down for each

Revision history for this message
Jim Bridgewater (jwbwater) said :
#13

@Robin - excellent point, I had tried this fix before but failed to checkout the name of my network interfaces and it turns out they are eth0 and ra0.

So now it's on to hibernation issues...

Revision history for this message
wallyweisl (wallyweisl) said :
#14

Okay, im new to this thing but anyway. I also need help shutting down my computer on ubuntu. I cannot shut down from the top right hand corner where it says user. Everytime i try to click shutdown,restart, log off, it just logs off that user. Also when i close my computer down by clicking system and then shutdown, it shut downs ubuntu but not my computer. It leaves a blank screen. Ive done whatever Juliano said to do but it still doesnt work. SOMEONE HELP ME.........

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#15

@wallyweisl please try if the acpi=force kernel option parameter solve your issue:

Reboot your pc, after bios messages, when you see the Grub row press ESC key
Select the kernel row and press edit select
Select the "kernel /boot/......" row and press "e" to edit this row
add the acpi=force parameter at the end of the row
then press "enter" and then press "b" to boot

If this work

To make this "acpi=force" kernel boot parameter permanent

Please open a Terminal from the menu Applications->Accessories->Terminal and type:

sudo gedit /boot/grub/menu.lst

give your user password when requested, you don't see nothing when you type it, then press enter.

Search your default kernel option
# defoptions=nosplash ....

and add at the end of the row the
acpi=force
parameter

save and exit

Then to update Grub type
sudo update-grub

HTH

Revision history for this message
ambrish (ambrish3) said :
#16

stop)
ifconfig wlan0 down
ifconfig eth0 down
EXITSTATUS=0

 I have done this change but still my system doe not shut down or restart properly
it shows error message during shut down process acpid: exiting.then how i fix this problem.
And one thing i m using NIS authentication. Please Help...

Revision history for this message
Juliano (jcsilva87) said :
#17

ambrish,
Try to update your system. I believe there's an official fix for this problem already.

Revision history for this message
ambrish (ambrish3) said :
#18

Hi Juliano,

My System is completely updated.
Still the issue is not solved.

Somebody help me with this as once I have a solution to this problem, I am going to install Ubuntu 8.10 on about 80 clients.
This is the only thing stopping me from doing that.

Thanks in advance...

Revision history for this message
ambrish (ambrish3) said :
#19

Hi All

I have solve the problem of freezing system during shut down or restart process.

i am using NIS authentication and also i am using some share folders from NFS .

I am share the home folder on my NIS server and i am configure to my all client system mounting with NFS home folder to their home folder.

So, I tried the changes in /etc/init.d/alsa-utils file like...

stop
umount /home
ifconfig eth0 down

After this changes my system shut down or restart properly.

Thank you

Everybuddy.

Ambrish

Revision history for this message
Dave Hildebrandt (dave-cantorman) said :
#20

I am just wondering why we are doing this stuff in the sound manager?