FedoraForum.org - Fedora Support Forums and Community
Results 1 to 4 of 4
  1. #1
    bman Guest

    Connect to wireless network on boot

    Hi,

    Just installed F10 and seems pretty cool so far. Just having an issue in trying to automatically connect to my WEP wireless network on start up. NetworkManager does not start the connection until I log in and select the WLAN to connect to. It then prompts me for a password. I can't seem to set NM to connect automatically. But surely there must be some way of doing this?

    I know I could write a simple shell script to be run upon start up which would manually bring the interface up and connect to the network, but I'd like to do it the correct way using the tools available if at all possible.

    The reason I want to do this is because my machine will be a standalone box with no screen connected to it so therefore no way of getting access until it is on the network.

    Thanks in advance.

  2. #2
    bman Guest
    Okay, I didn't get this working with NetworkManager but since the machine will only ever be connecting to the one wireless network I decided I'd do without the NetworkManager functionality.

    Disable NetworkManager:
    Code:
    sudo service NetworkManager stop
    sudo chkconfig NetworkManager off
    Changed /etc/sysconfig/network-scripts/ifcfg-wlan0 to look like this:
    Code:
    DEVICE=wlan0
    HWADDR=00:D0:41:F9:E2:F0
    
    ONBOOT=yes
    BOOTPROTO=static
    
    IPADDR=192.168.1.100
    NETMASK=255.255.255.0
    NETWORK=192.168.1.0
    BROADCAST=192.168.1.255
    GATEWAY=192.168.1.254
    
    KEY=<put your wep key here>
    ESSID=<put your essid here>
    
    IPV6INIT=no
    Ensure network service is on at start up and restart it:
    Code:
    sudo chkconfig network on
    sudo service network restart
    Hope this can help someone else if they're stuck on a similar problem.

  3. #3
    Join Date
    Oct 2006
    Location
    新加坡
    Posts
    1,010
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by bman
    Hi,

    Just installed F10 and seems pretty cool so far. Just having an issue in trying to automatically connect to my WEP wireless network on start up. NetworkManager does not start the connection until I log in and select the WLAN to connect to. It then prompts me for a password. I can't seem to set NM to connect automatically. But surely there must be some way of doing this?

    I know I could write a simple shell script to be run upon start up which would manually bring the interface up and connect to the network, but I'd like to do it the correct way using the tools available if at all possible.

    The reason I want to do this is because my machine will be a standalone box with no screen connected to it so therefore no way of getting access until it is on the network.

    Thanks in advance.
    After your wireless connection has been successfully established by NetworkManager, right click on the NetworkManager applet and choose Wireless tab. Select the auto created connection profile and click the Edit button. In the popup window, make sure the "Connect automatically" option is ticked.

    In my eeePC I have three connection profiles set to auto connect this way (1 wired and 2 wireless). On boot, I think NetworkManager tries to establish connection to all of them and then switch to the one that provides the best bandwidth.
    Leave no window unbroken ♪ (^。^) 

  4. #4
    bman Guest
    Quote Originally Posted by weitjong
    After your wireless connection has been successfully established by NetworkManager, right click on the NetworkManager applet and choose Wireless tab. Select the auto created connection profile and click the Edit button. In the popup window, make sure the "Connect automatically" option is ticked.

    In my eeePC I have three connection profiles set to auto connect this way (1 wired and 2 wireless). On boot, I think NetworkManager tries to establish connection to all of them and then switch to the one that provides the best bandwidth.
    I had the auto connection option selected but it still didn't connect on boot. Maybe my system is acting funny. The more traditional method is working for me now so I'm going to stick with it.

    Thanks for the suggestion.

Similar Threads

  1. Can't Connect to a wireless network with Network Manager
    By cirne in forum Servers & Networking
    Replies: 23
    Last Post: 2nd August 2008, 10:43 AM
  2. Can't connect to wireless network FC8
    By imahussey in forum Servers & Networking
    Replies: 18
    Last Post: 19th June 2008, 10:39 AM
  3. Cant connect to wireless network
    By vael in forum Servers & Networking
    Replies: 59
    Last Post: 25th July 2007, 04:16 PM
  4. Using Network Manager to connect FC6 to wireless network.
    By DalekClock in forum Servers & Networking
    Replies: 8
    Last Post: 24th March 2007, 11:56 PM
  5. How to connect to wireless network?
    By jimmy20013 in forum Servers & Networking
    Replies: 1
    Last Post: 29th October 2006, 05:56 PM

Tags for this Thread

Posting Permissions

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