Results 1 to 10 of 18

Thread: Can we speed up Network Manager?

Hybrid View

  1. #1
    Senior Member
    Join Date
    Jan 2011
    Posts
    242
    Quote Originally Posted by utu View Post
    Well, thank you all for your suggestions.
    What ? Deprive you of your learning opportunity ? In my book that's a cardinal sin.

    Besides, if I suggested that the best way of speeding up the Network Manager was to not run the Network Manager I'd have had klaus2008 down on my tail (http://www.knoppix.net/forum/threads...ot-in-Adrianne).

    Quote Originally Posted by utu View Post
    I found this nice Ubuntu How-To which helps a lot:
    http://ubuntuforums.org/showthread.php?t=684495
    Beat that.
    http://wiki.debian.org/WiFi
    http://wiki.debian.org/WiFi/HowToUse

    You managed to find a real hacker's hacker - he didn't mention /etc/networks/interfaces once ! You then come up with a solution that names your wireless interface eth1 instead of the usual wlan0. Extra marks.

    Here's what the Debian installer put in my /etc/networks/interfaces to bring up my wifi with WEP:

    Code:
    # The primary network interface
    allow-hotplug wlan0
    iface wlan0 inet dhcp
            # wireless-* options are implemented by the wireless-tools package
            wireless-mode managed
            wireless-essid MyEssid
            wireless-key1 **********
    It is my understanding that with this the most you would need in /etc/rc.local is:

    Code:
    ifup wlan0
    and you might not even need that.

    Ever since I first met the wonderful Network Manager, I've had a manual way of getting my wireless going just in case. I normally use WPA PSK2. If my WPA PSK2 configuration is hidden away in:

    Code:
    /etc/wpa_supplicant.conf
    Then I can start my wireless by hand with:

    Code:
    sudo wpa_supplicant -B -c/etc/wpa_supplicant.conf -iwlan0
    sudo dhclient
    How many sudos did you use ? BTW I don't think you need sudo in /etc/.rc.local.

    I found recently that I can combine the two approaches with:

    Code:
    # The primary network interface
    allow-hotplug wlan0
    iface wlan0 inet dhcp
        wpa-conf /etc/wpa_supplicant.conf
    The problem with the Network Manager is not just that it is started when your PC / LT is busy starting everything else, it's not just that the Network Manager is a big desktop app, it's not just that the LXNetMan is still 'in development'. It's that the Network Manager does not try to connect until you login in. This is not obvious with Knoppix but if you try it on a real desktop installation you'll see what I mean. Thus the Network Manager starts connecting very late in the startup sequence so it appears slower that Windoze.

    By connecting without the Network Manager, you starting connecting much earlier in the startup sequence. The cost is that you must already know which network you want to connect to. This may not be a concern to you but for those that carry their laptop round like security blankets and use them everywhere like they were mobiles (or handys or cells), this could be a real drawback.

    Enter wicd. This is a new, ligthweight, alternative to the Network Manager. It is not as flash as the Network Manager but I understand it will connect in both GUI and console modes. This leads me to believe it must be possible to start it much earlier in the start up sequence.

    I have it running on one Debian laptop but I don't have the time to experiment with it any further. You might like to. If your name is dinoesep, back up your knoppix-data.img first 'cos I think you'll need to uninstall Network Manager in order to install wicd. Obviously, start your network first !

    Cheers
    Last edited by Forester; 03-05-2011 at 01:45 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield picture

ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield

$42.00



ASUS Prime B250M-C LGA1151 DDR4 Desktop Motherboard USB 3.0 w/ I/O Shield picture

ASUS Prime B250M-C LGA1151 DDR4 Desktop Motherboard USB 3.0 w/ I/O Shield

$39.99



Asrock Z390 Phantom Gaming 4S/AC Wifi 8th/9th Gen Intel 1151 Motherboard Bulk picture

Asrock Z390 Phantom Gaming 4S/AC Wifi 8th/9th Gen Intel 1151 Motherboard Bulk

$41.16



Asus PRIME H510M-A Intel LGA 1200 DDR4 Desktop Motherboard picture

Asus PRIME H510M-A Intel LGA 1200 DDR4 Desktop Motherboard

$69.99



MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard picture

MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard

$80.71



Gigabyte Ultra Durable B550 GAMING X V2 Desktop Motherboard picture

Gigabyte Ultra Durable B550 GAMING X V2 Desktop Motherboard

$84.99



Asus B85M-E B85 LGA 1150 Micro ATX DDR3 SATA3.0 Desktop Motherboard With I/O  picture

Asus B85M-E B85 LGA 1150 Micro ATX DDR3 SATA3.0 Desktop Motherboard With I/O

$32.99



ASUS Prime Z390-A LGA 1151 Intel Z390 SATA USB 3.1 ATX Motherboard NO I/O picture

ASUS Prime Z390-A LGA 1151 Intel Z390 SATA USB 3.1 ATX Motherboard NO I/O

$99.00



ASUS PRIME Z690-P WIFI D4 ATX Motherboard Intel LGA1700 DDR4 HDMI picture

ASUS PRIME Z690-P WIFI D4 ATX Motherboard Intel LGA1700 DDR4 HDMI

$99.99



MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard picture

MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard

$96.01