wicd asks for password for "network cards" and then closes!

Asked by brian collins

Hello,
I have been using wicd w/out problems on my Acer Extensa with Xubuntu 9.10.
But after I tried connecting to another modem and failed, now I cannot connect to my previous modem either!

Thanks for your assistance,
Brian

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu wicd Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
brian collins (brian-collins) said :
#1

Because I can't connect to Internet without help!

Thank you,
brian

Revision history for this message
mycae (mycae) said :
#2

I had a similar problem, might be related.

https://bugs.launchpad.net/wicd/+bug/493011

Can you post the content of /etc/wicd/wired-settings.conf file here? (you may want to redact any private network info).

Revision history for this message
brian collins (brian-collins) said :
#3

Hi mycae,
please bear with me, I'm quite new at all this..!

What command do I have to put to get the content?

Brian

Revision history for this message
mycae (mycae) said :
#4

no command is neccesary, you can just navigate in your file manager to /etc/wicd/, then double click the wired-settings.conf file

alternatively if you prefer the command line you could use this

cat /etc/wicd/wired-settings.conf

Revision history for this message
brian collins (brian-collins) said :
#5

says, "permission denied."

Revision history for this message
brian collins (brian-collins) said :
#6

last used= False

afterscript= none
broadcast= none
dns3= none
postdisconnectscript = none
search domain= none
dns domain= none
lastused = true
use static dns = false
default = 0
netmask= none
gateway= none
dns3 = none
beforescript= none
predisconnectscript = none
ip = none
dnsl= none
use global dns= false

[]

Revision history for this message
brian collins (brian-collins) said :
#7

I've read here that eliminating the set of brackets at the end works, but may not be permanent?

Revision history for this message
brian collins (brian-collins) said :
#8

oops! second dns is 2, not 3..

Revision history for this message
brian collins (brian-collins) said :
#9

how do I remove the brackets?

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

If you run gedit in admin mode, then you will be allowed to edit the file. Press Alt+F2 to bring up the run command dialog, then type

gksudo gedit /etc/wicd/wired-settings.conf

However, to make it permanent, you need to follow the instructions at that bug report to edit your initialisation file. Specifically you need to add the following line:

sed -i 's/^\[\]$//' /etc/wicd/wired-settings.conf

This needs to happen immediately after these lines:
do_start()
{

so this then becomes:
do_start()
{
sed -i 's/^\[\]$//' /etc/wicd/wired-settings.conf

To edit the file:

gksudo gedit /etc/init.d/wicd

perform the edit, then save.

This will then be permanent, (at least when you restart wicd (you can reboot, its easiet, or you can issue the command "sudo /etc/init.d/wicd restart" from a terminal) until the next wicd update.

Revision history for this message
mycae (mycae) said :
#11

Also, if you can tell what wicd version you are using, that would be great to know. You can either look in synaptic (the package manager from the GUI), or open a terminal and run

sudo aptitude show wicd

Revision history for this message
brian collins (brian-collins) said :
#12

I used the sed -i 's/^\[\]$//' /etc/wicd/wired-settings.conf command but I didn't put the do_start()
{ first.

Does that mean at reboot I will have the same problem again?

The distro is 1.6.1-3ubuntu1

Revision history for this message
brian collins (brian-collins) said :
#13

Well, I think I just answered my own question!! I rebooted and it was already automatically connected to wireless without me doing anything!

Let's hope this is "permanent!"

Maybe we're finished here then?

Thanks a million for your help! Hopefully someday I'll be able to help others, too!
Sincerely,
Brian

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

This bug is supposedly fixed in wicd 1.7.

Note that xubuntu 9.10 is almost out of date (april). You will need to upgrade or reinstall if you wish to continue recieving system updates, or to be able to use the repositories.

Revision history for this message
brian collins (info-ahigherway) said :
#15

Yes, I'm aware that 9.10 has been surpassed. I upgraded once and had a problem so I went back to 9.10. But I'll re-try in the coming weeks.
Thanks again!
Brian

Can you help with this problem?

Provide an answer of your own, or ask brian collins for more information if necessary.

To post a message you must log in.