Results 1 to 10 of 18

Thread: Can we speed up Network Manager?

Hybrid View

  1. #1
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Well, thank you all for your suggestions.
    Here's how far I've got, and I'm open for further enhancements.

    1...I found this nice Ubuntu How-To which helps a lot:
    http://ubuntuforums.org/showthread.php?t=684495

    2...I did what it says, and put, as root, this in my /etc/rc.local:
    sudo dhclient -r eth1
    sudo ifconfig eth1 up
    sudo iwconfig eth1 essid "alpha=num essid"
    sudo iwconfig eth1 key "10 char hex key"
    #sudo iwconfig eth1 key open # didn't need this apparently
    sudo iwconfig eth1 mode Managed
    sudo dhclient eth1

    3...I revised my LiveUSB DEFAULT, as root, to read:
    DEFAULT knoppix nonetworkmanager edd=off fromhd=/dev/sdb1
    That's the 1st line in /Desktop/KNOPPIX/boot/syslinux/syslinux.cfg

    4...Rebooted.‎

    5...Did less /var/log/syslog.
    Found that start-of-boot to wi-fi on-line now takes 58 seconds.

    Beat that.

  2. #2
    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
  •  


Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch picture

Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch

$37.41



Juniper Networks EX3300 EX3300-48P PoE+ 48-Port 4x SFP Gigabyte Ethernet Switch picture

Juniper Networks EX3300 EX3300-48P PoE+ 48-Port 4x SFP Gigabyte Ethernet Switch

$59.99



Juniper EX3300-48P 48-Port 10/100/1000BASE-T (48 PoE+ ports) with 4 SFP+ picture

Juniper EX3300-48P 48-Port 10/100/1000BASE-T (48 PoE+ ports) with 4 SFP+

$74.00



JUNIPER EX3400-48P 48x 1GB PoE+ RJ-45 4x 10GB SFP+ 2x 40GB QSFP+, DUAL AC POWER picture

JUNIPER EX3400-48P 48x 1GB PoE+ RJ-45 4x 10GB SFP+ 2x 40GB QSFP+, DUAL AC POWER

$168.00



Juniper EX4200-48PX 48-PORT 10/100/1000BASET PoE Ethernet Switch picture

Juniper EX4200-48PX 48-PORT 10/100/1000BASET PoE Ethernet Switch

$50.00



Juniper EX3400-48P 48-Ports PoE+ 4x SFP+ and 2x QSFP+ Managed Switch Tested picture

Juniper EX3400-48P 48-Ports PoE+ 4x SFP+ and 2x QSFP+ Managed Switch Tested

$170.00



Juniper Networks EX2300-C-12T Compact 12-Port EX2300-C Series Ethernet Switch picture

Juniper Networks EX2300-C-12T Compact 12-Port EX2300-C Series Ethernet Switch

$300.00



Juniper SRX320 8-Port Security Services Gateway Appliance w/ Rack Ears picture

Juniper SRX320 8-Port Security Services Gateway Appliance w/ Rack Ears

$99.97



Juniper EX 4300 EX4300-48P Gigabit Network Switch JunOS 21.4R3-S7 48 Port PoE picture

Juniper EX 4300 EX4300-48P Gigabit Network Switch JunOS 21.4R3-S7 48 Port PoE

$249.00



Juniper Networks SRX100 Services Security Appliance Part Number: SRX100H2 picture

Juniper Networks SRX100 Services Security Appliance Part Number: SRX100H2

$22.50