Hi,

Can anyone help?

I have a server with ubuntu 9.10 Karmic Koala on it. However the network manager is reporting no devices for my LAN card and samba is not working properly.

When I say its not working this is not the whole story, on boot up the server gets an ip from the dchp server and networking is 'sort of' working. Webbrowing etc is fine, this all works. However, the newtork manager says no devices and samba works but doesnt appear to be announcing on the network. If i know the connection and folder i can connect from a remote computer but It doesnt appear in network explorer/network neighbourhood.

So in a nutshell samba works but doesnt announce, networking works but isnt controllable via network manager. (I think the network manager thing might be why samba is not working fully)

Does anyone know how to fix my network manager config??

The fix I used in 9.04 doesnt work in 9.10

this is the fix i used in 9.04
Network Manager Applet - Ubuntu 9.04 Jaunty Jackalope - Fixing a broken eth0 device (Wired Networking Config)

Today I had a problem when the tray applet stated that I had no network device. This is the exact popup it gave me.

"Error displaying connection information:No valid active connections found!"

Of course I do have one in the machine and using a terminal:

Type :
>ifconfig -a {press enter}

This will list all devices known to the system, this way you can check that your network adapter is recognised by ubuntu.

Heres where it gets a little bit advanced. Network Manager Applet Settings are stored in :
/etc/NetworkManager/nm-system-settings.conf

You will notice that you cannot open this with gedit like this:
>sudo gedit /etc/NetworkManager/nm-system-settings.conf

You therefore need to type:
>gksudo gedit {press enter} - this will lauch text editor (gedit) in a mode that will edit the file. Now browse to /etc/NetworkManager/nm-system-settings.conf and open the file for editing.

Inside the file you will see:
[main]
plugins=ifupdown,keyfile
<--sometimes here is an entry similar to: no-auto-eth0 :MAC,00:00:00:00:00:00, <- with your adapters MAC address
[ifupdown]
managed=false

What I did was changed it to managed=true, ie;
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=true

I then did the follwing in the terminal.
>sudo killall nm-system-settings

This causes the nm-applet to reset and reconnect, you will notice that there are now more entries than before if you choose to use the applet to edit settings.
The problem in 9.10 is it says in the terminal that there is no nm-system-settings to restart??

Please Help!!